drawio/war/js/atlas.min.js
2016-09-12 13:14:09 +02:00

7670 lines
No EOL
3.8 MiB

!function(b,c){"object"==typeof exports?module.exports=c():"function"==typeof define&&define.amd?define(c):b.Spinner=c()}(this,function(){function b(a,b){var d,e=document.createElement(a||"div");for(d in b)e[d]=b[d];return e}function c(a){for(var b=1,d=arguments.length;d>b;b++)a.appendChild(arguments[b]);return a}function f(a,b,d,e){var c=["opacity",b,~~(100*a),d,e].join("-");d=0.01+100*(d/e);e=Math.max(1-(1-a)/b*(100-d),a);var f=l.substring(0,l.indexOf("Animation")).toLowerCase();return n[c]||(p.insertRule("@"+
(f&&"-"+f+"-"||"")+"keyframes "+c+"{0%{opacity:"+e+"}"+d+"%{opacity:"+a+"}"+(d+0.01)+"%{opacity:1}"+(d+b)%100+"%{opacity:"+a+"}100%{opacity:"+e+"}}",p.cssRules.length),n[c]=1),c}function d(a,b){var d,e,c=a.style;b=b.charAt(0).toUpperCase()+b.slice(1);for(e=0;e<m.length;e++)if(d=m[e]+b,void 0!==c[d])return d;return void 0!==c[b]?b:void 0}function a(a,b){for(var e in b)a.style[d(a,e)||e]=b[e];return a}function e(a){for(var b=1;b<arguments.length;b++){var d=arguments[b],e;for(e in d)void 0===a[e]&&(a[e]=
d[e])}return a}function g(a){this.opts=e(a||{},g.defaults,r)}function k(){function d(a,e){return b("\x3c"+a+' xmlns\x3d"urn:schemas-microsoft.com:vml" class\x3d"spin-vml"\x3e',e)}p.addRule(".spin-vml","behavior:url(#default#VML)");g.prototype.lines=function(b,e){function f(){return a(d("group",{coordsize:m+" "+m,coordorigin:-l+" "+-l}),{width:m,height:m})}function g(b,k,m){c(n,c(a(f(),{rotation:360/e.lines*b+"deg",left:~~k}),c(a(d("roundrect",{arcsize:e.corners}),{width:l,height:e.width,left:e.radius,
top:-e.width>>1,filter:m}),d("fill",{color:"string"==typeof e.color?e.color:e.color[b%e.color.length],opacity:e.opacity}),d("stroke",{opacity:0}))))}var k,l=e.length+e.width,m=2*l;k=2*-(e.width+e.length)+"px";var n=a(f(),{position:"absolute",top:k,left:k});if(e.shadow)for(k=1;k<=e.lines;k++)g(k,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius\x3d2,makeshadow\x3d1,shadowopacity\x3d.3)");for(k=1;k<=e.lines;k++)g(k);return c(b,n)};g.prototype.opacity=function(a,b,d,e){a=a.firstChild;e=e.shadow&&
e.lines||0;a&&b+e<a.childNodes.length&&(a=a.childNodes[b+e],a=a&&a.firstChild,a=a&&a.firstChild,a&&(a.opacity=d))}}var l,m=["webkit","Moz","ms","O"],n={},p=function(){var a=b("style",{type:"text/css"});return c(document.getElementsByTagName("head")[0],a),a.sheet||a.styleSheet}(),r={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:0.25,fps:20,zIndex:2E9,className:"spinner",top:"50%",left:"50%",position:"absolute"};g.defaults={};e(g.prototype,
{spin:function(d){this.stop();var e=this,c=e.opts,f=e.el=a(b(0,{className:c.className}),{position:c.position,width:0,zIndex:c.zIndex});c.radius+c.length+c.width;if(d&&(d.insertBefore(f,d.firstChild||null),a(f,{left:c.left,top:c.top})),f.setAttribute("role","progressbar"),e.lines(f,e.opts),!l){var g,k=0,m=(c.lines-1)*(1-c.direction)/2,n=c.fps,p=n/c.speed,r=(1-c.opacity)/(p*c.trail/100),s=p/c.lines;!function G(){k++;for(var a=0;a<c.lines;a++)g=Math.max(1-(k+(c.lines-a)*s)%p*r,c.opacity),e.opacity(f,
a*c.direction+m,g,c);e.timeout=e.el&&setTimeout(G,~~(1E3/n))}()}return e},stop:function(){var a=this.el;return a&&(clearTimeout(this.timeout),a.parentNode&&a.parentNode.removeChild(a),this.el=void 0),this},lines:function(d,e){function g(d,c){return a(b(),{position:"absolute",width:e.length+e.width+"px",height:e.width+"px",background:d,boxShadow:c,transformOrigin:"left",transform:"rotate("+~~(360/e.lines*m+e.rotate)+"deg) translate("+e.radius+"px,0)",borderRadius:(e.corners*e.width>>1)+"px"})}for(var k,
m=0,n=(e.lines-1)*(1-e.direction)/2;m<e.lines;m++)k=a(b(),{position:"absolute",top:1+~(e.width/2)+"px",transform:e.hwaccel?"translate3d(0,0,0)":"",opacity:e.opacity,animation:l&&f(e.opacity,e.trail,n+m*e.direction,e.lines)+" "+1/e.speed+"s linear infinite"}),e.shadow&&c(k,a(g("#000","0 0 4px #000"),{top:"2px"})),c(d,c(k,g("string"==typeof e.color?e.color:e.color[m%e.color.length],"0 0 1px rgba(0,0,0,.1)")));return d},opacity:function(a,b,d){b<a.childNodes.length&&(a.childNodes[b].style.opacity=d)}});
var s=a(b("group"),{behavior:"url(#default#VML)"});return!d(s,"transform")&&s.adj?k():l=d(s,"animation"),g});
(function(){var b=void 0,c=!0,f=null,d=!1,a=["aliceblue antiquewhite aqua aquamarine azure beige bisque black blanchedalmond blue blueviolet brown burlywood cadetblue chartreuse chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan darkgoldenrod darkgray darkgreen darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkturquoise darkviolet deeppink deepskyblue dimgray dodgerblue firebrick floralwhite forestgreen fuchsia gainsboro ghostwhite gold goldenrod gray green greenyellow honeydew hotpink indianred indigo ivory khaki lavender lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgreen lightgrey lightpink lightsalmon lightseagreen lightskyblue lightslategray lightsteelblue lightyellow lime limegreen linen magenta maroon mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred midnightblue mintcream mistyrose moccasin navajowhite navy oldlace olive olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue purple red rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna silver skyblue slateblue slategray snow springgreen steelblue tan teal thistle tomato transparent turquoise violet wheat white whitesmoke yellow yellowgreen".split(" "),"all-scroll col-resize crosshair default e-resize hand help move n-resize ne-resize no-drop not-allowed nw-resize pointer progress row-resize s-resize se-resize sw-resize text vertical-text w-resize wait".split(" "),
"armenian decimal decimal-leading-zero disc georgian lower-alpha lower-greek lower-latin lower-roman square upper-alpha upper-latin upper-roman".split(" "),"100 200 300 400 500 600 700 800 900 bold bolder lighter".split(" "),"block-level inline-level table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group".split(" "),"condensed expanded extra-condensed extra-expanded narrower semi-condensed semi-expanded ultra-condensed ultra-expanded wider".split(" "),
"inherit inline inline-block inline-box inline-flex inline-grid inline-list-item inline-stack inline-table run-in".split(" "),"behind center-left center-right far-left far-right left-side leftwards right-side rightwards".split(" "),"large larger small smaller x-large x-small xx-large xx-small".split(" "),"dashed dotted double groove outset ridge solid".split(" "),"ease ease-in ease-in-out ease-out linear step-end step-start".split(" "),"at closest-corner closest-side ellipse farthest-corner farthest-side".split(" "),
"baseline middle sub super text-bottom text-top".split(" "),"caption icon menu message-box small-caption status-bar".split(" "),"fast faster slow slower x-fast x-slow".split(" "),["above","below","higher","level","lower"],["cursive","fantasy","monospace","sans-serif","serif"],["loud","silent","soft","x-loud","x-soft"],["no-repeat","repeat-x","repeat-y","round","space"],["blink","line-through","overline","underline"],["block","flex","grid","table"],["high","low","x-high","x-low"],["nowrap","pre","pre-line",
"pre-wrap"],["absolute","relative","static"],["alternate","alternate-reverse","reverse"],["border-box","content-box","padding-box"],["capitalize","lowercase","uppercase"],["child","female","male"],["\x3d","opacity"],["backwards","forwards"],["bidi-override","embed"],["bottom","top"],["break-all","keep-all"],["clip","ellipsis"],["contain","cover"],["continuous","digits"],["end","start"],["flat","preserve-3d"],["hide","show"],["horizontal","vertical"],["inside","outside"],["italic","oblique"],["left",
"right"],["ltr","rtl"],["no-content","no-display"],["paused","running"],["suppress","unrestricted"],["thick","thin"],[","],["/"],["all"],["always"],["auto"],["avoid"],["both"],["break-word"],["center"],["circle"],["code"],["collapse"],["contents"],["fixed"],["hidden"],["infinite"],["inset"],["invert"],["justify"],["list-item"],["local"],["medium"],["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["to"],["visible"]],e={animation:{cssPropBits:517,
cssLitGroup:[a[10],a[24],a[29],a[45],a[48],a[54],a[63],a[71],a[72]],cssFns:["cubic-bezier()","steps()"]},"animation-delay":{cssPropBits:5,cssLitGroup:[a[48]],cssFns:[]},"animation-direction":{cssPropBits:0,cssLitGroup:[a[24],a[48],a[72]],cssFns:[]},"animation-duration":"animation-delay","animation-fill-mode":{cssPropBits:0,cssLitGroup:[a[29],a[48],a[54],a[71]],cssFns:[]},"animation-iteration-count":{cssPropBits:5,cssLitGroup:[a[48],a[63]],cssFns:[]},"animation-name":{cssPropBits:512,cssLitGroup:[a[48],
a[71]],cssFns:[]},"animation-play-state":{cssPropBits:0,cssLitGroup:[a[45],a[48]],cssFns:[]},"animation-timing-function":{cssPropBits:0,cssLitGroup:[a[10],a[48]],cssFns:["cubic-bezier()","steps()"]},appearance:{cssPropBits:0,cssLitGroup:[a[71]],cssFns:[]},azimuth:{cssPropBits:5,cssLitGroup:[a[7],a[42],a[56]],cssFns:[]},"backface-visibility":{cssPropBits:0,cssLitGroup:[a[59],a[62],a[80]],cssFns:[]},background:{cssPropBits:23,cssLitGroup:[a[0],a[18],a[25],a[31],a[34],a[42],a[48],a[49],a[52],a[56],a[61],
a[68],a[71],a[74],a[75]],cssFns:"image() linear-gradient() radial-gradient() repeating-linear-gradient() repeating-radial-gradient() rgb() rgba()".split(" ")},"background-attachment":{cssPropBits:0,cssLitGroup:[a[48],a[61],a[68],a[75]],cssFns:[]},"background-color":{cssPropBits:2,cssLitGroup:[a[0]],cssFns:["rgb()","rgba()"]},"background-image":{cssPropBits:16,cssLitGroup:[a[48],a[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},
"background-position":{cssPropBits:5,cssLitGroup:[a[31],a[42],a[48],a[56]],cssFns:[]},"background-repeat":{cssPropBits:0,cssLitGroup:[a[18],a[48],a[74]],cssFns:[]},"background-size":{cssPropBits:5,cssLitGroup:[a[34],a[48],a[52]],cssFns:[]},border:{cssPropBits:7,cssLitGroup:[a[0],a[9],a[47],a[62],a[64],a[69],a[71]],cssFns:["rgb()","rgba()"]},"border-bottom":"border","border-bottom-color":"background-color","border-bottom-left-radius":{cssPropBits:5,cssFns:[]},"border-bottom-right-radius":"border-bottom-left-radius",
"border-bottom-style":{cssPropBits:0,cssLitGroup:[a[9],a[62],a[64],a[71]],cssFns:[]},"border-bottom-width":{cssPropBits:5,cssLitGroup:[a[47],a[69]],cssFns:[]},"border-collapse":{cssPropBits:0,cssLitGroup:[a[59],a[76]],cssFns:[]},"border-color":"background-color","border-left":"border","border-left-color":"background-color","border-left-style":"border-bottom-style","border-left-width":"border-bottom-width","border-radius":{cssPropBits:5,cssLitGroup:[a[49]],cssFns:[]},"border-right":"border","border-right-color":"background-color",
"border-right-style":"border-bottom-style","border-right-width":"border-bottom-width","border-spacing":"border-bottom-left-radius","border-style":"border-bottom-style","border-top":"border","border-top-color":"background-color","border-top-left-radius":"border-bottom-left-radius","border-top-right-radius":"border-bottom-left-radius","border-top-style":"border-bottom-style","border-top-width":"border-bottom-width","border-width":"border-bottom-width",bottom:{cssPropBits:5,cssLitGroup:[a[52]],cssFns:[]},
box:{cssPropBits:0,cssLitGroup:[a[60],a[71],a[72]],cssFns:[]},"box-shadow":{cssPropBits:7,cssLitGroup:[a[0],a[48],a[64],a[71]],cssFns:["rgb()","rgba()"]},"box-sizing":{cssPropBits:0,cssLitGroup:[a[25]],cssFns:[]},"caption-side":{cssPropBits:0,cssLitGroup:[a[31]],cssFns:[]},clear:{cssPropBits:0,cssLitGroup:[a[42],a[54],a[71]],cssFns:[]},clip:{cssPropBits:0,cssLitGroup:[a[52]],cssFns:["rect()"]},color:"background-color",content:{cssPropBits:8,cssLitGroup:[a[71],a[72]],cssFns:[]},cue:{cssPropBits:16,
cssLitGroup:[a[71]],cssFns:[]},"cue-after":"cue","cue-before":"cue",cursor:{cssPropBits:16,cssLitGroup:[a[1],a[48],a[52]],cssFns:[]},direction:{cssPropBits:0,cssLitGroup:[a[43]],cssFns:[]},display:{cssPropBits:0,cssLitGroup:[a[4],a[6],a[20],a[52],a[67],a[71]],cssFns:[]},"display-extras":{cssPropBits:0,cssLitGroup:[a[67],a[71]],cssFns:[]},"display-inside":{cssPropBits:0,cssLitGroup:[a[20],a[52]],cssFns:[]},"display-outside":{cssPropBits:0,cssLitGroup:[a[4],a[71]],cssFns:[]},elevation:{cssPropBits:5,
cssLitGroup:[a[15]],cssFns:[]},"empty-cells":{cssPropBits:0,cssLitGroup:[a[38]],cssFns:[]},filter:{cssPropBits:0,cssFns:["alpha()"]},"float":{cssPropBits:0,cssLitGroup:[a[42],a[71]],cssFns:[]},font:{cssPropBits:73,cssLitGroup:[a[3],a[8],a[13],a[16],a[41],a[48],a[49],a[69],a[72],a[77]],cssFns:[]},"font-family":{cssPropBits:72,cssLitGroup:[a[16],a[48]],cssFns:[]},"font-size":{cssPropBits:1,cssLitGroup:[a[8],a[69]],cssFns:[]},"font-stretch":{cssPropBits:0,cssLitGroup:[a[5],a[72]],cssFns:[]},"font-style":{cssPropBits:0,
cssLitGroup:[a[41],a[72]],cssFns:[]},"font-variant":{cssPropBits:0,cssLitGroup:[a[72],a[77]],cssFns:[]},"font-weight":{cssPropBits:0,cssLitGroup:[a[3],a[72]],cssFns:[]},height:"bottom",left:"bottom","letter-spacing":{cssPropBits:5,cssLitGroup:[a[72]],cssFns:[]},"line-height":{cssPropBits:1,cssLitGroup:[a[72]],cssFns:[]},"list-style":{cssPropBits:16,cssLitGroup:[a[2],a[40],a[57],a[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},
"list-style-image":{cssPropBits:16,cssLitGroup:[a[71]],cssFns:["image()","linear-gradient()","radial-gradient()","repeating-linear-gradient()","repeating-radial-gradient()"]},"list-style-position":{cssPropBits:0,cssLitGroup:[a[40]],cssFns:[]},"list-style-type":{cssPropBits:0,cssLitGroup:[a[2],a[57],a[71]],cssFns:[]},margin:"bottom","margin-bottom":"bottom","margin-left":"bottom","margin-right":"bottom","margin-top":"bottom","max-height":{cssPropBits:1,cssLitGroup:[a[52],a[71]],cssFns:[]},"max-width":"max-height",
"min-height":{cssPropBits:1,cssLitGroup:[a[52]],cssFns:[]},"min-width":"min-height",opacity:{cssPropBits:1,cssFns:[]},outline:{cssPropBits:7,cssLitGroup:[a[0],a[9],a[47],a[62],a[64],a[65],a[69],a[71]],cssFns:["rgb()","rgba()"]},"outline-color":{cssPropBits:2,cssLitGroup:[a[0],a[65]],cssFns:["rgb()","rgba()"]},"outline-style":"border-bottom-style","outline-width":"border-bottom-width",overflow:{cssPropBits:0,cssLitGroup:[a[52],a[62],a[75],a[80]],cssFns:[]},"overflow-wrap":{cssPropBits:0,cssLitGroup:[a[55],
a[72]],cssFns:[]},"overflow-x":{cssPropBits:0,cssLitGroup:[a[44],a[52],a[62],a[75],a[80]],cssFns:[]},"overflow-y":"overflow-x",padding:"opacity","padding-bottom":"opacity","padding-left":"opacity","padding-right":"opacity","padding-top":"opacity","page-break-after":{cssPropBits:0,cssLitGroup:[a[42],a[51],a[52],a[53]],cssFns:[]},"page-break-before":"page-break-after","page-break-inside":{cssPropBits:0,cssLitGroup:[a[52],a[53]],cssFns:[]},pause:"border-bottom-left-radius","pause-after":"border-bottom-left-radius",
"pause-before":"border-bottom-left-radius",perspective:{cssPropBits:5,cssLitGroup:[a[71]],cssFns:[]},"perspective-origin":{cssPropBits:5,cssLitGroup:[a[31],a[42],a[56]],cssFns:[]},pitch:{cssPropBits:5,cssLitGroup:[a[21],a[69]],cssFns:[]},"pitch-range":"border-bottom-left-radius","play-during":{cssPropBits:16,cssLitGroup:[a[52],a[70],a[71],a[74]],cssFns:[]},position:{cssPropBits:0,cssLitGroup:[a[23]],cssFns:[]},quotes:{cssPropBits:8,cssLitGroup:[a[71]],cssFns:[]},resize:{cssPropBits:0,cssLitGroup:[a[39],
a[54],a[71]],cssFns:[]},richness:"border-bottom-left-radius",right:"bottom",speak:{cssPropBits:0,cssLitGroup:[a[71],a[72],a[78]],cssFns:[]},"speak-header":{cssPropBits:0,cssLitGroup:[a[51],a[73]],cssFns:[]},"speak-numeral":{cssPropBits:0,cssLitGroup:[a[35]],cssFns:[]},"speak-punctuation":{cssPropBits:0,cssLitGroup:[a[58],a[71]],cssFns:[]},"speech-rate":{cssPropBits:5,cssLitGroup:[a[14],a[69]],cssFns:[]},stress:"border-bottom-left-radius","table-layout":{cssPropBits:0,cssLitGroup:[a[52],a[61]],cssFns:[]},
"text-align":{cssPropBits:0,cssLitGroup:[a[42],a[56],a[66]],cssFns:[]},"text-decoration":{cssPropBits:0,cssLitGroup:[a[19],a[71]],cssFns:[]},"text-indent":"border-bottom-left-radius","text-overflow":{cssPropBits:8,cssLitGroup:[a[33]],cssFns:[]},"text-shadow":"box-shadow","text-transform":{cssPropBits:0,cssLitGroup:[a[26],a[71]],cssFns:[]},"text-wrap":{cssPropBits:0,cssLitGroup:[a[46],a[71],a[72]],cssFns:[]},top:"bottom",transform:{cssPropBits:0,cssLitGroup:[a[71]],cssFns:"matrix() perspective() rotate() rotate3d() rotatex() rotatey() rotatez() scale() scale3d() scalex() scaley() scalez() skew() skewx() skewy() translate() translate3d() translatex() translatey() translatez()".split(" ")},
"transform-origin":"perspective-origin","transform-style":{cssPropBits:0,cssLitGroup:[a[37]],cssFns:[]},transition:{cssPropBits:1029,cssLitGroup:[a[10],a[48],a[50],a[71]],cssFns:["cubic-bezier()","steps()"]},"transition-delay":"animation-delay","transition-duration":"animation-delay","transition-property":{cssPropBits:1024,cssLitGroup:[a[48],a[50]],cssFns:[]},"transition-timing-function":"animation-timing-function","unicode-bidi":{cssPropBits:0,cssLitGroup:[a[30],a[72]],cssFns:[]},"vertical-align":{cssPropBits:5,
cssLitGroup:[a[12],a[31]],cssFns:[]},visibility:"backface-visibility","voice-family":{cssPropBits:8,cssLitGroup:[a[27],a[48]],cssFns:[]},volume:{cssPropBits:1,cssLitGroup:[a[17],a[69]],cssFns:[]},"white-space":{cssPropBits:0,cssLitGroup:[a[22],a[72]],cssFns:[]},width:"min-height","word-break":{cssPropBits:0,cssLitGroup:[a[32],a[72]],cssFns:[]},"word-spacing":"letter-spacing","word-wrap":"overflow-wrap","z-index":"bottom",zoom:"line-height","cubic-bezier()":"animation-delay","steps()":{cssPropBits:5,
cssLitGroup:[a[36],a[48]],cssFns:[]},"image()":{cssPropBits:18,cssLitGroup:[a[0],a[48]],cssFns:["rgb()","rgba()"]},"linear-gradient()":{cssPropBits:7,cssLitGroup:[a[0],a[31],a[42],a[48],a[79]],cssFns:["rgb()","rgba()"]},"radial-gradient()":{cssPropBits:7,cssLitGroup:[a[0],a[11],a[31],a[42],a[48],a[56],a[57]],cssFns:["rgb()","rgba()"]},"repeating-linear-gradient()":"linear-gradient()","repeating-radial-gradient()":"radial-gradient()","rgb()":{cssPropBits:1,cssLitGroup:[a[48]],cssFns:[]},"rgba()":"rgb()",
"rect()":{cssPropBits:5,cssLitGroup:[a[48],a[52]],cssFns:[]},"alpha()":{cssPropBits:1,cssLitGroup:[a[28]],cssFns:[]},"matrix()":"animation-delay","perspective()":"border-bottom-left-radius","rotate()":"border-bottom-left-radius","rotate3d()":"animation-delay","rotatex()":"border-bottom-left-radius","rotatey()":"border-bottom-left-radius","rotatez()":"border-bottom-left-radius","scale()":"animation-delay","scale3d()":"animation-delay","scalex()":"border-bottom-left-radius","scaley()":"border-bottom-left-radius",
"scalez()":"border-bottom-left-radius","skew()":"animation-delay","skewx()":"border-bottom-left-radius","skewy()":"border-bottom-left-radius","translate()":"animation-delay","translate3d()":"animation-delay","translatex()":"border-bottom-left-radius","translatey()":"border-bottom-left-radius","translatez()":"border-bottom-left-radius"},g;for(g in e)"string"===typeof e[g]&&Object.hasOwnProperty.call(e,g)&&(e[g]=e[e[g]]);"undefined"!==typeof window&&(window.cssSchema=e);var k,l;(function(){function a(b){var d=
parseInt(b.substring(1),16);return 65535<d?(d-=65536,String.fromCharCode(55296+(d>>10),56320+(d&1023))):d==d?String.fromCharCode(d):" ">b[1]?"":b[1]}function b(a,d){return'"'+a.replace(/[\u0000-\u001f\\\"<>]/g,d)+'"'}function d(a){return c[a]||(c[a]="\\"+a.charCodeAt(0).toString(16)+" ")}function e(a){return f[a]||(f[a]=("\u0010">a?"%0":"%")+a.charCodeAt(0).toString(16))}var c={"\\":"\\\\"},f={"\\":"%5c"},g=RegExp("\\uFEFF|U[+][0-9A-F?]{1,6}(?:-[0-9A-F]{1,6})?|url[(][\\t\\n\\f ]*(?:\"(?:'|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*\"|'(?:\"|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*'|(?:[\\t\\x21\\x23-\\x26\\x28-\\x5b\\x5d-\\x7e]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*)[\\t\\n\\f ]*[)]|(?!url[(])-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*[(]|(?:@?-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))|#)(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*|\"(?:'|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*\"|'(?:\"|[^'\"\\n\\f\\\\]|\\\\[\\s\\S])*'|[-+]?(?:[0-9]+(?:[.][0-9]+)?|[.][0-9]+)(?:%|-?(?:[a-zA-Z_]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))(?:[a-zA-Z0-9_-]|[\\u0080-\\ud7ff\\ue000-\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]|\\\\(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff]))*)?|\x3c!--|--\x3e|[\\t\\n\\f ]+|/(?:[*][^*]*[*]+(?:[^/][^*]*[*]+)*/|/[^\\n\\f]*)|[~|^$*]\x3d|[^\"'\\\\/]|/(?![/*])",
"gi"),m=RegExp("\\\\(?:(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\\ud800-\\udbff][\\udc00-\\udfff])|[\\n\\f])","g"),n=RegExp("^url\\([\\t\\n\\f ]*[\"']?|[\"']?[\\t\\n\\f ]*\\)$","gi");l=function(b){return b.replace(m,a)};k=function(a){a=(""+a).replace(/\r\n?/g,"\n").match(g)||[];for(var c=0,f=" ",k=0,m=a.length;k<m;++k){var q=l(a[k]),p=q.length,t=q.charCodeAt(0),q=34==t||39==t?b(q.substring(1,p-1),d):47==t&&1<p||"\\"==q||"--\x3e"==q||"\x3c!--"==q||"\ufeff"==
q||32>=t?" ":/url\(/i.test(q)?"url("+b(q.replace(n,""),e)+")":q;if(f!=q||" "!=q)a[c++]=f=q}a.length=c;return a}})();"undefined"!==typeof window&&(window.lexCss=k,window.decodeCss=l);var m=function(){function a(b){b=(""+b).match(n);return!b?f:new g(k(b[1]),k(b[2]),k(b[3]),k(b[4]),k(b[5]),k(b[6]),k(b[7]))}function b(a,e){return"string"==typeof a?encodeURI(a).replace(e,d):f}function d(a){a=a.charCodeAt(0);return"%"+"0123456789ABCDEF".charAt(a>>4&15)+"0123456789ABCDEF".charAt(a&15)}function e(a){if(a===
f)return f;a=a.replace(/(^|\/)\.(?:\/|$)/g,"$1").replace(/\/{2,}/g,"/");for(var b=l,d;(d=a.replace(b,"$1"))!=a;a=d);return a}function c(a,b){var d=a.T(),f=b.K();f?d.ga(b.j):f=b.X();f?d.da(b.n):f=b.Y();f?d.ea(b.k):f=b.$();var g=b.g,k=e(g);if(f)d.ca(b.V()),k=k&&k.replace(m,"");else if(f=!!g){if(47!==k.charCodeAt(0))var k=e(d.g||"").replace(m,""),l=k.lastIndexOf("/")+1,k=e((l?k.substring(0,l):"")+e(g)).replace(m,"")}else k=k&&k.replace(m,""),k!==g&&d.G(k);f?d.G(k):f=b.aa();f?d.O(b.l):f=b.Z();f&&d.fa(b.o);
return d}function g(a,b,d,e,c,f,k){this.j=a;this.n=b;this.k=d;this.h=e;this.g=c;this.l=f;this.o=k}function k(a){return"string"==typeof a&&0<a.length?a:f}var l=RegExp(/(\/|^)(?:[^./][^/]*|\.{2,}(?:[^./][^/]*)|\.{3,}[^/]*)\/\.\.(?:\/|$)/),m=/^(?:\.\.\/)*(?:\.\.$)?/;g.prototype.toString=function(){var a=[];f!==this.j&&a.push(this.j,":");f!==this.k&&(a.push("//"),f!==this.n&&a.push(this.n,"@"),a.push(this.k),f!==this.h&&a.push(":",this.h.toString()));f!==this.g&&a.push(this.g);f!==this.l&&a.push("?",
this.l);f!==this.o&&a.push("#",this.o);return a.join("")};g.prototype.T=function(){return new g(this.j,this.n,this.k,this.h,this.g,this.l,this.o)};g.prototype.W=function(){return this.j&&decodeURIComponent(this.j).toLowerCase()};g.prototype.ga=function(a){this.j=a?a:f};g.prototype.K=function(){return f!==this.j};g.prototype.da=function(a){this.n=a?a:f};g.prototype.X=function(){return f!==this.n};g.prototype.ea=function(a){this.k=a?a:f;this.G(this.g)};g.prototype.Y=function(){return f!==this.k};g.prototype.V=
function(){return this.h&&decodeURIComponent(this.h)};g.prototype.ca=function(a){if(a){a=Number(a);if(a!==(a&65535))throw Error("Bad port number "+a);this.h=""+a}else this.h=f};g.prototype.$=function(){return f!==this.h};g.prototype.U=function(){return this.g&&decodeURIComponent(this.g)};g.prototype.G=function(a){a?(a=""+a,this.g=!this.k||/^\//.test(a)?a:"/"+a):this.g=f};g.prototype.O=function(a){this.l=a?a:f};g.prototype.aa=function(){return f!==this.l};g.prototype.ba=function(a){if("object"===typeof a&&
!(a instanceof Array)&&(a instanceof Object||"[object Array]"!==Object.prototype.toString.call(a))){var b=[],d=-1,e;for(e in a){var c=a[e];"string"===typeof c&&(b[++d]=e,b[++d]=c)}a=b}for(var b=[],d="",f=0;f<a.length;)e=a[f++],c=a[f++],b.push(d,encodeURIComponent(e.toString())),d="\x26",c&&b.push("\x3d",encodeURIComponent(c.toString()));this.l=b.join("")};g.prototype.fa=function(a){this.o=a?a:f};g.prototype.Z=function(){return f!==this.o};var n=/^(?:([^:/?#]+):)?(?:\/\/(?:([^/?#]*)@)?([^/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,
q=/[#\/\?@]/g,p=/[\#\?]/g;g.parse=a;g.create=function(a,e,c,k,l,m,n){a=new g(b(a,q),b(e,q),"string"==typeof c?encodeURIComponent(c):f,0<k?k.toString():f,b(l,p),f,"string"==typeof n?encodeURIComponent(n):f);m&&("string"===typeof m?a.O(m.replace(/[^?&=0-9A-Za-z_\-~.%]/g,d)):a.ba(m));return a};g.N=c;g.ma=e;g.ha={ua:function(b){return/\.html$/.test(a(b).U())?"text/html":"application/javascript"},N:function(b,d){return b?c(a(b),a(d)).toString():""+d}};return g}();"undefined"!==typeof window&&(window.URI=
m);var n=b,p=b,r=b,s=b;(function(){function a(b){return"string"===typeof b?'url("'+b.replace(A,g)+'")':'url("about:blank")'}function g(a){return B[a]}function k(a,b){return a?m.ha.N(a,b):b}function t(a,b,d){if(!d)return f;var e=(""+a).match(E);return e&&(!e[1]||F.test(e[1]))?d(a,b):f}function D(a){return a.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/,"")}var A=/[\n\f\r\"\'()*<>]/g,B={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29","*":"%2a",
"\x3c":"%3c","\x3e":"%3e"},E=/^(?:([^:/?# ]+):)?/,F=/^(?:https?|mailto|data)$/i;n=function(){var b={};return function O(d,c,f,g,m){d=D(d);var n=e[d];if(!n||"object"!==typeof n)c.length=0;else{for(var q=n.cssPropBits,p=q&80,u=q&1536,r=NaN,s=0,G=0;s<c.length;++s){var z=c[s].toLowerCase(),E=z.charCodeAt(0),F,B,H,A,U,ia;if(32===E)z="";else if(34===E)z=16===p?f?a(t(k(g,l(c[s].substring(1,z.length-1))),d,f)):"":q&8&&!(p&p-1)?z:"";else if("inherit"!==z){if(U=n.cssLitGroup){var ea;if(!(ea=n.cssLitMap)){ea=
{};for(var aa=U.length;0<=--aa;)for(var fa=U[aa],ja=fa.length;0<=--ja;)ea[fa[ja]]=b;ea=n.cssLitMap=ea}U=ea}else U=b;if(!(ia=U,ia[D(z)]===b))if(35===E&&/^#(?:[0-9a-f]{3}){1,2}$/.test(z))z=q&2?z:"";else if(48<=E&&57>=E)z=q&1?z:"";else if(F=z.charCodeAt(1),B=z.charCodeAt(2),H=48<=F&&57>=F,A=48<=B&&57>=B,43===E&&(H||46===F&&A))z=q&1?(H?"":"0")+z.substring(1):"";else if(45===E&&(H||46===F&&A))z=q&4?(H?"-":"-0")+z.substring(1):q&1?"0":"";else if(46===E&&H)z=q&1?"0"+z:"";else if('url("'===z.substring(0,
5))z=f&&q&16?a(t(k(g,c[s].substring(5,z.length-2)),d,f)):"";else if("("===z.charAt(z.length-1))a:{U=c;ea=s;z=1;aa=ea+1;for(E=U.length;aa<E&&z;)fa=U[aa++],z+=")"===fa?-1:/^[^"']*\($/.test(fa);if(!z){z=U[ea].toLowerCase();E=D(z);U=U.splice(ea,aa-ea,"");ea=n.cssFns;aa=0;for(fa=ea.length;aa<fa;++aa)if(ea[aa].substring(0,E.length)==E){U[0]=U[U.length-1]="";O(ea[aa],U,f,g);z=z+U.join(" ")+")";break a}}z=""}else z=u&&/^-?[a-z_][\w\-]*$/.test(z)&&!/__$/.test(z)?m&&512===u?c[s]+m:1024===u&&e[z]&&"number"===
typeof e[z].oa?z:"":/^\w+$/.test(z)&&64===p&&q&8?r+1===G?(c[r]=c[r].substring(0,c[r].length-1)+" "+z+'"',""):(r=G,'"'+z+'"'):""}z&&(c[G++]=z)}1===G&&'url("about:blank")'===c[0]&&(G=0);c.length=G}}}();var G=RegExp("^(active|after|before|blank|checked|default|disabled|drop|empty|enabled|first|first-child|first-letter|first-line|first-of-type|fullscreen|focus|hover|in-range|indeterminate|invalid|last-child|last-of-type|left|link|only-child|only-of-type|optional|out-of-range|placeholder-shown|read-only|read-write|required|right|root|scope|user-error|valid|visited)$"),
H={};H["\x3e"]=H["+"]=H["~"]=H;p=function(a,b,e){function g(q,p){function t(e,f,g){var k,n,q,p,r,s=c;k="";if(e<f)if(r=a[e],"*"===r)++e,k=r;else if(/^[a-zA-Z]/.test(r)&&(n=m(r.toLowerCase(),[])))"tagName"in n&&(r=n.tagName),++e,k=r;for(p=q=n="";s&&e<f;++e)if(r=a[e],"#"===r.charAt(0))/^#_|__$|[^\w#:\-]/.test(r)?s=d:n+=r+l;else if("."===r)++e<f&&/^[0-9A-Za-z:_\-]+$/.test(r=a[e])&&!/^_|__$/.test(r)?n+="."+r:s=d;else if(e+1<f&&"["===a[e]){++e;var x=a[e++].toLowerCase();r=u.m[k+"::"+x];r!==+r&&(r=u.m["*::"+
x]);var y;b.ia?(y=b.ia(k,x),"string"!==typeof y&&(s=d,y=x),s&&r!==+r&&(r=u.d.NONE)):(y=x,r!==+r&&(s=d));var z=x="",E=d;/^[~^$*|]?=$/.test(a[e])&&(x=a[e++],z=a[e++],/^[0-9A-Za-z:_\-]+$/.test(z)?z='"'+z+'"':"]"===z&&(z='""',--e),/^"([^\"\\]|\\.)*"$/.test(z)||(s=d),(E="i"===a[e])&&++e);"]"!==a[e]&&(++e,s=d);switch(r){case u.d.CLASSES:case u.d.LOCAL_NAME:case u.d.NONE:break;case u.d.GLOBAL_NAME:case u.d.ID:case u.d.IDREF:("\x3d"===x||"~\x3d"===x||"$\x3d"===x)&&'""'!=z&&!E?z='"'+z.substring(1,z.length-
1)+l+'"':"|\x3d"===x||""===x||(s=d);break;case u.d.URI:case u.d.URI_FRAGMENT:""!==x&&(s=d);break;default:s=d}s&&(q+="["+y.replace(/[^\w-]/g,"\\$\x26")+x+z+(E?" i]":"]"))}else if(e<f&&":"===a[e])if(r=a[++e],G.test(r))p+=":"+r;else break;else break;e!==f&&(s=d);s&&(e=(k+n).replace(/[^ .*#\w-]/g,"\\$\x26")+q+p+g)&&v.push(e);return s}" "===a[q]&&++q;p-1!==q&&" "===a[p]&&--p;for(var v=[],r=q,s=c,x=q;s&&x<p;++x){var y=a[x];if(H[y]===H||" "===y)t(r,x,y)?r=x+1:s=d}t(r,p,"")||(s=d);return s?(v.length&&(r=
v.join(""),k!==f&&(r="."+k+" "+r),n.push(r)),c):!e||e(a.slice(q,p))}var k=b.na,l=b.L,m=b.Aa,n=[],q=0,p,t=0,v;for(p=0;p<a.length;++p)if(v=a[p],"("==v||"["==v?(++t,c):")"==v||"]"==v?(t&&--t,c):!(" "==a[p]&&(t||H[a[p-1]]===H||H[a[p+1]]===H)))a[q++]=a[p];a.length=q;q=a.length;for(p=t=0;p<q;++p)if(","===a[p]){if(!g(t,p))return f;t=p+1}return!g(t,q)?f:n};(function(){var a=/^\w/,b=RegExp("^(?:(?:(?:(?:only|not) )?(?:all|aural|braille|embossed|handheld|print|projection|screen|speech|tty|tv)|\\( (?:(?:min-|max-)?(?:(?:device-)?(?:aspect-ratio|height|width)|color(?:-index)?|monochrome|orientation|resolution)|grid|hover|luminosity|pointer|scan|script) (?:: -?(?:[a-z]\\w+(?:-\\w+)*|\\d+(?: / \\d+|(?:\\.\\d+)?(?:p[cxt]|[cem]m|in|dpi|dppx|dpcm|%)?)) )?\\))(?: and ?\\( (?:(?:min-|max-)?(?:(?:device-)?(?:aspect-ratio|height|width)|color(?:-index)?|monochrome|orientation|resolution)|grid|hover|luminosity|pointer|scan|script) (?:: -?(?:[a-z]\\w+(?:-\\w+)*|\\d+(?: / \\d+|(?:\\.\\d+)?(?:p[cxt]|[cem]m|in|dpi|dppx|dpcm|%)?)) )?\\))*)(?: , (?:(?:(?:(?:only|not) )?(?:all|aural|braille|embossed|handheld|print|projection|screen|speech|tty|tv)|\\( (?:(?:min-|max-)?(?:(?:device-)?(?:aspect-ratio|height|width)|color(?:-index)?|monochrome|orientation|resolution)|grid|hover|luminosity|pointer|scan|script) (?:: -?(?:[a-z]\\w+(?:-\\w+)*|\\d+(?: / \\d+|(?:\\.\\d+)?(?:p[cxt]|[cem]m|in|dpi|dppx|dpcm|%)?)) )?\\))(?: and ?\\( (?:(?:min-|max-)?(?:(?:device-)?(?:aspect-ratio|height|width)|color(?:-index)?|monochrome|orientation|resolution)|grid|hover|luminosity|pointer|scan|script) (?:: -?(?:[a-z]\\w+(?:-\\w+)*|\\d+(?: / \\d+|(?:\\.\\d+)?(?:p[cxt]|[cem]m|in|dpi|dppx|dpcm|%)?)) )?\\))*))*$",
"i");s=function(d){d=d.slice();for(var e=d.length,c=0,f=0;f<e;++f){var g=d[f];" "!=g&&(d[c++]=g)}d.length=c;d=d.join(" ");return!d.length?"":!b.test(d)?"not all":a.test(d)?d:"not all , "+d}})();(function(){function a(b){var d=/^\s*[']([^']*)[']\s*$/,e=/^\s*url\s*[(]["]([^"]*)["][)]\s*$/,c=/^\s*url\s*[(][']([^']*)['][)]\s*$/,g=/^\s*url\s*[(]([^)]*)[)]\s*$/,k;return(k=/^\s*["]([^"]*)["]\s*$/.exec(b))||(k=d.exec(b))||(k=e.exec(b))||(k=c.exec(b))||(k=g.exec(b))?k[1]:f}function e(g,l,m,u,r,v,G){function z(){D=
B.length&&B[B.length-1]===f}var E=b,F=G||[0],B=[],D=d;q(l,{startStylesheet:function(){E=[]},endStylesheet:function(){},startAtrule:function(b,d){if(D)b=f;else if("@media"===b)E.push("@media"," ",s(d));else if("@keyframes"===b||"@-webkit-keyframes"===b){var c=d[0];1===d.length&&!/__$|[^\w\-]/.test(c)?(E.push(b," ",c+m.L),b="@keyframes"):b=f}else if("@import"===b&&0<d.length)if(b=f,"function"===typeof v){var l=s(d.slice(1));if("not all"!==l){++F[0];var n=[];E.push(n);var q=t(k(g,a(d[0])),function(a){var b=
e(q,a.qa,m,u,r,v,F);--F[0];a=l?{toString:function(){return"@media "+l+" {"+b.result+"}"}}:b.result;n[0]=a;v(a,!!F[0])},r)}}else window.console&&window.console.log("@import "+d.join(" ")+" elided");D=!b;B.push(b)},endAtrule:function(){B.pop();D||E.push(";");z()},startBlock:function(){D||E.push("{")},endBlock:function(){D||(E.push("}"),D=c)},startRuleset:function(a){if(!D){var d=b;"@keyframes"===B[B.length-1]?(d=a.join(" ").match(/^ *(?:from|to|\d+(?:\.\d+)?%) *(?:, *(?:from|to|\d+(?:\.\d+)?%) *)*$/i),
D=!d,d&&(d=d[0].replace(/ +/g,""))):(a=p(a,m),!a||!a.length?D=c:d=a.join(", "));D||E.push(d,"{")}B.push(f)},endRuleset:function(){B.pop();D||E.push("}");z()},declaration:function(a,b){if(!D){var e=d,f=b.length;2<=f&&"!"===b[f-2]&&"important"===b[f-1].toLowerCase()&&(e=c,b.length-=2);n(a,b,u,g,m.L);b.length&&E.push(a,":",b.join(" "),e?" !important;":";")}}});return{result:{toString:function(){return E.join("")}},va:!!F[0]}}r=function(a,d,c,f){return e(a,d,c,f,b,b).result.toString()}})()})();"undefined"!==
typeof window&&(window.sanitizeCssProperty=n,window.sanitizeCssSelectorList=p,window.sanitizeStylesheet=r,window.sanitizeMediaQuery=s);var q,t;(function(){function a(d,e,c,f,g){for(var k=e++;e<c&&"{"!==d[e]&&";"!==d[e];)++e;if(e<c&&(g||";"===d[e])){g=k+1;var l=e;g<c&&" "===d[g]&&++g;l>g&&" "===d[l-1]&&--l;f.startAtrule&&f.startAtrule(d[k].toLowerCase(),d.slice(g,l));e="{"===d[e]?b(d,e,c,f):e+1;f.endAtrule&&f.endAtrule()}return e}function b(c,f,g,k){++f;for(k.startBlock&&k.startBlock();f<g;){var l=
c[f].charAt(0);if("}"==l){++f;break}f=" "===l||";"===l?f+1:"@"===l?a(c,f,g,k,d):"{"===l?b(c,f,g,k):e(c,f,g,k)}k.endBlock&&k.endBlock();return f}function e(a,b,d,g){var k=b,m=f(a,b,d,c);if(0>m)return m=~m,m===k?m+1:m;var n=a[m];if("{"!==n)return m===k?m+1:m;b=m+1;m>k&&" "===a[m-1]&&--m;for(g.startRuleset&&g.startRuleset(a.slice(k,m));b<d;){n=a[b];if("}"===n){++b;break}b=" "===n?b+1:l(a,b,d,g)}g.endRuleset&&g.endRuleset();return b}function f(a,b,d,e){for(var c,g=[],k=-1;b<d;++b)if(c=a[b].charAt(0),
"["===c||"("===c)g[++k]=c;else if("]"===c&&"["===g[k]||")"===c&&"("===g[k])--k;else if("{"===c||"}"===c||";"===c||"@"===c||":"===c&&!e)break;0<=k&&(b=~(b+1));return b}function g(a,b,d){for(;b<d&&";"!==a[b]&&"}"!==a[b];)++b;return b<d&&";"===a[b]?b+1:b}function l(a,b,e,c){var k=a[b++];if(!m.test(k))return g(a,b,e);b<e&&" "===a[b]&&++b;if(b==e||":"!==a[b])return g(a,b,e);++b;b<e&&" "===a[b]&&++b;var n=f(a,b,e,d);if(0>n)n=~n;else{for(var q=[],p=0,t=b;t<n;++t)b=a[t]," "!==b&&(q[p++]=b);if(n<e){do{b=a[n];
if(";"===b||"}"===b)break;p=0}while(++n<e);";"===b&&++n}p&&c.declaration&&c.declaration(k.toLowerCase(),q)}return n}q=function(b,d){var f=k(b);d.startStylesheet&&d.startStylesheet();for(var g=0,l=f.length;g<l;)g=" "===f[g]?g+1:g<l?"@"===f[g].charAt(0)?a(f,g,l,d,c):e(f,g,l,d):g;d.endStylesheet&&d.endStylesheet()};var m=/^-?[a-z]/i;t=function(a,b){for(var d=k(a),e=0,c=d.length;e<c;)e=" "!==d[e]?l(d,e,c,b):e+1}})();"undefined"!==typeof window&&(window.parseCssStylesheet=q,window.parseCssDeclarations=
t);var u={d:{NONE:0,URI:1,URI_FRAGMENT:11,SCRIPT:2,STYLE:3,HTML:12,ID:4,IDREF:5,IDREFS:6,GLOBAL_NAME:7,LOCAL_NAME:8,CLASSES:9,FRAME_TARGET:10,MEDIA_QUERY:13}};u.atype=u.d;u.m={"*::class":9,"*::dir":0,"*::draggable":0,"*::hidden":0,"*::id":4,"*::inert":0,"*::itemprop":0,"*::itemref":6,"*::itemscope":0,"*::lang":0,"*::onblur":2,"*::onchange":2,"*::onclick":2,"*::ondblclick":2,"*::onerror":2,"*::onfocus":2,"*::onkeydown":2,"*::onkeypress":2,"*::onkeyup":2,"*::onload":2,"*::onmousedown":2,"*::onmousemove":2,
"*::onmouseout":2,"*::onmouseover":2,"*::onmouseup":2,"*::onreset":2,"*::onscroll":2,"*::onselect":2,"*::onsubmit":2,"*::ontouchcancel":2,"*::ontouchend":2,"*::ontouchenter":2,"*::ontouchleave":2,"*::ontouchmove":2,"*::ontouchstart":2,"*::onunload":2,"*::spellcheck":0,"*::style":3,"*::tabindex":0,"*::title":0,"*::translate":0,"a::accesskey":0,"a::coords":0,"a::href":1,"a::hreflang":0,"a::name":7,"a::onblur":2,"a::onfocus":2,"a::shape":0,"a::target":10,"a::type":0,"area::accesskey":0,"area::alt":0,
"area::coords":0,"area::href":1,"area::nohref":0,"area::onblur":2,"area::onfocus":2,"area::shape":0,"area::target":10,"audio::controls":0,"audio::loop":0,"audio::mediagroup":5,"audio::muted":0,"audio::preload":0,"audio::src":1,"bdo::dir":0,"blockquote::cite":1,"br::clear":0,"button::accesskey":0,"button::disabled":0,"button::name":8,"button::onblur":2,"button::onfocus":2,"button::type":0,"button::value":0,"canvas::height":0,"canvas::width":0,"caption::align":0,"col::align":0,"col::char":0,"col::charoff":0,
"col::span":0,"col::valign":0,"col::width":0,"colgroup::align":0,"colgroup::char":0,"colgroup::charoff":0,"colgroup::span":0,"colgroup::valign":0,"colgroup::width":0,"command::checked":0,"command::command":5,"command::disabled":0,"command::icon":1,"command::label":0,"command::radiogroup":0,"command::type":0,"data::value":0,"del::cite":1,"del::datetime":0,"details::open":0,"dir::compact":0,"div::align":0,"dl::compact":0,"fieldset::disabled":0,"font::color":0,"font::face":0,"font::size":0,"form::accept":0,
"form::action":1,"form::autocomplete":0,"form::enctype":0,"form::method":0,"form::name":7,"form::novalidate":0,"form::onreset":2,"form::onsubmit":2,"form::target":10,"h1::align":0,"h2::align":0,"h3::align":0,"h4::align":0,"h5::align":0,"h6::align":0,"hr::align":0,"hr::noshade":0,"hr::size":0,"hr::width":0,"iframe::align":0,"iframe::frameborder":0,"iframe::height":0,"iframe::marginheight":0,"iframe::marginwidth":0,"iframe::width":0,"img::align":0,"img::alt":0,"img::border":0,"img::height":0,"img::hspace":0,
"img::ismap":0,"img::name":7,"img::src":1,"img::usemap":11,"img::vspace":0,"img::width":0,"input::accept":0,"input::accesskey":0,"input::align":0,"input::alt":0,"input::autocomplete":0,"input::checked":0,"input::disabled":0,"input::inputmode":0,"input::ismap":0,"input::list":5,"input::max":0,"input::maxlength":0,"input::min":0,"input::multiple":0,"input::name":8,"input::onblur":2,"input::onchange":2,"input::onfocus":2,"input::onselect":2,"input::pattern":0,"input::placeholder":0,"input::readonly":0,
"input::required":0,"input::size":0,"input::src":1,"input::step":0,"input::type":0,"input::usemap":11,"input::value":0,"ins::cite":1,"ins::datetime":0,"label::accesskey":0,"label::for":5,"label::onblur":2,"label::onfocus":2,"legend::accesskey":0,"legend::align":0,"li::type":0,"li::value":0,"map::name":7,"menu::compact":0,"menu::label":0,"menu::type":0,"meter::high":0,"meter::low":0,"meter::max":0,"meter::min":0,"meter::value":0,"ol::compact":0,"ol::reversed":0,"ol::start":0,"ol::type":0,"optgroup::disabled":0,
"optgroup::label":0,"option::disabled":0,"option::label":0,"option::selected":0,"option::value":0,"output::for":6,"output::name":8,"p::align":0,"pre::width":0,"progress::max":0,"progress::min":0,"progress::value":0,"q::cite":1,"select::autocomplete":0,"select::disabled":0,"select::multiple":0,"select::name":8,"select::onblur":2,"select::onchange":2,"select::onfocus":2,"select::required":0,"select::size":0,"source::type":0,"table::align":0,"table::bgcolor":0,"table::border":0,"table::cellpadding":0,
"table::cellspacing":0,"table::frame":0,"table::rules":0,"table::summary":0,"table::width":0,"tbody::align":0,"tbody::char":0,"tbody::charoff":0,"tbody::valign":0,"td::abbr":0,"td::align":0,"td::axis":0,"td::bgcolor":0,"td::char":0,"td::charoff":0,"td::colspan":0,"td::headers":6,"td::height":0,"td::nowrap":0,"td::rowspan":0,"td::scope":0,"td::valign":0,"td::width":0,"textarea::accesskey":0,"textarea::autocomplete":0,"textarea::cols":0,"textarea::disabled":0,"textarea::inputmode":0,"textarea::name":8,
"textarea::onblur":2,"textarea::onchange":2,"textarea::onfocus":2,"textarea::onselect":2,"textarea::placeholder":0,"textarea::readonly":0,"textarea::required":0,"textarea::rows":0,"textarea::wrap":0,"tfoot::align":0,"tfoot::char":0,"tfoot::charoff":0,"tfoot::valign":0,"th::abbr":0,"th::align":0,"th::axis":0,"th::bgcolor":0,"th::char":0,"th::charoff":0,"th::colspan":0,"th::headers":6,"th::height":0,"th::nowrap":0,"th::rowspan":0,"th::scope":0,"th::valign":0,"th::width":0,"thead::align":0,"thead::char":0,
"thead::charoff":0,"thead::valign":0,"tr::align":0,"tr::bgcolor":0,"tr::char":0,"tr::charoff":0,"tr::valign":0,"track::default":0,"track::kind":0,"track::label":0,"track::srclang":0,"ul::compact":0,"ul::type":0,"video::controls":0,"video::height":0,"video::loop":0,"video::mediagroup":5,"video::muted":0,"video::poster":1,"video::preload":0,"video::src":1,"video::width":0};u.ATTRIBS=u.m;u.c={OPTIONAL_ENDTAG:1,EMPTY:2,CDATA:4,RCDATA:8,UNSAFE:16,FOLDABLE:32,SCRIPT:64,STYLE:128,VIRTUALIZED:256};u.eflags=
u.c;u.f={a:0,abbr:0,acronym:0,address:0,applet:272,area:2,article:0,aside:0,audio:0,b:0,base:274,basefont:274,bdi:0,bdo:0,big:0,blockquote:0,body:305,br:2,button:0,canvas:0,caption:0,center:0,cite:0,code:0,col:2,colgroup:1,command:2,data:0,datalist:0,dd:1,del:0,details:0,dfn:0,dialog:272,dir:0,div:0,dl:0,dt:1,em:0,fieldset:0,figcaption:0,figure:0,font:0,footer:0,form:0,frame:274,frameset:272,h1:0,h2:0,h3:0,h4:0,h5:0,h6:0,head:305,header:0,hgroup:0,hr:2,html:305,i:0,iframe:4,img:2,input:2,ins:0,isindex:274,
kbd:0,keygen:274,label:0,legend:0,li:1,link:274,map:0,mark:0,menu:0,meta:274,meter:0,nav:0,nobr:0,noembed:276,noframes:276,noscript:276,object:272,ol:0,optgroup:0,option:1,output:0,p:1,param:274,pre:0,progress:0,q:0,s:0,samp:0,script:84,section:0,select:0,small:0,source:2,span:0,strike:0,strong:0,style:148,sub:0,summary:0,sup:0,table:0,tbody:1,td:1,textarea:8,tfoot:1,th:1,thead:1,time:0,title:280,tr:1,track:2,tt:0,u:0,ul:0,"var":0,video:0,wbr:2};u.ELEMENTS=u.f;u.Q={a:"HTMLAnchorElement",abbr:"HTMLElement",
acronym:"HTMLElement",address:"HTMLElement",applet:"HTMLAppletElement",area:"HTMLAreaElement",article:"HTMLElement",aside:"HTMLElement",audio:"HTMLAudioElement",b:"HTMLElement",base:"HTMLBaseElement",basefont:"HTMLBaseFontElement",bdi:"HTMLElement",bdo:"HTMLElement",big:"HTMLElement",blockquote:"HTMLQuoteElement",body:"HTMLBodyElement",br:"HTMLBRElement",button:"HTMLButtonElement",canvas:"HTMLCanvasElement",caption:"HTMLTableCaptionElement",center:"HTMLElement",cite:"HTMLElement",code:"HTMLElement",
col:"HTMLTableColElement",colgroup:"HTMLTableColElement",command:"HTMLCommandElement",data:"HTMLElement",datalist:"HTMLDataListElement",dd:"HTMLElement",del:"HTMLModElement",details:"HTMLDetailsElement",dfn:"HTMLElement",dialog:"HTMLDialogElement",dir:"HTMLDirectoryElement",div:"HTMLDivElement",dl:"HTMLDListElement",dt:"HTMLElement",em:"HTMLElement",fieldset:"HTMLFieldSetElement",figcaption:"HTMLElement",figure:"HTMLElement",font:"HTMLFontElement",footer:"HTMLElement",form:"HTMLFormElement",frame:"HTMLFrameElement",
frameset:"HTMLFrameSetElement",h1:"HTMLHeadingElement",h2:"HTMLHeadingElement",h3:"HTMLHeadingElement",h4:"HTMLHeadingElement",h5:"HTMLHeadingElement",h6:"HTMLHeadingElement",head:"HTMLHeadElement",header:"HTMLElement",hgroup:"HTMLElement",hr:"HTMLHRElement",html:"HTMLHtmlElement",i:"HTMLElement",iframe:"HTMLIFrameElement",img:"HTMLImageElement",input:"HTMLInputElement",ins:"HTMLModElement",isindex:"HTMLUnknownElement",kbd:"HTMLElement",keygen:"HTMLKeygenElement",label:"HTMLLabelElement",legend:"HTMLLegendElement",
li:"HTMLLIElement",link:"HTMLLinkElement",map:"HTMLMapElement",mark:"HTMLElement",menu:"HTMLMenuElement",meta:"HTMLMetaElement",meter:"HTMLMeterElement",nav:"HTMLElement",nobr:"HTMLElement",noembed:"HTMLElement",noframes:"HTMLElement",noscript:"HTMLElement",object:"HTMLObjectElement",ol:"HTMLOListElement",optgroup:"HTMLOptGroupElement",option:"HTMLOptionElement",output:"HTMLOutputElement",p:"HTMLParagraphElement",param:"HTMLParamElement",pre:"HTMLPreElement",progress:"HTMLProgressElement",q:"HTMLQuoteElement",
s:"HTMLElement",samp:"HTMLElement",script:"HTMLScriptElement",section:"HTMLElement",select:"HTMLSelectElement",small:"HTMLElement",source:"HTMLSourceElement",span:"HTMLSpanElement",strike:"HTMLElement",strong:"HTMLElement",style:"HTMLStyleElement",sub:"HTMLElement",summary:"HTMLElement",sup:"HTMLElement",table:"HTMLTableElement",tbody:"HTMLTableSectionElement",td:"HTMLTableDataCellElement",textarea:"HTMLTextAreaElement",tfoot:"HTMLTableSectionElement",th:"HTMLTableHeaderCellElement",thead:"HTMLTableSectionElement",
time:"HTMLTimeElement",title:"HTMLTitleElement",tr:"HTMLTableRowElement",track:"HTMLTrackElement",tt:"HTMLElement",u:"HTMLElement",ul:"HTMLUListElement","var":"HTMLElement",video:"HTMLVideoElement",wbr:"HTMLElement"};u.ELEMENT_DOM_INTERFACES=u.Q;u.P={NOT_LOADED:0,SAME_DOCUMENT:1,NEW_DOCUMENT:2};u.ueffects=u.P;u.J={"a::href":2,"area::href":2,"audio::src":1,"blockquote::cite":0,"command::icon":1,"del::cite":0,"form::action":2,"img::src":1,"input::src":1,"ins::cite":0,"q::cite":0,"video::poster":1,"video::src":1};
u.URIEFFECTS=u.J;u.M={UNSANDBOXED:2,SANDBOXED:1,DATA:0};u.ltypes=u.M;u.I={"a::href":2,"area::href":2,"audio::src":2,"blockquote::cite":2,"command::icon":1,"del::cite":2,"form::action":2,"img::src":1,"input::src":1,"ins::cite":2,"q::cite":2,"video::poster":1,"video::src":2};u.LOADERTYPES=u.I;"undefined"!==typeof window&&(window.html4=u);a=function(a){function e(a,b){var d;if(P.hasOwnProperty(b))d=P[b];else{var c=b.match(M);d=c?String.fromCharCode(parseInt(c[1],10)):(c=b.match(V))?String.fromCharCode(parseInt(c[1],
16)):K&&J.test(b)?(K.innerHTML="\x26"+b+";",c=K.textContent,P[b]=c):"\x26"+b+";"}return d}function g(a){return a.replace(X,e)}function k(a){return(""+a).replace(ca,"\x26amp;").replace(Z,"\x26lt;").replace(ba,"\x26gt;").replace(Y,"\x26#34;")}function l(a){return a.replace(T,"\x26amp;$1").replace(Z,"\x26lt;").replace(ba,"\x26gt;")}function n(a){var b={z:a.z||a.cdata,A:a.A||a.comment,B:a.B||a.endDoc,t:a.t||a.endTag,e:a.e||a.pcdata,F:a.F||a.rcdata,H:a.H||a.startDoc,w:a.w||a.startTag};return function(a,
e){var c,g=/(<\/|<\!--|<[!?]|[&<>])/g;c=a+"";if(ia)c=c.split(g);else{for(var k=[],l=0,m;(m=g.exec(c))!==f;)k.push(c.substring(l,m.index)),k.push(m[0]),l=m.index+m[0].length;k.push(c.substring(l));c=k}p(b,c,0,{r:d,C:d},e)}}function q(a,b,d,e,c){return function(){p(a,b,d,e,c)}}function p(b,d,e,f,g){try{b.H&&0==e&&b.H(g);for(var k,l,m,n=d.length;e<n;){var r=d[e++],s=d[e];switch(r){case "\x26":da.test(s)?(b.e&&b.e("\x26"+s,g,aa,q(b,d,e,f,g)),e++):b.e&&b.e("\x26amp;",g,aa,q(b,d,e,f,g));break;case "\x3c/":if(k=
/^([-\w:]+)[^\'\"]*/.exec(s))if(k[0].length===s.length&&"\x3e"===d[e+1])e+=2,m=k[1].toLowerCase(),b.t&&b.t(m,g,aa,q(b,d,e,f,g));else{var x=d,z=e,y=b,E=g,D=aa,V=f,U=u(x,z);U?(y.t&&y.t(U.name,E,D,q(y,x,z,V,E)),e=U.next):e=x.length}else b.e&&b.e("\x26lt;/",g,aa,q(b,d,e,f,g));break;case "\x3c":if(k=/^([-\w:]+)\s*\/?/.exec(s))if(k[0].length===s.length&&"\x3e"===d[e+1]){e+=2;m=k[1].toLowerCase();b.w&&b.w(m,[],g,aa,q(b,d,e,f,g));var H=a.f[m];H&ea&&(e=t(d,{name:m,next:e,c:H},b,g,aa,f))}else{var x=d,z=b,y=
g,E=aa,D=f,A=u(x,e);A?(z.w&&z.w(A.name,A.R,y,E,q(z,x,A.next,D,y)),e=A.c&ea?t(x,A,z,y,E,D):A.next):e=x.length}else b.e&&b.e("\x26lt;",g,aa,q(b,d,e,f,g));break;case "\x3c!--":if(!f.C){for(l=e+1;l<n&&!("\x3e"===d[l]&&/--$/.test(d[l-1]));l++);if(l<n){if(b.A){var J=d.slice(e,l).join("");b.A(J.substr(0,J.length-2),g,aa,q(b,d,l+1,f,g))}e=l+1}else f.C=c}f.C&&b.e&&b.e("\x26lt;!--",g,aa,q(b,d,e,f,g));break;case "\x3c!":if(/^\w/.test(s)){if(!f.r){for(l=e+1;l<n&&"\x3e"!==d[l];l++);l<n?e=l+1:f.r=c}f.r&&b.e&&b.e("\x26lt;!",
g,aa,q(b,d,e,f,g))}else b.e&&b.e("\x26lt;!",g,aa,q(b,d,e,f,g));break;case "\x3c?":if(!f.r){for(l=e+1;l<n&&"\x3e"!==d[l];l++);l<n?e=l+1:f.r=c}f.r&&b.e&&b.e("\x26lt;?",g,aa,q(b,d,e,f,g));break;case "\x3e":b.e&&b.e("\x26gt;",g,aa,q(b,d,e,f,g));break;case "":break;default:b.e&&b.e(r,g,aa,q(b,d,e,f,g))}}b.B&&b.B(g)}catch(K){if(K!==aa)throw K;}}function t(b,d,e,c,f,g){var k=b.length;fa.hasOwnProperty(d.name)||(fa[d.name]=RegExp("^"+d.name+"(?:[\\s\\/]|$)","i"));for(var m=fa[d.name],n=d.next,p=d.next+1;p<
k&&!("\x3c/"===b[p-1]&&m.test(b[p]));p++);p<k&&(p-=1);k=b.slice(n,p).join("");if(d.c&a.c.CDATA)e.z&&e.z(k,c,f,q(e,b,p,g,c));else if(d.c&a.c.RCDATA)e.F&&e.F(l(k),c,f,q(e,b,p,g,c));else throw Error("bug");return p}function u(b,e){var f=/^([-\w:]+)/.exec(b[e]),k={};k.name=f[1].toLowerCase();k.c=a.f[k.name];for(var l=b[e].substr(f[0].length),m=e+1,n=b.length;m<n&&"\x3e"!==b[m];m++)l+=b[m];if(!(n<=m)){for(var q=[];""!==l;)if(f=U.exec(l))if(f[4]&&!f[5]||f[6]&&!f[7]){for(var f=f[4]||f[6],p=d,l=[l,b[m++]];m<
n;m++){if(p){if("\x3e"===b[m])break}else 0<=b[m].indexOf(f)&&(p=c);l.push(b[m])}if(n<=m)break;l=l.join("")}else{var p=f[1].toLowerCase(),t;if(f[2]){t=f[3];var r=t.charCodeAt(0);if(34===r||39===r)t=t.substr(1,t.length-2);t=g(t.replace(R,""))}else t="";q.push(p,t);l=l.substr(f[0].length)}else l=l.replace(/^[\s\S][^a-z\s]*/,"");k.R=q;k.next=m+1;return k}}function r(e){function c(a,b){l||b.push(a)}var g,l;return n({startDoc:function(){g=[];l=d},startTag:function(d,c,m){if(!l&&a.f.hasOwnProperty(d)){var n=
a.f[d];if(!(n&a.c.FOLDABLE)){var q=e(d,c);if(q){if("object"!==typeof q)throw Error("tagPolicy did not return object (old API?)");if("attribs"in q)c=q.attribs;else throw Error("tagPolicy gave no attribs");var p;"tagName"in q?(p=q.tagName,q=a.f[p]):(p=d,q=n);if(n&a.c.OPTIONAL_ENDTAG){var t=g[g.length-1];t&&t.D===d&&(t.v!==p||d!==p)&&m.push("\x3c/",t.v,"\x3e")}n&a.c.EMPTY||g.push({D:d,v:p});m.push("\x3c",p);d=0;for(t=c.length;d<t;d+=2){var u=c[d],r=c[d+1];r!==f&&r!==b&&m.push(" ",u,'\x3d"',k(r),'"')}m.push("\x3e");
n&a.c.EMPTY&&!(q&a.c.EMPTY)&&m.push("\x3c/",p,"\x3e")}else l=!(n&a.c.EMPTY)}}},endTag:function(b,e){if(l)l=d;else if(a.f.hasOwnProperty(b)){var c=a.f[b];if(!(c&(a.c.EMPTY|a.c.FOLDABLE))){if(c&a.c.OPTIONAL_ENDTAG)for(c=g.length;0<=--c;){var f=g[c].D;if(f===b)break;if(!(a.f[f]&a.c.OPTIONAL_ENDTAG))return}else for(c=g.length;0<=--c&&g[c].D!==b;);if(!(0>c)){for(f=g.length;--f>c;){var k=g[f].v;a.f[k]&a.c.OPTIONAL_ENDTAG||e.push("\x3c/",k,"\x3e")}c<g.length&&(b=g[c].v);g.length=c;e.push("\x3c/",b,"\x3e")}}}},
pcdata:c,rcdata:c,cdata:c,endDoc:function(a){for(;g.length;g.length--)a.push("\x3c/",g[g.length-1].v,"\x3e")}})}function s(a,b,d,e,c){if(!c)return f;try{var g=m.parse(""+a);if(g&&(!g.K()||ja.test(g.W()))){var k=c(g,b,d,e);return k?k.toString():f}}catch(l){}return f}function L(a,b,d,e,c){d||a(b+" removed",{S:"removed",tagName:b});if(e!==c){var f="changed";e&&!c?f="removed":!e&&c&&(f="added");a(b+"."+d+" "+f,{S:f,tagName:b,la:d,oldValue:e,newValue:c})}}function O(a,b,d){b=b+"::"+d;if(a.hasOwnProperty(b))return a[b];
b="*::"+d;if(a.hasOwnProperty(b))return a[b]}function S(d,e,c,g,k){for(var l=0;l<e.length;l+=2){var m=e[l],n=e[l+1],q=n,p=f,t;if((t=d+"::"+m,a.m.hasOwnProperty(t))||(t="*::"+m,a.m.hasOwnProperty(t)))p=a.m[t];if(p!==f)switch(p){case a.d.NONE:break;case a.d.SCRIPT:n=f;k&&L(k,d,m,q,n);break;case a.d.STYLE:if("undefined"===typeof C){n=f;k&&L(k,d,m,q,n);break}var u=[];C(n,{declaration:function(b,d){var e=b.toLowerCase();N(e,d,c?function(b){return s(b,a.P.ja,a.M.ka,{TYPE:"CSS",CSS_PROP:e},c)}:f);d.length&&
u.push(e+": "+d.join(" "))}});n=0<u.length?u.join(" ; "):f;k&&L(k,d,m,q,n);break;case a.d.ID:case a.d.IDREF:case a.d.IDREFS:case a.d.GLOBAL_NAME:case a.d.LOCAL_NAME:case a.d.CLASSES:n=g?g(n):n;k&&L(k,d,m,q,n);break;case a.d.URI:n=s(n,O(a.J,d,m),O(a.I,d,m),{TYPE:"MARKUP",XML_ATTR:m,XML_TAG:d},c);k&&L(k,d,m,q,n);break;case a.d.URI_FRAGMENT:n&&"#"===n.charAt(0)?(n=n.substring(1),n=g?g(n):n,n!==f&&n!==b&&(n="#"+n)):n=f;k&&L(k,d,m,q,n);break;default:n=f,k&&L(k,d,m,q,n)}else n=f,k&&L(k,d,m,q,n);e[l+1]=
n}return e}function W(d,e,c){return function(f,g){if(a.f[f]&a.c.UNSAFE)c&&L(c,f,b,b,b);else return{attribs:S(f,g,d,e,c)}}}function Q(a,b){var d=[];r(b)(a,d);return d.join("")}var C,N;"undefined"!==typeof window&&(C=window.parseCssDeclarations,N=window.sanitizeCssProperty);var P={lt:"\x3c",LT:"\x3c",gt:"\x3e",GT:"\x3e",amp:"\x26",AMP:"\x26",quot:'"',apos:"'",nbsp:"\u00a0"},M=/^#(\d+)$/,V=/^#x([0-9A-Fa-f]+)$/,J=/^[A-Za-z][A-za-z0-9]+$/,K="undefined"!==typeof window&&window.document?window.document.createElement("textarea"):
f,R=/\0/g,X=/&(#[0-9]+|#[xX][0-9A-Fa-f]+|\w+);/g,da=/^(#[0-9]+|#[xX][0-9A-Fa-f]+|\w+);/,ca=/&/g,T=/&([^a-z#]|#(?:[^0-9x]|x(?:[^0-9a-f]|$)|$)|$)/gi,Z=/[<]/g,ba=/>/g,Y=/\"/g,U=/^\s*([-.:\w]+)(?:\s*(=)\s*((")[^"]*("|$)|(')[^']*('|$)|(?=[a-z][-\w]*\s*=)|[^"'\s]*))?/i,ia=3==="a,b".split(/(,)/).length,ea=a.c.CDATA|a.c.RCDATA,aa={},fa={},ja=/^(?:https?|mailto|data)$/i,ga={};ga.pa=ga.escapeAttrib=k;ga.ra=ga.makeHtmlSanitizer=r;ga.sa=ga.makeSaxParser=n;ga.ta=ga.makeTagPolicy=W;ga.wa=ga.normalizeRCData=l;ga.xa=
ga.sanitize=function(a,b,d,e){return Q(a,W(b,d,e))};ga.ya=ga.sanitizeAttribs=S;ga.za=ga.sanitizeWithPolicy=Q;ga.Ba=ga.unescapeEntities=g;return ga}(u);g=a.sanitize;"undefined"!==typeof window&&(window.html=a,window.html_sanitize=g)})();
!function(b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define([],b):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).pako=b()}(function(){return function c(f,d,a){function e(k,m){if(!d[k]){if(!f[k]){var n="function"==typeof require&&require;if(!m&&n)return n(k,!0);if(g)return g(k,!0);n=Error("Cannot find module '"+k+"'");throw n.code="MODULE_NOT_FOUND",n;}n=d[k]={exports:{}};
f[k][0].call(n.exports,function(a){var d=f[k][1][a];return e(d?d:a)},n,n.exports,c,f,d,a)}return d[k].exports}for(var g="function"==typeof require&&require,k=0;k<a.length;k++)e(a[k]);return e}({1:[function(c,f,d){function a(d){if(!(this instanceof a))return new a(d);d=this.options=k.assign({level:s,method:t,chunkSize:16384,windowBits:15,memLevel:8,strategy:q,to:""},d||{});d.raw&&0<d.windowBits?d.windowBits=-d.windowBits:d.gzip&&0<d.windowBits&&16>d.windowBits&&(d.windowBits+=16);this.err=0;this.msg=
"";this.ended=!1;this.chunks=[];this.strm=new n;this.strm.avail_out=0;var e=g.deflateInit2(this.strm,d.level,d.method,d.windowBits,d.memLevel,d.strategy);if(e!==r)throw Error(m[e]);if(d.header&&g.deflateSetHeader(this.strm,d.header),d.dictionary){var c;if(c="string"==typeof d.dictionary?l.string2buf(d.dictionary):"[object ArrayBuffer]"===p.call(d.dictionary)?new Uint8Array(d.dictionary):d.dictionary,e=g.deflateSetDictionary(this.strm,c),e!==r)throw Error(m[e]);this._dict_set=!0}}function e(d,e){var c=
new a(e);if(c.push(d,!0),c.err)throw c.msg;return c.result}var g=c("./zlib/deflate"),k=c("./utils/common"),l=c("./utils/strings"),m=c("./zlib/messages"),n=c("./zlib/zstream"),p=Object.prototype.toString,r=0,s=-1,q=0,t=8;a.prototype.push=function(a,d){var e,c,f=this.strm,m=this.options.chunkSize;if(this.ended)return!1;c=d===~~d?d:!0===d?4:0;"string"==typeof a?f.input=l.string2buf(a):"[object ArrayBuffer]"===p.call(a)?f.input=new Uint8Array(a):f.input=a;f.next_in=0;f.avail_in=f.input.length;do{if(0===
f.avail_out&&(f.output=new k.Buf8(m),f.next_out=0,f.avail_out=m),e=g.deflate(f,c),1!==e&&e!==r)return this.onEnd(e),this.ended=!0,!1;0!==f.avail_out&&(0!==f.avail_in||4!==c&&2!==c)||("string"===this.options.to?this.onData(l.buf2binstring(k.shrinkBuf(f.output,f.next_out))):this.onData(k.shrinkBuf(f.output,f.next_out)))}while((0<f.avail_in||0===f.avail_out)&&1!==e);return 4===c?(e=g.deflateEnd(this.strm),this.onEnd(e),this.ended=!0,e===r):2!==c||(this.onEnd(r),f.avail_out=0,!0)};a.prototype.onData=
function(a){this.chunks.push(a)};a.prototype.onEnd=function(a){a===r&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=k.flattenChunks(this.chunks));this.chunks=[];this.err=a;this.msg=this.strm.msg};d.Deflate=a;d.deflate=e;d.deflateRaw=function(a,d){return d=d||{},d.raw=!0,e(a,d)};d.gzip=function(a,d){return d=d||{},d.gzip=!0,e(a,d)}},{"./utils/common":3,"./utils/strings":4,"./zlib/deflate":8,"./zlib/messages":13,"./zlib/zstream":15}],2:[function(c,f,d){function a(d){if(!(this instanceof
a))return new a(d);var e=this.options=k.assign({chunkSize:16384,windowBits:0,to:""},d||{});e.raw&&0<=e.windowBits&&16>e.windowBits&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15));!(0<=e.windowBits&&16>e.windowBits)||d&&d.windowBits||(e.windowBits+=32);15<e.windowBits&&48>e.windowBits&&0===(15&e.windowBits)&&(e.windowBits|=15);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.strm=new p;this.strm.avail_out=0;d=g.inflateInit2(this.strm,e.windowBits);if(d!==m.Z_OK)throw Error(n[d]);
this.header=new r;g.inflateGetHeader(this.strm,this.header)}function e(d,e){var c=new a(e);if(c.push(d,!0),c.err)throw c.msg;return c.result}var g=c("./zlib/inflate"),k=c("./utils/common"),l=c("./utils/strings"),m=c("./zlib/constants"),n=c("./zlib/messages"),p=c("./zlib/zstream"),r=c("./zlib/gzheader"),s=Object.prototype.toString;a.prototype.push=function(a,d){var e,c,f,n,p,r,A=this.strm,B=this.options.chunkSize,E=this.options.dictionary,F=!1;if(this.ended)return!1;c=d===~~d?d:!0===d?m.Z_FINISH:m.Z_NO_FLUSH;
"string"==typeof a?A.input=l.binstring2buf(a):"[object ArrayBuffer]"===s.call(a)?A.input=new Uint8Array(a):A.input=a;A.next_in=0;A.avail_in=A.input.length;do{if(0===A.avail_out&&(A.output=new k.Buf8(B),A.next_out=0,A.avail_out=B),e=g.inflate(A,m.Z_NO_FLUSH),e===m.Z_NEED_DICT&&E&&(r="string"==typeof E?l.string2buf(E):"[object ArrayBuffer]"===s.call(E)?new Uint8Array(E):E,e=g.inflateSetDictionary(this.strm,r)),e===m.Z_BUF_ERROR&&!0===F&&(e=m.Z_OK,F=!1),e!==m.Z_STREAM_END&&e!==m.Z_OK)return this.onEnd(e),
this.ended=!0,!1;A.next_out&&(0!==A.avail_out&&e!==m.Z_STREAM_END&&(0!==A.avail_in||c!==m.Z_FINISH&&c!==m.Z_SYNC_FLUSH)||("string"===this.options.to?(f=l.utf8border(A.output,A.next_out),n=A.next_out-f,p=l.buf2string(A.output,f),A.next_out=n,A.avail_out=B-n,n&&k.arraySet(A.output,A.output,f,n,0),this.onData(p)):this.onData(k.shrinkBuf(A.output,A.next_out))));0===A.avail_in&&0===A.avail_out&&(F=!0)}while((0<A.avail_in||0===A.avail_out)&&e!==m.Z_STREAM_END);return e===m.Z_STREAM_END&&(c=m.Z_FINISH),
c===m.Z_FINISH?(e=g.inflateEnd(this.strm),this.onEnd(e),this.ended=!0,e===m.Z_OK):c!==m.Z_SYNC_FLUSH||(this.onEnd(m.Z_OK),A.avail_out=0,!0)};a.prototype.onData=function(a){this.chunks.push(a)};a.prototype.onEnd=function(a){a===m.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=k.flattenChunks(this.chunks));this.chunks=[];this.err=a;this.msg=this.strm.msg};d.Inflate=a;d.inflate=e;d.inflateRaw=function(a,d){return d=d||{},d.raw=!0,e(a,d)};d.ungzip=e},{"./utils/common":3,
"./utils/strings":4,"./zlib/constants":6,"./zlib/gzheader":9,"./zlib/inflate":11,"./zlib/messages":13,"./zlib/zstream":15}],3:[function(c,f,d){c="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;d.assign=function(a){for(var d=Array.prototype.slice.call(arguments,1);d.length;){var e=d.shift();if(e){if("object"!=typeof e)throw new TypeError(e+"must be non-object");for(var c in e)e.hasOwnProperty(c)&&(a[c]=e[c])}}return a};d.shrinkBuf=function(a,d){return a.length===
d?a:a.subarray?a.subarray(0,d):(a.length=d,a)};var a={arraySet:function(a,d,e,c,f){if(d.subarray&&a.subarray)return void a.set(d.subarray(e,e+c),f);for(var p=0;p<c;p++)a[f+p]=d[e+p]},flattenChunks:function(a){var d,e,c,f,p;d=c=0;for(e=a.length;d<e;d++)c+=a[d].length;p=new Uint8Array(c);d=c=0;for(e=a.length;d<e;d++)f=a[d],p.set(f,c),c+=f.length;return p}},e={arraySet:function(a,d,e,c,f){for(var p=0;p<c;p++)a[f+p]=d[e+p]},flattenChunks:function(a){return[].concat.apply([],a)}};d.setTyped=function(c){c?
(d.Buf8=Uint8Array,d.Buf16=Uint16Array,d.Buf32=Int32Array,d.assign(d,a)):(d.Buf8=Array,d.Buf16=Array,d.Buf32=Array,d.assign(d,e))};d.setTyped(c)},{}],4:[function(c,f,d){function a(a,d){if(65537>d&&(a.subarray&&k||!a.subarray&&g))return String.fromCharCode.apply(null,e.shrinkBuf(a,d));for(var c="",f=0;f<d;f++)c+=String.fromCharCode(a[f]);return c}var e=c("./common"),g=!0,k=!0;try{String.fromCharCode.apply(null,[0])}catch(l){g=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(m){k=!1}var n=
new e.Buf8(256);for(c=0;256>c;c++)n[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;n[254]=n[254]=1;d.string2buf=function(a){var d,c,f,g,k,l=a.length,m=0;for(g=0;g<l;g++)c=a.charCodeAt(g),55296===(64512&c)&&g+1<l&&(f=a.charCodeAt(g+1),56320===(64512&f)&&(c=65536+(c-55296<<10)+(f-56320),g++)),m+=128>c?1:2048>c?2:65536>c?3:4;d=new e.Buf8(m);for(g=k=0;k<m;g++)c=a.charCodeAt(g),55296===(64512&c)&&g+1<l&&(f=a.charCodeAt(g+1),56320===(64512&f)&&(c=65536+(c-55296<<10)+(f-56320),g++)),128>c?d[k++]=c:2048>
c?(d[k++]=192|c>>>6,d[k++]=128|63&c):65536>c?(d[k++]=224|c>>>12,d[k++]=128|c>>>6&63,d[k++]=128|63&c):(d[k++]=240|c>>>18,d[k++]=128|c>>>12&63,d[k++]=128|c>>>6&63,d[k++]=128|63&c);return d};d.buf2binstring=function(d){return a(d,d.length)};d.binstring2buf=function(a){for(var d=new e.Buf8(a.length),c=0,f=d.length;c<f;c++)d[c]=a.charCodeAt(c);return d};d.buf2string=function(d,e){var c,f,g,k,l=e||d.length,m=Array(2*l);for(c=f=0;c<l;)if(g=d[c++],128>g)m[f++]=g;else if(k=n[g],4<k)m[f++]=65533,c+=k-1;else{for(g&=
2===k?31:3===k?15:7;1<k&&c<l;)g=g<<6|63&d[c++],k--;1<k?m[f++]=65533:65536>g?m[f++]=g:(g-=65536,m[f++]=55296|g>>10&1023,m[f++]=56320|1023&g)}return a(m,f)};d.utf8border=function(a,d){var e;d=d||a.length;d>a.length&&(d=a.length);for(e=d-1;0<=e&&128===(192&a[e]);)e--;return 0>e?d:0===e?d:e+n[a[e]]>d?e:d}},{"./common":3}],5:[function(c,f,d){f.exports=function(a,d,c,f){var l=65535&a|0;a=a>>>16&65535|0;for(var m=0;0!==c;){m=2E3<c?2E3:c;c-=m;do l=l+d[f++]|0,a=a+l|0;while(--m);l%=65521;a%=65521}return l|
a<<16|0}},{}],6:[function(c,f,d){f.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],7:[function(c,f,d){var a=function(){for(var a,d=[],c=0;256>c;c++){a=c;
for(var f=0;8>f;f++)a=1&a?3988292384^a>>>1:a>>>1;d[c]=a}return d}();f.exports=function(d,c,f,l){f=l+f;for(d^=-1;l<f;l++)d=d>>>8^a[255&(d^c[l])];return d^-1}},{}],8:[function(c,f,d){function a(a,d){return a.msg=E[d],d}function e(a){for(var d=a.length;0<=--d;)a[d]=0}function g(a){var d=a.state,e=d.pending;e>a.avail_out&&(e=a.avail_out);0!==e&&(x.arraySet(a.output,d.pending_buf,d.pending_out,e,a.next_out),a.next_out+=e,d.pending_out+=e,a.total_out+=e,a.avail_out-=e,d.pending-=e,0===d.pending&&(d.pending_out=
0))}function k(a,d){D._tr_flush_block(a,0<=a.block_start?a.block_start:-1,a.strstart-a.block_start,d);a.block_start=a.strstart;g(a.strm)}function l(a,d){a.pending_buf[a.pending++]=d}function m(a,d){a.pending_buf[a.pending++]=d>>>8&255;a.pending_buf[a.pending++]=255&d}function n(a,d){var e,c,f=a.max_chain_length,g=a.strstart,k=a.prev_length,l=a.nice_match,m=a.strstart>a.w_size-X?a.strstart-(a.w_size-X):0,n=a.window,q=a.w_mask,p=a.prev,t=a.strstart+R,u=n[g+k-1],r=n[g+k];a.prev_length>=a.good_match&&
(f>>=2);l>a.lookahead&&(l=a.lookahead);do if(e=d,n[e+k]===r&&n[e+k-1]===u&&n[e]===n[g]&&n[++e]===n[g+1]){g+=2;e++;do;while(n[++g]===n[++e]&&n[++g]===n[++e]&&n[++g]===n[++e]&&n[++g]===n[++e]&&n[++g]===n[++e]&&n[++g]===n[++e]&&n[++g]===n[++e]&&n[++g]===n[++e]&&g<t);if(c=R-(t-g),g=t-R,c>k){if(a.match_start=d,k=c,c>=l)break;u=n[g+k-1];r=n[g+k]}}while((d=p[d&q])>m&&0!==--f);return k<=a.lookahead?k:a.lookahead}function p(a){var d,e,c,f,g=a.w_size;do{if(f=a.window_size-a.lookahead-a.strstart,a.strstart>=
g+(g-X)){x.arraySet(a.window,a.window,g,g,0);a.match_start-=g;a.strstart-=g;a.block_start-=g;d=e=a.hash_size;do c=a.head[--d],a.head[d]=c>=g?c-g:0;while(--e);d=e=g;do c=a.prev[--d],a.prev[d]=c>=g?c-g:0;while(--e);f+=g}if(0===a.strm.avail_in)break;d=a.strm;c=a.window;var k=a.strstart+a.lookahead,l=d.avail_in;if(e=(l>f&&(l=f),0===l?0:(d.avail_in-=l,x.arraySet(c,d.input,d.next_in,l,k),1===d.state.wrap?d.adler=A(d.adler,c,l,k):2===d.state.wrap&&(d.adler=B(d.adler,c,l,k)),d.next_in+=l,d.total_in+=l,l)),
a.lookahead+=e,a.lookahead+a.insert>=K){f=a.strstart-a.insert;a.ins_h=a.window[f];for(a.ins_h=(a.ins_h<<a.hash_shift^a.window[f+1])&a.hash_mask;a.insert&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[f+K-1])&a.hash_mask,a.prev[f&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=f,f++,a.insert--,!(a.lookahead+a.insert<K)););}}while(a.lookahead<X&&0!==a.strm.avail_in)}function r(a,d){for(var e,c;;){if(a.lookahead<X){if(p(a),a.lookahead<X&&d===F)return T;if(0===a.lookahead)break}if(e=0,a.lookahead>=K&&(a.ins_h=(a.ins_h<<
a.hash_shift^a.window[a.strstart+K-1])&a.hash_mask,e=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),0!==e&&a.strstart-e<=a.w_size-X&&(a.match_length=n(a,e)),a.match_length>=K)if(c=D._tr_tally(a,a.strstart-a.match_start,a.match_length-K),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=K){a.match_length--;do a.strstart++,a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+K-1])&a.hash_mask,e=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=
a.strstart;while(0!==--a.match_length);a.strstart++}else a.strstart+=a.match_length,a.match_length=0,a.ins_h=a.window[a.strstart],a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+1])&a.hash_mask;else c=D._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++;if(c&&(k(a,!1),0===a.strm.avail_out))return T}return a.insert=a.strstart<K-1?a.strstart:K-1,d===G?(k(a,!0),0===a.strm.avail_out?ba:Y):a.last_lit&&(k(a,!1),0===a.strm.avail_out)?T:Z}function s(a,d){for(var e,c,f;;){if(a.lookahead<X){if(p(a),
a.lookahead<X&&d===F)return T;if(0===a.lookahead)break}if(e=0,a.lookahead>=K&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+K-1])&a.hash_mask,e=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),a.prev_length=a.match_length,a.prev_match=a.match_start,a.match_length=K-1,0!==e&&a.prev_length<a.max_lazy_match&&a.strstart-e<=a.w_size-X&&(a.match_length=n(a,e),5>=a.match_length&&(a.strategy===O||a.match_length===K&&4096<a.strstart-a.match_start)&&(a.match_length=K-1)),a.prev_length>=
K&&a.match_length<=a.prev_length){f=a.strstart+a.lookahead-K;c=D._tr_tally(a,a.strstart-1-a.prev_match,a.prev_length-K);a.lookahead-=a.prev_length-1;a.prev_length-=2;do++a.strstart<=f&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+K-1])&a.hash_mask,e=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart);while(0!==--a.prev_length);if(a.match_available=0,a.match_length=K-1,a.strstart++,c&&(k(a,!1),0===a.strm.avail_out))return T}else if(a.match_available){if(c=D._tr_tally(a,0,
a.window[a.strstart-1]),c&&k(a,!1),a.strstart++,a.lookahead--,0===a.strm.avail_out)return T}else a.match_available=1,a.strstart++,a.lookahead--}return a.match_available&&(D._tr_tally(a,0,a.window[a.strstart-1]),a.match_available=0),a.insert=a.strstart<K-1?a.strstart:K-1,d===G?(k(a,!0),0===a.strm.avail_out?ba:Y):a.last_lit&&(k(a,!1),0===a.strm.avail_out)?T:Z}function q(a,d,e,c,f){this.good_length=a;this.max_lazy=d;this.nice_length=e;this.max_chain=c;this.func=f}function t(){this.strm=null;this.status=
0;this.pending_buf=null;this.wrap=this.pending=this.pending_out=this.pending_buf_size=0;this.gzhead=null;this.gzindex=0;this.method=Q;this.last_flush=-1;this.w_mask=this.w_bits=this.w_size=0;this.window=null;this.window_size=0;this.head=this.prev=null;this.nice_match=this.good_match=this.strategy=this.level=this.max_lazy_match=this.max_chain_length=this.prev_length=this.lookahead=this.match_start=this.strstart=this.match_available=this.prev_match=this.match_length=this.block_start=this.hash_shift=
this.hash_mask=this.hash_bits=this.hash_size=this.ins_h=0;this.dyn_ltree=new x.Buf16(2*V);this.dyn_dtree=new x.Buf16(2*(2*P+1));this.bl_tree=new x.Buf16(2*(2*M+1));e(this.dyn_ltree);e(this.dyn_dtree);e(this.bl_tree);this.bl_desc=this.d_desc=this.l_desc=null;this.bl_count=new x.Buf16(J+1);this.heap=new x.Buf16(2*N+1);e(this.heap);this.heap_max=this.heap_len=0;this.depth=new x.Buf16(2*N+1);e(this.depth);this.bi_valid=this.bi_buf=this.insert=this.matches=this.static_len=this.opt_len=this.d_buf=this.last_lit=
this.lit_bufsize=this.l_buf=0}function u(d){var e;return d&&d.state?(d.total_in=d.total_out=0,d.data_type=W,e=d.state,e.pending=0,e.pending_out=0,0>e.wrap&&(e.wrap=-e.wrap),e.status=e.wrap?da:ca,d.adler=2===e.wrap?0:1,e.last_flush=F,D._tr_init(e),H):a(d,I)}function v(a){var d=u(a);d===H&&(a=a.state,a.window_size=2*a.w_size,e(a.head),a.max_lazy_match=y[a.level].max_lazy,a.good_match=y[a.level].good_length,a.nice_match=y[a.level].nice_length,a.max_chain_length=y[a.level].max_chain,a.strstart=0,a.block_start=
0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=K-1,a.match_available=0,a.ins_h=0);return d}function z(d,e,c,f,g,k){if(!d)return I;var l=1;if(e===L&&(e=6),0>f?(l=0,f=-f):15<f&&(l=2,f-=16),1>g||g>C||c!==Q||8>f||15<f||0>e||9<e||0>k||k>S)return a(d,I);8===f&&(f=9);var m=new t;return d.state=m,m.strm=d,m.wrap=l,m.gzhead=null,m.w_bits=f,m.w_size=1<<m.w_bits,m.w_mask=m.w_size-1,m.hash_bits=g+7,m.hash_size=1<<m.hash_bits,m.hash_mask=m.hash_size-1,m.hash_shift=~~((m.hash_bits+K-1)/K),m.window=new x.Buf8(2*
m.w_size),m.head=new x.Buf16(m.hash_size),m.prev=new x.Buf16(m.w_size),m.lit_bufsize=1<<g+6,m.pending_buf_size=4*m.lit_bufsize,m.pending_buf=new x.Buf8(m.pending_buf_size),m.d_buf=1*m.lit_bufsize,m.l_buf=3*m.lit_bufsize,m.level=e,m.strategy=k,m.method=c,v(d)}var y,x=c("../utils/common"),D=c("./trees"),A=c("./adler32"),B=c("./crc32"),E=c("./messages"),F=0,G=4,H=0,I=-2,L=-1,O=1,S=4,W=2,Q=8,C=9,N=286,P=30,M=19,V=2*N+1,J=15,K=3,R=258,X=R+K+1,da=42,ca=113,T=1,Z=2,ba=3,Y=4;y=[new q(0,0,0,0,function(a,d){var e=
65535;for(e>a.pending_buf_size-5&&(e=a.pending_buf_size-5);;){if(1>=a.lookahead){if(p(a),0===a.lookahead&&d===F)return T;if(0===a.lookahead)break}a.strstart+=a.lookahead;a.lookahead=0;var c=a.block_start+e;if((0===a.strstart||a.strstart>=c)&&(a.lookahead=a.strstart-c,a.strstart=c,k(a,!1),0===a.strm.avail_out)||a.strstart-a.block_start>=a.w_size-X&&(k(a,!1),0===a.strm.avail_out))return T}return a.insert=0,d===G?(k(a,!0),0===a.strm.avail_out?ba:Y):(a.strstart>a.block_start&&k(a,!1),T)}),new q(4,4,8,
4,r),new q(4,5,16,8,r),new q(4,6,32,32,r),new q(4,4,16,16,s),new q(8,16,32,32,s),new q(8,16,128,128,s),new q(8,32,128,256,s),new q(32,128,258,1024,s),new q(32,258,258,4096,s)];d.deflateInit=function(a,d){return z(a,d,Q,15,8,0)};d.deflateInit2=z;d.deflateReset=v;d.deflateResetKeep=u;d.deflateSetHeader=function(a,d){return a&&a.state?2!==a.state.wrap?I:(a.state.gzhead=d,H):I};d.deflate=function(d,c){var f,n,q,t;if(!d||!d.state||5<c||0>c)return d?a(d,I):I;if(n=d.state,!d.output||!d.input&&0!==d.avail_in||
666===n.status&&c!==G)return a(d,0===d.avail_out?-5:I);if(n.strm=d,f=n.last_flush,n.last_flush=c,n.status===da)2===n.wrap?(d.adler=0,l(n,31),l(n,139),l(n,8),n.gzhead?(l(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),l(n,255&n.gzhead.time),l(n,n.gzhead.time>>8&255),l(n,n.gzhead.time>>16&255),l(n,n.gzhead.time>>24&255),l(n,9===n.level?2:2<=n.strategy||2>n.level?4:0),l(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(l(n,255&n.gzhead.extra.length),
l(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(d.adler=B(d.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(l(n,0),l(n,0),l(n,0),l(n,0),l(n,0),l(n,9===n.level?2:2<=n.strategy||2>n.level?4:0),l(n,3),n.status=ca)):(q=Q+(n.w_bits-8<<4)<<8,t=2<=n.strategy||2>n.level?0:6>n.level?1:6===n.level?2:3,q|=t<<6,0!==n.strstart&&(q|=32),n.status=ca,m(n,q+(31-q%31)),0!==n.strstart&&(m(n,d.adler>>>16),m(n,65535&d.adler)),d.adler=1);if(69===n.status)if(n.gzhead.extra){for(q=n.pending;n.gzindex<(65535&
n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>q&&(d.adler=B(d.adler,n.pending_buf,n.pending-q,q)),g(d),q=n.pending,n.pending!==n.pending_buf_size));)l(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>q&&(d.adler=B(d.adler,n.pending_buf,n.pending-q,q));n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){q=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>q&&
(d.adler=B(d.adler,n.pending_buf,n.pending-q,q)),g(d),q=n.pending,n.pending===n.pending_buf_size)){t=1;break}t=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0;l(n,t)}while(0!==t);n.gzhead.hcrc&&n.pending>q&&(d.adler=B(d.adler,n.pending_buf,n.pending-q,q));0===t&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){q=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>q&&(d.adler=B(d.adler,n.pending_buf,n.pending-q,q)),g(d),
q=n.pending,n.pending===n.pending_buf_size)){t=1;break}t=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0;l(n,t)}while(0!==t);n.gzhead.hcrc&&n.pending>q&&(d.adler=B(d.adler,n.pending_buf,n.pending-q,q));0===t&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&g(d),n.pending+2<=n.pending_buf_size&&(l(n,255&d.adler),l(n,d.adler>>8&255),d.adler=0,n.status=ca)):n.status=ca),0!==n.pending){if(g(d),0===d.avail_out)return n.last_flush=
-1,H}else if(0===d.avail_in&&(c<<1)-(4<c?9:0)<=(f<<1)-(4<f?9:0)&&c!==G)return a(d,-5);if(666===n.status&&0!==d.avail_in)return a(d,-5);if(0!==d.avail_in||0!==n.lookahead||c!==F&&666!==n.status){var u;if(2===n.strategy)a:{for(var r;;){if(0===n.lookahead&&(p(n),0===n.lookahead)){if(c===F){u=T;break a}break}if(n.match_length=0,r=D._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++,r&&(k(n,!1),0===n.strm.avail_out)){u=T;break a}}u=(n.insert=0,c===G?(k(n,!0),0===n.strm.avail_out?ba:Y):n.last_lit&&
(k(n,!1),0===n.strm.avail_out)?T:Z)}else if(3===n.strategy)a:{var v,s;for(r=n.window;;){if(n.lookahead<=R){if(p(n),n.lookahead<=R&&c===F){u=T;break a}if(0===n.lookahead)break}if(n.match_length=0,n.lookahead>=K&&0<n.strstart&&(s=n.strstart-1,v=r[s],v===r[++s]&&v===r[++s]&&v===r[++s])){f=n.strstart+R;do;while(v===r[++s]&&v===r[++s]&&v===r[++s]&&v===r[++s]&&v===r[++s]&&v===r[++s]&&v===r[++s]&&v===r[++s]&&s<f);n.match_length=R-(f-s);n.match_length>n.lookahead&&(n.match_length=n.lookahead)}if(n.match_length>=
K?(u=D._tr_tally(n,1,n.match_length-K),n.lookahead-=n.match_length,n.strstart+=n.match_length,n.match_length=0):(u=D._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++),u&&(k(n,!1),0===n.strm.avail_out)){u=T;break a}}u=(n.insert=0,c===G?(k(n,!0),0===n.strm.avail_out?ba:Y):n.last_lit&&(k(n,!1),0===n.strm.avail_out)?T:Z)}else u=y[n.level].func(n,c);if(u!==ba&&u!==Y||(n.status=666),u===T||u===ba)return 0===d.avail_out&&(n.last_flush=-1),H;if(u===Z&&(1===c?D._tr_align(n):5!==c&&(D._tr_stored_block(n,
0,0,!1),3===c&&(e(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),g(d),0===d.avail_out))return n.last_flush=-1,H}return c!==G?H:0>=n.wrap?1:(2===n.wrap?(l(n,255&d.adler),l(n,d.adler>>8&255),l(n,d.adler>>16&255),l(n,d.adler>>24&255),l(n,255&d.total_in),l(n,d.total_in>>8&255),l(n,d.total_in>>16&255),l(n,d.total_in>>24&255)):(m(n,d.adler>>>16),m(n,65535&d.adler)),g(d),0<n.wrap&&(n.wrap=-n.wrap),0!==n.pending?H:1)};d.deflateEnd=function(d){var e;return d&&d.state?(e=d.state.status,
e!==da&&69!==e&&73!==e&&91!==e&&103!==e&&e!==ca&&666!==e?a(d,I):(d.state=null,e===ca?a(d,-3):H)):I};d.deflateSetDictionary=function(a,d){var c,f,g,k,l,m,n;f=d.length;if(!a||!a.state||(c=a.state,k=c.wrap,2===k||1===k&&c.status!==da||c.lookahead))return I;1===k&&(a.adler=A(a.adler,d,f,0));c.wrap=0;f>=c.w_size&&(0===k&&(e(c.head),c.strstart=0,c.block_start=0,c.insert=0),l=new x.Buf8(c.w_size),x.arraySet(l,d,f-c.w_size,c.w_size,0),d=l,f=c.w_size);l=a.avail_in;m=a.next_in;n=a.input;a.avail_in=f;a.next_in=
0;a.input=d;for(p(c);c.lookahead>=K;){f=c.strstart;g=c.lookahead-(K-1);do c.ins_h=(c.ins_h<<c.hash_shift^c.window[f+K-1])&c.hash_mask,c.prev[f&c.w_mask]=c.head[c.ins_h],c.head[c.ins_h]=f,f++;while(--g);c.strstart=f;c.lookahead=K-1;p(c)}return c.strstart+=c.lookahead,c.block_start=c.strstart,c.insert=c.lookahead,c.lookahead=0,c.match_length=c.prev_length=K-1,c.match_available=0,a.next_in=m,a.input=n,a.avail_in=l,c.wrap=k,H};d.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":3,"./adler32":5,
"./crc32":7,"./messages":13,"./trees":14}],9:[function(c,f,d){f.exports=function(){this.os=this.xflags=this.time=this.text=0;this.extra=null;this.extra_len=0;this.comment=this.name="";this.hcrc=0;this.done=!1}},{}],10:[function(c,f,d){f.exports=function(a,d){var c,f,l,m,n,p,r,s,q,t,u,v,z,y,x,D,A,B,E,F,G,H,I,L;c=a.state;f=a.next_in;I=a.input;l=f+(a.avail_in-5);m=a.next_out;L=a.output;n=m-(d-a.avail_out);p=m+(a.avail_out-257);r=c.dmax;s=c.wsize;q=c.whave;t=c.wnext;u=c.window;v=c.hold;z=c.bits;y=c.lencode;
x=c.distcode;D=(1<<c.lenbits)-1;A=(1<<c.distbits)-1;a:do{15>z&&(v+=I[f++]<<z,z+=8,v+=I[f++]<<z,z+=8);B=y[v&D];b:for(;;){if(E=B>>>24,v>>>=E,z-=E,E=B>>>16&255,0===E)L[m++]=65535&B;else{if(!(16&E)){if(0===(64&E)){B=y[(65535&B)+(v&(1<<E)-1)];continue b}if(32&E){c.mode=12;break a}a.msg="invalid literal/length code";c.mode=30;break a}F=65535&B;(E&=15)&&(z<E&&(v+=I[f++]<<z,z+=8),F+=v&(1<<E)-1,v>>>=E,z-=E);15>z&&(v+=I[f++]<<z,z+=8,v+=I[f++]<<z,z+=8);B=x[v&A];c:for(;;){if(E=B>>>24,v>>>=E,z-=E,E=B>>>16&255,
!(16&E)){if(0===(64&E)){B=x[(65535&B)+(v&(1<<E)-1)];continue c}a.msg="invalid distance code";c.mode=30;break a}if(G=65535&B,E&=15,z<E&&(v+=I[f++]<<z,z+=8,z<E&&(v+=I[f++]<<z,z+=8)),G+=v&(1<<E)-1,G>r){a.msg="invalid distance too far back";c.mode=30;break a}if(v>>>=E,z-=E,E=m-n,G>E){if(E=G-E,E>q&&c.sane){a.msg="invalid distance too far back";c.mode=30;break a}if(B=0,H=u,0===t){if(B+=s-E,E<F){F-=E;do L[m++]=u[B++];while(--E);B=m-G;H=L}}else if(t<E){if(B+=s+t-E,E-=t,E<F){F-=E;do L[m++]=u[B++];while(--E);
if(B=0,t<F){E=t;F-=E;do L[m++]=u[B++];while(--E);B=m-G;H=L}}}else if(B+=t-E,E<F){F-=E;do L[m++]=u[B++];while(--E);B=m-G;H=L}for(;2<F;)L[m++]=H[B++],L[m++]=H[B++],L[m++]=H[B++],F-=3;F&&(L[m++]=H[B++],1<F&&(L[m++]=H[B++]))}else{B=m-G;do L[m++]=L[B++],L[m++]=L[B++],L[m++]=L[B++],F-=3;while(2<F);F&&(L[m++]=L[B++],1<F&&(L[m++]=L[B++]))}break}}break}}while(f<l&&m<p);F=z>>3;f-=F;z-=F<<3;a.next_in=f;a.next_out=m;a.avail_in=f<l?5+(l-f):5-(f-l);a.avail_out=m<p?257+(p-m):257-(m-p);c.hold=v&(1<<z)-1;c.bits=z}},
{}],11:[function(c,f,d){function a(a){return(a>>>24&255)+(a>>>8&65280)+((65280&a)<<8)+((255&a)<<24)}function e(){this.mode=0;this.last=!1;this.wrap=0;this.havedict=!1;this.total=this.check=this.dmax=this.flags=0;this.head=null;this.wnext=this.whave=this.wsize=this.wbits=0;this.window=null;this.extra=this.offset=this.length=this.bits=this.hold=0;this.distcode=this.lencode=null;this.have=this.ndist=this.nlen=this.ncode=this.distbits=this.lenbits=0;this.next=null;this.lens=new s.Buf16(320);this.work=
new s.Buf16(288);this.distdyn=this.lendyn=null;this.was=this.back=this.sane=0}function g(a){var d;return a&&a.state?(d=a.state,a.total_in=a.total_out=d.total=0,a.msg="",d.wrap&&(a.adler=1&d.wrap),d.mode=x,d.last=0,d.havedict=0,d.dmax=32768,d.head=null,d.hold=0,d.bits=0,d.lencode=d.lendyn=new s.Buf32(D),d.distcode=d.distdyn=new s.Buf32(A),d.sane=1,d.back=-1,z):y}function k(a){var d;return a&&a.state?(d=a.state,d.wsize=0,d.whave=0,d.wnext=0,g(a)):y}function l(a,d){var e,c;return a&&a.state?(c=a.state,
0>d?(e=0,d=-d):(e=(d>>4)+1,48>d&&(d&=15)),d&&(8>d||15<d)?y:(null!==c.window&&c.wbits!==d&&(c.window=null),c.wrap=e,c.wbits=d,k(a))):y}function m(a,d){var c,f;return a?(f=new e,a.state=f,f.window=null,c=l(a,d),c!==z&&(a.state=null),c):y}function n(a,d,e,c){var f;a=a.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new s.Buf8(a.wsize)),c>=a.wsize?(s.arraySet(a.window,d,e-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(f=a.wsize-a.wnext,f>c&&(f=c),s.arraySet(a.window,d,e-
c,f,a.wnext),c-=f,c?(s.arraySet(a.window,d,e-c,c,0),a.wnext=c,a.whave=a.wsize):(a.wnext+=f,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=f))),0}var p,r,s=c("../utils/common"),q=c("./adler32"),t=c("./crc32"),u=c("./inffast"),v=c("./inftrees"),z=0,y=-2,x=1,D=852,A=592,B=!0;d.inflateReset=k;d.inflateReset2=l;d.inflateResetKeep=g;d.inflateInit=function(a){return m(a,15)};d.inflateInit2=m;d.inflate=function(d,e){var c,f,g,k,l,m,D,A,C,N,P,M,V,J,K,R,X,da,ca,T,Z,ba,Y=0,U=new s.Buf8(4),ia=[16,
17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!d||!d.state||!d.output||!d.input&&0!==d.avail_in)return y;c=d.state;12===c.mode&&(c.mode=13);l=d.next_out;g=d.output;D=d.avail_out;k=d.next_in;f=d.input;m=d.avail_in;A=c.hold;C=c.bits;N=m;P=D;Z=z;a:for(;;)switch(c.mode){case x:if(0===c.wrap){c.mode=13;break}for(;16>C;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}if(2&c.wrap&&35615===A){c.check=0;U[0]=255&A;U[1]=A>>>8&255;c.check=t(c.check,U,2,0);C=A=0;c.mode=2;break}if(c.flags=0,c.head&&(c.head.done=!1),
!(1&c.wrap)||(((255&A)<<8)+(A>>8))%31){d.msg="incorrect header check";c.mode=30;break}if(8!==(15&A)){d.msg="unknown compression method";c.mode=30;break}if(A>>>=4,C-=4,T=(15&A)+8,0===c.wbits)c.wbits=T;else if(T>c.wbits){d.msg="invalid window size";c.mode=30;break}c.dmax=1<<T;d.adler=c.check=1;c.mode=512&A?10:12;C=A=0;break;case 2:for(;16>C;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}if(c.flags=A,8!==(255&c.flags)){d.msg="unknown compression method";c.mode=30;break}if(57344&c.flags){d.msg="unknown header flags set";
c.mode=30;break}c.head&&(c.head.text=A>>8&1);512&c.flags&&(U[0]=255&A,U[1]=A>>>8&255,c.check=t(c.check,U,2,0));C=A=0;c.mode=3;case 3:for(;32>C;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}c.head&&(c.head.time=A);512&c.flags&&(U[0]=255&A,U[1]=A>>>8&255,U[2]=A>>>16&255,U[3]=A>>>24&255,c.check=t(c.check,U,4,0));C=A=0;c.mode=4;case 4:for(;16>C;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}c.head&&(c.head.xflags=255&A,c.head.os=A>>8);512&c.flags&&(U[0]=255&A,U[1]=A>>>8&255,c.check=t(c.check,U,2,0));C=A=0;c.mode=
5;case 5:if(1024&c.flags){for(;16>C;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}c.length=A;c.head&&(c.head.extra_len=A);512&c.flags&&(U[0]=255&A,U[1]=A>>>8&255,c.check=t(c.check,U,2,0));C=A=0}else c.head&&(c.head.extra=null);c.mode=6;case 6:if(1024&c.flags&&(M=c.length,M>m&&(M=m),M&&(c.head&&(T=c.head.extra_len-c.length,c.head.extra||(c.head.extra=Array(c.head.extra_len)),s.arraySet(c.head.extra,f,k,M,T)),512&c.flags&&(c.check=t(c.check,f,M,k)),m-=M,k+=M,c.length-=M),c.length))break a;c.length=0;c.mode=
7;case 7:if(2048&c.flags){if(0===m)break a;M=0;do T=f[k+M++],c.head&&T&&65536>c.length&&(c.head.name+=String.fromCharCode(T));while(T&&M<m);if(512&c.flags&&(c.check=t(c.check,f,M,k)),m-=M,k+=M,T)break a}else c.head&&(c.head.name=null);c.length=0;c.mode=8;case 8:if(4096&c.flags){if(0===m)break a;M=0;do T=f[k+M++],c.head&&T&&65536>c.length&&(c.head.comment+=String.fromCharCode(T));while(T&&M<m);if(512&c.flags&&(c.check=t(c.check,f,M,k)),m-=M,k+=M,T)break a}else c.head&&(c.head.comment=null);c.mode=
9;case 9:if(512&c.flags){for(;16>C;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}if(A!==(65535&c.check)){d.msg="header crc mismatch";c.mode=30;break}C=A=0}c.head&&(c.head.hcrc=c.flags>>9&1,c.head.done=!0);d.adler=c.check=0;c.mode=12;break;case 10:for(;32>C;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}d.adler=c.check=a(A);C=A=0;c.mode=11;case 11:if(0===c.havedict)return d.next_out=l,d.avail_out=D,d.next_in=k,d.avail_in=m,c.hold=A,c.bits=C,2;d.adler=c.check=1;c.mode=12;case 12:if(5===e||6===e)break a;case 13:if(c.last){A>>>=
7&C;C-=7&C;c.mode=27;break}for(;3>C;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}switch(c.last=1&A,A>>>=1,C-=1,3&A){case 0:c.mode=14;break;case 1:J=c;if(B){p=new s.Buf32(512);r=new s.Buf32(32);for(R=0;144>R;)J.lens[R++]=8;for(;256>R;)J.lens[R++]=9;for(;280>R;)J.lens[R++]=7;for(;288>R;)J.lens[R++]=8;v(1,J.lens,0,288,p,0,J.work,{bits:9});for(R=0;32>R;)J.lens[R++]=5;v(2,J.lens,0,32,r,0,J.work,{bits:5});B=!1}J.lencode=p;J.lenbits=9;J.distcode=r;J.distbits=5;if(c.mode=20,6===e){A>>>=2;C-=2;break a}break;case 2:c.mode=
17;break;case 3:d.msg="invalid block type",c.mode=30}A>>>=2;C-=2;break;case 14:A>>>=7&C;for(C-=7&C;32>C;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}if((65535&A)!==(A>>>16^65535)){d.msg="invalid stored block lengths";c.mode=30;break}if(c.length=65535&A,A=0,C=0,c.mode=15,6===e)break a;case 15:c.mode=16;case 16:if(M=c.length){if(M>m&&(M=m),M>D&&(M=D),0===M)break a;s.arraySet(g,f,k,M,l);m-=M;k+=M;D-=M;l+=M;c.length-=M;break}c.mode=12;break;case 17:for(;14>C;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}if(c.nlen=
(31&A)+257,A>>>=5,C-=5,c.ndist=(31&A)+1,A>>>=5,C-=5,c.ncode=(15&A)+4,A>>>=4,C-=4,286<c.nlen||30<c.ndist){d.msg="too many length or distance symbols";c.mode=30;break}c.have=0;c.mode=18;case 18:for(;c.have<c.ncode;){for(;3>C;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}c.lens[ia[c.have++]]=7&A;A>>>=3;C-=3}for(;19>c.have;)c.lens[ia[c.have++]]=0;if(c.lencode=c.lendyn,c.lenbits=7,ba={bits:c.lenbits},Z=v(0,c.lens,0,19,c.lencode,0,c.work,ba),c.lenbits=ba.bits,Z){d.msg="invalid code lengths set";c.mode=30;break}c.have=
0;c.mode=19;case 19:for(;c.have<c.nlen+c.ndist;){for(;Y=c.lencode[A&(1<<c.lenbits)-1],K=Y>>>24,R=65535&Y,!(K<=C);){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}if(16>R)A>>>=K,C-=K,c.lens[c.have++]=R;else{if(16===R){for(J=K+2;C<J;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}if(A>>>=K,C-=K,0===c.have){d.msg="invalid bit length repeat";c.mode=30;break}T=c.lens[c.have-1];M=3+(3&A);A>>>=2;C-=2}else if(17===R){for(J=K+3;C<J;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}A>>>=K;C-=K;T=0;M=3+(7&A);A>>>=3;C-=3}else{for(J=
K+7;C<J;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}A>>>=K;C-=K;T=0;M=11+(127&A);A>>>=7;C-=7}if(c.have+M>c.nlen+c.ndist){d.msg="invalid bit length repeat";c.mode=30;break}for(;M--;)c.lens[c.have++]=T}}if(30===c.mode)break;if(0===c.lens[256]){d.msg="invalid code -- missing end-of-block";c.mode=30;break}if(c.lenbits=9,ba={bits:c.lenbits},Z=v(1,c.lens,0,c.nlen,c.lencode,0,c.work,ba),c.lenbits=ba.bits,Z){d.msg="invalid literal/lengths set";c.mode=30;break}if(c.distbits=6,c.distcode=c.distdyn,ba={bits:c.distbits},
Z=v(2,c.lens,c.nlen,c.ndist,c.distcode,0,c.work,ba),c.distbits=ba.bits,Z){d.msg="invalid distances set";c.mode=30;break}if(c.mode=20,6===e)break a;case 20:c.mode=21;case 21:if(6<=m&&258<=D){d.next_out=l;d.avail_out=D;d.next_in=k;d.avail_in=m;c.hold=A;c.bits=C;u(d,P);l=d.next_out;g=d.output;D=d.avail_out;k=d.next_in;f=d.input;m=d.avail_in;A=c.hold;C=c.bits;12===c.mode&&(c.back=-1);break}for(c.back=0;Y=c.lencode[A&(1<<c.lenbits)-1],K=Y>>>24,J=Y>>>16&255,R=65535&Y,!(K<=C);){if(0===m)break a;m--;A+=f[k++]<<
C;C+=8}if(J&&0===(240&J)){X=K;da=J;for(ca=R;Y=c.lencode[ca+((A&(1<<X+da)-1)>>X)],K=Y>>>24,J=Y>>>16&255,R=65535&Y,!(X+K<=C);){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}A>>>=X;C-=X;c.back+=X}if(A>>>=K,C-=K,c.back+=K,c.length=R,0===J){c.mode=26;break}if(32&J){c.back=-1;c.mode=12;break}if(64&J){d.msg="invalid literal/length code";c.mode=30;break}c.extra=15&J;c.mode=22;case 22:if(c.extra){for(J=c.extra;C<J;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}c.length+=A&(1<<c.extra)-1;A>>>=c.extra;C-=c.extra;c.back+=
c.extra}c.was=c.length;c.mode=23;case 23:for(;Y=c.distcode[A&(1<<c.distbits)-1],K=Y>>>24,J=Y>>>16&255,R=65535&Y,!(K<=C);){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}if(0===(240&J)){X=K;da=J;for(ca=R;Y=c.distcode[ca+((A&(1<<X+da)-1)>>X)],K=Y>>>24,J=Y>>>16&255,R=65535&Y,!(X+K<=C);){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}A>>>=X;C-=X;c.back+=X}if(A>>>=K,C-=K,c.back+=K,64&J){d.msg="invalid distance code";c.mode=30;break}c.offset=R;c.extra=15&J;c.mode=24;case 24:if(c.extra){for(J=c.extra;C<J;){if(0===m)break a;
m--;A+=f[k++]<<C;C+=8}c.offset+=A&(1<<c.extra)-1;A>>>=c.extra;C-=c.extra;c.back+=c.extra}if(c.offset>c.dmax){d.msg="invalid distance too far back";c.mode=30;break}c.mode=25;case 25:if(0===D)break a;if(M=P-D,c.offset>M){if(M=c.offset-M,M>c.whave&&c.sane){d.msg="invalid distance too far back";c.mode=30;break}M>c.wnext?(M-=c.wnext,V=c.wsize-M):V=c.wnext-M;M>c.length&&(M=c.length);J=c.window}else J=g,V=l-c.offset,M=c.length;M>D&&(M=D);D-=M;c.length-=M;do g[l++]=J[V++];while(--M);0===c.length&&(c.mode=
21);break;case 26:if(0===D)break a;g[l++]=c.length;D--;c.mode=21;break;case 27:if(c.wrap){for(;32>C;){if(0===m)break a;m--;A|=f[k++]<<C;C+=8}if(P-=D,d.total_out+=P,c.total+=P,P&&(d.adler=c.check=c.flags?t(c.check,g,P,l-P):q(c.check,g,P,l-P)),P=D,(c.flags?A:a(A))!==c.check){d.msg="incorrect data check";c.mode=30;break}C=A=0}c.mode=28;case 28:if(c.wrap&&c.flags){for(;32>C;){if(0===m)break a;m--;A+=f[k++]<<C;C+=8}if(A!==(4294967295&c.total)){d.msg="incorrect length check";c.mode=30;break}C=A=0}c.mode=
29;case 29:Z=1;break a;case 30:Z=-3;break a;case 31:return-4;default:return y}return d.next_out=l,d.avail_out=D,d.next_in=k,d.avail_in=m,c.hold=A,c.bits=C,(c.wsize||P!==d.avail_out&&30>c.mode&&(27>c.mode||4!==e))&&n(d,d.output,d.next_out,P-d.avail_out)?(c.mode=31,-4):(N-=d.avail_in,P-=d.avail_out,d.total_in+=N,d.total_out+=P,c.total+=P,c.wrap&&P&&(d.adler=c.check=c.flags?t(c.check,g,P,d.next_out-P):q(c.check,g,P,d.next_out-P)),d.data_type=c.bits+(c.last?64:0)+(12===c.mode?128:0)+(20===c.mode||15===
c.mode?256:0),(0===N&&0===P||4===e)&&Z===z&&(Z=-5),Z)};d.inflateEnd=function(a){if(!a||!a.state)return y;var d=a.state;return d.window&&(d.window=null),a.state=null,z};d.inflateGetHeader=function(a,d){var e;return a&&a.state?(e=a.state,0===(2&e.wrap)?y:(e.head=d,d.done=!1,z)):y};d.inflateSetDictionary=function(a,d){var e,c,f=d.length;return a&&a.state?(e=a.state,0!==e.wrap&&11!==e.mode?y:11===e.mode&&(c=1,c=q(c,d,f,0),c!==e.check)?-3:n(a,d,f,f)?(e.mode=31,-4):(e.havedict=1,z)):y};d.inflateInfo="pako inflate (from Nodeca project)"},
{"../utils/common":3,"./adler32":5,"./crc32":7,"./inffast":10,"./inftrees":12}],12:[function(c,f,d){var a=c("../utils/common"),e=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],g=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],k=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,
25,25,26,26,27,27,28,28,29,29,64,64];f.exports=function(d,c,f,r,s,q,t,u){var v,z,y,x,D,A,B,E;x=u.bits;for(var F=0,G=0,H=0,I=0,L=0,O=0,S=0,W=0,Q=0,C=null,N=0,P=new a.Buf16(16),O=new a.Buf16(16),M=null,V=0,F=0;15>=F;F++)P[F]=0;for(G=0;G<r;G++)P[c[f+G]]++;L=x;for(I=15;1<=I&&0===P[I];I--);if(L>I&&(L=I),0===I)return s[q++]=20971520,s[q++]=20971520,u.bits=1,0;for(H=1;H<I&&0===P[H];H++);L<H&&(L=H);for(F=v=1;15>=F;F++)if(v<<=1,v-=P[F],0>v)return-1;if(0<v&&(0===d||1!==I))return-1;O[1]=0;for(F=1;15>F;F++)O[F+
1]=O[F]+P[F];for(G=0;G<r;G++)0!==c[f+G]&&(t[O[c[f+G]]++]=G);if(0===d?(C=M=t,D=19):1===d?(C=e,N-=257,M=g,V-=257,D=256):(C=k,M=l,D=-1),Q=0,G=0,F=H,x=q,O=L,S=0,y=-1,W=1<<L,r=W-1,1===d&&852<W||2===d&&592<W)return 1;for(var J=0;;){J++;A=F-S;t[G]<D?(B=0,E=t[G]):t[G]>D?(B=M[V+t[G]],E=C[N+t[G]]):(B=96,E=0);v=1<<F-S;H=z=1<<O;do z-=v,s[x+(Q>>S)+z]=A<<24|B<<16|E|0;while(0!==z);for(v=1<<F-1;Q&v;)v>>=1;if(0!==v?(Q&=v-1,Q+=v):Q=0,G++,0===--P[F]){if(F===I)break;F=c[f+t[G]]}if(F>L&&(Q&r)!==y){0===S&&(S=L);x+=H;O=
F-S;for(v=1<<O;O+S<I&&(v-=P[O+S],!(0>=v));)O++,v<<=1;if(W+=1<<O,1===d&&852<W||2===d&&592<W)return 1;y=Q&r;s[y]=L<<24|O<<16|x-q|0}}return 0!==Q&&(s[x+Q]=F-S<<24|4194304),u.bits=L,0}},{"../utils/common":3}],13:[function(c,f,d){f.exports={2:"need dictionary",1:"stream end","0":"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],14:[function(c,f,d){function a(a){for(var d=a.length;0<=--d;)a[d]=0}function e(a,d,e,c,
f){this.static_tree=a;this.extra_bits=d;this.extra_base=e;this.elems=c;this.max_length=f;this.has_stree=a&&a.length}function g(a,d){this.dyn_tree=a;this.max_code=0;this.stat_desc=d}function k(a,d){a.pending_buf[a.pending++]=255&d;a.pending_buf[a.pending++]=d>>>8&255}function l(a,d,e){a.bi_valid>W-e?(a.bi_buf|=d<<a.bi_valid&65535,k(a,a.bi_buf),a.bi_buf=d>>W-a.bi_valid,a.bi_valid+=e-W):(a.bi_buf|=d<<a.bi_valid&65535,a.bi_valid+=e)}function m(a,d,e){l(a,e[2*d],e[2*d+1])}function n(a,d){var e=0;do e|=
1&a,a>>>=1,e<<=1;while(0<--d);return e>>>1}function p(a,d,e){var c,f=Array(S+1),g=0;for(c=1;c<=S;c++)f[c]=g=g+e[c-1]<<1;for(e=0;e<=d;e++)c=a[2*e+1],0!==c&&(a[2*e]=n(f[c]++,c))}function r(a){var d;for(d=0;d<H;d++)a.dyn_ltree[2*d]=0;for(d=0;d<I;d++)a.dyn_dtree[2*d]=0;for(d=0;d<L;d++)a.bl_tree[2*d]=0;a.dyn_ltree[2*Q]=1;a.opt_len=a.static_len=0;a.last_lit=a.matches=0}function s(a){8<a.bi_valid?k(a,a.bi_buf):0<a.bi_valid&&(a.pending_buf[a.pending++]=a.bi_buf);a.bi_buf=0;a.bi_valid=0}function q(a,d,e,c){var f=
2*d,g=2*e;return a[f]<a[g]||a[f]===a[g]&&c[d]<=c[e]}function t(a,d,e){for(var c=a.heap[e],f=e<<1;f<=a.heap_len&&(f<a.heap_len&&q(d,a.heap[f+1],a.heap[f],a.depth)&&f++,!q(d,c,a.heap[f],a.depth));)a.heap[e]=a.heap[f],e=f,f<<=1;a.heap[e]=c}function u(a,d,e){var c,f,g,k,n=0;if(0!==a.last_lit){do c=a.pending_buf[a.d_buf+2*n]<<8|a.pending_buf[a.d_buf+2*n+1],f=a.pending_buf[a.l_buf+n],n++,0===c?m(a,f,d):(g=ca[f],m(a,g+G+1,d),k=M[g],0!==k&&(f-=T[g],l(a,f,k)),c--,g=256>c?da[c]:da[256+(c>>>7)],m(a,g,e),k=V[g],
0!==k&&(c-=Z[g],l(a,c,k)));while(n<a.last_lit)}m(a,Q,d)}function v(a,d){var e,c,f,g=d.dyn_tree;c=d.stat_desc.static_tree;var k=d.stat_desc.has_stree,l=d.stat_desc.elems,m=-1;a.heap_len=0;a.heap_max=O;for(e=0;e<l;e++)0!==g[2*e]?(a.heap[++a.heap_len]=m=e,a.depth[e]=0):g[2*e+1]=0;for(;2>a.heap_len;)f=a.heap[++a.heap_len]=2>m?++m:0,g[2*f]=1,a.depth[f]=0,a.opt_len--,k&&(a.static_len-=c[2*f+1]);d.max_code=m;for(e=a.heap_len>>1;1<=e;e--)t(a,g,e);f=l;do e=a.heap[1],a.heap[1]=a.heap[a.heap_len--],t(a,g,1),
c=a.heap[1],a.heap[--a.heap_max]=e,a.heap[--a.heap_max]=c,g[2*f]=g[2*e]+g[2*c],a.depth[f]=(a.depth[e]>=a.depth[c]?a.depth[e]:a.depth[c])+1,g[2*e+1]=g[2*c+1]=f,a.heap[1]=f++,t(a,g,1);while(2<=a.heap_len);a.heap[--a.heap_max]=a.heap[1];var n,q,k=d.dyn_tree,l=d.max_code,u=d.stat_desc.static_tree,r=d.stat_desc.has_stree,v=d.stat_desc.extra_bits,s=d.stat_desc.extra_base,x=d.stat_desc.max_length,y=0;for(c=0;c<=S;c++)a.bl_count[c]=0;k[2*a.heap[a.heap_max]+1]=0;for(e=a.heap_max+1;e<O;e++)f=a.heap[e],c=k[2*
k[2*f+1]+1]+1,c>x&&(c=x,y++),k[2*f+1]=c,f>l||(a.bl_count[c]++,n=0,f>=s&&(n=v[f-s]),q=k[2*f],a.opt_len+=q*(c+n),r&&(a.static_len+=q*(u[2*f+1]+n)));if(0!==y){do{for(c=x-1;0===a.bl_count[c];)c--;a.bl_count[c]--;a.bl_count[c+1]+=2;a.bl_count[x]--;y-=2}while(0<y);for(c=x;0!==c;c--)for(f=a.bl_count[c];0!==f;)n=a.heap[--e],n>l||(k[2*n+1]!==c&&(a.opt_len+=(c-k[2*n+1])*k[2*n],k[2*n+1]=c),f--)}p(g,m,a.bl_count)}function z(a,d,e){var c,f,g=-1,k=d[1],l=0,m=7,n=4;0===k&&(m=138,n=3);d[2*(e+1)+1]=65535;for(c=0;c<=
e;c++)f=k,k=d[2*(c+1)+1],++l<m&&f===k||(l<n?a.bl_tree[2*f]+=l:0!==f?(f!==g&&a.bl_tree[2*f]++,a.bl_tree[2*C]++):10>=l?a.bl_tree[2*N]++:a.bl_tree[2*P]++,l=0,g=f,0===k?(m=138,n=3):f===k?(m=6,n=3):(m=7,n=4))}function y(a,d,e){var c,f,g=-1,k=d[1],n=0,q=7,p=4;0===k&&(q=138,p=3);for(c=0;c<=e;c++)if(f=k,k=d[2*(c+1)+1],!(++n<q&&f===k)){if(n<p){do m(a,f,a.bl_tree);while(0!==--n)}else 0!==f?(f!==g&&(m(a,f,a.bl_tree),n--),m(a,C,a.bl_tree),l(a,n-3,2)):10>=n?(m(a,N,a.bl_tree),l(a,n-3,3)):(m(a,P,a.bl_tree),l(a,
n-11,7));n=0;g=f;0===k?(q=138,p=3):f===k?(q=6,p=3):(q=7,p=4)}}function x(a){var d,e=4093624447;for(d=0;31>=d;d++,e>>>=1)if(1&e&&0!==a.dyn_ltree[2*d])return B;if(0!==a.dyn_ltree[18]||0!==a.dyn_ltree[20]||0!==a.dyn_ltree[26])return E;for(d=32;d<G;d++)if(0!==a.dyn_ltree[2*d])return E;return B}function D(a,d,e,c){l(a,(F<<1)+(c?1:0),3);s(a);k(a,e);k(a,~e);A.arraySet(a.pending_buf,a.window,d,e,a.pending);a.pending+=e}var A=c("../utils/common"),B=0,E=1,F=0,G=256,H=G+1+29,I=30,L=19,O=2*H+1,S=15,W=16,Q=256,
C=16,N=17,P=18,M=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],V=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],J=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],K=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],R=Array(2*(H+2));a(R);var X=Array(2*I);a(X);var da=Array(512);a(da);var ca=Array(256);a(ca);var T=Array(29);a(T);var Z=Array(I);a(Z);var ba,Y,U,ia=!1;d._tr_init=function(a){if(!ia){var d,c,f,k=Array(S+1);for(f=c=0;28>f;f++){T[f]=c;for(d=0;d<1<<M[f];d++)ca[c++]=
f}ca[c-1]=f;for(f=c=0;16>f;f++){Z[f]=c;for(d=0;d<1<<V[f];d++)da[c++]=f}for(c>>=7;f<I;f++){Z[f]=c<<7;for(d=0;d<1<<V[f]-7;d++)da[256+c++]=f}for(d=0;d<=S;d++)k[d]=0;for(d=0;143>=d;)R[2*d+1]=8,d++,k[8]++;for(;255>=d;)R[2*d+1]=9,d++,k[9]++;for(;279>=d;)R[2*d+1]=7,d++,k[7]++;for(;287>=d;)R[2*d+1]=8,d++,k[8]++;p(R,H+1,k);for(d=0;d<I;d++)X[2*d+1]=5,X[2*d]=n(d,5);ba=new e(R,M,G+1,H,S);Y=new e(X,V,0,I,S);U=new e([],J,0,L,7);ia=!0}a.l_desc=new g(a.dyn_ltree,ba);a.d_desc=new g(a.dyn_dtree,Y);a.bl_desc=new g(a.bl_tree,
U);a.bi_buf=0;a.bi_valid=0;r(a)};d._tr_stored_block=D;d._tr_flush_block=function(a,d,e,c){var f,g,k=0;if(0<a.level){2===a.strm.data_type&&(a.strm.data_type=x(a));v(a,a.l_desc);v(a,a.d_desc);z(a,a.dyn_ltree,a.l_desc.max_code);z(a,a.dyn_dtree,a.d_desc.max_code);v(a,a.bl_desc);for(k=L-1;3<=k&&0===a.bl_tree[2*K[k]+1];k--);k=(a.opt_len+=3*(k+1)+14,k);f=a.opt_len+3+7>>>3;g=a.static_len+3+7>>>3;g<=f&&(f=g)}else f=g=e+5;if(e+4<=f&&-1!==d)D(a,d,e,c);else if(4===a.strategy||g===f)l(a,2+(c?1:0),3),u(a,R,X);
else{l(a,4+(c?1:0),3);d=a.l_desc.max_code+1;e=a.d_desc.max_code+1;k+=1;l(a,d-257,5);l(a,e-1,5);l(a,k-4,4);for(f=0;f<k;f++)l(a,a.bl_tree[2*K[f]+1],3);y(a,a.dyn_ltree,d-1);y(a,a.dyn_dtree,e-1);u(a,a.dyn_ltree,a.dyn_dtree)}r(a);c&&s(a)};d._tr_tally=function(a,d,e){return a.pending_buf[a.d_buf+2*a.last_lit]=d>>>8&255,a.pending_buf[a.d_buf+2*a.last_lit+1]=255&d,a.pending_buf[a.l_buf+a.last_lit]=255&e,a.last_lit++,0===d?a.dyn_ltree[2*e]++:(a.matches++,d--,a.dyn_ltree[2*(ca[e]+G+1)]++,a.dyn_dtree[2*(256>
d?da[d]:da[256+(d>>>7)])]++),a.last_lit===a.lit_bufsize-1};d._tr_align=function(a){l(a,2,3);m(a,Q,R);16===a.bi_valid?(k(a,a.bi_buf),a.bi_buf=0,a.bi_valid=0):8<=a.bi_valid&&(a.pending_buf[a.pending++]=255&a.bi_buf,a.bi_buf>>=8,a.bi_valid-=8)}},{"../utils/common":3}],15:[function(c,f,d){f.exports=function(){this.input=null;this.total_in=this.avail_in=this.next_in=0;this.output=null;this.total_out=this.avail_out=this.next_out=0;this.msg="";this.state=null;this.data_type=2;this.adler=0}},{}],"/":[function(c,
f,d){d=c("./lib/utils/common").assign;var a=c("./lib/deflate"),e=c("./lib/inflate");c=c("./lib/zlib/constants");var g={};d(g,a,e,c);f.exports=g},{"./lib/deflate":1,"./lib/inflate":2,"./lib/utils/common":3,"./lib/zlib/constants":6}]},{},[])("/")});
var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d",encode:function(b,c){var f="",d,a,e,g,k,l,m=0;for(null!=c&&c||(b=Base64._utf8_encode(b));m<b.length;)d=b.charCodeAt(m++),a=b.charCodeAt(m++),e=b.charCodeAt(m++),g=d>>2,d=(d&3)<<4|a>>4,k=(a&15)<<2|e>>6,l=e&63,isNaN(a)?k=l=64:isNaN(e)&&(l=64),f=f+this._keyStr.charAt(g)+this._keyStr.charAt(d)+this._keyStr.charAt(k)+this._keyStr.charAt(l);return f},decode:function(b,c){c=null!=c?c:!1;var f="",d,a,e,g,k,l=0;for(b=
b.replace(/[^A-Za-z0-9\+\/\=]/g,"");l<b.length;)d=this._keyStr.indexOf(b.charAt(l++)),a=this._keyStr.indexOf(b.charAt(l++)),g=this._keyStr.indexOf(b.charAt(l++)),k=this._keyStr.indexOf(b.charAt(l++)),d=d<<2|a>>4,a=(a&15)<<4|g>>2,e=(g&3)<<6|k,f+=String.fromCharCode(d),64!=g&&(f+=String.fromCharCode(a)),64!=k&&(f+=String.fromCharCode(e));c||(f=Base64._utf8_decode(f));return f},_utf8_encode:function(b){b=b.replace(/\r\n/g,"\n");for(var c="",f=0;f<b.length;f++){var d=b.charCodeAt(f);128>d?c+=String.fromCharCode(d):
(127<d&&2048>d?c+=String.fromCharCode(d>>6|192):(c+=String.fromCharCode(d>>12|224),c+=String.fromCharCode(d>>6&63|128)),c+=String.fromCharCode(d&63|128))}return c},_utf8_decode:function(b){for(var c="",f=0,d=c1=c2=0;f<b.length;)d=b.charCodeAt(f),128>d?(c+=String.fromCharCode(d),f++):191<d&&224>d?(c2=b.charCodeAt(f+1),c+=String.fromCharCode((d&31)<<6|c2&63),f+=2):(c2=b.charCodeAt(f+1),c3=b.charCodeAt(f+2),c+=String.fromCharCode((d&15)<<12|(c2&63)<<6|c3&63),f+=3);return c}},JSON;JSON||(JSON={});
(function(){function b(a){return 10>a?"0"+a:a}function c(b){a.lastIndex=0;return a.test(b)?'"'+b.replace(a,function(a){var b=k[a];return"string"===typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+b+'"'}function f(a,b){var d,k,s,q,t=e,u,v=b[a];v&&"object"===typeof v&&"function"===typeof v.toJSON&&(v=v.toJSON(a));"function"===typeof l&&(v=l.call(b,a,v));switch(typeof v){case "string":return c(v);case "number":return isFinite(v)?""+v:"null";case "boolean":case "null":return""+
v;case "object":if(!v)return"null";e+=g;u=[];if("[object Array]"===Object.prototype.toString.apply(v)){q=v.length;for(d=0;d<q;d+=1)u[d]=f(d,v)||"null";s=0===u.length?"[]":e?"[\n"+e+u.join(",\n"+e)+"\n"+t+"]":"["+u.join(",")+"]";e=t;return s}if(l&&"object"===typeof l){q=l.length;for(d=0;d<q;d+=1)"string"===typeof l[d]&&(k=l[d],(s=f(k,v))&&u.push(c(k)+(e?": ":":")+s))}else for(k in v)Object.prototype.hasOwnProperty.call(v,k)&&(s=f(k,v))&&u.push(c(k)+(e?": ":":")+s);s=0===u.length?"{}":e?"{\n"+e+u.join(",\n"+
e)+"\n"+t+"}":"{"+u.join(",")+"}";e=t;return s}}"function"!==typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+b(this.getUTCMonth()+1)+"-"+b(this.getUTCDate())+"T"+b(this.getUTCHours())+":"+b(this.getUTCMinutes())+":"+b(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var d=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
a=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,g,k={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},l;"function"!==typeof JSON.stringify&&(JSON.stringify=function(a,b,d){var c;g=e="";if("number"===typeof d)for(c=0;c<d;c+=1)g+=" ";else"string"===typeof d&&(g=d);if((l=b)&&"function"!==typeof b&&("object"!==typeof b||"number"!==typeof b.length))throw Error("JSON.stringify");return f("",{"":a})});
"function"!==typeof JSON.parse&&(JSON.parse=function(a,b){function e(a,d){var c,f,g=a[d];if(g&&"object"===typeof g)for(c in g)Object.prototype.hasOwnProperty.call(g,c)&&(f=e(g,c),void 0!==f?g[c]=f:delete g[c]);return b.call(a,d,g)}var c;a=""+a;d.lastIndex=0;d.test(a)&&(a=a.replace(d,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return c=eval("("+a+")"),"function"===typeof b?e({"":c},""):c;throw new SyntaxError("JSON.parse");})})();window.urlParams=window.urlParams||{};window.isLocalStorage=window.isLocalStorage||!1;window.EXPORT_URL=window.EXPORT_URL||"https://exp.draw.io/ImageExport4/export";window.SAVE_URL=window.SAVE_URL||"save";window.OPEN_URL=window.OPEN_URL||"open";window.PROXY_URL=window.PROXY_URL||"proxy";window.SHAPES_PATH=window.SHAPES_PATH||"shapes";
window.GRAPH_IMAGE_PATH=window.GRAPH_IMAGE_PATH||"img";window.ICONFINDER_PATH=window.ICONFINDER_PATH||0<=navigator.userAgent.indexOf("MSIE")?"iconfinder":"https://www.draw.io/iconfinder";window.TEMPLATE_PATH=window.TEMPLATE_PATH||"/templates";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||RESOURCES_PATH+"/dia";window.mxLoadResources=window.mxLoadResources||!1;
window.mxLanguage=window.mxLanguage||function(){var b="1"==urlParams.offline?"en":urlParams.lang;if(null==b&&"undefined"!=typeof JSON&&isLocalStorage)try{var c=localStorage.getItem(".drawio-config");null!=c&&(b=JSON.parse(c).language||null)}catch(f){isLocalStorage=!1}return b}();
window.mxLanguageMap=window.mxLanguageMap||{i18n:"",id:"Bahasa Indonesia",ms:"Bahasa Melayu",bs:"Bosanski",ca:"Catal\u00e0",cs:"\u010ce\u0161tina",da:"Dansk",de:"Deutsch",et:"Eesti",en:"English",es:"Espa\u00f1ol",fil:"Filipino",fr:"Fran\u00e7ais",it:"Italiano",hu:"Magyar",nl:"Nederlands",no:"Norsk",pl:"Polski","pt-br":"Portugu\u00eas (Brasil)",pt:"Portugu\u00eas (Portugal)",ro:"Rom\u00e2n\u0103",fi:"Suomi",sv:"Svenska",vi:"Ti\u1ebfng Vi\u1ec7t",tr:"T\u00fcrk\u00e7e",el:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac",
ru:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",sr:"\u0421\u0440\u043f\u0441\u043a\u0438",uk:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430",he:"\u05e2\u05d1\u05e8\u05d9\u05ea",ar:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",th:"\u0e44\u0e17\u0e22",ko:"\ud55c\uad6d\uc5b4",ja:"\u65e5\u672c\u8a9e",zh:"\u4e2d\u6587\uff08\u4e2d\u56fd\uff09","zh-tw":"\u4e2d\u6587\uff08\u53f0\u7063\uff09"};"undefined"===typeof window.mxBasePath&&(window.mxBasePath="mxgraph");
if(null==window.mxLanguages){window.mxLanguages=[];for(var lang in mxLanguageMap)"en"!=lang&&window.mxLanguages.push(lang)}window.uiTheme=window.uiTheme||function(){var b=urlParams.ui;if(null==b&&"undefined"!==typeof JSON&&isLocalStorage)try{var c=localStorage.getItem(".drawio-config");null!=c&&(b=JSON.parse(c).ui||null)}catch(f){isLocalStorage=!1}return b}();function setCurrentXml(b,c){null!=window.parent&&null!=window.parent.openFile&&window.parent.openFile.setData(b,c)}
(function(){if("undefined"!==typeof JSON&&isLocalStorage)try{var b=localStorage.getItem(".drawio-config"),c=!0;null!=b&&(c=JSON.parse(b).showStartScreen);!1==c&&(urlParams.splash="0")}catch(f){}})();var ex=urlParams["export"];null!=ex&&("http://"!=ex.substring(0,7)&&"https://"!=ex.substring(0,8)&&(ex="http://"+ex),EXPORT_URL=ex);
if("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==urlParams.local)urlParams.analytics="0",urlParams.picker="0",urlParams.gapi="0",urlParams.db="0",urlParams.od="0";if("1"==urlParams.offline||"1"==urlParams.local)urlParams.math="0";window.urlParams=window.urlParams||{};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||1E8;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";
window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"../../../src";window.mxLanguage=window.mxLanguage||urlParams.lang;
window.mxLanguages=window.mxLanguages||["de"];
var mxClient={VERSION:"3.6.0.1",IS_IE:0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:!!navigator.userAgent.match(/Edge\//),IS_QUIRKS:0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documentMode),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&
0>navigator.userAgent.indexOf("Edge/"),IS_OP:0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/"),IS_OT:0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:0<=navigator.userAgent.indexOf("AppleWebKit/")&&
0>navigator.userAgent.indexOf("Chrome/")&&0>navigator.userAgent.indexOf("Edge/"),IS_IOS:navigator.userAgent.match(/(iPad|iPhone|iPod)/g)?!0:!1,IS_GC:0<=navigator.userAgent.indexOf("Chrome/")&&0>navigator.userAgent.indexOf("Edge/"),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:0<=navigator.userAgent.indexOf("Firefox/"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&
0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:0<=navigator.userAgent.indexOf("Firefox/")||0<=navigator.userAgent.indexOf("Iceweasel/")||0<=navigator.userAgent.indexOf("Seamonkey/")||0<=navigator.userAgent.indexOf("Iceape/")||0<=navigator.userAgent.indexOf("Galeon/")||
0<=navigator.userAgent.indexOf("Epiphany/")||0<=navigator.userAgent.indexOf("AppleWebKit/")||0<=navigator.userAgent.indexOf("Gecko/")||0<=navigator.userAgent.indexOf("Opera/")||null!=document.documentMode&&9<=document.documentMode,NO_FO:!document.createElementNS||"[object SVGForeignObjectElement]"!=document.createElementNS("http://www.w3.org/2000/svg","foreignObject")||0<=navigator.userAgent.indexOf("Opera/"),IS_VML:"MICROSOFT INTERNET EXPLORER"==navigator.appName.toUpperCase(),IS_WIN:0<navigator.appVersion.indexOf("Win"),
IS_MAC:0<navigator.appVersion.indexOf("Mac"),IS_TOUCH:"ontouchstart"in document.documentElement,IS_POINTER:null!=window.PointerEvent,IS_LOCAL:0>document.location.href.indexOf("http://")&&0>document.location.href.indexOf("https://"),isBrowserSupported:function(){return mxClient.IS_VML||mxClient.IS_SVG},link:function(b,c,f){f=f||document;if(mxClient.IS_IE6)f.write('\x3clink rel\x3d"'+b+'" href\x3d"'+c+'" charset\x3d"ISO-8859-1" type\x3d"text/css"/\x3e');else{var d=f.createElement("link");d.setAttribute("rel",
b);d.setAttribute("href",c);d.setAttribute("charset","ISO-8859-1");d.setAttribute("type","text/css");f.getElementsByTagName("head")[0].appendChild(d)}},include:function(b){document.write('\x3cscript src\x3d"'+b+'"\x3e\x3c/script\x3e')},dispose:function(){for(var b=0;b<mxEvent.objects.length;b++)null!=mxEvent.objects[b].mxListenerList&&mxEvent.removeAllListeners(mxEvent.objects[b])}};"undefined"==typeof mxLoadResources&&(mxLoadResources=!0);
"undefined"==typeof mxResourceExtension&&(mxResourceExtension=".txt");"undefined"==typeof mxLoadStylesheets&&(mxLoadStylesheets=!0);"undefined"!=typeof mxBasePath&&0<mxBasePath.length?("/"==mxBasePath.substring(mxBasePath.length-1)&&(mxBasePath=mxBasePath.substring(0,mxBasePath.length-1)),mxClient.basePath=mxBasePath):mxClient.basePath=".";
"undefined"!=typeof mxImageBasePath&&0<mxImageBasePath.length?("/"==mxImageBasePath.substring(mxImageBasePath.length-1)&&(mxImageBasePath=mxImageBasePath.substring(0,mxImageBasePath.length-1)),mxClient.imageBasePath=mxImageBasePath):mxClient.imageBasePath=mxClient.basePath+"/images";mxClient.language="undefined"!=typeof mxLanguage&&null!=mxLanguage?mxLanguage:mxClient.IS_IE?navigator.userLanguage:navigator.language;
mxClient.defaultLanguage="undefined"!=typeof mxDefaultLanguage&&null!=mxDefaultLanguage?mxDefaultLanguage:"en";mxLoadStylesheets&&mxClient.link("stylesheet",mxClient.basePath+"/css/common.css");"undefined"!=typeof mxLanguages&&null!=mxLanguages&&(mxClient.languages=mxLanguages);
mxClient.IS_VML&&(mxClient.IS_SVG?mxClient.IS_VML=!1:(8==document.documentMode?(document.namespaces.add(mxClient.VML_PREFIX,"urn:schemas-microsoft-com:vml","#default#VML"),document.namespaces.add(mxClient.OFFICE_PREFIX,"urn:schemas-microsoft-com:office:office","#default#VML")):(document.namespaces.add(mxClient.VML_PREFIX,"urn:schemas-microsoft-com:vml"),document.namespaces.add(mxClient.OFFICE_PREFIX,"urn:schemas-microsoft-com:office:office")),mxClient.IS_QUIRKS&&30<=document.styleSheets.length?function(){var b=
document.createElement("style");b.type="text/css";b.styleSheet.cssText=mxClient.VML_PREFIX+"\\:*{behavior:url(#default#VML)}"+mxClient.OFFICE_PREFIX+"\\:*{behavior:url(#default#VML)}";document.getElementsByTagName("head")[0].appendChild(b)}():document.createStyleSheet().cssText=mxClient.VML_PREFIX+"\\:*{behavior:url(#default#VML)}"+mxClient.OFFICE_PREFIX+"\\:*{behavior:url(#default#VML)}",mxLoadStylesheets&&mxClient.link("stylesheet",mxClient.basePath+"/css/explorer.css"),window.attachEvent("onunload",
mxClient.dispose)));
var mxLog={consoleName:"Console",TRACE:!1,DEBUG:!0,WARN:!0,buffer:"",init:function(){if(null==mxLog.window&&null!=document.body){var b=mxLog.consoleName+" - mxGraph "+mxClient.VERSION,c=document.createElement("table");c.setAttribute("width","100%");c.setAttribute("height","100%");var f=document.createElement("tbody"),d=document.createElement("tr"),a=document.createElement("td");a.style.verticalAlign="top";mxLog.textarea=document.createElement("textarea");mxLog.textarea.setAttribute("readOnly","true");
mxLog.textarea.style.height="100%";mxLog.textarea.style.resize="none";mxLog.textarea.value=mxLog.buffer;mxLog.textarea.style.width=mxClient.IS_NS&&"BackCompat"!=document.compatMode?"99%":"100%";a.appendChild(mxLog.textarea);d.appendChild(a);f.appendChild(d);d=document.createElement("tr");mxLog.td=document.createElement("td");mxLog.td.style.verticalAlign="top";mxLog.td.setAttribute("height","30px");d.appendChild(mxLog.td);f.appendChild(d);c.appendChild(f);mxLog.addButton("Info",function(a){mxLog.info()});
mxLog.addButton("DOM",function(a){a=mxUtils.getInnerHtml(document.body);mxLog.debug(a)});mxLog.addButton("Trace",function(a){mxLog.TRACE=!mxLog.TRACE;mxLog.TRACE?mxLog.debug("Tracing enabled"):mxLog.debug("Tracing disabled")});mxLog.addButton("Copy",function(a){try{mxUtils.copy(mxLog.textarea.value)}catch(b){mxUtils.alert(b)}});mxLog.addButton("Show",function(a){try{mxUtils.popup(mxLog.textarea.value)}catch(b){mxUtils.alert(b)}});mxLog.addButton("Clear",function(a){mxLog.textarea.value=""});d=f=0;
"number"===typeof window.innerWidth?(f=window.innerHeight,d=window.innerWidth):(f=document.documentElement.clientHeight||document.body.clientHeight,d=document.body.clientWidth);mxLog.window=new mxWindow(b,c,Math.max(0,d-320),Math.max(0,f-210),300,160);mxLog.window.setMaximizable(!0);mxLog.window.setScrollable(!1);mxLog.window.setResizable(!0);mxLog.window.setClosable(!0);mxLog.window.destroyOnClose=!1;if((mxClient.IS_NS||mxClient.IS_IE)&&!mxClient.IS_GC&&!mxClient.IS_SF&&"BackCompat"!=document.compatMode||
11==document.documentMode){var e=mxLog.window.getElement(),b=function(a,b){mxLog.textarea.style.height=Math.max(0,e.offsetHeight-70)+"px"};mxLog.window.addListener(mxEvent.RESIZE_END,b);mxLog.window.addListener(mxEvent.MAXIMIZE,b);mxLog.window.addListener(mxEvent.NORMALIZE,b);mxLog.textarea.style.height="92px"}}},info:function(){mxLog.writeln(mxUtils.toString(navigator))},addButton:function(b,c){var f=document.createElement("button");mxUtils.write(f,b);mxEvent.addListener(f,"click",c);mxLog.td.appendChild(f)},
isVisible:function(){return null!=mxLog.window?mxLog.window.isVisible():!1},show:function(){mxLog.setVisible(!0)},setVisible:function(b){null==mxLog.window&&mxLog.init();null!=mxLog.window&&mxLog.window.setVisible(b)},enter:function(b){if(mxLog.TRACE)return mxLog.writeln("Entering "+b),(new Date).getTime()},leave:function(b,c){if(mxLog.TRACE){var f=0!=c?" ("+((new Date).getTime()-c)+" ms)":"";mxLog.writeln("Leaving "+b+f)}},debug:function(){mxLog.DEBUG&&mxLog.writeln.apply(this,arguments)},warn:function(){mxLog.WARN&&
mxLog.writeln.apply(this,arguments)},write:function(){for(var b="",c=0;c<arguments.length;c++)b+=arguments[c],c<arguments.length-1&&(b+=" ");null!=mxLog.textarea?(mxLog.textarea.value+=b,0<=navigator.userAgent.indexOf("Presto/2.5")&&(mxLog.textarea.style.visibility="hidden",mxLog.textarea.style.visibility="visible"),mxLog.textarea.scrollTop=mxLog.textarea.scrollHeight):mxLog.buffer+=b},writeln:function(){for(var b="",c=0;c<arguments.length;c++)b+=arguments[c],c<arguments.length-1&&(b+=" ");mxLog.write(b+
"\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(b){if(null!=b){if(null==b[mxObjectIdentity.FIELD_NAME])if("object"===typeof b){var c=mxUtils.getFunctionName(b.constructor);b[mxObjectIdentity.FIELD_NAME]=c+"#"+mxObjectIdentity.counter++}else"function"===typeof b&&(b[mxObjectIdentity.FIELD_NAME]="Function#"+mxObjectIdentity.counter++);return b[mxObjectIdentity.FIELD_NAME]}return null},clear:function(b){("object"===typeof b||"function"===typeof b)&&delete b[mxObjectIdentity.FIELD_NAME]}};
function mxDictionary(){this.clear()}mxDictionary.prototype.map=null;mxDictionary.prototype.clear=function(){this.map={}};mxDictionary.prototype.get=function(b){b=mxObjectIdentity.get(b);return this.map[b]};mxDictionary.prototype.put=function(b,c){var f=mxObjectIdentity.get(b),d=this.map[f];this.map[f]=c;return d};mxDictionary.prototype.remove=function(b){b=mxObjectIdentity.get(b);var c=this.map[b];delete this.map[b];return c};
mxDictionary.prototype.getKeys=function(){var b=[],c;for(c in this.map)b.push(c);return b};mxDictionary.prototype.getValues=function(){var b=[],c;for(c in this.map)b.push(this.map[c]);return b};mxDictionary.prototype.visit=function(b){for(var c in this.map)b(c,this.map[c])};
var mxResources={resources:[],extension:mxResourceExtension,resourcesEncoded:!1,loadDefaultBundle:!0,loadSpecialBundle:!0,isLanguageSupported:function(b){return null!=mxClient.languages?0<=mxUtils.indexOf(mxClient.languages,b):!0},getDefaultBundle:function(b,c){return mxResources.loadDefaultBundle||!mxResources.isLanguageSupported(c)?b+mxResources.extension:null},getSpecialBundle:function(b,c){if(null==mxClient.languages||!this.isLanguageSupported(c)){var f=c.indexOf("-");0<f&&(c=c.substring(0,f))}return mxResources.loadSpecialBundle&&
mxResources.isLanguageSupported(c)&&c!=mxClient.defaultLanguage?b+"_"+c+mxResources.extension:null},add:function(b,c,f){c=null!=c?c:null!=mxClient.language?mxClient.language.toLowerCase():mxConstants.NONE;if(c!=mxConstants.NONE){var d=mxResources.getDefaultBundle(b,c),a=mxResources.getSpecialBundle(b,c),e=function(){if(null!=a)if(f)mxUtils.get(a,function(a){mxResources.parse(a.getText());f()},function(){f()});else try{var b=mxUtils.load(a);b.isReady()&&mxResources.parse(b.getText())}catch(d){}else null!=
f&&f()};if(null!=d)if(f)mxUtils.get(d,function(a){mxResources.parse(a.getText());e()},function(){e()});else try{var g=mxUtils.load(d);g.isReady()&&mxResources.parse(g.getText());e()}catch(k){}else e()}},parse:function(b){if(null!=b){b=b.split("\n");for(var c=0;c<b.length;c++)if("#"!=b[c].charAt(0)){var f=b[c].indexOf("\x3d");if(0<f){var d=b[c].substring(0,f),a=b[c].length;13==b[c].charCodeAt(a-1)&&a--;f=b[c].substring(f+1,a);this.resourcesEncoded?(f=f.replace(/\\(?=u[a-fA-F\d]{4})/g,"%"),mxResources.resources[d]=
unescape(f)):mxResources.resources[d]=f}}}},get:function(b,c,f){b=mxResources.resources[b];null==b&&(b=f);null!=b&&null!=c&&(b=mxResources.replacePlaceholders(b,c));return b},replacePlaceholders:function(b,c){for(var f=[],d=null,a=0;a<b.length;a++){var e=b.charAt(a);"{"==e?d="":null!=d&&"}"==e?(d=parseInt(d)-1,0<=d&&d<c.length&&f.push(c[d]),d=null):null!=d?d+=e:f.push(e)}return f.join("")},loadResources:function(b){mxResources.add(mxClient.basePath+"/resources/editor",null,function(){mxResources.add(mxClient.basePath+
"/resources/graph",null,b)})}};function mxPoint(b,c){this.x=null!=b?b:0;this.y=null!=c?c:0}mxPoint.prototype.x=null;mxPoint.prototype.y=null;mxPoint.prototype.equals=function(b){return null!=b&&b.x==this.x&&b.y==this.y};mxPoint.prototype.clone=function(){return mxUtils.clone(this)};function mxRectangle(b,c,f,d){mxPoint.call(this,b,c);this.width=null!=f?f:0;this.height=null!=d?d:0}mxRectangle.prototype=new mxPoint;mxRectangle.prototype.constructor=mxRectangle;mxRectangle.prototype.width=null;
mxRectangle.prototype.height=null;mxRectangle.prototype.setRect=function(b,c,f,d){this.x=b;this.y=c;this.width=f;this.height=d};mxRectangle.prototype.getCenterX=function(){return this.x+this.width/2};mxRectangle.prototype.getCenterY=function(){return this.y+this.height/2};
mxRectangle.prototype.add=function(b){if(null!=b){var c=Math.min(this.x,b.x),f=Math.min(this.y,b.y),d=Math.max(this.x+this.width,b.x+b.width);b=Math.max(this.y+this.height,b.y+b.height);this.x=c;this.y=f;this.width=d-c;this.height=b-f}};mxRectangle.prototype.intersect=function(b){if(null!=b){var c=this.x+this.width,f=b.x+b.width,d=this.y+this.height,a=b.y+b.height;this.x=Math.max(this.x,b.x);this.y=Math.max(this.y,b.y);this.width=Math.min(c,f)-this.x;this.height=Math.min(d,a)-this.y}};
mxRectangle.prototype.grow=function(b){this.x-=b;this.y-=b;this.width+=2*b;this.height+=2*b};mxRectangle.prototype.getPoint=function(){return new mxPoint(this.x,this.y)};mxRectangle.prototype.rotate90=function(){var b=(this.width-this.height)/2;this.x+=b;this.y-=b;b=this.width;this.width=this.height;this.height=b};mxRectangle.prototype.equals=function(b){return null!=b&&b.x==this.x&&b.y==this.y&&b.width==this.width&&b.height==this.height};
mxRectangle.fromRectangle=function(b){return new mxRectangle(b.x,b.y,b.width,b.height)};
var mxEffects={animateChanges:function(b,c,f){var d=0,a=function(){for(var g=!1,k=0;k<c.length;k++){var l=c[k];if(l instanceof mxGeometryChange||l instanceof mxTerminalChange||l instanceof mxValueChange||l instanceof mxChildChange||l instanceof mxStyleChange){var m=b.getView().getState(l.cell||l.child,!1);if(null!=m)if(g=!0,l.constructor!=mxGeometryChange||b.model.isEdge(l.cell))mxUtils.setOpacity(m.shape.node,100*d/10);else{var n=b.getView().scale,p=(l.geometry.x-l.previous.x)*n,r=(l.geometry.y-
l.previous.y)*n,s=(l.geometry.width-l.previous.width)*n,n=(l.geometry.height-l.previous.height)*n;0==d?(m.x-=p,m.y-=r,m.width-=s,m.height-=n):(m.x+=p/10,m.y+=r/10,m.width+=s/10,m.height+=n/10);b.cellRenderer.redraw(m);mxEffects.cascadeOpacity(b,l.cell,100*d/10)}}}10>d&&g?(d++,window.setTimeout(a,e)):null!=f&&f()},e=30;a()},cascadeOpacity:function(b,c,f){for(var d=b.model.getChildCount(c),a=0;a<d;a++){var e=b.model.getChildAt(c,a),g=b.getView().getState(e);null!=g&&(mxUtils.setOpacity(g.shape.node,
f),mxEffects.cascadeOpacity(b,e,f))}c=b.model.getEdges(c);if(null!=c)for(a=0;a<c.length;a++)d=b.getView().getState(c[a]),null!=d&&mxUtils.setOpacity(d.shape.node,f)},fadeOut:function(b,c,f,d,a,e){d=d||40;a=a||30;var g=c||100;mxUtils.setOpacity(b,g);if(e||null==e){var k=function(){g=Math.max(g-d,0);mxUtils.setOpacity(b,g);0<g?window.setTimeout(k,a):(b.style.visibility="hidden",f&&b.parentNode&&b.parentNode.removeChild(b))};window.setTimeout(k,a)}else b.style.visibility="hidden",f&&b.parentNode&&b.parentNode.removeChild(b)}},
mxUtils={errorResource:"none"!=mxClient.language?"error":"",closeResource:"none"!=mxClient.language?"close":"",errorImage:mxClient.imageBasePath+"/error.gif",removeCursors:function(b){null!=b.style&&(b.style.cursor="");b=b.childNodes;if(null!=b)for(var c=b.length,f=0;f<c;f+=1)mxUtils.removeCursors(b[f])},getCurrentStyle:function(){return mxClient.IS_IE?function(b){return null!=b?b.currentStyle:null}:function(b){return null!=b?window.getComputedStyle(b,""):null}}(),parseCssNumber:function(b){"thin"==
b?b="2":"medium"==b?b="4":"thick"==b&&(b="6");b=parseFloat(b);isNaN(b)&&(b=0);return b},setPrefixedStyle:function(){var b=null;mxClient.IS_OT?b="O":mxClient.IS_SF||mxClient.IS_GC?b="Webkit":mxClient.IS_MT?b="Moz":mxClient.IS_IE&&9<=document.documentMode&&10>document.documentMode&&(b="ms");return function(c,f,d){c[f]=d;null!=b&&0<f.length&&(f=b+f.substring(0,1).toUpperCase()+f.substring(1),c[f]=d)}}(),hasScrollbars:function(b){b=mxUtils.getCurrentStyle(b);return null!=b&&("scroll"==b.overflow||"auto"==
b.overflow)},bind:function(b,c){return function(){return c.apply(b,arguments)}},eval:function(b){var c=null;if(0<=b.indexOf("function"))try{eval("var _mxJavaScriptExpression\x3d"+b),c=_mxJavaScriptExpression,_mxJavaScriptExpression=null}catch(f){mxLog.warn(f.message+" while evaluating "+b)}else try{c=eval(b)}catch(d){mxLog.warn(d.message+" while evaluating "+b)}return c},findNode:function(b,c,f){if(b.nodeType==mxConstants.NODETYPE_ELEMENT){var d=b.getAttribute(c);if(null!=d&&d==f)return b}for(b=b.firstChild;null!=
b;){d=mxUtils.findNode(b,c,f);if(null!=d)return d;b=b.nextSibling}return null},getFunctionName:function(b){var c=null;null!=b&&(null!=b.name?c=b.name:(c=mxUtils.trim(b.toString()),/^function\s/.test(c)&&(c=mxUtils.ltrim(c.substring(9)),b=c.indexOf("("),0<b&&(c=c.substring(0,b)))));return c},indexOf:function(b,c){if(null!=b&&null!=c)for(var f=0;f<b.length;f++)if(b[f]==c)return f;return-1},forEach:function(b,c){if(null!=b&&null!=c)for(var f=0;f<b.length;f++)c(b[f]);return b},remove:function(b,c){var f=
null;if("object"==typeof c)for(var d=mxUtils.indexOf(c,b);0<=d;)c.splice(d,1),f=b,d=mxUtils.indexOf(c,b);for(var a in c)c[a]==b&&(delete c[a],f=b);return f},isNode:function(b,c,f,d){return null!=b&&!isNaN(b.nodeType)&&(null==c||b.nodeName.toLowerCase()==c.toLowerCase())?null==f||b.getAttribute(f)==d:!1},isAncestorNode:function(b,c){for(var f=c;null!=f;){if(f==b)return!0;f=f.parentNode}return!1},getChildNodes:function(b,c){c=c||mxConstants.NODETYPE_ELEMENT;for(var f=[],d=b.firstChild;null!=d;)d.nodeType==
c&&f.push(d),d=d.nextSibling;return f},importNode:function(b,c,f){if(mxClient.IS_IE&&(null==document.documentMode||10>document.documentMode))switch(c.nodeType){case 1:var d=b.createElement(c.nodeName);if(c.attributes&&0<c.attributes.length){for(var a=0;a<c.attributes.length;a++)d.setAttribute(c.attributes[a].nodeName,c.getAttribute(c.attributes[a].nodeName));if(f&&c.childNodes&&0<c.childNodes.length)for(a=0;a<c.childNodes.length;a++)d.appendChild(mxUtils.importNode(b,c.childNodes[a],f))}return d;
case 3:case 4:case 8:return b.createTextNode(c.value)}else return b.importNode(c,f)},createXmlDocument:function(){var b=null;document.implementation&&document.implementation.createDocument?b=document.implementation.createDocument("","",null):window.ActiveXObject&&(b=new ActiveXObject("Microsoft.XMLDOM"));return b},parseXml:function(){return window.DOMParser?function(b){return(new DOMParser).parseFromString(b,"text/xml")}:function(b){var c=mxUtils.createXmlDocument();c.async=!1;c.validateOnParse=!1;
c.resolveExternals=!1;c.loadXML(b);return c}}(),clearSelection:function(){return document.selection?function(){document.selection.empty()}:window.getSelection?function(){window.getSelection().removeAllRanges()}:function(){}}(),getPrettyXml:function(b,c,f){var d=[];if(null!=b)if(c=c||" ",f=f||"",b.nodeType==mxConstants.NODETYPE_TEXT)d.push(b.value);else{d.push(f+"\x3c"+b.nodeName);var a=b.attributes;if(null!=a)for(var e=0;e<a.length;e++){var g=mxUtils.htmlEntities(a[e].value);d.push(" "+a[e].nodeName+
'\x3d"'+g+'"')}a=b.firstChild;if(null!=a){for(d.push("\x3e\n");null!=a;)d.push(mxUtils.getPrettyXml(a,c,f+c)),a=a.nextSibling;d.push(f+"\x3c/"+b.nodeName+"\x3e\n")}else d.push("/\x3e\n")}return d.join("")},removeWhitespace:function(b,c){for(var f=c?b.previousSibling:b.nextSibling;null!=f&&f.nodeType==mxConstants.NODETYPE_TEXT;){var d=c?f.previousSibling:f.nextSibling,a=mxUtils.getTextContent(f);0==mxUtils.trim(a).length&&f.parentNode.removeChild(f);f=d}},htmlEntities:function(b,c){b=(b||"").replace(/&/g,
"\x26amp;");b=b.replace(/"/g,"\x26quot;");b=b.replace(/\'/g,"\x26#39;");b=b.replace(/</g,"\x26lt;");b=b.replace(/>/g,"\x26gt;");if(null==c||c)b=b.replace(/\n/g,"\x26#xa;");return b},isVml:function(b){return null!=b&&"urn:schemas-microsoft-com:vml"==b.tagUrn},getXml:function(b,c){var f="";null!=window.XMLSerializer?f=(new XMLSerializer).serializeToString(b):null!=b.xml&&(f=b.xml.replace(/\r\n\t[\t]*/g,"").replace(/>\r\n/g,"\x3e").replace(/\r\n/g,"\n"));return f.replace(/\n/g,c||"\x26#xa;")},extractTextWithWhitespace:function(b){for(var c=
!1,f=[],d=0;b[d];d++){var a=b[d];if(3===a.nodeType||4===a.nodeType){if(11==document.documentMode&&d==b.length-1&&0==a.nodeValue.length)break;f.push(a.nodeValue+(null==a.nextSibling||3!=a.nextSibling.nodeType?"\n":""));c=!0}else 8!==a.nodeType&&((mxClient.IS_IE||mxClient.IS_IE11)&&"P"==a.nodeName&&0==a.innerHTML.length||!c&&"BR"==a.nodeName||"DIV"==a.nodeName&&"\x3cbr\x3e"==a.innerHTML?f.push("\n"):f.push(mxUtils.extractTextWithWhitespace(a.childNodes)),c=!1)}return f.join("")},replaceTrailingNewlines:function(b,
c){for(var f="";0<b.length&&"\n"==b.charAt(b.length-1);)b=b.substring(0,b.length-1),f+=c;return b+f},getTextContent:function(b){return void 0!==b.innerText?b.innerText:null!=b?b[void 0===b.textContent?"text":"textContent"]:""},setTextContent:function(b,c){void 0!==b.innerText?b.innerText=c:b[void 0===b.textContent?"text":"textContent"]=c},getInnerHtml:function(){return mxClient.IS_IE?function(b){return null!=b?b.innerHTML:""}:function(b){return null!=b?(new XMLSerializer).serializeToString(b):""}}(),
getOuterHtml:function(){return mxClient.IS_IE?function(b){if(null!=b){if(null!=b.outerHTML)return b.outerHTML;var c=[];c.push("\x3c"+b.nodeName);var f=b.attributes;if(null!=f)for(var d=0;d<f.length;d++){var a=f[d].value;null!=a&&0<a.length&&(c.push(" "),c.push(f[d].nodeName),c.push('\x3d"'),c.push(a),c.push('"'))}0==b.innerHTML.length?c.push("/\x3e"):(c.push("\x3e"),c.push(b.innerHTML),c.push("\x3c/"+b.nodeName+"\x3e"));return c.join("")}return""}:function(b){return null!=b?(new XMLSerializer).serializeToString(b):
""}}(),write:function(b,c){var f=b.ownerDocument.createTextNode(c);null!=b&&b.appendChild(f);return f},writeln:function(b,c){var f=b.ownerDocument.createTextNode(c);null!=b&&(b.appendChild(f),b.appendChild(document.createElement("br")));return f},br:function(b,c){c=c||1;for(var f=null,d=0;d<c;d++)null!=b&&(f=b.ownerDocument.createElement("br"),b.appendChild(f));return f},button:function(b,c,f){f=null!=f?f:document;f=f.createElement("button");mxUtils.write(f,b);mxEvent.addListener(f,"click",function(b){c(b)});
return f},para:function(b,c){var f=document.createElement("p");mxUtils.write(f,c);null!=b&&b.appendChild(f);return f},addTransparentBackgroundFilter:function(b){b.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src\x3d'"+mxClient.imageBasePath+"/transparent.gif', sizingMethod\x3d'scale')"},linkAction:function(b,c,f,d,a){return mxUtils.link(b,c,function(){f.execute(d)},a)},linkInvoke:function(b,c,f,d,a,e){return mxUtils.link(b,c,function(){f[d](a)},e)},link:function(b,c,f,d){var a=
document.createElement("span");a.style.color="blue";a.style.textDecoration="underline";a.style.cursor="pointer";null!=d&&(a.style.paddingLeft=d+"px");mxEvent.addListener(a,"click",f);mxUtils.write(a,c);null!=b&&b.appendChild(a);return a},fit:function(b){var c=parseInt(b.offsetLeft),f=parseInt(b.offsetWidth),d=mxUtils.getDocumentScrollOrigin(b.ownerDocument),a=d.x,d=d.y,e=document.body,g=document.documentElement,k=a+(e.clientWidth||g.clientWidth);c+f>k&&(b.style.left=Math.max(a,k-f)+"px");c=parseInt(b.offsetTop);
f=parseInt(b.offsetHeight);e=d+Math.max(e.clientHeight||0,g.clientHeight);c+f>e&&(b.style.top=Math.max(d,e-f)+"px")},load:function(b){b=new mxXmlRequest(b,null,"GET",!1);b.send();return b},get:function(b,c,f,d,a,e){b=new mxXmlRequest(b,null,"GET");null!=d&&b.setBinary(d);b.send(c,f,a,e);return b},getAll:function(b,c,f){for(var d=b.length,a=[],e=0,g=function(){0==e&&null!=f&&f();e++},k=0;k<b.length;k++)(function(b,e){mxUtils.get(b,function(b){var f=b.getStatus();200>f||299<f?g():(a[e]=b,d--,0==d&&
c(a))},g)})(b[k],k);0==d&&c(a)},post:function(b,c,f,d){return(new mxXmlRequest(b,c)).send(f,d)},submit:function(b,c,f,d){return(new mxXmlRequest(b,c)).simulate(f,d)},loadInto:function(b,c,f){mxClient.IS_IE?c.onreadystatechange=function(){4==c.readyState&&f()}:c.addEventListener("load",f,!1);c.load(b)},getValue:function(b,c,f){b=null!=b?b[c]:null;null==b&&(b=f);return b},getNumber:function(b,c,f){b=null!=b?b[c]:null;null==b&&(b=f||0);return Number(b)},getColor:function(b,c,f){b=null!=b?b[c]:null;null==
b?b=f:b==mxConstants.NONE&&(b=null);return b},clone:function(b,c,f){f=null!=f?f:!1;var d=null;if(null!=b&&"function"==typeof b.constructor){var d=new b.constructor,a;for(a in b)if(a!=mxObjectIdentity.FIELD_NAME&&(null==c||0>mxUtils.indexOf(c,a)))d[a]=!f&&"object"==typeof b[a]?mxUtils.clone(b[a]):b[a]}return d},equalPoints:function(b,c){if(null==b&&null!=c||null!=b&&null==c||null!=b&&null!=c&&b.length!=c.length)return!1;if(null!=b&&null!=c)for(var f=0;f<b.length;f++)if(b[f]==c[f]||null!=b[f]&&!b[f].equals(c[f]))return!1;
return!0},equalEntries:function(b,c){if(null==b&&null!=c||null!=b&&null==c||null!=b&&null!=c&&b.length!=c.length)return!1;if(null!=b&&null!=c){var f=0,d;for(d in c)f++;for(d in b)if(f--,(!mxUtils.isNaN(b[d])||!mxUtils.isNaN(c[d]))&&b[d]!=c[d])return!1}return 0==f},removeDuplicates:function(b){for(var c=new mxDictionary,f=[],d=0;d<b.length;d++)c.get(b[d])||(f.push(b[d]),c.put(b[d],!0));return f},isNaN:function(b){return"number"==typeof b&&isNaN(b)},extend:function(b,c){var f=function(){};f.prototype=
c.prototype;b.prototype=new f;b.prototype.constructor=b},toString:function(b){var c="",f;for(f in b)try{if(null==b[f])c+=f+" \x3d [null]\n";else if("function"==typeof b[f])c+=f+" \x3d\x3e [Function]\n";else if("object"==typeof b[f])var d=mxUtils.getFunctionName(b[f].constructor),c=c+(f+" \x3d\x3e ["+d+"]\n");else c+=f+" \x3d "+b[f]+"\n"}catch(a){c+=f+"\x3d"+a.message}return c},toRadians:function(b){return Math.PI*b/180},toDegree:function(b){return 180*b/Math.PI},arcToCurves:function(b,c,f,d,a,e,g,
k,l){k-=b;l-=c;if(0===f||0===d)return r;f=Math.abs(f);d=Math.abs(d);var m=-k/2,n=-l/2,p=Math.cos(a*Math.PI/180),r=Math.sin(a*Math.PI/180);a=p*m+r*n;var m=-1*r*m+p*n,n=a*a,s=m*m,q=f*f,t=d*d,u=n/q+s/t;1<u?(f*=Math.sqrt(u),d*=Math.sqrt(u),e=0):(u=1,e===g&&(u=-1),e=u*Math.sqrt((q*t-q*s-t*n)/(q*s+t*n)));n=e*f*m/d;s=-1*e*d*a/f;k=p*n-r*s+k/2;l=r*n+p*s+l/2;q=Math.atan2((m-s)/d,(a-n)/f)-Math.atan2(0,1);e=0<=q?q:2*Math.PI+q;q=Math.atan2((-m-s)/d,(-a-n)/f)-Math.atan2((m-s)/d,(a-n)/f);a=0<=q?q:2*Math.PI+q;0==
g&&0<a?a-=2*Math.PI:0!=g&&0>a&&(a+=2*Math.PI);g=2*a/Math.PI;g=Math.ceil(0>g?-1*g:g);a/=g;m=8/3*Math.sin(a/4)*Math.sin(a/4)/Math.sin(a/2);n=p*f;p*=d;f*=r;d*=r;for(var v=Math.cos(e),z=Math.sin(e),s=-m*(n*z+d*v),q=-m*(f*z-p*v),r=[],y=0;y<g;++y){e+=a;var v=Math.cos(e),z=Math.sin(e),t=n*v-d*z+k,u=f*v+p*z+l,x=-m*(n*z+d*v),v=-m*(f*z-p*v),z=6*y;r[z]=Number(s+b);r[z+1]=Number(q+c);r[z+2]=Number(t-x+b);r[z+3]=Number(u-v+c);r[z+4]=Number(t+b);r[z+5]=Number(u+c);s=t+x;q=u+v}return r},getBoundingBox:function(b,
c,f){var d=null;if(null!=b&&null!=c&&0!=c){c=mxUtils.toRadians(c);var d=Math.cos(c),a=Math.sin(c);f=null!=f?f:new mxPoint(b.x+b.width/2,b.y+b.height/2);var e=new mxPoint(b.x,b.y);c=new mxPoint(b.x+b.width,b.y);var g=new mxPoint(c.x,b.y+b.height);b=new mxPoint(b.x,g.y);e=mxUtils.getRotatedPoint(e,d,a,f);c=mxUtils.getRotatedPoint(c,d,a,f);g=mxUtils.getRotatedPoint(g,d,a,f);b=mxUtils.getRotatedPoint(b,d,a,f);d=new mxRectangle(e.x,e.y,0,0);d.add(new mxRectangle(c.x,c.y,0,0));d.add(new mxRectangle(g.x,
g.y,0,0));d.add(new mxRectangle(b.x,b.y,0,0))}return d},getRotatedPoint:function(b,c,f,d){d=null!=d?d:new mxPoint;var a=b.x-d.x;b=b.y-d.y;return new mxPoint(a*c-b*f+d.x,b*c+a*f+d.y)},getPortConstraints:function(b,c,f,d){c=mxUtils.getValue(b.style,mxConstants.STYLE_PORT_CONSTRAINT,null);if(null==c)return d;d=c.toString();c=mxConstants.DIRECTION_MASK_NONE;f=0;1==mxUtils.getValue(b.style,mxConstants.STYLE_PORT_CONSTRAINT_ROTATION,0)&&(f=mxUtils.getValue(b.style,mxConstants.STYLE_ROTATION,0));b=0;45<
f?(b=1,135<=f&&(b=2)):-45>f&&(b=3,-135>=f&&(b=2));if(0<=d.indexOf(mxConstants.DIRECTION_NORTH))switch(b){case 0:c|=mxConstants.DIRECTION_MASK_NORTH;break;case 1:c|=mxConstants.DIRECTION_MASK_EAST;break;case 2:c|=mxConstants.DIRECTION_MASK_SOUTH;break;case 3:c|=mxConstants.DIRECTION_MASK_WEST}if(0<=d.indexOf(mxConstants.DIRECTION_WEST))switch(b){case 0:c|=mxConstants.DIRECTION_MASK_WEST;break;case 1:c|=mxConstants.DIRECTION_MASK_NORTH;break;case 2:c|=mxConstants.DIRECTION_MASK_EAST;break;case 3:c|=
mxConstants.DIRECTION_MASK_SOUTH}if(0<=d.indexOf(mxConstants.DIRECTION_SOUTH))switch(b){case 0:c|=mxConstants.DIRECTION_MASK_SOUTH;break;case 1:c|=mxConstants.DIRECTION_MASK_WEST;break;case 2:c|=mxConstants.DIRECTION_MASK_NORTH;break;case 3:c|=mxConstants.DIRECTION_MASK_EAST}if(0<=d.indexOf(mxConstants.DIRECTION_EAST))switch(b){case 0:c|=mxConstants.DIRECTION_MASK_EAST;break;case 1:c|=mxConstants.DIRECTION_MASK_SOUTH;break;case 2:c|=mxConstants.DIRECTION_MASK_WEST;break;case 3:c|=mxConstants.DIRECTION_MASK_NORTH}return c},
reversePortConstraints:function(b){var c=0,c=(b&mxConstants.DIRECTION_MASK_WEST)<<3,c=c|(b&mxConstants.DIRECTION_MASK_NORTH)<<1,c=c|(b&mxConstants.DIRECTION_MASK_SOUTH)>>1;return c|(b&mxConstants.DIRECTION_MASK_EAST)>>3},findNearestSegment:function(b,c,f){var d=-1;if(0<b.absolutePoints.length)for(var a=b.absolutePoints[0],e=null,g=1;g<b.absolutePoints.length;g++){var k=b.absolutePoints[g],a=mxUtils.ptSegDistSq(a.x,a.y,k.x,k.y,c,f);if(null==e||a<e)e=a,d=g-1;a=k}return d},rectangleIntersectsSegment:function(b,
c,f){var d=b.y,a=b.x,e=d+b.height,g=a+b.width;b=c.x;var k=f.x;c.x>f.x&&(b=f.x,k=c.x);k>g&&(k=g);b<a&&(b=a);if(b>k)return!1;var a=c.y,g=f.y,l=f.x-c.x;1E-7<Math.abs(l)&&(f=(f.y-c.y)/l,c=c.y-f*c.x,a=f*b+c,g=f*k+c);a>g&&(c=g,g=a,a=c);g>e&&(g=e);a<d&&(a=d);return a>g?!1:!0},contains:function(b,c,f){return b.x<=c&&b.x+b.width>=c&&b.y<=f&&b.y+b.height>=f},intersects:function(b,c){var f=b.width,d=b.height,a=c.width,e=c.height;if(0>=a||0>=e||0>=f||0>=d)return!1;var g=b.x,k=b.y,l=c.x,m=c.y,a=a+l,e=e+m,f=f+
g,d=d+k;return(a<l||a>g)&&(e<m||e>k)&&(f<g||f>l)&&(d<k||d>m)},intersectsHotspot:function(b,c,f,d,a,e){d=null!=d?d:1;a=null!=a?a:0;e=null!=e?e:0;if(0<d){var g=b.getCenterX(),k=b.getCenterY(),l=b.width,m=b.height,n=mxUtils.getValue(b.style,mxConstants.STYLE_STARTSIZE)*b.view.scale;0<n&&(mxUtils.getValue(b.style,mxConstants.STYLE_HORIZONTAL,!0)?(k=b.y+n/2,m=n):(g=b.x+n/2,l=n));l=Math.max(a,l*d);m=Math.max(a,m*d);0<e&&(l=Math.min(l,e),m=Math.min(m,e));d=new mxRectangle(g-l/2,k-m/2,l,m);g=mxUtils.toRadians(mxUtils.getValue(b.style,
mxConstants.STYLE_ROTATION)||0);0!=g&&(a=Math.cos(-g),e=Math.sin(-g),g=new mxPoint(b.getCenterX(),b.getCenterY()),b=mxUtils.getRotatedPoint(new mxPoint(c,f),a,e,g),c=b.x,f=b.y);return mxUtils.contains(d,c,f)}return!0},getOffset:function(b,c){var f=0,d=0;if(null!=c&&c)var a=mxUtils.getDocumentScrollOrigin(b.ownerDocument),f=f+a.x,d=d+a.y;a=b.getBoundingClientRect();null!=a&&(f+=a.left,d+=a.top);return new mxPoint(f,d)},getDocumentScrollOrigin:function(b){if(mxClient.IS_QUIRKS)return new mxPoint(b.body.scrollLeft,
b.body.scrollTop);b=b.defaultView||b.parentWindow;return new mxPoint(null!=b&&void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=b&&void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop)},getScrollOrigin:function(b){for(var c=document.body,f=document.documentElement,d=mxUtils.getDocumentScrollOrigin(null!=b?b.ownerDocument:document);null!=b&&b!=c&&
b!=f;)!isNaN(b.scrollLeft)&&!isNaN(b.scrollTop)&&(d.x+=b.scrollLeft,d.y+=b.scrollTop),b=b.parentNode;return d},convertPoint:function(b,c,f){var d=mxUtils.getScrollOrigin(b);b=mxUtils.getOffset(b);b.x-=d.x;b.y-=d.y;return new mxPoint(c-b.x,f-b.y)},ltrim:function(b,c){return b.replace(RegExp("^["+(c||"\\s")+"]+","g"),"")},rtrim:function(b,c){return b.replace(RegExp("["+(c||"\\s")+"]+$","g"),"")},trim:function(b,c){return mxUtils.ltrim(mxUtils.rtrim(b,c),c)},isNumeric:function(b){return!isNaN(parseFloat(b))&&
isFinite(b)&&("string"!=typeof b||0>b.toLowerCase().indexOf("0x"))},isInteger:function(b){return String(parseInt(b))===String(b)},mod:function(b,c){return(b%c+c)%c},intersection:function(b,c,f,d,a,e,g,k){var l=(k-e)*(f-b)-(g-a)*(d-c);g=((g-a)*(c-e)-(k-e)*(b-a))/l;a=((f-b)*(c-e)-(d-c)*(b-a))/l;return 0<=g&&1>=g&&0<=a&&1>=a?new mxPoint(b+g*(f-b),c+g*(d-c)):null},ptSegDistSq:function(b,c,f,d,a,e){f-=b;d-=c;a-=b;e-=c;0>=a*f+e*d?f=0:(a=f-a,e=d-e,b=a*f+e*d,f=0>=b?0:b*b/(f*f+d*d));a=a*a+e*e-f;0>a&&(a=0);
return a},ptLineDist:function(b,c,f,d,a,e){return Math.abs((d-c)*a-(f-b)*e+f*c-d*b)/Math.sqrt((d-c)*(d-c)+(f-b)*(f-b))},relativeCcw:function(b,c,f,d,a,e){f-=b;d-=c;a-=b;e-=c;b=a*d-e*f;0==b&&(b=a*f+e*d,0<b&&(b=(a-f)*f+(e-d)*d,0>b&&(b=0)));return 0>b?-1:0<b?1:0},animateChanges:function(b,c){mxEffects.animateChanges.apply(this,arguments)},cascadeOpacity:function(b,c,f){mxEffects.cascadeOpacity.apply(this,arguments)},fadeOut:function(b,c,f,d,a,e){mxEffects.fadeOut.apply(this,arguments)},setOpacity:function(b,
c){mxUtils.isVml(b)?b.style.filter=100<=c?"":"alpha(opacity\x3d"+c/5+")":mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?b.style.filter=100<=c?"":"alpha(opacity\x3d"+c+")":b.style.opacity=c/100},createImage:function(b){var c=null;mxClient.IS_IE6&&"CSS1Compat"!=document.compatMode?(c=document.createElement(mxClient.VML_PREFIX+":image"),c.setAttribute("src",b),c.style.borderStyle="none"):(c=document.createElement("img"),c.setAttribute("src",b),c.setAttribute("border",
"0"));return c},sortCells:function(b,c){c=null!=c?c:!0;var f=new mxDictionary;b.sort(function(b,a){var e=f.get(b);null==e&&(e=mxCellPath.create(b).split(mxCellPath.PATH_SEPARATOR),f.put(b,e));var g=f.get(a);null==g&&(g=mxCellPath.create(a).split(mxCellPath.PATH_SEPARATOR),f.put(a,g));e=mxCellPath.compare(e,g);return 0==e?0:0<e==c?1:-1});return b},getStylename:function(b){return null!=b&&(b=b.split(";")[0],0>b.indexOf("\x3d"))?b:""},getStylenames:function(b){var c=[];if(null!=b){b=b.split(";");for(var f=
0;f<b.length;f++)0>b[f].indexOf("\x3d")&&c.push(b[f])}return c},indexOfStylename:function(b,c){if(null!=b&&null!=c)for(var f=b.split(";"),d=0,a=0;a<f.length;a++){if(f[a]==c)return d;d+=f[a].length+1}return-1},addStylename:function(b,c){0>mxUtils.indexOfStylename(b,c)&&(null==b?b="":0<b.length&&";"!=b.charAt(b.length-1)&&(b+=";"),b+=c);return b},removeStylename:function(b,c){var f=[];if(null!=b)for(var d=b.split(";"),a=0;a<d.length;a++)d[a]!=c&&f.push(d[a]);return f.join(";")},removeAllStylenames:function(b){var c=
[];if(null!=b){b=b.split(";");for(var f=0;f<b.length;f++)0<=b[f].indexOf("\x3d")&&c.push(b[f])}return c.join(";")},setCellStyles:function(b,c,f,d){if(null!=c&&0<c.length){b.beginUpdate();try{for(var a=0;a<c.length;a++)if(null!=c[a]){var e=mxUtils.setStyle(b.getStyle(c[a]),f,d);b.setStyle(c[a],e)}}finally{b.endUpdate()}}},setStyle:function(b,c,f){var d=null!=f&&("undefined"==typeof f.length||0<f.length);if(null==b||0==b.length)d&&(b=c+"\x3d"+f+";");else if(b.substring(0,c.length+1)==c+"\x3d"){var a=
b.indexOf(";");b=d?c+"\x3d"+f+(0>a?";":b.substring(a)):0>a||a==b.length-1?"":b.substring(a+1)}else{var e=b.indexOf(";"+c+"\x3d");0>e?d&&(d=";"==b.charAt(b.length-1)?"":";",b=b+d+c+"\x3d"+f+";"):(a=b.indexOf(";",e+1),b=d?b.substring(0,e+1)+c+"\x3d"+f+(0>a?";":b.substring(a)):b.substring(0,e)+(0>a?";":b.substring(a)))}return b},setCellStyleFlags:function(b,c,f,d,a){if(null!=c&&0<c.length){b.beginUpdate();try{for(var e=0;e<c.length;e++)if(null!=c[e]){var g=mxUtils.setStyleFlag(b.getStyle(c[e]),f,d,a);
b.setStyle(c[e],g)}}finally{b.endUpdate()}}},setStyleFlag:function(b,c,f,d){if(null==b||0==b.length)b=d||null==d?c+"\x3d"+f:c+"\x3d0";else{var a=b.indexOf(c+"\x3d");if(0>a)a=";"==b.charAt(b.length-1)?"":";",b=d||null==d?b+a+c+"\x3d"+f:b+a+c+"\x3d0";else{var e=b.indexOf(";",a),g="",g=0>e?b.substring(a+c.length+1):b.substring(a+c.length+1,e),g=null==d?parseInt(g)^f:d?parseInt(g)|f:parseInt(g)&~f;b=b.substring(0,a)+c+"\x3d"+g+(0<=e?b.substring(e):"")}}return b},getAlignmentAsPoint:function(b,c){var f=
0,d=0;b==mxConstants.ALIGN_CENTER?f=-0.5:b==mxConstants.ALIGN_RIGHT&&(f=-1);c==mxConstants.ALIGN_MIDDLE?d=-0.5:c==mxConstants.ALIGN_BOTTOM&&(d=-1);return new mxPoint(f,d)},getSizeForString:function(b,c,f,d){c=null!=c?c:mxConstants.DEFAULT_FONTSIZE;f=null!=f?f:mxConstants.DEFAULT_FONTFAMILY;var a=document.createElement("div");a.style.fontFamily=f;a.style.fontSize=Math.round(c)+"px";a.style.lineHeight=Math.round(c*mxConstants.LINE_HEIGHT)+"px";a.style.position="absolute";a.style.visibility="hidden";
a.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";a.style.zoom="1";null!=d?(a.style.width=d+"px",a.style.whiteSpace="normal"):a.style.whiteSpace="nowrap";a.innerHTML=b;document.body.appendChild(a);b=new mxRectangle(0,0,a.offsetWidth,a.offsetHeight);document.body.removeChild(a);return b},getViewXml:function(b,c,f,d,a){d=null!=d?d:0;a=null!=a?a:0;c=null!=c?c:1;null==f&&(f=[b.getModel().getRoot()]);var e=b.getView(),g=null,k=e.isEventsEnabled();e.setEventsEnabled(!1);var l=e.drawPane,m=e.overlayPane;
b.dialect==mxConstants.DIALECT_SVG?(e.drawPane=document.createElementNS(mxConstants.NS_SVG,"g"),e.canvas.appendChild(e.drawPane),e.overlayPane=document.createElementNS(mxConstants.NS_SVG,"g")):(e.drawPane=e.drawPane.cloneNode(!1),e.canvas.appendChild(e.drawPane),e.overlayPane=e.overlayPane.cloneNode(!1));e.canvas.appendChild(e.overlayPane);var n=e.getTranslate();e.translate=new mxPoint(d,a);c=new mxTemporaryCellStates(b.getView(),c,f);try{g=(new mxCodec).encode(b.getView())}finally{c.destroy(),e.translate=
n,e.canvas.removeChild(e.drawPane),e.canvas.removeChild(e.overlayPane),e.drawPane=l,e.overlayPane=m,e.setEventsEnabled(k)}return g},getScaleForPageCount:function(b,c,f,d){if(1>b)return 1;f=null!=f?f:mxConstants.PAGE_FORMAT_A4_PORTRAIT;d=null!=d?d:0;var a=f.width-2*d;f=f.height-2*d;d=c.getGraphBounds().clone();c=c.getView().getScale();d.width/=c;d.height/=c;c=d.width;f=c/d.height/(a/f);d=Math.sqrt(b);var e=Math.sqrt(f);f=d*e;d/=e;if(1>f&&d>b){var g=d/b;d=b;f/=g}1>d&&f>b&&(g=f/b,f=b,d/=g);g=Math.ceil(f)*
Math.ceil(d);for(e=0;g>b;){var g=Math.floor(f)/f,k=Math.floor(d)/d;1==g&&(g=Math.floor(f-1)/f);1==k&&(k=Math.floor(d-1)/d);g=g>k?g:k;f*=g;d*=g;g=Math.ceil(f)*Math.ceil(d);e++;if(10<e)break}return 0.99999*(a*f/c)},show:function(b,c,f,d,a,e){f=null!=f?f:0;d=null!=d?d:0;null==c?c=window.open().document:c.open();9==document.documentMode&&c.writeln('\x3c!--[if IE]\x3e\x3cmeta http-equiv\x3d"X-UA-Compatible" content\x3d"IE\x3d9"\x3e\x3c![endif]--\x3e');var g=b.getGraphBounds(),k=Math.ceil(f-g.x),l=Math.ceil(d-
g.y);null==a&&(a=Math.ceil(g.width+f)+Math.ceil(Math.ceil(g.x)-g.x));null==e&&(e=Math.ceil(g.height+d)+Math.ceil(Math.ceil(g.y)-g.y));if(mxClient.IS_IE||11==document.documentMode){d="\x3chtml\x3e\x3chead\x3e";g=document.getElementsByTagName("base");for(f=0;f<g.length;f++)d+=g[f].outerHTML;d+="\x3cstyle\x3e";for(f=0;f<document.styleSheets.length;f++)try{d+=document.styleSheets[f].cssText}catch(m){}d=d+'\x3c/style\x3e\x3c/head\x3e\x3cbody style\x3d"margin:0px;"\x3e'+('\x3cdiv style\x3d"position:absolute;overflow:hidden;width:'+
a+"px;height:"+e+'px;"\x3e\x3cdiv style\x3d"position:relative;left:'+k+"px;top:"+l+'px;"\x3e')+b.container.innerHTML;c.writeln(d+"\x3c/div\x3e\x3c/div\x3e\x3c/body\x3e\x3chtml\x3e");c.close()}else{c.writeln("\x3chtml\x3e\x3chead\x3e");g=document.getElementsByTagName("base");for(f=0;f<g.length;f++)c.writeln(mxUtils.getOuterHtml(g[f]));d=document.getElementsByTagName("link");for(f=0;f<d.length;f++)c.writeln(mxUtils.getOuterHtml(d[f]));d=document.getElementsByTagName("style");for(f=0;f<d.length;f++)c.writeln(mxUtils.getOuterHtml(d[f]));
c.writeln('\x3c/head\x3e\x3cbody style\x3d"margin:0px;"\x3e\x3c/body\x3e\x3c/html\x3e');c.close();f=c.createElement("div");f.position="absolute";f.overflow="hidden";f.style.width=a+"px";f.style.height=e+"px";a=c.createElement("div");a.style.position="absolute";a.style.left=k+"px";a.style.top=l+"px";e=b.container.firstChild;for(d=null;null!=e;)g=e.cloneNode(!0),e==b.view.drawPane.ownerSVGElement?(f.appendChild(g),d=g):a.appendChild(g),e=e.nextSibling;c.body.appendChild(f);null!=a.firstChild&&c.body.appendChild(a);
null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","translate("+k+","+l+")"))}mxUtils.removeCursors(c.body);return c},printScreen:function(b){var c=window.open();b.getGraphBounds();mxUtils.show(b,c.document);b=function(){c.focus();c.print();c.close()};mxClient.IS_GC?c.setTimeout(b,500):b()},popup:function(b,c){if(c){var f=document.createElement("div");f.style.overflow="scroll";f.style.width="636px";f.style.height="460px";var d=document.createElement("pre");d.innerHTML=
mxUtils.htmlEntities(b,!1).replace(/\n/g,"\x3cbr\x3e").replace(/ /g,"\x26nbsp;");f.appendChild(d);var d=document.body.clientWidth,a=Math.max(document.body.clientHeight||0,document.documentElement.clientHeight),f=new mxWindow("Popup Window",f,d/2-320,a/2-240,640,480,!1,!0);f.setClosable(!0);f.setVisible(!0)}else mxClient.IS_NS?(f=window.open(),f.document.writeln("\x3cpre\x3e"+mxUtils.htmlEntities(b)+"\x3c/pre"),f.document.close()):(f=window.open(),d=f.document.createElement("pre"),d.innerHTML=mxUtils.htmlEntities(b,
!1).replace(/\n/g,"\x3cbr\x3e").replace(/ /g,"\x26nbsp;"),f.document.body.appendChild(d))},alert:function(b){alert(b)},prompt:function(b,c){return prompt(b,null!=c?c:"")},confirm:function(b){return confirm(b)},error:function(b,c,f,d){var a=document.createElement("div");a.style.padding="20px";var e=document.createElement("img");e.setAttribute("src",d||mxUtils.errorImage);e.setAttribute("valign","bottom");e.style.verticalAlign="middle";a.appendChild(e);a.appendChild(document.createTextNode("\u00a0"));
a.appendChild(document.createTextNode("\u00a0"));a.appendChild(document.createTextNode("\u00a0"));mxUtils.write(a,b);b=document.body.clientWidth;d=document.body.clientHeight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResource)||mxUtils.errorResource,a,(b-c)/2,d/4,c,null,!1,!0);f&&(mxUtils.br(a),c=document.createElement("p"),f=document.createElement("button"),mxClient.IS_IE?f.style.cssText="float:right":f.setAttribute("style","float:right"),mxEvent.addListener(f,
"click",function(a){g.destroy()}),mxUtils.write(f,mxResources.get(mxUtils.closeResource)||mxUtils.closeResource),c.appendChild(f),a.appendChild(c),mxUtils.br(a),g.setClosable(!0));g.setVisible(!0);return g},makeDraggable:function(b,c,f,d,a,e,g,k,l,m){b=new mxDragSource(b,f);b.dragOffset=new mxPoint(null!=a?a:0,null!=e?e:mxConstants.TOOLTIP_VERTICAL_OFFSET);b.autoscroll=g;b.setGuidesEnabled(!1);null!=l&&(b.highlightDropTargets=l);null!=m&&(b.getDropTarget=m);b.getGraphForEvent=function(a){return"function"==
typeof c?c(a):c};null!=d&&(b.createDragElement=function(){return d.cloneNode(!0)},k&&(b.createPreviewElement=function(a){var b=d.cloneNode(!0),e=parseInt(b.style.width),c=parseInt(b.style.height);b.style.width=Math.round(e*a.view.scale)+"px";b.style.height=Math.round(c*a.view.scale)+"px";return b}));return b}},mxConstants={DEFAULT_HOTSPOT:0.3,MIN_HOTSPOT_SIZE:8,MAX_HOTSPOT_SIZE:0,RENDERING_HINT_EXACT:"exact",RENDERING_HINT_FASTER:"faster",RENDERING_HINT_FASTEST:"fastest",DIALECT_SVG:"svg",DIALECT_VML:"vml",
DIALECT_MIXEDHTML:"mixedHtml",DIALECT_PREFERHTML:"preferHtml",DIALECT_STRICTHTML:"strictHtml",NS_SVG:"http://www.w3.org/2000/svg",NS_XHTML:"http://www.w3.org/1999/xhtml",NS_XLINK:"http://www.w3.org/1999/xlink",SHADOWCOLOR:"gray",VML_SHADOWCOLOR:"gray",SHADOW_OFFSET_X:2,SHADOW_OFFSET_Y:3,SHADOW_OPACITY:1,NODETYPE_ELEMENT:1,NODETYPE_ATTRIBUTE:2,NODETYPE_TEXT:3,NODETYPE_CDATA:4,NODETYPE_ENTITY_REFERENCE:5,NODETYPE_ENTITY:6,NODETYPE_PROCESSING_INSTRUCTION:7,NODETYPE_COMMENT:8,NODETYPE_DOCUMENT:9,NODETYPE_DOCUMENTTYPE:10,
NODETYPE_DOCUMENT_FRAGMENT:11,NODETYPE_NOTATION:12,TOOLTIP_VERTICAL_OFFSET:16,DEFAULT_VALID_COLOR:"#00FF00",DEFAULT_INVALID_COLOR:"#FF0000",OUTLINE_HIGHLIGHT_COLOR:"#00FF00",OUTLINE_HIGHLIGHT_STROKEWIDTH:5,HIGHLIGHT_STROKEWIDTH:3,HIGHLIGHT_SIZE:2,HIGHLIGHT_OPACITY:100,CURSOR_MOVABLE_VERTEX:"move",CURSOR_MOVABLE_EDGE:"move",CURSOR_LABEL_HANDLE:"default",CURSOR_TERMINAL_HANDLE:"pointer",CURSOR_BEND_HANDLE:"crosshair",CURSOR_VIRTUAL_BEND_HANDLE:"crosshair",CURSOR_CONNECT:"pointer",HIGHLIGHT_COLOR:"#00FF00",
CONNECT_TARGET_COLOR:"#0000FF",INVALID_CONNECT_TARGET_COLOR:"#FF0000",DROP_TARGET_COLOR:"#0000FF",VALID_COLOR:"#00FF00",INVALID_COLOR:"#FF0000",EDGE_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_COLOR:"#00FF00",VERTEX_SELECTION_STROKEWIDTH:1,EDGE_SELECTION_STROKEWIDTH:1,VERTEX_SELECTION_DASHED:!0,EDGE_SELECTION_DASHED:!0,GUIDE_COLOR:"#FF0000",GUIDE_STROKEWIDTH:1,OUTLINE_COLOR:"#0099FF",OUTLINE_STROKEWIDTH:mxClient.IS_IE?2:3,HANDLE_SIZE:6,LABEL_HANDLE_SIZE:4,HANDLE_FILLCOLOR:"#00FF00",HANDLE_STROKECOLOR:"black",
LABEL_HANDLE_FILLCOLOR:"yellow",CONNECT_HANDLE_FILLCOLOR:"#0000FF",LOCKED_HANDLE_FILLCOLOR:"#FF0000",OUTLINE_HANDLE_FILLCOLOR:"#00FFFF",OUTLINE_HANDLE_STROKECOLOR:"#0033FF",DEFAULT_FONTFAMILY:"Arial,Helvetica",DEFAULT_FONTSIZE:11,DEFAULT_TEXT_DIRECTION:"",LINE_HEIGHT:1.2,WORD_WRAP:"normal",ABSOLUTE_LINE_HEIGHT:!1,DEFAULT_FONTSTYLE:0,DEFAULT_STARTSIZE:40,DEFAULT_MARKERSIZE:6,DEFAULT_IMAGESIZE:24,ENTITY_SEGMENT:30,RECTANGLE_ROUNDING_FACTOR:0.15,LINE_ARCSIZE:20,ARROW_SPACING:0,ARROW_WIDTH:30,ARROW_SIZE:30,
PAGE_FORMAT_A4_PORTRAIT:new mxRectangle(0,0,826,1169),PAGE_FORMAT_A4_LANDSCAPE:new mxRectangle(0,0,1169,826),PAGE_FORMAT_LETTER_PORTRAIT:new mxRectangle(0,0,850,1100),PAGE_FORMAT_LETTER_LANDSCAPE:new mxRectangle(0,0,1100,850),NONE:"none",STYLE_PERIMETER:"perimeter",STYLE_SOURCE_PORT:"sourcePort",STYLE_TARGET_PORT:"targetPort",STYLE_PORT_CONSTRAINT:"portConstraint",STYLE_PORT_CONSTRAINT_ROTATION:"portConstraintRotation",STYLE_OPACITY:"opacity",STYLE_FILL_OPACITY:"fillOpacity",STYLE_STROKE_OPACITY:"strokeOpacity",
STYLE_TEXT_OPACITY:"textOpacity",STYLE_TEXT_DIRECTION:"textDirection",STYLE_OVERFLOW:"overflow",STYLE_ORTHOGONAL:"orthogonal",STYLE_EXIT_X:"exitX",STYLE_EXIT_Y:"exitY",STYLE_EXIT_PERIMETER:"exitPerimeter",STYLE_ENTRY_X:"entryX",STYLE_ENTRY_Y:"entryY",STYLE_ENTRY_PERIMETER:"entryPerimeter",STYLE_WHITE_SPACE:"whiteSpace",STYLE_ROTATION:"rotation",STYLE_FILLCOLOR:"fillColor",STYLE_POINTER_EVENTS:"pointerEvents",STYLE_SWIMLANE_FILLCOLOR:"swimlaneFillColor",STYLE_MARGIN:"margin",STYLE_GRADIENTCOLOR:"gradientColor",
STYLE_GRADIENT_DIRECTION:"gradientDirection",STYLE_STROKECOLOR:"strokeColor",STYLE_SEPARATORCOLOR:"separatorColor",STYLE_STROKEWIDTH:"strokeWidth",STYLE_ALIGN:"align",STYLE_VERTICAL_ALIGN:"verticalAlign",STYLE_LABEL_WIDTH:"labelWidth",STYLE_LABEL_POSITION:"labelPosition",STYLE_VERTICAL_LABEL_POSITION:"verticalLabelPosition",STYLE_IMAGE_ASPECT:"imageAspect",STYLE_IMAGE_ALIGN:"imageAlign",STYLE_IMAGE_VERTICAL_ALIGN:"imageVerticalAlign",STYLE_GLASS:"glass",STYLE_IMAGE:"image",STYLE_IMAGE_WIDTH:"imageWidth",
STYLE_IMAGE_HEIGHT:"imageHeight",STYLE_IMAGE_BACKGROUND:"imageBackground",STYLE_IMAGE_BORDER:"imageBorder",STYLE_FLIPH:"flipH",STYLE_FLIPV:"flipV",STYLE_NOLABEL:"noLabel",STYLE_NOEDGESTYLE:"noEdgeStyle",STYLE_LABEL_BACKGROUNDCOLOR:"labelBackgroundColor",STYLE_LABEL_BORDERCOLOR:"labelBorderColor",STYLE_LABEL_PADDING:"labelPadding",STYLE_INDICATOR_SHAPE:"indicatorShape",STYLE_INDICATOR_IMAGE:"indicatorImage",STYLE_INDICATOR_COLOR:"indicatorColor",STYLE_INDICATOR_STROKECOLOR:"indicatorStrokeColor",STYLE_INDICATOR_GRADIENTCOLOR:"indicatorGradientColor",
STYLE_INDICATOR_SPACING:"indicatorSpacing",STYLE_INDICATOR_WIDTH:"indicatorWidth",STYLE_INDICATOR_HEIGHT:"indicatorHeight",STYLE_INDICATOR_DIRECTION:"indicatorDirection",STYLE_SHADOW:"shadow",STYLE_SEGMENT:"segment",STYLE_ENDARROW:"endArrow",STYLE_STARTARROW:"startArrow",STYLE_ENDSIZE:"endSize",STYLE_STARTSIZE:"startSize",STYLE_SWIMLANE_LINE:"swimlaneLine",STYLE_ENDFILL:"endFill",STYLE_STARTFILL:"startFill",STYLE_DASHED:"dashed",STYLE_DASH_PATTERN:"dashPattern",STYLE_ROUNDED:"rounded",STYLE_CURVED:"curved",
STYLE_ARCSIZE:"arcSize",STYLE_SMOOTH:"smooth",STYLE_SOURCE_PERIMETER_SPACING:"sourcePerimeterSpacing",STYLE_TARGET_PERIMETER_SPACING:"targetPerimeterSpacing",STYLE_PERIMETER_SPACING:"perimeterSpacing",STYLE_SPACING:"spacing",STYLE_SPACING_TOP:"spacingTop",STYLE_SPACING_LEFT:"spacingLeft",STYLE_SPACING_BOTTOM:"spacingBottom",STYLE_SPACING_RIGHT:"spacingRight",STYLE_HORIZONTAL:"horizontal",STYLE_DIRECTION:"direction",STYLE_ELBOW:"elbow",STYLE_FONTCOLOR:"fontColor",STYLE_FONTFAMILY:"fontFamily",STYLE_FONTSIZE:"fontSize",
STYLE_FONTSTYLE:"fontStyle",STYLE_ASPECT:"aspect",STYLE_AUTOSIZE:"autosize",STYLE_FOLDABLE:"foldable",STYLE_EDITABLE:"editable",STYLE_BENDABLE:"bendable",STYLE_MOVABLE:"movable",STYLE_RESIZABLE:"resizable",STYLE_RESIZE_WIDTH:"resizeWidth",STYLE_RESIZE_HEIGHT:"resizeHeight",STYLE_ROTATABLE:"rotatable",STYLE_CLONEABLE:"cloneable",STYLE_DELETABLE:"deletable",STYLE_SHAPE:"shape",STYLE_EDGE:"edgeStyle",STYLE_JETTY_SIZE:"jettySize",STYLE_SOURCE_JETTY_SIZE:"sourceJettySize",STYLE_TARGET_JETTY_SIZE:"targetJettySize",
STYLE_LOOP:"loopStyle",STYLE_ORTHOGONAL_LOOP:"orthogonalLoop",STYLE_ROUTING_CENTER_X:"routingCenterX",STYLE_ROUTING_CENTER_Y:"routingCenterY",FONT_BOLD:1,FONT_ITALIC:2,FONT_UNDERLINE:4,SHAPE_RECTANGLE:"rectangle",SHAPE_ELLIPSE:"ellipse",SHAPE_DOUBLE_ELLIPSE:"doubleEllipse",SHAPE_RHOMBUS:"rhombus",SHAPE_LINE:"line",SHAPE_IMAGE:"image",SHAPE_ARROW:"arrow",SHAPE_ARROW_CONNECTOR:"arrowConnector",SHAPE_LABEL:"label",SHAPE_CYLINDER:"cylinder",SHAPE_SWIMLANE:"swimlane",SHAPE_CONNECTOR:"connector",SHAPE_ACTOR:"actor",
SHAPE_CLOUD:"cloud",SHAPE_TRIANGLE:"triangle",SHAPE_HEXAGON:"hexagon",ARROW_CLASSIC:"classic",ARROW_CLASSIC_THIN:"classicThin",ARROW_BLOCK:"block",ARROW_BLOCK_THIN:"blockThin",ARROW_OPEN:"open",ARROW_OPEN_THIN:"openThin",ARROW_OVAL:"oval",ARROW_DIAMOND:"diamond",ARROW_DIAMOND_THIN:"diamondThin",ALIGN_LEFT:"left",ALIGN_CENTER:"center",ALIGN_RIGHT:"right",ALIGN_TOP:"top",ALIGN_MIDDLE:"middle",ALIGN_BOTTOM:"bottom",DIRECTION_NORTH:"north",DIRECTION_SOUTH:"south",DIRECTION_EAST:"east",DIRECTION_WEST:"west",
TEXT_DIRECTION_DEFAULT:"",TEXT_DIRECTION_AUTO:"auto",TEXT_DIRECTION_LTR:"ltr",TEXT_DIRECTION_RTL:"rtl",DIRECTION_MASK_NONE:0,DIRECTION_MASK_WEST:1,DIRECTION_MASK_NORTH:2,DIRECTION_MASK_SOUTH:4,DIRECTION_MASK_EAST:8,DIRECTION_MASK_ALL:15,ELBOW_VERTICAL:"vertical",ELBOW_HORIZONTAL:"horizontal",EDGESTYLE_ELBOW:"elbowEdgeStyle",EDGESTYLE_ENTITY_RELATION:"entityRelationEdgeStyle",EDGESTYLE_LOOP:"loopEdgeStyle",EDGESTYLE_SIDETOSIDE:"sideToSideEdgeStyle",EDGESTYLE_TOPTOBOTTOM:"topToBottomEdgeStyle",EDGESTYLE_ORTHOGONAL:"orthogonalEdgeStyle",
EDGESTYLE_SEGMENT:"segmentEdgeStyle",PERIMETER_ELLIPSE:"ellipsePerimeter",PERIMETER_RECTANGLE:"rectanglePerimeter",PERIMETER_RHOMBUS:"rhombusPerimeter",PERIMETER_HEXAGON:"hexagonPerimeter",PERIMETER_TRIANGLE:"trianglePerimeter"};function mxEventObject(b){this.name=b;this.properties=[];for(var c=1;c<arguments.length;c+=2)null!=arguments[c+1]&&(this.properties[arguments[c]]=arguments[c+1])}mxEventObject.prototype.name=null;mxEventObject.prototype.properties=null;mxEventObject.prototype.consumed=!1;
mxEventObject.prototype.getName=function(){return this.name};mxEventObject.prototype.getProperties=function(){return this.properties};mxEventObject.prototype.getProperty=function(b){return this.properties[b]};mxEventObject.prototype.isConsumed=function(){return this.consumed};mxEventObject.prototype.consume=function(){this.consumed=!0};function mxMouseEvent(b,c){this.evt=b;this.sourceState=this.state=c}mxMouseEvent.prototype.consumed=!1;mxMouseEvent.prototype.evt=null;
mxMouseEvent.prototype.graphX=null;mxMouseEvent.prototype.graphY=null;mxMouseEvent.prototype.state=null;mxMouseEvent.prototype.sourceState=null;mxMouseEvent.prototype.getEvent=function(){return this.evt};mxMouseEvent.prototype.getSource=function(){return mxEvent.getSource(this.evt)};mxMouseEvent.prototype.isSource=function(b){return null!=b?mxUtils.isAncestorNode(b.node,this.getSource()):!1};mxMouseEvent.prototype.getX=function(){return mxEvent.getClientX(this.getEvent())};
mxMouseEvent.prototype.getY=function(){return mxEvent.getClientY(this.getEvent())};mxMouseEvent.prototype.getGraphX=function(){return this.graphX};mxMouseEvent.prototype.getGraphY=function(){return this.graphY};mxMouseEvent.prototype.getState=function(){return this.state};mxMouseEvent.prototype.getCell=function(){var b=this.getState();return null!=b?b.cell:null};mxMouseEvent.prototype.isPopupTrigger=function(){return mxEvent.isPopupTrigger(this.getEvent())};mxMouseEvent.prototype.isConsumed=function(){return this.consumed};
mxMouseEvent.prototype.consume=function(b){(null!=b?b:1)&&this.evt.preventDefault&&this.evt.preventDefault();mxClient.IS_IE&&(this.evt.returnValue=!0);this.consumed=!0};function mxEventSource(b){this.setEventSource(b)}mxEventSource.prototype.eventListeners=null;mxEventSource.prototype.eventsEnabled=!0;mxEventSource.prototype.eventSource=null;mxEventSource.prototype.isEventsEnabled=function(){return this.eventsEnabled};mxEventSource.prototype.setEventsEnabled=function(b){this.eventsEnabled=b};
mxEventSource.prototype.getEventSource=function(){return this.eventSource};mxEventSource.prototype.setEventSource=function(b){this.eventSource=b};mxEventSource.prototype.addListener=function(b,c){null==this.eventListeners&&(this.eventListeners=[]);this.eventListeners.push(b);this.eventListeners.push(c)};mxEventSource.prototype.removeListener=function(b){if(null!=this.eventListeners)for(var c=0;c<this.eventListeners.length;)this.eventListeners[c+1]==b?this.eventListeners.splice(c,2):c+=2};
mxEventSource.prototype.fireEvent=function(b,c){if(null!=this.eventListeners&&this.isEventsEnabled()){null==b&&(b=new mxEventObject);null==c&&(c=this.getEventSource());null==c&&(c=this);for(var f=[c,b],d=0;d<this.eventListeners.length;d+=2){var a=this.eventListeners[d];(null==a||a==b.getName())&&this.eventListeners[d+1].apply(this,f)}}};
var mxEvent={objects:[],addListener:function(){var b=function(b,f,d){null==b.mxListenerList&&(b.mxListenerList=[],mxEvent.objects.push(b));b.mxListenerList.push({name:f,f:d})};return window.addEventListener?function(c,f,d){c.addEventListener(f,d,!1);b(c,f,d)}:function(c,f,d){c.attachEvent("on"+f,d);b(c,f,d)}}(),removeListener:function(){var b=function(b,f,d){if(null!=b.mxListenerList){f=b.mxListenerList.length;for(var a=0;a<f;a++)if(b.mxListenerList[a].f==d){b.mxListenerList.splice(a,1);break}0==
b.mxListenerList.length&&(b.mxListenerList=null,b=mxUtils.indexOf(mxEvent.objects,b),0<=b&&mxEvent.objects.splice(b,1))}};return window.removeEventListener?function(c,f,d){c.removeEventListener(f,d,!1);b(c,f,d)}:function(c,f,d){c.detachEvent("on"+f,d);b(c,f,d)}}(),removeAllListeners:function(b){var c=b.mxListenerList;if(null!=c)for(;0<c.length;){var f=c[0];mxEvent.removeListener(b,f.name,f.f)}},addGestureListeners:function(b,c,f,d){null!=c&&mxEvent.addListener(b,mxClient.IS_POINTER?"pointerdown":
"mousedown",c);null!=f&&mxEvent.addListener(b,mxClient.IS_POINTER?"pointermove":"mousemove",f);null!=d&&mxEvent.addListener(b,mxClient.IS_POINTER?"pointerup":"mouseup",d);!mxClient.IS_POINTER&&mxClient.IS_TOUCH&&(null!=c&&mxEvent.addListener(b,"touchstart",c),null!=f&&mxEvent.addListener(b,"touchmove",f),null!=d&&mxEvent.addListener(b,"touchend",d))},removeGestureListeners:function(b,c,f,d){null!=c&&mxEvent.removeListener(b,mxClient.IS_POINTER?"pointerdown":"mousedown",c);null!=f&&mxEvent.removeListener(b,
mxClient.IS_POINTER?"pointermove":"mousemove",f);null!=d&&mxEvent.removeListener(b,mxClient.IS_POINTER?"pointerup":"mouseup",d);!mxClient.IS_POINTER&&mxClient.IS_TOUCH&&(null!=c&&mxEvent.removeListener(b,"touchstart",c),null!=f&&mxEvent.removeListener(b,"touchmove",f),null!=d&&mxEvent.removeListener(b,"touchend",d))},redirectMouseEvents:function(b,c,f,d,a,e,g){var k=function(a){return"function"==typeof f?f(a):f};mxEvent.addGestureListeners(b,function(a){null!=d?d(a):mxEvent.isConsumed(a)||c.fireMouseEvent(mxEvent.MOUSE_DOWN,
new mxMouseEvent(a,k(a)))},function(b){null!=a?a(b):mxEvent.isConsumed(b)||c.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b,k(b)))},function(a){null!=e?e(a):mxEvent.isConsumed(a)||c.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(a,k(a)))});mxEvent.addListener(b,"dblclick",function(a){if(null!=g)g(a);else if(!mxEvent.isConsumed(a)){var b=k(a);c.dblClick(a,null!=b?b.cell:null)}})},release:function(b){if(null!=b&&(mxEvent.removeAllListeners(b),b=b.childNodes,null!=b))for(var c=b.length,f=0;f<
c;f+=1)mxEvent.release(b[f])},addMouseWheelListener:function(b){if(null!=b){var c=function(c){null==c&&(c=window.event);var d=0,d=mxClient.IS_FF?-c.detail/2:c.wheelDelta/120;0!=d&&b(c,0<d)};mxClient.IS_NS&&null==document.documentMode?mxEvent.addListener(window,mxClient.IS_SF||mxClient.IS_GC?"mousewheel":"DOMMouseScroll",c):mxEvent.addListener(document,"mousewheel",c)}},disableContextMenu:function(){return mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?function(b){mxEvent.addListener(b,
"contextmenu",function(){return!1})}:function(b){b.setAttribute("oncontextmenu","return false;")}}(),getSource:function(b){return null!=b.srcElement?b.srcElement:b.target},isConsumed:function(b){return null!=b.isConsumed&&b.isConsumed},isTouchEvent:function(b){return null!=b.pointerType?"touch"==b.pointerType||b.pointerType===b.MSPOINTER_TYPE_TOUCH:null!=b.mozInputSource?5==b.mozInputSource:0==b.type.indexOf("touch")},isMultiTouchEvent:function(b){return null!=b.type&&0==b.type.indexOf("touch")&&
null!=b.touches&&1<b.touches.length},isMouseEvent:function(b){return null!=b.pointerType?"mouse"==b.pointerType||b.pointerType===b.MSPOINTER_TYPE_MOUSE:null!=b.mozInputSource?1==b.mozInputSource:0==b.type.indexOf("mouse")},isLeftMouseButton:function(b){return"buttons"in b&&("mousedown"==b.type||"mousemove"==b.type)?1==b.buttons:"which"in b?1===b.which:1===b.button},isMiddleMouseButton:function(b){return"which"in b?2===b.which:4===b.button},isRightMouseButton:function(b){return"which"in b?3===b.which:
2===b.button},isPopupTrigger:function(b){return mxEvent.isRightMouseButton(b)||mxClient.IS_MAC&&mxEvent.isControlDown(b)&&!mxEvent.isShiftDown(b)&&!mxEvent.isMetaDown(b)&&!mxEvent.isAltDown(b)},isShiftDown:function(b){return null!=b?b.shiftKey:!1},isAltDown:function(b){return null!=b?b.altKey:!1},isControlDown:function(b){return null!=b?b.ctrlKey:!1},isMetaDown:function(b){return null!=b?b.metaKey:!1},getMainEvent:function(b){("touchstart"==b.type||"touchmove"==b.type)&&null!=b.touches&&null!=b.touches[0]?
b=b.touches[0]:"touchend"==b.type&&null!=b.changedTouches&&null!=b.changedTouches[0]&&(b=b.changedTouches[0]);return b},getClientX:function(b){return mxEvent.getMainEvent(b).clientX},getClientY:function(b){return mxEvent.getMainEvent(b).clientY},consume:function(b,c,f){f=null!=f?f:!0;if(null!=c?c:1)b.preventDefault?(f&&b.stopPropagation(),b.preventDefault()):f&&(b.cancelBubble=!0);b.isConsumed=!0;b.preventDefault||(b.returnValue=!1)},LABEL_HANDLE:-1,ROTATION_HANDLE:-2,CUSTOM_HANDLE:-100,VIRTUAL_HANDLE:-1E5,
MOUSE_DOWN:"mouseDown",MOUSE_MOVE:"mouseMove",MOUSE_UP:"mouseUp",ACTIVATE:"activate",RESIZE_START:"resizeStart",RESIZE:"resize",RESIZE_END:"resizeEnd",MOVE_START:"moveStart",MOVE:"move",MOVE_END:"moveEnd",PAN_START:"panStart",PAN:"pan",PAN_END:"panEnd",MINIMIZE:"minimize",NORMALIZE:"normalize",MAXIMIZE:"maximize",HIDE:"hide",SHOW:"show",CLOSE:"close",DESTROY:"destroy",REFRESH:"refresh",SIZE:"size",SELECT:"select",FIRED:"fired",FIRE_MOUSE_EVENT:"fireMouseEvent",GESTURE:"gesture",TAP_AND_HOLD:"tapAndHold",
GET:"get",RECEIVE:"receive",CONNECT:"connect",DISCONNECT:"disconnect",SUSPEND:"suspend",RESUME:"resume",MARK:"mark",ROOT:"root",POST:"post",OPEN:"open",SAVE:"save",BEFORE_ADD_VERTEX:"beforeAddVertex",ADD_VERTEX:"addVertex",AFTER_ADD_VERTEX:"afterAddVertex",DONE:"done",EXECUTE:"execute",EXECUTED:"executed",BEGIN_UPDATE:"beginUpdate",START_EDIT:"startEdit",END_UPDATE:"endUpdate",END_EDIT:"endEdit",BEFORE_UNDO:"beforeUndo",UNDO:"undo",REDO:"redo",CHANGE:"change",NOTIFY:"notify",LAYOUT_CELLS:"layoutCells",
CLICK:"click",SCALE:"scale",TRANSLATE:"translate",SCALE_AND_TRANSLATE:"scaleAndTranslate",UP:"up",DOWN:"down",ADD:"add",REMOVE:"remove",CLEAR:"clear",ADD_CELLS:"addCells",CELLS_ADDED:"cellsAdded",MOVE_CELLS:"moveCells",CELLS_MOVED:"cellsMoved",RESIZE_CELLS:"resizeCells",CELLS_RESIZED:"cellsResized",TOGGLE_CELLS:"toggleCells",CELLS_TOGGLED:"cellsToggled",ORDER_CELLS:"orderCells",CELLS_ORDERED:"cellsOrdered",REMOVE_CELLS:"removeCells",CELLS_REMOVED:"cellsRemoved",GROUP_CELLS:"groupCells",UNGROUP_CELLS:"ungroupCells",
REMOVE_CELLS_FROM_PARENT:"removeCellsFromParent",FOLD_CELLS:"foldCells",CELLS_FOLDED:"cellsFolded",ALIGN_CELLS:"alignCells",LABEL_CHANGED:"labelChanged",CONNECT_CELL:"connectCell",CELL_CONNECTED:"cellConnected",SPLIT_EDGE:"splitEdge",FLIP_EDGE:"flipEdge",START_EDITING:"startEditing",EDITING_STARTED:"editingStarted",EDITING_STOPPED:"editingStopped",ADD_OVERLAY:"addOverlay",REMOVE_OVERLAY:"removeOverlay",UPDATE_CELL_SIZE:"updateCellSize",ESCAPE:"escape",CLICK:"click",DOUBLE_CLICK:"doubleClick",START:"start",
RESET:"reset"};function mxXmlRequest(b,c,f,d,a,e){this.url=b;this.params=c;this.method=f||"POST";this.async=null!=d?d:!0;this.username=a;this.password=e}mxXmlRequest.prototype.url=null;mxXmlRequest.prototype.params=null;mxXmlRequest.prototype.method=null;mxXmlRequest.prototype.async=null;mxXmlRequest.prototype.binary=!1;mxXmlRequest.prototype.withCredentials=!1;mxXmlRequest.prototype.username=null;mxXmlRequest.prototype.password=null;mxXmlRequest.prototype.request=null;
mxXmlRequest.prototype.decodeSimulateValues=!1;mxXmlRequest.prototype.isBinary=function(){return this.binary};mxXmlRequest.prototype.setBinary=function(b){this.binary=b};mxXmlRequest.prototype.getText=function(){return this.request.responseText};mxXmlRequest.prototype.isReady=function(){return 4==this.request.readyState};mxXmlRequest.prototype.getDocumentElement=function(){var b=this.getXml();return null!=b?b.documentElement:null};
mxXmlRequest.prototype.getXml=function(){var b=this.request.responseXML;if(9<=document.documentMode||null==b||null==b.documentElement)b=mxUtils.parseXml(this.request.responseText);return b};mxXmlRequest.prototype.getText=function(){return this.request.responseText};mxXmlRequest.prototype.getStatus=function(){return this.request.status};
mxXmlRequest.prototype.create=function(){if(window.XMLHttpRequest)return function(){var b=new XMLHttpRequest;this.isBinary()&&b.overrideMimeType&&b.overrideMimeType("text/plain; charset\x3dx-user-defined");return b};if("undefined"!=typeof ActiveXObject)return function(){return new ActiveXObject("Microsoft.XMLHTTP")}}();
mxXmlRequest.prototype.send=function(b,c,f,d){this.request=this.create();if(null!=this.request){null!=b&&(this.request.onreadystatechange=mxUtils.bind(this,function(){this.isReady()&&(b(this),this.onreadystatechaange=null)}));this.request.open(this.method,this.url,this.async,this.username,this.password);this.setRequestHeaders(this.request,this.params);window.XMLHttpRequest&&this.withCredentials&&(this.request.withCredentials="true");if(!mxClient.IS_QUIRKS&&(null==document.documentMode||9<document.documentMode)&&
window.XMLHttpRequest&&null!=f&&null!=d)this.request.timeout=f,this.request.ontimeout=d;this.request.send(this.params)}};mxXmlRequest.prototype.setRequestHeaders=function(b,c){null!=c&&b.setRequestHeader("Content-Type","application/x-www-form-urlencoded")};
mxXmlRequest.prototype.simulate=function(b,c){b=b||document;var f=null;b==document&&(f=window.onbeforeunload,window.onbeforeunload=null);var d=b.createElement("form");d.setAttribute("method",this.method);d.setAttribute("action",this.url);null!=c&&d.setAttribute("target",c);d.style.display="none";d.style.visibility="hidden";for(var a=0<this.params.indexOf("\x26")?this.params.split("\x26"):this.params.split(),e=0;e<a.length;e++){var g=a[e].indexOf("\x3d");if(0<g){var k=a[e].substring(0,g),g=a[e].substring(g+
1);this.decodeSimulateValues&&(g=decodeURIComponent(g));var l=b.createElement("textarea");l.setAttribute("name",k);mxUtils.write(l,g);d.appendChild(l)}}b.body.appendChild(d);d.submit();b.body.removeChild(d);null!=f&&(window.onbeforeunload=f)};
var mxClipboard={STEPSIZE:10,insertCount:1,cells:null,setCells:function(b){mxClipboard.cells=b},getCells:function(){return mxClipboard.cells},isEmpty:function(){return null==mxClipboard.getCells()},cut:function(b,c){c=mxClipboard.copy(b,c);mxClipboard.insertCount=0;mxClipboard.removeCells(b,c);return c},removeCells:function(b,c){b.removeCells(c)},copy:function(b,c){c=c||b.getSelectionCells();var f=b.getExportableCells(b.model.getTopmostCells(c));mxClipboard.insertCount=1;mxClipboard.setCells(b.cloneCells(f));
return f},paste:function(b){var c=null;if(!mxClipboard.isEmpty()){var c=b.getImportableCells(mxClipboard.getCells()),f=mxClipboard.insertCount*mxClipboard.STEPSIZE,d=b.getDefaultParent(),c=b.importCells(c,f,f,d);mxClipboard.insertCount++;b.setSelectionCells(c)}return c}};
function mxWindow(b,c,f,d,a,e,g,k,l,m){null!=c&&(g=null!=g?g:!0,this.content=c,this.init(f,d,a,e,m),this.installMaximizeHandler(),this.installMinimizeHandler(),this.installCloseHandler(),this.setMinimizable(g),this.setTitle(b),(null==k||k)&&this.installMoveHandler(),null!=l&&null!=l.parentNode?l.parentNode.replaceChild(this.div,l):document.body.appendChild(this.div))}mxWindow.prototype=new mxEventSource;mxWindow.prototype.constructor=mxWindow;mxWindow.prototype.closeImage=mxClient.imageBasePath+"/close.gif";
mxWindow.prototype.minimizeImage=mxClient.imageBasePath+"/minimize.gif";mxWindow.prototype.normalizeImage=mxClient.imageBasePath+"/normalize.gif";mxWindow.prototype.maximizeImage=mxClient.imageBasePath+"/maximize.gif";mxWindow.prototype.resizeImage=mxClient.imageBasePath+"/resize.gif";mxWindow.prototype.visible=!1;mxWindow.prototype.minimumSize=new mxRectangle(0,0,50,40);mxWindow.prototype.destroyOnClose=!0;
mxWindow.prototype.contentHeightCorrection=8==document.documentMode||7==document.documentMode?6:2;mxWindow.prototype.title=null;mxWindow.prototype.content=null;
mxWindow.prototype.init=function(b,c,f,d,a){a=null!=a?a:"mxWindow";this.div=document.createElement("div");this.div.className=a;this.div.style.left=b+"px";this.div.style.top=c+"px";this.table=document.createElement("table");this.table.className=a;mxClient.IS_POINTER&&(this.div.style.touchAction="none");null!=f&&(mxClient.IS_QUIRKS||(this.div.style.width=f+"px"),this.table.style.width=f+"px");null!=d&&(mxClient.IS_QUIRKS||(this.div.style.height=d+"px"),this.table.style.height=d+"px");b=document.createElement("tbody");
c=document.createElement("tr");this.title=document.createElement("td");this.title.className=a+"Title";c.appendChild(this.title);b.appendChild(c);c=document.createElement("tr");this.td=document.createElement("td");this.td.className=a+"Pane";7==document.documentMode&&(this.td.style.height="100%");this.contentWrapper=document.createElement("div");this.contentWrapper.className=a+"Pane";this.contentWrapper.style.width="100%";this.contentWrapper.appendChild(this.content);if(mxClient.IS_QUIRKS||"DIV"!=this.content.nodeName.toUpperCase())this.contentWrapper.style.height=
"100%";this.td.appendChild(this.contentWrapper);c.appendChild(this.td);b.appendChild(c);this.table.appendChild(b);this.div.appendChild(this.table);a=mxUtils.bind(this,function(a){this.activate()});mxEvent.addGestureListeners(this.title,a);mxEvent.addGestureListeners(this.table,a);this.hide()};mxWindow.prototype.setTitle=function(b){for(var c=this.title.firstChild;null!=c;){var f=c.nextSibling;c.nodeType==mxConstants.NODETYPE_TEXT&&c.parentNode.removeChild(c);c=f}mxUtils.write(this.title,b||"")};
mxWindow.prototype.setScrollable=function(b){0>navigator.userAgent.indexOf("Presto/2.5")&&(this.contentWrapper.style.overflow=b?"auto":"hidden")};
mxWindow.prototype.activate=function(){if(mxWindow.activeWindow!=this){var b=mxUtils.getCurrentStyle(this.getElement()),b=null!=b?b.zIndex:3;if(mxWindow.activeWindow){var c=mxWindow.activeWindow.getElement();null!=c&&null!=c.style&&(c.style.zIndex=b)}c=mxWindow.activeWindow;this.getElement().style.zIndex=parseInt(b)+1;mxWindow.activeWindow=this;this.fireEvent(new mxEventObject(mxEvent.ACTIVATE,"previousWindow",c))}};mxWindow.prototype.getElement=function(){return this.div};
mxWindow.prototype.fit=function(){mxUtils.fit(this.div)};mxWindow.prototype.isResizable=function(){return null!=this.resize?"none"!=this.resize.style.display:!1};
mxWindow.prototype.setResizable=function(b){if(b)if(null==this.resize){this.resize=document.createElement("img");this.resize.style.position="absolute";this.resize.style.bottom="2px";this.resize.style.right="2px";this.resize.setAttribute("src",mxClient.imageBasePath+"/resize.gif");this.resize.style.cursor="nw-resize";var c=null,f=null,d=null,a=null;b=mxUtils.bind(this,function(b){this.activate();c=mxEvent.getClientX(b);f=mxEvent.getClientY(b);d=this.div.offsetWidth;a=this.div.offsetHeight;mxEvent.addGestureListeners(document,
null,e,g);this.fireEvent(new mxEventObject(mxEvent.RESIZE_START,"event",b));mxEvent.consume(b)});var e=mxUtils.bind(this,function(b){if(null!=c&&null!=f){var e=mxEvent.getClientX(b)-c,g=mxEvent.getClientY(b)-f;this.setSize(d+e,a+g);this.fireEvent(new mxEventObject(mxEvent.RESIZE,"event",b));mxEvent.consume(b)}}),g=mxUtils.bind(this,function(a){null!=c&&null!=f&&(f=c=null,mxEvent.removeGestureListeners(document,null,e,g),this.fireEvent(new mxEventObject(mxEvent.RESIZE_END,"event",a)),mxEvent.consume(a))});
mxEvent.addGestureListeners(this.resize,b,e,g);this.div.appendChild(this.resize)}else this.resize.style.display="inline";else null!=this.resize&&(this.resize.style.display="none")};
mxWindow.prototype.setSize=function(b,c){b=Math.max(this.minimumSize.width,b);c=Math.max(this.minimumSize.height,c);mxClient.IS_QUIRKS||(this.div.style.width=b+"px",this.div.style.height=c+"px");this.table.style.width=b+"px";this.table.style.height=c+"px";mxClient.IS_QUIRKS||(this.contentWrapper.style.height=this.div.offsetHeight-this.title.offsetHeight-this.contentHeightCorrection+"px")};mxWindow.prototype.setMinimizable=function(b){this.minimize.style.display=b?"":"none"};
mxWindow.prototype.getMinimumSize=function(){return new mxRectangle(0,0,0,this.title.offsetHeight)};
mxWindow.prototype.installMinimizeHandler=function(){this.minimize=document.createElement("img");this.minimize.setAttribute("src",this.minimizeImage);this.minimize.setAttribute("align","right");this.minimize.setAttribute("title","Minimize");this.minimize.style.cursor="pointer";this.minimize.style.marginRight="1px";this.minimize.style.display="none";this.title.appendChild(this.minimize);var b=!1,c=null,f=null,d=mxUtils.bind(this,function(a){this.activate();if(b)b=!1,this.minimize.setAttribute("src",
this.minimizeImage),this.minimize.setAttribute("title","Minimize"),this.contentWrapper.style.display="",this.maximize.style.display=c,mxClient.IS_QUIRKS||(this.div.style.height=f),this.table.style.height=f,null!=this.resize&&(this.resize.style.visibility=""),this.fireEvent(new mxEventObject(mxEvent.NORMALIZE,"event",a));else{b=!0;this.minimize.setAttribute("src",this.normalizeImage);this.minimize.setAttribute("title","Normalize");this.contentWrapper.style.display="none";c=this.maximize.style.display;
this.maximize.style.display="none";f=this.table.style.height;var d=this.getMinimumSize();0<d.height&&(mxClient.IS_QUIRKS||(this.div.style.height=d.height+"px"),this.table.style.height=d.height+"px");0<d.width&&(mxClient.IS_QUIRKS||(this.div.style.width=d.width+"px"),this.table.style.width=d.width+"px");null!=this.resize&&(this.resize.style.visibility="hidden");this.fireEvent(new mxEventObject(mxEvent.MINIMIZE,"event",a))}mxEvent.consume(a)});mxEvent.addGestureListeners(this.minimize,d)};
mxWindow.prototype.setMaximizable=function(b){this.maximize.style.display=b?"":"none"};
mxWindow.prototype.installMaximizeHandler=function(){this.maximize=document.createElement("img");this.maximize.setAttribute("src",this.maximizeImage);this.maximize.setAttribute("align","right");this.maximize.setAttribute("title","Maximize");this.maximize.style.cursor="default";this.maximize.style.marginLeft="1px";this.maximize.style.cursor="pointer";this.maximize.style.display="none";this.title.appendChild(this.maximize);var b=!1,c=null,f=null,d=null,a=null,e=mxUtils.bind(this,function(e){this.activate();
if("none"!=this.maximize.style.display){if(b){b=!1;this.maximize.setAttribute("src",this.maximizeImage);this.maximize.setAttribute("title","Maximize");this.contentWrapper.style.display="";this.minimize.style.visibility="";this.div.style.left=c+"px";this.div.style.top=f+"px";if(!mxClient.IS_QUIRKS&&(this.div.style.height=d,this.div.style.width=a,k=mxUtils.getCurrentStyle(this.contentWrapper),"auto"==k.overflow||null!=this.resize))this.contentWrapper.style.height=this.div.offsetHeight-this.title.offsetHeight-
this.contentHeightCorrection+"px";this.table.style.height=d;this.table.style.width=a;null!=this.resize&&(this.resize.style.visibility="");this.fireEvent(new mxEventObject(mxEvent.NORMALIZE,"event",e))}else{b=!0;this.maximize.setAttribute("src",this.normalizeImage);this.maximize.setAttribute("title","Normalize");this.contentWrapper.style.display="";this.minimize.style.visibility="hidden";c=parseInt(this.div.style.left);f=parseInt(this.div.style.top);d=this.table.style.height;a=this.table.style.width;
this.div.style.left="0px";this.div.style.top="0px";k=Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0);mxClient.IS_QUIRKS||(this.div.style.width=document.body.clientWidth-2+"px",this.div.style.height=k-2+"px");this.table.style.width=document.body.clientWidth-2+"px";this.table.style.height=k-2+"px";null!=this.resize&&(this.resize.style.visibility="hidden");if(!mxClient.IS_QUIRKS){var k=mxUtils.getCurrentStyle(this.contentWrapper);if("auto"==k.overflow||null!=this.resize)this.contentWrapper.style.height=
this.div.offsetHeight-this.title.offsetHeight-this.contentHeightCorrection+"px"}this.fireEvent(new mxEventObject(mxEvent.MAXIMIZE,"event",e))}mxEvent.consume(e)}});mxEvent.addGestureListeners(this.maximize,e);mxEvent.addListener(this.title,"dblclick",e)};
mxWindow.prototype.installMoveHandler=function(){this.title.style.cursor="move";mxEvent.addGestureListeners(this.title,mxUtils.bind(this,function(b){var c=mxEvent.getClientX(b),f=mxEvent.getClientY(b),d=this.getX(),a=this.getY(),e=mxUtils.bind(this,function(b){var e=mxEvent.getClientX(b)-c,g=mxEvent.getClientY(b)-f;this.setLocation(d+e,a+g);this.fireEvent(new mxEventObject(mxEvent.MOVE,"event",b));mxEvent.consume(b)}),g=mxUtils.bind(this,function(a){mxEvent.removeGestureListeners(document,null,e,
g);this.fireEvent(new mxEventObject(mxEvent.MOVE_END,"event",a));mxEvent.consume(a)});mxEvent.addGestureListeners(document,null,e,g);this.fireEvent(new mxEventObject(mxEvent.MOVE_START,"event",b));mxEvent.consume(b)}));mxClient.IS_POINTER&&(this.title.style.touchAction="none")};mxWindow.prototype.setLocation=function(b,c){this.div.style.left=b+"px";this.div.style.top=c+"px"};mxWindow.prototype.getX=function(){return parseInt(this.div.style.left)};mxWindow.prototype.getY=function(){return parseInt(this.div.style.top)};
mxWindow.prototype.installCloseHandler=function(){this.closeImg=document.createElement("img");this.closeImg.setAttribute("src",this.closeImage);this.closeImg.setAttribute("align","right");this.closeImg.setAttribute("title","Close");this.closeImg.style.marginLeft="2px";this.closeImg.style.cursor="pointer";this.closeImg.style.display="none";this.title.insertBefore(this.closeImg,this.title.firstChild);mxEvent.addGestureListeners(this.closeImg,mxUtils.bind(this,function(b){this.fireEvent(new mxEventObject(mxEvent.CLOSE,
"event",b));this.destroyOnClose?this.destroy():this.setVisible(!1);mxEvent.consume(b)}))};mxWindow.prototype.setImage=function(b){this.image=document.createElement("img");this.image.setAttribute("src",b);this.image.setAttribute("align","left");this.image.style.marginRight="4px";this.image.style.marginLeft="0px";this.image.style.marginTop="-2px";this.title.insertBefore(this.image,this.title.firstChild)};mxWindow.prototype.setClosable=function(b){this.closeImg.style.display=b?"":"none"};
mxWindow.prototype.isVisible=function(){return null!=this.div?"none"!=this.div.style.display:!1};mxWindow.prototype.setVisible=function(b){null!=this.div&&this.isVisible()!=b&&(b?this.show():this.hide())};
mxWindow.prototype.show=function(){this.div.style.display="";this.activate();var b=mxUtils.getCurrentStyle(this.contentWrapper);if(!mxClient.IS_QUIRKS&&("auto"==b.overflow||null!=this.resize))this.contentWrapper.style.height=this.div.offsetHeight-this.title.offsetHeight-this.contentHeightCorrection+"px";this.fireEvent(new mxEventObject(mxEvent.SHOW))};mxWindow.prototype.hide=function(){this.div.style.display="none";this.fireEvent(new mxEventObject(mxEvent.HIDE))};
mxWindow.prototype.destroy=function(){this.fireEvent(new mxEventObject(mxEvent.DESTROY));null!=this.div&&(mxEvent.release(this.div),this.div.parentNode.removeChild(this.div),this.div=null);this.contentWrapper=this.content=this.title=null};function mxForm(b){this.table=document.createElement("table");this.table.className=b;this.body=document.createElement("tbody");this.table.appendChild(this.body)}mxForm.prototype.table=null;mxForm.prototype.body=!1;mxForm.prototype.getTable=function(){return this.table};
mxForm.prototype.addButtons=function(b,c){var f=document.createElement("tr"),d=document.createElement("td");f.appendChild(d);var d=document.createElement("td"),a=document.createElement("button");mxUtils.write(a,mxResources.get("ok")||"OK");d.appendChild(a);mxEvent.addListener(a,"click",function(){b()});a=document.createElement("button");mxUtils.write(a,mxResources.get("cancel")||"Cancel");d.appendChild(a);mxEvent.addListener(a,"click",function(){c()});f.appendChild(d);this.body.appendChild(f)};
mxForm.prototype.addText=function(b,c){var f=document.createElement("input");f.setAttribute("type","text");f.value=c;return this.addField(b,f)};mxForm.prototype.addCheckbox=function(b,c){var f=document.createElement("input");f.setAttribute("type","checkbox");this.addField(b,f);c&&(f.checked=!0);return f};mxForm.prototype.addTextarea=function(b,c,f){var d=document.createElement("textarea");mxClient.IS_NS&&f--;d.setAttribute("rows",f||2);d.value=c;return this.addField(b,d)};
mxForm.prototype.addCombo=function(b,c,f){var d=document.createElement("select");null!=f&&d.setAttribute("size",f);c&&d.setAttribute("multiple","true");return this.addField(b,d)};mxForm.prototype.addOption=function(b,c,f,d){var a=document.createElement("option");mxUtils.writeln(a,c);a.setAttribute("value",f);d&&a.setAttribute("selected",d);b.appendChild(a)};
mxForm.prototype.addField=function(b,c){var f=document.createElement("tr"),d=document.createElement("td");mxUtils.write(d,b);f.appendChild(d);d=document.createElement("td");d.appendChild(c);f.appendChild(d);this.body.appendChild(f);return c};function mxImage(b,c,f){this.src=b;this.width=c;this.height=f}mxImage.prototype.src=null;mxImage.prototype.width=null;mxImage.prototype.height=null;
function mxDivResizer(b,c){if("div"==b.nodeName.toLowerCase()){null==c&&(c=window);this.div=b;var f=mxUtils.getCurrentStyle(b);null!=f&&(this.resizeWidth="auto"==f.width,this.resizeHeight="auto"==f.height);mxEvent.addListener(c,"resize",mxUtils.bind(this,function(b){this.handlingResize||(this.handlingResize=!0,this.resize(),this.handlingResize=!1)}));this.resize()}}mxDivResizer.prototype.resizeWidth=!0;mxDivResizer.prototype.resizeHeight=!0;mxDivResizer.prototype.handlingResize=!1;
mxDivResizer.prototype.resize=function(){var b=this.getDocumentWidth(),c=this.getDocumentHeight(),f=parseInt(this.div.style.left),d=parseInt(this.div.style.right),a=parseInt(this.div.style.top),e=parseInt(this.div.style.bottom);this.resizeWidth&&!isNaN(f)&&!isNaN(d)&&(0<=f&&0<=d&&0<b-d-f)&&(this.div.style.width=b-d-f+"px");this.resizeHeight&&!isNaN(a)&&!isNaN(e)&&(0<=a&&0<=e&&0<c-a-e)&&(this.div.style.height=c-a-e+"px")};mxDivResizer.prototype.getDocumentWidth=function(){return document.body.clientWidth};
mxDivResizer.prototype.getDocumentHeight=function(){return document.body.clientHeight};function mxDragSource(b,c){this.element=b;this.dropHandler=c;mxEvent.addGestureListeners(b,mxUtils.bind(this,function(b){this.mouseDown(b)}));mxEvent.addListener(b,"dragstart",function(b){mxEvent.consume(b)});this.eventConsumer=function(b,d){var a=d.getProperty("eventName"),e=d.getProperty("event");a!=mxEvent.MOUSE_DOWN&&e.consume()}}mxDragSource.prototype.element=null;mxDragSource.prototype.dropHandler=null;
mxDragSource.prototype.dragOffset=null;mxDragSource.prototype.dragElement=null;mxDragSource.prototype.previewElement=null;mxDragSource.prototype.enabled=!0;mxDragSource.prototype.currentGraph=null;mxDragSource.prototype.currentDropTarget=null;mxDragSource.prototype.currentPoint=null;mxDragSource.prototype.currentGuide=null;mxDragSource.prototype.currentHighlight=null;mxDragSource.prototype.autoscroll=!0;mxDragSource.prototype.guidesEnabled=!0;mxDragSource.prototype.gridEnabled=!0;
mxDragSource.prototype.highlightDropTargets=!0;mxDragSource.prototype.dragElementZIndex=100;mxDragSource.prototype.dragElementOpacity=70;mxDragSource.prototype.isEnabled=function(){return this.enabled};mxDragSource.prototype.setEnabled=function(b){this.enabled=b};mxDragSource.prototype.isGuidesEnabled=function(){return this.guidesEnabled};mxDragSource.prototype.setGuidesEnabled=function(b){this.guidesEnabled=b};mxDragSource.prototype.isGridEnabled=function(){return this.gridEnabled};
mxDragSource.prototype.setGridEnabled=function(b){this.gridEnabled=b};mxDragSource.prototype.getGraphForEvent=function(b){return null};mxDragSource.prototype.getDropTarget=function(b,c,f,d){return b.getCellAt(c,f)};mxDragSource.prototype.createDragElement=function(b){return this.element.cloneNode(!0)};mxDragSource.prototype.createPreviewElement=function(b){return null};mxDragSource.prototype.isActive=function(){return null!=this.mouseMoveHandler};
mxDragSource.prototype.reset=function(){null!=this.currentGraph&&(this.dragExit(this.currentGraph),this.currentGraph=null);this.removeDragElement();this.removeListeners();this.stopDrag()};
mxDragSource.prototype.mouseDown=function(b){this.enabled&&!mxEvent.isConsumed(b)&&null==this.mouseMoveHandler&&(this.startDrag(b),this.mouseMoveHandler=mxUtils.bind(this,this.mouseMove),this.mouseUpHandler=mxUtils.bind(this,this.mouseUp),mxEvent.addGestureListeners(document,null,this.mouseMoveHandler,this.mouseUpHandler),mxClient.IS_TOUCH&&!mxEvent.isMouseEvent(b)&&(this.eventSource=mxEvent.getSource(b),mxEvent.addGestureListeners(this.eventSource,null,this.mouseMoveHandler,this.mouseUpHandler)))};
mxDragSource.prototype.startDrag=function(b){this.dragElement=this.createDragElement(b);this.dragElement.style.position="absolute";this.dragElement.style.zIndex=this.dragElementZIndex;mxUtils.setOpacity(this.dragElement,this.dragElementOpacity)};mxDragSource.prototype.stopDrag=function(){this.removeDragElement()};
mxDragSource.prototype.removeDragElement=function(){null!=this.dragElement&&(null!=this.dragElement.parentNode&&this.dragElement.parentNode.removeChild(this.dragElement),this.dragElement=null)};mxDragSource.prototype.graphContainsEvent=function(b,c){var f=mxEvent.getClientX(c),d=mxEvent.getClientY(c),a=mxUtils.getOffset(b.container),e=mxUtils.getScrollOrigin();return f>=a.x-e.x&&d>=a.y-e.y&&f<=a.x-e.x+b.container.offsetWidth&&d<=a.y-e.y+b.container.offsetHeight};
mxDragSource.prototype.mouseMove=function(b){var c=this.getGraphForEvent(b);null!=c&&!this.graphContainsEvent(c,b)&&(c=null);c!=this.currentGraph&&(null!=this.currentGraph&&this.dragExit(this.currentGraph,b),this.currentGraph=c,null!=this.currentGraph&&this.dragEnter(this.currentGraph,b));null!=this.currentGraph&&this.dragOver(this.currentGraph,b);if(null!=this.dragElement&&(null==this.previewElement||"visible"!=this.previewElement.style.visibility)){var c=mxEvent.getClientX(b),f=mxEvent.getClientY(b);
null==this.dragElement.parentNode&&document.body.appendChild(this.dragElement);this.dragElement.style.visibility="visible";null!=this.dragOffset&&(c+=this.dragOffset.x,f+=this.dragOffset.y);var d=mxUtils.getDocumentScrollOrigin(document);this.dragElement.style.left=c+d.x+"px";this.dragElement.style.top=f+d.y+"px"}else null!=this.dragElement&&(this.dragElement.style.visibility="hidden");mxEvent.consume(b)};
mxDragSource.prototype.mouseUp=function(b){if(null!=this.currentGraph){if(null!=this.currentPoint&&(null==this.previewElement||"hidden"!=this.previewElement.style.visibility)){var c=this.currentGraph.view.scale,f=this.currentGraph.view.translate;this.drop(this.currentGraph,b,this.currentDropTarget,this.currentPoint.x/c-f.x,this.currentPoint.y/c-f.y)}this.dragExit(this.currentGraph);this.currentGraph=null}this.stopDrag();this.removeListeners();mxEvent.consume(b)};
mxDragSource.prototype.removeListeners=function(){null!=this.eventSource&&(mxEvent.removeGestureListeners(this.eventSource,null,this.mouseMoveHandler,this.mouseUpHandler),this.eventSource=null);mxEvent.removeGestureListeners(document,null,this.mouseMoveHandler,this.mouseUpHandler);this.mouseUpHandler=this.mouseMoveHandler=null};
mxDragSource.prototype.dragEnter=function(b,c){b.isMouseDown=!0;b.isMouseTrigger=mxEvent.isMouseEvent(c);this.previewElement=this.createPreviewElement(b);this.isGuidesEnabled()&&null!=this.previewElement&&(this.currentGuide=new mxGuide(b,b.graphHandler.getGuideStates()));this.highlightDropTargets&&(this.currentHighlight=new mxCellHighlight(b,mxConstants.DROP_TARGET_COLOR));b.addListener(mxEvent.FIRE_MOUSE_EVENT,this.eventConsumer)};
mxDragSource.prototype.dragExit=function(b,c){this.currentPoint=this.currentDropTarget=null;b.isMouseDown=!1;b.removeListener(this.eventConsumer);null!=this.previewElement&&(null!=this.previewElement.parentNode&&this.previewElement.parentNode.removeChild(this.previewElement),this.previewElement=null);null!=this.currentGuide&&(this.currentGuide.destroy(),this.currentGuide=null);null!=this.currentHighlight&&(this.currentHighlight.destroy(),this.currentHighlight=null)};
mxDragSource.prototype.dragOver=function(b,c){var f=mxUtils.getOffset(b.container),d=mxUtils.getScrollOrigin(b.container),a=mxEvent.getClientX(c)-f.x+d.x-b.panDx,f=mxEvent.getClientY(c)-f.y+d.y-b.panDy;b.autoScroll&&(null==this.autoscroll||this.autoscroll)&&b.scrollPointToVisible(a,f,b.autoExtend);null!=this.currentHighlight&&b.isDropEnabled()&&(this.currentDropTarget=this.getDropTarget(b,a,f,c),d=b.getView().getState(this.currentDropTarget),this.currentHighlight.highlight(d));if(null!=this.previewElement){null==
this.previewElement.parentNode&&(b.container.appendChild(this.previewElement),this.previewElement.style.zIndex="3",this.previewElement.style.position="absolute");var d=this.isGridEnabled()&&b.isGridEnabledEvent(c),e=!0;if(null!=this.currentGuide&&this.currentGuide.isEnabledForEvent(c))var e=parseInt(this.previewElement.style.width),g=parseInt(this.previewElement.style.height),e=new mxRectangle(0,0,e,g),f=new mxPoint(a,f),f=this.currentGuide.move(e,f,d),e=!1,a=f.x,f=f.y;else if(d)var d=b.view.scale,
g=b.view.translate,k=b.gridSize/2,a=(b.snap(a/d-g.x-k)+g.x)*d,f=(b.snap(f/d-g.y-k)+g.y)*d;null!=this.currentGuide&&e&&this.currentGuide.hide();null!=this.previewOffset&&(a+=this.previewOffset.x,f+=this.previewOffset.y);this.previewElement.style.left=Math.round(a)+"px";this.previewElement.style.top=Math.round(f)+"px";this.previewElement.style.visibility="visible"}this.currentPoint=new mxPoint(a,f)};
mxDragSource.prototype.drop=function(b,c,f,d,a){this.dropHandler(b,c,f,d,a);"hidden"!=b.container.style.visibility&&b.container.focus()};function mxToolbar(b){this.container=b}mxToolbar.prototype=new mxEventSource;mxToolbar.prototype.constructor=mxToolbar;mxToolbar.prototype.container=null;mxToolbar.prototype.enabled=!0;mxToolbar.prototype.noReset=!1;mxToolbar.prototype.updateDefaultMode=!0;
mxToolbar.prototype.addItem=function(b,c,f,d,a,e){var g=document.createElement(null!=c?"img":"button"),k=a||(null!=e?"mxToolbarMode":"mxToolbarItem");g.className=k;g.setAttribute("src",c);null!=b&&(null!=c?g.setAttribute("title",b):mxUtils.write(g,b));this.container.appendChild(g);null!=f&&(mxEvent.addListener(g,"click",f),mxClient.IS_TOUCH&&mxEvent.addListener(g,"touchend",f));b=mxUtils.bind(this,function(a){null!=d?g.setAttribute("src",c):g.style.backgroundColor=""});mxEvent.addGestureListeners(g,
mxUtils.bind(this,function(a){null!=d?g.setAttribute("src",d):g.style.backgroundColor="gray";if(null!=e){null==this.menu&&(this.menu=new mxPopupMenu,this.menu.init());var b=this.currentImg;this.menu.isMenuShowing()&&this.menu.hideMenu();b!=g&&(this.currentImg=g,this.menu.factoryMethod=e,b=new mxPoint(g.offsetLeft,g.offsetTop+g.offsetHeight),this.menu.popup(b.x,b.y,null,a),this.menu.isMenuShowing()&&(g.className=k+"Selected",this.menu.hideMenu=function(){mxPopupMenu.prototype.hideMenu.apply(this);
g.className=k;this.currentImg=null}))}}),null,b);mxEvent.addListener(g,"mouseout",b);return g};mxToolbar.prototype.addCombo=function(b){var c=document.createElement("div");c.style.display="inline";c.className="mxToolbarComboContainer";var f=document.createElement("select");f.className=b||"mxToolbarCombo";c.appendChild(f);this.container.appendChild(c);return f};
mxToolbar.prototype.addActionCombo=function(b,c){var f=document.createElement("select");f.className=c||"mxToolbarCombo";this.addOption(f,b,null);mxEvent.addListener(f,"change",function(b){var a=f.options[f.selectedIndex];f.selectedIndex=0;null!=a.funct&&a.funct(b)});this.container.appendChild(f);return f};mxToolbar.prototype.addOption=function(b,c,f){var d=document.createElement("option");mxUtils.writeln(d,c);"function"==typeof f?d.funct=f:d.setAttribute("value",f);b.appendChild(d);return d};
mxToolbar.prototype.addSwitchMode=function(b,c,f,d,a){var e=document.createElement("img");e.initialClassName=a||"mxToolbarMode";e.className=e.initialClassName;e.setAttribute("src",c);e.altIcon=d;null!=b&&e.setAttribute("title",b);mxEvent.addListener(e,"click",mxUtils.bind(this,function(a){a=this.selectedMode.altIcon;null!=a?(this.selectedMode.altIcon=this.selectedMode.getAttribute("src"),this.selectedMode.setAttribute("src",a)):this.selectedMode.className=this.selectedMode.initialClassName;this.updateDefaultMode&&
(this.defaultMode=e);this.selectedMode=e;a=e.altIcon;null!=a?(e.altIcon=e.getAttribute("src"),e.setAttribute("src",a)):e.className=e.initialClassName+"Selected";this.fireEvent(new mxEventObject(mxEvent.SELECT));f()}));this.container.appendChild(e);null==this.defaultMode&&(this.defaultMode=e,this.selectMode(e),f());return e};
mxToolbar.prototype.addMode=function(b,c,f,d,a,e){e=null!=e?e:!0;var g=document.createElement(null!=c?"img":"button");g.initialClassName=a||"mxToolbarMode";g.className=g.initialClassName;g.setAttribute("src",c);g.altIcon=d;null!=b&&g.setAttribute("title",b);this.enabled&&e&&(mxEvent.addListener(g,"click",mxUtils.bind(this,function(a){this.selectMode(g,f);this.noReset=!1})),mxEvent.addListener(g,"dblclick",mxUtils.bind(this,function(a){this.selectMode(g,f);this.noReset=!0})),null==this.defaultMode&&
(this.defaultMode=g,this.defaultFunction=f,this.selectMode(g,f)));this.container.appendChild(g);return g};
mxToolbar.prototype.selectMode=function(b,c){if(this.selectedMode!=b){if(null!=this.selectedMode){var f=this.selectedMode.altIcon;null!=f?(this.selectedMode.altIcon=this.selectedMode.getAttribute("src"),this.selectedMode.setAttribute("src",f)):this.selectedMode.className=this.selectedMode.initialClassName}this.selectedMode=b;f=this.selectedMode.altIcon;null!=f?(this.selectedMode.altIcon=this.selectedMode.getAttribute("src"),this.selectedMode.setAttribute("src",f)):this.selectedMode.className=this.selectedMode.initialClassName+
"Selected";this.fireEvent(new mxEventObject(mxEvent.SELECT,"function",c))}};mxToolbar.prototype.resetMode=function(b){(b||!this.noReset)&&this.selectedMode!=this.defaultMode&&this.selectMode(this.defaultMode,this.defaultFunction)};mxToolbar.prototype.addSeparator=function(b){return this.addItem(null,b,null)};mxToolbar.prototype.addBreak=function(){mxUtils.br(this.container)};
mxToolbar.prototype.addLine=function(){var b=document.createElement("hr");b.style.marginRight="6px";b.setAttribute("size","1");this.container.appendChild(b)};mxToolbar.prototype.destroy=function(){mxEvent.release(this.container);this.selectedMode=this.defaultFunction=this.defaultMode=this.container=null;null!=this.menu&&this.menu.destroy()};function mxUndoableEdit(b,c){this.source=b;this.changes=[];this.significant=null!=c?c:!0}mxUndoableEdit.prototype.source=null;
mxUndoableEdit.prototype.changes=null;mxUndoableEdit.prototype.significant=null;mxUndoableEdit.prototype.undone=!1;mxUndoableEdit.prototype.redone=!1;mxUndoableEdit.prototype.isEmpty=function(){return 0==this.changes.length};mxUndoableEdit.prototype.isSignificant=function(){return this.significant};mxUndoableEdit.prototype.add=function(b){this.changes.push(b)};mxUndoableEdit.prototype.notify=function(){};mxUndoableEdit.prototype.die=function(){};
mxUndoableEdit.prototype.undo=function(){if(!this.undone){this.source.fireEvent(new mxEventObject(mxEvent.START_EDIT));for(var b=this.changes.length-1;0<=b;b--){var c=this.changes[b];null!=c.execute?c.execute():null!=c.undo&&c.undo();this.source.fireEvent(new mxEventObject(mxEvent.EXECUTED,"change",c))}this.undone=!0;this.redone=!1;this.source.fireEvent(new mxEventObject(mxEvent.END_EDIT))}this.notify()};
mxUndoableEdit.prototype.redo=function(){if(!this.redone){this.source.fireEvent(new mxEventObject(mxEvent.START_EDIT));for(var b=this.changes.length,c=0;c<b;c++){var f=this.changes[c];null!=f.execute?f.execute():null!=f.redo&&f.redo();this.source.fireEvent(new mxEventObject(mxEvent.EXECUTED,"change",f))}this.undone=!1;this.redone=!0;this.source.fireEvent(new mxEventObject(mxEvent.END_EDIT))}this.notify()};function mxUndoManager(b){this.size=null!=b?b:100;this.clear()}mxUndoManager.prototype=new mxEventSource;
mxUndoManager.prototype.constructor=mxUndoManager;mxUndoManager.prototype.size=null;mxUndoManager.prototype.history=null;mxUndoManager.prototype.indexOfNextAdd=0;mxUndoManager.prototype.isEmpty=function(){return 0==this.history.length};mxUndoManager.prototype.clear=function(){this.history=[];this.indexOfNextAdd=0;this.fireEvent(new mxEventObject(mxEvent.CLEAR))};mxUndoManager.prototype.canUndo=function(){return 0<this.indexOfNextAdd};
mxUndoManager.prototype.undo=function(){for(;0<this.indexOfNextAdd;){var b=this.history[--this.indexOfNextAdd];b.undo();if(b.isSignificant()){this.fireEvent(new mxEventObject(mxEvent.UNDO,"edit",b));break}}};mxUndoManager.prototype.canRedo=function(){return this.indexOfNextAdd<this.history.length};
mxUndoManager.prototype.redo=function(){for(var b=this.history.length;this.indexOfNextAdd<b;){var c=this.history[this.indexOfNextAdd++];c.redo();if(c.isSignificant()){this.fireEvent(new mxEventObject(mxEvent.REDO,"edit",c));break}}};mxUndoManager.prototype.undoableEditHappened=function(b){this.trim();0<this.size&&this.size==this.history.length&&this.history.shift();this.history.push(b);this.indexOfNextAdd=this.history.length;this.fireEvent(new mxEventObject(mxEvent.ADD,"edit",b))};
mxUndoManager.prototype.trim=function(){if(this.history.length>this.indexOfNextAdd)for(var b=this.history.splice(this.indexOfNextAdd,this.history.length-this.indexOfNextAdd),c=0;c<b.length;c++)b[c].die()};var mxUrlConverter=function(){};mxUrlConverter.prototype.enabled=!0;mxUrlConverter.prototype.baseUrl=null;mxUrlConverter.prototype.baseDomain=null;
mxUrlConverter.prototype.updateBaseUrl=function(){this.baseDomain=location.protocol+"//"+location.host;this.baseUrl=this.baseDomain+location.pathname;var b=this.baseUrl.lastIndexOf("/");0<b&&(this.baseUrl=this.baseUrl.substring(0,b+1))};mxUrlConverter.prototype.isEnabled=function(){return this.enabled};mxUrlConverter.prototype.setEnabled=function(b){this.enabled=b};mxUrlConverter.prototype.getBaseUrl=function(){return this.baseUrl};mxUrlConverter.prototype.setBaseUrl=function(b){this.baseUrl=b};
mxUrlConverter.prototype.getBaseDomain=function(){return this.baseDomain};mxUrlConverter.prototype.setBaseDomain=function(b){this.baseDomain=b};mxUrlConverter.prototype.isRelativeUrl=function(b){return"//"!=b.substring(0,2)&&"http://"!=b.substring(0,7)&&"https://"!=b.substring(0,8)&&"data:image"!=b.substring(0,10)};
mxUrlConverter.prototype.convert=function(b){this.isEnabled()&&this.isRelativeUrl(b)&&(null==this.getBaseUrl()&&this.updateBaseUrl(),b="/"==b.charAt(0)?this.getBaseDomain()+b:this.getBaseUrl()+b);return b};
function mxPanningManager(b){this.thread=null;this.active=!1;this.dy=this.dx=this.t0y=this.t0x=this.tdy=this.tdx=0;this.scrollbars=!1;this.scrollTop=this.scrollLeft=0;this.mouseListener={mouseDown:function(b,d){},mouseMove:function(b,d){},mouseUp:mxUtils.bind(this,function(b,d){this.active&&this.stop()})};b.addMouseListener(this.mouseListener);mxEvent.addListener(document,"mouseup",mxUtils.bind(this,function(){this.active&&this.stop()}));var c=mxUtils.bind(this,function(){this.scrollbars=mxUtils.hasScrollbars(b.container);
this.scrollLeft=b.container.scrollLeft;this.scrollTop=b.container.scrollTop;return window.setInterval(mxUtils.bind(this,function(){this.tdx-=this.dx;this.tdy-=this.dy;if(this.scrollbars){var c=-b.container.scrollLeft-Math.ceil(this.dx),d=-b.container.scrollTop-Math.ceil(this.dy);b.panGraph(c,d);b.panDx=this.scrollLeft-b.container.scrollLeft;b.panDy=this.scrollTop-b.container.scrollTop;b.fireEvent(new mxEventObject(mxEvent.PAN))}else b.panGraph(this.getDx(),this.getDy())}),this.delay)});this.isActive=
function(){return active};this.getDx=function(){return Math.round(this.tdx)};this.getDy=function(){return Math.round(this.tdy)};this.start=function(){this.t0x=b.view.translate.x;this.t0y=b.view.translate.y;this.active=!0};this.panTo=function(f,d,a,e){this.active||this.start();this.scrollLeft=b.container.scrollLeft;this.scrollTop=b.container.scrollTop;e=null!=e?e:0;var g=b.container;this.dx=f+(null!=a?a:0)-g.scrollLeft-g.clientWidth;0>this.dx&&Math.abs(this.dx)<this.border?this.dx=this.border+this.dx:
this.dx=this.handleMouseOut?Math.max(this.dx,0):0;0==this.dx&&(this.dx=f-g.scrollLeft,this.dx=0<this.dx&&this.dx<this.border?this.dx-this.border:this.handleMouseOut?Math.min(0,this.dx):0);this.dy=d+e-g.scrollTop-g.clientHeight;0>this.dy&&Math.abs(this.dy)<this.border?this.dy=this.border+this.dy:this.dy=this.handleMouseOut?Math.max(this.dy,0):0;0==this.dy&&(this.dy=d-g.scrollTop,this.dy=0<this.dy&&this.dy<this.border?this.dy-this.border:this.handleMouseOut?Math.min(0,this.dy):0);0!=this.dx||0!=this.dy?
(this.dx*=this.damper,this.dy*=this.damper,null==this.thread&&(this.thread=c())):null!=this.thread&&(window.clearInterval(this.thread),this.thread=null)};this.stop=function(){if(this.active)if(this.active=!1,null!=this.thread&&(window.clearInterval(this.thread),this.thread=null),this.tdy=this.tdx=0,this.scrollbars)b.panDx=0,b.panDy=0,b.fireEvent(new mxEventObject(mxEvent.PAN));else{var c=b.panDx,d=b.panDy;if(0!=c||0!=d)b.panGraph(0,0),b.view.setTranslate(this.t0x+c/b.view.scale,this.t0y+d/b.view.scale)}};
this.destroy=function(){b.removeMouseListener(this.mouseListener)}}mxPanningManager.prototype.damper=1/6;mxPanningManager.prototype.delay=10;mxPanningManager.prototype.handleMouseOut=!0;mxPanningManager.prototype.border=0;function mxPopupMenu(b){this.factoryMethod=b;null!=b&&this.init()}mxPopupMenu.prototype=new mxEventSource;mxPopupMenu.prototype.constructor=mxPopupMenu;mxPopupMenu.prototype.submenuImage=mxClient.imageBasePath+"/submenu.gif";mxPopupMenu.prototype.zIndex=10006;
mxPopupMenu.prototype.factoryMethod=null;mxPopupMenu.prototype.useLeftButtonForPopup=!1;mxPopupMenu.prototype.enabled=!0;mxPopupMenu.prototype.itemCount=0;mxPopupMenu.prototype.autoExpand=!1;mxPopupMenu.prototype.smartSeparators=!1;mxPopupMenu.prototype.labels=!0;
mxPopupMenu.prototype.init=function(){this.table=document.createElement("table");this.table.className="mxPopupMenu";this.tbody=document.createElement("tbody");this.table.appendChild(this.tbody);this.div=document.createElement("div");this.div.className="mxPopupMenu";this.div.style.display="inline";this.div.style.zIndex=this.zIndex;this.div.appendChild(this.table);mxEvent.disableContextMenu(this.div)};mxPopupMenu.prototype.isEnabled=function(){return this.enabled};
mxPopupMenu.prototype.setEnabled=function(b){this.enabled=b};mxPopupMenu.prototype.isPopupTrigger=function(b){return b.isPopupTrigger()||this.useLeftButtonForPopup&&mxEvent.isLeftMouseButton(b.getEvent())};
mxPopupMenu.prototype.addItem=function(b,c,f,d,a,e,g){d=d||this;this.itemCount++;d.willAddSeparator&&(d.containsItems&&this.addSeparator(d,!0),d.willAddSeparator=!1);d.containsItems=!0;var k=document.createElement("tr");k.className="mxPopupMenuItem";var l=document.createElement("td");l.className="mxPopupMenuIcon";null!=c?(a=document.createElement("img"),a.src=c,l.appendChild(a)):null!=a&&(c=document.createElement("div"),c.className=a,l.appendChild(c));k.appendChild(l);this.labels&&(l=document.createElement("td"),
l.className="mxPopupMenuItem"+(null!=e&&!e?" mxDisabled":""),mxUtils.write(l,b),l.align="left",k.appendChild(l),b=document.createElement("td"),b.className="mxPopupMenuItem"+(null!=e&&!e?" mxDisabled":""),b.style.paddingRight="6px",b.style.textAlign="right",k.appendChild(b),null==d.div&&this.createSubmenu(d));d.tbody.appendChild(k);if(!1!=g&&!1!=e){var m=null;mxEvent.addGestureListeners(k,mxUtils.bind(this,function(a){this.eventReceiver=k;d.activeRow!=k&&d.activeRow!=d&&(null!=d.activeRow&&null!=d.activeRow.div.parentNode&&
this.hideSubmenu(d),null!=k.div&&(this.showSubmenu(d,k),d.activeRow=k));if(mxClient.IS_QUIRKS||8==document.documentMode)m=document.selection.createRange();mxEvent.consume(a)}),mxUtils.bind(this,function(a){d.activeRow!=k&&d.activeRow!=d&&(null!=d.activeRow&&null!=d.activeRow.div.parentNode&&this.hideSubmenu(d),this.autoExpand&&null!=k.div&&(this.showSubmenu(d,k),d.activeRow=k));k.className="mxPopupMenuItemHover"}),mxUtils.bind(this,function(a){if(this.eventReceiver==k){d.activeRow!=k&&this.hideMenu();
if(null!=m){try{m.select()}catch(b){}m=null}null!=f&&f(a)}this.eventReceiver=null;mxEvent.consume(a)}));mxEvent.addListener(k,"mouseout",mxUtils.bind(this,function(a){k.className="mxPopupMenuItem"}))}return k};mxPopupMenu.prototype.addCheckmark=function(b,c){var f=b.firstChild.nextSibling;f.style.backgroundImage="url('"+c+"')";f.style.backgroundRepeat="no-repeat";f.style.backgroundPosition="2px 50%"};
mxPopupMenu.prototype.createSubmenu=function(b){b.table=document.createElement("table");b.table.className="mxPopupMenu";b.tbody=document.createElement("tbody");b.table.appendChild(b.tbody);b.div=document.createElement("div");b.div.className="mxPopupMenu";b.div.style.position="absolute";b.div.style.display="inline";b.div.style.zIndex=this.zIndex;b.div.appendChild(b.table);var c=document.createElement("img");c.setAttribute("src",this.submenuImage);td=b.firstChild.nextSibling.nextSibling;td.appendChild(c)};
mxPopupMenu.prototype.showSubmenu=function(b,c){if(null!=c.div){c.div.style.left=b.div.offsetLeft+c.offsetLeft+c.offsetWidth-1+"px";c.div.style.top=b.div.offsetTop+c.offsetTop+"px";document.body.appendChild(c.div);var f=parseInt(c.div.offsetLeft),d=parseInt(c.div.offsetWidth),a=mxUtils.getDocumentScrollOrigin(document),e=document.documentElement;if(f+d>a.x+(document.body.clientWidth||e.clientWidth))c.div.style.left=b.div.offsetLeft-d+(mxClient.IS_IE?6:-6)+"px";mxUtils.fit(c.div)}};
mxPopupMenu.prototype.addSeparator=function(b,c){b=b||this;if(this.smartSeparators&&!c)b.willAddSeparator=!0;else if(null!=b.tbody){b.willAddSeparator=!1;var f=document.createElement("tr"),d=document.createElement("td");d.className="mxPopupMenuIcon";d.style.padding="0 0 0 0px";f.appendChild(d);d=document.createElement("td");d.style.padding="0 0 0 0px";d.setAttribute("colSpan","2");var a=document.createElement("hr");a.setAttribute("size","1");d.appendChild(a);f.appendChild(d);b.tbody.appendChild(f)}};
mxPopupMenu.prototype.popup=function(b,c,f,d){if(null!=this.div&&null!=this.tbody&&null!=this.factoryMethod){this.div.style.left=b+"px";for(this.div.style.top=c+"px";null!=this.tbody.firstChild;)mxEvent.release(this.tbody.firstChild),this.tbody.removeChild(this.tbody.firstChild);this.itemCount=0;this.factoryMethod(this,f,d);0<this.itemCount&&(this.showMenu(),this.fireEvent(new mxEventObject(mxEvent.SHOW)))}};
mxPopupMenu.prototype.isMenuShowing=function(){return null!=this.div&&this.div.parentNode==document.body};mxPopupMenu.prototype.showMenu=function(){9<=document.documentMode&&(this.div.style.filter="none");document.body.appendChild(this.div);mxUtils.fit(this.div)};mxPopupMenu.prototype.hideMenu=function(){null!=this.div&&(null!=this.div.parentNode&&this.div.parentNode.removeChild(this.div),this.hideSubmenu(this),this.containsItems=!1,this.fireEvent(new mxEventObject(mxEvent.HIDE)))};
mxPopupMenu.prototype.hideSubmenu=function(b){null!=b.activeRow&&(this.hideSubmenu(b.activeRow),null!=b.activeRow.div.parentNode&&b.activeRow.div.parentNode.removeChild(b.activeRow.div),b.activeRow=null)};mxPopupMenu.prototype.destroy=function(){null!=this.div&&(mxEvent.release(this.div),null!=this.div.parentNode&&this.div.parentNode.removeChild(this.div),this.div=null)};
function mxAutoSaveManager(b){this.changeHandler=mxUtils.bind(this,function(b,f){this.isEnabled()&&this.graphModelChanged(f.getProperty("edit").changes)});this.setGraph(b)}mxAutoSaveManager.prototype=new mxEventSource;mxAutoSaveManager.prototype.constructor=mxAutoSaveManager;mxAutoSaveManager.prototype.graph=null;mxAutoSaveManager.prototype.autoSaveDelay=10;mxAutoSaveManager.prototype.autoSaveThrottle=2;mxAutoSaveManager.prototype.autoSaveThreshold=5;mxAutoSaveManager.prototype.ignoredChanges=0;
mxAutoSaveManager.prototype.lastSnapshot=0;mxAutoSaveManager.prototype.enabled=!0;mxAutoSaveManager.prototype.changeHandler=null;mxAutoSaveManager.prototype.isEnabled=function(){return this.enabled};mxAutoSaveManager.prototype.setEnabled=function(b){this.enabled=b};mxAutoSaveManager.prototype.setGraph=function(b){null!=this.graph&&this.graph.getModel().removeListener(this.changeHandler);this.graph=b;null!=this.graph&&this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler)};
mxAutoSaveManager.prototype.save=function(){};mxAutoSaveManager.prototype.graphModelChanged=function(b){b=((new Date).getTime()-this.lastSnapshot)/1E3;b>this.autoSaveDelay||this.ignoredChanges>=this.autoSaveThreshold&&b>this.autoSaveThrottle?(this.save(),this.reset()):this.ignoredChanges++};mxAutoSaveManager.prototype.reset=function(){this.lastSnapshot=(new Date).getTime();this.ignoredChanges=0};mxAutoSaveManager.prototype.destroy=function(){this.setGraph(null)};
function mxAnimation(b){this.delay=null!=b?b:20}mxAnimation.prototype=new mxEventSource;mxAnimation.prototype.constructor=mxAnimation;mxAnimation.prototype.delay=null;mxAnimation.prototype.thread=null;mxAnimation.prototype.isRunning=function(){return null!=this.thread};mxAnimation.prototype.startAnimation=function(){null==this.thread&&(this.thread=window.setInterval(mxUtils.bind(this,this.updateAnimation),this.delay))};mxAnimation.prototype.updateAnimation=function(){this.fireEvent(new mxEventObject(mxEvent.EXECUTE))};
mxAnimation.prototype.stopAnimation=function(){null!=this.thread&&(window.clearInterval(this.thread),this.thread=null,this.fireEvent(new mxEventObject(mxEvent.DONE)))};function mxMorphing(b,c,f,d){mxAnimation.call(this,d);this.graph=b;this.steps=null!=c?c:6;this.ease=null!=f?f:1.5}mxMorphing.prototype=new mxAnimation;mxMorphing.prototype.constructor=mxMorphing;mxMorphing.prototype.graph=null;mxMorphing.prototype.steps=null;mxMorphing.prototype.step=0;mxMorphing.prototype.ease=null;
mxMorphing.prototype.cells=null;mxMorphing.prototype.updateAnimation=function(){var b=new mxCellStatePreview(this.graph);if(null!=this.cells)for(var c=0;c<this.cells.length;c++)this.animateCell(this.cells[c],b,!1);else this.animateCell(this.graph.getModel().getRoot(),b,!0);this.show(b);(b.isEmpty()||this.step++>=this.steps)&&this.stopAnimation()};mxMorphing.prototype.show=function(b){b.show()};
mxMorphing.prototype.animateCell=function(b,c,f){var d=this.graph.getView().getState(b),a=null;if(null!=d&&(a=this.getDelta(d),this.graph.getModel().isVertex(b)&&(0!=a.x||0!=a.y))){var e=this.graph.view.getTranslate(),g=this.graph.view.getScale();a.x+=e.x*g;a.y+=e.y*g;c.moveState(d,-a.x/this.ease,-a.y/this.ease)}if(f&&!this.stopRecursion(d,a)){d=this.graph.getModel().getChildCount(b);for(a=0;a<d;a++)this.animateCell(this.graph.getModel().getChildAt(b,a),c,f)}};
mxMorphing.prototype.stopRecursion=function(b,c){return null!=c&&(0!=c.x||0!=c.y)};mxMorphing.prototype.getDelta=function(b){var c=this.getOriginForCell(b.cell),f=this.graph.getView().getTranslate(),d=this.graph.getView().getScale();return new mxPoint((c.x-(b.x/d-f.x))*d,(c.y-(b.y/d-f.y))*d)};
mxMorphing.prototype.getOriginForCell=function(b){var c=null;if(null!=b){var f=this.graph.getModel().getParent(b);b=this.graph.getCellGeometry(b);c=this.getOriginForCell(f);null!=b&&(b.relative?(f=this.graph.getCellGeometry(f),null!=f&&(c.x+=b.x*f.width,c.y+=b.y*f.height)):(c.x+=b.x,c.y+=b.y))}null==c&&(c=this.graph.view.getTranslate(),c=new mxPoint(-c.x,-c.y));return c};function mxImageBundle(b){this.images=[];this.alt=null!=b?b:!1}mxImageBundle.prototype.images=null;
mxImageBundle.prototype.images=null;mxImageBundle.prototype.putImage=function(b,c,f){this.images[b]={value:c,fallback:f}};mxImageBundle.prototype.getImage=function(b){var c=null;null!=b&&(b=this.images[b],null!=b&&(c=this.alt?b.fallback:b.value));return c};function mxImageExport(){}mxImageExport.prototype.includeOverlays=!1;
mxImageExport.prototype.drawState=function(b,c){null!=b&&(this.visitStatesRecursive(b,c,mxUtils.bind(this,function(){this.drawCellState.apply(this,arguments)})),this.includeOverlays&&this.visitStatesRecursive(b,c,mxUtils.bind(this,function(){this.drawOverlays.apply(this,arguments)})))};
mxImageExport.prototype.visitStatesRecursive=function(b,c,f){if(null!=b){f(b,c);for(var d=b.view.graph,a=d.model.getChildCount(b.cell),e=0;e<a;e++){var g=d.view.getState(d.model.getChildAt(b.cell,e));this.visitStatesRecursive(g,c,f)}}};mxImageExport.prototype.getLinkForCellState=function(b,c){return null};mxImageExport.prototype.drawCellState=function(b,c){var f=this.getLinkForCellState(b,c);null!=f&&c.setLink(f);this.drawShape(b,c);this.drawText(b,c);null!=f&&c.setLink(null)};
mxImageExport.prototype.drawShape=function(b,c){b.shape instanceof mxShape&&b.shape.checkBounds()&&(c.save(),b.shape.paint(c),c.restore())};mxImageExport.prototype.drawText=function(b,c){null!=b.text&&b.text.checkBounds()&&(c.save(),b.text.paint(c),c.restore())};mxImageExport.prototype.drawOverlays=function(b,c){null!=b.overlays&&b.overlays.visit(function(b,d){d instanceof mxShape&&d.paint(c)})};function mxAbstractCanvas2D(){this.converter=this.createUrlConverter();this.reset()}
mxAbstractCanvas2D.prototype.state=null;mxAbstractCanvas2D.prototype.states=null;mxAbstractCanvas2D.prototype.path=null;mxAbstractCanvas2D.prototype.rotateHtml=!0;mxAbstractCanvas2D.prototype.lastX=0;mxAbstractCanvas2D.prototype.lastY=0;mxAbstractCanvas2D.prototype.moveOp="M";mxAbstractCanvas2D.prototype.lineOp="L";mxAbstractCanvas2D.prototype.quadOp="Q";mxAbstractCanvas2D.prototype.curveOp="C";mxAbstractCanvas2D.prototype.closeOp="Z";mxAbstractCanvas2D.prototype.pointerEvents=!1;
mxAbstractCanvas2D.prototype.createUrlConverter=function(){return new mxUrlConverter};mxAbstractCanvas2D.prototype.reset=function(){this.state=this.createState();this.states=[]};
mxAbstractCanvas2D.prototype.createState=function(){return{dx:0,dy:0,scale:1,alpha:1,fillAlpha:1,strokeAlpha:1,fillColor:null,gradientFillAlpha:1,gradientColor:null,gradientAlpha:1,gradientDirection:null,strokeColor:null,strokeWidth:1,dashed:!1,dashPattern:"3 3",lineCap:"flat",lineJoin:"miter",miterLimit:10,fontColor:"#000000",fontBackgroundColor:null,fontBorderColor:null,fontSize:mxConstants.DEFAULT_FONTSIZE,fontFamily:mxConstants.DEFAULT_FONTFAMILY,fontStyle:0,shadow:!1,shadowColor:mxConstants.SHADOWCOLOR,
shadowAlpha:mxConstants.SHADOW_OPACITY,shadowDx:mxConstants.SHADOW_OFFSET_X,shadowDy:mxConstants.SHADOW_OFFSET_Y,rotation:0,rotationCx:0,rotationCy:0}};mxAbstractCanvas2D.prototype.format=function(b){return Math.round(parseFloat(b))};
mxAbstractCanvas2D.prototype.addOp=function(){if(null!=this.path&&(this.path.push(arguments[0]),2<arguments.length))for(var b=this.state,c=2;c<arguments.length;c+=2)this.lastX=arguments[c-1],this.lastY=arguments[c],this.path.push(this.format((this.lastX+b.dx)*b.scale)),this.path.push(this.format((this.lastY+b.dy)*b.scale))};mxAbstractCanvas2D.prototype.rotatePoint=function(b,c,f,d,a){f*=Math.PI/180;return mxUtils.getRotatedPoint(new mxPoint(b,c),Math.cos(f),Math.sin(f),new mxPoint(d,a))};
mxAbstractCanvas2D.prototype.save=function(){this.states.push(this.state);this.state=mxUtils.clone(this.state)};mxAbstractCanvas2D.prototype.restore=function(){0<this.states.length&&(this.state=this.states.pop())};mxAbstractCanvas2D.prototype.setLink=function(b){};mxAbstractCanvas2D.prototype.scale=function(b){this.state.scale*=b;this.state.strokeWidth*=b};mxAbstractCanvas2D.prototype.translate=function(b,c){this.state.dx+=b;this.state.dy+=c};mxAbstractCanvas2D.prototype.rotate=function(b,c,f,d,a){};
mxAbstractCanvas2D.prototype.setAlpha=function(b){this.state.alpha=b};mxAbstractCanvas2D.prototype.setFillAlpha=function(b){this.state.fillAlpha=b};mxAbstractCanvas2D.prototype.setStrokeAlpha=function(b){this.state.strokeAlpha=b};mxAbstractCanvas2D.prototype.setFillColor=function(b){b==mxConstants.NONE&&(b=null);this.state.fillColor=b;this.state.gradientColor=null};
mxAbstractCanvas2D.prototype.setGradient=function(b,c,f,d,a,e,g,k,l){f=this.state;f.fillColor=b;f.gradientFillAlpha=null!=k?k:1;f.gradientColor=c;f.gradientAlpha=null!=l?l:1;f.gradientDirection=g};mxAbstractCanvas2D.prototype.setStrokeColor=function(b){b==mxConstants.NONE&&(b=null);this.state.strokeColor=b};mxAbstractCanvas2D.prototype.setStrokeWidth=function(b){this.state.strokeWidth=b};mxAbstractCanvas2D.prototype.setDashed=function(b){this.state.dashed=b};
mxAbstractCanvas2D.prototype.setDashPattern=function(b){this.state.dashPattern=b};mxAbstractCanvas2D.prototype.setLineCap=function(b){this.state.lineCap=b};mxAbstractCanvas2D.prototype.setLineJoin=function(b){this.state.lineJoin=b};mxAbstractCanvas2D.prototype.setMiterLimit=function(b){this.state.miterLimit=b};mxAbstractCanvas2D.prototype.setFontColor=function(b){b==mxConstants.NONE&&(b=null);this.state.fontColor=b};
mxAbstractCanvas2D.prototype.setFontBackgroundColor=function(b){b==mxConstants.NONE&&(b=null);this.state.fontBackgroundColor=b};mxAbstractCanvas2D.prototype.setFontBorderColor=function(b){b==mxConstants.NONE&&(b=null);this.state.fontBorderColor=b};mxAbstractCanvas2D.prototype.setFontSize=function(b){this.state.fontSize=parseFloat(b)};mxAbstractCanvas2D.prototype.setFontFamily=function(b){this.state.fontFamily=b};
mxAbstractCanvas2D.prototype.setFontStyle=function(b){null==b&&(b=0);this.state.fontStyle=b};mxAbstractCanvas2D.prototype.setShadow=function(b){this.state.shadow=b};mxAbstractCanvas2D.prototype.setShadowColor=function(b){b==mxConstants.NONE&&(b=null);this.state.shadowColor=b};mxAbstractCanvas2D.prototype.setShadowAlpha=function(b){this.state.shadowAlpha=b};mxAbstractCanvas2D.prototype.setShadowOffset=function(b,c){this.state.shadowDx=b;this.state.shadowDy=c};
mxAbstractCanvas2D.prototype.begin=function(){this.lastY=this.lastX=0;this.path=[]};mxAbstractCanvas2D.prototype.moveTo=function(b,c){this.addOp(this.moveOp,b,c)};mxAbstractCanvas2D.prototype.lineTo=function(b,c){this.addOp(this.lineOp,b,c)};mxAbstractCanvas2D.prototype.quadTo=function(b,c,f,d){this.addOp(this.quadOp,b,c,f,d)};mxAbstractCanvas2D.prototype.curveTo=function(b,c,f,d,a,e){this.addOp(this.curveOp,b,c,f,d,a,e)};
mxAbstractCanvas2D.prototype.arcTo=function(b,c,f,d,a,e,g){b=mxUtils.arcToCurves(this.lastX,this.lastY,b,c,f,d,a,e,g);if(null!=b)for(c=0;c<b.length;c+=6)this.curveTo(b[c],b[c+1],b[c+2],b[c+3],b[c+4],b[c+5])};mxAbstractCanvas2D.prototype.close=function(b,c,f,d,a,e){this.addOp(this.closeOp)};mxAbstractCanvas2D.prototype.end=function(){};function mxXmlCanvas2D(b){mxAbstractCanvas2D.call(this);this.root=b;this.writeDefaults()}mxUtils.extend(mxXmlCanvas2D,mxAbstractCanvas2D);
mxXmlCanvas2D.prototype.textEnabled=!0;mxXmlCanvas2D.prototype.compressed=!0;
mxXmlCanvas2D.prototype.writeDefaults=function(){var b;b=this.createElement("fontfamily");b.setAttribute("family",mxConstants.DEFAULT_FONTFAMILY);this.root.appendChild(b);b=this.createElement("fontsize");b.setAttribute("size",mxConstants.DEFAULT_FONTSIZE);this.root.appendChild(b);b=this.createElement("shadowcolor");b.setAttribute("color",mxConstants.SHADOWCOLOR);this.root.appendChild(b);b=this.createElement("shadowalpha");b.setAttribute("alpha",mxConstants.SHADOW_OPACITY);this.root.appendChild(b);
b=this.createElement("shadowoffset");b.setAttribute("dx",mxConstants.SHADOW_OFFSET_X);b.setAttribute("dy",mxConstants.SHADOW_OFFSET_Y);this.root.appendChild(b)};mxXmlCanvas2D.prototype.format=function(b){return parseFloat(parseFloat(b).toFixed(2))};mxXmlCanvas2D.prototype.createElement=function(b){return this.root.ownerDocument.createElement(b)};mxXmlCanvas2D.prototype.save=function(){this.compressed&&mxAbstractCanvas2D.prototype.save.apply(this,arguments);this.root.appendChild(this.createElement("save"))};
mxXmlCanvas2D.prototype.restore=function(){this.compressed&&mxAbstractCanvas2D.prototype.restore.apply(this,arguments);this.root.appendChild(this.createElement("restore"))};mxXmlCanvas2D.prototype.scale=function(b){var c=this.createElement("scale");c.setAttribute("scale",b);this.root.appendChild(c)};mxXmlCanvas2D.prototype.translate=function(b,c){var f=this.createElement("translate");f.setAttribute("dx",this.format(b));f.setAttribute("dy",this.format(c));this.root.appendChild(f)};
mxXmlCanvas2D.prototype.rotate=function(b,c,f,d,a){var e=this.createElement("rotate");if(0!=b||c||f)e.setAttribute("theta",this.format(b)),e.setAttribute("flipH",c?"1":"0"),e.setAttribute("flipV",f?"1":"0"),e.setAttribute("cx",this.format(d)),e.setAttribute("cy",this.format(a)),this.root.appendChild(e)};
mxXmlCanvas2D.prototype.setAlpha=function(b){if(this.compressed){if(this.state.alpha==b)return;mxAbstractCanvas2D.prototype.setAlpha.apply(this,arguments)}var c=this.createElement("alpha");c.setAttribute("alpha",this.format(b));this.root.appendChild(c)};mxXmlCanvas2D.prototype.setFillAlpha=function(b){if(this.compressed){if(this.state.fillAlpha==b)return;mxAbstractCanvas2D.prototype.setFillAlpha.apply(this,arguments)}var c=this.createElement("fillalpha");c.setAttribute("alpha",this.format(b));this.root.appendChild(c)};
mxXmlCanvas2D.prototype.setStrokeAlpha=function(b){if(this.compressed){if(this.state.strokeAlpha==b)return;mxAbstractCanvas2D.prototype.setStrokeAlpha.apply(this,arguments)}var c=this.createElement("strokealpha");c.setAttribute("alpha",this.format(b));this.root.appendChild(c)};
mxXmlCanvas2D.prototype.setFillColor=function(b){b==mxConstants.NONE&&(b=null);if(this.compressed){if(this.state.fillColor==b)return;mxAbstractCanvas2D.prototype.setFillColor.apply(this,arguments)}var c=this.createElement("fillcolor");c.setAttribute("color",null!=b?b:mxConstants.NONE);this.root.appendChild(c)};
mxXmlCanvas2D.prototype.setGradient=function(b,c,f,d,a,e,g,k,l){if(null!=b&&null!=c){mxAbstractCanvas2D.prototype.setGradient.apply(this,arguments);var m=this.createElement("gradient");m.setAttribute("c1",b);m.setAttribute("c2",c);m.setAttribute("x",this.format(f));m.setAttribute("y",this.format(d));m.setAttribute("w",this.format(a));m.setAttribute("h",this.format(e));null!=g&&m.setAttribute("direction",g);null!=k&&m.setAttribute("alpha1",k);null!=l&&m.setAttribute("alpha2",l);this.root.appendChild(m)}};
mxXmlCanvas2D.prototype.setStrokeColor=function(b){b==mxConstants.NONE&&(b=null);if(this.compressed){if(this.state.strokeColor==b)return;mxAbstractCanvas2D.prototype.setStrokeColor.apply(this,arguments)}var c=this.createElement("strokecolor");c.setAttribute("color",null!=b?b:mxConstants.NONE);this.root.appendChild(c)};
mxXmlCanvas2D.prototype.setStrokeWidth=function(b){if(this.compressed){if(this.state.strokeWidth==b)return;mxAbstractCanvas2D.prototype.setStrokeWidth.apply(this,arguments)}var c=this.createElement("strokewidth");c.setAttribute("width",this.format(b));this.root.appendChild(c)};
mxXmlCanvas2D.prototype.setDashed=function(b){if(this.compressed){if(this.state.dashed==b)return;mxAbstractCanvas2D.prototype.setDashed.apply(this,arguments)}var c=this.createElement("dashed");c.setAttribute("dashed",b?"1":"0");this.root.appendChild(c)};mxXmlCanvas2D.prototype.setDashPattern=function(b){if(this.compressed){if(this.state.dashPattern==b)return;mxAbstractCanvas2D.prototype.setDashPattern.apply(this,arguments)}var c=this.createElement("dashpattern");c.setAttribute("pattern",b);this.root.appendChild(c)};
mxXmlCanvas2D.prototype.setLineCap=function(b){if(this.compressed){if(this.state.lineCap==b)return;mxAbstractCanvas2D.prototype.setLineCap.apply(this,arguments)}var c=this.createElement("linecap");c.setAttribute("cap",b);this.root.appendChild(c)};mxXmlCanvas2D.prototype.setLineJoin=function(b){if(this.compressed){if(this.state.lineJoin==b)return;mxAbstractCanvas2D.prototype.setLineJoin.apply(this,arguments)}var c=this.createElement("linejoin");c.setAttribute("join",b);this.root.appendChild(c)};
mxXmlCanvas2D.prototype.setMiterLimit=function(b){if(this.compressed){if(this.state.miterLimit==b)return;mxAbstractCanvas2D.prototype.setMiterLimit.apply(this,arguments)}var c=this.createElement("miterlimit");c.setAttribute("limit",b);this.root.appendChild(c)};
mxXmlCanvas2D.prototype.setFontColor=function(b){if(this.textEnabled){b==mxConstants.NONE&&(b=null);if(this.compressed){if(this.state.fontColor==b)return;mxAbstractCanvas2D.prototype.setFontColor.apply(this,arguments)}var c=this.createElement("fontcolor");c.setAttribute("color",null!=b?b:mxConstants.NONE);this.root.appendChild(c)}};
mxXmlCanvas2D.prototype.setFontBackgroundColor=function(b){if(this.textEnabled){b==mxConstants.NONE&&(b=null);if(this.compressed){if(this.state.fontBackgroundColor==b)return;mxAbstractCanvas2D.prototype.setFontBackgroundColor.apply(this,arguments)}var c=this.createElement("fontbackgroundcolor");c.setAttribute("color",null!=b?b:mxConstants.NONE);this.root.appendChild(c)}};
mxXmlCanvas2D.prototype.setFontBorderColor=function(b){if(this.textEnabled){b==mxConstants.NONE&&(b=null);if(this.compressed){if(this.state.fontBorderColor==b)return;mxAbstractCanvas2D.prototype.setFontBorderColor.apply(this,arguments)}var c=this.createElement("fontbordercolor");c.setAttribute("color",null!=b?b:mxConstants.NONE);this.root.appendChild(c)}};
mxXmlCanvas2D.prototype.setFontSize=function(b){if(this.textEnabled){if(this.compressed){if(this.state.fontSize==b)return;mxAbstractCanvas2D.prototype.setFontSize.apply(this,arguments)}var c=this.createElement("fontsize");c.setAttribute("size",b);this.root.appendChild(c)}};
mxXmlCanvas2D.prototype.setFontFamily=function(b){if(this.textEnabled){if(this.compressed){if(this.state.fontFamily==b)return;mxAbstractCanvas2D.prototype.setFontFamily.apply(this,arguments)}var c=this.createElement("fontfamily");c.setAttribute("family",b);this.root.appendChild(c)}};
mxXmlCanvas2D.prototype.setFontStyle=function(b){if(this.textEnabled){null==b&&(b=0);if(this.compressed){if(this.state.fontStyle==b)return;mxAbstractCanvas2D.prototype.setFontStyle.apply(this,arguments)}var c=this.createElement("fontstyle");c.setAttribute("style",b);this.root.appendChild(c)}};
mxXmlCanvas2D.prototype.setShadow=function(b){if(this.compressed){if(this.state.shadow==b)return;mxAbstractCanvas2D.prototype.setShadow.apply(this,arguments)}var c=this.createElement("shadow");c.setAttribute("enabled",b?"1":"0");this.root.appendChild(c)};
mxXmlCanvas2D.prototype.setShadowColor=function(b){if(this.compressed){b==mxConstants.NONE&&(b=null);if(this.state.shadowColor==b)return;mxAbstractCanvas2D.prototype.setShadowColor.apply(this,arguments)}var c=this.createElement("shadowcolor");c.setAttribute("color",null!=b?b:mxConstants.NONE);this.root.appendChild(c)};
mxXmlCanvas2D.prototype.setShadowAlpha=function(b){if(this.compressed){if(this.state.shadowAlpha==b)return;mxAbstractCanvas2D.prototype.setShadowAlpha.apply(this,arguments)}var c=this.createElement("shadowalpha");c.setAttribute("alpha",b);this.root.appendChild(c)};
mxXmlCanvas2D.prototype.setShadowOffset=function(b,c){if(this.compressed){if(this.state.shadowDx==b&&this.state.shadowDy==c)return;mxAbstractCanvas2D.prototype.setShadowOffset.apply(this,arguments)}var f=this.createElement("shadowoffset");f.setAttribute("dx",b);f.setAttribute("dy",c);this.root.appendChild(f)};
mxXmlCanvas2D.prototype.rect=function(b,c,f,d){var a=this.createElement("rect");a.setAttribute("x",this.format(b));a.setAttribute("y",this.format(c));a.setAttribute("w",this.format(f));a.setAttribute("h",this.format(d));this.root.appendChild(a)};
mxXmlCanvas2D.prototype.roundrect=function(b,c,f,d,a,e){var g=this.createElement("roundrect");g.setAttribute("x",this.format(b));g.setAttribute("y",this.format(c));g.setAttribute("w",this.format(f));g.setAttribute("h",this.format(d));g.setAttribute("dx",this.format(a));g.setAttribute("dy",this.format(e));this.root.appendChild(g)};
mxXmlCanvas2D.prototype.ellipse=function(b,c,f,d){var a=this.createElement("ellipse");a.setAttribute("x",this.format(b));a.setAttribute("y",this.format(c));a.setAttribute("w",this.format(f));a.setAttribute("h",this.format(d));this.root.appendChild(a)};
mxXmlCanvas2D.prototype.image=function(b,c,f,d,a,e,g,k){a=this.converter.convert(a);var l=this.createElement("image");l.setAttribute("x",this.format(b));l.setAttribute("y",this.format(c));l.setAttribute("w",this.format(f));l.setAttribute("h",this.format(d));l.setAttribute("src",a);l.setAttribute("aspect",e?"1":"0");l.setAttribute("flipH",g?"1":"0");l.setAttribute("flipV",k?"1":"0");this.root.appendChild(l)};
mxXmlCanvas2D.prototype.begin=function(){this.root.appendChild(this.createElement("begin"));this.lastY=this.lastX=0};mxXmlCanvas2D.prototype.moveTo=function(b,c){var f=this.createElement("move");f.setAttribute("x",this.format(b));f.setAttribute("y",this.format(c));this.root.appendChild(f);this.lastX=b;this.lastY=c};
mxXmlCanvas2D.prototype.lineTo=function(b,c){var f=this.createElement("line");f.setAttribute("x",this.format(b));f.setAttribute("y",this.format(c));this.root.appendChild(f);this.lastX=b;this.lastY=c};mxXmlCanvas2D.prototype.quadTo=function(b,c,f,d){var a=this.createElement("quad");a.setAttribute("x1",this.format(b));a.setAttribute("y1",this.format(c));a.setAttribute("x2",this.format(f));a.setAttribute("y2",this.format(d));this.root.appendChild(a);this.lastX=f;this.lastY=d};
mxXmlCanvas2D.prototype.curveTo=function(b,c,f,d,a,e){var g=this.createElement("curve");g.setAttribute("x1",this.format(b));g.setAttribute("y1",this.format(c));g.setAttribute("x2",this.format(f));g.setAttribute("y2",this.format(d));g.setAttribute("x3",this.format(a));g.setAttribute("y3",this.format(e));this.root.appendChild(g);this.lastX=a;this.lastY=e};mxXmlCanvas2D.prototype.close=function(){this.root.appendChild(this.createElement("close"))};
mxXmlCanvas2D.prototype.text=function(b,c,f,d,a,e,g,k,l,m,n,p,r){if(this.textEnabled&&null!=a){mxUtils.isNode(a)&&(a=mxUtils.getOuterHtml(a));var s=this.createElement("text");s.setAttribute("x",this.format(b));s.setAttribute("y",this.format(c));s.setAttribute("w",this.format(f));s.setAttribute("h",this.format(d));s.setAttribute("str",a);null!=e&&s.setAttribute("align",e);null!=g&&s.setAttribute("valign",g);s.setAttribute("wrap",k?"1":"0");null==l&&(l="");s.setAttribute("format",l);null!=m&&s.setAttribute("overflow",
m);null!=n&&s.setAttribute("clip",n?"1":"0");null!=p&&s.setAttribute("rotation",p);null!=r&&s.setAttribute("dir",r);this.root.appendChild(s)}};mxXmlCanvas2D.prototype.stroke=function(){this.root.appendChild(this.createElement("stroke"))};mxXmlCanvas2D.prototype.fill=function(){this.root.appendChild(this.createElement("fill"))};mxXmlCanvas2D.prototype.fillAndStroke=function(){this.root.appendChild(this.createElement("fillstroke"))};
function mxSvgCanvas2D(b,c){mxAbstractCanvas2D.call(this);this.root=b;this.gradients=[];this.defs=null;this.styleEnabled=null!=c?c:!1;var f=null;if(b.ownerDocument!=document)for(f=b;null!=f&&"svg"!=f.nodeName;)f=f.parentNode;null!=f&&(0<f.getElementsByTagName("defs").length&&(this.defs=f.getElementsByTagName("defs")[0]),null==this.defs&&(this.defs=this.createElement("defs"),null!=f.firstChild?f.insertBefore(this.defs,f.firstChild):f.appendChild(this.defs)),this.styleEnabled&&this.defs.appendChild(this.createStyle()))}
mxUtils.extend(mxSvgCanvas2D,mxAbstractCanvas2D);(function(){mxSvgCanvas2D.prototype.useDomParser=!mxClient.IS_IE&&"function"===typeof DOMParser&&"function"===typeof XMLSerializer;if(mxSvgCanvas2D.prototype.useDomParser)try{var b=(new DOMParser).parseFromString("test text","text/html");mxSvgCanvas2D.prototype.useDomParser=null!=b}catch(c){mxSvgCanvas2D.prototype.useDomParser=!1}})();mxSvgCanvas2D.prototype.node=null;mxSvgCanvas2D.prototype.matchHtmlAlignment=!0;
mxSvgCanvas2D.prototype.textEnabled=!0;mxSvgCanvas2D.prototype.foEnabled=!0;mxSvgCanvas2D.prototype.foAltText="[Object]";mxSvgCanvas2D.prototype.foOffset=0;mxSvgCanvas2D.prototype.textOffset=0;mxSvgCanvas2D.prototype.strokeTolerance=0;mxSvgCanvas2D.prototype.refCount=0;mxSvgCanvas2D.prototype.blockImagePointerEvents=!1;mxSvgCanvas2D.prototype.lineHeightCorrection=1;mxSvgCanvas2D.prototype.pointerEventsValue="all";mxSvgCanvas2D.prototype.fontMetricsPadding=10;
mxSvgCanvas2D.prototype.cacheOffsetSize=!0;mxSvgCanvas2D.prototype.format=function(b){return parseFloat(parseFloat(b).toFixed(2))};mxSvgCanvas2D.prototype.getBaseUrl=function(){var b=window.location.href,c=b.lastIndexOf("#");0<c&&(b=b.substring(0,c));return b};mxSvgCanvas2D.prototype.reset=function(){mxAbstractCanvas2D.prototype.reset.apply(this,arguments);this.gradients=[]};
mxSvgCanvas2D.prototype.createStyle=function(b){b=this.createElement("style");b.setAttribute("type","text/css");mxUtils.write(b,"svg{font-family:"+mxConstants.DEFAULT_FONTFAMILY+";font-size:"+mxConstants.DEFAULT_FONTSIZE+";fill:none;stroke-miterlimit:10}");return b};
mxSvgCanvas2D.prototype.createElement=function(b,c){if(null!=this.root.ownerDocument.createElementNS)return this.root.ownerDocument.createElementNS(c||mxConstants.NS_SVG,b);var f=this.root.ownerDocument.createElement(b);null!=c&&f.setAttribute("xmlns",c);return f};
mxSvgCanvas2D.prototype.createAlternateContent=function(b,c,f,d,a,e,g,k,l,m,n,p,r){return null!=this.foAltText?(b=this.state,c=this.createElement("text"),c.setAttribute("x",Math.round(d/2)),c.setAttribute("y",Math.round((a+b.fontSize)/2)),c.setAttribute("fill",b.fontColor||"black"),c.setAttribute("text-anchor","middle"),c.setAttribute("font-size",b.fontSize+"px"),c.setAttribute("font-family",b.fontFamily),(b.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&c.setAttribute("font-weight","bold"),
(b.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&c.setAttribute("font-style","italic"),(b.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&c.setAttribute("text-decoration","underline"),mxUtils.write(c,this.foAltText),c):null};
mxSvgCanvas2D.prototype.createGradientId=function(b,c,f,d,a){"#"==b.charAt(0)&&(b=b.substring(1));"#"==c.charAt(0)&&(c=c.substring(1));b=b.toLowerCase()+"-"+f;c=c.toLowerCase()+"-"+d;f=null;null==a||a==mxConstants.DIRECTION_SOUTH?f="s":a==mxConstants.DIRECTION_EAST?f="e":(d=b,b=c,c=d,a==mxConstants.DIRECTION_NORTH?f="s":a==mxConstants.DIRECTION_WEST&&(f="e"));return"mx-gradient-"+b+"-"+c+"-"+f};
mxSvgCanvas2D.prototype.getSvgGradient=function(b,c,f,d,a){var e=this.createGradientId(b,c,f,d,a),g=this.gradients[e];if(null==g){var k=this.root.ownerSVGElement,l=0,m=e+"-"+l;if(null!=k)for(g=k.ownerDocument.getElementById(m);null!=g&&g.ownerSVGElement!=k;)m=e+"-"+l++,g=k.ownerDocument.getElementById(m);else m="id"+ ++this.refCount;null==g&&(g=this.createSvgGradient(b,c,f,d,a),g.setAttribute("id",m),null!=this.defs?this.defs.appendChild(g):k.appendChild(g));this.gradients[e]=g}return g.getAttribute("id")};
mxSvgCanvas2D.prototype.createSvgGradient=function(b,c,f,d,a){var e=this.createElement("linearGradient");e.setAttribute("x1","0%");e.setAttribute("y1","0%");e.setAttribute("x2","0%");e.setAttribute("y2","0%");null==a||a==mxConstants.DIRECTION_SOUTH?e.setAttribute("y2","100%"):a==mxConstants.DIRECTION_EAST?e.setAttribute("x2","100%"):a==mxConstants.DIRECTION_NORTH?e.setAttribute("y1","100%"):a==mxConstants.DIRECTION_WEST&&e.setAttribute("x1","100%");f=1>f?";stop-opacity:"+f:"";a=this.createElement("stop");
a.setAttribute("offset","0%");a.setAttribute("style","stop-color:"+b+f);e.appendChild(a);f=1>d?";stop-opacity:"+d:"";a=this.createElement("stop");a.setAttribute("offset","100%");a.setAttribute("style","stop-color:"+c+f);e.appendChild(a);return e};
mxSvgCanvas2D.prototype.addNode=function(b,c){var f=this.node,d=this.state;if(null!=f){if("path"==f.nodeName)if(null!=this.path&&0<this.path.length)f.setAttribute("d",this.path.join(" "));else return;b&&null!=d.fillColor?this.updateFill():this.styleEnabled||("ellipse"==f.nodeName&&mxClient.IS_FF?f.setAttribute("fill","transparent"):f.setAttribute("fill","none"),b=!1);c&&null!=d.strokeColor?this.updateStroke():this.styleEnabled||f.setAttribute("stroke","none");null!=d.transform&&0<d.transform.length&&
f.setAttribute("transform",d.transform);d.shadow&&this.root.appendChild(this.createShadow(f));0<this.strokeTolerance&&!b&&this.root.appendChild(this.createTolerance(f));this.pointerEvents&&("path"!=f.nodeName||this.path[this.path.length-1]==this.closeOp)?f.setAttribute("pointer-events",this.pointerEventsValue):!this.pointerEvents&&null==this.originalRoot&&f.setAttribute("pointer-events","none");("rect"!=f.nodeName&&"path"!=f.nodeName&&"ellipse"!=f.nodeName||"none"!=f.getAttribute("fill")&&"transparent"!=
f.getAttribute("fill")||"none"!=f.getAttribute("stroke")||"none"!=f.getAttribute("pointer-events"))&&this.root.appendChild(f);this.node=null}};
mxSvgCanvas2D.prototype.updateFill=function(){var b=this.state;(1>b.alpha||1>b.fillAlpha)&&this.node.setAttribute("fill-opacity",b.alpha*b.fillAlpha);if(null!=b.fillColor)if(null!=b.gradientColor)if(b=this.getSvgGradient(b.fillColor,b.gradientColor,b.gradientFillAlpha,b.gradientAlpha,b.gradientDirection),!mxClient.IS_CHROME_APP&&!mxClient.IS_IE&&!mxClient.IS_IE11&&!mxClient.IS_EDGE&&this.root.ownerDocument==document){var c=this.getBaseUrl().replace(/([\(\)])/g,"\\$1");this.node.setAttribute("fill",
"url("+c+"#"+b+")")}else this.node.setAttribute("fill","url(#"+b+")");else this.node.setAttribute("fill",b.fillColor.toLowerCase())};mxSvgCanvas2D.prototype.getCurrentStrokeWidth=function(){return Math.max(1,this.format(this.state.strokeWidth*this.state.scale))};
mxSvgCanvas2D.prototype.updateStroke=function(){var b=this.state;this.node.setAttribute("stroke",b.strokeColor.toLowerCase());(1>b.alpha||1>b.strokeAlpha)&&this.node.setAttribute("stroke-opacity",b.alpha*b.strokeAlpha);var c=this.getCurrentStrokeWidth();1!=c&&this.node.setAttribute("stroke-width",c);"path"==this.node.nodeName&&this.updateStrokeAttributes();b.dashed&&this.node.setAttribute("stroke-dasharray",this.createDashPattern(b.strokeWidth*b.scale))};
mxSvgCanvas2D.prototype.updateStrokeAttributes=function(){var b=this.state;null!=b.lineJoin&&"miter"!=b.lineJoin&&this.node.setAttribute("stroke-linejoin",b.lineJoin);if(null!=b.lineCap){var c=b.lineCap;"flat"==c&&(c="butt");"butt"!=c&&this.node.setAttribute("stroke-linecap",c)}null!=b.miterLimit&&(!this.styleEnabled||10!=b.miterLimit)&&this.node.setAttribute("stroke-miterlimit",b.miterLimit)};
mxSvgCanvas2D.prototype.createDashPattern=function(b){var c=[];if("string"===typeof this.state.dashPattern){var f=this.state.dashPattern.split(" ");if(0<f.length)for(var d=0;d<f.length;d++)c[d]=Number(f[d])*b}return c.join(" ")};
mxSvgCanvas2D.prototype.createTolerance=function(b){b=b.cloneNode(!0);var c=parseFloat(b.getAttribute("stroke-width")||1)+this.strokeTolerance;b.setAttribute("pointer-events","stroke");b.setAttribute("visibility","hidden");b.removeAttribute("stroke-dasharray");b.setAttribute("stroke-width",c);b.setAttribute("fill","none");b.setAttribute("stroke",mxClient.IS_OT?"none":"white");return b};
mxSvgCanvas2D.prototype.createShadow=function(b){b=b.cloneNode(!0);var c=this.state;"none"!=b.getAttribute("fill")&&(!mxClient.IS_FF||"transparent"!=b.getAttribute("fill"))&&b.setAttribute("fill",c.shadowColor);"none"!=b.getAttribute("stroke")&&b.setAttribute("stroke",c.shadowColor);b.setAttribute("transform","translate("+this.format(c.shadowDx*c.scale)+","+this.format(c.shadowDy*c.scale)+")"+(c.transform||""));b.setAttribute("opacity",c.shadowAlpha);return b};
mxSvgCanvas2D.prototype.setLink=function(b){if(null==b)this.root=this.originalRoot;else{this.originalRoot=this.root;var c=this.createElement("a");null==c.setAttributeNS||this.root.ownerDocument!=document&&null==document.documentMode?c.setAttribute("xlink:href",b):c.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",b);this.root.appendChild(c);this.root=c}};
mxSvgCanvas2D.prototype.rotate=function(b,c,f,d,a){if(0!=b||c||f){var e=this.state;d+=e.dx;a+=e.dy;d*=e.scale;a*=e.scale;e.transform=e.transform||"";if(c&&f)b+=180;else if(c!=f){var g=c?d:0,k=c?-1:1,l=f?a:0,m=f?-1:1;e.transform+="translate("+this.format(g)+","+this.format(l)+")scale("+this.format(k)+","+this.format(m)+")translate("+this.format(-g)+","+this.format(-l)+")"}if(c?!f:f)b*=-1;0!=b&&(e.transform+="rotate("+this.format(b)+","+this.format(d)+","+this.format(a)+")");e.rotation+=b;e.rotationCx=
d;e.rotationCy=a}};mxSvgCanvas2D.prototype.begin=function(){mxAbstractCanvas2D.prototype.begin.apply(this,arguments);this.node=this.createElement("path")};mxSvgCanvas2D.prototype.rect=function(b,c,f,d){var a=this.state,e=this.createElement("rect");e.setAttribute("x",this.format((b+a.dx)*a.scale));e.setAttribute("y",this.format((c+a.dy)*a.scale));e.setAttribute("width",this.format(f*a.scale));e.setAttribute("height",this.format(d*a.scale));this.node=e};
mxSvgCanvas2D.prototype.roundrect=function(b,c,f,d,a,e){this.rect(b,c,f,d);0<a&&this.node.setAttribute("rx",this.format(a*this.state.scale));0<e&&this.node.setAttribute("ry",this.format(e*this.state.scale))};mxSvgCanvas2D.prototype.ellipse=function(b,c,f,d){var a=this.state,e=this.createElement("ellipse");e.setAttribute("cx",Math.round((b+f/2+a.dx)*a.scale));e.setAttribute("cy",Math.round((c+d/2+a.dy)*a.scale));e.setAttribute("rx",f/2*a.scale);e.setAttribute("ry",d/2*a.scale);this.node=e};
mxSvgCanvas2D.prototype.image=function(b,c,f,d,a,e,g,k){a=this.converter.convert(a);e=null!=e?e:!0;g=null!=g?g:!1;k=null!=k?k:!1;var l=this.state;b+=l.dx;c+=l.dy;var m=this.createElement("image");m.setAttribute("x",this.format(b*l.scale));m.setAttribute("y",this.format(c*l.scale));m.setAttribute("width",this.format(f*l.scale));m.setAttribute("height",this.format(d*l.scale));null==m.setAttributeNS?m.setAttribute("xlink:href",a):m.setAttributeNS(mxConstants.NS_XLINK,"xlink:href",a);e||m.setAttribute("preserveAspectRatio",
"none");(1>l.alpha||1>l.fillAlpha)&&m.setAttribute("opacity",l.alpha*l.fillAlpha);a=this.state.transform||"";if(g||k){var n=e=1,p=0,r=0;g&&(e=-1,p=-f-2*b);k&&(n=-1,r=-d-2*c);a+="scale("+e+","+n+")translate("+p*l.scale+","+r*l.scale+")"}0<a.length&&m.setAttribute("transform",a);this.pointerEvents||m.setAttribute("pointer-events","none");this.root.appendChild(m);this.blockImagePointerEvents&&(m.setAttribute("style","pointer-events:none"),m=this.createElement("rect"),m.setAttribute("visibility","hidden"),
m.setAttribute("pointer-events","fill"),m.setAttribute("x",this.format(b*l.scale)),m.setAttribute("y",this.format(c*l.scale)),m.setAttribute("width",this.format(f*l.scale)),m.setAttribute("height",this.format(d*l.scale)),this.root.appendChild(m))};
mxSvgCanvas2D.prototype.convertHtml=function(b){if(this.useDomParser){var c=(new DOMParser).parseFromString(b,"text/html");null!=c&&(b=(new XMLSerializer).serializeToString(c.body),"\x3cbody"==b.substring(0,5)&&(b=b.substring(b.indexOf("\x3e",5)+1)),"\x3c/body\x3e"==b.substring(b.length-7,b.length)&&(b=b.substring(0,b.length-7)))}else{if(null!=document.implementation&&null!=document.implementation.createDocument){var c=document.implementation.createDocument("http://www.w3.org/1999/xhtml","html",null),
f=c.createElement("body");c.documentElement.appendChild(f);var d=document.createElement("div");d.innerHTML=b;for(b=d.firstChild;null!=b;)d=b.nextSibling,f.appendChild(c.adoptNode(b)),b=d;return f.innerHTML}c=document.createElement("textarea");c.innerHTML=b.replace(/&amp;/g,"\x26amp;amp;").replace(/&#60;/g,"\x26amp;lt;").replace(/&#62;/g,"\x26amp;gt;").replace(/&lt;/g,"\x26amp;lt;").replace(/&gt;/g,"\x26amp;gt;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;");b=c.value.replace(/&/g,"\x26amp;").replace(/&amp;lt;/g,
"\x26lt;").replace(/&amp;gt;/g,"\x26gt;").replace(/&amp;amp;/g,"\x26amp;").replace(/<br>/g,"\x3cbr /\x3e").replace(/<hr>/g,"\x3chr /\x3e").replace(/(<img[^>]+)>/gm,"$1 /\x3e")}return b};
mxSvgCanvas2D.prototype.createDiv=function(b,c,f,d,a){f=this.state;d="display:inline-block;font-size:"+f.fontSize+"px;font-family:"+f.fontFamily+";color:"+f.fontColor+";line-height:"+(mxConstants.ABSOLUTE_LINE_HEIGHT?f.fontSize*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT*this.lineHeightCorrection)+";"+d;(f.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(d+="font-weight:bold;");(f.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(d+="font-style:italic;");(f.fontStyle&
mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&(d+="text-decoration:underline;");c==mxConstants.ALIGN_CENTER?d+="text-align:center;":c==mxConstants.ALIGN_RIGHT&&(d+="text-align:right;");c="";null!=f.fontBackgroundColor&&(c+="background-color:"+f.fontBackgroundColor+";");null!=f.fontBorderColor&&(c+="border:1px solid "+f.fontBorderColor+";");mxUtils.isNode(b)||(b=this.convertHtml(b),"fill"!=a&&"width"!=a?b='\x3cdiv xmlns\x3d"http://www.w3.org/1999/xhtml" style\x3d"display:inline-block;text-align:inherit;text-decoration:inherit;'+
c+'"\x3e'+b+"\x3c/div\x3e":d+=c);if(!mxClient.IS_IE&&document.createElementNS)return a=document.createElementNS("http://www.w3.org/1999/xhtml","div"),a.setAttribute("style",d),mxUtils.isNode(b)?this.root.ownerDocument!=document?a.appendChild(b.cloneNode(!0)):a.appendChild(b):a.innerHTML=b,a;mxUtils.isNode(b)&&this.root.ownerDocument!=document&&(b=b.outerHTML);return mxUtils.parseXml('\x3cdiv xmlns\x3d"http://www.w3.org/1999/xhtml" style\x3d"'+d+'"\x3e'+b+"\x3c/div\x3e").documentElement};
mxSvgCanvas2D.prototype.invalidateCachedOffsetSize=function(b){delete b.firstChild.mxCachedOffsetWidth;delete b.firstChild.mxCachedFinalOffsetWidth;delete b.firstChild.mxCachedFinalOffsetHeight};
mxSvgCanvas2D.prototype.updateText=function(b,c,f,d,a,e,g,k,l,m,n){if(null!=n&&null!=n.firstChild&&null!=n.firstChild.firstChild&&null!=n.firstChild.firstChild.firstChild){n=n.firstChild;var p=n.firstChild,r=p.firstChild;m=null!=m?m:0;var s=this.state;b+=s.dx;c+=s.dy;l?(r.style.maxHeight=Math.round(d)+"px",r.style.maxWidth=Math.round(f)+"px"):"fill"==k?(r.style.width=Math.round(f+1)+"px",r.style.height=Math.round(d+1)+"px"):"width"==k&&(r.style.width=Math.round(f+1)+"px",0<d&&(r.style.maxHeight=Math.round(d)+
"px"));g&&0<f&&(r.style.width=Math.round(f+1)+"px");var q=0,t=0,t=r;null!=t.firstChild&&"DIV"==t.firstChild.nodeName&&(t=t.firstChild);q=(null!=n.mxCachedOffsetWidth?n.mxCachedOffsetWidth:t.offsetWidth)+2;g&&"fill"!=k&&(l&&(q=Math.min(q,f)),r.style.width=q+"px");q=(null!=n.mxCachedFinalOffsetWidth?n.mxCachedFinalOffsetWidth:t.offsetWidth)+2;t=(null!=n.mxCachedFinalOffsetHeight?n.mxCachedFinalOffsetHeight:t.offsetHeight)-2;l&&(t=Math.min(t,d),q=Math.min(q,f));"width"==k?d=t:"fill"!=k&&(f=q,d=t);l=
g=0;a==mxConstants.ALIGN_CENTER?g-=f/2:a==mxConstants.ALIGN_RIGHT&&(g-=f);b+=g;e==mxConstants.ALIGN_MIDDLE?l-=d/2:e==mxConstants.ALIGN_BOTTOM&&(l-=d);"fill"!=k&&mxClient.IS_FF&&mxClient.IS_WIN&&(l-=2);c+=l;a=1!=s.scale?"scale("+s.scale+")":"";0!=s.rotation&&this.rotateHtml?(a+="rotate("+s.rotation+","+f/2+","+d/2+")",c=this.rotatePoint((b+f/2)*s.scale,(c+d/2)*s.scale,s.rotation,s.rotationCx,s.rotationCy),b=c.x-f*s.scale/2,c=c.y-d*s.scale/2):(b*=s.scale,c*=s.scale);0!=m&&(a+="rotate("+m+","+-g+","+
-l+")");n.setAttribute("transform","translate("+Math.round(b)+","+Math.round(c)+")"+a);p.setAttribute("width",Math.round(Math.max(1,f)));p.setAttribute("height",Math.round(Math.max(1,d)))}};
mxSvgCanvas2D.prototype.text=function(b,c,f,d,a,e,g,k,l,m,n,p,r){if(this.textEnabled&&null!=a){p=null!=p?p:0;var s=this.state;b+=s.dx;c+=s.dy;if(this.foEnabled&&"html"==l){var q="vertical-align:top;";n?q+="overflow:hidden;max-height:"+Math.round(d)+"px;max-width:"+Math.round(f)+"px;":"fill"==m?q+="width:"+Math.round(f+1)+"px;height:"+Math.round(d+1)+"px;overflow:hidden;":"width"==m&&(q+="width:"+Math.round(f+1)+"px;",0<d&&(q+="max-height:"+Math.round(d)+"px;overflow:hidden;"));var q=k&&0<f?q+("width:"+
Math.round(f+1)+"px;white-space:normal;word-wrap:"+mxConstants.WORD_WRAP+";"):q+"white-space:nowrap;",t=this.createElement("g");1>s.alpha&&t.setAttribute("opacity",s.alpha);var u=this.createElement("foreignObject");u.setAttribute("style","overflow:visible;");u.setAttribute("pointer-events","all");q=this.createDiv(a,e,g,q,m);if(null!=q){null!=r&&q.setAttribute("dir",r);t.appendChild(u);this.root.appendChild(t);var v=0,z=0;r=v=2;if(mxClient.IS_IE&&(9==document.documentMode||!mxClient.IS_SVG)){var y=
document.createElement("div");y.style.cssText=q.getAttribute("style");y.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";y.style.position="absolute";y.style.visibility="hidden";z=document.createElement("div");z.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";z.style.wordWrap=mxConstants.WORD_WRAP;z.innerHTML=mxUtils.isNode(a)?a.outerHTML:a;y.appendChild(z);document.body.appendChild(y);8!=document.documentMode&&9!=document.documentMode&&null!=s.fontBorderColor&&(v+=2,r+=2);if(k&&0<
f){var x=z.offsetWidth;if(!n&&k&&0<f&&this.root.ownerDocument!=document&&"fill"!=m){var D=y.style.whiteSpace;z.style.whiteSpace="nowrap";x<z.offsetWidth&&(y.style.whiteSpace=D)}n&&(x=Math.min(x,f));y.style.width=x+"px";v=z.offsetWidth+v+0;z=z.offsetHeight+r;y.style.display="inline-block";y.style.position="";y.style.visibility="";y.style.width=v+"px";q.setAttribute("style",y.style.cssText)}else v=z.offsetWidth+v,z=z.offsetHeight+r;y.parentNode.removeChild(y);u.appendChild(q)}else this.root.ownerDocument!=
document?(q.style.visibility="hidden",document.body.appendChild(q)):u.appendChild(q),y=q,null!=y.firstChild&&"DIV"==y.firstChild.nodeName&&(y=y.firstChild,k&&"break-word"==q.style.wordWrap&&(y.style.width="100%")),x=y.offsetWidth,0==x&&q.parentNode==u&&(q.style.visibility="hidden",document.body.appendChild(q),x=y.offsetWidth),this.cacheOffsetSize&&(t.mxCachedOffsetWidth=x),!n&&k&&0<f&&(this.root.ownerDocument!=document&&"fill"!=m&&"width"!=m)&&(D=q.style.whiteSpace,q.style.whiteSpace="nowrap",x<y.offsetWidth&&
(q.style.whiteSpace=D)),v=x+v-1,k&&"fill"!=m&&"width"!=m&&(n&&(v=Math.min(v,f)),q.style.width=v+"px"),v=y.offsetWidth,z=y.offsetHeight,this.cacheOffsetSize&&(t.mxCachedFinalOffsetWidth=v,t.mxCachedFinalOffsetHeight=z),z-=r,q.parentNode!=u&&(u.appendChild(q),q.style.visibility="");n&&(z=Math.min(z,d),v=Math.min(v,f));"width"==m?d=z:"fill"!=m&&(f=v,d=z);1>s.alpha&&t.setAttribute("opacity",s.alpha);r=q=0;e==mxConstants.ALIGN_CENTER?q-=f/2:e==mxConstants.ALIGN_RIGHT&&(q-=f);b+=q;g==mxConstants.ALIGN_MIDDLE?
r-=d/2:g==mxConstants.ALIGN_BOTTOM&&(r-=d);"fill"!=m&&mxClient.IS_FF&&mxClient.IS_WIN&&(r-=2);c+=r;y=1!=s.scale?"scale("+s.scale+")":"";0!=s.rotation&&this.rotateHtml?(y+="rotate("+s.rotation+","+f/2+","+d/2+")",c=this.rotatePoint((b+f/2)*s.scale,(c+d/2)*s.scale,s.rotation,s.rotationCx,s.rotationCy),b=c.x-f*s.scale/2,c=c.y-d*s.scale/2):(b*=s.scale,c*=s.scale);0!=p&&(y+="rotate("+p+","+-q+","+-r+")");t.setAttribute("transform","translate("+(Math.round(b)+this.foOffset)+","+(Math.round(c)+this.foOffset)+
")"+y);u.setAttribute("width",Math.round(Math.max(1,f)));u.setAttribute("height",Math.round(Math.max(1,d)));this.root.ownerDocument!=document&&(b=this.createAlternateContent(u,b,c,f,d,a,e,g,k,l,m,n,p),null!=b&&(u.setAttribute("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility"),f=this.createElement("switch"),f.appendChild(u),f.appendChild(b),t.appendChild(f)))}}else this.plainText(b,c,f,d,a,e,g,k,m,n,p,r)}};
mxSvgCanvas2D.prototype.createClip=function(b,c,f,d){b=Math.round(b);c=Math.round(c);f=Math.round(f);d=Math.round(d);for(var a="mx-clip-"+b+"-"+c+"-"+f+"-"+d,e=0,g=a+"-"+e;null!=document.getElementById(g);)g=a+"-"+ ++e;clip=this.createElement("clipPath");clip.setAttribute("id",g);a=this.createElement("rect");a.setAttribute("x",b);a.setAttribute("y",c);a.setAttribute("width",f);a.setAttribute("height",d);clip.appendChild(a);return clip};
mxSvgCanvas2D.prototype.plainText=function(b,c,f,d,a,e,g,k,l,m,n,p){n=null!=n?n:0;k=this.state;var r=k.fontSize,s=this.createElement("g"),q=k.transform||"";this.updateFont(s);0!=n&&(q+="rotate("+n+","+this.format(b*k.scale)+","+this.format(c*k.scale)+")");null!=p&&s.setAttribute("direction",p);m&&0<f&&0<d&&(p=b,n=c,e==mxConstants.ALIGN_CENTER?p-=f/2:e==mxConstants.ALIGN_RIGHT&&(p-=f),"fill"!=l&&(g==mxConstants.ALIGN_MIDDLE?n-=d/2:g==mxConstants.ALIGN_BOTTOM&&(n-=d)),n=this.createClip(p*k.scale-2,
n*k.scale-2,f*k.scale+4,d*k.scale+4),null!=this.defs?this.defs.appendChild(n):this.root.appendChild(n),!mxClient.IS_CHROME_APP&&!mxClient.IS_IE&&!mxClient.IS_IE11&&!mxClient.IS_EDGE&&this.root.ownerDocument==document?(p=this.getBaseUrl().replace(/([\(\)])/g,"\\$1"),s.setAttribute("clip-path","url("+p+"#"+n.getAttribute("id")+")")):s.setAttribute("clip-path","url(#"+n.getAttribute("id")+")"));n=e==mxConstants.ALIGN_RIGHT?"end":e==mxConstants.ALIGN_CENTER?"middle":"start";"start"!=n&&s.setAttribute("text-anchor",
n);(!this.styleEnabled||r!=mxConstants.DEFAULT_FONTSIZE)&&s.setAttribute("font-size",r*k.scale+"px");0<q.length&&s.setAttribute("transform",q);1>k.alpha&&s.setAttribute("opacity",k.alpha);q=a.split("\n");p=Math.round(r*mxConstants.LINE_HEIGHT);var t=r+(q.length-1)*p;n=c+r-1;g==mxConstants.ALIGN_MIDDLE?"fill"==l?n-=d/2:(m=(this.matchHtmlAlignment&&m&&0<d?Math.min(t,d):t)/2,n-=m+1):g==mxConstants.ALIGN_BOTTOM&&("fill"==l?n-=d:(m=this.matchHtmlAlignment&&m&&0<d?Math.min(t,d):t,n-=m+2));for(m=0;m<q.length;m++)0<
q[m].length&&0<mxUtils.trim(q[m]).length&&(r=this.createElement("text"),r.setAttribute("x",this.format(b*k.scale)+this.textOffset),r.setAttribute("y",this.format(n*k.scale)+this.textOffset),mxUtils.write(r,q[m]),s.appendChild(r)),n+=p;this.root.appendChild(s);this.addTextBackground(s,a,b,c,f,"fill"==l?d:t,e,g,l)};
mxSvgCanvas2D.prototype.updateFont=function(b){var c=this.state;b.setAttribute("fill",c.fontColor);(!this.styleEnabled||c.fontFamily!=mxConstants.DEFAULT_FONTFAMILY)&&b.setAttribute("font-family",c.fontFamily);(c.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&b.setAttribute("font-weight","bold");(c.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&b.setAttribute("font-style","italic");(c.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.setAttribute("text-decoration",
"underline")};
mxSvgCanvas2D.prototype.addTextBackground=function(b,c,f,d,a,e,g,k,l){var m=this.state;if(null!=m.fontBackgroundColor||null!=m.fontBorderColor){var n=null;if("fill"==l||"width"==l)g==mxConstants.ALIGN_CENTER?f-=a/2:g==mxConstants.ALIGN_RIGHT&&(f-=a),k==mxConstants.ALIGN_MIDDLE?d-=e/2:k==mxConstants.ALIGN_BOTTOM&&(d-=e),n=new mxRectangle((f+1)*m.scale,d*m.scale,(a-2)*m.scale,(e+2)*m.scale);else if(null!=b.getBBox&&this.root.ownerDocument==document)try{var n=b.getBBox(),p=mxClient.IS_IE&&mxClient.IS_SVG,
n=new mxRectangle(n.x,n.y+(p?0:1),n.width,n.height+(p?1:0))}catch(r){}else n=document.createElement("div"),n.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?m.fontSize*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT,n.style.fontSize=m.fontSize+"px",n.style.fontFamily=m.fontFamily,n.style.whiteSpace="nowrap",n.style.position="absolute",n.style.visibility="hidden",n.style.display=mxClient.IS_QUIRKS?"inline":"inline-block",n.style.zoom="1",(m.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&
(n.style.fontWeight="bold"),(m.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(n.style.fontStyle="italic"),c=mxUtils.htmlEntities(c,!1),n.innerHTML=c.replace(/\n/g,"\x3cbr/\x3e"),document.body.appendChild(n),a=n.offsetWidth,e=n.offsetHeight,n.parentNode.removeChild(n),g==mxConstants.ALIGN_CENTER?f-=a/2:g==mxConstants.ALIGN_RIGHT&&(f-=a),k==mxConstants.ALIGN_MIDDLE?d-=e/2:k==mxConstants.ALIGN_BOTTOM&&(d-=e),n=new mxRectangle((f+1)*m.scale,(d+2)*m.scale,a*m.scale,(e+1)*m.scale);null!=
n&&(c=this.createElement("rect"),c.setAttribute("fill",m.fontBackgroundColor||"none"),c.setAttribute("stroke",m.fontBorderColor||"none"),c.setAttribute("x",Math.floor(n.x-1)),c.setAttribute("y",Math.floor(n.y-1)),c.setAttribute("width",Math.ceil(n.width+2)),c.setAttribute("height",Math.ceil(n.height)),m=null!=m.fontBorderColor?Math.max(1,this.format(m.scale)):0,c.setAttribute("stroke-width",m),this.root.ownerDocument==document&&1==mxUtils.mod(m,2)&&c.setAttribute("transform","translate(0.5, 0.5)"),
b.insertBefore(c,b.firstChild))}};mxSvgCanvas2D.prototype.stroke=function(){this.addNode(!1,!0)};mxSvgCanvas2D.prototype.fill=function(){this.addNode(!0,!1)};mxSvgCanvas2D.prototype.fillAndStroke=function(){this.addNode(!0,!0)};var mxVmlCanvas2D=function(b){mxAbstractCanvas2D.call(this);this.root=b};mxUtils.extend(mxVmlCanvas2D,mxAbstractCanvas2D);mxVmlCanvas2D.prototype.node=null;mxVmlCanvas2D.prototype.textEnabled=!0;mxVmlCanvas2D.prototype.moveOp="m";mxVmlCanvas2D.prototype.lineOp="l";
mxVmlCanvas2D.prototype.curveOp="c";mxVmlCanvas2D.prototype.closeOp="x";mxVmlCanvas2D.prototype.rotatedHtmlBackground="";mxVmlCanvas2D.prototype.vmlScale=1;mxVmlCanvas2D.prototype.createElement=function(b){return document.createElement(b)};mxVmlCanvas2D.prototype.createVmlElement=function(b){return this.createElement(mxClient.VML_PREFIX+":"+b)};
mxVmlCanvas2D.prototype.addNode=function(b,c){var f=this.node,d=this.state;if(null!=f){if("shape"==f.nodeName)if(null!=this.path&&0<this.path.length)f.path=this.path.join(" ")+" e",f.style.width=this.root.style.width,f.style.height=this.root.style.height,f.coordsize=parseInt(f.style.width)+" "+parseInt(f.style.height);else return;f.strokeweight=this.format(Math.max(1,d.strokeWidth*d.scale/this.vmlScale))+"px";d.shadow&&this.root.appendChild(this.createShadow(f,b&&null!=d.fillColor,c&&null!=d.strokeColor));
c&&null!=d.strokeColor?(f.stroked="true",f.strokecolor=d.strokeColor):f.stroked="false";f.appendChild(this.createStroke());b&&null!=d.fillColor?f.appendChild(this.createFill()):this.pointerEvents&&("shape"!=f.nodeName||this.path[this.path.length-1]==this.closeOp)?f.appendChild(this.createTransparentFill()):f.filled="false";this.root.appendChild(f)}};
mxVmlCanvas2D.prototype.createTransparentFill=function(){var b=this.createVmlElement("fill");b.src=mxClient.imageBasePath+"/transparent.gif";b.type="tile";return b};
mxVmlCanvas2D.prototype.createFill=function(){var b=this.state,c=this.createVmlElement("fill");c.color=b.fillColor;if(null!=b.gradientColor){c.type="gradient";c.method="none";c.color2=b.gradientColor;var f=180-b.rotation,f=b.gradientDirection==mxConstants.DIRECTION_WEST?f-(90+("x"==this.root.style.flip?180:0)):b.gradientDirection==mxConstants.DIRECTION_EAST?f+(90+("x"==this.root.style.flip?180:0)):b.gradientDirection==mxConstants.DIRECTION_NORTH?f-(180+("y"==this.root.style.flip?-180:0)):f+("y"==
this.root.style.flip?-180:0);if("x"==this.root.style.flip||"y"==this.root.style.flip)f*=-1;c.angle=mxUtils.mod(f,360);c.opacity=100*b.alpha*b.gradientFillAlpha+"%";c.setAttribute(mxClient.OFFICE_PREFIX+":opacity2",100*b.alpha*b.gradientAlpha+"%")}else if(1>b.alpha||1>b.fillAlpha)c.opacity=100*b.alpha*b.fillAlpha+"%";return c};
mxVmlCanvas2D.prototype.createStroke=function(){var b=this.state,c=this.createVmlElement("stroke");c.endcap=b.lineCap||"flat";c.joinstyle=b.lineJoin||"miter";c.miterlimit=b.miterLimit||"10";if(1>b.alpha||1>b.strokeAlpha)c.opacity=100*b.alpha*b.strokeAlpha+"%";b.dashed&&(c.dashstyle=this.getVmlDashStyle());return c};mxVmlCanvas2D.prototype.getVmlDashStyle=function(){var b="dash";if("string"===typeof this.state.dashPattern){var c=this.state.dashPattern.split(" ");0<c.length&&1==c[0]&&(b="0 2")}return b};
mxVmlCanvas2D.prototype.createShadow=function(b,c,f){var d=this.state,a=-d.rotation*(Math.PI/180),e=Math.cos(a),a=Math.sin(a),g=d.shadowDx*d.scale,k=d.shadowDy*d.scale;"x"==this.root.style.flip?g*=-1:"y"==this.root.style.flip&&(k*=-1);var l=b.cloneNode(!0);l.style.marginLeft=Math.round(g*e-k*a)+"px";l.style.marginTop=Math.round(g*a+k*e)+"px";8==document.documentMode&&(l.strokeweight=b.strokeweight,"shape"==b.nodeName&&(l.path=this.path.join(" ")+" e",l.style.width=this.root.style.width,l.style.height=
this.root.style.height,l.coordsize=parseInt(b.style.width)+" "+parseInt(b.style.height)));f?(l.strokecolor=d.shadowColor,l.appendChild(this.createShadowStroke())):l.stroked="false";c?l.appendChild(this.createShadowFill()):l.filled="false";return l};mxVmlCanvas2D.prototype.createShadowFill=function(){var b=this.createVmlElement("fill");b.color=this.state.shadowColor;b.opacity=100*this.state.alpha*this.state.shadowAlpha+"%";return b};
mxVmlCanvas2D.prototype.createShadowStroke=function(){var b=this.createStroke();b.opacity=100*this.state.alpha*this.state.shadowAlpha+"%";return b};mxVmlCanvas2D.prototype.rotate=function(b,c,f,d,a){c&&f?b+=180:c?this.root.style.flip="x":f&&(this.root.style.flip="y");if(c?!f:f)b*=-1;this.root.style.rotation=b;this.state.rotation+=b;this.state.rotationCx=d;this.state.rotationCy=a};
mxVmlCanvas2D.prototype.begin=function(){mxAbstractCanvas2D.prototype.begin.apply(this,arguments);this.node=this.createVmlElement("shape");this.node.style.position="absolute"};
mxVmlCanvas2D.prototype.quadTo=function(b,c,f,d){var a=this.state,e=(this.lastX+a.dx)*a.scale,g=(this.lastY+a.dy)*a.scale;b=(b+a.dx)*a.scale;c=(c+a.dy)*a.scale;f=(f+a.dx)*a.scale;d=(d+a.dy)*a.scale;var g=g+2/3*(c-g),k=f+2/3*(b-f);c=d+2/3*(c-d);this.path.push("c "+this.format(e+2/3*(b-e))+" "+this.format(g)+" "+this.format(k)+" "+this.format(c)+" "+this.format(f)+" "+this.format(d));this.lastX=f/a.scale-a.dx;this.lastY=d/a.scale-a.dy};
mxVmlCanvas2D.prototype.createRect=function(b,c,f,d,a){var e=this.state;b=this.createVmlElement(b);b.style.position="absolute";b.style.left=this.format((c+e.dx)*e.scale)+"px";b.style.top=this.format((f+e.dy)*e.scale)+"px";b.style.width=this.format(d*e.scale)+"px";b.style.height=this.format(a*e.scale)+"px";return b};mxVmlCanvas2D.prototype.rect=function(b,c,f,d){this.node=this.createRect("rect",b,c,f,d)};
mxVmlCanvas2D.prototype.roundrect=function(b,c,f,d,a,e){this.node=this.createRect("roundrect",b,c,f,d);this.node.setAttribute("arcsize",Math.max(100*a/f,100*e/d)+"%")};mxVmlCanvas2D.prototype.ellipse=function(b,c,f,d){this.node=this.createRect("oval",b,c,f,d)};
mxVmlCanvas2D.prototype.image=function(b,c,f,d,a,e,g,k){var l=null;e?(l=this.createRect("rect",b,c,f,d),l.stroked="false",b=this.createVmlElement("fill"),b.aspect=e?"atmost":"ignore",b.rotate="true",b.type="frame",b.src=a,l.appendChild(b)):(l=this.createRect("image",b,c,f,d),l.src=a);g&&k?l.style.rotation="180":g?l.style.flip="x":k&&(l.style.flip="y");if(1>this.state.alpha||1>this.state.fillAlpha)l.style.filter+="alpha(opacity\x3d"+100*this.state.alpha*this.state.fillAlpha+")";this.root.appendChild(l)};
mxVmlCanvas2D.prototype.createDiv=function(b,c,f,d){f=this.createElement("div");var a=this.state,e="";null!=a.fontBackgroundColor&&(e+="background-color:"+a.fontBackgroundColor+";");null!=a.fontBorderColor&&(e+="border:1px solid "+a.fontBorderColor+";");mxUtils.isNode(b)?f.appendChild(b):"fill"!=d&&"width"!=d?(d=this.createElement("div"),d.style.cssText=e,d.style.display=mxClient.IS_QUIRKS?"inline":"inline-block",d.style.zoom="1",d.style.textDecoration="inherit",d.innerHTML=b,f.appendChild(d)):(f.style.cssText=
e,f.innerHTML=b);b=f.style;b.fontSize=a.fontSize/this.vmlScale+"px";b.fontFamily=a.fontFamily;b.color=a.fontColor;b.verticalAlign="top";b.textAlign=c||"left";b.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?a.fontSize*mxConstants.LINE_HEIGHT/this.vmlScale+"px":mxConstants.LINE_HEIGHT;(a.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(b.fontWeight="bold");(a.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(b.fontStyle="italic");(a.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&
(b.textDecoration="underline");return f};
mxVmlCanvas2D.prototype.text=function(b,c,f,d,a,e,g,k,l,m,n,p,r){if(this.textEnabled&&null!=a){var s=this.state;if("html"==l){null!=s.rotation&&(c=this.rotatePoint(b,c,s.rotation,s.rotationCx,s.rotationCy),b=c.x,c=c.y);8==document.documentMode&&!mxClient.IS_EM?(b+=s.dx,c+=s.dy,"fill"!=m&&g==mxConstants.ALIGN_TOP&&(c-=1)):(b*=s.scale,c*=s.scale);l=8==document.documentMode&&!mxClient.IS_EM?this.createVmlElement("group"):this.createElement("div");l.style.position="absolute";l.style.display="inline";
l.style.left=this.format(b)+"px";l.style.top=this.format(c)+"px";l.style.zoom=s.scale;var q=this.createElement("div");q.style.position="relative";q.style.display="inline";var t=mxUtils.getAlignmentAsPoint(e,g),u=t.x,t=t.y;a=this.createDiv(a,e,g,m);e=this.createElement("div");null!=r&&a.setAttribute("dir",r);if(k&&0<f){if(n||(a.style.width=Math.round(f)+"px"),a.style.wordWrap=mxConstants.WORD_WRAP,a.style.whiteSpace="normal","break-word"==a.style.wordWrap){var v=a;null!=v.firstChild&&"DIV"==v.firstChild.nodeName&&
(v.firstChild.style.width="100%")}}else a.style.whiteSpace="nowrap";p=s.rotation+(p||0);this.rotateHtml&&0!=p?(e.style.display="inline",e.style.zoom="1",e.appendChild(a),8==document.documentMode&&!mxClient.IS_EM&&"DIV"!=this.root.nodeName?(q.appendChild(e),l.appendChild(q)):l.appendChild(e)):8==document.documentMode&&!mxClient.IS_EM?(q.appendChild(a),l.appendChild(q)):(a.style.display="inline",l.appendChild(a));"DIV"!=this.root.nodeName?(r=this.createVmlElement("rect"),r.stroked="false",r.filled=
"false",r.appendChild(l),this.root.appendChild(r)):this.root.appendChild(l);n?(a.style.overflow="hidden",a.style.width=Math.round(f)+"px",mxClient.IS_QUIRKS||(a.style.maxHeight=Math.round(d)+"px")):"fill"==m?(a.style.overflow="hidden",a.style.width=Math.max(0,f)+1+"px",a.style.height=Math.max(0,d)+1+"px"):"width"==m&&(a.style.overflow="hidden",a.style.width=Math.max(0,f)+1+"px",a.style.maxHeight=Math.max(0,d)+1+"px");if(this.rotateHtml&&0!=p){v=p*(Math.PI/180);p=parseFloat(parseFloat(Math.cos(v)).toFixed(8));
r=parseFloat(parseFloat(Math.sin(-v)).toFixed(8));v%=2*Math.PI;0>v&&(v+=2*Math.PI);v%=Math.PI;v>Math.PI/2&&(v=Math.PI-v);g=Math.cos(v);var z=Math.sin(v);8==document.documentMode&&!mxClient.IS_EM&&(a.style.display="inline-block",e.style.display="inline-block",q.style.display="inline-block");a.style.visibility="hidden";a.style.position="absolute";document.body.appendChild(a);q=a;null!=q.firstChild&&"DIV"==q.firstChild.nodeName&&(q=q.firstChild);v=q.offsetWidth+3;q=q.offsetHeight;n?(f=Math.min(f,v),
q=Math.min(q,d)):f=v;k&&(a.style.width=f+"px");if(mxClient.IS_QUIRKS&&(n||"width"==m)&&q>d)q=d,a.style.height=q+"px";d=q;n=(d-d*g+f*-z)/2-r*f*(u+0.5)+p*d*(t+0.5);k=(f-f*g+d*-z)/2+p*f*(u+0.5)+r*d*(t+0.5);"group"==l.nodeName&&"DIV"==this.root.nodeName?(m=this.createElement("div"),m.style.display="inline-block",m.style.position="absolute",m.style.left=this.format(b+(k-f/2)*s.scale)+"px",m.style.top=this.format(c+(n-d/2)*s.scale)+"px",l.parentNode.appendChild(m),m.appendChild(l)):(s=8==document.documentMode&&
!mxClient.IS_EM?1:s.scale,l.style.left=this.format(b+(k-f/2)*s)+"px",l.style.top=this.format(c+(n-d/2)*s)+"px");e.style.filter="progid:DXImageTransform.Microsoft.Matrix(M11\x3d"+p+", M12\x3d"+r+", M21\x3d"+-r+", M22\x3d"+p+", sizingMethod\x3d'auto expand')";e.style.backgroundColor=this.rotatedHtmlBackground;1>this.state.alpha&&(e.style.filter+="alpha(opacity\x3d"+100*this.state.alpha+")");e.appendChild(a);a.style.position="";a.style.visibility=""}else 8!=document.documentMode||mxClient.IS_EM?(a.style.verticalAlign=
"top",1>this.state.alpha&&(l.style.filter="alpha(opacity\x3d"+100*this.state.alpha+")"),s=a.parentNode,a.style.visibility="hidden",document.body.appendChild(a),f=a.offsetWidth,q=a.offsetHeight,mxClient.IS_QUIRKS&&n&&q>d&&(q=d,a.style.height=q+"px"),d=q,a.style.visibility="",s.appendChild(a),l.style.left=this.format(b+f*u*this.state.scale)+"px",l.style.top=this.format(c+d*t*this.state.scale)+"px"):(1>this.state.alpha&&(a.style.filter="alpha(opacity\x3d"+100*this.state.alpha+")"),q.style.left=100*u+
"%",q.style.top=100*t+"%")}else this.plainText(b,c,f,d,mxUtils.htmlEntities(a,!1),e,g,k,l,m,n,p,r)}};
mxVmlCanvas2D.prototype.plainText=function(b,c,f,d,a,e,g,k,l,m,n,p,r){k=this.state;b=(b+k.dx)*k.scale;c=(c+k.dy)*k.scale;f=this.createVmlElement("shape");f.style.width="1px";f.style.height="1px";f.stroked="false";d=this.createVmlElement("fill");d.color=k.fontColor;d.opacity=100*k.alpha+"%";f.appendChild(d);d=this.createVmlElement("path");d.textpathok="true";d.v="m "+this.format(0)+" "+this.format(0)+" l "+this.format(1)+" "+this.format(0);f.appendChild(d);d=this.createVmlElement("textpath");d.style.cssText=
"v-text-align:"+e;d.style.align=e;d.style.fontFamily=k.fontFamily;d.string=a;d.on="true";e=k.fontSize*k.scale/this.vmlScale;d.style.fontSize=e+"px";(k.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(d.style.fontWeight="bold");(k.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(d.style.fontStyle="italic");(k.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&(d.style.textDecoration="underline");a=a.split("\n");k=e+(a.length-1)*e*mxConstants.LINE_HEIGHT;e=a=0;
g==mxConstants.ALIGN_BOTTOM?e=-k/2:g!=mxConstants.ALIGN_MIDDLE&&(e=k/2);null!=p&&(f.style.rotation=p,g=p*(Math.PI/180),a=Math.sin(g)*e,e*=Math.cos(g));f.appendChild(d);f.style.left=this.format(b-a)+"px";f.style.top=this.format(c+e)+"px";this.root.appendChild(f)};mxVmlCanvas2D.prototype.stroke=function(){this.addNode(!1,!0)};mxVmlCanvas2D.prototype.fill=function(){this.addNode(!0,!1)};mxVmlCanvas2D.prototype.fillAndStroke=function(){this.addNode(!0,!0)};
function mxGuide(b,c){this.graph=b;this.setStates(c)}mxGuide.prototype.graph=null;mxGuide.prototype.states=null;mxGuide.prototype.horizontal=!0;mxGuide.prototype.vertical=!0;mxGuide.prototype.guideX=null;mxGuide.prototype.guideY=null;mxGuide.prototype.setStates=function(b){this.states=b};mxGuide.prototype.isEnabledForEvent=function(b){return!0};mxGuide.prototype.getGuideTolerance=function(){return this.graph.gridSize/2};
mxGuide.prototype.createGuideShape=function(b){b=new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH);b.isDashed=!0;return b};
mxGuide.prototype.move=function(b,c,f){if(null!=this.states&&(this.horizontal||this.vertical)&&null!=b&&null!=c){var d=this.graph.getView().translate,a=this.graph.getView().scale,e=c.x,g=c.y,k=!1,l=null,m=null,n=!1,p=null,r=null,s=this.getGuideTolerance(),q=s,t=s,s=b.clone();s.x+=c.x;s.y+=c.y;var u=s.x,v=s.x+s.width,z=s.getCenterX(),y=s.y,x=s.y+s.height,D=s.getCenterY();c=function(a,d){a+=this.graph.panDx;var c=!1;Math.abs(a-z)<q?(e=a-b.getCenterX(),q=Math.abs(a-z),c=!0):Math.abs(a-u)<q?(e=a-b.x,
q=Math.abs(a-u),c=!0):Math.abs(a-v)<q&&(e=a-b.x-b.width,q=Math.abs(a-v),c=!0);c&&(l=d,m=Math.round(a-this.graph.panDx),null==this.guideX&&(this.guideX=this.createGuideShape(!0),this.guideX.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG,this.guideX.pointerEvents=!1,this.guideX.init(this.graph.getView().getOverlayPane())));k=k||c};for(var s=function(a){a+=this.graph.panDy;var d=!1;Math.abs(a-D)<t?(g=a-b.getCenterY(),t=Math.abs(a-D),d=!0):Math.abs(a-
y)<t?(g=a-b.y,t=Math.abs(a-y),d=!0):Math.abs(a-x)<t&&(g=a-b.y-b.height,t=Math.abs(a-x),d=!0);d&&(p=B,r=Math.round(a-this.graph.panDy),null==this.guideY&&(this.guideY=this.createGuideShape(!1),this.guideY.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG,this.guideY.pointerEvents=!1,this.guideY.init(this.graph.getView().getOverlayPane())));n=n||d},A=0;A<this.states.length;A++){var B=this.states[A];null!=B&&(this.horizontal&&(c.call(this,B.getCenterX(),
B),c.call(this,B.x,B),c.call(this,B.x+B.width,B)),this.vertical&&(s.call(this,B.getCenterY(),B),s.call(this,B.y,B),s.call(this,B.y+B.height,B)))}f&&(k||(f=b.x-(this.graph.snap(b.x/a-d.x)+d.x)*a,e=this.graph.snap(e/a)*a-f),n||(d=b.y-(this.graph.snap(b.y/a-d.y)+d.y)*a,g=this.graph.snap(g/a)*a-d));a=this.graph.container;!k&&null!=this.guideX?this.guideX.node.style.visibility="hidden":null!=this.guideX&&(null!=l&&null!=b&&(minY=Math.min(b.y+g-this.graph.panDy,l.y),maxY=Math.max(b.y+b.height+g-this.graph.panDy,
l.y+l.height)),this.guideX.points=null!=minY&&null!=maxY?[new mxPoint(m,minY),new mxPoint(m,maxY)]:[new mxPoint(m,-this.graph.panDy),new mxPoint(m,a.scrollHeight-3-this.graph.panDy)],this.guideX.stroke=this.getGuideColor(l,!0),this.guideX.node.style.visibility="visible",this.guideX.redraw());!n&&null!=this.guideY?this.guideY.node.style.visibility="hidden":null!=this.guideY&&(null!=p&&null!=b&&(minX=Math.min(b.x+e-this.graph.panDx,p.x),maxX=Math.max(b.x+b.width+e-this.graph.panDx,p.x+p.width)),this.guideY.points=
null!=minX&&null!=maxX?[new mxPoint(minX,r),new mxPoint(maxX,r)]:[new mxPoint(-this.graph.panDx,r),new mxPoint(a.scrollWidth-3-this.graph.panDx,r)],this.guideY.stroke=this.getGuideColor(p,!1),this.guideY.node.style.visibility="visible",this.guideY.redraw());c=new mxPoint(e,g)}return c};mxGuide.prototype.getGuideColor=function(b,c){return mxConstants.GUIDE_COLOR};mxGuide.prototype.hide=function(){this.setVisible(!1)};
mxGuide.prototype.setVisible=function(b){null!=this.guideX&&(this.guideX.node.style.visibility=b?"visible":"hidden");null!=this.guideY&&(this.guideY.node.style.visibility=b?"visible":"hidden")};mxGuide.prototype.destroy=function(){null!=this.guideX&&(this.guideX.destroy(),this.guideX=null);null!=this.guideY&&(this.guideY.destroy(),this.guideY=null)};function mxStencil(b){this.desc=b;this.parseDescription();this.parseConstraints()}mxStencil.defaultLocalized=!1;mxStencil.allowEval=!1;
mxStencil.prototype.desc=null;mxStencil.prototype.constraints=null;mxStencil.prototype.aspect=null;mxStencil.prototype.w0=null;mxStencil.prototype.h0=null;mxStencil.prototype.bgNode=null;mxStencil.prototype.fgNode=null;mxStencil.prototype.strokewidth=null;
mxStencil.prototype.parseDescription=function(){this.fgNode=this.desc.getElementsByTagName("foreground")[0];this.bgNode=this.desc.getElementsByTagName("background")[0];this.w0=Number(this.desc.getAttribute("w")||100);this.h0=Number(this.desc.getAttribute("h")||100);var b=this.desc.getAttribute("aspect");this.aspect=null!=b?b:"variable";b=this.desc.getAttribute("strokewidth");this.strokewidth=null!=b?b:"1"};
mxStencil.prototype.parseConstraints=function(){var b=this.desc.getElementsByTagName("connections")[0];if(null!=b&&(b=mxUtils.getChildNodes(b),null!=b&&0<b.length)){this.constraints=[];for(var c=0;c<b.length;c++)this.constraints.push(this.parseConstraint(b[c]))}};mxStencil.prototype.parseConstraint=function(b){var c=Number(b.getAttribute("x")),f=Number(b.getAttribute("y"));b="1"==b.getAttribute("perimeter");return new mxConnectionConstraint(new mxPoint(c,f),b)};
mxStencil.prototype.evaluateTextAttribute=function(b,c,f){c=this.evaluateAttribute(b,c,f);b=b.getAttribute("localized");if(mxStencil.defaultLocalized&&null==b||"1"==b)c=mxResources.get(c);return c};mxStencil.prototype.evaluateAttribute=function(b,c,f){c=b.getAttribute(c);null==c&&(b=mxUtils.getTextContent(b),null!=b&&mxStencil.allowEval&&(b=mxUtils.eval(b),"function"==typeof b&&(c=b(f))));return c};
mxStencil.prototype.drawShape=function(b,c,f,d,a,e){var g=mxUtils.getValue(c.style,mxConstants.STYLE_DIRECTION,null),g=this.computeAspect(c.style,f,d,a,e,g),k=Math.min(g.width,g.height),k="inherit"==this.strokewidth?Number(mxUtils.getNumber(c.style,mxConstants.STYLE_STROKEWIDTH,1)):Number(this.strokewidth)*k;b.setStrokeWidth(k);this.drawChildren(b,c,f,d,a,e,this.bgNode,g,!1);this.drawChildren(b,c,f,d,a,e,this.fgNode,g,!0)};
mxStencil.prototype.drawChildren=function(b,c,f,d,a,e,g,k,l){if(null!=g&&0<a&&0<e)for(f=g.firstChild;null!=f;)f.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(b,c,f,k,l),f=f.nextSibling};
mxStencil.prototype.computeAspect=function(b,c,f,d,a,e){b=c;c=d/this.w0;var g=a/this.h0;if(e=e==mxConstants.DIRECTION_NORTH||e==mxConstants.DIRECTION_SOUTH){g=d/this.h0;c=a/this.w0;var k=(d-a)/2;b+=k;f-=k}"fixed"==this.aspect&&(c=g=Math.min(c,g),e?(b+=(a-this.w0*c)/2,f+=(d-this.h0*g)/2):(b+=(d-this.w0*c)/2,f+=(a-this.h0*g)/2));return new mxRectangle(b,f,c,g)};
mxStencil.prototype.drawNode=function(b,c,f,d,a){var e=f.nodeName,g=d.x,k=d.y,l=d.width,m=d.height,n=Math.min(l,m);if("save"==e)b.save();else if("restore"==e)b.restore();else if("path"==e){b.begin();for(f=f.firstChild;null!=f;)f.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(b,c,f,d,a),f=f.nextSibling}else if("close"==e)b.close();else if("move"==e)b.moveTo(g+Number(f.getAttribute("x"))*l,k+Number(f.getAttribute("y"))*m);else if("line"==e)b.lineTo(g+Number(f.getAttribute("x"))*l,k+Number(f.getAttribute("y"))*
m);else if("quad"==e)b.quadTo(g+Number(f.getAttribute("x1"))*l,k+Number(f.getAttribute("y1"))*m,g+Number(f.getAttribute("x2"))*l,k+Number(f.getAttribute("y2"))*m);else if("curve"==e)b.curveTo(g+Number(f.getAttribute("x1"))*l,k+Number(f.getAttribute("y1"))*m,g+Number(f.getAttribute("x2"))*l,k+Number(f.getAttribute("y2"))*m,g+Number(f.getAttribute("x3"))*l,k+Number(f.getAttribute("y3"))*m);else if("arc"==e)b.arcTo(Number(f.getAttribute("rx"))*l,Number(f.getAttribute("ry"))*m,Number(f.getAttribute("x-axis-rotation")),
Number(f.getAttribute("large-arc-flag")),Number(f.getAttribute("sweep-flag")),g+Number(f.getAttribute("x"))*l,k+Number(f.getAttribute("y"))*m);else if("rect"==e)b.rect(g+Number(f.getAttribute("x"))*l,k+Number(f.getAttribute("y"))*m,Number(f.getAttribute("w"))*l,Number(f.getAttribute("h"))*m);else if("roundrect"==e)c=Number(f.getAttribute("arcsize")),0==c&&(c=100*mxConstants.RECTANGLE_ROUNDING_FACTOR),n=Number(f.getAttribute("w"))*l,d=Number(f.getAttribute("h"))*m,c=Number(c)/100,c=Math.min(n*c,d*
c),b.roundrect(g+Number(f.getAttribute("x"))*l,k+Number(f.getAttribute("y"))*m,n,d,c,c);else if("ellipse"==e)b.ellipse(g+Number(f.getAttribute("x"))*l,k+Number(f.getAttribute("y"))*m,Number(f.getAttribute("w"))*l,Number(f.getAttribute("h"))*m);else if("image"==e)c.outline||(c=this.evaluateAttribute(f,"src",c),b.image(g+Number(f.getAttribute("x"))*l,k+Number(f.getAttribute("y"))*m,Number(f.getAttribute("w"))*l,Number(f.getAttribute("h"))*m,c,!1,"1"==f.getAttribute("flipH"),"1"==f.getAttribute("flipV")));
else if("text"==e){if(!c.outline){n=this.evaluateTextAttribute(f,"str",c);d="1"==f.getAttribute("vertical")?-90:0;if("0"==f.getAttribute("align-shape")){var p=c.rotation,r=1==mxUtils.getValue(c.style,mxConstants.STYLE_FLIPH,0);c=1==mxUtils.getValue(c.style,mxConstants.STYLE_FLIPV,0);d=r&&c?d-p:r||c?d+p:d-p}d-=f.getAttribute("rotation");b.text(g+Number(f.getAttribute("x"))*l,k+Number(f.getAttribute("y"))*m,0,0,n,f.getAttribute("align")||"left",f.getAttribute("valign")||"top",!1,"",null,!1,d)}}else if("include-shape"==
e)p=mxStencilRegistry.getStencil(f.getAttribute("name")),null!=p&&(g+=Number(f.getAttribute("x"))*l,k+=Number(f.getAttribute("y"))*m,n=Number(f.getAttribute("w"))*l,d=Number(f.getAttribute("h"))*m,p.drawShape(b,c,g,k,n,d));else if("fillstroke"==e)b.fillAndStroke();else if("fill"==e)b.fill();else if("stroke"==e)b.stroke();else if("strokewidth"==e)l="1"==f.getAttribute("fixed")?1:n,b.setStrokeWidth(Number(f.getAttribute("width"))*l);else if("dashed"==e)b.setDashed("1"==f.getAttribute("dashed"));else if("dashpattern"==
e){if(f=f.getAttribute("pattern"),null!=f){f=f.split(" ");l=[];for(m=0;m<f.length;m++)0<f[m].length&&l.push(Number(f[m])*n);f=l.join(" ");b.setDashPattern(f)}}else"strokecolor"==e?b.setStrokeColor(f.getAttribute("color")):"linecap"==e?b.setLineCap(f.getAttribute("cap")):"linejoin"==e?b.setLineJoin(f.getAttribute("join")):"miterlimit"==e?b.setMiterLimit(Number(f.getAttribute("limit"))):"fillcolor"==e?b.setFillColor(f.getAttribute("color")):"alpha"==e?b.setAlpha(f.getAttribute("alpha")):"fontcolor"==
e?b.setFontColor(f.getAttribute("color")):"fontstyle"==e?b.setFontStyle(f.getAttribute("style")):"fontfamily"==e?b.setFontFamily(f.getAttribute("family")):"fontsize"==e&&b.setFontSize(Number(f.getAttribute("size"))*n);a&&("fillstroke"==e||"fill"==e||"stroke"==e)&&b.setShadow(!1)};function mxShape(b){this.stencil=b;this.initStyles()}mxShape.prototype.dialect=null;mxShape.prototype.scale=1;mxShape.prototype.antiAlias=!0;mxShape.prototype.bounds=null;mxShape.prototype.points=null;
mxShape.prototype.node=null;mxShape.prototype.state=null;mxShape.prototype.style=null;mxShape.prototype.boundingBox=null;mxShape.prototype.stencil=null;mxShape.prototype.svgStrokeTolerance=8;mxShape.prototype.pointerEvents=!0;mxShape.prototype.svgPointerEvents="all";mxShape.prototype.shapePointerEvents=!1;mxShape.prototype.stencilPointerEvents=!1;mxShape.prototype.vmlScale=1;mxShape.prototype.outline=!1;mxShape.prototype.visible=!0;mxShape.prototype.useSvgBoundingBox=!1;
mxShape.prototype.init=function(b){null==this.node&&(this.node=this.create(b),null!=b&&b.appendChild(this.node))};mxShape.prototype.initStyles=function(b){this.strokewidth=1;this.rotation=0;this.strokeOpacity=this.fillOpacity=this.opacity=100;this.flipV=this.flipH=!1};mxShape.prototype.isParseVml=function(){return!0};mxShape.prototype.isHtmlAllowed=function(){return!1};
mxShape.prototype.getSvgScreenOffset=function(){return 1==mxUtils.mod(Math.max(1,Math.round((this.stencil&&"inherit"!=this.stencil.strokewidth?Number(this.stencil.strokewidth):this.strokewidth)*this.scale)),2)?0.5:0};mxShape.prototype.create=function(b){return null!=b&&null!=b.ownerSVGElement?this.createSvg(b):8==document.documentMode||!mxClient.IS_VML||this.dialect!=mxConstants.DIALECT_VML&&this.isHtmlAllowed()?this.createHtml(b):this.createVml(b)};
mxShape.prototype.createSvg=function(){return document.createElementNS(mxConstants.NS_SVG,"g")};mxShape.prototype.createVml=function(){var b=document.createElement(mxClient.VML_PREFIX+":group");b.style.position="absolute";return b};mxShape.prototype.createHtml=function(){var b=document.createElement("div");b.style.position="absolute";return b};mxShape.prototype.reconfigure=function(){this.redraw()};
mxShape.prototype.redraw=function(){this.updateBoundsFromPoints();this.visible&&this.checkBounds()?(this.node.style.visibility="visible",this.clear(),"DIV"==this.node.nodeName&&(this.isHtmlAllowed()||!mxClient.IS_VML)?this.redrawHtmlShape():this.redrawShape(),this.updateBoundingBox()):(this.node.style.visibility="hidden",this.boundingBox=null)};
mxShape.prototype.clear=function(){if(null!=this.node.ownerSVGElement)for(;null!=this.node.lastChild;)this.node.removeChild(this.node.lastChild);else this.node.style.cssText="position:absolute;"+(null!=this.cursor?"cursor:"+this.cursor+";":""),this.node.innerHTML=""};
mxShape.prototype.updateBoundsFromPoints=function(){var b=this.points;if(null!=b&&0<b.length&&null!=b[0]){this.bounds=new mxRectangle(Number(b[0].x),Number(b[0].y),1,1);for(var c=1;c<this.points.length;c++)null!=b[c]&&this.bounds.add(new mxRectangle(Number(b[c].x),Number(b[c].y),1,1))}};mxShape.prototype.getLabelBounds=function(b){return b};
mxShape.prototype.checkBounds=function(){return!isNaN(this.scale)&&isFinite(this.scale)&&0<this.scale&&null!=this.bounds&&!isNaN(this.bounds.x)&&!isNaN(this.bounds.y)&&!isNaN(this.bounds.width)&&!isNaN(this.bounds.height)&&0<this.bounds.width&&0<this.bounds.height};mxShape.prototype.createVmlGroup=function(){var b=document.createElement(mxClient.VML_PREFIX+":group");b.style.position="absolute";b.style.width=this.node.style.width;b.style.height=this.node.style.height;return b};
mxShape.prototype.redrawShape=function(){var b=this.createCanvas();null!=b&&(b.pointerEvents=this.pointerEvents,this.paint(b),this.node!=b.root&&this.node.insertAdjacentHTML("beforeend",b.root.outerHTML),"DIV"==this.node.nodeName&&8==document.documentMode&&(this.node.style.filter="",mxUtils.addTransparentBackgroundFilter(this.node)),this.destroyCanvas(b))};
mxShape.prototype.createCanvas=function(){var b=null;null!=this.node.ownerSVGElement?b=this.createSvgCanvas():mxClient.IS_VML&&(this.updateVmlContainer(),b=this.createVmlCanvas());this.outline&&(b.setStrokeWidth(this.strokewidth),b.setStrokeColor(this.stroke),null!=this.isDashed&&b.setDashed(this.isDashed),b.setStrokeWidth=function(){},b.setStrokeColor=function(){},b.setFillColor=function(){},b.setGradient=function(){},b.setDashed=function(){});return b};
mxShape.prototype.createSvgCanvas=function(){var b=new mxSvgCanvas2D(this.node,!1);b.strokeTolerance=this.pointerEvents?this.svgStrokeTolerance:0;b.pointerEventsValue=this.svgPointerEvents;b.blockImagePointerEvents=mxClient.IS_FF;var c=this.getSvgScreenOffset();0!=c?this.node.setAttribute("transform","translate("+c+","+c+")"):this.node.removeAttribute("transform");this.antiAlias||(b.format=function(b){return Math.round(parseFloat(b))});return b};
mxShape.prototype.createVmlCanvas=function(){var b=8==document.documentMode&&this.isParseVml()?this.createVmlGroup():this.node,c=new mxVmlCanvas2D(b,!1);if(""!=b.tagUrn){var f=Math.max(1,Math.round(this.bounds.width)),d=Math.max(1,Math.round(this.bounds.height));b.coordsize=f*this.vmlScale+","+d*this.vmlScale;c.scale(this.vmlScale);c.vmlScale=this.vmlScale}b=this.scale;c.translate(-Math.round(this.bounds.x/b),-Math.round(this.bounds.y/b));return c};
mxShape.prototype.updateVmlContainer=function(){this.node.style.left=Math.round(this.bounds.x)+"px";this.node.style.top=Math.round(this.bounds.y)+"px";var b=Math.max(1,Math.round(this.bounds.width)),c=Math.max(1,Math.round(this.bounds.height));this.node.style.width=b+"px";this.node.style.height=c+"px";this.node.style.overflow="visible"};mxShape.prototype.redrawHtmlShape=function(){this.updateHtmlBounds(this.node);this.updateHtmlFilters(this.node);this.updateHtmlColors(this.node)};
mxShape.prototype.updateHtmlFilters=function(b){var c="";100>this.opacity&&(c+="alpha(opacity\x3d"+this.opacity+")");this.isShadow&&(c+="progid:DXImageTransform.Microsoft.dropShadow (OffX\x3d'"+Math.round(mxConstants.SHADOW_OFFSET_X*this.scale)+"', OffY\x3d'"+Math.round(mxConstants.SHADOW_OFFSET_Y*this.scale)+"', Color\x3d'"+mxConstants.VML_SHADOWCOLOR+"')");if(null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE){var f=this.fill,d=this.gradient,a="0",e={east:0,
south:1,west:2,north:3},g=null!=this.direction?e[this.direction]:0;null!=this.gradientDirection&&(g=mxUtils.mod(g+e[this.gradientDirection]-1,4));1==g?(a="1",e=f,f=d,d=e):2==g?(e=f,f=d,d=e):3==g&&(a="1");c+="progid:DXImageTransform.Microsoft.gradient(startColorStr\x3d'"+f+"', endColorStr\x3d'"+d+"', gradientType\x3d'"+a+"')"}b.style.filter=c};
mxShape.prototype.updateHtmlColors=function(b){var c=this.stroke;null!=c&&c!=mxConstants.NONE?(b.style.borderColor=c,this.isDashed?b.style.borderStyle="dashed":0<this.strokewidth&&(b.style.borderStyle="solid"),b.style.borderWidth=Math.max(1,Math.ceil(this.strokewidth*this.scale))+"px"):b.style.borderWidth="0px";c=this.outline?null:this.fill;null!=c&&c!=mxConstants.NONE?(b.style.backgroundColor=c,b.style.backgroundImage="none"):this.pointerEvents?b.style.backgroundColor="transparent":8==document.documentMode?
mxUtils.addTransparentBackgroundFilter(b):this.setTransparentBackgroundImage(b)};
mxShape.prototype.updateHtmlBounds=function(b){var c=9<=document.documentMode?0:Math.ceil(this.strokewidth*this.scale);b.style.borderWidth=Math.max(1,c)+"px";b.style.overflow="hidden";b.style.left=Math.round(this.bounds.x-c/2)+"px";b.style.top=Math.round(this.bounds.y-c/2)+"px";"CSS1Compat"==document.compatMode&&(c=-c);b.style.width=Math.round(Math.max(0,this.bounds.width+c))+"px";b.style.height=Math.round(Math.max(0,this.bounds.height+c))+"px"};
mxShape.prototype.destroyCanvas=function(b){if(b instanceof mxSvgCanvas2D){for(var c in b.gradients){var f=b.gradients[c];null!=f&&(f.mxRefCount=(f.mxRefCount||0)+1)}this.releaseSvgGradients(this.oldGradients);this.oldGradients=b.gradients}};
mxShape.prototype.paint=function(b){var c=this.scale,f=this.bounds.x/c,d=this.bounds.y/c,a=this.bounds.width/c,e=this.bounds.height/c;if(this.isPaintBoundsInverted())var g=(a-e)/2,f=f+g,d=d-g,g=a,a=e,e=g;this.updateTransform(b,f,d,a,e);this.configureCanvas(b,f,d,a,e);g=null;if(null==this.stencil&&null==this.points&&this.shapePointerEvents||null!=this.stencil&&this.stencilPointerEvents){var k=this.createBoundingBox();this.dialect==mxConstants.DIALECT_SVG?(g=this.createTransparentSvgRectangle(k.x,k.y,
k.width,k.height),this.node.appendChild(g)):(k=b.createRect("rect",k.x/c,k.y/c,k.width/c,k.height/c),k.appendChild(b.createTransparentFill()),k.stroked="false",b.root.appendChild(k))}if(null!=this.stencil)this.stencil.drawShape(b,this,f,d,a,e);else if(b.setStrokeWidth(this.strokewidth),null!=this.points){f=[];for(d=0;d<this.points.length;d++)null!=this.points[d]&&f.push(new mxPoint(this.points[d].x/c,this.points[d].y/c));this.paintEdgeShape(b,f)}else this.paintVertexShape(b,f,d,a,e);null!=g&&null!=
b.state&&null!=b.state.transform&&g.setAttribute("transform",b.state.transform)};
mxShape.prototype.configureCanvas=function(b,c,f,d,a){var e=null;null!=this.style&&(e=this.style.dashPattern);b.setAlpha(this.opacity/100);b.setFillAlpha(this.fillOpacity/100);b.setStrokeAlpha(this.strokeOpacity/100);null!=this.isShadow&&b.setShadow(this.isShadow);null!=this.isDashed&&b.setDashed(this.isDashed);null!=e&&b.setDashPattern(e);null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE?(c=this.getGradientBounds(b,c,f,d,a),b.setGradient(this.fill,this.gradient,
c.x,c.y,c.width,c.height,this.gradientDirection)):b.setFillColor(this.fill);b.setStrokeColor(this.stroke)};mxShape.prototype.getGradientBounds=function(b,c,f,d,a){return new mxRectangle(c,f,d,a)};mxShape.prototype.updateTransform=function(b,c,f,d,a){b.scale(this.scale);b.rotate(this.getShapeRotation(),this.flipH,this.flipV,c+d/2,f+a/2)};mxShape.prototype.paintVertexShape=function(b,c,f,d,a){this.paintBackground(b,c,f,d,a);b.setShadow(!1);this.paintForeground(b,c,f,d,a)};
mxShape.prototype.paintBackground=function(b,c,f,d,a){};mxShape.prototype.paintForeground=function(b,c,f,d,a){};mxShape.prototype.paintEdgeShape=function(b,c){};mxShape.prototype.getArcSize=function(b,c){var f=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;return Math.min(b*f,c*f)};
mxShape.prototype.paintGlassEffect=function(b,c,f,d,a,e){var g=Math.ceil(this.strokewidth/2);b.setGradient("#ffffff","#ffffff",c,f,d,0.6*a,"south",0.9,0.1);b.begin();e+=2*g;this.isRounded?(b.moveTo(c-g+e,f-g),b.quadTo(c-g,f-g,c-g,f-g+e),b.lineTo(c-g,f+0.4*a),b.quadTo(c+0.5*d,f+0.7*a,c+d+g,f+0.4*a),b.lineTo(c+d+g,f-g+e),b.quadTo(c+d+g,f-g,c+d+g-e,f-g)):(b.moveTo(c-g,f-g),b.lineTo(c-g,f+0.4*a),b.quadTo(c+0.5*d,f+0.7*a,c+d+g,f+0.4*a),b.lineTo(c+d+g,f-g));b.close();b.fill()};
mxShape.prototype.addPoints=function(b,c,f,d,a){var e=c[c.length-1];if(a&&f){c=c.slice();var g=c[0],g=new mxPoint(e.x+(g.x-e.x)/2,e.y+(g.y-e.y)/2);c.splice(0,0,g)}var k=c[0],g=1;for(b.moveTo(k.x,k.y);g<(a?c.length:c.length-1);){var l=c[mxUtils.mod(g,c.length)],m=k.x-l.x,k=k.y-l.y;if(f&&(0!=m||0!=k)){var n=Math.sqrt(m*m+k*k),m=m*Math.min(d,n/2)/n,k=k*Math.min(d,n/2)/n;b.lineTo(l.x+m,l.y+k);for(k=c[mxUtils.mod(g+1,c.length)];g<c.length-2&&0==Math.round(k.x-l.x)&&0==Math.round(k.y-l.y);)k=c[mxUtils.mod(g+
2,c.length)],g++;m=k.x-l.x;k=k.y-l.y;n=Math.max(1,Math.sqrt(m*m+k*k));m=m*Math.min(d,n/2)/n;k=k*Math.min(d,n/2)/n;m=l.x+m;k=l.y+k;b.quadTo(l.x,l.y,m,k);l=new mxPoint(m,k)}else b.lineTo(l.x,l.y);k=l;g++}a?b.close():b.lineTo(e.x,e.y)};
mxShape.prototype.resetStyles=function(){this.initStyles();this.spacing=0;delete this.fill;delete this.gradient;delete this.gradientDirection;delete this.stroke;delete this.startSize;delete this.endSize;delete this.startArrow;delete this.endArrow;delete this.direction;delete this.isShadow;delete this.isDashed;delete this.isRounded;delete this.glass};
mxShape.prototype.apply=function(b){this.state=b;this.style=b.style;if(null!=this.style){this.fill=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,this.fill);this.gradient=mxUtils.getValue(this.style,mxConstants.STYLE_GRADIENTCOLOR,this.gradient);this.gradientDirection=mxUtils.getValue(this.style,mxConstants.STYLE_GRADIENT_DIRECTION,this.gradientDirection);this.opacity=mxUtils.getValue(this.style,mxConstants.STYLE_OPACITY,this.opacity);this.fillOpacity=mxUtils.getValue(this.style,mxConstants.STYLE_FILL_OPACITY,
this.fillOpacity);this.strokeOpacity=mxUtils.getValue(this.style,mxConstants.STYLE_STROKE_OPACITY,this.strokeOpacity);this.stroke=mxUtils.getValue(this.style,mxConstants.STYLE_STROKECOLOR,this.stroke);this.strokewidth=mxUtils.getNumber(this.style,mxConstants.STYLE_STROKEWIDTH,this.strokewidth);this.arrowStrokewidth=mxUtils.getNumber(this.style,mxConstants.STYLE_STROKEWIDTH,this.strokewidth);this.spacing=mxUtils.getValue(this.style,mxConstants.STYLE_SPACING,this.spacing);this.startSize=mxUtils.getNumber(this.style,
mxConstants.STYLE_STARTSIZE,this.startSize);this.endSize=mxUtils.getNumber(this.style,mxConstants.STYLE_ENDSIZE,this.endSize);this.startArrow=mxUtils.getValue(this.style,mxConstants.STYLE_STARTARROW,this.startArrow);this.endArrow=mxUtils.getValue(this.style,mxConstants.STYLE_ENDARROW,this.endArrow);this.rotation=mxUtils.getValue(this.style,mxConstants.STYLE_ROTATION,this.rotation);this.direction=mxUtils.getValue(this.style,mxConstants.STYLE_DIRECTION,this.direction);this.flipH=1==mxUtils.getValue(this.style,
mxConstants.STYLE_FLIPH,0);this.flipV=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPV,0);null!=this.stencil&&(this.flipH=1==mxUtils.getValue(this.style,"stencilFlipH",0)||this.flipH,this.flipV=1==mxUtils.getValue(this.style,"stencilFlipV",0)||this.flipV);if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH)b=this.flipH,this.flipH=this.flipV,this.flipV=b;this.isShadow=1==mxUtils.getValue(this.style,mxConstants.STYLE_SHADOW,this.isShadow);this.isDashed=
1==mxUtils.getValue(this.style,mxConstants.STYLE_DASHED,this.isDashed);this.isRounded=1==mxUtils.getValue(this.style,mxConstants.STYLE_ROUNDED,this.isRounded);this.glass=1==mxUtils.getValue(this.style,mxConstants.STYLE_GLASS,this.glass);this.fill==mxConstants.NONE&&(this.fill=null);this.gradient==mxConstants.NONE&&(this.gradient=null);this.stroke==mxConstants.NONE&&(this.stroke=null)}};mxShape.prototype.setCursor=function(b){null==b&&(b="");this.cursor=b;null!=this.node&&(this.node.style.cursor=b)};
mxShape.prototype.getCursor=function(){return this.cursor};
mxShape.prototype.updateBoundingBox=function(){if(this.useSvgBoundingBox&&null!=this.node&&null!=this.node.ownerSVGElement)try{var b=this.node.getBBox();if(0<b.width&&0<b.height){this.boundingBox=new mxRectangle(b.x,b.y,b.width,b.height);this.boundingBox.grow(this.strokewidth*this.scale/2);return}}catch(c){}if(null!=this.bounds){b=this.createBoundingBox();if(null!=b){this.augmentBoundingBox(b);var f=this.getShapeRotation();0!=f&&(b=mxUtils.getBoundingBox(b,f))}this.boundingBox=b}};
mxShape.prototype.createBoundingBox=function(){var b=this.bounds.clone();(null!=this.stencil&&(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH)||this.isPaintBoundsInverted())&&b.rotate90();return b};mxShape.prototype.augmentBoundingBox=function(b){this.isShadow&&(b.width+=Math.ceil(mxConstants.SHADOW_OFFSET_X*this.scale),b.height+=Math.ceil(mxConstants.SHADOW_OFFSET_Y*this.scale));b.grow(this.strokewidth*this.scale/2)};
mxShape.prototype.isPaintBoundsInverted=function(){return null==this.stencil&&(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH)};mxShape.prototype.getRotation=function(){return null!=this.rotation?this.rotation:0};mxShape.prototype.getTextRotation=function(){var b=this.getRotation();1!=mxUtils.getValue(this.style,mxConstants.STYLE_HORIZONTAL,1)&&(b+=mxText.prototype.verticalTextRotation);return b};
mxShape.prototype.getShapeRotation=function(){var b=this.getRotation();null!=this.direction&&(this.direction==mxConstants.DIRECTION_NORTH?b+=270:this.direction==mxConstants.DIRECTION_WEST?b+=180:this.direction==mxConstants.DIRECTION_SOUTH&&(b+=90));return b};
mxShape.prototype.createTransparentSvgRectangle=function(b,c,f,d){var a=document.createElementNS(mxConstants.NS_SVG,"rect");a.setAttribute("x",b);a.setAttribute("y",c);a.setAttribute("width",f);a.setAttribute("height",d);a.setAttribute("fill","none");a.setAttribute("stroke","none");a.setAttribute("pointer-events","all");return a};mxShape.prototype.setTransparentBackgroundImage=function(b){b.style.backgroundImage="url('"+mxClient.imageBasePath+"/transparent.gif')"};
mxShape.prototype.releaseSvgGradients=function(b){if(null!=b)for(var c in b){var f=b[c];null!=f&&(f.mxRefCount=(f.mxRefCount||0)-1,0==f.mxRefCount&&null!=f.parentNode&&f.parentNode.removeChild(f))}};mxShape.prototype.destroy=function(){null!=this.node&&(mxEvent.release(this.node),null!=this.node.parentNode&&this.node.parentNode.removeChild(this.node),this.node=null);this.releaseSvgGradients(this.oldGradients);this.oldGradients=null};
var mxStencilRegistry={stencils:{},addStencil:function(b,c){mxStencilRegistry.stencils[b]=c},getStencil:function(b){return mxStencilRegistry.stencils[b]}},mxMarker={markers:[],addMarker:function(b,c){mxMarker.markers[b]=c},createMarker:function(b,c,f,d,a,e,g,k,l,m){var n=mxMarker.markers[f];return null!=n?n(b,c,f,d,a,e,g,k,l,m):null}};
(function(){function b(b){b=null!=b?b:2;return function(a,e,c,f,l,m,n,p,r,s){e=1.118*l*r;p=1.118*m*r;l*=n+r;m*=n+r;var q=f.clone();q.x-=e;q.y-=p;n=c!=mxConstants.ARROW_CLASSIC&&c!=mxConstants.ARROW_CLASSIC_THIN?1:0.75;f.x+=-l*n-e;f.y+=-m*n-p;return function(){a.begin();a.moveTo(q.x,q.y);a.lineTo(q.x-l-m/b,q.y-m+l/b);(c==mxConstants.ARROW_CLASSIC||c==mxConstants.ARROW_CLASSIC_THIN)&&a.lineTo(q.x-3*l/4,q.y-3*m/4);a.lineTo(q.x+m/b-l,q.y-m-l/b);a.close();s?a.fillAndStroke():a.stroke()}}}function c(b){b=
null!=b?b:2;return function(a,e,c,f,l,m,n,p,r,s){e=1.118*l*r;c=1.118*m*r;l*=n+r;m*=n+r;var q=f.clone();q.x-=e;q.y-=c;f.x+=2*-e;f.y+=2*-c;return function(){a.begin();a.moveTo(q.x-l-m/b,q.y-m+l/b);a.lineTo(q.x,q.y);a.lineTo(q.x+m/b-l,q.y-m-l/b);a.stroke()}}}function f(b,a,e,c,f,l,m,n,p,r){n=e==mxConstants.ARROW_DIAMOND?0.7071:0.9862;a=f*p*n;n*=l*p;f*=m+p;l*=m+p;var s=c.clone();s.x-=a;s.y-=n;c.x+=-f-a;c.y+=-l-n;var q=e==mxConstants.ARROW_DIAMOND?2:3.4;return function(){b.begin();b.moveTo(s.x,s.y);b.lineTo(s.x-
f/2-l/q,s.y+f/q-l/2);b.lineTo(s.x-f,s.y-l);b.lineTo(s.x-f/2+l/q,s.y-l/2-f/q);b.close();r?b.fillAndStroke():b.stroke()}}mxMarker.addMarker("classic",b(2));mxMarker.addMarker("classicThin",b(3));mxMarker.addMarker("block",b(2));mxMarker.addMarker("blockThin",b(3));mxMarker.addMarker("open",c(2));mxMarker.addMarker("openThin",c(3));mxMarker.addMarker("oval",function(b,a,e,c,f,l,m,n,p,r){var s=m/2,q=c.clone();c.x-=f*s;c.y-=l*s;return function(){b.ellipse(q.x-s,q.y-s,m,m);r?b.fillAndStroke():b.stroke()}});
mxMarker.addMarker("diamond",f);mxMarker.addMarker("diamondThin",f)})();function mxActor(b,c,f,d){mxShape.call(this);this.bounds=b;this.fill=c;this.stroke=f;this.strokewidth=null!=d?d:1}mxUtils.extend(mxActor,mxShape);mxActor.prototype.paintVertexShape=function(b,c,f,d,a){b.translate(c,f);b.begin();this.redrawPath(b,c,f,d,a);b.fillAndStroke()};
mxActor.prototype.redrawPath=function(b,c,f,d,a){c=d/3;b.moveTo(0,a);b.curveTo(0,3*a/5,0,2*a/5,d/2,2*a/5);b.curveTo(d/2-c,2*a/5,d/2-c,0,d/2,0);b.curveTo(d/2+c,0,d/2+c,2*a/5,d/2,2*a/5);b.curveTo(d,2*a/5,d,3*a/5,d,a);b.close()};function mxCloud(b,c,f,d){mxActor.call(this);this.bounds=b;this.fill=c;this.stroke=f;this.strokewidth=null!=d?d:1}mxUtils.extend(mxCloud,mxActor);
mxCloud.prototype.redrawPath=function(b,c,f,d,a){b.moveTo(0.25*d,0.25*a);b.curveTo(0.05*d,0.25*a,0,0.5*a,0.16*d,0.55*a);b.curveTo(0,0.66*a,0.18*d,0.9*a,0.31*d,0.8*a);b.curveTo(0.4*d,a,0.7*d,a,0.8*d,0.8*a);b.curveTo(d,0.8*a,d,0.6*a,0.875*d,0.5*a);b.curveTo(d,0.3*a,0.8*d,0.1*a,0.625*d,0.2*a);b.curveTo(0.5*d,0.05*a,0.3*d,0.05*a,0.25*d,0.25*a);b.close()};function mxRectangleShape(b,c,f,d){mxShape.call(this);this.bounds=b;this.fill=c;this.stroke=f;this.strokewidth=null!=d?d:1}
mxUtils.extend(mxRectangleShape,mxShape);mxRectangleShape.prototype.isHtmlAllowed=function(){var b=!0;null!=this.style&&(b="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));return!this.isRounded&&!this.glass&&0==this.rotation&&(b||null!=this.fill&&this.fill!=mxConstants.NONE)};
mxRectangleShape.prototype.paintBackground=function(b,c,f,d,a){var e=!0;null!=this.style&&(e="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(e||null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE){if(!e&&(null==this.fill||this.fill==mxConstants.NONE))b.pointerEvents=!1;this.isRounded?(e=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,e=Math.min(d*e,a*e),b.roundrect(c,f,d,a,e,
e)):b.rect(c,f,d,a);b.fillAndStroke()}};mxRectangleShape.prototype.paintForeground=function(b,c,f,d,a){this.glass&&!this.outline&&null!=this.fill&&this.fill!=mxConstants.NONE&&this.paintGlassEffect(b,c,f,d,a,this.getArcSize(d+this.strokewidth,a+this.strokewidth))};function mxEllipse(b,c,f,d){mxShape.call(this);this.bounds=b;this.fill=c;this.stroke=f;this.strokewidth=null!=d?d:1}mxUtils.extend(mxEllipse,mxShape);mxEllipse.prototype.paintVertexShape=function(b,c,f,d,a){b.ellipse(c,f,d,a);b.fillAndStroke()};
function mxDoubleEllipse(b,c,f,d){mxShape.call(this);this.bounds=b;this.fill=c;this.stroke=f;this.strokewidth=null!=d?d:1}mxUtils.extend(mxDoubleEllipse,mxShape);mxDoubleEllipse.prototype.vmlScale=10;mxDoubleEllipse.prototype.paintBackground=function(b,c,f,d,a){b.ellipse(c,f,d,a);b.fillAndStroke()};
mxDoubleEllipse.prototype.paintForeground=function(b,c,f,d,a){if(!this.outline){var e=mxUtils.getValue(this.style,mxConstants.STYLE_MARGIN,Math.min(3+this.strokewidth,Math.min(d/5,a/5)));d-=2*e;a-=2*e;0<d&&0<a&&b.ellipse(c+e,f+e,d,a);b.stroke()}};
mxDoubleEllipse.prototype.getLabelBounds=function(b){var c=mxUtils.getValue(this.style,mxConstants.STYLE_MARGIN,Math.min(3+this.strokewidth,Math.min(b.width/5/this.scale,b.height/5/this.scale)))*this.scale;return new mxRectangle(b.x+c,b.y+c,b.width-2*c,b.height-2*c)};function mxRhombus(b,c,f,d){mxShape.call(this);this.bounds=b;this.fill=c;this.stroke=f;this.strokewidth=null!=d?d:1}mxUtils.extend(mxRhombus,mxShape);
mxRhombus.prototype.paintVertexShape=function(b,c,f,d,a){var e=d/2,g=a/2,k=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;b.begin();this.addPoints(b,[new mxPoint(c+e,f),new mxPoint(c+d,f+g),new mxPoint(c+e,f+a),new mxPoint(c,f+g)],this.isRounded,k,!0);b.fillAndStroke()};function mxPolyline(b,c,f){mxShape.call(this);this.points=b;this.stroke=c;this.strokewidth=null!=f?f:1}mxUtils.extend(mxPolyline,mxShape);mxPolyline.prototype.getRotation=function(){return 0};
mxPolyline.prototype.getShapeRotation=function(){return 0};mxPolyline.prototype.isPaintBoundsInverted=function(){return!1};mxPolyline.prototype.paintEdgeShape=function(b,c){null==this.style||1!=this.style[mxConstants.STYLE_CURVED]?this.paintLine(b,c,this.isRounded):this.paintCurvedLine(b,c)};mxPolyline.prototype.paintLine=function(b,c,f){var d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;b.begin();this.addPoints(b,c,f,d,!1);b.stroke()};
mxPolyline.prototype.paintCurvedLine=function(b,c){b.begin();var f=c[0],d=c.length;b.moveTo(f.x,f.y);for(f=1;f<d-2;f++){var a=c[f],e=c[f+1];b.quadTo(a.x,a.y,(a.x+e.x)/2,(a.y+e.y)/2)}a=c[d-2];e=c[d-1];b.quadTo(a.x,a.y,e.x,e.y);b.stroke()};
function mxArrow(b,c,f,d,a,e,g){mxShape.call(this);this.points=b;this.fill=c;this.stroke=f;this.strokewidth=null!=d?d:1;this.arrowWidth=null!=a?a:mxConstants.ARROW_WIDTH;this.spacing=null!=e?e:mxConstants.ARROW_SPACING;this.endSize=null!=g?g:mxConstants.ARROW_SIZE}mxUtils.extend(mxArrow,mxShape);mxArrow.prototype.augmentBoundingBox=function(b){mxShape.prototype.augmentBoundingBox.apply(this,arguments);var c=Math.max(this.arrowWidth,this.endSize);b.grow((c/2+this.strokewidth)*this.scale)};
mxArrow.prototype.paintEdgeShape=function(b,c){var f=mxConstants.ARROW_SPACING,d=mxConstants.ARROW_WIDTH,a=mxConstants.ARROW_SIZE,e=c[0],g=c[c.length-1],k=g.x-e.x,l=g.y-e.y,m=Math.sqrt(k*k+l*l),n=m-2*f-a,k=k/m,l=l/m,m=d*l/3,d=-d*k/3,a=e.x-m/2+f*k,e=e.y-d/2+f*l,p=a+m,r=e+d,s=p+n*k,n=r+n*l,q=s+m,t=n+d,u=q-3*m,v=t-3*d;b.begin();b.moveTo(a,e);b.lineTo(p,r);b.lineTo(s,n);b.lineTo(q,t);b.lineTo(g.x-f*k,g.y-f*l);b.lineTo(u,v);b.lineTo(u+m,v+d);b.close();b.fillAndStroke()};
function mxArrowConnector(b,c,f,d,a,e,g){mxShape.call(this);this.points=b;this.fill=c;this.stroke=f;this.strokewidth=null!=d?d:1;this.arrowWidth=null!=a?a:mxConstants.ARROW_WIDTH;this.arrowSpacing=null!=e?e:mxConstants.ARROW_SPACING;this.startSize=mxConstants.ARROW_SIZE/5;this.endSize=mxConstants.ARROW_SIZE/5}mxUtils.extend(mxArrowConnector,mxShape);mxArrowConnector.prototype.useSvgBoundingBox=!0;
mxArrowConnector.prototype.resetStyles=function(){mxShape.prototype.resetStyles.apply(this,arguments);this.arrowSpacing=mxConstants.ARROW_SPACING};mxArrowConnector.prototype.apply=function(b){mxShape.prototype.apply.apply(this,arguments);null!=this.style&&(this.startSize=3*mxUtils.getNumber(this.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5),this.endSize=3*mxUtils.getNumber(this.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5))};
mxArrowConnector.prototype.augmentBoundingBox=function(b){mxShape.prototype.augmentBoundingBox.apply(this,arguments);var c=this.getEdgeWidth();this.isMarkerStart()&&(c=Math.max(c,this.getStartArrowWidth()));this.isMarkerEnd()&&(c=Math.max(c,this.getEndArrowWidth()));b.grow((c/2+this.strokewidth)*this.scale)};
mxArrowConnector.prototype.paintEdgeShape=function(b,c){var f=this.strokewidth;this.outline&&(f=Math.max(1,mxUtils.getNumber(this.style,mxConstants.STYLE_STROKEWIDTH,this.strokewidth)));for(var d=this.getStartArrowWidth()+f,a=this.getEndArrowWidth()+f,e=this.outline?this.getEdgeWidth()+f:this.getEdgeWidth(),g=this.isOpenEnded(),k=this.isMarkerStart(),l=this.isMarkerEnd(),m=g?0:this.arrowSpacing+f/2,n=this.startSize+f,f=this.endSize+f,p=this.isArrowRounded(),r=c[c.length-1],s=1;s<c.length-1&&c[s].x==
c[0].x&&c[s].y==c[0].y;)s++;var q=c[s].x-c[0].x,s=c[s].y-c[0].y,t=Math.sqrt(q*q+s*s);if(0!=t){var u=q/t,v,z=u,y=s/t,x,D=y,t=e*y,A=-e*u,B=[];p?b.setLineJoin("round"):2<c.length&&b.setMiterLimit(1.42);b.begin();q=u;s=y;if(k&&!g)this.paintMarker(b,c[0].x,c[0].y,u,y,n,d,e,m,!0);else{v=c[0].x+t/2+m*u;x=c[0].y+A/2+m*y;var E=c[0].x-t/2+m*u,F=c[0].y-A/2+m*y;g?(b.moveTo(v,x),B.push(function(){b.lineTo(E,F)})):(b.moveTo(E,F),b.lineTo(v,x))}for(var G=x=v=0,t=0;t<c.length-2;t++)if(A=mxUtils.relativeCcw(c[t].x,
c[t].y,c[t+1].x,c[t+1].y,c[t+2].x,c[t+2].y),v=c[t+2].x-c[t+1].x,x=c[t+2].y-c[t+1].y,G=Math.sqrt(v*v+x*x),0!=G&&(z=v/G,D=x/G,tmp=Math.max(Math.sqrt((u*z+y*D+1)/2),0.04),v=u+z,x=y+D,G=Math.sqrt(v*v+x*x),0!=G)){v/=G;x/=G;var G=Math.max(tmp,Math.min(this.strokewidth/200+0.04,0.35)),G=0!=A&&p?Math.max(0.1,G):Math.max(tmp,0.06),H=c[t+1].x+x*e/2/G,I=c[t+1].y-v*e/2/G;x=c[t+1].x-x*e/2/G;v=c[t+1].y+v*e/2/G;0==A||!p?(b.lineTo(H,I),function(a,d){B.push(function(){b.lineTo(a,d)})}(x,v)):-1==A?(A=x+D*e,G=v-z*e,
b.lineTo(x+y*e,v-u*e),b.quadTo(H,I,A,G),function(a,d){B.push(function(){b.lineTo(a,d)})}(x,v)):(b.lineTo(H,I),function(a,d){var c=H-y*e,f=I+u*e,g=H-D*e,k=I+z*e;B.push(function(){b.quadTo(a,d,c,f)});B.push(function(){b.lineTo(g,k)})}(x,v));u=z;y=D}t=e*D;A=-e*z;if(l&&!g)this.paintMarker(b,r.x,r.y,-u,-y,f,a,e,m,!1);else{b.lineTo(r.x-m*z+t/2,r.y-m*D+A/2);var L=r.x-m*z-t/2,O=r.y-m*D-A/2;g?(b.moveTo(L,O),B.splice(0,0,function(){b.moveTo(L,O)})):b.lineTo(L,O)}for(t=B.length-1;0<=t;t--)B[t]();g?(b.end(),
b.stroke()):(b.close(),b.fillAndStroke());b.setShadow(!1);b.setMiterLimit(4);p&&b.setLineJoin("flat");2<c.length&&(b.setMiterLimit(4),k&&!g&&(b.begin(),this.paintMarker(b,c[0].x,c[0].y,q,s,n,d,e,m,!0),b.stroke(),b.end()),l&&!g&&(b.begin(),this.paintMarker(b,r.x,r.y,-u,-y,f,a,e,m,!0),b.stroke(),b.end()))}};
mxArrowConnector.prototype.paintMarker=function(b,c,f,d,a,e,g,k,l,m){g=k/g;var n=k*a/2;k=-k*d/2;var p=(l+e)*d;e=(l+e)*a;m?b.moveTo(c-n+p,f-k+e):b.lineTo(c-n+p,f-k+e);b.lineTo(c-n/g+p,f-k/g+e);b.lineTo(c+l*d,f+l*a);b.lineTo(c+n/g+p,f+k/g+e);b.lineTo(c+n+p,f+k+e)};mxArrowConnector.prototype.isArrowRounded=function(){return this.isRounded};mxArrowConnector.prototype.getStartArrowWidth=function(){return mxConstants.ARROW_WIDTH};mxArrowConnector.prototype.getEndArrowWidth=function(){return mxConstants.ARROW_WIDTH};
mxArrowConnector.prototype.getEdgeWidth=function(){return mxConstants.ARROW_WIDTH/3};mxArrowConnector.prototype.isOpenEnded=function(){return!1};mxArrowConnector.prototype.isMarkerStart=function(){return mxUtils.getValue(this.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE};mxArrowConnector.prototype.isMarkerEnd=function(){return mxUtils.getValue(this.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE};
function mxText(b,c,f,d,a,e,g,k,l,m,n,p,r,s,q,t,u,v,z,y,x){mxShape.call(this);this.value=b;this.bounds=c;this.color=null!=a?a:"black";this.align=null!=f?f:"";this.valign=null!=d?d:"";this.family=null!=e?e:mxConstants.DEFAULT_FONTFAMILY;this.size=null!=g?g:mxConstants.DEFAULT_FONTSIZE;this.fontStyle=null!=k?k:mxConstants.DEFAULT_FONTSTYLE;this.spacing=parseInt(l||2);this.spacingTop=this.spacing+parseInt(m||0);this.spacingRight=this.spacing+parseInt(n||0);this.spacingBottom=this.spacing+parseInt(p||
0);this.spacingLeft=this.spacing+parseInt(r||0);this.horizontal=null!=s?s:!0;this.background=q;this.border=t;this.wrap=null!=u?u:!1;this.clipped=null!=v?v:!1;this.overflow=null!=z?z:"visible";this.labelPadding=null!=y?y:0;this.textDirection=x;this.rotation=0;this.updateMargin()}mxUtils.extend(mxText,mxShape);mxText.prototype.baseSpacingTop=0;mxText.prototype.baseSpacingBottom=0;mxText.prototype.baseSpacingLeft=0;mxText.prototype.baseSpacingRight=0;mxText.prototype.replaceLinefeeds=!0;
mxText.prototype.verticalTextRotation=-90;mxText.prototype.ignoreClippedStringSize=!0;mxText.prototype.ignoreStringSize=!1;mxText.prototype.textWidthPadding=8==document.documentMode&&!mxClient.IS_EM?4:3;mxText.prototype.lastValue=null;mxText.prototype.cacheEnabled=!0;mxText.prototype.isParseVml=function(){return!1};mxText.prototype.isHtmlAllowed=function(){return 8!=document.documentMode||mxClient.IS_EM};mxText.prototype.getSvgScreenOffset=function(){return 0};
mxText.prototype.checkBounds=function(){return!isNaN(this.scale)&&isFinite(this.scale)&&0<this.scale&&null!=this.bounds&&!isNaN(this.bounds.x)&&!isNaN(this.bounds.y)&&!isNaN(this.bounds.width)&&!isNaN(this.bounds.height)};
mxText.prototype.paint=function(b,c){var f=this.scale,d=this.bounds.x/f,a=this.bounds.y/f,e=this.bounds.width/f,f=this.bounds.height/f;this.updateTransform(b,d,a,e,f);this.configureCanvas(b,d,a,e,f);if(c){var g=null!=this.state?this.state.unscaledWidth:null;null!=this.node.firstChild&&this.lastUnscaledWidth!=g&&b.invalidateCachedOffsetSize(this.node);b.updateText(d,a,e,f,this.align,this.valign,this.wrap,this.overflow,this.clipped,this.getTextRotation(),this.node)}else{var k=(g=mxUtils.isNode(this.value)||
this.dialect==mxConstants.DIALECT_STRICTHTML)||b instanceof mxVmlCanvas2D?"html":"",l=this.value;!g&&"html"==k&&(l=mxUtils.htmlEntities(l,!1));"html"==k&&!mxUtils.isNode(this.value)&&(l=mxUtils.replaceTrailingNewlines(l,"\x3cdiv\x3e\x3cbr\x3e\x3c/div\x3e"));var l=!mxUtils.isNode(this.value)&&this.replaceLinefeeds&&"html"==k?l.replace(/\n/g,"\x3cbr/\x3e"):l,m=this.textDirection;m==mxConstants.TEXT_DIRECTION_AUTO&&!g&&(m=this.getAutoDirection());m!=mxConstants.TEXT_DIRECTION_LTR&&m!=mxConstants.TEXT_DIRECTION_RTL&&
(m=null);b.text(d,a,e,f,l,this.align,this.valign,this.wrap,k,this.overflow,this.clipped,this.getTextRotation(),m)}this.lastUnscaledWidth=null!=this.state?this.state.unscaledWidth:null};
mxText.prototype.redraw=function(){if(this.visible&&this.checkBounds()&&this.cacheEnabled&&this.lastValue==this.value&&(mxUtils.isNode(this.value)||this.dialect==mxConstants.DIALECT_STRICTHTML))if("DIV"==this.node.nodeName&&(this.isHtmlAllowed()||!mxClient.IS_VML))this.updateSize(this.node,null==this.state||null==this.state.view.textDiv),mxClient.IS_IE&&(null==document.documentMode||8>=document.documentMode)?this.updateHtmlFilter():this.updateHtmlTransform(),this.updateBoundingBox();else{var b=this.createCanvas();
null!=b&&null!=b.updateText&&null!=b.invalidateCachedOffsetSize?(this.paint(b,!0),this.destroyCanvas(b),this.updateBoundingBox()):mxShape.prototype.redraw.apply(this,arguments)}else mxShape.prototype.redraw.apply(this,arguments),mxUtils.isNode(this.value)||this.dialect==mxConstants.DIALECT_STRICTHTML?this.lastValue=this.value:this.lastValue=null};
mxText.prototype.resetStyles=function(){mxShape.prototype.resetStyles.apply(this,arguments);this.color="black";this.valign=this.align="";this.family=mxConstants.DEFAULT_FONTFAMILY;this.size=mxConstants.DEFAULT_FONTSIZE;this.fontStyle=mxConstants.DEFAULT_FONTSTYLE;this.spacing=2;this.spacingLeft=this.spacingBottom=this.spacingRight=this.spacingTop=0;this.horizontal=!0;delete this.background;delete this.border;this.textDirection=mxConstants.DEFAULT_TEXT_DIRECTION;delete this.margin};
mxText.prototype.apply=function(b){mxShape.prototype.apply.apply(this,arguments);null!=this.style&&(this.fontStyle=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSTYLE,this.fontStyle),this.family=mxUtils.getValue(this.style,mxConstants.STYLE_FONTFAMILY,this.family),this.size=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,this.size),this.color=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,this.color),this.align=mxUtils.getValue(this.style,mxConstants.STYLE_ALIGN,this.align),this.valign=
mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_ALIGN,this.valign),this.spacing=mxUtils.getValue(this.style,mxConstants.STYLE_SPACING,this.spacing),this.spacingTop=mxUtils.getValue(this.style,mxConstants.STYLE_SPACING_TOP,this.spacingTop)+this.spacing,this.spacingRight=mxUtils.getValue(this.style,mxConstants.STYLE_SPACING_RIGHT,this.spacingRight)+this.spacing,this.spacingBottom=mxUtils.getValue(this.style,mxConstants.STYLE_SPACING_BOTTOM,this.spacingBottom)+this.spacing,this.spacingLeft=mxUtils.getValue(this.style,
mxConstants.STYLE_SPACING_LEFT,this.spacingLeft)+this.spacing,this.horizontal=mxUtils.getValue(this.style,mxConstants.STYLE_HORIZONTAL,this.horizontal),this.background=mxUtils.getValue(this.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,this.background),this.border=mxUtils.getValue(this.style,mxConstants.STYLE_LABEL_BORDERCOLOR,this.border),this.textDirection=mxUtils.getValue(this.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION),this.updateMargin());this.flipH=this.flipV=
null};mxText.prototype.getAutoDirection=function(){var b=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(this.value);return null!=b&&0<b.length&&"z"<b[0]?mxConstants.TEXT_DIRECTION_RTL:mxConstants.TEXT_DIRECTION_LTR};
mxText.prototype.updateBoundingBox=function(){var b=this.node;this.boundingBox=this.bounds.clone();var c=this.getTextRotation(),f=null!=this.style?mxUtils.getValue(this.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER):null,d=null!=this.style?mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE):null;if(!this.ignoreStringSize&&null!=b&&"fill"!=this.overflow&&(!this.clipped||!this.ignoreClippedStringSize||f!=mxConstants.ALIGN_CENTER||d!=mxConstants.ALIGN_MIDDLE)){d=
f=null;if(null!=b.ownerSVGElement)if(null!=b.firstChild&&null!=b.firstChild.firstChild&&"foreignObject"==b.firstChild.firstChild.nodeName)b=b.firstChild.firstChild,f=parseInt(b.getAttribute("width"))*this.scale,d=parseInt(b.getAttribute("height"))*this.scale;else try{var a=b.getBBox();if("string"==typeof this.value&&0==mxUtils.trim(this.value)){this.boundingBox=null;return}if(0==a.width&&0==a.height){this.boundingBox=null;return}this.boundingBox=new mxRectangle(a.x,a.y,a.width,a.height);c=0}catch(e){}else f=
null!=this.state?this.state.view.textDiv:null,null!=this.offsetWidth&&null!=this.offsetHeight||(null!=f&&(this.updateFont(f),this.updateSize(f,!1),this.updateInnerHtml(f),b=f),a=b,8==document.documentMode&&!mxClient.IS_EM?(d=Math.round(this.bounds.width/this.scale),this.wrap&&0<d?(b.style.wordWrap=mxConstants.WORD_WRAP,b.style.whiteSpace="normal","break-word"!=b.style.wordWrap&&(b=a.getElementsByTagName("div"),0<b.length&&(a=b[b.length-1]),f=a.offsetWidth+2,b=this.node.getElementsByTagName("div"),
this.clipped&&(f=Math.min(d,f)),1<b.length&&(b[b.length-2].style.width=f+"px"))):b.style.whiteSpace="nowrap"):null!=a.firstChild&&"DIV"==a.firstChild.nodeName&&(a=a.firstChild),this.offsetWidth=a.offsetWidth+this.textWidthPadding,this.offsetHeight=a.offsetHeight),f=this.offsetWidth*this.scale,d=this.offsetHeight*this.scale;null!=f&&null!=d&&(this.boundingBox=new mxRectangle(this.bounds.x+this.margin.x*f,this.bounds.y+this.margin.y*d,f,d))}else this.boundingBox.x+=this.margin.x*this.boundingBox.width,
this.boundingBox.y+=this.margin.y*this.boundingBox.height;null!=this.boundingBox&&(0!=c?(this.unrotatedBoundingBox=mxRectangle.fromRectangle(this.boundingBox),c=mxUtils.getBoundingBox(this.boundingBox,c),this.boundingBox.x=c.x,this.boundingBox.y=c.y,mxClient.IS_QUIRKS||(this.boundingBox.width=c.width,this.boundingBox.height=c.height)):this.unrotatedBoundingBox=null)};mxText.prototype.getShapeRotation=function(){return 0};
mxText.prototype.getTextRotation=function(){return null!=this.state&&null!=this.state.shape?this.state.shape.getTextRotation():0};mxText.prototype.isPaintBoundsInverted=function(){return!this.horizontal&&null!=this.state&&this.state.view.graph.model.isVertex(this.state.cell)};
mxText.prototype.configureCanvas=function(b,c,f,d,a){mxShape.prototype.configureCanvas.apply(this,arguments);b.setFontColor(this.color);b.setFontBackgroundColor(this.background);b.setFontBorderColor(this.border);b.setFontFamily(this.family);b.setFontSize(this.size);b.setFontStyle(this.fontStyle)};
mxText.prototype.updateVmlContainer=function(){this.node.style.left=Math.round(this.bounds.x)+"px";this.node.style.top=Math.round(this.bounds.y)+"px";this.node.style.width="1px";this.node.style.height="1px";this.node.style.overflow="visible"};
mxText.prototype.redrawHtmlShape=function(){var b=this.node.style;b.whiteSpace="normal";b.overflow="";b.width="";b.height="";this.updateValue();this.updateFont(this.node);this.updateSize(this.node,null==this.state||null==this.state.view.textDiv);this.offsetHeight=this.offsetWidth=null;mxClient.IS_IE&&(null==document.documentMode||8>=document.documentMode)?this.updateHtmlFilter():this.updateHtmlTransform()};
mxText.prototype.updateHtmlTransform=function(){var b=this.getTextRotation(),c=this.node.style,f=this.margin.x,d=this.margin.y;0!=b?(mxUtils.setPrefixedStyle(c,"transformOrigin",100*-f+"% "+100*-d+"%"),mxUtils.setPrefixedStyle(c,"transform","translate("+100*f+"%,"+100*d+"%)scale("+this.scale+") rotate("+b+"deg)")):(mxUtils.setPrefixedStyle(c,"transformOrigin","0% 0%"),mxUtils.setPrefixedStyle(c,"transform","scale("+this.scale+")translate("+100*f+"%,"+100*d+"%)"));c.left=Math.round(this.bounds.x-Math.ceil(f*
("fill"!=this.overflow&&"width"!=this.overflow?3:1)))+"px";c.top=Math.round(this.bounds.y-d*("fill"!=this.overflow?3:1))+"px";c.opacity=100>this.opacity?this.opacity/100:""};
mxText.prototype.updateInnerHtml=function(b){if(mxUtils.isNode(this.value))b.innerHTML=this.value.outerHTML;else{var c=this.value;this.dialect!=mxConstants.DIALECT_STRICTHTML&&(c=mxUtils.htmlEntities(c,!1));c=mxUtils.replaceTrailingNewlines(c,"\x3cdiv\x3e\x26nbsp;\x3c/div\x3e");c=this.replaceLinefeeds?c.replace(/\n/g,"\x3cbr/\x3e"):c;b.innerHTML='\x3cdiv style\x3d"display:inline-block;_display:inline;"\x3e'+c+"\x3c/div\x3e"}};
mxText.prototype.updateHtmlFilter=function(){var b=this.node.style,c=this.margin.x,f=this.margin.y,d=this.scale;mxUtils.setOpacity(this.node,this.opacity);var a=0,e=0,g=null!=this.state?this.state.view.textDiv:null,k=this.node;if(null!=g){g.style.overflow="";g.style.height="";g.style.width="";this.updateFont(g);this.updateSize(g,!1);this.updateInnerHtml(g);var l=Math.round(this.bounds.width/this.scale);this.wrap&&0<l?(g.style.whiteSpace="normal",g.style.wordWrap=mxConstants.WORD_WRAP,a=l,this.clipped&&
(a=Math.min(a,this.bounds.width)),g.style.width=a+"px"):g.style.whiteSpace="nowrap";k=g;null!=k.firstChild&&"DIV"==k.firstChild.nodeName&&(k=k.firstChild,this.wrap&&"break-word"==g.style.wordWrap&&(k.style.width="100%"));!this.clipped&&this.wrap&&0<l&&(a=k.offsetWidth+this.textWidthPadding,g.style.width=a+"px");e=k.offsetHeight+2;mxClient.IS_QUIRKS&&null!=this.border&&this.border!=mxConstants.NONE&&(e+=3)}else null!=k.firstChild&&"DIV"==k.firstChild.nodeName&&(k=k.firstChild,e=k.offsetHeight);a=k.offsetWidth+
this.textWidthPadding;this.clipped&&(e=Math.min(e,this.bounds.height));l=this.bounds.width/d;g=this.bounds.height/d;"fill"==this.overflow?(e=g,a=l):"width"==this.overflow&&(e=k.scrollHeight,a=l);this.offsetWidth=a;this.offsetHeight=e;mxClient.IS_QUIRKS&&(this.clipped||"width"==this.overflow&&0<g)?(g=Math.min(g,e),b.height=Math.round(g)+"px"):g=e;if("fill"!=this.overflow&&"width"!=this.overflow&&(this.clipped&&(a=Math.min(l,a)),l=a,mxClient.IS_QUIRKS&&this.clipped||this.wrap))b.width=Math.round(l)+
"px";var g=g*d,l=l*d,m=this.getTextRotation()*(Math.PI/180),a=parseFloat(parseFloat(Math.cos(m)).toFixed(8)),e=parseFloat(parseFloat(Math.sin(-m)).toFixed(8)),m=m%(2*Math.PI);0>m&&(m+=2*Math.PI);m%=Math.PI;m>Math.PI/2&&(m=Math.PI-m);var k=Math.cos(m),n=Math.sin(-m),c=l*-(c+0.5),p=g*-(f+0.5),r=(g-g*k+l*n)/2+e*c-a*p;0!=m&&(f="progid:DXImageTransform.Microsoft.Matrix(M11\x3d"+a+", M12\x3d"+e+", M21\x3d"+-e+", M22\x3d"+a+", sizingMethod\x3d'auto expand')",b.filter=null!=b.filter&&0<b.filter.length?b.filter+
(" "+f):f);f=0;"fill"!=this.overflow&&mxClient.IS_QUIRKS&&(f=this.valign==mxConstants.ALIGN_TOP?f-1:this.valign==mxConstants.ALIGN_BOTTOM?f+2:f+1);b.zoom=d;b.left=Math.round(this.bounds.x+((l-l*k+g*n)/2-a*c-e*p)-l/2)+"px";b.top=Math.round(this.bounds.y+r-g/2+f)+"px"};
mxText.prototype.updateValue=function(){if(mxUtils.isNode(this.value))this.node.innerHTML="",this.node.appendChild(this.value);else{var b=this.value;this.dialect!=mxConstants.DIALECT_STRICTHTML&&(b=mxUtils.htmlEntities(b,!1));var b=mxUtils.replaceTrailingNewlines(b,"\x3cdiv\x3e\x3cbr\x3e\x3c/div\x3e"),b=this.replaceLinefeeds?b.replace(/\n/g,"\x3cbr/\x3e"):b,c=null!=this.background&&this.background!=mxConstants.NONE?this.background:null,f=null!=this.border&&this.border!=mxConstants.NONE?this.border:
null;if("fill"==this.overflow||"width"==this.overflow)null!=c&&(this.node.style.backgroundColor=c),null!=f&&(this.node.style.border="1px solid "+f);else{var d="";null!=c&&(d+="background-color:"+c+";");null!=f&&(d+="border:1px solid "+f+";");b='\x3cdiv style\x3d"zoom:1;'+d+"display:inline-block;_display:inline;text-decoration:inherit;padding-bottom:1px;padding-right:1px;line-height:"+(mxConstants.ABSOLUTE_LINE_HEIGHT?this.size*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT)+'"\x3e'+b+"\x3c/div\x3e"}this.node.innerHTML=
b;b=this.node.getElementsByTagName("div");0<b.length&&(c=this.textDirection,c==mxConstants.TEXT_DIRECTION_AUTO&&this.dialect!=mxConstants.DIALECT_STRICTHTML&&(c=this.getAutoDirection()),c==mxConstants.TEXT_DIRECTION_LTR||c==mxConstants.TEXT_DIRECTION_RTL?b[b.length-1].setAttribute("dir",c):b[b.length-1].removeAttribute("dir"))}};
mxText.prototype.updateFont=function(b){b=b.style;b.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?this.size*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT;b.fontSize=this.size+"px";b.fontFamily=this.family;b.verticalAlign="top";b.color=this.color;b.fontWeight=(this.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD?"bold":"";b.fontStyle=(this.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC?"italic":"";b.textDecoration=(this.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE?
"underline":"";b.textAlign=this.align==mxConstants.ALIGN_CENTER?"center":this.align==mxConstants.ALIGN_RIGHT?"right":"left"};
mxText.prototype.updateSize=function(b,c){var f=Math.max(0,Math.round(this.bounds.width/this.scale)),d=Math.max(0,Math.round(this.bounds.height/this.scale)),a=b.style;this.clipped?(a.overflow="hidden",mxClient.IS_QUIRKS?a.width=f+"px":(a.maxHeight=d+"px",a.maxWidth=f+"px")):"fill"==this.overflow?(a.width=f+1+"px",a.height=d+1+"px",a.overflow="hidden"):"width"==this.overflow&&(a.width=f+1+"px",a.maxHeight=d+1+"px",a.overflow="hidden");if(this.wrap&&0<f){if(a.wordWrap=mxConstants.WORD_WRAP,a.whiteSpace=
"normal",a.width=f+"px",c&&"fill"!=this.overflow&&"width"!=this.overflow){d=b;null!=d.firstChild&&"DIV"==d.firstChild.nodeName&&(d=d.firstChild,"break-word"==b.style.wordWrap&&(d.style.width="100%"));var e=d.offsetWidth;if(0==e){var g=b.parentNode;b.style.visibility="hidden";document.body.appendChild(b);e=d.offsetWidth;b.style.visibility="";g.appendChild(b)}e+=3;this.clipped&&(e=Math.min(e,f));a.width=e+"px"}}else a.whiteSpace="nowrap"};
mxText.prototype.updateMargin=function(){this.margin=mxUtils.getAlignmentAsPoint(this.align,this.valign)};
mxText.prototype.getSpacing=function(){var b=0,c=0,b=this.align==mxConstants.ALIGN_CENTER?(this.spacingLeft-this.spacingRight)/2:this.align==mxConstants.ALIGN_RIGHT?-this.spacingRight-this.baseSpacingRight:this.spacingLeft+this.baseSpacingLeft,c=this.valign==mxConstants.ALIGN_MIDDLE?(this.spacingTop-this.spacingBottom)/2:this.valign==mxConstants.ALIGN_BOTTOM?-this.spacingBottom-this.baseSpacingBottom:this.spacingTop+this.baseSpacingTop;return new mxPoint(b,c)};
function mxTriangle(){mxActor.call(this)}mxUtils.extend(mxTriangle,mxActor);mxTriangle.prototype.redrawPath=function(b,c,f,d,a){c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(b,[new mxPoint(0,0),new mxPoint(d,0.5*a),new mxPoint(0,a)],this.isRounded,c,!0)};function mxHexagon(){mxActor.call(this)}mxUtils.extend(mxHexagon,mxActor);
mxHexagon.prototype.redrawPath=function(b,c,f,d,a){c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(b,[new mxPoint(0.25*d,0),new mxPoint(0.75*d,0),new mxPoint(d,0.5*a),new mxPoint(0.75*d,a),new mxPoint(0.25*d,a),new mxPoint(0,0.5*a)],this.isRounded,c,!0)};function mxLine(b,c,f){mxShape.call(this);this.bounds=b;this.stroke=c;this.strokewidth=null!=f?f:1}mxUtils.extend(mxLine,mxShape);
mxLine.prototype.paintVertexShape=function(b,c,f,d,a){f+=a/2;b.begin();b.moveTo(c,f);b.lineTo(c+d,f);b.stroke()};function mxImageShape(b,c,f,d,a){mxShape.call(this);this.bounds=b;this.image=c;this.fill=f;this.stroke=d;this.strokewidth=null!=a?a:1;this.shadow=!1}mxUtils.extend(mxImageShape,mxRectangleShape);mxImageShape.prototype.preserveImageAspect=!0;mxImageShape.prototype.getSvgScreenOffset=function(){return 0};
mxImageShape.prototype.apply=function(b){mxShape.prototype.apply.apply(this,arguments);this.gradient=this.stroke=this.fill=null;null!=this.style&&(this.preserveImageAspect=1==mxUtils.getNumber(this.style,mxConstants.STYLE_IMAGE_ASPECT,1),this.flipH=this.flipH||1==mxUtils.getValue(this.style,"imageFlipH",0),this.flipV=this.flipV||1==mxUtils.getValue(this.style,"imageFlipV",0))};mxImageShape.prototype.isHtmlAllowed=function(){return!this.preserveImageAspect};
mxImageShape.prototype.createHtml=function(){var b=document.createElement("div");b.style.position="absolute";return b};
mxImageShape.prototype.paintVertexShape=function(b,c,f,d,a){if(null!=this.image){var e=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BACKGROUND,null),g=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BORDER,null);null!=e&&(b.setFillColor(e),b.setStrokeColor(g),b.rect(c,f,d,a),b.fillAndStroke());b.image(c,f,d,a,this.image,this.preserveImageAspect,!1,!1);g=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BORDER,null);null!=g&&(b.setShadow(!1),b.setStrokeColor(g),b.rect(c,f,d,a),b.stroke())}else mxRectangleShape.prototype.paintBackground.apply(this,
arguments)};
mxImageShape.prototype.redrawHtmlShape=function(){this.node.style.left=Math.round(this.bounds.x)+"px";this.node.style.top=Math.round(this.bounds.y)+"px";this.node.style.width=Math.max(0,Math.round(this.bounds.width))+"px";this.node.style.height=Math.max(0,Math.round(this.bounds.height))+"px";this.node.innerHTML="";if(null!=this.image){var b=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BACKGROUND,""),c=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_BORDER,"");this.node.style.backgroundColor=b;
this.node.style.borderColor=c;b=document.createElement(mxClient.IS_IE6||(null==document.documentMode||8>=document.documentMode)&&0!=this.rotation?mxClient.VML_PREFIX+":image":"img");b.setAttribute("border","0");b.style.position="absolute";b.src=this.image;c=100>this.opacity?"alpha(opacity\x3d"+this.opacity+")":"";this.node.style.filter=c;this.flipH&&this.flipV?c+="progid:DXImageTransform.Microsoft.BasicImage(rotation\x3d2)":this.flipH?c+="progid:DXImageTransform.Microsoft.BasicImage(mirror\x3d1)":
this.flipV&&(c+="progid:DXImageTransform.Microsoft.BasicImage(rotation\x3d2, mirror\x3d1)");b.style.filter!=c&&(b.style.filter=c);"image"==b.nodeName?b.style.rotation=this.rotation:0!=this.rotation?mxUtils.setPrefixedStyle(b.style,"transform","rotate("+this.rotation+"deg)"):mxUtils.setPrefixedStyle(b.style,"transform","");b.style.width=this.node.style.width;b.style.height=this.node.style.height;this.node.style.backgroundImage="";this.node.appendChild(b)}else this.setTransparentBackgroundImage(this.node)};
function mxLabel(b,c,f,d){mxRectangleShape.call(this,b,c,f,d)}mxUtils.extend(mxLabel,mxRectangleShape);mxLabel.prototype.imageSize=mxConstants.DEFAULT_IMAGESIZE;mxLabel.prototype.spacing=2;mxLabel.prototype.indicatorSize=10;mxLabel.prototype.indicatorSpacing=2;mxLabel.prototype.init=function(b){mxShape.prototype.init.apply(this,arguments);null!=this.indicatorShape&&(this.indicator=new this.indicatorShape,this.indicator.dialect=this.dialect,this.indicator.init(this.node))};
mxLabel.prototype.redraw=function(){null!=this.indicator&&(this.indicator.fill=this.indicatorColor,this.indicator.stroke=this.indicatorStrokeColor,this.indicator.gradient=this.indicatorGradientColor,this.indicator.direction=this.indicatorDirection);mxShape.prototype.redraw.apply(this,arguments)};mxLabel.prototype.isHtmlAllowed=function(){return mxRectangleShape.prototype.isHtmlAllowed.apply(this,arguments)&&null==this.indicatorColor&&null==this.indicatorShape};
mxLabel.prototype.paintForeground=function(b,c,f,d,a){this.paintImage(b,c,f,d,a);this.paintIndicator(b,c,f,d,a);mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxLabel.prototype.paintImage=function(b,c,f,d,a){null!=this.image&&(c=this.getImageBounds(c,f,d,a),b.image(c.x,c.y,c.width,c.height,this.image,!1,!1,!1))};
mxLabel.prototype.getImageBounds=function(b,c,f,d){var a=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),e=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),g=mxUtils.getNumber(this.style,mxConstants.STYLE_IMAGE_WIDTH,mxConstants.DEFAULT_IMAGESIZE),k=mxUtils.getNumber(this.style,mxConstants.STYLE_IMAGE_HEIGHT,mxConstants.DEFAULT_IMAGESIZE),l=mxUtils.getNumber(this.style,mxConstants.STYLE_SPACING,this.spacing)+5;b=a==mxConstants.ALIGN_CENTER?
b+(f-g)/2:a==mxConstants.ALIGN_RIGHT?b+(f-g-l):b+l;c=e==mxConstants.ALIGN_TOP?c+l:e==mxConstants.ALIGN_BOTTOM?c+(d-k-l):c+(d-k)/2;return new mxRectangle(b,c,g,k)};mxLabel.prototype.paintIndicator=function(b,c,f,d,a){null!=this.indicator?(this.indicator.bounds=this.getIndicatorBounds(c,f,d,a),this.indicator.paint(b)):null!=this.indicatorImage&&(c=this.getIndicatorBounds(c,f,d,a),b.image(c.x,c.y,c.width,c.height,this.indicatorImage,!1,!1,!1))};
mxLabel.prototype.getIndicatorBounds=function(b,c,f,d){var a=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),e=mxUtils.getValue(this.style,mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),g=mxUtils.getNumber(this.style,mxConstants.STYLE_INDICATOR_WIDTH,this.indicatorSize),k=mxUtils.getNumber(this.style,mxConstants.STYLE_INDICATOR_HEIGHT,this.indicatorSize),l=this.spacing+5;b=a==mxConstants.ALIGN_RIGHT?b+(f-g-l):a==mxConstants.ALIGN_CENTER?b+(f-g)/
2:b+l;c=e==mxConstants.ALIGN_BOTTOM?c+(d-k-l):e==mxConstants.ALIGN_TOP?c+l:c+(d-k)/2;return new mxRectangle(b,c,g,k)};
mxLabel.prototype.redrawHtmlShape=function(){for(mxRectangleShape.prototype.redrawHtmlShape.apply(this,arguments);this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);if(null!=this.image){var b=document.createElement("img");b.style.position="relative";b.setAttribute("border","0");var c=this.getImageBounds(this.bounds.x,this.bounds.y,this.bounds.width,this.bounds.height);c.x-=this.bounds.x;c.y-=this.bounds.y;b.style.left=Math.round(c.x)+"px";b.style.top=Math.round(c.y)+"px";b.style.width=
Math.round(c.width)+"px";b.style.height=Math.round(c.height)+"px";b.src=this.image;this.node.appendChild(b)}};function mxCylinder(b,c,f,d){mxShape.call(this);this.bounds=b;this.fill=c;this.stroke=f;this.strokewidth=null!=d?d:1}mxUtils.extend(mxCylinder,mxShape);mxCylinder.prototype.maxHeight=40;mxCylinder.prototype.svgStrokeTolerance=0;
mxCylinder.prototype.paintVertexShape=function(b,c,f,d,a){b.translate(c,f);b.begin();this.redrawPath(b,c,f,d,a,!1);b.fillAndStroke();b.setShadow(!1);b.begin();this.redrawPath(b,c,f,d,a,!0);b.stroke()};
mxCylinder.prototype.redrawPath=function(b,c,f,d,a,e){c=Math.min(this.maxHeight,Math.round(a/5));if(e&&null!=this.fill||!e&&null==this.fill)b.moveTo(0,c),b.curveTo(0,2*c,d,2*c,d,c),e||(b.stroke(),b.begin());e||(b.moveTo(0,c),b.curveTo(0,-c/3,d,-c/3,d,c),b.lineTo(d,a-c),b.curveTo(d,a+c/3,0,a+c/3,0,a-c),b.close())};function mxConnector(b,c,f){mxPolyline.call(this,b,c,f)}mxUtils.extend(mxConnector,mxPolyline);
mxConnector.prototype.updateBoundingBox=function(){this.useSvgBoundingBox=null!=this.style&&1==this.style[mxConstants.STYLE_CURVED];mxShape.prototype.updateBoundingBox.apply(this,arguments)};mxConnector.prototype.paintEdgeShape=function(b,c){var f=this.createMarker(b,c,!0),d=this.createMarker(b,c,!1);mxPolyline.prototype.paintEdgeShape.apply(this,arguments);b.setFillColor(this.stroke);b.setShadow(!1);b.setDashed(!1);null!=f&&f();null!=d&&d()};
mxConnector.prototype.createMarker=function(b,c,f){var d=null,a=c.length,e=mxUtils.getValue(this.style,f?mxConstants.STYLE_STARTARROW:mxConstants.STYLE_ENDARROW),g=f?c[1]:c[a-2],k=f?c[0]:c[a-1];if(null!=e&&null!=g&&null!=k){for(d=1;d<a-1&&0==Math.round(g.x-k.x)&&0==Math.round(g.y-k.y);)g=f?c[1+d]:c[a-2-d],d++;c=k.x-g.x;a=k.y-g.y;d=Math.max(1,Math.sqrt(c*c+a*a));g=c/d;c=a/d;a=mxUtils.getNumber(this.style,f?mxConstants.STYLE_STARTSIZE:mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE);d=mxMarker.createMarker(b,
this,e,k,g,c,a,f,this.arrowStrokewidth,0!=this.style[f?mxConstants.STYLE_STARTFILL:mxConstants.STYLE_ENDFILL])}return d};
mxConnector.prototype.augmentBoundingBox=function(b){mxShape.prototype.augmentBoundingBox.apply(this,arguments);var c=0;mxUtils.getValue(this.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(c=mxUtils.getNumber(this.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)+1);mxUtils.getValue(this.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(c=Math.max(c,mxUtils.getNumber(this.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE))+
1);b.grow(c*this.scale)};function mxSwimlane(b,c,f,d){mxShape.call(this);this.bounds=b;this.fill=c;this.stroke=f;this.strokewidth=null!=d?d:1}mxUtils.extend(mxSwimlane,mxShape);mxSwimlane.prototype.imageSize=16;mxSwimlane.prototype.getTitleSize=function(){return Math.max(0,mxUtils.getValue(this.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE))};
mxSwimlane.prototype.getLabelBounds=function(b){var c=this.getTitleSize();b=new mxRectangle(b.x,b.y,b.width,b.height);var f=this.isHorizontal(),d=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPH,0),a=1==mxUtils.getValue(this.style,mxConstants.STYLE_FLIPV,0),e=this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH,f=f==!e,d=!f&&d!=(this.direction==mxConstants.DIRECTION_SOUTH||this.direction==mxConstants.DIRECTION_WEST),a=f&&a!=(this.direction==mxConstants.DIRECTION_SOUTH||
this.direction==mxConstants.DIRECTION_WEST);if(e){c=Math.min(b.width,c*this.scale);if(d||a)b.x+=b.width-c;b.width=c}else{c=Math.min(b.height,c*this.scale);if(d||a)b.y+=b.height-c;b.height=c}return b};mxSwimlane.prototype.getGradientBounds=function(b,c,f,d,a){b=this.getTitleSize();if(this.isHorizontal())return b=Math.min(b,a),new mxRectangle(c,f,d,b);b=Math.min(b,d);return new mxRectangle(c,f,b,a)};
mxSwimlane.prototype.getArcSize=function(b,c,f){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;return 3*f*b};mxSwimlane.prototype.isHorizontal=function(){return 1==mxUtils.getValue(this.style,mxConstants.STYLE_HORIZONTAL,1)};
mxSwimlane.prototype.paintVertexShape=function(b,c,f,d,a){var e=this.getTitleSize(),g=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE),k=1==mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_LINE,1),l=0,e=this.isHorizontal()?Math.min(e,a):Math.min(e,d);b.translate(c,f);this.isRounded?(l=this.getArcSize(d,a,e),this.paintRoundedSwimlane(b,c,f,d,a,e,l,g,k)):this.paintSwimlane(b,c,f,d,a,e,g,k);g=mxUtils.getValue(this.style,mxConstants.STYLE_SEPARATORCOLOR,mxConstants.NONE);
this.paintSeparator(b,c,f,d,a,e,g);null!=this.image&&(a=this.getImageBounds(c,f,d,a),b.image(a.x-c,a.y-f,a.width,a.height,this.image,!1,!1,!1));this.glass&&(b.setShadow(!1),this.paintGlassEffect(b,0,0,d,e,l))};
mxSwimlane.prototype.paintSwimlane=function(b,c,f,d,a,e,g,k){g!=mxConstants.NONE&&(b.save(),b.setFillColor(g),b.rect(0,0,d,a),b.fillAndStroke(),b.restore(),b.setShadow(!1));b.begin();this.isHorizontal()?(b.moveTo(0,e),b.lineTo(0,0),b.lineTo(d,0),b.lineTo(d,e),(k||e>=a)&&b.close(),b.fillAndStroke(),e<a&&g==mxConstants.NONE&&(b.pointerEvents=!1,b.begin(),b.moveTo(0,e),b.lineTo(0,a),b.lineTo(d,a),b.lineTo(d,e),b.stroke())):(b.moveTo(e,0),b.lineTo(0,0),b.lineTo(0,a),b.lineTo(e,a),(k||e>=d)&&b.close(),
b.fillAndStroke(),e<d&&g==mxConstants.NONE&&(b.pointerEvents=!1,b.begin(),b.moveTo(e,0),b.lineTo(d,0),b.lineTo(d,a),b.lineTo(e,a),b.stroke()))};
mxSwimlane.prototype.paintRoundedSwimlane=function(b,c,f,d,a,e,g,k,l){k!=mxConstants.NONE&&(b.save(),b.setFillColor(k),b.roundrect(0,0,d,a,g,g),b.fillAndStroke(),b.restore(),b.setShadow(!1));b.begin();this.isHorizontal()?(b.moveTo(d,e),b.lineTo(d,g),b.quadTo(d,0,d-Math.min(d/2,g),0),b.lineTo(Math.min(d/2,g),0),b.quadTo(0,0,0,g),b.lineTo(0,e),(l||e>=a)&&b.close(),b.fillAndStroke(),e<a&&k==mxConstants.NONE&&(b.pointerEvents=!1,b.begin(),b.moveTo(0,e),b.lineTo(0,a-g),b.quadTo(0,a,Math.min(d/2,g),a),
b.lineTo(d-Math.min(d/2,g),a),b.quadTo(d,a,d,a-g),b.lineTo(d,e),b.stroke())):(b.moveTo(e,0),b.lineTo(g,0),b.quadTo(0,0,0,Math.min(a/2,g)),b.lineTo(0,a-Math.min(a/2,g)),b.quadTo(0,a,g,a),b.lineTo(e,a),(l||e>=d)&&b.close(),b.fillAndStroke(),e<d&&k==mxConstants.NONE&&(b.pointerEvents=!1,b.begin(),b.moveTo(e,a),b.lineTo(d-g,a),b.quadTo(d,a,d,a-Math.min(a/2,g)),b.lineTo(d,Math.min(a/2,g)),b.quadTo(d,0,d-g,0),b.lineTo(e,0),b.stroke()))};
mxSwimlane.prototype.paintSeparator=function(b,c,f,d,a,e,g){g!=mxConstants.NONE&&(b.setStrokeColor(g),b.setDashed(!0),b.begin(),this.isHorizontal()?(b.moveTo(d,e),b.lineTo(d,a)):(b.moveTo(e,0),b.lineTo(d,0)),b.stroke(),b.setDashed(!1))};mxSwimlane.prototype.getImageBounds=function(b,c,f,d){return this.isHorizontal()?new mxRectangle(b+f-this.imageSize,c,this.imageSize,this.imageSize):new mxRectangle(b,c,this.imageSize,this.imageSize)};function mxGraphLayout(b){this.graph=b}
mxGraphLayout.prototype.graph=null;mxGraphLayout.prototype.useBoundingBox=!0;mxGraphLayout.prototype.parent=null;mxGraphLayout.prototype.moveCell=function(b,c,f){};mxGraphLayout.prototype.execute=function(b){};mxGraphLayout.prototype.getGraph=function(){return this.graph};mxGraphLayout.prototype.getConstraint=function(b,c,f,d){f=this.graph.view.getState(c);c=null!=f?f.style:this.graph.getCellStyle(c);return null!=c?c[b]:null};
mxGraphLayout.traverse=function(b,c,f,d,a){if(null!=f&&null!=b&&(c=null!=c?c:!0,a=a||new mxDictionary,!a.get(b)&&(a.put(b,!0),d=f(b,d),null==d||d)))if(d=this.graph.model.getEdgeCount(b),0<d)for(var e=0;e<d;e++){var g=this.graph.model.getEdgeAt(b,e),k=this.graph.model.getTerminal(g,!0)==b;if(!c||k)k=this.graph.view.getVisibleTerminal(g,!k),this.traverse(k,c,f,g,a)}};mxGraphLayout.prototype.isVertexMovable=function(b){return this.graph.isCellMovable(b)};
mxGraphLayout.prototype.isVertexIgnored=function(b){return!this.graph.getModel().isVertex(b)||!this.graph.isCellVisible(b)};mxGraphLayout.prototype.isEdgeIgnored=function(b){var c=this.graph.getModel();return!c.isEdge(b)||!this.graph.isCellVisible(b)||null==c.getTerminal(b,!0)||null==c.getTerminal(b,!1)};mxGraphLayout.prototype.setEdgeStyleEnabled=function(b,c){this.graph.setCellStyles(mxConstants.STYLE_NOEDGESTYLE,c?"0":"1",[b])};
mxGraphLayout.prototype.setOrthogonalEdge=function(b,c){this.graph.setCellStyles(mxConstants.STYLE_ORTHOGONAL,c?"1":"0",[b])};mxGraphLayout.prototype.getParentOffset=function(b){var c=new mxPoint;if(null!=b&&b!=this.parent){var f=this.graph.getModel();if(f.isAncestor(this.parent,b))for(var d=f.getGeometry(b);b!=this.parent;)c.x+=d.x,c.y+=d.y,b=f.getParent(b),d=f.getGeometry(b)}return c};
mxGraphLayout.prototype.setEdgePoints=function(b,c){if(null!=b){var f=this.graph.model,d=f.getGeometry(b);null==d?(d=new mxGeometry,d.setRelative(!0)):d=d.clone();if(null!=this.parent&&null!=c)for(var a=f.getParent(b),a=this.getParentOffset(a),e=0;e<c.length;e++)c[e].x-=a.x,c[e].y-=a.y;d.points=c;f.setGeometry(b,d)}};
mxGraphLayout.prototype.setVertexLocation=function(b,c,f){var d=this.graph.getModel(),a=d.getGeometry(b),e=null;if(null!=a){e=new mxRectangle(c,f,a.width,a.height);if(this.useBoundingBox){var g=this.graph.getView().getState(b);if(null!=g&&null!=g.text&&null!=g.text.boundingBox){var k=this.graph.getView().scale,l=g.text.boundingBox;g.text.boundingBox.x<g.x&&(c+=(g.x-l.x)/k,e.width=l.width);g.text.boundingBox.y<g.y&&(f+=(g.y-l.y)/k,e.height=l.height)}}null!=this.parent&&(g=d.getParent(b),null!=g&&g!=
this.parent&&(g=this.getParentOffset(g),c-=g.x,f-=g.y));if(a.x!=c||a.y!=f)a=a.clone(),a.x=c,a.y=f,d.setGeometry(b,a)}return e};
mxGraphLayout.prototype.getVertexBounds=function(b){var c=this.graph.getModel().getGeometry(b);if(this.useBoundingBox){var f=this.graph.getView().getState(b);if(null!=f&&null!=f.text&&null!=f.text.boundingBox)var d=this.graph.getView().scale,a=f.text.boundingBox,e=Math.max(f.x-a.x,0)/d,g=Math.max(f.y-a.y,0)/d,k=Math.max(a.x+a.width-(f.x+f.width),0)/d,f=Math.max(a.y+a.height-(f.y+f.height),0)/d,c=new mxRectangle(c.x-e,c.y-g,c.width+e+k,c.height+g+f)}null!=this.parent&&(b=this.graph.getModel().getParent(b),
c=c.clone(),null!=b&&b!=this.parent&&(b=this.getParentOffset(b),c.x+=b.x,c.y+=b.y));return new mxRectangle(c.x,c.y,c.width,c.height)};mxGraphLayout.prototype.arrangeGroups=function(b,c,f,d,a,e){return this.graph.updateGroupBounds(b,c,!0,f,d,a,e)};function mxStackLayout(b,c,f,d,a,e){mxGraphLayout.call(this,b);this.horizontal=null!=c?c:!0;this.spacing=null!=f?f:0;this.x0=null!=d?d:0;this.y0=null!=a?a:0;this.border=null!=e?e:0}mxStackLayout.prototype=new mxGraphLayout;
mxStackLayout.prototype.constructor=mxStackLayout;mxStackLayout.prototype.horizontal=null;mxStackLayout.prototype.spacing=null;mxStackLayout.prototype.x0=null;mxStackLayout.prototype.y0=null;mxStackLayout.prototype.border=0;mxStackLayout.prototype.marginTop=0;mxStackLayout.prototype.marginLeft=0;mxStackLayout.prototype.marginRight=0;mxStackLayout.prototype.marginBottom=0;mxStackLayout.prototype.keepFirstLocation=!1;mxStackLayout.prototype.fill=!1;mxStackLayout.prototype.resizeParent=!1;
mxStackLayout.prototype.resizeParentMax=!1;mxStackLayout.prototype.resizeLast=!1;mxStackLayout.prototype.wrap=null;mxStackLayout.prototype.borderCollapse=!0;mxStackLayout.prototype.isHorizontal=function(){return this.horizontal};
mxStackLayout.prototype.moveCell=function(b,c,f){var d=this.graph.getModel(),a=d.getParent(b),e=this.isHorizontal();if(null!=b&&null!=a){var g=0,k=0,l=d.getChildCount(a);c=e?c:f;g=this.graph.getView().getState(a);null!=g&&(c-=e?g.x:g.y);c/=this.graph.view.scale;for(g=0;g<l;g++)if(f=d.getChildAt(a,g),f!=b&&(f=d.getGeometry(f),null!=f)){f=e?f.x+f.width/2:f.y+f.height/2;if(k<=c&&f>c)break;k=f}e=a.getIndex(b);e=Math.max(0,g-(g>e?1:0));d.add(a,b,e)}};
mxStackLayout.prototype.getParentSize=function(b){var c=this.graph.getModel(),f=c.getGeometry(b);if(null!=this.graph.container&&(null==f&&c.isLayer(b)||b==this.graph.getView().currentRoot))f=new mxRectangle(0,0,this.graph.container.offsetWidth-1,this.graph.container.offsetHeight-1);return f};
mxStackLayout.prototype.execute=function(b){if(null!=b){var c=this.getParentSize(b),f=this.isHorizontal(),d=this.graph.getModel(),a=null;null!=c&&(a=f?c.height-this.marginTop-this.marginBottom:c.width-this.marginLeft-this.marginRight);var a=a-(2*this.spacing+2*this.border),e=this.x0+this.border+this.marginLeft,g=this.y0+this.border+this.marginTop;if(this.graph.isSwimlane(b)){var k=this.graph.getCellStyle(b),l=mxUtils.getNumber(k,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE),k=1==mxUtils.getValue(k,
mxConstants.STYLE_HORIZONTAL,!0);null!=c&&(l=k?Math.min(l,c.height):Math.min(l,c.width));f==k&&(a-=l);k?g+=l:e+=l}d.beginUpdate();try{for(var l=0,k=null,m=0,n=null,p=d.getChildCount(b),r=0;r<p;r++){var s=d.getChildAt(b,r);if(!this.isVertexIgnored(s)&&this.isVertexMovable(s)){var q=d.getGeometry(s);if(null!=q){q=q.clone();if(null!=this.wrap&&null!=k&&(f&&k.x+k.width+q.width+2*this.spacing>this.wrap||!f&&k.y+k.height+q.height+2*this.spacing>this.wrap))k=null,f?g+=l+this.spacing:e+=l+this.spacing,l=
0;var l=Math.max(l,f?q.height:q.width),t=0;if(!this.borderCollapse)var u=this.graph.getCellStyle(s),t=mxUtils.getNumber(u,mxConstants.STYLE_STROKEWIDTH,1);null!=k?f?q.x=m+this.spacing+Math.floor(t/2):q.y=m+this.spacing+Math.floor(t/2):this.keepFirstLocation||(f?q.x=e:q.y=g);f?q.y=g:q.x=e;this.fill&&null!=a&&(f?q.height=a:q.width=a);this.setChildGeometry(s,q);n=s;k=q;m=f?k.x+k.width+Math.floor(t/2):k.y+k.height+Math.floor(t/2)}}}this.resizeParent&&null!=c&&null!=k&&!this.graph.isCellCollapsed(b)?this.updateParentGeometry(b,
c,k):this.resizeLast&&null!=c&&null!=k&&null!=n&&(f?k.width=c.width-k.x-this.spacing-this.marginRight-this.marginLeft:k.height=c.height-k.y-this.spacing-this.marginBottom,this.setChildGeometry(n,k))}finally{d.endUpdate()}}};mxStackLayout.prototype.setChildGeometry=function(b,c){var f=this.graph.getCellGeometry(b);(null==f||c.x!=f.x||c.y!=f.y||c.width!=f.width||c.height!=f.height)&&this.graph.getModel().setGeometry(b,c)};
mxStackLayout.prototype.updateParentGeometry=function(b,c,f){var d=this.isHorizontal(),a=this.graph.getModel(),e=c.clone();d?(f=f.x+f.width+this.spacing+this.marginRight,e.width=this.resizeParentMax?Math.max(e.width,f):f):(f=f.y+f.height+this.spacing+this.marginBottom,e.height=this.resizeParentMax?Math.max(e.height,f):f);(c.x!=e.x||c.y!=e.y||c.width!=e.width||c.height!=e.height)&&a.setGeometry(b,e)};
function mxPartitionLayout(b,c,f,d){mxGraphLayout.call(this,b);this.horizontal=null!=c?c:!0;this.spacing=f||0;this.border=d||0}mxPartitionLayout.prototype=new mxGraphLayout;mxPartitionLayout.prototype.constructor=mxPartitionLayout;mxPartitionLayout.prototype.horizontal=null;mxPartitionLayout.prototype.spacing=null;mxPartitionLayout.prototype.border=null;mxPartitionLayout.prototype.resizeVertices=!0;mxPartitionLayout.prototype.isHorizontal=function(){return this.horizontal};
mxPartitionLayout.prototype.moveCell=function(b,c,f){f=this.graph.getModel();var d=f.getParent(b);if(null!=b&&null!=d){for(var a=0,e=0,g=f.getChildCount(d),a=0;a<g;a++){var k=f.getChildAt(d,a),k=this.getVertexBounds(k);if(null!=k){k=k.x+k.width/2;if(e<c&&k>c)break;e=k}}c=d.getIndex(b);c=Math.max(0,a-(a>c?1:0));f.add(d,b,c)}};
mxPartitionLayout.prototype.execute=function(b){var c=this.isHorizontal(),f=this.graph.getModel(),d=f.getGeometry(b);if(null!=this.graph.container&&(null==d&&f.isLayer(b)||b==this.graph.getView().currentRoot))d=new mxRectangle(0,0,this.graph.container.offsetWidth-1,this.graph.container.offsetHeight-1);if(null!=d){for(var a=[],e=f.getChildCount(b),g=0;g<e;g++){var k=f.getChildAt(b,g);!this.isVertexIgnored(k)&&this.isVertexMovable(k)&&a.push(k)}e=a.length;if(0<e){var l=this.border,m=this.border,n=c?
d.height:d.width,n=n-2*this.border;b=this.graph.isSwimlane(b)?this.graph.getStartSize(b):new mxRectangle;n-=c?b.height:b.width;l+=b.width;m+=b.height;b=this.border+(e-1)*this.spacing;d=c?(d.width-l-b)/e:(d.height-m-b)/e;if(0<d){f.beginUpdate();try{for(g=0;g<e;g++){var k=a[g],p=f.getGeometry(k);null!=p&&(p=p.clone(),p.x=l,p.y=m,c?(this.resizeVertices&&(p.width=d,p.height=n),l+=d+this.spacing):(this.resizeVertices&&(p.height=d,p.width=n),m+=d+this.spacing),f.setGeometry(k,p))}}finally{f.endUpdate()}}}}};
function mxCompactTreeLayout(b,c,f){mxGraphLayout.call(this,b);this.horizontal=null!=c?c:!0;this.invert=null!=f?f:!1}mxCompactTreeLayout.prototype=new mxGraphLayout;mxCompactTreeLayout.prototype.constructor=mxCompactTreeLayout;mxCompactTreeLayout.prototype.horizontal=null;mxCompactTreeLayout.prototype.invert=null;mxCompactTreeLayout.prototype.resizeParent=!0;mxCompactTreeLayout.prototype.maintainParentLocation=!1;mxCompactTreeLayout.prototype.groupPadding=10;
mxCompactTreeLayout.prototype.groupPaddingTop=0;mxCompactTreeLayout.prototype.groupPaddingRight=0;mxCompactTreeLayout.prototype.groupPaddingBottom=0;mxCompactTreeLayout.prototype.groupPaddingLeft=0;mxCompactTreeLayout.prototype.parentsChanged=null;mxCompactTreeLayout.prototype.moveTree=!1;mxCompactTreeLayout.prototype.visited=null;mxCompactTreeLayout.prototype.levelDistance=10;mxCompactTreeLayout.prototype.nodeDistance=20;mxCompactTreeLayout.prototype.resetEdges=!0;
mxCompactTreeLayout.prototype.prefHozEdgeSep=5;mxCompactTreeLayout.prototype.prefVertEdgeOff=4;mxCompactTreeLayout.prototype.minEdgeJetty=8;mxCompactTreeLayout.prototype.channelBuffer=4;mxCompactTreeLayout.prototype.edgeRouting=!0;mxCompactTreeLayout.prototype.sortEdges=!1;mxCompactTreeLayout.prototype.alignRanks=!1;mxCompactTreeLayout.prototype.maxRankHeight=null;mxCompactTreeLayout.prototype.root=null;mxCompactTreeLayout.prototype.node=null;
mxCompactTreeLayout.prototype.isVertexIgnored=function(b){return mxGraphLayout.prototype.isVertexIgnored.apply(this,arguments)||0==this.graph.getConnections(b).length};mxCompactTreeLayout.prototype.isHorizontal=function(){return this.horizontal};
mxCompactTreeLayout.prototype.execute=function(b,c){this.parent=b;var f=this.graph.getModel();if(null==c)if(0<this.graph.getEdges(b,f.getParent(b),this.invert,!this.invert,!1).length)this.root=b;else{var d=this.graph.findTreeRoots(b,!0,this.invert);if(0<d.length)for(var a=0;a<d.length;a++)if(!this.isVertexIgnored(d[a])&&0<this.graph.getEdges(d[a],null,this.invert,!this.invert,!1).length){this.root=d[a];break}}else this.root=c;if(null!=this.root){this.parentsChanged=this.resizeParent?{}:null;this.parentY=
this.parentX=null;if(b!=this.root&&null!=f.isVertex(b)&&this.maintainParentLocation){var e=this.graph.getCellGeometry(b);null!=e&&(this.parentX=e.x,this.parentY=e.y)}f.beginUpdate();try{if(this.visited={},this.node=this.dfs(this.root,b),this.alignRanks&&(this.maxRankHeight=[],this.findRankHeights(this.node,0),this.setCellHeights(this.node,0)),null!=this.node){this.layout(this.node);var g=this.graph.gridSize,d=g;if(!this.moveTree){var k=this.getVertexBounds(this.root);null!=k&&(g=k.x,d=k.y)}k=null;
k=this.isHorizontal()?this.horizontalLayout(this.node,g,d):this.verticalLayout(this.node,null,g,d);if(null!=k){var l=a=0;0>k.x&&(a=Math.abs(g-k.x));0>k.y&&(l=Math.abs(d-k.y));(0!=a||0!=l)&&this.moveNode(this.node,a,l);this.resizeParent&&this.adjustParents();this.edgeRouting&&this.localEdgeProcessing(this.node)}null!=this.parentX&&null!=this.parentY&&(e=this.graph.getCellGeometry(b),null!=e&&(e=e.clone(),e.x=this.parentX,e.y=this.parentY,f.setGeometry(b,e)))}}finally{f.endUpdate()}}};
mxCompactTreeLayout.prototype.moveNode=function(b,c,f){b.x+=c;b.y+=f;this.apply(b);for(b=b.child;null!=b;)this.moveNode(b,c,f),b=b.next};
mxCompactTreeLayout.prototype.sortOutgoingEdges=function(b,c){var f=new mxDictionary;c.sort(function(d,a){var e=d.getTerminal(d.getTerminal(!1)==b),c=f.get(e);null==c&&(c=mxCellPath.create(e).split(mxCellPath.PATH_SEPARATOR),f.put(e,c));var e=a.getTerminal(a.getTerminal(!1)==b),k=f.get(e);null==k&&(k=mxCellPath.create(e).split(mxCellPath.PATH_SEPARATOR),f.put(e,k));return mxCellPath.compare(c,k)})};
mxCompactTreeLayout.prototype.findRankHeights=function(b,c){if(null==this.maxRankHeight[c]||this.maxRankHeight[c]<b.height)this.maxRankHeight[c]=b.height;for(var f=b.child;null!=f;)this.findRankHeights(f,c+1),f=f.next};mxCompactTreeLayout.prototype.setCellHeights=function(b,c){null!=this.maxRankHeight[c]&&this.maxRankHeight[c]>b.height&&(b.height=this.maxRankHeight[c]);for(var f=b.child;null!=f;)this.setCellHeights(f,c+1),f=f.next};
mxCompactTreeLayout.prototype.dfs=function(b,c){var f=mxCellPath.create(b),d=null;if(null!=b&&null==this.visited[f]&&!this.isVertexIgnored(b)){this.visited[f]=b;var d=this.createNode(b),f=this.graph.getModel(),a=null,e=this.graph.getEdges(b,c,this.invert,!this.invert,!1,!0),g=this.graph.getView();this.sortEdges&&this.sortOutgoingEdges(b,e);for(var k=0;k<e.length;k++){var l=e[k];if(!this.isEdgeIgnored(l)){this.resetEdges&&this.setEdgePoints(l,null);this.edgeRouting&&(this.setEdgeStyleEnabled(l,!1),
this.setEdgePoints(l,null));var m=g.getState(l),l=null!=m?m.getVisibleTerminal(this.invert):g.getVisibleTerminal(l,this.invert),m=this.dfs(l,c);null!=m&&null!=f.getGeometry(l)&&(null==a?d.child=m:a.next=m,a=m)}}}return d};mxCompactTreeLayout.prototype.layout=function(b){if(null!=b){for(var c=b.child;null!=c;)this.layout(c),c=c.next;null!=b.child?this.attachParent(b,this.join(b)):this.layoutLeaf(b)}};
mxCompactTreeLayout.prototype.horizontalLayout=function(b,c,f,d){b.x+=c+b.offsetX;b.y+=f+b.offsetY;d=this.apply(b,d);c=b.child;if(null!=c){d=this.horizontalLayout(c,b.x,b.y,d);f=b.y+c.offsetY;for(var a=c.next;null!=a;)d=this.horizontalLayout(a,b.x+c.offsetX,f,d),f+=a.offsetY,a=a.next}return d};
mxCompactTreeLayout.prototype.verticalLayout=function(b,c,f,d,a){b.x+=f+b.offsetY;b.y+=d+b.offsetX;a=this.apply(b,a);c=b.child;if(null!=c){a=this.verticalLayout(c,b,b.x,b.y,a);f=b.x+c.offsetY;for(d=c.next;null!=d;)a=this.verticalLayout(d,b,f,b.y+c.offsetX,a),f+=d.offsetY,d=d.next}return a};
mxCompactTreeLayout.prototype.attachParent=function(b,c){var f=this.nodeDistance+this.levelDistance,d=(c-b.width)/2-this.nodeDistance,a=d+b.width+2*this.nodeDistance-c;b.child.offsetX=f+b.height;b.child.offsetY=a;b.contour.upperHead=this.createLine(b.height,0,this.createLine(f,a,b.contour.upperHead));b.contour.lowerHead=this.createLine(b.height,0,this.createLine(f,d,b.contour.lowerHead))};
mxCompactTreeLayout.prototype.layoutLeaf=function(b){var c=2*this.nodeDistance;b.contour.upperTail=this.createLine(b.height+c,0);b.contour.upperHead=b.contour.upperTail;b.contour.lowerTail=this.createLine(0,-b.width-c);b.contour.lowerHead=this.createLine(b.height+c,0,b.contour.lowerTail)};
mxCompactTreeLayout.prototype.join=function(b){var c=2*this.nodeDistance,f=b.child;b.contour=f.contour;for(var d=f.width+c,a=d,f=f.next;null!=f;){var e=this.merge(b.contour,f.contour);f.offsetY=e+d;f.offsetX=0;d=f.width+c;a+=e+d;f=f.next}return a};
mxCompactTreeLayout.prototype.merge=function(b,c){for(var f=0,d=0,a=0,e=b.lowerHead,g=c.upperHead;null!=g&&null!=e;){var k=this.offset(f,d,g.dx,g.dy,e.dx,e.dy),d=d+k,a=a+k;f+g.dx<=e.dx?(f+=g.dx,d+=g.dy,g=g.next):(f-=e.dx,d-=e.dy,e=e.next)}null!=g?(f=this.bridge(b.upperTail,0,0,g,f,d),b.upperTail=null!=f.next?c.upperTail:f,b.lowerTail=c.lowerTail):(f=this.bridge(c.lowerTail,f,d,e,0,0),null==f.next&&(b.lowerTail=f));b.lowerHead=c.lowerHead;return a};
mxCompactTreeLayout.prototype.offset=function(b,c,f,d,a,e){var g=0;if(a<=b||0>=b+f)return 0;g=0<a*d-f*e?0>b?b*d/f-c:0<b?b*e/a-c:-c:a<b+f?e-(c+(a-b)*d/f):a>b+f?(f+b)*e/a-(c+d):e-(c+d);return 0<g?g:0};mxCompactTreeLayout.prototype.bridge=function(b,c,f,d,a,e){c=a+d.dx-c;a=a=0;0==d.dx?a=d.dy:(a=c*d.dy,a/=d.dx);c=this.createLine(c,a,d.next);b.next=this.createLine(0,e+d.dy-a-f,c);return c};
mxCompactTreeLayout.prototype.createNode=function(b){var c={};c.cell=b;c.x=0;c.y=0;c.width=0;c.height=0;b=this.getVertexBounds(b);null!=b&&(this.isHorizontal()?(c.width=b.height,c.height=b.width):(c.width=b.width,c.height=b.height));c.offsetX=0;c.offsetY=0;c.contour={};return c};
mxCompactTreeLayout.prototype.apply=function(b,c){var f=this.graph.getModel(),d=b.cell,a=f.getGeometry(d);null!=d&&null!=a&&(this.isVertexMovable(d)&&(a=this.setVertexLocation(d,b.x,b.y),this.resizeParent&&(f=f.getParent(d),d=mxCellPath.create(f),null==this.parentsChanged[d]&&(this.parentsChanged[d]=f))),c=null==c?new mxRectangle(a.x,a.y,a.width,a.height):new mxRectangle(Math.min(c.x,a.x),Math.min(c.y,a.y),Math.max(c.x+c.width,a.x+a.width),Math.max(c.y+c.height,a.y+a.height)));return c};
mxCompactTreeLayout.prototype.createLine=function(b,c,f){var d={};d.dx=b;d.dy=c;d.next=f;return d};mxCompactTreeLayout.prototype.adjustParents=function(){var b=[],c;for(c in this.parentsChanged)b.push(this.parentsChanged[c]);this.arrangeGroups(mxUtils.sortCells(b,!0),this.groupPadding,this.groupPaddingTop,this.groupPaddingRight,this.groupPaddingBottom,this.groupPaddingLeft)};
mxCompactTreeLayout.prototype.localEdgeProcessing=function(b){this.processNodeOutgoing(b);for(b=b.child;null!=b;)this.localEdgeProcessing(b),b=b.next};
mxCompactTreeLayout.prototype.processNodeOutgoing=function(b){for(var c=b.child,f=b.cell,d=0,a=[];null!=c;){d++;var e=c.x;this.horizontal&&(e=c.y);a.push(new WeightedCellSorter(c,e));c=c.next}a.sort(WeightedCellSorter.prototype.compare);var e=b.width,g=(d+1)*this.prefHozEdgeSep;e>g+2*this.prefHozEdgeSep&&(e-=2*this.prefHozEdgeSep);b=e/d;c=b/2;e>g+2*this.prefHozEdgeSep&&(c+=this.prefHozEdgeSep);for(var e=this.minEdgeJetty-this.prefVertEdgeOff,g=0,k=this.getVertexBounds(f),l=0;l<a.length;l++){for(var m=
a[l].cell.cell,n=this.getVertexBounds(m),m=this.graph.getEdgesBetween(f,m,!1),p=[],r=0,s=0,q=0;q<m.length;q++)this.horizontal?(r=k.x+k.width,s=k.y+c,p.push(new mxPoint(r,s)),r=k.x+k.width+e,p.push(new mxPoint(r,s)),s=n.y+n.height/2):(r=k.x+c,s=k.y+k.height,p.push(new mxPoint(r,s)),s=k.y+k.height+e,p.push(new mxPoint(r,s)),r=n.x+n.width/2),p.push(new mxPoint(r,s)),this.setEdgePoints(m[q],p);l<d/2?e+=this.prefVertEdgeOff:l>d/2&&(e-=this.prefVertEdgeOff);c+=b;g=Math.max(g,e)}};
function WeightedCellSorter(b,c){this.cell=b;this.weightedValue=c}WeightedCellSorter.prototype.weightedValue=0;WeightedCellSorter.prototype.nudge=!1;WeightedCellSorter.prototype.visited=!1;WeightedCellSorter.prototype.rankIndex=null;WeightedCellSorter.prototype.cell=null;WeightedCellSorter.prototype.compare=function(b,c){return null!=b&&null!=c?c.weightedValue>b.weightedValue?1:c.weightedValue<b.weightedValue?-1:c.nudge?1:-1:0};function mxRadialTreeLayout(b){mxCompactTreeLayout.call(this,b,!1)}
mxUtils.extend(mxRadialTreeLayout,mxCompactTreeLayout);mxRadialTreeLayout.prototype.angleOffset=0.5;mxRadialTreeLayout.prototype.rootx=0;mxRadialTreeLayout.prototype.rooty=0;mxRadialTreeLayout.prototype.levelDistance=120;mxRadialTreeLayout.prototype.nodeDistance=10;mxRadialTreeLayout.prototype.autoRadius=!1;mxRadialTreeLayout.prototype.sortEdges=!1;mxRadialTreeLayout.prototype.rowMinX=[];mxRadialTreeLayout.prototype.rowMaxX=[];mxRadialTreeLayout.prototype.rowMinCenX=[];
mxRadialTreeLayout.prototype.rowMaxCenX=[];mxRadialTreeLayout.prototype.rowRadi=[];mxRadialTreeLayout.prototype.row=[];mxRadialTreeLayout.prototype.isVertexIgnored=function(b){return mxGraphLayout.prototype.isVertexIgnored.apply(this,arguments)||0==this.graph.getConnections(b).length};
mxRadialTreeLayout.prototype.execute=function(b,c){this.parent=b;this.edgeRouting=this.useBoundingBox=!1;mxCompactTreeLayout.prototype.execute.apply(this,arguments);var f=null,d=this.getVertexBounds(this.root);this.centerX=d.x+d.width/2;this.centerY=d.y+d.height/2;for(var a in this.visited){var e=this.getVertexBounds(this.visited[a]),f=null!=f?f:e.clone();f.add(e)}this.calcRowDims([this.node],0);for(var g=0,k=0,f=0;f<this.row.length;f++)a=(this.rowMaxX[f]-this.centerX-this.nodeDistance)/this.rowRadi[f],
g=Math.max(g,(this.centerX-this.rowMinX[f]-this.nodeDistance)/this.rowRadi[f]),k=Math.max(k,a);for(f=0;f<this.row.length;f++){var l=this.centerX-this.nodeDistance-g*this.rowRadi[f],m=this.centerX+this.nodeDistance+k*this.rowRadi[f]-l;for(a=0;a<this.row[f].length;a++)e=this.row[f],d=e[a],e=this.getVertexBounds(d.cell),d.theta=2*Math.PI*((e.x+e.width/2-l)/m)}for(f=this.row.length-2;0<=f;f--){e=this.row[f];for(a=0;a<e.length;a++){d=e[a];g=d.child;for(l=k=0;null!=g;)l+=g.theta,k++,g=g.next;0<k&&(g=l/
k,g>d.theta&&a<e.length-1?d.theta=Math.min(g,e[a+1].theta-Math.PI/10):g<d.theta&&0<a&&(d.theta=Math.max(g,e[a-1].theta+Math.PI/10)))}}for(f=0;f<this.row.length;f++)for(a=0;a<this.row[f].length;a++)e=this.row[f],d=e[a],e=this.getVertexBounds(d.cell),this.setVertexLocation(d.cell,this.centerX-e.width/2+this.rowRadi[f]*Math.cos(d.theta),this.centerY-e.height/2+this.rowRadi[f]*Math.sin(d.theta))};
mxRadialTreeLayout.prototype.calcRowDims=function(b,c){if(!(null==b||0==b.length)){this.rowMinX[c]=this.centerX;this.rowMaxX[c]=this.centerX;this.rowMinCenX[c]=this.centerX;this.rowMaxCenX[c]=this.centerX;this.row[c]=[];for(var f=!1,d=0;d<b.length;d++)for(var a=b[d].child;null!=a;)vertexBounds=this.getVertexBounds(a.cell),this.rowMinX[c]=Math.min(vertexBounds.x,this.rowMinX[c]),this.rowMaxX[c]=Math.max(vertexBounds.x+vertexBounds.width,this.rowMaxX[c]),this.rowMinCenX[c]=Math.min(vertexBounds.x+vertexBounds.width/
2,this.rowMinCenX[c]),this.rowMaxCenX[c]=Math.max(vertexBounds.x+vertexBounds.width/2,this.rowMaxCenX[c]),this.rowRadi[c]=vertexBounds.y-this.getVertexBounds(this.root).y,null!=a.child&&(f=!0),this.row[c].push(a),a=a.next;f&&this.calcRowDims(this.row[c],c+1)}};function mxFastOrganicLayout(b){mxGraphLayout.call(this,b)}mxFastOrganicLayout.prototype=new mxGraphLayout;mxFastOrganicLayout.prototype.constructor=mxFastOrganicLayout;mxFastOrganicLayout.prototype.useInputOrigin=!0;
mxFastOrganicLayout.prototype.resetEdges=!0;mxFastOrganicLayout.prototype.disableEdgeStyle=!0;mxFastOrganicLayout.prototype.forceConstant=50;mxFastOrganicLayout.prototype.forceConstantSquared=0;mxFastOrganicLayout.prototype.minDistanceLimit=2;mxFastOrganicLayout.prototype.maxDistanceLimit=500;mxFastOrganicLayout.prototype.minDistanceLimitSquared=4;mxFastOrganicLayout.prototype.initialTemp=200;mxFastOrganicLayout.prototype.temperature=0;mxFastOrganicLayout.prototype.maxIterations=0;
mxFastOrganicLayout.prototype.iteration=0;mxFastOrganicLayout.prototype.allowedToRun=!0;mxFastOrganicLayout.prototype.isVertexIgnored=function(b){return mxGraphLayout.prototype.isVertexIgnored.apply(this,arguments)||0==this.graph.getConnections(b).length};
mxFastOrganicLayout.prototype.execute=function(b){var c=this.graph.getModel();this.vertexArray=[];for(var f=this.graph.getChildVertices(b),d=0;d<f.length;d++)this.isVertexIgnored(f[d])||this.vertexArray.push(f[d]);var a=this.useInputOrigin?this.graph.getBoundingBoxFromGeometry(this.vertexArray):null,e=this.vertexArray.length;this.indices=[];this.dispX=[];this.dispY=[];this.cellLocation=[];this.isMoveable=[];this.neighbours=[];this.radius=[];this.radiusSquared=[];0.001>this.forceConstant&&(this.forceConstant=
0.001);this.forceConstantSquared=this.forceConstant*this.forceConstant;for(d=0;d<this.vertexArray.length;d++){var g=this.vertexArray[d];this.cellLocation[d]=[];var k=mxObjectIdentity.get(g);this.indices[k]=d;var l=this.getVertexBounds(g),m=l.width,n=l.height,p=l.x,r=l.y;this.cellLocation[d][0]=p+m/2;this.cellLocation[d][1]=r+n/2;this.radius[d]=Math.min(m,n);this.radiusSquared[d]=this.radius[d]*this.radius[d]}c.beginUpdate();try{for(d=0;d<e;d++){this.dispX[d]=0;this.dispY[d]=0;this.isMoveable[d]=this.isVertexMovable(this.vertexArray[d]);
var s=this.graph.getConnections(this.vertexArray[d],b),f=this.graph.getOpposites(s,this.vertexArray[d]);this.neighbours[d]=[];for(m=0;m<f.length;m++){this.resetEdges&&this.graph.resetEdge(s[m]);this.disableEdgeStyle&&this.setEdgeStyleEnabled(s[m],!1);var k=mxObjectIdentity.get(f[m]),q=this.indices[k];this.neighbours[d][m]=null!=q?q:d}}this.temperature=this.initialTemp;0==this.maxIterations&&(this.maxIterations=20*Math.sqrt(e));for(this.iteration=0;this.iteration<this.maxIterations;this.iteration++){if(!this.allowedToRun)return;
this.calcRepulsion();this.calcAttraction();this.calcPositions();this.reduceTemperature()}b=f=null;for(d=0;d<this.vertexArray.length;d++)g=this.vertexArray[d],this.isVertexMovable(g)&&(l=this.getVertexBounds(g),null!=l&&(this.cellLocation[d][0]-=l.width/2,this.cellLocation[d][1]-=l.height/2,p=this.graph.snap(this.cellLocation[d][0]),r=this.graph.snap(this.cellLocation[d][1]),this.setVertexLocation(g,p,r),f=null==f?p:Math.min(f,p),b=null==b?r:Math.min(b,r)));d=-(f||0)+1;g=-(b||0)+1;null!=a&&(d+=a.x,
g+=a.y);this.graph.moveCells(this.vertexArray,d,g)}finally{c.endUpdate()}};mxFastOrganicLayout.prototype.calcPositions=function(){for(var b=0;b<this.vertexArray.length;b++)if(this.isMoveable[b]){var c=Math.sqrt(this.dispX[b]*this.dispX[b]+this.dispY[b]*this.dispY[b]);0.001>c&&(c=0.001);var f=this.dispX[b]/c*Math.min(c,this.temperature),c=this.dispY[b]/c*Math.min(c,this.temperature);this.dispX[b]=0;this.dispY[b]=0;this.cellLocation[b][0]+=f;this.cellLocation[b][1]+=c}};
mxFastOrganicLayout.prototype.calcAttraction=function(){for(var b=0;b<this.vertexArray.length;b++)for(var c=0;c<this.neighbours[b].length;c++){var f=this.neighbours[b][c];if(b!=f&&this.isMoveable[b]&&this.isMoveable[f]){var d=this.cellLocation[b][0]-this.cellLocation[f][0],a=this.cellLocation[b][1]-this.cellLocation[f][1],e=d*d+a*a-this.radiusSquared[b]-this.radiusSquared[f];e<this.minDistanceLimitSquared&&(e=this.minDistanceLimitSquared);var g=Math.sqrt(e),e=e/this.forceConstant,d=d/g*e,a=a/g*e;
this.dispX[b]-=d;this.dispY[b]-=a;this.dispX[f]+=d;this.dispY[f]+=a}}};
mxFastOrganicLayout.prototype.calcRepulsion=function(){for(var b=this.vertexArray.length,c=0;c<b;c++)for(var f=c;f<b;f++){if(!this.allowedToRun)return;if(f!=c&&this.isMoveable[c]&&this.isMoveable[f]){var d=this.cellLocation[c][0]-this.cellLocation[f][0],a=this.cellLocation[c][1]-this.cellLocation[f][1];0==d&&(d=0.01+Math.random());0==a&&(a=0.01+Math.random());var e=Math.sqrt(d*d+a*a),g=e-this.radius[c]-this.radius[f];g>this.maxDistanceLimit||(g<this.minDistanceLimit&&(g=this.minDistanceLimit),g=this.forceConstantSquared/
g,d=d/e*g,a=a/e*g,this.dispX[c]+=d,this.dispY[c]+=a,this.dispX[f]-=d,this.dispY[f]-=a)}}};mxFastOrganicLayout.prototype.reduceTemperature=function(){this.temperature=this.initialTemp*(1-this.iteration/this.maxIterations)};function mxCircleLayout(b,c){mxGraphLayout.call(this,b);this.radius=null!=c?c:100}mxCircleLayout.prototype=new mxGraphLayout;mxCircleLayout.prototype.constructor=mxCircleLayout;mxCircleLayout.prototype.radius=null;mxCircleLayout.prototype.moveCircle=!1;
mxCircleLayout.prototype.x0=0;mxCircleLayout.prototype.y0=0;mxCircleLayout.prototype.resetEdges=!0;mxCircleLayout.prototype.disableEdgeStyle=!0;
mxCircleLayout.prototype.execute=function(b){var c=this.graph.getModel();c.beginUpdate();try{for(var f=0,d=null,a=null,e=[],g=c.getChildCount(b),k=0;k<g;k++){var l=c.getChildAt(b,k);if(this.isVertexIgnored(l))this.isEdgeIgnored(l)||(this.resetEdges&&this.graph.resetEdge(l),this.disableEdgeStyle&&this.setEdgeStyleEnabled(l,!1));else{e.push(l);var m=this.getVertexBounds(l),d=null==d?m.y:Math.min(d,m.y),a=null==a?m.x:Math.min(a,m.x),f=Math.max(f,Math.max(m.width,m.height))}}var n=this.getRadius(e.length,
f);this.moveCircle&&(a=this.x0,d=this.y0);this.circle(e,n,a,d)}finally{c.endUpdate()}};mxCircleLayout.prototype.getRadius=function(b,c){return Math.max(b*c/Math.PI,this.radius)};mxCircleLayout.prototype.circle=function(b,c,f,d){for(var a=b.length,e=2*Math.PI/a,g=0;g<a;g++)this.isVertexMovable(b[g])&&this.setVertexLocation(b[g],f+c+c*Math.sin(g*e),d+c+c*Math.cos(g*e))};function mxParallelEdgeLayout(b){mxGraphLayout.call(this,b)}mxParallelEdgeLayout.prototype=new mxGraphLayout;
mxParallelEdgeLayout.prototype.constructor=mxParallelEdgeLayout;mxParallelEdgeLayout.prototype.spacing=20;mxParallelEdgeLayout.prototype.execute=function(b){b=this.findParallels(b);this.graph.model.beginUpdate();try{for(var c in b){var f=b[c];1<f.length&&this.layout(f)}}finally{this.graph.model.endUpdate()}};
mxParallelEdgeLayout.prototype.findParallels=function(b){for(var c=this.graph.getModel(),f=[],d=c.getChildCount(b),a=0;a<d;a++){var e=c.getChildAt(b,a);if(!this.isEdgeIgnored(e)){var g=this.getEdgeId(e);null!=g&&(null==f[g]&&(f[g]=[]),f[g].push(e))}}return f};mxParallelEdgeLayout.prototype.getEdgeId=function(b){var c=this.graph.getView(),f=c.getVisibleTerminal(b,!0);b=c.getVisibleTerminal(b,!1);return null!=f&&null!=b?(f=mxObjectIdentity.get(f),b=mxObjectIdentity.get(b),f>b?b+"-"+f:f+"-"+b):null};
mxParallelEdgeLayout.prototype.layout=function(b){var c=b[0],f=this.graph.getView(),d=this.graph.getModel(),a=d.getGeometry(f.getVisibleTerminal(c,!0)),d=d.getGeometry(f.getVisibleTerminal(c,!1));if(a==d)for(var c=a.x+a.width+this.spacing,f=a.y+a.height/2,e=0;e<b.length;e++)this.route(b[e],c,f),c+=this.spacing;else if(null!=a&&null!=d){var c=a.x+a.width/2,f=a.y+a.height/2,e=d.x+d.width/2-c,g=d.y+d.height/2-f,d=Math.sqrt(e*e+g*g);if(0<d){a=g*this.spacing/d;d=e*this.spacing/d;c=c+e/2+a*(b.length-1)/
2;f=f+g/2-d*(b.length-1)/2;for(e=0;e<b.length;e++)this.route(b[e],c,f),c-=a,f+=d}}};mxParallelEdgeLayout.prototype.route=function(b,c,f){this.graph.isCellMovable(b)&&this.setEdgePoints(b,[new mxPoint(c,f)])};function mxCompositeLayout(b,c,f){mxGraphLayout.call(this,b);this.layouts=c;this.master=f}mxCompositeLayout.prototype=new mxGraphLayout;mxCompositeLayout.prototype.constructor=mxCompositeLayout;mxCompositeLayout.prototype.layouts=null;mxCompositeLayout.prototype.master=null;
mxCompositeLayout.prototype.moveCell=function(b,c,f){null!=this.master?this.master.move.apply(this.master,arguments):this.layouts[0].move.apply(this.layouts[0],arguments)};mxCompositeLayout.prototype.execute=function(b){var c=this.graph.getModel();c.beginUpdate();try{for(var f=0;f<this.layouts.length;f++)this.layouts[f].execute.apply(this.layouts[f],arguments)}finally{c.endUpdate()}};function mxEdgeLabelLayout(b,c){mxGraphLayout.call(this,b)}mxEdgeLabelLayout.prototype=new mxGraphLayout;
mxEdgeLabelLayout.prototype.constructor=mxEdgeLabelLayout;mxEdgeLabelLayout.prototype.execute=function(b){for(var c=this.graph.view,f=this.graph.getModel(),d=[],a=[],e=f.getChildCount(b),g=0;g<e;g++){var k=f.getChildAt(b,g),l=c.getState(k);null!=l&&(this.isVertexIgnored(k)?this.isEdgeIgnored(k)||d.push(l):a.push(l))}this.placeLabels(a,d)};
mxEdgeLabelLayout.prototype.placeLabels=function(b,c){var f=this.graph.getModel();f.beginUpdate();try{for(var d=0;d<c.length;d++){var a=c[d];if(null!=a&&null!=a.text&&null!=a.text.boundingBox)for(var e=0;e<b.length;e++){var g=b[e];null!=g&&this.avoid(a,g)}}}finally{f.endUpdate()}};
mxEdgeLabelLayout.prototype.avoid=function(b,c){var f=this.graph.getModel(),d=b.text.boundingBox;if(mxUtils.intersects(d,c)){var a=-d.y-d.height+c.y,e=-d.y+c.y+c.height,a=Math.abs(a)<Math.abs(e)?a:e,e=-d.x-d.width+c.x,d=-d.x+c.x+c.width,d=Math.abs(e)<Math.abs(d)?e:d;Math.abs(d)<Math.abs(a)?a=0:d=0;e=f.getGeometry(b.cell);null!=e&&(e=e.clone(),null!=e.offset?(e.offset.x+=d,e.offset.y+=a):e.offset=new mxPoint(d,a),f.setGeometry(b.cell,e))}};
function mxGraphAbstractHierarchyCell(){this.x=[];this.y=[];this.temp=[]}mxGraphAbstractHierarchyCell.prototype.maxRank=-1;mxGraphAbstractHierarchyCell.prototype.minRank=-1;mxGraphAbstractHierarchyCell.prototype.x=null;mxGraphAbstractHierarchyCell.prototype.y=null;mxGraphAbstractHierarchyCell.prototype.width=0;mxGraphAbstractHierarchyCell.prototype.height=0;mxGraphAbstractHierarchyCell.prototype.nextLayerConnectedCells=null;mxGraphAbstractHierarchyCell.prototype.previousLayerConnectedCells=null;
mxGraphAbstractHierarchyCell.prototype.temp=null;mxGraphAbstractHierarchyCell.prototype.getNextLayerConnectedCells=function(b){return null};mxGraphAbstractHierarchyCell.prototype.getPreviousLayerConnectedCells=function(b){return null};mxGraphAbstractHierarchyCell.prototype.isEdge=function(){return!1};mxGraphAbstractHierarchyCell.prototype.isVertex=function(){return!1};mxGraphAbstractHierarchyCell.prototype.getGeneralPurposeVariable=function(b){return null};
mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable=function(b,c){return null};mxGraphAbstractHierarchyCell.prototype.setX=function(b,c){this.isVertex()?this.x[0]=c:this.isEdge()&&(this.x[b-this.minRank-1]=c)};mxGraphAbstractHierarchyCell.prototype.getX=function(b){return this.isVertex()?this.x[0]:this.isEdge()?this.x[b-this.minRank-1]:0};mxGraphAbstractHierarchyCell.prototype.setY=function(b,c){this.isVertex()?this.y[0]=c:this.isEdge()&&(this.y[b-this.minRank-1]=c)};
function mxGraphHierarchyNode(b){mxGraphAbstractHierarchyCell.apply(this,arguments);this.cell=b;this.id=mxObjectIdentity.get(b);this.connectsAsTarget=[];this.connectsAsSource=[]}mxGraphHierarchyNode.prototype=new mxGraphAbstractHierarchyCell;mxGraphHierarchyNode.prototype.constructor=mxGraphHierarchyNode;mxGraphHierarchyNode.prototype.cell=null;mxGraphHierarchyNode.prototype.id=null;mxGraphHierarchyNode.prototype.connectsAsTarget=null;mxGraphHierarchyNode.prototype.connectsAsSource=null;
mxGraphHierarchyNode.prototype.hashCode=!1;mxGraphHierarchyNode.prototype.getRankValue=function(b){return this.maxRank};mxGraphHierarchyNode.prototype.getNextLayerConnectedCells=function(b){if(null==this.nextLayerConnectedCells){this.nextLayerConnectedCells=[];this.nextLayerConnectedCells[0]=[];for(var c=0;c<this.connectsAsTarget.length;c++){var f=this.connectsAsTarget[c];-1==f.maxRank||f.maxRank==b+1?this.nextLayerConnectedCells[0].push(f.source):this.nextLayerConnectedCells[0].push(f)}}return this.nextLayerConnectedCells[0]};
mxGraphHierarchyNode.prototype.getPreviousLayerConnectedCells=function(b){if(null==this.previousLayerConnectedCells){this.previousLayerConnectedCells=[];this.previousLayerConnectedCells[0]=[];for(var c=0;c<this.connectsAsSource.length;c++){var f=this.connectsAsSource[c];-1==f.minRank||f.minRank==b-1?this.previousLayerConnectedCells[0].push(f.target):this.previousLayerConnectedCells[0].push(f)}}return this.previousLayerConnectedCells[0]};mxGraphHierarchyNode.prototype.isVertex=function(){return!0};
mxGraphHierarchyNode.prototype.getGeneralPurposeVariable=function(b){return this.temp[0]};mxGraphHierarchyNode.prototype.setGeneralPurposeVariable=function(b,c){this.temp[0]=c};mxGraphHierarchyNode.prototype.isAncestor=function(b){if(null!=b&&null!=this.hashCode&&null!=b.hashCode&&this.hashCode.length<b.hashCode.length){if(this.hashCode==b.hashCode)return!0;if(null==this.hashCode||null==this.hashCode)return!1;for(var c=0;c<this.hashCode.length;c++)if(this.hashCode[c]!=b.hashCode[c])return!1;return!0}return!1};
mxGraphHierarchyNode.prototype.getCoreCell=function(){return this.cell};function mxGraphHierarchyEdge(b){mxGraphAbstractHierarchyCell.apply(this,arguments);this.edges=b;this.ids=[];for(var c=0;c<b.length;c++)this.ids.push(mxObjectIdentity.get(b[c]))}mxGraphHierarchyEdge.prototype=new mxGraphAbstractHierarchyCell;mxGraphHierarchyEdge.prototype.constructor=mxGraphHierarchyEdge;mxGraphHierarchyEdge.prototype.edges=null;mxGraphHierarchyEdge.prototype.ids=null;mxGraphHierarchyEdge.prototype.source=null;
mxGraphHierarchyEdge.prototype.target=null;mxGraphHierarchyEdge.prototype.isReversed=!1;mxGraphHierarchyEdge.prototype.invert=function(b){b=this.source;this.source=this.target;this.target=b;this.isReversed=!this.isReversed};
mxGraphHierarchyEdge.prototype.getNextLayerConnectedCells=function(b){if(null==this.nextLayerConnectedCells){this.nextLayerConnectedCells=[];for(var c=0;c<this.temp.length;c++)this.nextLayerConnectedCells[c]=[],c==this.temp.length-1?this.nextLayerConnectedCells[c].push(this.source):this.nextLayerConnectedCells[c].push(this)}return this.nextLayerConnectedCells[b-this.minRank-1]};
mxGraphHierarchyEdge.prototype.getPreviousLayerConnectedCells=function(b){if(null==this.previousLayerConnectedCells){this.previousLayerConnectedCells=[];for(var c=0;c<this.temp.length;c++)this.previousLayerConnectedCells[c]=[],0==c?this.previousLayerConnectedCells[c].push(this.target):this.previousLayerConnectedCells[c].push(this)}return this.previousLayerConnectedCells[b-this.minRank-1]};mxGraphHierarchyEdge.prototype.isEdge=function(){return!0};
mxGraphHierarchyEdge.prototype.getGeneralPurposeVariable=function(b){return this.temp[b-this.minRank-1]};mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable=function(b,c){this.temp[b-this.minRank-1]=c};mxGraphHierarchyEdge.prototype.getCoreCell=function(){return null!=this.edges&&0<this.edges.length?this.edges[0]:null};
function mxGraphHierarchyModel(b,c,f,d,a){b.getGraph();this.tightenToSource=a;this.roots=f;this.parent=d;this.vertexMapper=new mxDictionary;this.edgeMapper=new mxDictionary;this.maxRank=0;f=[];null==c&&(c=this.graph.getChildVertices(d));this.maxRank=this.SOURCESCANSTARTRANK;this.createInternalCells(b,c,f);for(d=0;d<c.length;d++){a=f[d].connectsAsSource;for(var e=0;e<a.length;e++){var g=a[e],k=g.edges;if(null!=k&&0<k.length){var k=k[0],l=b.getVisibleTerminal(k,!1),l=this.vertexMapper.get(l);f[d]==
l&&(l=b.getVisibleTerminal(k,!0),l=this.vertexMapper.get(l));null!=l&&f[d]!=l&&(g.target=l,0==l.connectsAsTarget.length&&(l.connectsAsTarget=[]),0>mxUtils.indexOf(l.connectsAsTarget,g)&&l.connectsAsTarget.push(g))}}f[d].temp[0]=1}}mxGraphHierarchyModel.prototype.maxRank=null;mxGraphHierarchyModel.prototype.vertexMapper=null;mxGraphHierarchyModel.prototype.edgeMapper=null;mxGraphHierarchyModel.prototype.ranks=null;mxGraphHierarchyModel.prototype.roots=null;mxGraphHierarchyModel.prototype.parent=null;
mxGraphHierarchyModel.prototype.dfsCount=0;mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK=1E8;mxGraphHierarchyModel.prototype.tightenToSource=!1;
mxGraphHierarchyModel.prototype.createInternalCells=function(b,c,f){for(var d=b.getGraph(),a=0;a<c.length;a++){f[a]=new mxGraphHierarchyNode(c[a]);this.vertexMapper.put(c[a],f[a]);var e=b.getEdges(c[a]);f[a].connectsAsSource=[];for(var g=0;g<e.length;g++){var k=b.getVisibleTerminal(e[g],!1);if(k!=c[a]&&b.graph.model.isVertex(k)&&!b.isVertexIgnored(k)){var l=b.getEdgesBetween(c[a],k,!1),k=b.getEdgesBetween(c[a],k,!0);if(null!=l&&0<l.length&&null==this.edgeMapper.get(l[0])&&2*k.length>=l.length){for(var k=
new mxGraphHierarchyEdge(l),m=0;m<l.length;m++){var n=l[m];this.edgeMapper.put(n,k);d.resetEdge(n);b.disableEdgeStyle&&(b.setEdgeStyleEnabled(n,!1),b.setOrthogonalEdge(n,!0))}k.source=f[a];0>mxUtils.indexOf(f[a].connectsAsSource,k)&&f[a].connectsAsSource.push(k)}}}f[a].temp[0]=0}};
mxGraphHierarchyModel.prototype.initialRank=function(){var b=[];if(null!=this.roots)for(var c=0;c<this.roots.length;c++){var f=this.vertexMapper.get(this.roots[c]);null!=f&&b.push(f)}for(var d=this.vertexMapper.getValues(),c=0;c<d.length;c++)d[c].temp[0]=-1;for(var a=b.slice();0<b.length;){var f=b[0],e,g;e=f.connectsAsTarget;g=f.connectsAsSource;for(var k=!0,l=this.SOURCESCANSTARTRANK,c=0;c<e.length;c++){var m=e[c];if(5270620==m.temp[0])m=m.source,l=Math.min(l,m.temp[0]-1);else{k=!1;break}}if(k){f.temp[0]=
l;this.maxRank=Math.min(this.maxRank,l);if(null!=g)for(c=0;c<g.length;c++)m=g[c],m.temp[0]=5270620,m=m.target,-1==m.temp[0]&&(b.push(m),m.temp[0]=-2);b.shift()}else if(c=b.shift(),b.push(f),c==f&&1==b.length)break}for(c=0;c<d.length;c++)d[c].temp[0]-=this.maxRank;for(c=0;c<a.length;c++){f=a[c];b=0;e=f.connectsAsSource;for(d=0;d<e.length;d++)m=e[d],m=m.target,f.temp[0]=Math.max(b,m.temp[0]+1),b=f.temp[0]}this.maxRank=this.SOURCESCANSTARTRANK-this.maxRank};
mxGraphHierarchyModel.prototype.fixRanks=function(){var b=[];this.ranks=[];for(var c=0;c<this.maxRank+1;c++)b[c]=[],this.ranks[c]=b[c];var f=null;if(null!=this.roots)for(var d=this.roots,f=[],c=0;c<d.length;c++){var a=this.vertexMapper.get(d[c]);f[c]=a}this.visit(function(a,d,c,f,m){0==m&&0>d.maxRank&&0>d.minRank&&(b[d.temp[0]].push(d),d.maxRank=d.temp[0],d.minRank=d.temp[0],d.temp[0]=b[d.maxRank].length-1);if(null!=a&&null!=c&&1<a.maxRank-d.maxRank){c.maxRank=a.maxRank;c.minRank=d.maxRank;c.temp=
[];c.x=[];c.y=[];for(a=c.minRank+1;a<c.maxRank;a++)b[a].push(c),c.setGeneralPurposeVariable(a,b[a].length-1)}},f,!1,null)};mxGraphHierarchyModel.prototype.visit=function(b,c,f,d){if(null!=c){for(var a=0;a<c.length;a++){var e=c[a];null!=e&&(null==d&&(d={}),f?(e.hashCode=[],e.hashCode[0]=this.dfsCount,e.hashCode[1]=a,this.extendedDfs(null,e,null,b,d,e.hashCode,a,0)):this.dfs(null,e,null,b,d,0))}this.dfsCount++}};
mxGraphHierarchyModel.prototype.dfs=function(b,c,f,d,a,e){if(null!=c){var g=c.id;if(null==a[g]){a[g]=c;d(b,c,f,e,0);b=c.connectsAsSource.slice();for(f=0;f<b.length;f++)g=b[f],this.dfs(c,g.target,g,d,a,e+1)}else d(b,c,f,e,1)}};
mxGraphHierarchyModel.prototype.extendedDfs=function(b,c,f,d,a,e,g,k){if(null!=c){if(null!=b&&(null==c.hashCode||c.hashCode[0]!=b.hashCode[0]))e=b.hashCode.length+1,c.hashCode=b.hashCode.slice(),c.hashCode[e-1]=g;g=c.id;if(null==a[g]){a[g]=c;d(b,c,f,k,0);b=c.connectsAsSource.slice();for(f=0;f<b.length;f++)g=b[f],this.extendedDfs(c,g.target,g,d,a,c.hashCode,f,k+1)}else d(b,c,f,k,1)}};
function mxSwimlaneModel(b,c,f,d,a){b.getGraph();this.tightenToSource=a;this.roots=f;this.parent=d;this.vertexMapper=new mxDictionary;this.edgeMapper=new mxDictionary;this.maxRank=0;f=[];null==c&&(c=this.graph.getChildVertices(d));this.maxRank=this.SOURCESCANSTARTRANK;this.createInternalCells(b,c,f);for(d=0;d<c.length;d++){a=f[d].connectsAsSource;for(var e=0;e<a.length;e++){var g=a[e],k=g.edges;if(null!=k&&0<k.length){var k=k[0],l=b.getVisibleTerminal(k,!1),l=this.vertexMapper.get(l);f[d]==l&&(l=
b.getVisibleTerminal(k,!0),l=this.vertexMapper.get(l));null!=l&&f[d]!=l&&(g.target=l,0==l.connectsAsTarget.length&&(l.connectsAsTarget=[]),0>mxUtils.indexOf(l.connectsAsTarget,g)&&l.connectsAsTarget.push(g))}}f[d].temp[0]=1}}mxSwimlaneModel.prototype.maxRank=null;mxSwimlaneModel.prototype.vertexMapper=null;mxSwimlaneModel.prototype.edgeMapper=null;mxSwimlaneModel.prototype.ranks=null;mxSwimlaneModel.prototype.roots=null;mxSwimlaneModel.prototype.parent=null;mxSwimlaneModel.prototype.dfsCount=0;
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK=1E8;mxGraphHierarchyModel.prototype.tightenToSource=!1;mxSwimlaneModel.prototype.ranksPerGroup=null;
mxSwimlaneModel.prototype.createInternalCells=function(b,c,f){for(var d=b.getGraph(),a=b.swimlanes,e=0;e<c.length;e++){f[e]=new mxGraphHierarchyNode(c[e]);this.vertexMapper.put(c[e],f[e]);f[e].swimlaneIndex=-1;for(var g=0;g<a.length;g++)if(d.model.getParent(c[e])==a[g]){f[e].swimlaneIndex=g;break}g=b.getEdges(c[e]);f[e].connectsAsSource=[];for(var k=0;k<g.length;k++){var l=b.getVisibleTerminal(g[k],!1);if(l!=c[e]&&b.graph.model.isVertex(l)&&!b.isVertexIgnored(l)){var m=b.getEdgesBetween(c[e],l,!1),
l=b.getEdgesBetween(c[e],l,!0);if(null!=m&&0<m.length&&null==this.edgeMapper.get(m[0])&&2*l.length>=m.length){for(var l=new mxGraphHierarchyEdge(m),n=0;n<m.length;n++){var p=m[n];this.edgeMapper.put(p,l);d.resetEdge(p);b.disableEdgeStyle&&(b.setEdgeStyleEnabled(p,!1),b.setOrthogonalEdge(p,!0))}l.source=f[e];0>mxUtils.indexOf(f[e].connectsAsSource,l)&&f[e].connectsAsSource.push(l)}}}f[e].temp[0]=0}};
mxSwimlaneModel.prototype.initialRank=function(){this.ranksPerGroup=[];var b=[],c={};if(null!=this.roots)for(var f=0;f<this.roots.length;f++){var d=this.vertexMapper.get(this.roots[f]);this.maxChainDfs(null,d,null,c,0);null!=d&&b.push(d)}d=[];c=[];for(f=this.ranksPerGroup.length-1;0<=f;f--)d[f]=f==this.ranksPerGroup.length-1?0:c[f+1]+1,c[f]=d[f]+this.ranksPerGroup[f];this.maxRank=c[0];d=this.vertexMapper.getValues();for(f=0;f<d.length;f++)d[f].temp[0]=-1;for(b.slice();0<b.length;){var d=b[0],a,e;
a=d.connectsAsTarget;e=d.connectsAsSource;for(var g=!0,k=c[0],f=0;f<a.length;f++){var l=a[f];if(5270620==l.temp[0])l=l.source,k=Math.min(k,l.temp[0]-1);else{g=!1;break}}if(g){k>c[d.swimlaneIndex]&&(k=c[d.swimlaneIndex]);d.temp[0]=k;if(null!=e)for(f=0;f<e.length;f++)l=e[f],l.temp[0]=5270620,l=l.target,-1==l.temp[0]&&(b.push(l),l.temp[0]=-2);b.shift()}else if(f=b.shift(),b.push(d),f==d&&1==b.length)break}};
mxSwimlaneModel.prototype.maxChainDfs=function(b,c,f,d,a){if(null!=c&&(b=mxCellPath.create(c.cell),null==d[b])){d[b]=c;b=c.swimlaneIndex;if(null==this.ranksPerGroup[b]||this.ranksPerGroup[b]<a)this.ranksPerGroup[b]=a;b=c.connectsAsSource.slice();for(f=0;f<b.length;f++){var e=b[f],g=e.target;c.swimlaneIndex<g.swimlaneIndex?this.maxChainDfs(c,g,e,mxUtils.clone(d,null,!0),0):c.swimlaneIndex==g.swimlaneIndex&&this.maxChainDfs(c,g,e,mxUtils.clone(d,null,!0),a+1)}}};
mxSwimlaneModel.prototype.fixRanks=function(){var b=[];this.ranks=[];for(var c=0;c<this.maxRank+1;c++)b[c]=[],this.ranks[c]=b[c];var f=null;if(null!=this.roots)for(var d=this.roots,f=[],c=0;c<d.length;c++){var a=this.vertexMapper.get(d[c]);f[c]=a}this.visit(function(a,d,c,f,m){0==m&&0>d.maxRank&&0>d.minRank&&(b[d.temp[0]].push(d),d.maxRank=d.temp[0],d.minRank=d.temp[0],d.temp[0]=b[d.maxRank].length-1);if(null!=a&&null!=c&&1<a.maxRank-d.maxRank){c.maxRank=a.maxRank;c.minRank=d.maxRank;c.temp=[];c.x=
[];c.y=[];for(a=c.minRank+1;a<c.maxRank;a++)b[a].push(c),c.setGeneralPurposeVariable(a,b[a].length-1)}},f,!1,null)};mxSwimlaneModel.prototype.visit=function(b,c,f,d){if(null!=c){for(var a=0;a<c.length;a++){var e=c[a];null!=e&&(null==d&&(d={}),f?(e.hashCode=[],e.hashCode[0]=this.dfsCount,e.hashCode[1]=a,this.extendedDfs(null,e,null,b,d,e.hashCode,a,0)):this.dfs(null,e,null,b,d,0))}this.dfsCount++}};
mxSwimlaneModel.prototype.dfs=function(b,c,f,d,a,e){if(null!=c){var g=c.id;if(null==a[g]){a[g]=c;d(b,c,f,e,0);b=c.connectsAsSource.slice();for(f=0;f<b.length;f++)g=b[f],this.dfs(c,g.target,g,d,a,e+1)}else d(b,c,f,e,1)}};
mxSwimlaneModel.prototype.extendedDfs=function(b,c,f,d,a,e,g,k){if(null!=c){if(null!=b&&(null==c.hashCode||c.hashCode[0]!=b.hashCode[0]))e=b.hashCode.length+1,c.hashCode=b.hashCode.slice(),c.hashCode[e-1]=g;g=c.id;if(null==a[g]){a[g]=c;d(b,c,f,k,0);b=c.connectsAsSource.slice();f=c.connectsAsTarget.slice();for(g=0;g<b.length;g++){e=b[g];var l=e.target;c.swimlaneIndex<=l.swimlaneIndex&&this.extendedDfs(c,l,e,d,a,c.hashCode,g,k+1)}for(g=0;g<f.length;g++)e=f[g],l=e.source,c.swimlaneIndex<l.swimlaneIndex&&
this.extendedDfs(c,l,e,d,a,c.hashCode,g,k+1)}else d(b,c,f,k,1)}};function mxHierarchicalLayoutStage(){}mxHierarchicalLayoutStage.prototype.execute=function(b){};function mxMedianHybridCrossingReduction(b){this.layout=b}mxMedianHybridCrossingReduction.prototype=new mxHierarchicalLayoutStage;mxMedianHybridCrossingReduction.prototype.constructor=mxMedianHybridCrossingReduction;mxMedianHybridCrossingReduction.prototype.layout=null;mxMedianHybridCrossingReduction.prototype.maxIterations=24;
mxMedianHybridCrossingReduction.prototype.nestedBestRanks=null;mxMedianHybridCrossingReduction.prototype.currentBestCrossings=0;mxMedianHybridCrossingReduction.prototype.iterationsWithoutImprovement=0;mxMedianHybridCrossingReduction.prototype.maxNoImprovementIterations=2;
mxMedianHybridCrossingReduction.prototype.execute=function(b){b=this.layout.getModel();this.nestedBestRanks=[];for(var c=0;c<b.ranks.length;c++)this.nestedBestRanks[c]=b.ranks[c].slice();for(var f=0,d=this.calculateCrossings(b),c=0;c<this.maxIterations&&f<this.maxNoImprovementIterations;c++){this.weightedMedian(c,b);this.transpose(c,b);var a=this.calculateCrossings(b);if(a<d){d=a;for(a=f=0;a<this.nestedBestRanks.length;a++)for(var e=b.ranks[a],g=0;g<e.length;g++){var k=e[g];this.nestedBestRanks[a][k.getGeneralPurposeVariable(a)]=
k}}else{f++;for(a=0;a<this.nestedBestRanks.length;a++){e=b.ranks[a];for(g=0;g<e.length;g++)k=e[g],k.setGeneralPurposeVariable(a,g)}}if(0==d)break}f=[];d=[];for(c=0;c<b.maxRank+1;c++)d[c]=[],f[c]=d[c];for(c=0;c<this.nestedBestRanks.length;c++)for(a=0;a<this.nestedBestRanks[c].length;a++)d[c].push(this.nestedBestRanks[c][a]);b.ranks=f};mxMedianHybridCrossingReduction.prototype.calculateCrossings=function(b){for(var c=b.ranks.length,f=0,d=1;d<c;d++)f+=this.calculateRankCrossing(d,b);return f};
mxMedianHybridCrossingReduction.prototype.calculateRankCrossing=function(b,c){for(var f=0,d=c.ranks[b],a=c.ranks[b-1],e=[],g=0;g<d.length;g++){for(var k=d[g],l=k.getGeneralPurposeVariable(b),k=k.getPreviousLayerConnectedCells(b),m=[],n=0;n<k.length;n++){var p=k[n].getGeneralPurposeVariable(b-1);m.push(p)}m.sort(function(a,b){return a-b});e[l]=m}d=[];for(g=0;g<e.length;g++)d=d.concat(e[g]);for(e=1;e<a.length;)e<<=1;l=2*e-1;e-=1;a=[];for(g=0;g<l;++g)a[g]=0;for(g=0;g<d.length;g++){l=d[g]+e;for(++a[l];0<
l;)l%2&&(f+=a[l+1]),l=l-1>>1,++a[l]}return f};
mxMedianHybridCrossingReduction.prototype.transpose=function(b,c){for(var f=!0,d=0;f&&10>d++;)for(var a=1==b%2&&1==d%2,f=!1,e=0;e<c.ranks.length;e++){for(var g=c.ranks[e],k=[],l=0;l<g.length;l++){var m=g[l],n=m.getGeneralPurposeVariable(e);0>n&&(n=l);k[n]=m}for(var p=null,r=null,s=null,q=null,t=null,u=null,v=null,z=null,l=0;l<g.length-1;l++){if(0==l){for(var v=k[l],m=v.getNextLayerConnectedCells(e),n=v.getPreviousLayerConnectedCells(e),s=[],q=[],y=0;y<m.length;y++)s[y]=m[y].getGeneralPurposeVariable(e+
1);for(y=0;y<n.length;y++)q[y]=n[y].getGeneralPurposeVariable(e-1)}else m=p,n=r,s=t,q=u,v=z;z=k[l+1];p=z.getNextLayerConnectedCells(e);r=z.getPreviousLayerConnectedCells(e);t=[];u=[];for(y=0;y<p.length;y++)t[y]=p[y].getGeneralPurposeVariable(e+1);for(y=0;y<r.length;y++)u[y]=r[y].getGeneralPurposeVariable(e-1);for(var x=0,D=0,y=0;y<s.length;y++)for(var A=0;A<t.length;A++)s[y]>t[A]&&x++,s[y]<t[A]&&D++;for(y=0;y<q.length;y++)for(A=0;A<u.length;A++)q[y]>u[A]&&x++,q[y]<u[A]&&D++;if(D<x||D==x&&a)p=v.getGeneralPurposeVariable(e),
v.setGeneralPurposeVariable(e,z.getGeneralPurposeVariable(e)),z.setGeneralPurposeVariable(e,p),p=m,r=n,t=s,u=q,z=v,a||(f=!0)}}};mxMedianHybridCrossingReduction.prototype.weightedMedian=function(b,c){var f=0==b%2;if(f)for(var d=c.maxRank-1;0<=d;d--)this.medianRank(d,f);else for(d=1;d<c.maxRank;d++)this.medianRank(d,f)};
mxMedianHybridCrossingReduction.prototype.medianRank=function(b,c){for(var f=this.nestedBestRanks[b].length,d=[],a=[],e=0;e<f;e++){var g=this.nestedBestRanks[b][e],k=new MedianCellSorter;k.cell=g;var l;l=c?g.getNextLayerConnectedCells(b):g.getPreviousLayerConnectedCells(b);var m;m=c?b+1:b-1;null!=l&&0!=l.length?(k.medianValue=this.medianValue(l,m),d.push(k)):a[g.getGeneralPurposeVariable(b)]=!0}d.sort(MedianCellSorter.prototype.compare);for(e=0;e<f;e++)null==a[e]&&(g=d.shift().cell,g.setGeneralPurposeVariable(b,
e))};mxMedianHybridCrossingReduction.prototype.medianValue=function(b,c){for(var f=[],d=0,a=0;a<b.length;a++){var e=b[a];f[d++]=e.getGeneralPurposeVariable(c)}f.sort(function(a,b){return a-b});if(1==d%2)return f[Math.floor(d/2)];if(2==d)return(f[0]+f[1])/2;a=d/2;e=f[a-1]-f[0];d=f[d-1]-f[a];return(f[a-1]*d+f[a]*e)/(e+d)};function MedianCellSorter(){}MedianCellSorter.prototype.medianValue=0;MedianCellSorter.prototype.cell=!1;
MedianCellSorter.prototype.compare=function(b,c){return null!=b&&null!=c?c.medianValue>b.medianValue?-1:c.medianValue<b.medianValue?1:0:0};function mxMinimumCycleRemover(b){this.layout=b}mxMinimumCycleRemover.prototype=new mxHierarchicalLayoutStage;mxMinimumCycleRemover.prototype.constructor=mxMinimumCycleRemover;mxMinimumCycleRemover.prototype.layout=null;
mxMinimumCycleRemover.prototype.execute=function(b){b=this.layout.getModel();for(var c={},f=b.vertexMapper.getValues(),d={},a=0;a<f.length;a++)d[f[a].id]=f[a];f=null;if(null!=b.roots)for(var e=b.roots,f=[],a=0;a<e.length;a++)f[a]=b.vertexMapper.get(e[a]);b.visit(function(a,b,e,f,n){b.isAncestor(a)&&(e.invert(),mxUtils.remove(e,a.connectsAsSource),a.connectsAsTarget.push(e),mxUtils.remove(e,b.connectsAsTarget),b.connectsAsSource.push(e));c[b.id]=b;delete d[b.id]},f,!0,null);a=mxUtils.clone(c,null,
!0);b.visit(function(a,b,e,f,n){b.isAncestor(a)&&(e.invert(),mxUtils.remove(e,a.connectsAsSource),b.connectsAsSource.push(e),a.connectsAsTarget.push(e),mxUtils.remove(e,b.connectsAsTarget));c[b.id]=b;delete d[b.id]},d,!0,a)};function mxCoordinateAssignment(b,c,f,d,a,e){this.layout=b;this.intraCellSpacing=c;this.interRankCellSpacing=f;this.orientation=d;this.initialX=a;this.parallelEdgeSpacing=e}mxCoordinateAssignment.prototype=new mxHierarchicalLayoutStage;
mxCoordinateAssignment.prototype.constructor=mxCoordinateAssignment;mxCoordinateAssignment.prototype.layout=null;mxCoordinateAssignment.prototype.intraCellSpacing=30;mxCoordinateAssignment.prototype.interRankCellSpacing=100;mxCoordinateAssignment.prototype.parallelEdgeSpacing=10;mxCoordinateAssignment.prototype.maxIterations=8;mxCoordinateAssignment.prototype.prefHozEdgeSep=5;mxCoordinateAssignment.prototype.prefVertEdgeOff=2;mxCoordinateAssignment.prototype.minEdgeJetty=12;
mxCoordinateAssignment.prototype.channelBuffer=4;mxCoordinateAssignment.prototype.jettyPositions=null;mxCoordinateAssignment.prototype.orientation=mxConstants.DIRECTION_NORTH;mxCoordinateAssignment.prototype.initialX=null;mxCoordinateAssignment.prototype.limitX=null;mxCoordinateAssignment.prototype.currentXDelta=null;mxCoordinateAssignment.prototype.widestRank=null;mxCoordinateAssignment.prototype.rankTopY=null;mxCoordinateAssignment.prototype.rankBottomY=null;
mxCoordinateAssignment.prototype.widestRankValue=null;mxCoordinateAssignment.prototype.rankWidths=null;mxCoordinateAssignment.prototype.rankY=null;mxCoordinateAssignment.prototype.fineTuning=!0;mxCoordinateAssignment.prototype.nextLayerConnectedCache=null;mxCoordinateAssignment.prototype.previousLayerConnectedCache=null;mxCoordinateAssignment.prototype.groupPadding=10;
mxCoordinateAssignment.prototype.printStatus=function(){var b=this.layout.getModel();mxLog.show();mxLog.writeln("\x3d\x3d\x3d\x3d\x3d\x3dCoord assignment debug\x3d\x3d\x3d\x3d\x3d\x3d\x3d");for(var c=0;c<b.ranks.length;c++){mxLog.write("Rank ",c," : ");for(var f=b.ranks[c],d=0;d<f.length;d++)mxLog.write(f[d].getGeneralPurposeVariable(c)," ");mxLog.writeln()}mxLog.writeln("\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d\x3d")};
mxCoordinateAssignment.prototype.execute=function(b){this.jettyPositions={};b=this.layout.getModel();this.currentXDelta=0;this.initialCoords(this.layout.getGraph(),b);this.fineTuning&&this.minNode(b);var c=1E8;if(this.fineTuning)for(var f=0;f<this.maxIterations;f++){0!=f&&(this.medianPos(f,b),this.minNode(b));if(this.currentXDelta<c){for(var d=0;d<b.ranks.length;d++)for(var a=b.ranks[d],e=0;e<a.length;e++){var g=a[e];g.setX(d,g.getGeneralPurposeVariable(d))}c=this.currentXDelta}else for(d=0;d<b.ranks.length;d++){a=
b.ranks[d];for(e=0;e<a.length;e++)g=a[e],g.setGeneralPurposeVariable(d,g.getX(d))}this.minPath(this.layout.getGraph(),b);this.currentXDelta=0}this.setCellLocations(this.layout.getGraph(),b)};
mxCoordinateAssignment.prototype.minNode=function(b){for(var c=[],f=new mxDictionary,d=[],a=0;a<=b.maxRank;a++){d[a]=b.ranks[a];for(var e=0;e<d[a].length;e++){var g=d[a][e],k=new WeightedCellSorter(g,a);k.rankIndex=e;k.visited=!0;c.push(k);f.put(g,k)}}b=10*c.length;for(e=0;0<c.length&&e<=b;){var g=c.shift(),a=g.cell,l=g.weightedValue,m=parseInt(g.rankIndex),k=a.getNextLayerConnectedCells(l),n=a.getPreviousLayerConnectedCells(l),p=k.length,r=n.length,s=this.medianXValue(k,l+1),q=this.medianXValue(n,
l-1),t=p+r,u=a.getGeneralPurposeVariable(l),v=u;0<t&&(v=(s*p+q*r)/t);p=!1;v<u-1?0==m?(a.setGeneralPurposeVariable(l,v),p=!0):(m=d[l][m-1],u=m.getGeneralPurposeVariable(l),u=u+m.width/2+this.intraCellSpacing+a.width/2,u<v?(a.setGeneralPurposeVariable(l,v),p=!0):u<a.getGeneralPurposeVariable(l)-1&&(a.setGeneralPurposeVariable(l,u),p=!0)):v>u+1&&(m==d[l].length-1?(a.setGeneralPurposeVariable(l,v),p=!0):(m=d[l][m+1],u=m.getGeneralPurposeVariable(l),u=u-m.width/2-this.intraCellSpacing-a.width/2,u>v?(a.setGeneralPurposeVariable(l,
v),p=!0):u>a.getGeneralPurposeVariable(l)+1&&(a.setGeneralPurposeVariable(l,u),p=!0)));if(p){for(a=0;a<k.length;a++)l=k[a],l=f.get(l),null!=l&&!1==l.visited&&(l.visited=!0,c.push(l));for(a=0;a<n.length;a++)l=n[a],l=f.get(l),null!=l&&!1==l.visited&&(l.visited=!0,c.push(l))}g.visited=!1;e++}};mxCoordinateAssignment.prototype.medianPos=function(b,c){if(0==b%2)for(var f=c.maxRank;0<f;f--)this.rankMedianPosition(f-1,c,f);else for(f=0;f<c.maxRank-1;f++)this.rankMedianPosition(f+1,c,f)};
mxCoordinateAssignment.prototype.rankMedianPosition=function(b,c,f){c=c.ranks[b];for(var d=[],a={},e=0;e<c.length;e++){var g=c[e];d[e]=new WeightedCellSorter;d[e].cell=g;d[e].rankIndex=e;a[g.id]=d[e];var k=null,k=f<b?g.getPreviousLayerConnectedCells(b):g.getNextLayerConnectedCells(b);d[e].weightedValue=this.calculatedWeightedValue(g,k)}d.sort(WeightedCellSorter.prototype.compare);for(e=0;e<d.length;e++){var l=0,g=d[e].cell,l=0,k=f<b?g.getPreviousLayerConnectedCells(b).slice():g.getNextLayerConnectedCells(b).slice();
null!=k&&(l=k.length,l=0<l?this.medianXValue(k,f):g.getGeneralPurposeVariable(b));for(var m=0,k=-1E8,n=d[e].rankIndex-1;0<=n;){var p=a[c[n].id];if(null!=p){var r=p.cell;p.visited?(k=r.getGeneralPurposeVariable(b)+r.width/2+this.intraCellSpacing+m+g.width/2,n=-1):(m+=r.width+this.intraCellSpacing,n--)}}m=0;r=1E8;for(n=d[e].rankIndex+1;n<d.length;)if(p=a[c[n].id],null!=p){var s=p.cell;p.visited?(r=s.getGeneralPurposeVariable(b)-s.width/2-this.intraCellSpacing-m-g.width/2,n=d.length):(m+=s.width+this.intraCellSpacing,
n++)}l>=k&&l<=r?g.setGeneralPurposeVariable(b,l):l<k?(g.setGeneralPurposeVariable(b,k),this.currentXDelta+=k-l):l>r&&(g.setGeneralPurposeVariable(b,r),this.currentXDelta+=l-r);d[e].visited=!0}};mxCoordinateAssignment.prototype.calculatedWeightedValue=function(b,c){for(var f=0,d=0;d<c.length;d++){var a=c[d];b.isVertex()&&a.isVertex()?f++:f=b.isEdge()&&a.isEdge()?f+8:f+2}return f};
mxCoordinateAssignment.prototype.medianXValue=function(b,c){if(0==b.length)return 0;for(var f=[],d=0;d<b.length;d++)f[d]=b[d].getGeneralPurposeVariable(c);f.sort(function(a,b){return a-b});if(1==b.length%2)return f[Math.floor(b.length/2)];d=b.length/2;return(f[d-1]+f[d])/2};
mxCoordinateAssignment.prototype.initialCoords=function(b,c){this.calculateWidestRank(b,c);for(var f=this.widestRank;0<=f;f--)f<c.maxRank&&this.rankCoordinates(f,b,c);for(f=this.widestRank+1;f<=c.maxRank;f++)0<f&&this.rankCoordinates(f,b,c)};
mxCoordinateAssignment.prototype.rankCoordinates=function(b,c,f){c=f.ranks[b];f=0;for(var d=this.initialX+(this.widestRankValue-this.rankWidths[b])/2,a=!1,e=0;e<c.length;e++){var g=c[e];if(g.isVertex()){var k=this.layout.getVertexBounds(g.cell);null!=k?this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(g.width=k.width,g.height=k.height):(g.width=k.height,g.height=k.width):a=!0;f=Math.max(f,g.height)}else g.isEdge()&&(k=1,null!=g.edges?k=g.edges.length:mxLog.warn("edge.edges is null"),
g.width=(k-1)*this.parallelEdgeSpacing);d+=g.width/2;g.setX(b,d);g.setGeneralPurposeVariable(b,d);d+=g.width/2;d+=this.intraCellSpacing}!0==a&&mxLog.warn("At least one cell has no bounds")};
mxCoordinateAssignment.prototype.calculateWidestRank=function(b,c){var f=-this.interRankCellSpacing,d=0;this.rankWidths=[];this.rankY=[];for(var a=c.maxRank;0<=a;a--){for(var e=0,g=c.ranks[a],k=this.initialX,l=!1,m=0;m<g.length;m++){var n=g[m];if(n.isVertex()){var p=this.layout.getVertexBounds(n.cell);null!=p?this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(n.width=p.width,n.height=p.height):(n.width=p.height,n.height=p.width):l=!0;e=Math.max(e,n.height)}else n.isEdge()&&
(p=1,null!=n.edges?p=n.edges.length:mxLog.warn("edge.edges is null"),n.width=(p-1)*this.parallelEdgeSpacing);k+=n.width/2;n.setX(a,k);n.setGeneralPurposeVariable(a,k);k+=n.width/2;k+=this.intraCellSpacing;k>this.widestRankValue&&(this.widestRankValue=k,this.widestRank=a);this.rankWidths[a]=k}!0==l&&mxLog.warn("At least one cell has no bounds");this.rankY[a]=f;k=e/2+d/2+this.interRankCellSpacing;d=e;f=this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_WEST?f+k:f-
k;for(m=0;m<g.length;m++)g[m].setY(a,f)}};
mxCoordinateAssignment.prototype.minPath=function(b,c){for(var f=c.edgeMapper.getValues(),d=0;d<f.length;d++){var a=f[d];if(!(1>a.maxRank-a.minRank-1)){for(var e=a.getGeneralPurposeVariable(a.minRank+1),g=!0,k=0,l=a.minRank+2;l<a.maxRank;l++){var m=a.getGeneralPurposeVariable(l);e!=m?(g=!1,e=m):k++}if(!g){for(var g=e=0,m=[],n=[],p=a.getGeneralPurposeVariable(a.minRank+1),l=a.minRank+1;l<a.maxRank-1;l++){var r=a.getX(l+1);p==r?(m[l-a.minRank-1]=p,e++):this.repositionValid(c,a,l+1,p)?(m[l-a.minRank-
1]=p,e++):p=m[l-a.minRank-1]=r}p=a.getX(l);for(l=a.maxRank-1;l>a.minRank+1;l--)r=a.getX(l-1),p==r?(n[l-a.minRank-2]=p,g++):this.repositionValid(c,a,l-1,p)?(n[l-a.minRank-2]=p,g++):(n[l-a.minRank-2]=a.getX(l-1),p=r);if(g>k||e>k)if(g>=e)for(l=a.maxRank-2;l>a.minRank;l--)a.setX(l,n[l-a.minRank-1]);else if(e>g)for(l=a.minRank+2;l<a.maxRank;l++)a.setX(l,m[l-a.minRank-2])}}}};
mxCoordinateAssignment.prototype.repositionValid=function(b,c,f,d){b=b.ranks[f];for(var a=-1,e=0;e<b.length;e++)if(c==b[e]){a=e;break}if(0>a)return!1;e=c.getGeneralPurposeVariable(f);if(d<e){if(0==a)return!0;b=b[a-1];f=b.getGeneralPurposeVariable(f);f=f+b.width/2+this.intraCellSpacing+c.width/2;if(!(f<=d))return!1}else if(d>e){if(a==b.length-1)return!0;b=b[a+1];f=b.getGeneralPurposeVariable(f);f=f-b.width/2-this.intraCellSpacing-c.width/2;if(!(f>=d))return!1}return!0};
mxCoordinateAssignment.prototype.setCellLocations=function(b,c){this.rankTopY=[];this.rankBottomY=[];for(var f=0;f<c.ranks.length;f++)this.rankTopY[f]=Number.MAX_VALUE,this.rankBottomY[f]=-Number.MAX_VALUE;for(var d=c.vertexMapper.getValues(),f=0;f<d.length;f++)this.setVertexLocation(d[f]);(this.layout.edgeStyle==mxHierarchicalEdgeStyle.ORTHOGONAL||this.layout.edgeStyle==mxHierarchicalEdgeStyle.POLYLINE||this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE)&&this.localEdgeProcessing(c);d=c.edgeMapper.getValues();
for(f=0;f<d.length;f++)this.setEdgePosition(d[f])};
mxCoordinateAssignment.prototype.localEdgeProcessing=function(b){for(var c=0;c<b.ranks.length;c++)for(var f=b.ranks[c],d=0;d<f.length;d++){var a=f[d];if(a.isVertex())for(var e=a.getPreviousLayerConnectedCells(c),g=c-1,k=0;2>k;k++){if(-1<g&&g<b.ranks.length&&null!=e&&0<e.length){for(var l=[],m=0;m<e.length;m++){var n=new WeightedCellSorter(e[m],e[m].getX(g));l.push(n)}l.sort(WeightedCellSorter.prototype.compare);for(var n=a.x[0]-a.width/2,p=n+a.width,r=e=0,g=[],m=0;m<l.length;m++){var s=l[m].cell,
q;if(s.isVertex()){q=0==k?a.connectsAsSource:a.connectsAsTarget;for(var t=0;t<q.length;t++)if(q[t].source==s||q[t].target==s)e+=q[t].edges.length,r++,g.push(q[t])}else e+=s.edges.length,r++,g.push(s)}a.width>(e+1)*this.prefHozEdgeSep+2*this.prefHozEdgeSep&&(n+=this.prefHozEdgeSep,p-=this.prefHozEdgeSep);l=(p-n)/e;n+=l/2;p=this.minEdgeJetty-this.prefVertEdgeOff;for(m=r=0;m<g.length;m++){s=g[m].edges.length;q=this.jettyPositions[g[m].ids[0]];null==q&&(q=[],this.jettyPositions[g[m].ids[0]]=q);m<e/2?
p+=this.prefVertEdgeOff:m>e/2&&(p-=this.prefVertEdgeOff);for(t=0;t<s;t++)q[4*t+2*k]=n,n+=l,q[4*t+2*k+1]=p;r=Math.max(r,p)}}e=a.getNextLayerConnectedCells(c);g=c+1}}};
mxCoordinateAssignment.prototype.setEdgePosition=function(b){var c=0;if(101207!=b.temp[0]){var f=b.maxRank,d=b.minRank;f==d&&(f=b.source.maxRank,d=b.target.minRank);for(var a=0,e=this.jettyPositions[b.ids[0]],g=b.isReversed?b.target.cell:b.source.cell,k=this.layout.graph,l=this.orientation==mxConstants.DIRECTION_EAST||this.orientation==mxConstants.DIRECTION_SOUTH,m=0;m<b.edges.length;m++){var n=b.edges[m],p=this.layout.getVisibleTerminal(n,!0),r=[],s=b.isReversed;p!=g&&(s=!s);if(null!=e){var q=s?
2:0,t=s?l?this.rankBottomY[d]:this.rankTopY[d]:l?this.rankTopY[f]:this.rankBottomY[f],u=e[4*a+1+q];s!=l&&(u=-u);var t=t+u,q=e[4*a+q],v=k.model.getTerminal(n,!0);this.layout.isPort(v)&&k.model.getParent(v)==p&&(q=k.view.getState(v),q=null!=q?q.x:p.geometry.x+b.source.width*v.geometry.x);this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(r.push(new mxPoint(q,t)),this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE&&r.push(new mxPoint(q,t+u))):(r.push(new mxPoint(t,
q)),this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE&&r.push(new mxPoint(t+u,q)))}q=b.x.length-1;t=u=-1;p=b.maxRank-1;for(s&&(q=0,u=b.x.length,t=1,p=b.minRank+1);b.maxRank!=b.minRank&&q!=u;q+=t){var v=b.x[q]+c,z=(this.rankTopY[p]+this.rankBottomY[p+1])/2,y=(this.rankTopY[p-1]+this.rankBottomY[p])/2;if(s)var x=z,z=y,y=x;this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(r.push(new mxPoint(v,z)),r.push(new mxPoint(v,y))):(r.push(new mxPoint(z,v)),r.push(new mxPoint(y,
v)));this.limitX=Math.max(this.limitX,v);p+=t}null!=e&&(q=s?2:0,t=s?l?this.rankTopY[f]:this.rankBottomY[f]:l?this.rankBottomY[d]:this.rankTopY[d],u=e[4*a+3-q],s!=l&&(u=-u),t-=u,q=e[4*a+2-q],s=k.model.getTerminal(n,!1),p=this.layout.getVisibleTerminal(n,!1),this.layout.isPort(s)&&k.model.getParent(s)==p&&(q=k.view.getState(s),q=null!=q?q.x:p.geometry.x+b.target.width*s.geometry.x),this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?(this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE&&
r.push(new mxPoint(q,t-u)),r.push(new mxPoint(q,t))):(this.layout.edgeStyle==mxHierarchicalEdgeStyle.CURVE&&r.push(new mxPoint(t-u,q)),r.push(new mxPoint(t,q))));b.isReversed&&this.processReversedEdge(b,n);this.layout.setEdgePoints(n,r);c=0==c?this.parallelEdgeSpacing:0<c?-c:-c+this.parallelEdgeSpacing;a++}b.temp[0]=101207}};
mxCoordinateAssignment.prototype.setVertexLocation=function(b){var c=b.cell,f=b.x[0]-b.width/2,d=b.y[0]-b.height/2;this.rankTopY[b.minRank]=Math.min(this.rankTopY[b.minRank],d);this.rankBottomY[b.minRank]=Math.max(this.rankBottomY[b.minRank],d+b.height);this.orientation==mxConstants.DIRECTION_NORTH||this.orientation==mxConstants.DIRECTION_SOUTH?this.layout.setVertexLocation(c,f,d):this.layout.setVertexLocation(c,d,f);this.limitX=Math.max(this.limitX,f+b.width)};
mxCoordinateAssignment.prototype.processReversedEdge=function(b,c){};function WeightedCellSorter(b,c){this.cell=b;this.weightedValue=c}WeightedCellSorter.prototype.weightedValue=0;WeightedCellSorter.prototype.nudge=!1;WeightedCellSorter.prototype.visited=!1;WeightedCellSorter.prototype.rankIndex=null;WeightedCellSorter.prototype.cell=null;WeightedCellSorter.prototype.compare=function(b,c){return null!=b&&null!=c?c.weightedValue>b.weightedValue?-1:c.weightedValue<b.weightedValue?1:c.nudge?-1:1:0};
function mxSwimlaneOrdering(b){this.layout=b}mxSwimlaneOrdering.prototype=new mxHierarchicalLayoutStage;mxSwimlaneOrdering.prototype.constructor=mxSwimlaneOrdering;mxSwimlaneOrdering.prototype.layout=null;
mxSwimlaneOrdering.prototype.execute=function(b){b=this.layout.getModel();var c=mxUtils.clone(b.vertexMapper,null,!0),f=null;if(null!=b.roots)for(var d=b.roots,f=[],a=0;a<d.length;a++)mxCellPath.create(d[a]),f[a]=b.vertexMapper.get(d[a]);b.visit(function(a,b,d,f,m){f=null!=a&&a.swimlaneIndex==b.swimlaneIndex&&b.isAncestor(a);m=null!=a&&null!=d&&a.swimlaneIndex<b.swimlaneIndex&&d.source==b;f?(d.invert(),mxUtils.remove(d,a.connectsAsSource),b.connectsAsSource.push(d),a.connectsAsTarget.push(d),mxUtils.remove(d,
b.connectsAsTarget)):m&&(d.invert(),mxUtils.remove(d,a.connectsAsTarget),b.connectsAsTarget.push(d),a.connectsAsSource.push(d),mxUtils.remove(d,b.connectsAsSource));a=mxCellPath.create(b.cell);delete c[a]},f,!0,null)};function mxHierarchicalLayout(b,c,f){mxGraphLayout.call(this,b);this.orientation=null!=c?c:mxConstants.DIRECTION_NORTH;this.deterministic=null!=f?f:!0}var mxHierarchicalEdgeStyle={ORTHOGONAL:1,POLYLINE:2,STRAIGHT:3,CURVE:4};mxHierarchicalLayout.prototype=new mxGraphLayout;
mxHierarchicalLayout.prototype.constructor=mxHierarchicalLayout;mxHierarchicalLayout.prototype.roots=null;mxHierarchicalLayout.prototype.resizeParent=!1;mxHierarchicalLayout.prototype.maintainParentLocation=!1;mxHierarchicalLayout.prototype.moveParent=!1;mxHierarchicalLayout.prototype.parentBorder=0;mxHierarchicalLayout.prototype.intraCellSpacing=30;mxHierarchicalLayout.prototype.interRankCellSpacing=100;mxHierarchicalLayout.prototype.interHierarchySpacing=60;
mxHierarchicalLayout.prototype.parallelEdgeSpacing=10;mxHierarchicalLayout.prototype.orientation=mxConstants.DIRECTION_NORTH;mxHierarchicalLayout.prototype.fineTuning=!0;mxHierarchicalLayout.prototype.tightenToSource=!0;mxHierarchicalLayout.prototype.disableEdgeStyle=!0;mxHierarchicalLayout.prototype.traverseAncestors=!0;mxHierarchicalLayout.prototype.model=null;mxHierarchicalLayout.prototype.edgesCache=null;mxHierarchicalLayout.prototype.edgeSourceTermCache=null;
mxHierarchicalLayout.prototype.edgesTargetTermCache=null;mxHierarchicalLayout.prototype.edgeStyle=mxHierarchicalEdgeStyle.POLYLINE;mxHierarchicalLayout.prototype.getModel=function(){return this.model};
mxHierarchicalLayout.prototype.execute=function(b,c){this.parent=b;var f=this.graph.model;this.edgesCache=new mxDictionary;this.edgeSourceTermCache=new mxDictionary;this.edgesTargetTermCache=new mxDictionary;null!=c&&!(c instanceof Array)&&(c=[c]);if(!(null==c&&null==b)){this.parentY=this.parentX=null;if(b!=this.root&&null!=f.isVertex(b)&&this.maintainParentLocation){var d=this.graph.getCellGeometry(b);null!=d&&(this.parentX=d.x,this.parentY=d.y)}if(null!=c){for(var a=[],e=0;e<c.length;e++)(null!=
b?f.isAncestor(b,c[e]):1)&&f.isVertex(c[e])&&a.push(c[e]);this.roots=a}f.beginUpdate();try{this.run(b),this.resizeParent&&!this.graph.isCellCollapsed(b)&&this.graph.updateGroupBounds([b],this.parentBorder,this.moveParent),null!=this.parentX&&null!=this.parentY&&(d=this.graph.getCellGeometry(b),null!=d&&(d=d.clone(),d.x=this.parentX,d.y=this.parentY,f.setGeometry(b,d)))}finally{f.endUpdate()}}};
mxHierarchicalLayout.prototype.findRoots=function(b,c){var f=[];if(null!=b&&null!=c){var d=this.graph.model,a=null,e=-1E5,g;for(g in c){var k=c[g];if(d.isVertex(k)&&this.graph.isCellVisible(k)){for(var l=this.getEdges(k),m=0,n=0,p=0;p<l.length;p++)this.getVisibleTerminal(l[p],!0)==k?m++:n++;0==n&&0<m&&f.push(k);l=m-n;l>e&&(e=l,a=k)}}0==f.length&&null!=a&&f.push(a)}return f};
mxHierarchicalLayout.prototype.getEdges=function(b){var c=this.edgesCache.get(b);if(null!=c)return c;for(var f=this.graph.model,c=[],d=this.graph.isCellCollapsed(b),a=f.getChildCount(b),e=0;e<a;e++){var g=f.getChildAt(b,e);if(this.isPort(g))c=c.concat(f.getEdges(g,!0,!0));else if(d||!this.graph.isCellVisible(g))c=c.concat(f.getEdges(g,!0,!0))}c=c.concat(f.getEdges(b,!0,!0));f=[];for(e=0;e<c.length;e++)d=this.getVisibleTerminal(c[e],!0),a=this.getVisibleTerminal(c[e],!1),(d==a||d!=a&&(a==b&&(null==
this.parent||this.graph.isValidAncestor(d,this.parent,this.traverseAncestors))||d==b&&(null==this.parent||this.graph.isValidAncestor(a,this.parent,this.traverseAncestors))))&&f.push(c[e]);this.edgesCache.put(b,f);return f};
mxHierarchicalLayout.prototype.getVisibleTerminal=function(b,c){var f=this.edgesTargetTermCache;c&&(f=this.edgeSourceTermCache);var d=f.get(b);if(null!=d)return d;var d=this.graph.view.getState(b),a=null!=d?d.getVisibleTerminal(c):this.graph.view.getVisibleTerminal(b,c);null==a&&(a=null!=d?d.getVisibleTerminal(c):this.graph.view.getVisibleTerminal(b,c));null!=a&&(this.isPort(a)&&(a=this.graph.model.getParent(a)),f.put(b,a));return a};
mxHierarchicalLayout.prototype.run=function(b){var c=[],f=[];if(null==this.roots&&null!=b){var d={};this.filterDescendants(b,d);this.roots=[];var a=!0,e;for(e in d)if(null!=d[e]){a=!1;break}for(;!a;){for(var g=this.findRoots(b,d),a=0;a<g.length;a++){var k={};c.push(k);this.traverse(g[a],!0,null,f,k,c,d)}for(a=0;a<g.length;a++)this.roots.push(g[a]);a=!0;for(e in d)if(null!=d[e]){a=!1;break}}}else for(a=0;a<this.roots.length;a++)k={},c.push(k),this.traverse(this.roots[a],!0,null,f,k,c,null);for(a=f=
0;a<c.length;a++){k=c[a];d=[];for(e in k)d.push(k[e]);this.model=new mxGraphHierarchyModel(this,d,this.roots,b,this.tightenToSource);this.cycleStage(b);this.layeringStage();this.crossingStage(b);f=this.placementStage(f,b)}};
mxHierarchicalLayout.prototype.filterDescendants=function(b,c){var f=this.graph.model;f.isVertex(b)&&b!=this.parent&&this.graph.isCellVisible(b)&&(c[mxObjectIdentity.get(b)]=b);if(this.traverseAncestors||b==this.parent&&this.graph.isCellVisible(b))for(var d=f.getChildCount(b),a=0;a<d;a++){var e=f.getChildAt(b,a);this.isPort(e)||this.filterDescendants(e,c)}};mxHierarchicalLayout.prototype.isPort=function(b){return b.geometry.relative?!0:!1};
mxHierarchicalLayout.prototype.getEdgesBetween=function(b,c,f){f=null!=f?f:!1;for(var d=this.getEdges(b),a=[],e=0;e<d.length;e++){var g=this.getVisibleTerminal(d[e],!0),k=this.getVisibleTerminal(d[e],!1);(g==b&&k==c||!f&&g==c&&k==b)&&a.push(d[e])}return a};
mxHierarchicalLayout.prototype.traverse=function(b,c,f,d,a,e,g){if(null!=b&&null!=d){var k=mxObjectIdentity.get(b);if(null==d[k]&&(null==g||null!=g[k])){null==a[k]&&(a[k]=b);null==d[k]&&(d[k]=b);null!==g&&delete g[k];var l=this.getEdges(b),k=[];for(f=0;f<l.length;f++)k[f]=this.getVisibleTerminal(l[f],!0)==b;for(f=0;f<l.length;f++)if(!c||k[f]){b=this.getVisibleTerminal(l[f],!k[f]);for(var m=1,n=0;n<l.length;n++)if(n!=f){var p=k[n];this.getVisibleTerminal(l[n],!p)==b&&(p?m++:m--)}0<=m&&(a=this.traverse(b,
c,l[f],d,a,e,g))}}else if(null==a[k])for(f=0;f<e.length;f++)if(c=e[f],null!=c[k]){for(l in c)a[l]=c[l];e.splice(f,1);break}}return a};mxHierarchicalLayout.prototype.cycleStage=function(b){(new mxMinimumCycleRemover(this)).execute(b)};mxHierarchicalLayout.prototype.layeringStage=function(){this.model.initialRank();this.model.fixRanks()};mxHierarchicalLayout.prototype.crossingStage=function(b){(new mxMedianHybridCrossingReduction(this)).execute(b)};
mxHierarchicalLayout.prototype.placementStage=function(b,c){var f=new mxCoordinateAssignment(this,this.intraCellSpacing,this.interRankCellSpacing,this.orientation,b,this.parallelEdgeSpacing);f.fineTuning=this.fineTuning;f.execute(c);return f.limitX+this.interHierarchySpacing};function mxSwimlaneLayout(b,c,f){mxGraphLayout.call(this,b);this.orientation=null!=c?c:mxConstants.DIRECTION_NORTH;this.deterministic=null!=f?f:!0}mxSwimlaneLayout.prototype=new mxGraphLayout;
mxSwimlaneLayout.prototype.constructor=mxSwimlaneLayout;mxSwimlaneLayout.prototype.roots=null;mxSwimlaneLayout.prototype.swimlanes=null;mxSwimlaneLayout.prototype.dummyVertices=null;mxSwimlaneLayout.prototype.dummyVertexWidth=50;mxSwimlaneLayout.prototype.resizeParent=!1;mxSwimlaneLayout.prototype.maintainParentLocation=!1;mxSwimlaneLayout.prototype.moveParent=!1;mxSwimlaneLayout.prototype.parentBorder=30;mxSwimlaneLayout.prototype.intraCellSpacing=30;
mxSwimlaneLayout.prototype.interRankCellSpacing=100;mxSwimlaneLayout.prototype.interHierarchySpacing=60;mxSwimlaneLayout.prototype.parallelEdgeSpacing=10;mxSwimlaneLayout.prototype.orientation=mxConstants.DIRECTION_NORTH;mxSwimlaneLayout.prototype.fineTuning=!0;mxSwimlaneLayout.prototype.tightenToSource=!0;mxSwimlaneLayout.prototype.disableEdgeStyle=!0;mxSwimlaneLayout.prototype.traverseAncestors=!0;mxSwimlaneLayout.prototype.model=null;mxSwimlaneLayout.prototype.edgesCache=null;
mxHierarchicalLayout.prototype.edgeSourceTermCache=null;mxHierarchicalLayout.prototype.edgesTargetTermCache=null;mxHierarchicalLayout.prototype.edgeStyle=mxHierarchicalEdgeStyle.POLYLINE;mxSwimlaneLayout.prototype.getModel=function(){return this.model};
mxSwimlaneLayout.prototype.execute=function(b,c){this.parent=b;var f=this.graph.model;this.edgesCache=new mxDictionary;this.edgeSourceTermCache=new mxDictionary;this.edgesTargetTermCache=new mxDictionary;if(!(null==c||1>c.length)){null==b&&(b=f.getParent(c[0]));this.parentY=this.parentX=null;if(b!=this.root&&null!=f.isVertex(b)&&this.maintainParentLocation){var d=this.graph.getCellGeometry(b);null!=d&&(this.parentX=d.x,this.parentY=d.y)}this.swimlanes=c;this.dummyVertices=[];for(var a=0;a<c.length;a++){var e=
this.graph.getChildCells(c[a]);if(null==e||0==e.length)e=this.graph.insertVertex(c[a],null,null,0,0,this.dummyVertexWidth,0),this.dummyVertices.push(e)}f.beginUpdate();try{this.run(b),this.resizeParent&&!this.graph.isCellCollapsed(b)&&this.graph.updateGroupBounds([b],this.parentBorder,this.moveParent),null!=this.parentX&&null!=this.parentY&&(d=this.graph.getCellGeometry(b),null!=d&&(d=d.clone(),d.x=this.parentX,d.y=this.parentY,f.setGeometry(b,d))),this.graph.removeCells(this.dummyVertices)}finally{f.endUpdate()}}};
mxSwimlaneLayout.prototype.updateGroupBounds=function(){var b=[],c=this.model,f;for(f in c.edgeMapper)for(var d=c.edgeMapper[f],a=0;a<d.edges.length;a++)b.push(d.edges[a]);b=this.graph.getBoundingBoxFromGeometry(b,!0);c=[];for(a=0;a<this.swimlanes.length;a++){var e=this.swimlanes[a];f=this.graph.getCellGeometry(e);if(null!=f){var g=this.graph.getChildCells(e),d=this.graph.isSwimlane(e)?this.graph.getStartSize(e):new mxRectangle,e=this.graph.getBoundingBoxFromGeometry(g);c[a]=e;d=e.y+f.y-d.height-
this.parentBorder;f=e.y+f.y+e.height;null==b?b=new mxRectangle(0,d,0,f-d):(b.y=Math.min(b.y,d),f=Math.max(b.y+b.height,f),b.height=f-b.y)}}for(a=0;a<this.swimlanes.length;a++)if(e=this.swimlanes[a],f=this.graph.getCellGeometry(e),null!=f){var g=this.graph.getChildCells(e),d=this.graph.isSwimlane(e)?this.graph.getStartSize(e):new mxRectangle,k=f.clone(),l=0==a?this.parentBorder:this.interRankCellSpacing/2;k.x+=c[a].x-d.width-l;k.y=k.y+b.y-f.y-this.parentBorder;k.width=c[a].width+d.width+this.interRankCellSpacing/
2+l;k.height=b.height+d.height+2*this.parentBorder;this.graph.model.setGeometry(e,k);this.graph.moveCells(g,-c[a].x+d.width+l,f.y-b.y+this.parentBorder)}};
mxSwimlaneLayout.prototype.findRoots=function(b,c){var f=[];if(null!=b&&null!=c){var d=this.graph.model,a=null,e=-1E5,g;for(g in c){var k=c[g];if(null!=k&&d.isVertex(k)&&this.graph.isCellVisible(k)&&d.isAncestor(b,k)){for(var l=this.getEdges(k),m=0,n=0,p=0;p<l.length;p++){var r=this.getVisibleTerminal(l[p],!0);r==k?(r=this.getVisibleTerminal(l[p],!1),d.isAncestor(b,r)&&m++):d.isAncestor(b,r)&&n++}0==n&&0<m&&f.push(k);l=m-n;l>e&&(e=l,a=k)}}0==f.length&&null!=a&&f.push(a)}return f};
mxSwimlaneLayout.prototype.getEdges=function(b){var c=this.edgesCache.get(b);if(null!=c)return c;for(var f=this.graph.model,c=[],d=this.graph.isCellCollapsed(b),a=f.getChildCount(b),e=0;e<a;e++){var g=f.getChildAt(b,e);if(this.isPort(g))c=c.concat(f.getEdges(g,!0,!0));else if(d||!this.graph.isCellVisible(g))c=c.concat(f.getEdges(g,!0,!0))}c=c.concat(f.getEdges(b,!0,!0));f=[];for(e=0;e<c.length;e++)d=this.getVisibleTerminal(c[e],!0),a=this.getVisibleTerminal(c[e],!1),(d==a||d!=a&&(a==b&&(null==this.parent||
this.graph.isValidAncestor(d,this.parent,this.traverseAncestors))||d==b&&(null==this.parent||this.graph.isValidAncestor(a,this.parent,this.traverseAncestors))))&&f.push(c[e]);this.edgesCache.put(b,f);return f};
mxSwimlaneLayout.prototype.getVisibleTerminal=function(b,c){var f=this.edgesTargetTermCache;c&&(f=this.edgeSourceTermCache);var d=f.get(b);if(null!=d)return d;var d=this.graph.view.getState(b),a=null!=d?d.getVisibleTerminal(c):this.graph.view.getVisibleTerminal(b,c);null==a&&(a=null!=d?d.getVisibleTerminal(c):this.graph.view.getVisibleTerminal(b,c));null!=a&&(this.isPort(a)&&(a=this.graph.model.getParent(a)),f.put(b,a));return a};
mxSwimlaneLayout.prototype.run=function(b){var c=[],f=[];if(null!=this.swimlanes&&0<this.swimlanes.length&&null!=b){for(var d={},a=0;a<this.swimlanes.length;a++)this.filterDescendants(this.swimlanes[a],d);this.roots=[];var a=!0,e;for(e in d)if(null!=d[e]){a=!1;break}for(var g=0;!a&&g<this.swimlanes.length;){var k=this.findRoots(this.swimlanes[g],d);if(0==k.length)g++;else{for(a=0;a<k.length;a++){var l={};c.push(l);this.traverse(k[a],!0,null,f,l,c,d,g)}for(a=0;a<k.length;a++)this.roots.push(k[a]);
a=!0;for(e in d)if(null!=d[e]){a=!1;break}}}}else for(a=0;a<this.roots.length;a++)l={},c.push(l),this.traverse(this.roots[a],!0,null,f,l,c,null);c=[];for(e in f)c.push(f[e]);this.model=new mxSwimlaneModel(this,c,this.roots,b,this.tightenToSource);this.cycleStage(b);this.layeringStage();this.crossingStage(b);initialX=this.placementStage(0,b)};
mxSwimlaneLayout.prototype.filterDescendants=function(b,c){var f=this.graph.model;f.isVertex(b)&&b!=this.parent&&f.getParent(b)!=this.parent&&this.graph.isCellVisible(b)&&(c[mxObjectIdentity.get(b)]=b);if(this.traverseAncestors||b==this.parent&&this.graph.isCellVisible(b))for(var d=f.getChildCount(b),a=0;a<d;a++){var e=f.getChildAt(b,a);this.isPort(e)||this.filterDescendants(e,c)}};mxSwimlaneLayout.prototype.isPort=function(b){return b.geometry.relative?!0:!1};
mxSwimlaneLayout.prototype.getEdgesBetween=function(b,c,f){f=null!=f?f:!1;for(var d=this.getEdges(b),a=[],e=0;e<d.length;e++){var g=this.getVisibleTerminal(d[e],!0),k=this.getVisibleTerminal(d[e],!1);(g==b&&k==c||!f&&g==c&&k==b)&&a.push(d[e])}return a};
mxSwimlaneLayout.prototype.traverse=function(b,c,f,d,a,e,g,k){if(null!=b&&null!=d){var l=mxObjectIdentity.get(b);if(null==d[l]&&(null==g||null!=g[l])){null==a[l]&&(a[l]=b);null==d[l]&&(d[l]=b);null!==g&&delete g[l];var m=this.getEdges(b),l=this.graph.model;for(f=0;f<m.length;f++){var n=this.getVisibleTerminal(m[f],!0),p=n==b;p&&(n=this.getVisibleTerminal(m[f],!1));for(var r=0,r=0;r<this.swimlanes.length&&!l.isAncestor(this.swimlanes[r],n);r++);if(!(r>=this.swimlanes.length)&&(r>k||(!c||p)&&r==k))a=
this.traverse(n,c,m[f],d,a,e,g,r)}}else if(null==a[l])for(f=0;f<e.length;f++)if(b=e[f],null!=b[l]){for(m in b)a[m]=b[m];e.splice(f,1);break}}return a};mxSwimlaneLayout.prototype.cycleStage=function(b){(new mxSwimlaneOrdering(this)).execute(b)};mxSwimlaneLayout.prototype.layeringStage=function(){this.model.initialRank();this.model.fixRanks()};mxSwimlaneLayout.prototype.crossingStage=function(b){(new mxMedianHybridCrossingReduction(this)).execute(b)};
mxSwimlaneLayout.prototype.placementStage=function(b,c){var f=new mxCoordinateAssignment(this,this.intraCellSpacing,this.interRankCellSpacing,this.orientation,b,this.parallelEdgeSpacing);f.fineTuning=this.fineTuning;f.execute(c);return f.limitX+this.interHierarchySpacing};function mxGraphModel(b){this.currentEdit=this.createUndoableEdit();null!=b?this.setRoot(b):this.clear()}mxGraphModel.prototype=new mxEventSource;mxGraphModel.prototype.constructor=mxGraphModel;mxGraphModel.prototype.root=null;
mxGraphModel.prototype.cells=null;mxGraphModel.prototype.maintainEdgeParent=!0;mxGraphModel.prototype.ignoreRelativeEdgeParent=!0;mxGraphModel.prototype.createIds=!0;mxGraphModel.prototype.prefix="";mxGraphModel.prototype.postfix="";mxGraphModel.prototype.nextId=0;mxGraphModel.prototype.currentEdit=null;mxGraphModel.prototype.updateLevel=0;mxGraphModel.prototype.endingUpdate=!1;mxGraphModel.prototype.clear=function(){this.setRoot(this.createRoot())};mxGraphModel.prototype.isCreateIds=function(){return this.createIds};
mxGraphModel.prototype.setCreateIds=function(b){this.createIds=b};mxGraphModel.prototype.createRoot=function(){var b=new mxCell;b.insert(new mxCell);return b};mxGraphModel.prototype.getCell=function(b){return null!=this.cells?this.cells[b]:null};mxGraphModel.prototype.filterCells=function(b,c){var f=null;if(null!=b)for(var f=[],d=0;d<b.length;d++)c(b[d])&&f.push(b[d]);return f};mxGraphModel.prototype.getDescendants=function(b){return this.filterDescendants(null,b)};
mxGraphModel.prototype.filterDescendants=function(b,c){var f=[];c=c||this.getRoot();(null==b||b(c))&&f.push(c);for(var d=this.getChildCount(c),a=0;a<d;a++)var e=this.getChildAt(c,a),f=f.concat(this.filterDescendants(b,e));return f};mxGraphModel.prototype.getRoot=function(b){var c=b||this.root;if(null!=b)for(;null!=b;)c=b,b=this.getParent(b);return c};mxGraphModel.prototype.setRoot=function(b){this.execute(new mxRootChange(this,b));return b};
mxGraphModel.prototype.rootChanged=function(b){var c=this.root;this.root=b;this.nextId=0;this.cells=null;this.cellAdded(b);return c};mxGraphModel.prototype.isRoot=function(b){return null!=b&&this.root==b};mxGraphModel.prototype.isLayer=function(b){return this.isRoot(this.getParent(b))};mxGraphModel.prototype.isAncestor=function(b,c){for(;null!=c&&c!=b;)c=this.getParent(c);return c==b};mxGraphModel.prototype.contains=function(b){return this.isAncestor(this.root,b)};
mxGraphModel.prototype.getParent=function(b){return null!=b?b.getParent():null};mxGraphModel.prototype.add=function(b,c,f){if(c!=b&&null!=b&&null!=c){null==f&&(f=this.getChildCount(b));var d=b!=this.getParent(c);this.execute(new mxChildChange(this,b,c,f));this.maintainEdgeParent&&d&&this.updateEdgeParents(c)}return c};
mxGraphModel.prototype.cellAdded=function(b){if(null!=b){null==b.getId()&&this.createIds&&b.setId(this.createId(b));if(null!=b.getId()){var c=this.getCell(b.getId());if(c!=b){for(;null!=c;)b.setId(this.createId(b)),c=this.getCell(b.getId());null==this.cells&&(this.cells={});this.cells[b.getId()]=b}}mxUtils.isNumeric(b.getId())&&(this.nextId=Math.max(this.nextId,b.getId()));for(var c=this.getChildCount(b),f=0;f<c;f++)this.cellAdded(this.getChildAt(b,f))}};
mxGraphModel.prototype.createId=function(b){b=this.nextId;this.nextId++;return this.prefix+b+this.postfix};mxGraphModel.prototype.updateEdgeParents=function(b,c){c=c||this.getRoot(b);for(var f=this.getChildCount(b),d=0;d<f;d++){var a=this.getChildAt(b,d);this.updateEdgeParents(a,c)}a=this.getEdgeCount(b);f=[];for(d=0;d<a;d++)f.push(this.getEdgeAt(b,d));for(d=0;d<f.length;d++)a=f[d],this.isAncestor(c,a)&&this.updateEdgeParent(a,c)};
mxGraphModel.prototype.updateEdgeParent=function(b,c){for(var f=this.getTerminal(b,!0),d=this.getTerminal(b,!1),a=null;null!=f&&!this.isEdge(f)&&null!=f.geometry&&f.geometry.relative;)f=this.getParent(f);for(;null!=d&&this.ignoreRelativeEdgeParent&&!this.isEdge(d)&&null!=d.geometry&&d.geometry.relative;)d=this.getParent(d);if(this.isAncestor(c,f)&&this.isAncestor(c,d)&&(a=f==d?this.getParent(f):this.getNearestCommonAncestor(f,d),null!=a&&(this.getParent(a)!=this.root||this.isAncestor(a,b))&&this.getParent(b)!=
a)){f=this.getGeometry(b);if(null!=f){var e=this.getOrigin(this.getParent(b)),g=this.getOrigin(a),d=g.x-e.x,e=g.y-e.y,f=f.clone();f.translate(-d,-e);this.setGeometry(b,f)}this.add(a,b,this.getChildCount(a))}};mxGraphModel.prototype.getOrigin=function(b){var c=null;null!=b?(c=this.getOrigin(this.getParent(b)),this.isEdge(b)||(b=this.getGeometry(b),null!=b&&(c.x+=b.x,c.y+=b.y))):c=new mxPoint;return c};
mxGraphModel.prototype.getNearestCommonAncestor=function(b,c){if(null!=b&&null!=c){var f=mxCellPath.create(c);if(null!=f&&0<f.length){var d=b,a=mxCellPath.create(d);if(f.length<a.length)var d=c,e=a,a=f,f=e;for(;null!=d;){e=this.getParent(d);if(0==f.indexOf(a+mxCellPath.PATH_SEPARATOR)&&null!=e)return d;a=mxCellPath.getParentPath(a);d=e}}}return null};mxGraphModel.prototype.remove=function(b){b==this.root?this.setRoot(null):null!=this.getParent(b)&&this.execute(new mxChildChange(this,null,b));return b};
mxGraphModel.prototype.cellRemoved=function(b){if(null!=b&&null!=this.cells){for(var c=this.getChildCount(b)-1;0<=c;c--)this.cellRemoved(this.getChildAt(b,c));null!=this.cells&&null!=b.getId()&&delete this.cells[b.getId()]}};mxGraphModel.prototype.parentForCellChanged=function(b,c,f){var d=this.getParent(b);null!=c?(c!=d||d.getIndex(b)!=f)&&c.insert(b,f):null!=d&&(f=d.getIndex(b),d.remove(f));!this.contains(d)&&null!=c?this.cellAdded(b):null==c&&this.cellRemoved(b);return d};
mxGraphModel.prototype.getChildCount=function(b){return null!=b?b.getChildCount():0};mxGraphModel.prototype.getChildAt=function(b,c){return null!=b?b.getChildAt(c):null};mxGraphModel.prototype.getChildren=function(b){return null!=b?b.children:null};mxGraphModel.prototype.getChildVertices=function(b){return this.getChildCells(b,!0,!1)};mxGraphModel.prototype.getChildEdges=function(b){return this.getChildCells(b,!1,!0)};
mxGraphModel.prototype.getChildCells=function(b,c,f){c=null!=c?c:!1;f=null!=f?f:!1;for(var d=this.getChildCount(b),a=[],e=0;e<d;e++){var g=this.getChildAt(b,e);(!f&&!c||f&&this.isEdge(g)||c&&this.isVertex(g))&&a.push(g)}return a};mxGraphModel.prototype.getTerminal=function(b,c){return null!=b?b.getTerminal(c):null};
mxGraphModel.prototype.setTerminal=function(b,c,f){var d=c!=this.getTerminal(b,f);this.execute(new mxTerminalChange(this,b,c,f));this.maintainEdgeParent&&d&&this.updateEdgeParent(b,this.getRoot());return c};mxGraphModel.prototype.setTerminals=function(b,c,f){this.beginUpdate();try{this.setTerminal(b,c,!0),this.setTerminal(b,f,!1)}finally{this.endUpdate()}};
mxGraphModel.prototype.terminalForCellChanged=function(b,c,f){var d=this.getTerminal(b,f);null!=c?c.insertEdge(b,f):null!=d&&d.removeEdge(b,f);return d};mxGraphModel.prototype.getEdgeCount=function(b){return null!=b?b.getEdgeCount():0};mxGraphModel.prototype.getEdgeAt=function(b,c){return null!=b?b.getEdgeAt(c):null};mxGraphModel.prototype.getDirectedEdgeCount=function(b,c,f){for(var d=0,a=this.getEdgeCount(b),e=0;e<a;e++){var g=this.getEdgeAt(b,e);g!=f&&this.getTerminal(g,c)==b&&d++}return d};
mxGraphModel.prototype.getConnections=function(b){return this.getEdges(b,!0,!0,!1)};mxGraphModel.prototype.getIncomingEdges=function(b){return this.getEdges(b,!0,!1,!1)};mxGraphModel.prototype.getOutgoingEdges=function(b){return this.getEdges(b,!1,!0,!1)};
mxGraphModel.prototype.getEdges=function(b,c,f,d){c=null!=c?c:!0;f=null!=f?f:!0;d=null!=d?d:!0;for(var a=this.getEdgeCount(b),e=[],g=0;g<a;g++){var k=this.getEdgeAt(b,g),l=this.getTerminal(k,!0),m=this.getTerminal(k,!1);(d&&l==m||l!=m&&(c&&m==b||f&&l==b))&&e.push(k)}return e};
mxGraphModel.prototype.getEdgesBetween=function(b,c,f){f=null!=f?f:!1;var d=this.getEdgeCount(b),a=this.getEdgeCount(c),e=b,g=d;a<d&&(g=a,e=c);d=[];for(a=0;a<g;a++){var k=this.getEdgeAt(e,a),l=this.getTerminal(k,!0),m=this.getTerminal(k,!1),n=m==b&&l==c;(l==b&&m==c||!f&&n)&&d.push(k)}return d};
mxGraphModel.prototype.getOpposites=function(b,c,f,d){f=null!=f?f:!0;d=null!=d?d:!0;var a=[];if(null!=b)for(var e=0;e<b.length;e++){var g=this.getTerminal(b[e],!0),k=this.getTerminal(b[e],!1);g==c&&null!=k&&k!=c&&d?a.push(k):k==c&&null!=g&&g!=c&&f&&a.push(g)}return a};
mxGraphModel.prototype.getTopmostCells=function(b){for(var c=new mxDictionary,f=[],d=0;d<b.length;d++)c.put(b[d],!0);for(d=0;d<b.length;d++){for(var a=b[d],e=!0,g=this.getParent(a);null!=g;){if(c.get(g)){e=!1;break}g=this.getParent(g)}e&&f.push(a)}return f};mxGraphModel.prototype.isVertex=function(b){return null!=b?b.isVertex():!1};mxGraphModel.prototype.isEdge=function(b){return null!=b?b.isEdge():!1};mxGraphModel.prototype.isConnectable=function(b){return null!=b?b.isConnectable():!1};
mxGraphModel.prototype.getValue=function(b){return null!=b?b.getValue():null};mxGraphModel.prototype.setValue=function(b,c){this.execute(new mxValueChange(this,b,c));return c};mxGraphModel.prototype.valueForCellChanged=function(b,c){return b.valueChanged(c)};mxGraphModel.prototype.getGeometry=function(b){return null!=b?b.getGeometry():null};mxGraphModel.prototype.setGeometry=function(b,c){c!=this.getGeometry(b)&&this.execute(new mxGeometryChange(this,b,c));return c};
mxGraphModel.prototype.geometryForCellChanged=function(b,c){var f=this.getGeometry(b);b.setGeometry(c);return f};mxGraphModel.prototype.getStyle=function(b){return null!=b?b.getStyle():null};mxGraphModel.prototype.setStyle=function(b,c){c!=this.getStyle(b)&&this.execute(new mxStyleChange(this,b,c));return c};mxGraphModel.prototype.styleForCellChanged=function(b,c){var f=this.getStyle(b);b.setStyle(c);return f};mxGraphModel.prototype.isCollapsed=function(b){return null!=b?b.isCollapsed():!1};
mxGraphModel.prototype.setCollapsed=function(b,c){c!=this.isCollapsed(b)&&this.execute(new mxCollapseChange(this,b,c));return c};mxGraphModel.prototype.collapsedStateForCellChanged=function(b,c){var f=this.isCollapsed(b);b.setCollapsed(c);return f};mxGraphModel.prototype.isVisible=function(b){return null!=b?b.isVisible():!1};mxGraphModel.prototype.setVisible=function(b,c){c!=this.isVisible(b)&&this.execute(new mxVisibleChange(this,b,c));return c};
mxGraphModel.prototype.visibleStateForCellChanged=function(b,c){var f=this.isVisible(b);b.setVisible(c);return f};mxGraphModel.prototype.execute=function(b){b.execute();this.beginUpdate();this.currentEdit.add(b);this.fireEvent(new mxEventObject(mxEvent.EXECUTE,"change",b));this.fireEvent(new mxEventObject(mxEvent.EXECUTED,"change",b));this.endUpdate()};mxGraphModel.prototype.beginUpdate=function(){this.updateLevel++;this.fireEvent(new mxEventObject(mxEvent.BEGIN_UPDATE));1==this.updateLevel&&this.fireEvent(new mxEventObject(mxEvent.START_EDIT))};
mxGraphModel.prototype.endUpdate=function(){this.updateLevel--;0==this.updateLevel&&this.fireEvent(new mxEventObject(mxEvent.END_EDIT));if(!this.endingUpdate){this.endingUpdate=0==this.updateLevel;this.fireEvent(new mxEventObject(mxEvent.END_UPDATE,"edit",this.currentEdit));try{if(this.endingUpdate&&!this.currentEdit.isEmpty()){this.fireEvent(new mxEventObject(mxEvent.BEFORE_UNDO,"edit",this.currentEdit));var b=this.currentEdit;this.currentEdit=this.createUndoableEdit();b.notify();this.fireEvent(new mxEventObject(mxEvent.UNDO,
"edit",b))}}finally{this.endingUpdate=!1}}};mxGraphModel.prototype.createUndoableEdit=function(){var b=new mxUndoableEdit(this,!0);b.notify=function(){b.source.fireEvent(new mxEventObject(mxEvent.CHANGE,"edit",b,"changes",b.changes));b.source.fireEvent(new mxEventObject(mxEvent.NOTIFY,"edit",b,"changes",b.changes))};return b};
mxGraphModel.prototype.mergeChildren=function(b,c,f){f=null!=f?f:!0;this.beginUpdate();try{var d={};this.mergeChildrenImpl(b,c,f,d);for(var a in d){var e=d[a],g=this.getTerminal(e,!0);null!=g&&(g=d[mxCellPath.create(g)],this.setTerminal(e,g,!0));g=this.getTerminal(e,!1);null!=g&&(g=d[mxCellPath.create(g)],this.setTerminal(e,g,!1))}}finally{this.endUpdate()}};
mxGraphModel.prototype.mergeChildrenImpl=function(b,c,f,d){this.beginUpdate();try{for(var a=b.getChildCount(),e=0;e<a;e++){var g=b.getChildAt(e);if("function"==typeof g.getId){var k=g.getId(),l=null!=k&&(!this.isEdge(g)||!f)?this.getCell(k):null;if(null==l){var m=g.clone();m.setId(k);m.setTerminal(g.getTerminal(!0),!0);m.setTerminal(g.getTerminal(!1),!1);l=c.insert(m);this.cellAdded(l)}d[mxCellPath.create(g)]=l;this.mergeChildrenImpl(g,l,f,d)}}}finally{this.endUpdate()}};
mxGraphModel.prototype.getParents=function(b){var c=[];if(null!=b)for(var f=new mxDictionary,d=0;d<b.length;d++){var a=this.getParent(b[d]);null!=a&&!f.get(a)&&(f.put(a,!0),c.push(a))}return c};mxGraphModel.prototype.cloneCell=function(b){return null!=b?this.cloneCells([b],!0)[0]:null};
mxGraphModel.prototype.cloneCells=function(b,c,f){f=null!=f?f:{};for(var d=[],a=0;a<b.length;a++)null!=b[a]?d.push(this.cloneCellImpl(b[a],f,c)):d.push(null);for(a=0;a<d.length;a++)null!=d[a]&&this.restoreClone(d[a],b[a],f);return d};mxGraphModel.prototype.cloneCellImpl=function(b,c,f){var d=this.cellCloned(b);c[mxObjectIdentity.get(b)]=d;if(f){f=this.getChildCount(b);for(var a=0;a<f;a++){var e=this.cloneCellImpl(this.getChildAt(b,a),c,!0);d.insert(e)}}return d};
mxGraphModel.prototype.cellCloned=function(b){return b.clone()};mxGraphModel.prototype.restoreClone=function(b,c,f){var d=this.getTerminal(c,!0);null!=d&&(d=f[mxObjectIdentity.get(d)],null!=d&&d.insertEdge(b,!0));d=this.getTerminal(c,!1);null!=d&&(d=f[mxObjectIdentity.get(d)],null!=d&&d.insertEdge(b,!1));for(var d=this.getChildCount(b),a=0;a<d;a++)this.restoreClone(this.getChildAt(b,a),this.getChildAt(c,a),f)};function mxRootChange(b,c){this.model=b;this.previous=this.root=c}
mxRootChange.prototype.execute=function(){this.root=this.previous;this.previous=this.model.rootChanged(this.previous)};function mxChildChange(b,c,f,d){this.model=b;this.previous=this.parent=c;this.child=f;this.previousIndex=this.index=d}
mxChildChange.prototype.execute=function(){var b=this.model.getParent(this.child),c=null!=b?b.getIndex(this.child):0;null==this.previous&&this.connect(this.child,!1);b=this.model.parentForCellChanged(this.child,this.previous,this.previousIndex);null!=this.previous&&this.connect(this.child,!0);this.parent=this.previous;this.previous=b;this.index=this.previousIndex;this.previousIndex=c};
mxChildChange.prototype.connect=function(b,c){c=null!=c?c:!0;var f=b.getTerminal(!0),d=b.getTerminal(!1);null!=f&&(c?this.model.terminalForCellChanged(b,f,!0):this.model.terminalForCellChanged(b,null,!0));null!=d&&(c?this.model.terminalForCellChanged(b,d,!1):this.model.terminalForCellChanged(b,null,!1));b.setTerminal(f,!0);b.setTerminal(d,!1);f=this.model.getChildCount(b);for(d=0;d<f;d++)this.connect(this.model.getChildAt(b,d),c)};
function mxTerminalChange(b,c,f,d){this.model=b;this.cell=c;this.previous=this.terminal=f;this.source=d}mxTerminalChange.prototype.execute=function(){this.terminal=this.previous;this.previous=this.model.terminalForCellChanged(this.cell,this.previous,this.source)};function mxValueChange(b,c,f){this.model=b;this.cell=c;this.previous=this.value=f}mxValueChange.prototype.execute=function(){this.value=this.previous;this.previous=this.model.valueForCellChanged(this.cell,this.previous)};
function mxStyleChange(b,c,f){this.model=b;this.cell=c;this.previous=this.style=f}mxStyleChange.prototype.execute=function(){this.style=this.previous;this.previous=this.model.styleForCellChanged(this.cell,this.previous)};function mxGeometryChange(b,c,f){this.model=b;this.cell=c;this.previous=this.geometry=f}mxGeometryChange.prototype.execute=function(){this.geometry=this.previous;this.previous=this.model.geometryForCellChanged(this.cell,this.previous)};
function mxCollapseChange(b,c,f){this.model=b;this.cell=c;this.previous=this.collapsed=f}mxCollapseChange.prototype.execute=function(){this.collapsed=this.previous;this.previous=this.model.collapsedStateForCellChanged(this.cell,this.previous)};function mxVisibleChange(b,c,f){this.model=b;this.cell=c;this.previous=this.visible=f}mxVisibleChange.prototype.execute=function(){this.visible=this.previous;this.previous=this.model.visibleStateForCellChanged(this.cell,this.previous)};
function mxCellAttributeChange(b,c,f){this.cell=b;this.attribute=c;this.previous=this.value=f}mxCellAttributeChange.prototype.execute=function(){var b=this.cell.getAttribute(this.attribute);null==this.previous?this.cell.value.removeAttribute(this.attribute):this.cell.setAttribute(this.attribute,this.previous);this.previous=b};function mxCell(b,c,f){this.value=b;this.setGeometry(c);this.setStyle(f);if(null!=this.onInit)this.onInit()}mxCell.prototype.id=null;mxCell.prototype.value=null;
mxCell.prototype.geometry=null;mxCell.prototype.style=null;mxCell.prototype.vertex=!1;mxCell.prototype.edge=!1;mxCell.prototype.connectable=!0;mxCell.prototype.visible=!0;mxCell.prototype.collapsed=!1;mxCell.prototype.parent=null;mxCell.prototype.source=null;mxCell.prototype.target=null;mxCell.prototype.children=null;mxCell.prototype.edges=null;mxCell.prototype.mxTransient="id value parent source target children edges".split(" ");mxCell.prototype.getId=function(){return this.id};
mxCell.prototype.setId=function(b){this.id=b};mxCell.prototype.getValue=function(){return this.value};mxCell.prototype.setValue=function(b){this.value=b};mxCell.prototype.valueChanged=function(b){var c=this.getValue();this.setValue(b);return c};mxCell.prototype.getGeometry=function(){return this.geometry};mxCell.prototype.setGeometry=function(b){this.geometry=b};mxCell.prototype.getStyle=function(){return this.style};mxCell.prototype.setStyle=function(b){this.style=b};
mxCell.prototype.isVertex=function(){return 0!=this.vertex};mxCell.prototype.setVertex=function(b){this.vertex=b};mxCell.prototype.isEdge=function(){return 0!=this.edge};mxCell.prototype.setEdge=function(b){this.edge=b};mxCell.prototype.isConnectable=function(){return 0!=this.connectable};mxCell.prototype.setConnectable=function(b){this.connectable=b};mxCell.prototype.isVisible=function(){return 0!=this.visible};mxCell.prototype.setVisible=function(b){this.visible=b};
mxCell.prototype.isCollapsed=function(){return 0!=this.collapsed};mxCell.prototype.setCollapsed=function(b){this.collapsed=b};mxCell.prototype.getParent=function(){return this.parent};mxCell.prototype.setParent=function(b){this.parent=b};mxCell.prototype.getTerminal=function(b){return b?this.source:this.target};mxCell.prototype.setTerminal=function(b,c){c?this.source=b:this.target=b;return b};mxCell.prototype.getChildCount=function(){return null==this.children?0:this.children.length};
mxCell.prototype.getIndex=function(b){return mxUtils.indexOf(this.children,b)};mxCell.prototype.getChildAt=function(b){return null==this.children?null:this.children[b]};mxCell.prototype.insert=function(b,c){null!=b&&(null==c&&(c=this.getChildCount(),b.getParent()==this&&c--),b.removeFromParent(),b.setParent(this),null==this.children?(this.children=[],this.children.push(b)):this.children.splice(c,0,b));return b};
mxCell.prototype.remove=function(b){var c=null;null!=this.children&&0<=b&&(c=this.getChildAt(b),null!=c&&(this.children.splice(b,1),c.setParent(null)));return c};mxCell.prototype.removeFromParent=function(){if(null!=this.parent){var b=this.parent.getIndex(this);this.parent.remove(b)}};mxCell.prototype.getEdgeCount=function(){return null==this.edges?0:this.edges.length};mxCell.prototype.getEdgeIndex=function(b){return mxUtils.indexOf(this.edges,b)};
mxCell.prototype.getEdgeAt=function(b){return null==this.edges?null:this.edges[b]};mxCell.prototype.insertEdge=function(b,c){if(null!=b&&(b.removeFromTerminal(c),b.setTerminal(this,c),null==this.edges||b.getTerminal(!c)!=this||0>mxUtils.indexOf(this.edges,b)))null==this.edges&&(this.edges=[]),this.edges.push(b);return b};mxCell.prototype.removeEdge=function(b,c){if(null!=b){if(b.getTerminal(!c)!=this&&null!=this.edges){var f=this.getEdgeIndex(b);0<=f&&this.edges.splice(f,1)}b.setTerminal(null,c)}return b};
mxCell.prototype.removeFromTerminal=function(b){var c=this.getTerminal(b);null!=c&&c.removeEdge(this,b)};mxCell.prototype.getAttribute=function(b,c){var f=this.getValue();return(null!=f&&f.nodeType==mxConstants.NODETYPE_ELEMENT?f.getAttribute(b):null)||c};mxCell.prototype.setAttribute=function(b,c){var f=this.getValue();null!=f&&f.nodeType==mxConstants.NODETYPE_ELEMENT&&f.setAttribute(b,c)};
mxCell.prototype.clone=function(){var b=mxUtils.clone(this,this.mxTransient);b.setValue(this.cloneValue());return b};mxCell.prototype.cloneValue=function(){var b=this.getValue();null!=b&&("function"==typeof b.clone?b=b.clone():isNaN(b.nodeType)||(b=b.cloneNode(!0)));return b};function mxGeometry(b,c,f,d){mxRectangle.call(this,b,c,f,d)}mxGeometry.prototype=new mxRectangle;mxGeometry.prototype.constructor=mxGeometry;mxGeometry.prototype.TRANSLATE_CONTROL_POINTS=!0;
mxGeometry.prototype.alternateBounds=null;mxGeometry.prototype.sourcePoint=null;mxGeometry.prototype.targetPoint=null;mxGeometry.prototype.points=null;mxGeometry.prototype.offset=null;mxGeometry.prototype.relative=!1;
mxGeometry.prototype.swap=function(){if(null!=this.alternateBounds){var b=new mxRectangle(this.x,this.y,this.width,this.height);this.x=this.alternateBounds.x;this.y=this.alternateBounds.y;this.width=this.alternateBounds.width;this.height=this.alternateBounds.height;this.alternateBounds=b}};mxGeometry.prototype.getTerminalPoint=function(b){return b?this.sourcePoint:this.targetPoint};mxGeometry.prototype.setTerminalPoint=function(b,c){c?this.sourcePoint=b:this.targetPoint=b;return b};
mxGeometry.prototype.rotate=function(b,c){var f=mxUtils.toRadians(b),d=Math.cos(f),f=Math.sin(f);if(!this.relative){var a=new mxPoint(this.getCenterX(),this.getCenterY()),a=mxUtils.getRotatedPoint(a,d,f,c);this.x=Math.round(a.x-this.width/2);this.y=Math.round(a.y-this.height/2)}null!=this.sourcePoint&&(a=mxUtils.getRotatedPoint(this.sourcePoint,d,f,c),this.sourcePoint.x=Math.round(a.x),this.sourcePoint.y=Math.round(a.y));null!=this.targetPoint&&(a=mxUtils.getRotatedPoint(this.targetPoint,d,f,c),this.targetPoint.x=
Math.round(a.x),this.targetPoint.y=Math.round(a.y));if(null!=this.points)for(var e=0;e<this.points.length;e++)null!=this.points[e]&&(a=mxUtils.getRotatedPoint(this.points[e],d,f,c),this.points[e].x=Math.round(a.x),this.points[e].y=Math.round(a.y))};
mxGeometry.prototype.translate=function(b,c){b=parseFloat(b);c=parseFloat(c);this.relative||(this.x=parseFloat(this.x)+b,this.y=parseFloat(this.y)+c);null!=this.sourcePoint&&(this.sourcePoint.x=parseFloat(this.sourcePoint.x)+b,this.sourcePoint.y=parseFloat(this.sourcePoint.y)+c);null!=this.targetPoint&&(this.targetPoint.x=parseFloat(this.targetPoint.x)+b,this.targetPoint.y=parseFloat(this.targetPoint.y)+c);if(this.TRANSLATE_CONTROL_POINTS&&null!=this.points)for(var f=0;f<this.points.length;f++)null!=
this.points[f]&&(this.points[f].x=parseFloat(this.points[f].x)+b,this.points[f].y=parseFloat(this.points[f].y)+c)};
mxGeometry.prototype.scale=function(b,c,f){b=parseFloat(b);c=parseFloat(c);null!=this.sourcePoint&&(this.sourcePoint.x=parseFloat(this.sourcePoint.x)*b,this.sourcePoint.y=parseFloat(this.sourcePoint.y)*c);null!=this.targetPoint&&(this.targetPoint.x=parseFloat(this.targetPoint.x)*b,this.targetPoint.y=parseFloat(this.targetPoint.y)*c);if(null!=this.points)for(var d=0;d<this.points.length;d++)null!=this.points[d]&&(this.points[d].x=parseFloat(this.points[d].x)*b,this.points[d].y=parseFloat(this.points[d].y)*
c);this.relative||(this.x=parseFloat(this.x)*b,this.y=parseFloat(this.y)*c,f&&(c=b=Math.min(b,c)),this.width=parseFloat(this.width)*b,this.height=parseFloat(this.height)*c)};
mxGeometry.prototype.equals=function(b){return mxRectangle.prototype.equals.apply(this,arguments)&&this.relative==b.relative&&(null==this.sourcePoint&&null==b.sourcePoint||null!=this.sourcePoint&&this.sourcePoint.equals(b.sourcePoint))&&(null==this.targetPoint&&null==b.targetPoint||null!=this.targetPoint&&this.targetPoint.equals(b.targetPoint))&&(null==this.points&&null==b.points||null!=this.points&&mxUtils.equalPoints(this.points,b.points))&&(null==this.alternateBounds&&null==b.alternateBounds||
null!=this.alternateBounds&&this.alternateBounds.equals(b.alternateBounds))&&(null==this.offset&&null==b.offset||null!=this.offset&&this.offset.equals(b.offset))};
var mxCellPath={PATH_SEPARATOR:".",create:function(b){var c="";if(null!=b)for(var f=b.getParent();null!=f;)c=f.getIndex(b)+mxCellPath.PATH_SEPARATOR+c,b=f,f=b.getParent();b=c.length;1<b&&(c=c.substring(0,b-1));return c},getParentPath:function(b){if(null!=b){var c=b.lastIndexOf(mxCellPath.PATH_SEPARATOR);if(0<=c)return b.substring(0,c);if(0<b.length)return""}return null},resolve:function(b,c){var f=b;if(null!=c)for(var d=c.split(mxCellPath.PATH_SEPARATOR),a=0;a<d.length;a++)f=f.getChildAt(parseInt(d[a]));
return f},compare:function(b,c){for(var f=Math.min(b.length,c.length),d=0,a=0;a<f;a++)if(b[a]!=c[a]){0==b[a].length||0==c[a].length?d=b[a]==c[a]?0:b[a]>c[a]?1:-1:(f=parseInt(b[a]),a=parseInt(c[a]),d=f==a?0:f>a?1:-1);break}0==d&&(f=b.length,a=c.length,f!=a&&(d=f>a?1:-1));return d}},mxPerimeter={RectanglePerimeter:function(b,c,f,d){c=b.getCenterX();var a=b.getCenterY(),e=Math.atan2(f.y-a,f.x-c),g=new mxPoint(0,0),k=Math.PI,l=Math.PI/2-e,m=Math.atan2(b.height,b.width);e<-k+m||e>k-m?(g.x=b.x,g.y=a-b.width*
Math.tan(e)/2):e<-m?(g.y=b.y,g.x=c-b.height*Math.tan(l)/2):e<m?(g.x=b.x+b.width,g.y=a+b.width*Math.tan(e)/2):(g.y=b.y+b.height,g.x=c+b.height*Math.tan(l)/2);d&&(f.x>=b.x&&f.x<=b.x+b.width?g.x=f.x:f.y>=b.y&&f.y<=b.y+b.height&&(g.y=f.y),f.x<b.x?g.x=b.x:f.x>b.x+b.width&&(g.x=b.x+b.width),f.y<b.y?g.y=b.y:f.y>b.y+b.height&&(g.y=b.y+b.height));return g},EllipsePerimeter:function(b,c,f,d){var a=b.x,e=b.y,g=b.width/2,k=b.height/2,l=a+g,m=e+k;c=f.x;f=f.y;var n=parseInt(c-l),p=parseInt(f-m);if(0==n&&0!=p)return new mxPoint(l,
m+k*p/Math.abs(p));if(0==n&&0==p)return new mxPoint(c,f);if(d){if(f>=e&&f<=e+b.height)return b=f-m,b=Math.sqrt(g*g*(1-b*b/(k*k)))||0,c<=a&&(b=-b),new mxPoint(l+b,f);if(c>=a&&c<=a+b.width)return b=c-l,b=Math.sqrt(k*k*(1-b*b/(g*g)))||0,f<=e&&(b=-b),new mxPoint(c,m+b)}a=p/n;m-=a*l;e=g*g*a*a+k*k;b=-2*l*e;k=Math.sqrt(b*b-4*e*(g*g*a*a*l*l+k*k*l*l-g*g*k*k));g=(-b+k)/(2*e);k=(-b-k)/(2*e);l=a*g+m;m=a*k+m;a=Math.sqrt(Math.pow(g-c,2)+Math.pow(l-f,2));c=Math.sqrt(Math.pow(k-c,2)+Math.pow(m-f,2));e=f=0;a<c?(f=
g,e=l):(f=k,e=m);return new mxPoint(f,e)},RhombusPerimeter:function(b,c,f,d){c=b.x;var a=b.y,e=b.width;b=b.height;var g=c+e/2,k=a+b/2,l=f.x;f=f.y;if(g==l)return k>f?new mxPoint(g,a):new mxPoint(g,a+b);if(k==f)return g>l?new mxPoint(c,k):new mxPoint(c+e,k);var m=g,n=k;d&&(l>=c&&l<=c+e?m=l:f>=a&&f<=a+b&&(n=f));return l<g?f<k?mxUtils.intersection(l,f,m,n,g,a,c,k):mxUtils.intersection(l,f,m,n,g,a+b,c,k):f<k?mxUtils.intersection(l,f,m,n,g,a,c+e,k):mxUtils.intersection(l,f,m,n,g,a+b,c+e,k)},TrianglePerimeter:function(b,
c,f,d){c=null!=c?c.style[mxConstants.STYLE_DIRECTION]:null;var a=c==mxConstants.DIRECTION_NORTH||c==mxConstants.DIRECTION_SOUTH,e=b.x,g=b.y,k=b.width;b=b.height;var l=e+k/2,m=g+b/2,n=new mxPoint(e,g),p=new mxPoint(e+k,m),r=new mxPoint(e,g+b);c==mxConstants.DIRECTION_NORTH?(n=r,p=new mxPoint(l,g),r=new mxPoint(e+k,g+b)):c==mxConstants.DIRECTION_SOUTH?(p=new mxPoint(l,g+b),r=new mxPoint(e+k,g)):c==mxConstants.DIRECTION_WEST&&(n=new mxPoint(e+k,g),p=new mxPoint(e,m),r=new mxPoint(e+k,g+b));var s=f.x-
l,q=f.y-m,s=a?Math.atan2(s,q):Math.atan2(q,s),t=a?Math.atan2(k,b):Math.atan2(b,k),q=c==mxConstants.DIRECTION_NORTH||c==mxConstants.DIRECTION_WEST?s>-t&&s<t:s<-Math.PI+t||s>Math.PI-t,t=null;q?t=d&&(a&&f.x>=n.x&&f.x<=r.x||!a&&f.y>=n.y&&f.y<=r.y)?a?new mxPoint(f.x,n.y):new mxPoint(n.x,f.y):c==mxConstants.DIRECTION_NORTH?new mxPoint(e+k/2+b*Math.tan(s)/2,g+b):c==mxConstants.DIRECTION_SOUTH?new mxPoint(e+k/2-b*Math.tan(s)/2,g):c==mxConstants.DIRECTION_WEST?new mxPoint(e+k,g+b/2+k*Math.tan(s)/2):new mxPoint(e,
g+b/2-k*Math.tan(s)/2):(d&&(d=new mxPoint(l,m),f.y>=g&&f.y<=g+b?(d.x=a?l:c==mxConstants.DIRECTION_WEST?e+k:e,d.y=f.y):f.x>=e&&f.x<=e+k&&(d.x=f.x,d.y=!a?m:c==mxConstants.DIRECTION_NORTH?g+b:g),l=d.x,m=d.y),t=a&&f.x<=e+k/2||!a&&f.y<=g+b/2?mxUtils.intersection(f.x,f.y,l,m,n.x,n.y,p.x,p.y):mxUtils.intersection(f.x,f.y,l,m,p.x,p.y,r.x,r.y));null==t&&(t=new mxPoint(l,m));return t},HexagonPerimeter:function(b,c,f,d){var a=b.x,e=b.y,g=b.width,k=b.height,l=b.getCenterX();b=b.getCenterY();var m=f.x,n=f.y,p=
-Math.atan2(n-b,m-l),r=Math.PI,s=Math.PI/2,q=new mxPoint(l,b);c=null!=c?mxUtils.getValue(c.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;var t=c==mxConstants.DIRECTION_NORTH||c==mxConstants.DIRECTION_SOUTH;c=new mxPoint;q=new mxPoint;if(m<a&&n<e||m<a&&n>e+k||m>a+g&&n<e||m>a+g&&n>e+k)d=!1;if(d){if(t){if(m==l){if(n<=e)return new mxPoint(l,e);if(n>=e+k)return new mxPoint(l,e+k)}else if(m<a){if(n==e+k/4)return new mxPoint(a,e+k/4);if(n==e+3*k/4)return new mxPoint(a,
e+3*k/4)}else if(m>a+g){if(n==e+k/4)return new mxPoint(a+g,e+k/4);if(n==e+3*k/4)return new mxPoint(a+g,e+3*k/4)}else if(m==a){if(n<b)return new mxPoint(a,e+k/4);if(n>b)return new mxPoint(a,e+3*k/4)}else if(m==a+g){if(n<b)return new mxPoint(a+g,e+k/4);if(n>b)return new mxPoint(a+g,e+3*k/4)}if(n==e)return new mxPoint(l,e);if(n==e+k)return new mxPoint(l,e+k);m<l?n>e+k/4&&n<e+3*k/4?(c=new mxPoint(a,e),q=new mxPoint(a,e+k)):n<e+k/4?(c=new mxPoint(a-Math.floor(0.5*g),e+Math.floor(0.5*k)),q=new mxPoint(a+
g,e-Math.floor(0.25*k))):n>e+3*k/4&&(c=new mxPoint(a-Math.floor(0.5*g),e+Math.floor(0.5*k)),q=new mxPoint(a+g,e+Math.floor(1.25*k))):m>l&&(n>e+k/4&&n<e+3*k/4?(c=new mxPoint(a+g,e),q=new mxPoint(a+g,e+k)):n<e+k/4?(c=new mxPoint(a,e-Math.floor(0.25*k)),q=new mxPoint(a+Math.floor(1.5*g),e+Math.floor(0.5*k))):n>e+3*k/4&&(c=new mxPoint(a+Math.floor(1.5*g),e+Math.floor(0.5*k)),q=new mxPoint(a,e+Math.floor(1.25*k))))}else{if(n==b){if(m<=a)return new mxPoint(a,e+k/2);if(m>=a+g)return new mxPoint(a+g,e+k/
2)}else if(n<e){if(m==a+g/4)return new mxPoint(a+g/4,e);if(m==a+3*g/4)return new mxPoint(a+3*g/4,e)}else if(n>e+k){if(m==a+g/4)return new mxPoint(a+g/4,e+k);if(m==a+3*g/4)return new mxPoint(a+3*g/4,e+k)}else if(n==e){if(m<l)return new mxPoint(a+g/4,e);if(m>l)return new mxPoint(a+3*g/4,e)}else if(n==e+k){if(m<l)return new mxPoint(a+g/4,e+k);if(n>b)return new mxPoint(a+3*g/4,e+k)}if(m==a)return new mxPoint(a,b);if(m==a+g)return new mxPoint(a+g,b);n<b?m>a+g/4&&m<a+3*g/4?(c=new mxPoint(a,e),q=new mxPoint(a+
g,e)):m<a+g/4?(c=new mxPoint(a-Math.floor(0.25*g),e+k),q=new mxPoint(a+Math.floor(0.5*g),e-Math.floor(0.5*k))):m>a+3*g/4&&(c=new mxPoint(a+Math.floor(0.5*g),e-Math.floor(0.5*k)),q=new mxPoint(a+Math.floor(1.25*g),e+k)):n>b&&(m>a+g/4&&m<a+3*g/4?(c=new mxPoint(a,e+k),q=new mxPoint(a+g,e+k)):m<a+g/4?(c=new mxPoint(a-Math.floor(0.25*g),e),q=new mxPoint(a+Math.floor(0.5*g),e+Math.floor(1.5*k))):m>a+3*g/4&&(c=new mxPoint(a+Math.floor(0.5*g),e+Math.floor(1.5*k)),q=new mxPoint(a+Math.floor(1.25*g),e)))}d=
l;p=b;m>=a&&m<=a+g?(d=m,p=n<b?e+k:e):n>=e&&n<=e+k&&(p=n,d=m<l?a+g:a);q=mxUtils.intersection(d,p,f.x,f.y,c.x,c.y,q.x,q.y)}else{if(t){m=Math.atan2(k/4,g/2);if(p==m)return new mxPoint(a+g,e+Math.floor(0.25*k));if(p==s)return new mxPoint(a+Math.floor(0.5*g),e);if(p==r-m)return new mxPoint(a,e+Math.floor(0.25*k));if(p==-m)return new mxPoint(a+g,e+Math.floor(0.75*k));if(p==-s)return new mxPoint(a+Math.floor(0.5*g),e+k);if(p==-r+m)return new mxPoint(a,e+Math.floor(0.75*k));p<m&&p>-m?(c=new mxPoint(a+g,e),
q=new mxPoint(a+g,e+k)):p>m&&p<s?(c=new mxPoint(a,e-Math.floor(0.25*k)),q=new mxPoint(a+Math.floor(1.5*g),e+Math.floor(0.5*k))):p>s&&p<r-m?(c=new mxPoint(a-Math.floor(0.5*g),e+Math.floor(0.5*k)),q=new mxPoint(a+g,e-Math.floor(0.25*k))):p>r-m&&p<=r||p<-r+m&&p>=-r?(c=new mxPoint(a,e),q=new mxPoint(a,e+k)):p<-m&&p>-s?(c=new mxPoint(a+Math.floor(1.5*g),e+Math.floor(0.5*k)),q=new mxPoint(a,e+Math.floor(1.25*k))):p<-s&&p>-r+m&&(c=new mxPoint(a-Math.floor(0.5*g),e+Math.floor(0.5*k)),q=new mxPoint(a+g,e+
Math.floor(1.25*k)))}else{m=Math.atan2(k/2,g/4);if(p==m)return new mxPoint(a+Math.floor(0.75*g),e);if(p==r-m)return new mxPoint(a+Math.floor(0.25*g),e);if(p==r||p==-r)return new mxPoint(a,e+Math.floor(0.5*k));if(0==p)return new mxPoint(a+g,e+Math.floor(0.5*k));if(p==-m)return new mxPoint(a+Math.floor(0.75*g),e+k);if(p==-r+m)return new mxPoint(a+Math.floor(0.25*g),e+k);0<p&&p<m?(c=new mxPoint(a+Math.floor(0.5*g),e-Math.floor(0.5*k)),q=new mxPoint(a+Math.floor(1.25*g),e+k)):p>m&&p<r-m?(c=new mxPoint(a,
e),q=new mxPoint(a+g,e)):p>r-m&&p<r?(c=new mxPoint(a-Math.floor(0.25*g),e+k),q=new mxPoint(a+Math.floor(0.5*g),e-Math.floor(0.5*k))):0>p&&p>-m?(c=new mxPoint(a+Math.floor(0.5*g),e+Math.floor(1.5*k)),q=new mxPoint(a+Math.floor(1.25*g),e)):p<-m&&p>-r+m?(c=new mxPoint(a,e+k),q=new mxPoint(a+g,e+k)):p<-r+m&&p>-r&&(c=new mxPoint(a-Math.floor(0.25*g),e),q=new mxPoint(a+Math.floor(0.5*g),e+Math.floor(1.5*k)))}q=mxUtils.intersection(l,b,f.x,f.y,c.x,c.y,q.x,q.y)}return null==q?new mxPoint(l,b):q}};
function mxPrintPreview(b,c,f,d,a,e,g,k,l){this.graph=b;this.scale=null!=c?c:1/b.pageScale;this.border=null!=d?d:0;this.pageFormat=null!=f?f:b.pageFormat;this.title=null!=k?k:"Printer-friendly version";this.x0=null!=a?a:0;this.y0=null!=e?e:0;this.borderColor=g;this.pageSelector=null!=l?l:!0}mxPrintPreview.prototype.graph=null;mxPrintPreview.prototype.pageFormat=null;mxPrintPreview.prototype.scale=null;mxPrintPreview.prototype.border=0;mxPrintPreview.prototype.marginTop=0;
mxPrintPreview.prototype.marginBottom=0;mxPrintPreview.prototype.x0=0;mxPrintPreview.prototype.y0=0;mxPrintPreview.prototype.autoOrigin=!0;mxPrintPreview.prototype.printOverlays=!1;mxPrintPreview.prototype.printControls=!1;mxPrintPreview.prototype.printBackgroundImage=!1;mxPrintPreview.prototype.backgroundColor="#ffffff";mxPrintPreview.prototype.borderColor=null;mxPrintPreview.prototype.title=null;mxPrintPreview.prototype.pageSelector=null;mxPrintPreview.prototype.wnd=null;
mxPrintPreview.prototype.targetWindow=null;mxPrintPreview.prototype.pageCount=0;mxPrintPreview.prototype.clipping=!0;mxPrintPreview.prototype.getWindow=function(){return this.wnd};
mxPrintPreview.prototype.getDoctype=function(){var b="";5==document.documentMode?b='\x3cmeta http-equiv\x3d"X-UA-Compatible" content\x3d"IE\x3d5"\x3e':8==document.documentMode?b='\x3cmeta http-equiv\x3d"X-UA-Compatible" content\x3d"IE\x3d8"\x3e':8<document.documentMode&&(b='\x3c!--[if IE]\x3e\x3cmeta http-equiv\x3d"X-UA-Compatible" content\x3d"IE\x3dedge"\x3e\x3c![endif]--\x3e');return b};
mxPrintPreview.prototype.open=function(b,c){var f=this.graph.cellRenderer.initializeOverlay,d=null;try{this.printOverlays&&(this.graph.cellRenderer.initializeOverlay=function(a,b){b.init(a.view.getDrawPane())});this.printControls&&(this.graph.cellRenderer.initControl=function(a,b,d,e){b.dialect=a.view.graph.dialect;b.init(a.view.getDrawPane())});if(null==this.wnd){this.wnd=null!=c?c:window.open();var a=this.wnd.document;if(null==c){var e=this.getDoctype();null!=e&&0<e.length&&a.writeln(e);mxClient.IS_VML?
a.writeln('\x3chtml xmlns:v\x3d"urn:schemas-microsoft-com:vml" xmlns:o\x3d"urn:schemas-microsoft-com:office:office"\x3e'):("CSS1Compat"===document.compatMode&&a.writeln("\x3c!DOCTYPE html\x3e"),a.writeln("\x3chtml\x3e"));a.writeln("\x3chead\x3e");this.writeHead(a,b);a.writeln("\x3c/head\x3e");a.writeln('\x3cbody class\x3d"mxPage"\x3e')}var g=this.graph.getGraphBounds().clone(),k=this.graph.getView().getScale(),l=k/this.scale,m=this.graph.getView().getTranslate();this.autoOrigin||(this.x0-=m.x*this.scale,
this.y0-=m.y*this.scale,g.width+=g.x,g.height+=g.y,g.x=0,this.border=g.y=0);var n=this.pageFormat.width-2*this.border,p=this.pageFormat.height-2*this.border;this.pageFormat.height+=this.marginTop+this.marginBottom;g.width/=l;g.height/=l;var r=Math.max(1,Math.ceil((g.width+this.x0)/n)),s=Math.max(1,Math.ceil((g.height+this.y0)/p));this.pageCount=r*s;var q=mxUtils.bind(this,function(){if(this.pageSelector&&(1<s||1<r)){var b=this.createPageSelector(s,r);a.body.appendChild(b);if(mxClient.IS_IE&&null==
a.documentMode||5==a.documentMode||8==a.documentMode||7==a.documentMode){b.style.position="absolute";var d=function(){b.style.top=(a.body.scrollTop||a.documentElement.scrollTop)+10+"px"};mxEvent.addListener(this.wnd,"scroll",function(a){d()});mxEvent.addListener(this.wnd,"resize",function(a){d()})}}}),t=mxUtils.bind(this,function(b,d){null!=this.borderColor&&(b.style.borderColor=this.borderColor,b.style.borderStyle="solid",b.style.borderWidth="1px");b.style.background=this.backgroundColor;d&&(b.style.pageBreakAfter=
"always");mxClient.IS_IE||11<=document.documentMode||mxClient.IS_EDGE?(a.writeln(b.outerHTML),b.parentNode.removeChild(b)):(b.parentNode.removeChild(b),a.body.appendChild(b));if(d&&null==c){var e=a.createElement("hr");e.className="mxPageBreak";a.body.appendChild(e)}}),u=this.getCoverPages(this.pageFormat.width,this.pageFormat.height);if(null!=u)for(var v=0;v<u.length;v++)t(u[v],!0);for(var z=this.getAppendices(this.pageFormat.width,this.pageFormat.height),v=0;v<s;v++)for(var y=v*p/this.scale-this.y0/
this.scale+(g.y-m.y*k)/k,e=0;e<r;e++){if(null==this.wnd)return null;var x=e*n/this.scale-this.x0/this.scale+(g.x-m.x*k)/k,D=v*r+e+1,A=new mxRectangle(x,y,n,p),d=this.renderPage(this.pageFormat.width,this.pageFormat.height,0,0,mxUtils.bind(this,function(a){this.addGraphFragment(-x,-y,this.scale,D,a,A);this.printBackgroundImage&&this.insertBackgroundImage(a,-x,-y)}),D);d.setAttribute("id","mxPage-"+D);t(d,null!=z||v<s-1||e<r-1)}if(null!=z)for(v=0;v<z.length;v++)t(z[v],v<z.length);null==c&&(this.writePostfix(a),
a.writeln("\x3c/body\x3e"),a.writeln("\x3c/html\x3e"),a.close(),q(),mxEvent.release(a.body))}this.wnd.focus()}catch(B){null!=d&&null!=d.parentNode&&d.parentNode.removeChild(d),console.log("e",B)}finally{this.graph.cellRenderer.initializeOverlay=f}return this.wnd};
mxPrintPreview.prototype.writeHead=function(b,c){null!=this.title&&b.writeln("\x3ctitle\x3e"+this.title+"\x3c/title\x3e");mxClient.IS_VML&&b.writeln('\x3cstyle type\x3d"text/css"\x3ev\\:*{behavior:url(#default#VML)}o\\:*{behavior:url(#default#VML)}\x3c/style\x3e');mxClient.link("stylesheet",mxClient.basePath+"/css/common.css",b);b.writeln('\x3cstyle type\x3d"text/css"\x3e');b.writeln("@media print {");b.writeln(" table.mxPageSelector { display: none; }");b.writeln(" hr.mxPageBreak { display: none; }");
b.writeln("}");b.writeln("@media screen {");b.writeln(" table.mxPageSelector { position: fixed; right: 10px; top: 10px;font-family: Arial; font-size:10pt; border: solid 1px darkgray;background: white; border-collapse:collapse; }");b.writeln(" table.mxPageSelector td { border: solid 1px gray; padding:4px; }");b.writeln(" body.mxPage { background: gray; }");b.writeln("}");null!=c&&b.writeln(c);b.writeln("\x3c/style\x3e")};mxPrintPreview.prototype.writePostfix=function(b){};
mxPrintPreview.prototype.createPageSelector=function(b,c){var f=this.wnd.document,d=f.createElement("table");d.className="mxPageSelector";d.setAttribute("border","0");for(var a=f.createElement("tbody"),e=0;e<b;e++){for(var g=f.createElement("tr"),k=0;k<c;k++){var l=e*c+k+1,m=f.createElement("td"),n=f.createElement("a");n.setAttribute("href","#mxPage-"+l);mxClient.IS_NS&&!mxClient.IS_SF&&!mxClient.IS_GC&&n.setAttribute("onclick","var page \x3d document.getElementById('mxPage-"+l+"');page.scrollIntoView(true);event.preventDefault();");
mxUtils.write(n,l,f);m.appendChild(n);g.appendChild(m)}a.appendChild(g)}d.appendChild(a);return d};
mxPrintPreview.prototype.renderPage=function(b,c,f,d,a,e){e=this.wnd.document;var g=document.createElement("div"),k=null;try{if(0!=f||0!=d){g.style.position="relative";g.style.width=b+"px";g.style.height=c+"px";g.style.pageBreakInside="avoid";var l=document.createElement("div");l.style.position="relative";l.style.top=this.border+"px";l.style.left=this.border+"px";l.style.width=b-2*this.border+"px";l.style.height=c-2*this.border+"px";l.style.overflow="hidden";var m=document.createElement("div");m.style.position=
"relative";m.style.marginLeft=f+"px";m.style.marginTop=d+"px";8==e.documentMode&&(l.style.position="absolute",m.style.position="absolute");10==e.documentMode&&(m.style.width="100%",m.style.height="100%");l.appendChild(m);g.appendChild(l);document.body.appendChild(g);k=m}else g.style.width=b+"px",g.style.height=c+"px",g.style.overflow="hidden",g.style.pageBreakInside="avoid",8==e.documentMode&&(g.style.position="relative"),l=document.createElement("div"),l.style.width=b-2*this.border+"px",l.style.height=
c-2*this.border+"px",l.style.overflow="hidden",mxClient.IS_IE&&(null==e.documentMode||5==e.documentMode||8==e.documentMode||7==e.documentMode)?(l.style.marginTop=this.border+"px",l.style.marginLeft=this.border+"px"):(l.style.top=this.border+"px",l.style.left=this.border+"px"),this.graph.dialect==mxConstants.DIALECT_VML&&(l.style.position="absolute"),g.appendChild(l),document.body.appendChild(g),k=l}catch(n){throw g.parentNode.removeChild(g),n;}a(k);return g};
mxPrintPreview.prototype.getRoot=function(){var b=this.graph.view.currentRoot;null==b&&(b=this.graph.getModel().getRoot());return b};
mxPrintPreview.prototype.addGraphFragment=function(b,c,f,d,a,e){var g=this.graph.getView();d=this.graph.container;this.graph.container=a;var k=g.getCanvas(),l=g.getBackgroundPane(),m=g.getDrawPane(),n=g.getOverlayPane();this.graph.dialect==mxConstants.DIALECT_SVG?g.createSvg():this.graph.dialect==mxConstants.DIALECT_VML?g.createVml():g.createHtml();var p=g.isEventsEnabled();g.setEventsEnabled(!1);var r=this.graph.isEnabled();this.graph.setEnabled(!1);var s=g.getTranslate();g.translate=new mxPoint(b,
c);var q=this.graph.cellRenderer.redraw,t=g.states;b=g.scale;if(this.clipping){var u=new mxRectangle((e.x+s.x)*b,(e.y+s.y)*b,e.width*b/f,e.height*b/f);this.graph.cellRenderer.redraw=function(a,b,d){if(null!=a){var e=t.get(a.cell);if(null!=e&&(e=g.getBoundingBox(e,!1),null!=e&&!mxUtils.intersects(u,e)))return}q.apply(this,arguments)}}b=null;try{var v=[this.getRoot()];b=new mxTemporaryCellStates(g,f,v)}finally{if(mxClient.IS_IE)g.overlayPane.innerHTML="",g.canvas.style.overflow="hidden",g.canvas.style.position=
"relative",g.canvas.style.top=this.marginTop+"px",g.canvas.style.width=e.width+"px",g.canvas.style.height=e.height+"px";else for(f=a.firstChild;null!=f;)v=f.nextSibling,c=f.nodeName.toLowerCase(),"svg"==c?(f.style.overflow="hidden",f.style.position="relative",f.style.top=this.marginTop+"px",f.setAttribute("width",e.width),f.setAttribute("height",e.height),f.style.width="",f.style.height=""):"default"!=f.style.cursor&&"div"!=c&&f.parentNode.removeChild(f),f=v;this.printBackgroundImage&&(a=a.getElementsByTagName("svg"),
0<a.length&&(a[0].style.position="absolute"));g.overlayPane.parentNode.removeChild(g.overlayPane);this.graph.setEnabled(r);this.graph.container=d;this.graph.cellRenderer.redraw=q;g.canvas=k;g.backgroundPane=l;g.drawPane=m;g.overlayPane=n;g.translate=s;b.destroy();g.setEventsEnabled(p)}};
mxPrintPreview.prototype.insertBackgroundImage=function(b,c,f){var d=this.graph.backgroundImage;if(null!=d){var a=document.createElement("img");a.style.position="absolute";a.style.marginLeft=Math.round(c*this.scale)+"px";a.style.marginTop=Math.round(f*this.scale)+"px";a.setAttribute("width",Math.round(this.scale*d.width));a.setAttribute("height",Math.round(this.scale*d.height));a.src=d.src;b.insertBefore(a,b.firstChild)}};mxPrintPreview.prototype.getCoverPages=function(){return null};
mxPrintPreview.prototype.getAppendices=function(){return null};mxPrintPreview.prototype.print=function(b){b=this.open(b);null!=b&&b.print()};mxPrintPreview.prototype.close=function(){null!=this.wnd&&(this.wnd.close(),this.wnd=null)};function mxStylesheet(){this.styles={};this.putDefaultVertexStyle(this.createDefaultVertexStyle());this.putDefaultEdgeStyle(this.createDefaultEdgeStyle())}
mxStylesheet.prototype.createDefaultVertexStyle=function(){var b={};b[mxConstants.STYLE_SHAPE]=mxConstants.SHAPE_RECTANGLE;b[mxConstants.STYLE_PERIMETER]=mxPerimeter.RectanglePerimeter;b[mxConstants.STYLE_VERTICAL_ALIGN]=mxConstants.ALIGN_MIDDLE;b[mxConstants.STYLE_ALIGN]=mxConstants.ALIGN_CENTER;b[mxConstants.STYLE_FILLCOLOR]="#C3D9FF";b[mxConstants.STYLE_STROKECOLOR]="#6482B9";b[mxConstants.STYLE_FONTCOLOR]="#774400";return b};
mxStylesheet.prototype.createDefaultEdgeStyle=function(){var b={};b[mxConstants.STYLE_SHAPE]=mxConstants.SHAPE_CONNECTOR;b[mxConstants.STYLE_ENDARROW]=mxConstants.ARROW_CLASSIC;b[mxConstants.STYLE_VERTICAL_ALIGN]=mxConstants.ALIGN_MIDDLE;b[mxConstants.STYLE_ALIGN]=mxConstants.ALIGN_CENTER;b[mxConstants.STYLE_STROKECOLOR]="#6482B9";b[mxConstants.STYLE_FONTCOLOR]="#446299";return b};mxStylesheet.prototype.putDefaultVertexStyle=function(b){this.putCellStyle("defaultVertex",b)};
mxStylesheet.prototype.putDefaultEdgeStyle=function(b){this.putCellStyle("defaultEdge",b)};mxStylesheet.prototype.getDefaultVertexStyle=function(){return this.styles.defaultVertex};mxStylesheet.prototype.getDefaultEdgeStyle=function(){return this.styles.defaultEdge};mxStylesheet.prototype.putCellStyle=function(b,c){this.styles[b]=c};
mxStylesheet.prototype.getCellStyle=function(b,c){var f=c;if(null!=b&&0<b.length)for(var d=b.split(";"),f=null!=f&&";"!=b.charAt(0)?mxUtils.clone(f):{},a=0;a<d.length;a++){var e=d[a],g=e.indexOf("\x3d");if(0<=g){var k=e.substring(0,g),e=e.substring(g+1);e==mxConstants.NONE?delete f[k]:mxUtils.isNumeric(e)?f[k]=parseFloat(e):f[k]=e}else if(e=this.styles[e],null!=e)for(k in e)f[k]=e[k]}return f};
function mxCellState(b,c,f){this.view=b;this.cell=c;this.style=f;this.origin=new mxPoint;this.absoluteOffset=new mxPoint}mxCellState.prototype=new mxRectangle;mxCellState.prototype.constructor=mxCellState;mxCellState.prototype.view=null;mxCellState.prototype.cell=null;mxCellState.prototype.style=null;mxCellState.prototype.invalid=!0;mxCellState.prototype.origin=null;mxCellState.prototype.absolutePoints=null;mxCellState.prototype.absoluteOffset=null;mxCellState.prototype.visibleSourceState=null;
mxCellState.prototype.visibleTargetState=null;mxCellState.prototype.terminalDistance=0;mxCellState.prototype.length=0;mxCellState.prototype.segments=null;mxCellState.prototype.shape=null;mxCellState.prototype.text=null;mxCellState.prototype.unscaledWidth=null;
mxCellState.prototype.getPerimeterBounds=function(b,c){b=b||0;c=null!=c?c:new mxRectangle(this.x,this.y,this.width,this.height);if(null!=this.shape&&null!=this.shape.stencil&&"fixed"==this.shape.stencil.aspect){var f=this.shape.stencil.computeAspect(this.style,c.x,c.y,c.width,c.height);c.x=f.x;c.y=f.y;c.width=this.shape.stencil.w0*f.width;c.height=this.shape.stencil.h0*f.height}0!=b&&c.grow(b);return c};
mxCellState.prototype.setAbsoluteTerminalPoint=function(b,c){c?(null==this.absolutePoints&&(this.absolutePoints=[]),0==this.absolutePoints.length?this.absolutePoints.push(b):this.absolutePoints[0]=b):null==this.absolutePoints?(this.absolutePoints=[],this.absolutePoints.push(null),this.absolutePoints.push(b)):1==this.absolutePoints.length?this.absolutePoints.push(b):this.absolutePoints[this.absolutePoints.length-1]=b};
mxCellState.prototype.setCursor=function(b){null!=this.shape&&this.shape.setCursor(b);null!=this.text&&this.text.setCursor(b)};mxCellState.prototype.getVisibleTerminal=function(b){b=this.getVisibleTerminalState(b);return null!=b?b.cell:null};mxCellState.prototype.getVisibleTerminalState=function(b){return b?this.visibleSourceState:this.visibleTargetState};mxCellState.prototype.setVisibleTerminalState=function(b,c){c?this.visibleSourceState=b:this.visibleTargetState=b};
mxCellState.prototype.getCellBounds=function(){return this.cellBounds};mxCellState.prototype.getPaintBounds=function(){return this.paintBounds};mxCellState.prototype.updateCachedBounds=function(){var b=this.view.translate,c=this.view.scale;this.cellBounds=new mxRectangle(this.x/c-b.x,this.y/c-b.y,this.width/c,this.height/c);this.paintBounds=mxRectangle.fromRectangle(this.cellBounds);null!=this.shape&&this.shape.isPaintBoundsInverted()&&this.paintBounds.rotate90()};
mxCellState.prototype.setState=function(b){this.view=b.view;this.cell=b.cell;this.style=b.style;this.absolutePoints=b.absolutePoints;this.origin=b.origin;this.absoluteOffset=b.absoluteOffset;this.boundingBox=b.boundingBox;this.terminalDistance=b.terminalDistance;this.segments=b.segments;this.length=b.length;this.x=b.x;this.y=b.y;this.width=b.width;this.height=b.height;this.unscaledWidth=b.unscaledWidth};
mxCellState.prototype.clone=function(){var b=new mxCellState(this.view,this.cell,this.style);if(null!=this.absolutePoints){b.absolutePoints=[];for(var c=0;c<this.absolutePoints.length;c++)b.absolutePoints[c]=this.absolutePoints[c].clone()}null!=this.origin&&(b.origin=this.origin.clone());null!=this.absoluteOffset&&(b.absoluteOffset=this.absoluteOffset.clone());null!=this.boundingBox&&(b.boundingBox=this.boundingBox.clone());b.terminalDistance=this.terminalDistance;b.segments=this.segments;b.length=
this.length;b.x=this.x;b.y=this.y;b.width=this.width;b.height=this.height;b.unscaledWidth=this.unscaledWidth;return b};mxCellState.prototype.destroy=function(){this.view.graph.cellRenderer.destroy(this)};function mxGraphSelectionModel(b){this.graph=b;this.cells=[]}mxGraphSelectionModel.prototype=new mxEventSource;mxGraphSelectionModel.prototype.constructor=mxGraphSelectionModel;mxGraphSelectionModel.prototype.doneResource="none"!=mxClient.language?"done":"";
mxGraphSelectionModel.prototype.updatingSelectionResource="none"!=mxClient.language?"updatingSelection":"";mxGraphSelectionModel.prototype.graph=null;mxGraphSelectionModel.prototype.singleSelection=!1;mxGraphSelectionModel.prototype.isSingleSelection=function(){return this.singleSelection};mxGraphSelectionModel.prototype.setSingleSelection=function(b){this.singleSelection=b};mxGraphSelectionModel.prototype.isSelected=function(b){return null!=b?0<=mxUtils.indexOf(this.cells,b):!1};
mxGraphSelectionModel.prototype.isEmpty=function(){return 0==this.cells.length};mxGraphSelectionModel.prototype.clear=function(){this.changeSelection(null,this.cells)};mxGraphSelectionModel.prototype.setCell=function(b){null!=b&&this.setCells([b])};mxGraphSelectionModel.prototype.setCells=function(b){if(null!=b){this.singleSelection&&(b=[this.getFirstSelectableCell(b)]);for(var c=[],f=0;f<b.length;f++)this.graph.isCellSelectable(b[f])&&c.push(b[f]);this.changeSelection(c,this.cells)}};
mxGraphSelectionModel.prototype.getFirstSelectableCell=function(b){if(null!=b)for(var c=0;c<b.length;c++)if(this.graph.isCellSelectable(b[c]))return b[c];return null};mxGraphSelectionModel.prototype.addCell=function(b){null!=b&&this.addCells([b])};
mxGraphSelectionModel.prototype.addCells=function(b){if(null!=b){var c=null;this.singleSelection&&(c=this.cells,b=[this.getFirstSelectableCell(b)]);for(var f=[],d=0;d<b.length;d++)!this.isSelected(b[d])&&this.graph.isCellSelectable(b[d])&&f.push(b[d]);this.changeSelection(f,c)}};mxGraphSelectionModel.prototype.removeCell=function(b){null!=b&&this.removeCells([b])};
mxGraphSelectionModel.prototype.removeCells=function(b){if(null!=b){for(var c=[],f=0;f<b.length;f++)this.isSelected(b[f])&&c.push(b[f]);this.changeSelection(null,c)}};mxGraphSelectionModel.prototype.changeSelection=function(b,c){if(null!=b&&0<b.length&&null!=b[0]||null!=c&&0<c.length&&null!=c[0]){var f=new mxSelectionChange(this,b,c);f.execute();var d=new mxUndoableEdit(this,!1);d.add(f);this.fireEvent(new mxEventObject(mxEvent.UNDO,"edit",d))}};
mxGraphSelectionModel.prototype.cellAdded=function(b){null!=b&&!this.isSelected(b)&&this.cells.push(b)};mxGraphSelectionModel.prototype.cellRemoved=function(b){null!=b&&(b=mxUtils.indexOf(this.cells,b),0<=b&&this.cells.splice(b,1))};function mxSelectionChange(b,c,f){this.selectionModel=b;this.added=null!=c?c.slice():null;this.removed=null!=f?f.slice():null}
mxSelectionChange.prototype.execute=function(){var b=mxLog.enter("mxSelectionChange.execute");window.status=mxResources.get(this.selectionModel.updatingSelectionResource)||this.selectionModel.updatingSelectionResource;if(null!=this.removed)for(var c=0;c<this.removed.length;c++)this.selectionModel.cellRemoved(this.removed[c]);if(null!=this.added)for(c=0;c<this.added.length;c++)this.selectionModel.cellAdded(this.added[c]);c=this.added;this.added=this.removed;this.removed=c;window.status=mxResources.get(this.selectionModel.doneResource)||
this.selectionModel.doneResource;mxLog.leave("mxSelectionChange.execute",b);this.selectionModel.fireEvent(new mxEventObject(mxEvent.CHANGE,"added",this.added,"removed",this.removed))};
function mxCellEditor(b){this.graph=b;this.zoomHandler=mxUtils.bind(this,function(){this.graph.isEditing()&&this.resize()});this.graph.view.addListener(mxEvent.SCALE,this.zoomHandler);this.graph.view.addListener(mxEvent.SCALE_AND_TRANSLATE,this.zoomHandler);this.changeHandler=mxUtils.bind(this,function(b){null!=this.editingCell&&null==this.graph.getView().getState(this.editingCell)&&this.stopEditing(!0)});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler)}
mxCellEditor.prototype.graph=null;mxCellEditor.prototype.textarea=null;mxCellEditor.prototype.editingCell=null;mxCellEditor.prototype.trigger=null;mxCellEditor.prototype.modified=!1;mxCellEditor.prototype.autoSize=!0;mxCellEditor.prototype.selectText=!0;mxCellEditor.prototype.emptyLabelText=mxClient.IS_FF?"\x3cbr\x3e":"";mxCellEditor.prototype.escapeCancelsEditing=!0;mxCellEditor.prototype.textNode="";mxCellEditor.prototype.zIndex=5;mxCellEditor.prototype.minResize=new mxRectangle(0,20);
mxCellEditor.prototype.wordWrapPadding=mxClient.IS_QUIRKS?2:!mxClient.IS_IE11?1:0;mxCellEditor.prototype.blurEnabled=!1;mxCellEditor.prototype.initialValue=null;mxCellEditor.prototype.init=function(){this.textarea=document.createElement("div");this.textarea.className="mxCellEditor mxPlainTextEditor";this.textarea.contentEditable=!0;this.installListeners(this.textarea)};mxCellEditor.prototype.applyValue=function(b,c){this.graph.labelChanged(b.cell,c,this.trigger)};
mxCellEditor.prototype.getInitialValue=function(b,c){var f=mxUtils.htmlEntities(this.graph.getEditingValue(b.cell,c),!1);!mxClient.IS_QUIRKS&&8!=document.documentMode&&9!=document.documentMode&&10!=document.documentMode&&(f=mxUtils.replaceTrailingNewlines(f,"\x3cdiv\x3e\x3cbr\x3e\x3c/div\x3e"));return f.replace(/\n/g,"\x3cbr\x3e")};
mxCellEditor.prototype.getCurrentValue=function(b){b=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<b.length&&"\n"==b.charAt(b.length-1)&&(b=b.substring(0,b.length-1));return b};
mxCellEditor.prototype.installListeners=function(b){mxEvent.addListener(b,"blur",mxUtils.bind(this,function(b){this.blurEnabled&&this.focusLost(b)}));mxEvent.addListener(b,"keydown",mxUtils.bind(this,function(b){mxEvent.isConsumed(b)||(this.isStopEditingEvent(b)?(this.graph.stopEditing(!1),mxEvent.consume(b)):27==b.keyCode&&(this.graph.stopEditing(this.escapeCancelsEditing||mxEvent.isShiftDown(b)),mxEvent.consume(b)))}));var c=mxUtils.bind(this,function(d){if(null!=this.editingCell&&this.clearOnChange&&
b.innerHTML==this.getEmptyLabelText()&&(!mxClient.IS_FF||8!=d.keyCode&&46!=d.keyCode))this.clearOnChange=!1,b.innerHTML=""});mxEvent.addListener(b,"keypress",c);mxEvent.addListener(b,"paste",c);c=mxUtils.bind(this,function(b){null!=this.editingCell&&(0==this.textarea.innerHTML.length||"\x3cbr\x3e"==this.textarea.innerHTML?(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length):this.clearOnChange=!1)});mxEvent.addListener(b,!mxClient.IS_IE11&&!mxClient.IS_IE?
"input":"keyup",c);mxEvent.addListener(b,"cut",c);mxEvent.addListener(b,"paste",c);var c=!mxClient.IS_IE11&&!mxClient.IS_IE?"input":"keydown",f=mxUtils.bind(this,function(b){null!=this.editingCell&&this.autoSize&&!mxEvent.isConsumed(b)&&(null!=this.resizeThread&&window.clearTimeout(this.resizeThread),this.resizeThread=window.setTimeout(mxUtils.bind(this,function(){this.resizeThread=null;this.resize()}),0))});mxEvent.addListener(b,c,f);9<=document.documentMode?(mxEvent.addListener(b,"DOMNodeRemoved",
f),mxEvent.addListener(b,"DOMNodeInserted",f)):(mxEvent.addListener(b,"cut",f),mxEvent.addListener(b,"paste",f))};mxCellEditor.prototype.isStopEditingEvent=function(b){return 113==b.keyCode||this.graph.isEnterStopsCellEditing()&&13==b.keyCode&&!mxEvent.isControlDown(b)&&!mxEvent.isShiftDown(b)};mxCellEditor.prototype.isEventSource=function(b){return mxEvent.getSource(b)==this.textarea};
mxCellEditor.prototype.resize=function(){var b=this.graph.getView().getState(this.editingCell);if(null==b)this.stopEditing(!0);else{var c=this.graph.getModel().isEdge(b.cell),f=this.graph.getView().scale,d=null;if(!this.autoSize||"fill"==b.style[mxConstants.STYLE_OVERFLOW])this.bounds=this.getEditorBounds(b),this.textarea.style.width=Math.round(this.bounds.width/f)+"px",this.textarea.style.height=Math.round(this.bounds.height/f)+"px",8==document.documentMode||mxClient.IS_QUIRKS?(this.textarea.style.left=
Math.round(this.bounds.x)+"px",this.textarea.style.top=Math.round(this.bounds.y)+"px"):(this.textarea.style.left=Math.max(0,Math.round(this.bounds.x+1))+"px",this.textarea.style.top=Math.max(0,Math.round(this.bounds.y+1))+"px"),this.graph.isWrapping(b.cell)&&(2<=this.bounds.width||2<=this.bounds.height)&&this.textarea.innerHTML!=this.getEmptyLabelText()?(this.textarea.style.wordWrap=mxConstants.WORD_WRAP,this.textarea.style.whiteSpace="normal","fill"!=b.style[mxConstants.STYLE_OVERFLOW]&&(this.textarea.style.width=
Math.round(this.bounds.width/f)+this.wordWrapPadding+"px")):(this.textarea.style.whiteSpace="nowrap","fill"!=b.style[mxConstants.STYLE_OVERFLOW]&&(this.textarea.style.width=""));else{var a=mxUtils.getValue(b.style,mxConstants.STYLE_LABEL_WIDTH,null),d=null!=b.text?b.text.margin:null;null==d&&(d=mxUtils.getAlignmentAsPoint(mxUtils.getValue(b.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(b.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));if(c)this.bounds=
new mxRectangle(b.absoluteOffset.x,b.absoluteOffset.y,0,0),null!=a&&(a=(parseFloat(a)+2)*f,this.bounds.width=a,this.bounds.x+=d.x*a);else{var c=mxRectangle.fromRectangle(b),e=mxUtils.getValue(b.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),g=mxUtils.getValue(b.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),c=null!=b.shape&&e==mxConstants.ALIGN_CENTER&&g==mxConstants.ALIGN_MIDDLE?b.shape.getLabelBounds(c):c;null!=a&&(c.width=parseFloat(a)*f);if(!b.view.graph.cellRenderer.legacySpacing||
"width"!=b.style[mxConstants.STYLE_OVERFLOW])var e=parseInt(b.style[mxConstants.STYLE_SPACING]||2)*f,k=(parseInt(b.style[mxConstants.STYLE_SPACING_TOP]||0)+mxText.prototype.baseSpacingTop)*f+e,l=(parseInt(b.style[mxConstants.STYLE_SPACING_RIGHT]||0)+mxText.prototype.baseSpacingRight)*f+e,m=(parseInt(b.style[mxConstants.STYLE_SPACING_BOTTOM]||0)+mxText.prototype.baseSpacingBottom)*f+e,n=(parseInt(b.style[mxConstants.STYLE_SPACING_LEFT]||0)+mxText.prototype.baseSpacingLeft)*f+e,e=mxUtils.getValue(b.style,
mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),g=mxUtils.getValue(b.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),c=new mxRectangle(c.x+n,c.y+k,c.width-(e==mxConstants.ALIGN_CENTER&&null==a?n+l:0),c.height-(g==mxConstants.ALIGN_MIDDLE?k+m:0));this.bounds=new mxRectangle(c.x+b.absoluteOffset.x,c.y+b.absoluteOffset.y,c.width,c.height)}this.graph.isWrapping(b.cell)&&(2<=this.bounds.width||2<=this.bounds.height)&&this.textarea.innerHTML!=this.getEmptyLabelText()?
(this.textarea.style.wordWrap=mxConstants.WORD_WRAP,this.textarea.style.whiteSpace="normal",a=Math.round(this.bounds.width/f)+this.wordWrapPadding,this.textarea.style.width=a+"px",this.textarea.scrollWidth>a&&(this.textarea.style.width=this.textarea.scrollWidth+"px")):(this.textarea.style.whiteSpace="nowrap",this.textarea.style.width="");8==document.documentMode&&(this.textarea.style.zoom="1",this.textarea.style.height="auto");b=this.textarea.scrollWidth;a=this.textarea.scrollHeight;8==document.documentMode?
(this.textarea.style.left=Math.max(0,Math.ceil((this.bounds.x-d.x*(this.bounds.width-(b+1)*f)+0*b*(f-1)+2*(d.x+0.5))/f))+"px",this.textarea.style.top=Math.max(0,Math.ceil((this.bounds.y-d.y*(this.bounds.height-(a+0.5)*f)+0*a*(f-1)+1*Math.abs(d.y+0.5))/f))+"px",this.textarea.style.width=Math.round(b*f)+"px",this.textarea.style.height=Math.round(a*f)+"px"):mxClient.IS_QUIRKS?(this.textarea.style.left=Math.max(0,Math.ceil(this.bounds.x-d.x*(this.bounds.width-(b+1)*f)+0*b*(f-1)+2*(d.x+0.5)))+"px",this.textarea.style.top=
Math.max(0,Math.ceil(this.bounds.y-d.y*(this.bounds.height-(a+0.5)*f)+0*a*(f-1)+1*Math.abs(d.y+0.5)))+"px"):(this.textarea.style.left=Math.max(0,Math.round(this.bounds.x-d.x*(this.bounds.width-2))+1)+"px",this.textarea.style.top=Math.max(0,Math.round(this.bounds.y-d.y*(this.bounds.height-4)+(-1==d.y?3:0))+1)+"px")}mxClient.IS_VML?this.textarea.style.zoom=f:(mxUtils.setPrefixedStyle(this.textarea.style,"transformOrigin","0px 0px"),mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+f+
","+f+")"+(null==d?"":" translate("+100*d.x+"%,"+100*d.y+"%)")))}};mxCellEditor.prototype.focusLost=function(){this.stopEditing(!this.graph.isInvokesStopCellEditing())};mxCellEditor.prototype.getBackgroundColor=function(b){return null};
mxCellEditor.prototype.startEditing=function(b,c){null==this.textarea&&this.init();null!=this.graph.tooltipHandler&&this.graph.tooltipHandler.hideTooltip();this.stopEditing(!0);var f=this.graph.getView().getState(b);if(null!=f){this.graph.getView();var d=mxUtils.getValue(f.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),a=mxUtils.getValue(f.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),e=mxUtils.getValue(f.style,mxConstants.STYLE_FONTCOLOR,"black"),g=mxUtils.getValue(f.style,
mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),k=(mxUtils.getValue(f.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,l=(mxUtils.getValue(f.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,m=(mxUtils.getValue(f.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(d*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;
this.textarea.style.backgroundColor=this.getBackgroundColor(f);this.textarea.style.textDecoration=m?"underline":"";this.textarea.style.fontWeight=k?"bold":"normal";this.textarea.style.fontStyle=l?"italic":"";this.textarea.style.fontSize=Math.round(d)+"px";this.textarea.style.zIndex=this.zIndex;this.textarea.style.fontFamily=a;this.textarea.style.textAlign=g;this.textarea.style.outline="none";this.textarea.style.color=e;d=this.textDirection=mxUtils.getValue(f.style,mxConstants.STYLE_TEXT_DIRECTION,
mxConstants.DEFAULT_TEXT_DIRECTION);d==mxConstants.TEXT_DIRECTION_AUTO&&null!=f&&null!=f.text&&f.text.dialect!=mxConstants.DIALECT_STRICTHTML&&!mxUtils.isNode(f.text.value)&&(d=f.text.getAutoDirection());d==mxConstants.TEXT_DIRECTION_LTR||d==mxConstants.TEXT_DIRECTION_RTL?this.textarea.setAttribute("dir",d):this.textarea.removeAttribute("dir");this.textarea.innerHTML=this.getInitialValue(f,c)||"";this.initialValue=this.textarea.innerHTML;0==this.textarea.innerHTML.length||"\x3cbr\x3e"==this.textarea.innerHTML?
(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=!0):this.clearOnChange=this.textarea.innerHTML==this.getEmptyLabelText();this.graph.container.appendChild(this.textarea);this.editingCell=b;this.trigger=c;this.textNode=null;null!=f.text&&this.isHideLabel(f)&&(this.textNode=f.text.node,this.textNode.style.visibility="hidden");this.autoSize&&(this.graph.model.isEdge(f.cell)||"fill"!=f.style[mxConstants.STYLE_OVERFLOW])&&window.setTimeout(mxUtils.bind(this,function(){this.resize()}),
0);this.resize();if(null!=this.textarea)try{this.textarea.focus(),this.isSelectText()&&0<this.textarea.innerHTML.length&&(this.textarea.innerHTML!=this.getEmptyLabelText()||!this.clearOnChange)&&document.execCommand("selectAll",!1,null)}catch(n){}}};mxCellEditor.prototype.isSelectText=function(){return this.selectText};
mxCellEditor.prototype.stopEditing=function(b){if(null!=this.editingCell){null!=this.textNode&&(this.textNode.style.visibility="visible",this.textNode=null);b=!b?this.graph.view.getState(this.editingCell):null;var c=this.initialValue;this.bounds=this.trigger=this.editingCell=this.initialValue=null;this.textarea.blur();null!=this.textarea.parentNode&&this.textarea.parentNode.removeChild(this.textarea);this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.textarea.innerHTML="",
this.clearOnChange=!1);null!=b&&this.textarea.innerHTML!=c&&(c=this.getCurrentValue(b),null!=c&&this.applyValue(b,c));mxEvent.release(this.textarea);this.textarea=null}};mxCellEditor.prototype.isHideLabel=function(b){return!0};mxCellEditor.prototype.getMinimumSize=function(b){var c=this.graph.getView().scale;return new mxRectangle(0,0,null==b.text?30:b.text.size*c+20,"left"==this.textarea.style.textAlign?120:40)};
mxCellEditor.prototype.getEditorBounds=function(b){var c=this.graph.getModel().isEdge(b.cell),f=this.graph.getView().scale,d=this.getMinimumSize(b),a=d.width,d=d.height,e=null;if(!c&&b.view.graph.cellRenderer.legacySpacing&&"fill"==b.style[mxConstants.STYLE_OVERFLOW])e=b.shape.getLabelBounds(mxRectangle.fromRectangle(b));else{var g=parseInt(b.style[mxConstants.STYLE_SPACING]||0)*f,k=(parseInt(b.style[mxConstants.STYLE_SPACING_TOP]||0)+mxText.prototype.baseSpacingTop)*f+g,e=(parseInt(b.style[mxConstants.STYLE_SPACING_RIGHT]||
0)+mxText.prototype.baseSpacingRight)*f+g,l=(parseInt(b.style[mxConstants.STYLE_SPACING_BOTTOM]||0)+mxText.prototype.baseSpacingBottom)*f+g,f=(parseInt(b.style[mxConstants.STYLE_SPACING_LEFT]||0)+mxText.prototype.baseSpacingLeft)*f+g,e=new mxRectangle(b.x,b.y,Math.max(a,b.width-f-e),Math.max(d,b.height-k-l)),l=mxUtils.getValue(b.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),g=mxUtils.getValue(b.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),e=null!=b.shape&&
l==mxConstants.ALIGN_CENTER&&g==mxConstants.ALIGN_MIDDLE?b.shape.getLabelBounds(e):e;c?(e.x=b.absoluteOffset.x,e.y=b.absoluteOffset.y,null!=b.text&&null!=b.text.boundingBox&&(0<b.text.boundingBox.x&&(e.x=b.text.boundingBox.x),0<b.text.boundingBox.y&&(e.y=b.text.boundingBox.y))):null!=b.text&&null!=b.text.boundingBox&&(e.x=Math.min(e.x,b.text.boundingBox.x),e.y=Math.min(e.y,b.text.boundingBox.y));e.x+=f;e.y+=k;null!=b.text&&null!=b.text.boundingBox&&(c?(e.width=Math.max(a,b.text.boundingBox.width),
e.height=Math.max(d,b.text.boundingBox.height)):(e.width=Math.max(e.width,b.text.boundingBox.width),e.height=Math.max(e.height,b.text.boundingBox.height)));this.graph.getModel().isVertex(b.cell)&&(c=mxUtils.getValue(b.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),c==mxConstants.ALIGN_LEFT?e.x-=b.width:c==mxConstants.ALIGN_RIGHT&&(e.x+=b.width),c=mxUtils.getValue(b.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),c==mxConstants.ALIGN_TOP?e.y-=b.height:c==
mxConstants.ALIGN_BOTTOM&&(e.y+=b.height))}return new mxRectangle(Math.round(e.x),Math.round(e.y),Math.round(e.width),Math.round(e.height))};mxCellEditor.prototype.getEmptyLabelText=function(b){return this.emptyLabelText};mxCellEditor.prototype.getEditingCell=function(){return this.editingCell};
mxCellEditor.prototype.destroy=function(){null!=this.textarea&&(mxEvent.release(this.textarea),null!=this.textarea.parentNode&&this.textarea.parentNode.removeChild(this.textarea),this.textarea=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);this.zoomHandler&&(this.graph.view.removeListener(this.zoomHandler),this.zoomHandler=null)};function mxCellRenderer(){}mxCellRenderer.prototype.defaultEdgeShape=mxConnector;
mxCellRenderer.prototype.defaultVertexShape=mxRectangleShape;mxCellRenderer.prototype.defaultTextShape=mxText;mxCellRenderer.prototype.legacyControlPosition=!0;mxCellRenderer.prototype.legacySpacing=!0;mxCellRenderer.prototype.defaultShapes={};mxCellRenderer.prototype.antiAlias=!0;mxCellRenderer.prototype.forceControlClickHandler=!1;mxCellRenderer.registerShape=function(b,c){mxCellRenderer.prototype.defaultShapes[b]=c};mxCellRenderer.registerShape(mxConstants.SHAPE_RECTANGLE,mxRectangleShape);
mxCellRenderer.registerShape(mxConstants.SHAPE_ELLIPSE,mxEllipse);mxCellRenderer.registerShape(mxConstants.SHAPE_RHOMBUS,mxRhombus);mxCellRenderer.registerShape(mxConstants.SHAPE_CYLINDER,mxCylinder);mxCellRenderer.registerShape(mxConstants.SHAPE_CONNECTOR,mxConnector);mxCellRenderer.registerShape(mxConstants.SHAPE_ACTOR,mxActor);mxCellRenderer.registerShape(mxConstants.SHAPE_TRIANGLE,mxTriangle);mxCellRenderer.registerShape(mxConstants.SHAPE_HEXAGON,mxHexagon);
mxCellRenderer.registerShape(mxConstants.SHAPE_CLOUD,mxCloud);mxCellRenderer.registerShape(mxConstants.SHAPE_LINE,mxLine);mxCellRenderer.registerShape(mxConstants.SHAPE_ARROW,mxArrow);mxCellRenderer.registerShape(mxConstants.SHAPE_ARROW_CONNECTOR,mxArrowConnector);mxCellRenderer.registerShape(mxConstants.SHAPE_DOUBLE_ELLIPSE,mxDoubleEllipse);mxCellRenderer.registerShape(mxConstants.SHAPE_SWIMLANE,mxSwimlane);mxCellRenderer.registerShape(mxConstants.SHAPE_IMAGE,mxImageShape);
mxCellRenderer.registerShape(mxConstants.SHAPE_LABEL,mxLabel);mxCellRenderer.prototype.initializeShape=function(b){b.shape.dialect=b.view.graph.dialect;this.configureShape(b);b.shape.init(b.view.getDrawPane())};mxCellRenderer.prototype.createShape=function(b){var c=null;null!=b.style&&(c=mxStencilRegistry.getStencil(b.style[mxConstants.STYLE_SHAPE]),c=null!=c?new mxShape(c):new (this.getShapeConstructor(b)));return c};
mxCellRenderer.prototype.createIndicatorShape=function(b){b.shape.indicatorShape=this.getShape(b.view.graph.getIndicatorShape(b))};mxCellRenderer.prototype.getShape=function(b){return null!=b?mxCellRenderer.prototype.defaultShapes[b]:null};mxCellRenderer.prototype.getShapeConstructor=function(b){var c=this.getShape(b.style[mxConstants.STYLE_SHAPE]);null==c&&(c=b.view.graph.getModel().isEdge(b.cell)?this.defaultEdgeShape:this.defaultVertexShape);return c};
mxCellRenderer.prototype.configureShape=function(b){b.shape.apply(b);b.shape.image=b.view.graph.getImage(b);b.shape.indicatorColor=b.view.graph.getIndicatorColor(b);b.shape.indicatorStrokeColor=b.style[mxConstants.STYLE_INDICATOR_STROKECOLOR];b.shape.indicatorGradientColor=b.view.graph.getIndicatorGradientColor(b);b.shape.indicatorDirection=b.style[mxConstants.STYLE_INDICATOR_DIRECTION];b.shape.indicatorImage=b.view.graph.getIndicatorImage(b);this.postConfigureShape(b)};
mxCellRenderer.prototype.postConfigureShape=function(b){null!=b.shape&&(this.resolveColor(b,"indicatorColor",mxConstants.STYLE_FILLCOLOR),this.resolveColor(b,"indicatorGradientColor",mxConstants.STYLE_GRADIENTCOLOR),this.resolveColor(b,"fill",mxConstants.STYLE_FILLCOLOR),this.resolveColor(b,"stroke",mxConstants.STYLE_STROKECOLOR),this.resolveColor(b,"gradient",mxConstants.STYLE_GRADIENTCOLOR))};
mxCellRenderer.prototype.resolveColor=function(b,c,f){var d=b.shape[c],a=b.view.graph,e=null;"inherit"==d?e=a.model.getParent(b.cell):"swimlane"==d?(e=null!=a.model.getTerminal(b.cell,!1)?a.model.getTerminal(b.cell,!1):b.cell,e=a.getSwimlane(e),f=a.swimlaneIndicatorColorAttribute):"indicated"==d&&(b.shape[c]=b.shape.indicatorColor);null!=e&&(d=a.getView().getState(e),b.shape[c]=null,null!=d&&(b.shape[c]=null!=d.shape&&"indicatorColor"!=c?d.shape[c]:d.style[f]))};
mxCellRenderer.prototype.getLabelValue=function(b){return b.view.graph.getLabel(b.cell)};
mxCellRenderer.prototype.createLabel=function(b,c){var f=b.view.graph;f.getModel().isEdge(b.cell);if(0<b.style[mxConstants.STYLE_FONTSIZE]||null==b.style[mxConstants.STYLE_FONTSIZE]){var d=f.isHtmlLabel(b.cell)||null!=c&&mxUtils.isNode(c);b.text=new this.defaultTextShape(c,new mxRectangle,b.style[mxConstants.STYLE_ALIGN]||mxConstants.ALIGN_CENTER,f.getVerticalAlign(b),b.style[mxConstants.STYLE_FONTCOLOR],b.style[mxConstants.STYLE_FONTFAMILY],b.style[mxConstants.STYLE_FONTSIZE],b.style[mxConstants.STYLE_FONTSTYLE],
b.style[mxConstants.STYLE_SPACING],b.style[mxConstants.STYLE_SPACING_TOP],b.style[mxConstants.STYLE_SPACING_RIGHT],b.style[mxConstants.STYLE_SPACING_BOTTOM],b.style[mxConstants.STYLE_SPACING_LEFT],b.style[mxConstants.STYLE_HORIZONTAL],b.style[mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],b.style[mxConstants.STYLE_LABEL_BORDERCOLOR],f.isWrapping(b.cell)&&f.isHtmlLabel(b.cell),f.isLabelClipped(b.cell),b.style[mxConstants.STYLE_OVERFLOW],b.style[mxConstants.STYLE_LABEL_PADDING],mxUtils.getValue(b.style,mxConstants.STYLE_TEXT_DIRECTION,
mxConstants.DEFAULT_TEXT_DIRECTION));b.text.opacity=mxUtils.getValue(b.style,mxConstants.STYLE_TEXT_OPACITY,100);b.text.dialect=d?mxConstants.DIALECT_STRICTHTML:b.view.graph.dialect;b.text.style=b.style;b.text.state=b;this.initializeLabel(b,b.text);var a=!1,e=function(d){var e=b;if(mxClient.IS_TOUCH||a)e=mxEvent.getClientX(d),d=mxEvent.getClientY(d),d=mxUtils.convertPoint(f.container,e,d),e=f.view.getState(f.getCellAt(d.x,d.y));return e};mxEvent.addGestureListeners(b.text.node,mxUtils.bind(this,function(d){this.isLabelEvent(b,
d)&&(f.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(d,b)),a=f.dialect!=mxConstants.DIALECT_SVG&&"IMG"==mxEvent.getSource(d).nodeName)}),mxUtils.bind(this,function(a){this.isLabelEvent(b,a)&&f.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a,e(a)))}),mxUtils.bind(this,function(d){this.isLabelEvent(b,d)&&(f.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(d,e(d))),a=!1)}));f.nativeDblClickEnabled&&mxEvent.addListener(b.text.node,"dblclick",mxUtils.bind(this,function(a){this.isLabelEvent(b,
a)&&(f.dblClick(a,b.cell),mxEvent.consume(a))}))}};mxCellRenderer.prototype.initializeLabel=function(b,c){mxClient.IS_SVG&&mxClient.NO_FO&&c.dialect!=mxConstants.DIALECT_SVG?c.init(b.view.graph.container):c.init(b.view.getDrawPane())};
mxCellRenderer.prototype.createCellOverlays=function(b){var c=b.view.graph.getCellOverlays(b.cell),f=null;if(null!=c)for(var f=new mxDictionary,d=0;d<c.length;d++){var a=null!=b.overlays?b.overlays.remove(c[d]):null;null==a&&(a=new mxImageShape(new mxRectangle,c[d].image.src),a.dialect=b.view.graph.dialect,a.preserveImageAspect=!1,a.overlay=c[d],this.initializeOverlay(b,a),this.installCellOverlayListeners(b,c[d],a),null!=c[d].cursor&&(a.node.style.cursor=c[d].cursor));f.put(c[d],a)}null!=b.overlays&&
b.overlays.visit(function(a,b){b.destroy()});b.overlays=f};mxCellRenderer.prototype.initializeOverlay=function(b,c){c.init(b.view.getOverlayPane())};
mxCellRenderer.prototype.installCellOverlayListeners=function(b,c,f){var d=b.view.graph;mxEvent.addListener(f.node,"click",function(a){d.isEditing()&&d.stopEditing(!d.isInvokesStopCellEditing());c.fireEvent(new mxEventObject(mxEvent.CLICK,"event",a,"cell",b.cell))});mxEvent.addGestureListeners(f.node,function(a){mxEvent.consume(a)},function(a){d.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a,b))});mxClient.IS_TOUCH&&mxEvent.addListener(f.node,"touchend",function(a){c.fireEvent(new mxEventObject(mxEvent.CLICK,
"event",a,"cell",b.cell))})};mxCellRenderer.prototype.createControl=function(b){var c=b.view.graph,f=c.getFoldingImage(b);if(c.foldingEnabled&&null!=f){if(null==b.control){var d=new mxRectangle(0,0,f.width,f.height);b.control=new mxImageShape(d,f.src);b.control.preserveImageAspect=!1;b.control.dialect=c.dialect;this.initControl(b,b.control,!0,this.createControlClickHandler(b))}}else null!=b.control&&(b.control.destroy(),b.control=null)};
mxCellRenderer.prototype.createControlClickHandler=function(b){var c=b.view.graph;return mxUtils.bind(this,function(f){if(this.forceControlClickHandler||c.isEnabled()){var d=!c.isCellCollapsed(b.cell);c.foldCells(d,!1,[b.cell],null,f);mxEvent.consume(f)}})};
mxCellRenderer.prototype.initControl=function(b,c,f,d){var a=b.view.graph;a.isHtmlLabel(b.cell)&&mxClient.NO_FO&&a.dialect==mxConstants.DIALECT_SVG?(c.dialect=mxConstants.DIALECT_PREFERHTML,c.init(a.container),c.node.style.zIndex=1):c.init(b.view.getOverlayPane());c=c.innerNode||c.node;null!=d&&!mxClient.IS_IOS&&(a.isEnabled()&&(c.style.cursor="pointer"),mxEvent.addListener(c,"click",d));if(f){var e=null;mxEvent.addGestureListeners(c,function(d){e=new mxPoint(mxEvent.getClientX(d),mxEvent.getClientY(d));
a.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(d,b));mxEvent.consume(d)},function(d){a.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(d,b))},function(d){a.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(d,b));mxEvent.consume(d)});null!=d&&mxClient.IS_IOS&&c.addEventListener("touchend",function(b){if(null!=e){var c=a.tolerance;Math.abs(e.x-mxEvent.getClientX(b))<c&&Math.abs(e.y-mxEvent.getClientY(b))<c&&(d.call(d,b),mxEvent.consume(b))}},!0)}return c};
mxCellRenderer.prototype.isShapeEvent=function(b,c){return!0};mxCellRenderer.prototype.isLabelEvent=function(b,c){return!0};
mxCellRenderer.prototype.installListeners=function(b){var c=b.view.graph,f=function(d){var a=b;if(c.dialect!=mxConstants.DIALECT_SVG&&"IMG"==mxEvent.getSource(d).nodeName||mxClient.IS_TOUCH)a=mxEvent.getClientX(d),d=mxEvent.getClientY(d),d=mxUtils.convertPoint(c.container,a,d),a=c.view.getState(c.getCellAt(d.x,d.y));return a};mxEvent.addGestureListeners(b.shape.node,mxUtils.bind(this,function(d){this.isShapeEvent(b,d)&&c.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(d,b))}),mxUtils.bind(this,
function(d){this.isShapeEvent(b,d)&&c.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(d,f(d)))}),mxUtils.bind(this,function(d){this.isShapeEvent(b,d)&&c.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(d,f(d)))}));c.nativeDblClickEnabled&&mxEvent.addListener(b.shape.node,"dblclick",mxUtils.bind(this,function(d){this.isShapeEvent(b,d)&&(c.dblClick(d,b.cell),mxEvent.consume(d))}))};
mxCellRenderer.prototype.redrawLabel=function(b,c){var f=this.getLabelValue(b);if(null==b.text&&null!=f&&(mxUtils.isNode(f)||0<f.length))this.createLabel(b,f);else if(null!=b.text&&(null==f||0==f.length))b.text.destroy(),b.text=null;if(null!=b.text){var d=b.view.graph;c&&(null!=b.text.lastValue&&this.isTextShapeInvalid(b,b.text)&&(b.text.lastValue=null),b.text.resetStyles(),b.text.apply(b),b.text.opacity=mxUtils.getValue(b.style,mxConstants.STYLE_TEXT_OPACITY,100));var a=this.getLabelBounds(b),e=
d.isWrapping(b.cell),d=d.isLabelClipped(b.cell),g=b.view.graph.isHtmlLabel(b.cell)||null!=f&&mxUtils.isNode(f)?mxConstants.DIALECT_STRICTHTML:b.view.graph.dialect,k=b.style[mxConstants.STYLE_OVERFLOW]||"visible";if(c||b.text.value!=f||b.text.isWrapping!=e||b.text.overflow!=k||b.text.isClipping!=d||b.text.scale!=this.getTextScale(b)||b.text.dialect!=g||!b.text.bounds.equals(a))b.text.dialect=g,b.text.value=f,b.text.bounds=a,b.text.scale=this.getTextScale(b),b.text.wrap=e,b.text.clipped=d,b.text.overflow=
k,f=b.text.node.style.visibility,this.redrawLabelShape(b.text),b.text.node.style.visibility=f}};
mxCellRenderer.prototype.isTextShapeInvalid=function(b,c){function f(d,a,e){return c[d]!=(b.style[a]||e)}return f("fontStyle",mxConstants.STYLE_FONTSTYLE,mxConstants.DEFAULT_FONTSTYLE)||f("family",mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY)||f("size",mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)||f("color",mxConstants.STYLE_FONTCOLOR,"black")||f("align",mxConstants.STYLE_ALIGN,"")||f("valign",mxConstants.STYLE_VERTICAL_ALIGN,"")||f("spacing",mxConstants.STYLE_SPACING,2)||
f("spacingTop",mxConstants.STYLE_SPACING_TOP,2)||f("spacingRight",mxConstants.STYLE_SPACING_RIGHT,2)||f("spacingBottom",mxConstants.STYLE_SPACING_BOTTOM,2)||f("spacingLeft",mxConstants.STYLE_SPACING_LEFT,2)||f("horizontal",mxConstants.STYLE_HORIZONTAL,!0)||f("background",mxConstants.STYLE_LABEL_BACKGROUNDCOLOR)||f("border",mxConstants.STYLE_LABEL_BORDERCOLOR)||f("opacity",mxConstants.STYLE_TEXT_OPACITY,100)||f("textDirection",mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION)};
mxCellRenderer.prototype.redrawLabelShape=function(b){b.redraw()};mxCellRenderer.prototype.getTextScale=function(b){return b.view.scale};
mxCellRenderer.prototype.getLabelBounds=function(b){var c=b.view.graph,f=b.view.scale,d=c.getModel().isEdge(b.cell),a=new mxRectangle(b.absoluteOffset.x,b.absoluteOffset.y);if(d){var e=b.text.getSpacing();a.x+=e.x*f;a.y+=e.y*f;c=c.getCellGeometry(b.cell);null!=c&&(a.width=Math.max(0,c.width*f),a.height=Math.max(0,c.height*f))}else b.text.isPaintBoundsInverted()&&(c=a.x,a.x=a.y,a.y=c),a.x+=b.x,a.y+=b.y,a.width=Math.max(1,b.width),a.height=Math.max(1,b.height),c=mxUtils.getValue(b.style,mxConstants.STYLE_STROKECOLOR,
mxConstants.NONE),c!=mxConstants.NONE&&""!=c&&(e=parseFloat(mxUtils.getValue(b.style,mxConstants.STYLE_STROKEWIDTH,1))*f,c=1+Math.floor((e-1)/2),e=Math.floor(e+1),a.x+=c,a.y+=c,a.width-=e,a.height-=e);b.text.isPaintBoundsInverted()&&(c=(b.width-b.height)/2,a.x+=c,a.y-=c,c=a.width,a.width=a.height,a.height=c);null!=b.shape&&(c=mxUtils.getValue(b.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),e=mxUtils.getValue(b.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),
c==mxConstants.ALIGN_CENTER&&e==mxConstants.ALIGN_MIDDLE&&(a=b.shape.getLabelBounds(a)));c=mxUtils.getValue(b.style,mxConstants.STYLE_LABEL_WIDTH,null);null!=c&&(a.width=parseFloat(c)*f);d||this.rotateLabelBounds(b,a);return a};
mxCellRenderer.prototype.rotateLabelBounds=function(b,c){c.y-=b.text.margin.y*c.height;c.x-=b.text.margin.x*c.width;if(!this.legacySpacing||"fill"!=b.style[mxConstants.STYLE_OVERFLOW]&&"width"!=b.style[mxConstants.STYLE_OVERFLOW]){var f=b.view.scale,d=b.text.getSpacing();c.x+=d.x*f;c.y+=d.y*f;var d=mxUtils.getValue(b.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),a=mxUtils.getValue(b.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),e=mxUtils.getValue(b.style,
mxConstants.STYLE_LABEL_WIDTH,null);c.width=Math.max(0,c.width-(d==mxConstants.ALIGN_CENTER&&null==e?b.text.spacingLeft*f+b.text.spacingRight*f:0));c.height=Math.max(0,c.height-(a==mxConstants.ALIGN_MIDDLE?b.text.spacingTop*f+b.text.spacingBottom*f:0))}a=b.text.getTextRotation();if(0!=a&&null!=b&&b.view.graph.model.isVertex(b.cell)&&(f=b.getCenterX(),d=b.getCenterY(),c.x!=f||c.y!=d))a*=Math.PI/180,pt=mxUtils.getRotatedPoint(new mxPoint(c.x,c.y),Math.cos(a),Math.sin(a),new mxPoint(f,d)),c.x=pt.x,c.y=
pt.y};
mxCellRenderer.prototype.redrawCellOverlays=function(b,c){this.createCellOverlays(b);if(null!=b.overlays){var f=mxUtils.mod(mxUtils.getValue(b.style,mxConstants.STYLE_ROTATION,0),90),d=mxUtils.toRadians(f),a=Math.cos(d),e=Math.sin(d);b.overlays.visit(function(d,k){var l=k.overlay.getBounds(b);if(!b.view.graph.getModel().isEdge(b.cell)&&null!=b.shape&&0!=f){var m=l.getCenterX(),n=l.getCenterY(),n=mxUtils.getRotatedPoint(new mxPoint(m,n),a,e,new mxPoint(b.getCenterX(),b.getCenterY())),m=n.x,n=n.y;l.x=
Math.round(m-l.width/2);l.y=Math.round(n-l.height/2)}if(c||null==k.bounds||k.scale!=b.view.scale||!k.bounds.equals(l))k.bounds=l,k.scale=b.view.scale,k.redraw()})}};
mxCellRenderer.prototype.redrawControl=function(b,c){var f=b.view.graph.getFoldingImage(b);if(null!=b.control&&null!=f){var f=this.getControlBounds(b,f.width,f.height),d=this.legacyControlPosition?mxUtils.getValue(b.style,mxConstants.STYLE_ROTATION,0):b.shape.getTextRotation(),a=b.view.scale;if(c||b.control.scale!=a||!b.control.bounds.equals(f)||b.control.rotation!=d)b.control.rotation=d,b.control.bounds=f,b.control.scale=a,b.control.redraw()}};
mxCellRenderer.prototype.getControlBounds=function(b,c,f){if(null!=b.control){var d=b.view.scale,a=b.getCenterX(),e=b.getCenterY();if(!b.view.graph.getModel().isEdge(b.cell)&&(a=b.x+c*d,e=b.y+f*d,null!=b.shape)){var g=b.shape.getShapeRotation();if(this.legacyControlPosition)g=mxUtils.getValue(b.style,mxConstants.STYLE_ROTATION,0);else if(b.shape.isPaintBoundsInverted())var k=(b.width-b.height)/2,a=a+k,e=e-k;0!=g&&(k=mxUtils.toRadians(g),g=Math.cos(k),k=Math.sin(k),e=mxUtils.getRotatedPoint(new mxPoint(a,
e),g,k,new mxPoint(b.getCenterX(),b.getCenterY())),a=e.x,e=e.y)}return b.view.graph.getModel().isEdge(b.cell),new mxRectangle(Math.round(a-c/2*d),Math.round(e-f/2*d),Math.round(c*d),Math.round(f*d))}return null};
mxCellRenderer.prototype.insertStateAfter=function(b,c,f){for(var d=this.getShapesForState(b),a=0;a<d.length;a++)if(null!=d[a]&&null!=d[a].node){var e=d[a].node.parentNode!=b.view.getDrawPane()&&d[a].node.parentNode!=b.view.getOverlayPane(),g=e?f:c;if(null!=g&&g.nextSibling!=d[a].node)null==g.nextSibling?g.parentNode.appendChild(d[a].node):g.parentNode.insertBefore(d[a].node,g.nextSibling);else if(null==g)if(d[a].node.parentNode==b.view.graph.container){for(g=b.view.canvas;null!=g&&g.parentNode!=
b.view.graph.container;)g=g.parentNode;null!=g&&null!=g.nextSibling?g.nextSibling!=d[a].node&&d[a].node.parentNode.insertBefore(d[a].node,g.nextSibling):d[a].node.parentNode.appendChild(d[a].node)}else null!=d[a].node.parentNode.firstChild&&d[a].node.parentNode.firstChild!=d[a].node&&d[a].node.parentNode.insertBefore(d[a].node,d[a].node.parentNode.firstChild);e?f=d[a].node:c=d[a].node}return[c,f]};mxCellRenderer.prototype.getShapesForState=function(b){return[b.shape,b.text,b.control]};
mxCellRenderer.prototype.redraw=function(b,c,f){c=this.redrawShape(b,c,f);if(null!=b.shape&&(null==f||f))this.redrawLabel(b,c),this.redrawCellOverlays(b,c),this.redrawControl(b,c)};
mxCellRenderer.prototype.redrawShape=function(b,c,f){var d=b.view.graph.model,a=!1;null!=b.shape&&null!=b.shape.style&&null!=b.style&&b.shape.style[mxConstants.STYLE_SHAPE]!=b.style[mxConstants.STYLE_SHAPE]&&(b.shape.destroy(),b.shape=null);null==b.shape&&null!=b.view.graph.container&&b.cell!=b.view.currentRoot&&(d.isVertex(b.cell)||d.isEdge(b.cell))?(b.shape=this.createShape(b),null!=b.shape&&(b.shape.antiAlias=this.antiAlias,this.createIndicatorShape(b),this.initializeShape(b),this.createCellOverlays(b),
this.installListeners(b),b.view.graph.selectionCellsHandler.updateHandler(b))):null!=b.shape&&!mxUtils.equalEntries(b.shape.style,b.style)&&(b.shape.resetStyles(),this.configureShape(b),b.view.graph.selectionCellsHandler.updateHandler(b),c=!0);if(null!=b.shape&&(this.createControl(b),c||null==b.shape.bounds||b.shape.scale!=b.view.scale||null==b.absolutePoints&&!b.shape.bounds.equals(b)||null!=b.absolutePoints&&!mxUtils.equalPoints(b.shape.points,b.absolutePoints)))null!=b.absolutePoints?(b.shape.points=
b.absolutePoints.slice(),b.shape.bounds=null):(b.shape.points=null,b.shape.bounds=new mxRectangle(b.x,b.y,b.width,b.height)),b.shape.scale=b.view.scale,null==f||f?b.shape.redraw():b.shape.updateBoundingBox(),a=!0;return a};mxCellRenderer.prototype.destroy=function(b){null!=b.shape&&(null!=b.text&&(b.text.destroy(),b.text=null),null!=b.overlays&&(b.overlays.visit(function(b,f){f.destroy()}),b.overlays=null),null!=b.control&&(b.control.destroy(),b.control=null),b.shape.destroy(),b.shape=null)};
var mxEdgeStyle={EntityRelation:function(b,c,f,d,a){var e=b.view,g=e.graph;d=mxUtils.getValue(b.style,mxConstants.STYLE_SEGMENT,mxConstants.ENTITY_SEGMENT)*e.scale;var k=b.absolutePoints,l=k[0],m=k[k.length-1],k=!1;if(null!=l)c=new mxCellState,c.x=l.x,c.y=l.y;else if(null!=c){var n=mxUtils.getPortConstraints(c,b,!0,mxConstants.DIRECTION_MASK_NONE);n!=mxConstants.DIRECTION_MASK_NONE&&n!=mxConstants.DIRECTION_MASK_WEST+mxConstants.DIRECTION_MASK_EAST?k=n==mxConstants.DIRECTION_MASK_WEST:(l=g.getCellGeometry(c.cell),
l.relative?k=0.5>=l.x:null!=f&&(k=f.x+f.width<c.x))}else return;l=!0;null!=m?(f=new mxCellState,f.x=m.x,f.y=m.y):null!=f&&(n=mxUtils.getPortConstraints(f,b,!1,mxConstants.DIRECTION_MASK_NONE),n!=mxConstants.DIRECTION_MASK_NONE&&n!=mxConstants.DIRECTION_MASK_WEST+mxConstants.DIRECTION_MASK_EAST?l=n==mxConstants.DIRECTION_MASK_WEST:(b=g.getCellGeometry(f.cell),b.relative?l=0.5>=b.x:null!=c&&(l=c.x+c.width<f.x)));null!=c&&null!=f&&(b=k?c.x:c.x+c.width,c=e.getRoutingCenterY(c),g=l?f.x:f.x+f.width,f=e.getRoutingCenterY(f),
e=new mxPoint(b+(k?-d:d),c),m=new mxPoint(g+(l?-d:d),f),k==l?(d=k?Math.min(b,g)-d:Math.max(b,g)+d,a.push(new mxPoint(d,c)),a.push(new mxPoint(d,f))):(e.x<m.x==k?(d=c+(f-c)/2,a.push(e),a.push(new mxPoint(e.x,d)),a.push(new mxPoint(m.x,d))):a.push(e),a.push(m)))},Loop:function(b,c,f,d,a){f=b.absolutePoints;var e=f[f.length-1];if(null!=f[0]&&null!=e){if(null!=d&&0<d.length)for(c=0;c<d.length;c++)f=d[c],f=b.view.transformControlPoint(b,f),a.push(new mxPoint(f.x,f.y))}else if(null!=c){var e=b.view,g=e.graph;
f=null!=d&&0<d.length?d[0]:null;null!=f&&(f=e.transformControlPoint(b,f),mxUtils.contains(c,f.x,f.y)&&(f=null));var k=d=0,l=0,m=0,g=mxUtils.getValue(b.style,mxConstants.STYLE_SEGMENT,g.gridSize)*e.scale;b=mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_WEST);b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_SOUTH?(d=e.getRoutingCenterX(c),k=g):(l=e.getRoutingCenterY(c),m=g);null==f||f.x<c.x||f.x>c.x+c.width?null!=f?(d=f.x,m=Math.max(Math.abs(l-f.y),m)):b==mxConstants.DIRECTION_NORTH?
l=c.y-2*k:b==mxConstants.DIRECTION_SOUTH?l=c.y+c.height+2*k:d=b==mxConstants.DIRECTION_EAST?c.x-2*m:c.x+c.width+2*m:null!=f&&(d=e.getRoutingCenterX(c),k=Math.max(Math.abs(d-f.x),m),l=f.y,m=0);a.push(new mxPoint(d-k,l-m));a.push(new mxPoint(d+k,l+m))}},ElbowConnector:function(b,c,f,d,a){var e=null!=d&&0<d.length?d[0]:null,g=!1,k=!1;if(null!=c&&null!=f)if(null!=e)var l=Math.min(c.x,f.x),m=Math.max(c.x+c.width,f.x+f.width),k=Math.min(c.y,f.y),n=Math.max(c.y+c.height,f.y+f.height),e=b.view.transformControlPoint(b,
e),g=e.y<k||e.y>n,k=e.x<l||e.x>m;else l=Math.max(c.x,f.x),m=Math.min(c.x+c.width,f.x+f.width),(g=l==m)||(k=Math.max(c.y,f.y),n=Math.min(c.y+c.height,f.y+f.height),k=k==n);!k&&(g||b.style[mxConstants.STYLE_ELBOW]==mxConstants.ELBOW_VERTICAL)?mxEdgeStyle.TopToBottom(b,c,f,d,a):mxEdgeStyle.SideToSide(b,c,f,d,a)},SideToSide:function(b,c,f,d,a){var e=b.view;d=null!=d&&0<d.length?d[0]:null;var g=b.absolutePoints,k=g[0],g=g[g.length-1];null!=d&&(d=e.transformControlPoint(b,d));null!=k&&(c=new mxCellState,
c.x=k.x,c.y=k.y);null!=g&&(f=new mxCellState,f.x=g.x,f.y=g.y);null!=c&&null!=f&&(b=Math.max(c.x,f.x),k=Math.min(c.x+c.width,f.x+f.width),b=null!=d?d.x:Math.round(k+(b-k)/2),k=e.getRoutingCenterY(c),e=e.getRoutingCenterY(f),null!=d&&(d.y>=c.y&&d.y<=c.y+c.height&&(k=d.y),d.y>=f.y&&d.y<=f.y+f.height&&(e=d.y)),!mxUtils.contains(f,b,k)&&!mxUtils.contains(c,b,k)&&a.push(new mxPoint(b,k)),!mxUtils.contains(f,b,e)&&!mxUtils.contains(c,b,e)&&a.push(new mxPoint(b,e)),1==a.length&&(null!=d?!mxUtils.contains(f,
b,d.y)&&!mxUtils.contains(c,b,d.y)&&a.push(new mxPoint(b,d.y)):(e=Math.max(c.y,f.y),c=Math.min(c.y+c.height,f.y+f.height),a.push(new mxPoint(b,e+(c-e)/2)))))},TopToBottom:function(b,c,f,d,a){var e=b.view;d=null!=d&&0<d.length?d[0]:null;var g=b.absolutePoints,k=g[0],g=g[g.length-1];null!=d&&(d=e.transformControlPoint(b,d));null!=k&&(c=new mxCellState,c.x=k.x,c.y=k.y);null!=g&&(f=new mxCellState,f.x=g.x,f.y=g.y);null!=c&&null!=f&&(k=Math.max(c.y,f.y),g=Math.min(c.y+c.height,f.y+f.height),b=e.getRoutingCenterX(c),
null!=d&&d.x>=c.x&&d.x<=c.x+c.width&&(b=d.x),k=null!=d?d.y:Math.round(g+(k-g)/2),!mxUtils.contains(f,b,k)&&!mxUtils.contains(c,b,k)&&a.push(new mxPoint(b,k)),b=null!=d&&d.x>=f.x&&d.x<=f.x+f.width?d.x:e.getRoutingCenterX(f),!mxUtils.contains(f,b,k)&&!mxUtils.contains(c,b,k)&&a.push(new mxPoint(b,k)),1==a.length&&(null!=d&&1==a.length?!mxUtils.contains(f,d.x,k)&&!mxUtils.contains(c,d.x,k)&&a.push(new mxPoint(d.x,k)):(e=Math.max(c.x,f.x),c=Math.min(c.x+c.width,f.x+f.width),a.push(new mxPoint(e+(c-e)/
2,k)))))},SegmentConnector:function(b,c,f,d,a){function e(b){if(null==l||Math.abs(l.x-b.x)>=k||Math.abs(l.y-b.y)>=k)a.push(b),l=b;return l}var g=b.absolutePoints,k=Math.max(1,b.view.scale),l=0<a.length?a[0]:null,m=!0,n=null,p=g[0];null==p&&null!=c?p=new mxPoint(b.view.getRoutingCenterX(c),b.view.getRoutingCenterY(c)):null!=p&&(p=p.clone());p.x=Math.round(p.x);p.y=Math.round(p.y);var r=g.length-1;if(null!=d&&0<d.length){for(var n=[],s=0;s<d.length;s++){var q=b.view.transformControlPoint(b,d[s]);null!=
q&&(q.x=Math.round(q.x),q.y=Math.round(q.y),n.push(q))}if(0==n.length)return;d=n;null!=p&&null!=d[0]&&(Math.abs(d[0].x-p.x)<k&&(d[0].x=p.x),Math.abs(d[0].y-p.y)<k&&(d[0].y=p.y));q=g[r];null!=q&&null!=d[d.length-1]&&(Math.abs(d[d.length-1].x-q.x)<k&&(d[d.length-1].x=q.x),Math.abs(d[d.length-1].y-q.y)<k&&(d[d.length-1].y=q.y));var n=d[0],t=c,u=g[0],v=!1,z=!1,v=n;null!=u&&(u.x=Math.round(u.x),u.y=Math.round(u.y),t=null);for(s=0;2>s;s++){var y=null!=u&&u.x==v.x,x=null!=u&&u.y==v.y,D=null!=t&&v.y>=t.y&&
v.y<=t.y+t.height,t=null!=t&&v.x>=t.x&&v.x<=t.x+t.width,v=x||null==u&&D,z=y||null==u&&t;if(!(0==s&&(v&&z||y&&x))){if(null!=u&&!x&&!y&&(D||t)){m=D?!1:!0;break}if(z||v){m=v;1==s&&(m=0==d.length%2?v:z);break}}t=f;u=g[r];null!=u&&(u.x=Math.round(u.x),u.y=Math.round(u.y),t=null);v=d[d.length-1];y&&x&&(d=d.slice(1))}m&&(null!=g[0]&&g[0].y!=n.y||null==g[0]&&null!=c&&(n.y<c.y||n.y>c.y+c.height))?e(new mxPoint(p.x,n.y)):!m&&(null!=g[0]&&g[0].x!=n.x||null==g[0]&&null!=c&&(n.x<c.x||n.x>c.x+c.width))&&e(new mxPoint(n.x,
p.y));m?p.y=n.y:p.x=n.x;for(s=0;s<d.length;s++)m=!m,n=d[s],m?p.y=n.y:p.x=n.x,e(p.clone())}else n=p,m=!0;p=g[r];null==p&&null!=f&&(p=new mxPoint(b.view.getRoutingCenterX(f),b.view.getRoutingCenterY(f)));null!=p&&(p.x=Math.round(p.x),p.y=Math.round(p.y),null!=n&&(m&&(null!=g[r]&&g[r].y!=n.y||null==g[r]&&null!=f&&(n.y<f.y||n.y>f.y+f.height))?e(new mxPoint(p.x,n.y)):!m&&(null!=g[r]&&g[r].x!=n.x||null==g[r]&&null!=f&&(n.x<f.x||n.x>f.x+f.width))&&e(new mxPoint(n.x,p.y))));if(null==g[0]&&null!=c)for(;1<
a.length&&null!=a[1]&&mxUtils.contains(c,a[1].x,a[1].y);)a.splice(1,1);if(null==g[r]&&null!=f)for(;1<a.length&&null!=a[a.length-1]&&mxUtils.contains(f,a[a.length-1].x,a[a.length-1].y);)a.splice(a.length-1,1);null!=q&&null!=a[a.length-1]&&Math.abs(q.x-a[a.length-1].x)<k&&Math.abs(q.y-a[a.length-1].y)<k&&(a.splice(a.length-1,1),null!=a[a.length-1]&&(Math.abs(a[a.length-1].x-q.x)<k&&(a[a.length-1].x=q.x),Math.abs(a[a.length-1].y-q.y)<k&&(a[a.length-1].y=q.y)))},orthBuffer:10,orthPointsFallback:!0,dirVectors:[[-1,
0],[0,-1],[1,0],[0,1],[-1,0],[0,-1],[1,0]],wayPoints1:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],routePatterns:[[[513,2308,2081,2562],[513,1090,514,2184,2114,2561],[513,1090,514,2564,2184,2562],[513,2308,2561,1090,514,2568,2308]],[[514,1057,513,2308,2081,2562],[514,2184,2114,2561],[514,2184,2562,1057,513,2564,2184],[514,1057,513,2568,2308,2561]],[[1090,514,1057,513,2308,2081,2562],[2114,2561],[1090,2562,1057,513,2564,2184],[1090,514,1057,513,2308,2561,2568]],[[2081,
2562],[1057,513,1090,514,2184,2114,2561],[1057,513,1090,514,2184,2562,2564],[1057,2561,1090,514,2568,2308]]],inlineRoutePatterns:[[null,[2114,2568],null,null],[null,[514,2081,2114,2568],null,null],[null,[2114,2561],null,null],[[2081,2562],[1057,2114,2568],[2184,2562],null]],vertexSeperations:[],limits:[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]],LEFT_MASK:32,TOP_MASK:64,RIGHT_MASK:128,BOTTOM_MASK:256,LEFT:1,TOP:2,RIGHT:4,BOTTOM:8,SIDE_MASK:480,CENTER_MASK:512,SOURCE_MASK:1024,TARGET_MASK:2048,VERTEX_MASK:3072,
getJettySize:function(b,c,f,d,a){c=mxUtils.getValue(b.style,a?mxConstants.STYLE_SOURCE_JETTY_SIZE:mxConstants.STYLE_TARGET_JETTY_SIZE,mxUtils.getValue(b.style,mxConstants.STYLE_JETTY_SIZE,mxEdgeStyle.orthBuffer));"auto"==c&&(mxUtils.getValue(b.style,a?mxConstants.STYLE_STARTARROW:mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE?(b=mxUtils.getNumber(b.style,a?mxConstants.STYLE_STARTSIZE:mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE),c=Math.max(2,Math.ceil((b+mxEdgeStyle.orthBuffer)/
mxEdgeStyle.orthBuffer))*mxEdgeStyle.orthBuffer):c=2*mxEdgeStyle.orthBuffer);return c},OrthConnector:function(b,c,f,d,a){var e=b.view.graph,g=null==c?!1:e.getModel().isEdge(c.cell),k=null==f?!1:e.getModel().isEdge(f.cell),e=b.absolutePoints,l=e[0],m=e[e.length-1],n=null!=c?c.x:l.x,p=null!=c?c.y:l.y,r=null!=c?c.width:0,s=null!=c?c.height:0,q=null!=f?f.x:m.x,t=null!=f?f.y:m.y,u=null!=f?f.width:0,v=null!=f?f.height:0,e=b.view.scale*mxEdgeStyle.getJettySize(b,c,f,d,!0),z=b.view.scale*mxEdgeStyle.getJettySize(b,
c,f,d,!1);null!=c&&f==c&&(e=z=Math.max(e,z));var y=z+e,x=!1;if(null!=l&&null!=m)var x=m.x-l.x,D=m.y-l.y,x=x*x+D*D<y*y;if(x||mxEdgeStyle.orthPointsFallback&&null!=d&&0<d.length||g||k)mxEdgeStyle.SegmentConnector(b,c,f,d,a);else{d=[mxConstants.DIRECTION_MASK_ALL,mxConstants.DIRECTION_MASK_ALL];x=0;null!=c&&(d[0]=mxUtils.getPortConstraints(c,b,!0,mxConstants.DIRECTION_MASK_ALL),x=mxUtils.getValue(c.style,mxConstants.STYLE_ROTATION,0),0!=x&&(x=mxUtils.getBoundingBox(new mxRectangle(n,p,r,s),x),n=x.x,
p=x.y,r=x.width,s=x.height));null!=f&&(d[1]=mxUtils.getPortConstraints(f,b,!1,mxConstants.DIRECTION_MASK_ALL),x=mxUtils.getValue(f.style,mxConstants.STYLE_ROTATION,0),0!=x&&(x=mxUtils.getBoundingBox(new mxRectangle(q,t,u,v),x),q=x.x,t=x.y,u=x.width,v=x.height));n=Math.round(10*n)/10;p=Math.round(10*p)/10;r=Math.round(10*r)/10;s=Math.round(10*s)/10;q=Math.round(10*q)/10;t=Math.round(10*t)/10;u=Math.round(10*u)/10;v=Math.round(10*v)/10;b=[0,0];n=[[n,p,r,s],[q,t,u,v]];z=[e,z];for(x=0;2>x;x++)mxEdgeStyle.limits[x][1]=
n[x][0]-z[x],mxEdgeStyle.limits[x][2]=n[x][1]-z[x],mxEdgeStyle.limits[x][4]=n[x][0]+n[x][2]+z[x],mxEdgeStyle.limits[x][8]=n[x][1]+n[x][3]+z[x];z=n[0][1]+n[0][3]/2;p=n[1][1]+n[1][3]/2;x=n[0][0]+n[0][2]/2-(n[1][0]+n[1][2]/2);D=z-p;z=0;0>x?z=0>D?2:1:0>=D&&(z=3,0==x&&(z=2));p=null;null!=c&&(p=l);c=[[0.5,0.5],[0.5,0.5]];for(x=0;2>x;x++)null!=p&&(c[x][0]=(p.x-n[x][0])/n[x][2],1>=Math.abs(p.x-n[x][0])?b[x]=mxConstants.DIRECTION_MASK_WEST:1>=Math.abs(p.x-n[x][0]-n[x][2])&&(b[x]=mxConstants.DIRECTION_MASK_EAST),
c[x][1]=(p.y-n[x][1])/n[x][3],1>=Math.abs(p.y-n[x][1])?b[x]=mxConstants.DIRECTION_MASK_NORTH:1>=Math.abs(p.y-n[x][1]-n[x][3])&&(b[x]=mxConstants.DIRECTION_MASK_SOUTH)),p=null,null!=f&&(p=m);x=n[0][1]-(n[1][1]+n[1][3]);m=n[0][0]-(n[1][0]+n[1][2]);p=n[1][1]-(n[0][1]+n[0][3]);r=n[1][0]-(n[0][0]+n[0][2]);mxEdgeStyle.vertexSeperations[1]=Math.max(m-y,0);mxEdgeStyle.vertexSeperations[2]=Math.max(x-y,0);mxEdgeStyle.vertexSeperations[4]=Math.max(p-y,0);mxEdgeStyle.vertexSeperations[3]=Math.max(r-y,0);y=[];
f=[];l=[];f[0]=m>=r?mxConstants.DIRECTION_MASK_WEST:mxConstants.DIRECTION_MASK_EAST;l[0]=x>=p?mxConstants.DIRECTION_MASK_NORTH:mxConstants.DIRECTION_MASK_SOUTH;f[1]=mxUtils.reversePortConstraints(f[0]);l[1]=mxUtils.reversePortConstraints(l[0]);m=m>=r?m:r;p=x>=p?x:p;r=[[0,0],[0,0]];s=!1;for(x=0;2>x;x++)0==b[x]&&(0==(f[x]&d[x])&&(f[x]=mxUtils.reversePortConstraints(f[x])),0==(l[x]&d[x])&&(l[x]=mxUtils.reversePortConstraints(l[x])),r[x][0]=l[x],r[x][1]=f[x]);0<p&&0<m&&(0<(f[0]&d[0])&&0<(l[1]&d[1])?(r[0][0]=
f[0],r[0][1]=l[0],r[1][0]=l[1],r[1][1]=f[1],s=!0):0<(l[0]&d[0])&&0<(f[1]&d[1])&&(r[0][0]=l[0],r[0][1]=f[0],r[1][0]=f[1],r[1][1]=l[1],s=!0));0<p&&!s&&(r[0][0]=l[0],r[0][1]=f[0],r[1][0]=l[1],r[1][1]=f[1],s=!0);0<m&&!s&&(r[0][0]=f[0],r[0][1]=l[0],r[1][0]=f[1],r[1][1]=l[1]);for(x=0;2>x;x++)if(0==b[x]&&(0==(r[x][0]&d[x])&&(r[x][0]=r[x][1]),y[x]=r[x][0]&d[x],y[x]|=(r[x][1]&d[x])<<8,y[x]|=(r[1-x][x]&d[x])<<16,y[x]|=(r[1-x][1-x]&d[x])<<24,0==(y[x]&15)&&(y[x]<<=8),0==(y[x]&3840)&&(y[x]=y[x]&15|y[x]>>8),0==
(y[x]&983040)&&(y[x]=y[x]&65535|(y[x]&251658240)>>8),b[x]=y[x]&15,d[x]==mxConstants.DIRECTION_MASK_WEST||d[x]==mxConstants.DIRECTION_MASK_NORTH||d[x]==mxConstants.DIRECTION_MASK_EAST||d[x]==mxConstants.DIRECTION_MASK_SOUTH))b[x]=d[x];d=b[0]==mxConstants.DIRECTION_MASK_EAST?3:b[0];y=b[1]==mxConstants.DIRECTION_MASK_EAST?3:b[1];d-=z;y-=z;1>d&&(d+=4);1>y&&(y+=4);d=mxEdgeStyle.routePatterns[d-1][y-1];mxEdgeStyle.wayPoints1[0][0]=n[0][0];mxEdgeStyle.wayPoints1[0][1]=n[0][1];switch(b[0]){case mxConstants.DIRECTION_MASK_WEST:mxEdgeStyle.wayPoints1[0][0]-=
e;mxEdgeStyle.wayPoints1[0][1]+=c[0][1]*n[0][3];break;case mxConstants.DIRECTION_MASK_SOUTH:mxEdgeStyle.wayPoints1[0][0]+=c[0][0]*n[0][2];mxEdgeStyle.wayPoints1[0][1]+=n[0][3]+e;break;case mxConstants.DIRECTION_MASK_EAST:mxEdgeStyle.wayPoints1[0][0]+=n[0][2]+e;mxEdgeStyle.wayPoints1[0][1]+=c[0][1]*n[0][3];break;case mxConstants.DIRECTION_MASK_NORTH:mxEdgeStyle.wayPoints1[0][0]+=c[0][0]*n[0][2],mxEdgeStyle.wayPoints1[0][1]-=e}e=0;f=y=0<(b[0]&(mxConstants.DIRECTION_MASK_EAST|mxConstants.DIRECTION_MASK_WEST))?
0:1;for(x=0;x<d.length;x++)l=d[x]&15,q=l==mxConstants.DIRECTION_MASK_EAST?3:l,q+=z,4<q&&(q-=4),m=mxEdgeStyle.dirVectors[q-1],l=0<q%2?0:1,l!=y&&(e++,mxEdgeStyle.wayPoints1[e][0]=mxEdgeStyle.wayPoints1[e-1][0],mxEdgeStyle.wayPoints1[e][1]=mxEdgeStyle.wayPoints1[e-1][1]),t=0<(d[x]&mxEdgeStyle.TARGET_MASK),s=0<(d[x]&mxEdgeStyle.SOURCE_MASK),p=(d[x]&mxEdgeStyle.SIDE_MASK)>>5,p<<=z,15<p&&(p>>=4),r=0<(d[x]&mxEdgeStyle.CENTER_MASK),(s||t)&&9>p?(s=s?0:1,q=r&&0==l?n[s][0]+c[s][0]*n[s][2]:r?n[s][1]+c[s][1]*
n[s][3]:mxEdgeStyle.limits[s][p],0==l?(p=(q-mxEdgeStyle.wayPoints1[e][0])*m[0],0<p&&(mxEdgeStyle.wayPoints1[e][0]+=m[0]*p)):(p=(q-mxEdgeStyle.wayPoints1[e][1])*m[1],0<p&&(mxEdgeStyle.wayPoints1[e][1]+=m[1]*p))):r&&(mxEdgeStyle.wayPoints1[e][0]+=m[0]*Math.abs(mxEdgeStyle.vertexSeperations[q]/2),mxEdgeStyle.wayPoints1[e][1]+=m[1]*Math.abs(mxEdgeStyle.vertexSeperations[q]/2)),0<e&&mxEdgeStyle.wayPoints1[e][l]==mxEdgeStyle.wayPoints1[e-1][l]?e--:y=l;for(x=0;x<=e&&!(x==e&&((0<(b[1]&(mxConstants.DIRECTION_MASK_EAST|
mxConstants.DIRECTION_MASK_WEST))?0:1)==f?0:1)!=(e+1)%2);x++)a.push(new mxPoint(Math.round(mxEdgeStyle.wayPoints1[x][0]),Math.round(mxEdgeStyle.wayPoints1[x][1])));for(b=1;b<a.length;)null==a[b-1]||null==a[b]||a[b-1].x!=a[b].x||a[b-1].y!=a[b].y?b++:a.splice(b,1)}},getRoutePattern:function(b,c,f,d){var a=b[0]==mxConstants.DIRECTION_MASK_EAST?3:b[0];b=b[1]==mxConstants.DIRECTION_MASK_EAST?3:b[1];a-=c;b-=c;1>a&&(a+=4);1>b&&(b+=4);c=routePatterns[a-1][b-1];if(0==f||0==d)null!=inlineRoutePatterns[a-1][b-
1]&&(c=inlineRoutePatterns[a-1][b-1]);return c}},mxStyleRegistry={values:[],putValue:function(b,c){mxStyleRegistry.values[b]=c},getValue:function(b){return mxStyleRegistry.values[b]},getName:function(b){for(var c in mxStyleRegistry.values)if(mxStyleRegistry.values[c]==b)return c;return null}};mxStyleRegistry.putValue(mxConstants.EDGESTYLE_ELBOW,mxEdgeStyle.ElbowConnector);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_ENTITY_RELATION,mxEdgeStyle.EntityRelation);
mxStyleRegistry.putValue(mxConstants.EDGESTYLE_LOOP,mxEdgeStyle.Loop);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_SIDETOSIDE,mxEdgeStyle.SideToSide);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_TOPTOBOTTOM,mxEdgeStyle.TopToBottom);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_ORTHOGONAL,mxEdgeStyle.OrthConnector);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_SEGMENT,mxEdgeStyle.SegmentConnector);mxStyleRegistry.putValue(mxConstants.PERIMETER_ELLIPSE,mxPerimeter.EllipsePerimeter);
mxStyleRegistry.putValue(mxConstants.PERIMETER_RECTANGLE,mxPerimeter.RectanglePerimeter);mxStyleRegistry.putValue(mxConstants.PERIMETER_RHOMBUS,mxPerimeter.RhombusPerimeter);mxStyleRegistry.putValue(mxConstants.PERIMETER_TRIANGLE,mxPerimeter.TrianglePerimeter);mxStyleRegistry.putValue(mxConstants.PERIMETER_HEXAGON,mxPerimeter.HexagonPerimeter);function mxGraphView(b){this.graph=b;this.translate=new mxPoint;this.graphBounds=new mxRectangle;this.states=new mxDictionary}mxGraphView.prototype=new mxEventSource;
mxGraphView.prototype.constructor=mxGraphView;mxGraphView.prototype.EMPTY_POINT=new mxPoint;mxGraphView.prototype.doneResource="none"!=mxClient.language?"done":"";mxGraphView.prototype.updatingDocumentResource="none"!=mxClient.language?"updatingDocument":"";mxGraphView.prototype.allowEval=!1;mxGraphView.prototype.captureDocumentGesture=!0;mxGraphView.prototype.optimizeVmlReflows=!0;mxGraphView.prototype.rendering=!0;mxGraphView.prototype.graph=null;mxGraphView.prototype.currentRoot=null;
mxGraphView.prototype.graphBounds=null;mxGraphView.prototype.scale=1;mxGraphView.prototype.translate=null;mxGraphView.prototype.updateStyle=!1;mxGraphView.prototype.lastNode=null;mxGraphView.prototype.lastHtmlNode=null;mxGraphView.prototype.lastForegroundNode=null;mxGraphView.prototype.lastForegroundHtmlNode=null;mxGraphView.prototype.getGraphBounds=function(){return this.graphBounds};mxGraphView.prototype.setGraphBounds=function(b){this.graphBounds=b};
mxGraphView.prototype.getBounds=function(b){var c=null;if(null!=b&&0<b.length)for(var f=this.graph.getModel(),d=0;d<b.length;d++)if(f.isVertex(b[d])||f.isEdge(b[d])){var a=this.getState(b[d]);null!=a&&(null==c?c=mxRectangle.fromRectangle(a):c.add(a))}return c};mxGraphView.prototype.setCurrentRoot=function(b){if(this.currentRoot!=b){var c=new mxCurrentRootChange(this,b);c.execute();var f=new mxUndoableEdit(this,!1);f.add(c);this.fireEvent(new mxEventObject(mxEvent.UNDO,"edit",f));this.graph.sizeDidChange()}return b};
mxGraphView.prototype.scaleAndTranslate=function(b,c,f){var d=this.scale,a=new mxPoint(this.translate.x,this.translate.y);if(this.scale!=b||this.translate.x!=c||this.translate.y!=f)this.scale=b,this.translate.x=c,this.translate.y=f,this.isEventsEnabled()&&(this.revalidate(),this.graph.sizeDidChange());this.fireEvent(new mxEventObject(mxEvent.SCALE_AND_TRANSLATE,"scale",b,"previousScale",d,"translate",this.translate,"previousTranslate",a))};mxGraphView.prototype.getScale=function(){return this.scale};
mxGraphView.prototype.setScale=function(b){var c=this.scale;this.scale!=b&&(this.scale=b,this.isEventsEnabled()&&(this.revalidate(),this.graph.sizeDidChange()));this.fireEvent(new mxEventObject(mxEvent.SCALE,"scale",b,"previousScale",c))};mxGraphView.prototype.getTranslate=function(){return this.translate};
mxGraphView.prototype.setTranslate=function(b,c){var f=new mxPoint(this.translate.x,this.translate.y);if(this.translate.x!=b||this.translate.y!=c)this.translate.x=b,this.translate.y=c,this.isEventsEnabled()&&(this.revalidate(),this.graph.sizeDidChange());this.fireEvent(new mxEventObject(mxEvent.TRANSLATE,"translate",this.translate,"previousTranslate",f))};mxGraphView.prototype.refresh=function(){null!=this.currentRoot&&this.clear();this.revalidate()};
mxGraphView.prototype.revalidate=function(){this.invalidate();this.validate()};mxGraphView.prototype.clear=function(b,c,f){var d=this.graph.getModel();b=b||d.getRoot();c=null!=c?c:!1;f=null!=f?f:!0;this.removeState(b);if(f&&(c||b!=this.currentRoot)){f=d.getChildCount(b);for(var a=0;a<f;a++)this.clear(d.getChildAt(b,a),c)}else this.invalidate(b)};
mxGraphView.prototype.invalidate=function(b,c,f){var d=this.graph.getModel();b=b||d.getRoot();c=null!=c?c:!0;f=null!=f?f:!0;var a=this.getState(b);null!=a&&(a.invalid=!0);if(!b.invalidating){b.invalidating=!0;if(c)for(var e=d.getChildCount(b),a=0;a<e;a++){var g=d.getChildAt(b,a);this.invalidate(g,c,f)}if(f){e=d.getEdgeCount(b);for(a=0;a<e;a++)this.invalidate(d.getEdgeAt(b,a),c,f)}delete b.invalidating}};
mxGraphView.prototype.validate=function(b){var c=mxLog.enter("mxGraphView.validate");window.status=mxResources.get(this.updatingDocumentResource)||this.updatingDocumentResource;this.resetValidationState();var f=null;if(this.optimizeVmlReflows&&null!=this.canvas&&null==this.textDiv&&(8==document.documentMode&&!mxClient.IS_EM||mxClient.IS_QUIRKS))this.placeholder=document.createElement("div"),this.placeholder.style.position="absolute",this.placeholder.style.width=this.canvas.clientWidth+"px",this.placeholder.style.height=
this.canvas.clientHeight+"px",this.canvas.parentNode.appendChild(this.placeholder),f=this.drawPane.style.display,this.canvas.style.display="none",this.textDiv=document.createElement("div"),this.textDiv.style.position="absolute",this.textDiv.style.whiteSpace="nowrap",this.textDiv.style.visibility="hidden",this.textDiv.style.display=mxClient.IS_QUIRKS?"inline":"inline-block",this.textDiv.style.zoom="1",document.body.appendChild(this.textDiv);b=this.getBoundingBox(this.validateCellState(this.validateCell(b||
(null!=this.currentRoot?this.currentRoot:this.graph.getModel().getRoot()))));this.setGraphBounds(null!=b?b:this.getEmptyBounds());this.validateBackground();null!=f&&(this.canvas.style.display=f,this.textDiv.parentNode.removeChild(this.textDiv),null!=this.placeholder&&this.placeholder.parentNode.removeChild(this.placeholder),this.textDiv=null);this.resetValidationState();window.status=mxResources.get(this.doneResource)||this.doneResource;mxLog.leave("mxGraphView.validate",c)};
mxGraphView.prototype.getEmptyBounds=function(){return new mxRectangle(this.translate.x*this.scale,this.translate.y*this.scale)};
mxGraphView.prototype.getBoundingBox=function(b,c){var f=null;if(null!=b&&(null!=b.shape&&null!=b.shape.boundingBox&&(f=b.shape.boundingBox.clone()),null!=b.text&&null!=b.text.boundingBox&&(null!=f?f.add(b.text.boundingBox):f=b.text.boundingBox.clone()),null!=c?c:!0))for(var d=this.graph.getModel(),a=d.getChildCount(b.cell),e=0;e<a;e++){var g=this.getBoundingBox(this.getState(d.getChildAt(b.cell,e)));null!=g&&(null==f?f=g:f.add(g))}return f};
mxGraphView.prototype.createBackgroundPageShape=function(b){return new mxRectangleShape(b,"white","black")};mxGraphView.prototype.validateBackground=function(){this.validateBackgroundImage();this.validateBackgroundPage()};
mxGraphView.prototype.validateBackgroundImage=function(){var b=this.graph.getBackgroundImage();if(null!=b){if(null==this.backgroundImage||this.backgroundImage.image!=b.src){null!=this.backgroundImage&&this.backgroundImage.destroy();var c=new mxRectangle(0,0,1,1);this.backgroundImage=new mxImageShape(c,b.src);this.backgroundImage.dialect=this.graph.dialect;this.backgroundImage.init(this.backgroundPane);this.backgroundImage.redraw();8==document.documentMode&&!mxClient.IS_EM&&mxEvent.addGestureListeners(this.backgroundImage.node,
mxUtils.bind(this,function(b){this.graph.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b))}),mxUtils.bind(this,function(b){this.graph.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b))}),mxUtils.bind(this,function(b){this.graph.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b))}))}this.redrawBackgroundImage(this.backgroundImage,b)}else null!=this.backgroundImage&&(this.backgroundImage.destroy(),this.backgroundImage=null)};
mxGraphView.prototype.validateBackgroundPage=function(){if(this.graph.pageVisible){var b=this.getBackgroundPageBounds();null==this.backgroundPageShape?(this.backgroundPageShape=this.createBackgroundPageShape(b),this.backgroundPageShape.scale=this.scale,this.backgroundPageShape.isShadow=!0,this.backgroundPageShape.dialect=this.graph.dialect,this.backgroundPageShape.init(this.backgroundPane),this.backgroundPageShape.redraw(),this.graph.nativeDblClickEnabled&&mxEvent.addListener(this.backgroundPageShape.node,
"dblclick",mxUtils.bind(this,function(b){this.graph.dblClick(b)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(b){this.graph.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b))}),mxUtils.bind(this,function(b){null!=this.graph.tooltipHandler&&this.graph.tooltipHandler.isHideOnHover()&&this.graph.tooltipHandler.hide();this.graph.isMouseDown&&!mxEvent.isConsumed(b)&&this.graph.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b))}),mxUtils.bind(this,function(b){this.graph.fireMouseEvent(mxEvent.MOUSE_UP,
new mxMouseEvent(b))}))):(this.backgroundPageShape.scale=this.scale,this.backgroundPageShape.bounds=b,this.backgroundPageShape.redraw())}else null!=this.backgroundPageShape&&(this.backgroundPageShape.destroy(),this.backgroundPageShape=null)};mxGraphView.prototype.getBackgroundPageBounds=function(){var b=this.graph.pageFormat,c=this.scale*this.graph.pageScale;return new mxRectangle(this.scale*this.translate.x,this.scale*this.translate.y,b.width*c,b.height*c)};
mxGraphView.prototype.redrawBackgroundImage=function(b,c){b.scale=this.scale;b.bounds.x=this.scale*this.translate.x;b.bounds.y=this.scale*this.translate.y;b.bounds.width=this.scale*c.width;b.bounds.height=this.scale*c.height;b.redraw()};
mxGraphView.prototype.validateCell=function(b,c){if(null!=b)if(c=(null!=c?c:!0)&&this.graph.isCellVisible(b),null!=this.getState(b,c)&&!c)this.removeState(b);else for(var f=this.graph.getModel(),d=f.getChildCount(b),a=0;a<d;a++)this.validateCell(f.getChildAt(b,a),c&&(!this.isCellCollapsed(b)||b==this.currentRoot));return b};
mxGraphView.prototype.validateCellState=function(b,c){c=null!=c?c:!0;var f=null;if(null!=b&&(f=this.getState(b),null!=f)){var d=this.graph.getModel();f.invalid&&(f.invalid=!1,null==f.style&&(f.style=this.graph.getCellStyle(f.cell)),b!=this.currentRoot&&this.validateCellState(d.getParent(b),!1),f.setVisibleTerminalState(this.validateCellState(this.getVisibleTerminal(b,!0),!1),!0),f.setVisibleTerminalState(this.validateCellState(this.getVisibleTerminal(b,!1),!1),!1),this.updateCellState(f),b!=this.currentRoot&&
!f.invalid&&this.graph.cellRenderer.redraw(f,!1,this.isRendering()));if(c&&!f.invalid){null!=f.shape&&this.stateValidated(f);for(var a=d.getChildCount(b),e=0;e<a;e++)this.validateCellState(d.getChildAt(b,e))}}return f};
mxGraphView.prototype.updateCellState=function(b){b.absoluteOffset.x=0;b.absoluteOffset.y=0;b.origin.x=0;b.origin.y=0;b.length=0;if(b.cell!=this.currentRoot){var c=this.graph.getModel(),f=this.getState(c.getParent(b.cell));null!=f&&f.cell!=this.currentRoot&&(b.origin.x+=f.origin.x,b.origin.y+=f.origin.y);var d=this.graph.getChildOffsetForCell(b.cell);null!=d&&(b.origin.x+=d.x,b.origin.y+=d.y);var a=this.graph.getCellGeometry(b.cell);null!=a&&(c.isEdge(b.cell)||(d=a.offset||this.EMPTY_POINT,a.relative&&
null!=f?c.isEdge(f.cell)?(d=this.getPoint(f,a),null!=d&&(b.origin.x+=d.x/this.scale-f.origin.x-this.translate.x,b.origin.y+=d.y/this.scale-f.origin.y-this.translate.y)):(b.origin.x+=a.x*f.width/this.scale+d.x,b.origin.y+=a.y*f.height/this.scale+d.y):(b.absoluteOffset.x=this.scale*d.x,b.absoluteOffset.y=this.scale*d.y,b.origin.x+=a.x,b.origin.y+=a.y)),b.x=this.scale*(this.translate.x+b.origin.x),b.y=this.scale*(this.translate.y+b.origin.y),b.width=this.scale*a.width,b.unscaledWidth=a.width,b.height=
this.scale*a.height,c.isVertex(b.cell)&&this.updateVertexState(b,a),c.isEdge(b.cell)&&this.updateEdgeState(b,a))}b.updateCachedBounds()};mxGraphView.prototype.isCellCollapsed=function(b){return this.graph.isCellCollapsed(b)};
mxGraphView.prototype.updateVertexState=function(b,c){var f=this.graph.getModel(),d=this.getState(f.getParent(b.cell));if(c.relative&&null!=d&&!f.isEdge(d.cell)){var a=mxUtils.toRadians(d.style[mxConstants.STYLE_ROTATION]||"0");if(0!=a){var f=Math.cos(a),a=Math.sin(a),e=new mxPoint(b.getCenterX(),b.getCenterY()),d=new mxPoint(d.getCenterX(),d.getCenterY()),d=mxUtils.getRotatedPoint(e,f,a,d);b.x=d.x-b.width/2;b.y=d.y-b.height/2}}this.updateVertexLabelOffset(b)};
mxGraphView.prototype.updateEdgeState=function(b,c){var f=b.getVisibleTerminalState(!0),d=b.getVisibleTerminalState(!1);null!=this.graph.model.getTerminal(b.cell,!0)&&null==f||null==f&&null==c.getTerminalPoint(!0)||null!=this.graph.model.getTerminal(b.cell,!1)&&null==d||null==d&&null==c.getTerminalPoint(!1)?this.clear(b.cell,!0):(this.updateFixedTerminalPoints(b,f,d),this.updatePoints(b,c.points,f,d),this.updateFloatingTerminalPoints(b,f,d),f=b.absolutePoints,b.cell!=this.currentRoot&&(null==f||2>
f.length||null==f[0]||null==f[f.length-1])?this.clear(b.cell,!0):(this.updateEdgeBounds(b),this.updateEdgeLabelOffset(b)))};
mxGraphView.prototype.updateVertexLabelOffset=function(b){var c=mxUtils.getValue(b.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);if(c==mxConstants.ALIGN_LEFT)c=mxUtils.getValue(b.style,mxConstants.STYLE_LABEL_WIDTH,null),c=null!=c?c*this.scale:b.width,b.absoluteOffset.x-=c;else if(c==mxConstants.ALIGN_RIGHT)b.absoluteOffset.x+=b.width;else if(c==mxConstants.ALIGN_CENTER&&(c=mxUtils.getValue(b.style,mxConstants.STYLE_LABEL_WIDTH,null),null!=c)){var f=mxUtils.getValue(b.style,mxConstants.STYLE_ALIGN,
mxConstants.ALIGN_CENTER),d=0;f==mxConstants.ALIGN_CENTER?d=0.5:f==mxConstants.ALIGN_RIGHT&&(d=1);0!=d&&(b.absoluteOffset.x-=(c*this.scale-b.width)*d)}c=mxUtils.getValue(b.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);c==mxConstants.ALIGN_TOP?b.absoluteOffset.y-=b.height:c==mxConstants.ALIGN_BOTTOM&&(b.absoluteOffset.y+=b.height)};mxGraphView.prototype.resetValidationState=function(){this.lastForegroundHtmlNode=this.lastForegroundNode=this.lastHtmlNode=this.lastNode=null};
mxGraphView.prototype.stateValidated=function(b){var c=this.graph.getModel().isEdge(b.cell)&&this.graph.keepEdgesInForeground||this.graph.getModel().isVertex(b.cell)&&this.graph.keepEdgesInBackground;b=this.graph.cellRenderer.insertStateAfter(b,c?this.lastForegroundNode||this.lastNode:this.lastNode,c?this.lastForegroundHtmlNode||this.lastHtmlNode:this.lastHtmlNode);c?(this.lastForegroundHtmlNode=b[1],this.lastForegroundNode=b[0]):(this.lastHtmlNode=b[1],this.lastNode=b[0])};
mxGraphView.prototype.updateFixedTerminalPoints=function(b,c,f){this.updateFixedTerminalPoint(b,c,!0,this.graph.getConnectionConstraint(b,c,!0));this.updateFixedTerminalPoint(b,f,!1,this.graph.getConnectionConstraint(b,f,!1))};mxGraphView.prototype.updateFixedTerminalPoint=function(b,c,f,d){b.setAbsoluteTerminalPoint(this.getFixedTerminalPoint(b,c,f,d),f)};
mxGraphView.prototype.getFixedTerminalPoint=function(b,c,f,d){var a=null;null!=d&&(a=this.graph.getConnectionPoint(c,d));if(null==a&&null==c){c=this.scale;d=this.translate;var e=b.origin,a=this.graph.getCellGeometry(b.cell).getTerminalPoint(f);null!=a&&(a=new mxPoint(c*(d.x+a.x+e.x),c*(d.y+a.y+e.y)))}return a};
mxGraphView.prototype.updateBoundsFromStencil=function(b){var c=null;if(null!=b&&null!=b.shape&&null!=b.shape.stencil&&"fixed"==b.shape.stencil.aspect){var c=mxRectangle.fromRectangle(b),f=b.shape.stencil.computeAspect(b.style,b.x,b.y,b.width,b.height);b.setRect(f.x,f.y,b.shape.stencil.w0*f.width,b.shape.stencil.h0*f.height)}return c};
mxGraphView.prototype.updatePoints=function(b,c,f,d){if(null!=b){var a=[];a.push(b.absolutePoints[0]);var e=this.getEdgeStyle(b,c,f,d);if(null!=e){f=this.getTerminalPort(b,f,!0);d=this.getTerminalPort(b,d,!1);var g=this.updateBoundsFromStencil(f),k=this.updateBoundsFromStencil(d);e(b,f,d,c,a);null!=g&&f.setRect(g.x,g.y,g.width,g.height);null!=k&&d.setRect(k.x,k.y,k.width,k.height)}else if(null!=c)for(e=0;e<c.length;e++)null!=c[e]&&(f=mxUtils.clone(c[e]),a.push(this.transformControlPoint(b,f)));c=
b.absolutePoints;a.push(c[c.length-1]);b.absolutePoints=a}};mxGraphView.prototype.transformControlPoint=function(b,c){if(null!=b&&null!=c){var f=b.origin;return new mxPoint(this.scale*(c.x+this.translate.x+f.x),this.scale*(c.y+this.translate.y+f.y))}return null};
mxGraphView.prototype.isLoopStyleEnabled=function(b,c,f,d){c=this.graph.getConnectionConstraint(b,f,!0);var a=this.graph.getConnectionConstraint(b,d,!1);return!mxUtils.getValue(b.style,mxConstants.STYLE_ORTHOGONAL_LOOP,!1)||(null==c||null==c.point)&&(null==a||null==a.point)?null!=f&&f==d:!1};
mxGraphView.prototype.getEdgeStyle=function(b,c,f,d){b=this.isLoopStyleEnabled(b,c,f,d)?mxUtils.getValue(b.style,mxConstants.STYLE_LOOP,this.graph.defaultLoopStyle):!mxUtils.getValue(b.style,mxConstants.STYLE_NOEDGESTYLE,!1)?b.style[mxConstants.STYLE_EDGE]:null;"string"==typeof b&&(c=mxStyleRegistry.getValue(b),null==c&&this.isAllowEval()&&(c=mxUtils.eval(b)),b=c);return"function"==typeof b?b:null};
mxGraphView.prototype.updateFloatingTerminalPoints=function(b,c,f){var d=b.absolutePoints,a=d[0];null==d[d.length-1]&&null!=f&&this.updateFloatingTerminalPoint(b,f,c,!1);null==a&&null!=c&&this.updateFloatingTerminalPoint(b,c,f,!0)};mxGraphView.prototype.updateFloatingTerminalPoint=function(b,c,f,d){b.setAbsoluteTerminalPoint(this.getFloatingTerminalPoint(b,c,f,d),d)};
mxGraphView.prototype.getFloatingTerminalPoint=function(b,c,f,d){c=this.getTerminalPort(b,c,d);var a=this.getNextPoint(b,f,d),e=this.graph.isOrthogonal(b);f=mxUtils.toRadians(Number(c.style[mxConstants.STYLE_ROTATION]||"0"));var g=new mxPoint(c.getCenterX(),c.getCenterY());if(0!=f)var k=Math.cos(-f),l=Math.sin(-f),a=mxUtils.getRotatedPoint(a,k,l,g);k=parseFloat(b.style[mxConstants.STYLE_PERIMETER_SPACING]||0);k+=parseFloat(b.style[d?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||
0);b=this.getPerimeterPoint(c,a,0==f&&e,k);0!=f&&(k=Math.cos(f),l=Math.sin(f),b=mxUtils.getRotatedPoint(b,k,l,g));return b};mxGraphView.prototype.getTerminalPort=function(b,c,f){b=mxUtils.getValue(b.style,f?mxConstants.STYLE_SOURCE_PORT:mxConstants.STYLE_TARGET_PORT);null!=b&&(b=this.getState(this.graph.getModel().getCell(b)),null!=b&&(c=b));return c};
mxGraphView.prototype.getPerimeterPoint=function(b,c,f,d){var a=null;if(null!=b){var e=this.getPerimeterFunction(b);if(null!=e&&null!=c&&(d=this.getPerimeterBounds(b,d),0<d.width||0<d.height))a=e(d,b,c,f);null==a&&(a=this.getPoint(b))}return a};mxGraphView.prototype.getRoutingCenterX=function(b){var c=null!=b.style?parseFloat(b.style[mxConstants.STYLE_ROUTING_CENTER_X])||0:0;return b.getCenterX()+c*b.width};
mxGraphView.prototype.getRoutingCenterY=function(b){var c=null!=b.style?parseFloat(b.style[mxConstants.STYLE_ROUTING_CENTER_Y])||0:0;return b.getCenterY()+c*b.height};mxGraphView.prototype.getPerimeterBounds=function(b,c){c=null!=c?c:0;null!=b&&(c+=parseFloat(b.style[mxConstants.STYLE_PERIMETER_SPACING]||0));return b.getPerimeterBounds(c*this.scale)};
mxGraphView.prototype.getPerimeterFunction=function(b){b=b.style[mxConstants.STYLE_PERIMETER];if("string"==typeof b){var c=mxStyleRegistry.getValue(b);null==c&&this.isAllowEval()&&(c=mxUtils.eval(b));b=c}return"function"==typeof b?b:null};mxGraphView.prototype.getNextPoint=function(b,c,f){b=b.absolutePoints;var d=null;null!=b&&2<=b.length&&(d=b.length,d=b[f?Math.min(1,d-1):Math.max(0,d-2)]);null==d&&null!=c&&(d=new mxPoint(c.getCenterX(),c.getCenterY()));return d};
mxGraphView.prototype.getVisibleTerminal=function(b,c){for(var f=this.graph.getModel(),d=f.getTerminal(b,c),a=d;null!=d&&d!=this.currentRoot;){if(!this.graph.isCellVisible(a)||this.isCellCollapsed(d))a=d;d=f.getParent(d)}f.getParent(a)==f.getRoot()&&(a=null);return a};
mxGraphView.prototype.updateEdgeBounds=function(b){var c=b.absolutePoints,f=c[0],d=c[c.length-1];if(f.x!=d.x||f.y!=d.y){var a=d.x-f.x,e=d.y-f.y;b.terminalDistance=Math.sqrt(a*a+e*e)}else b.terminalDistance=0;var d=0,g=[],e=f;if(null!=e){for(var f=e.x,k=e.y,l=f,m=k,n=1;n<c.length;n++){var p=c[n];null!=p&&(a=e.x-p.x,e=e.y-p.y,a=Math.sqrt(a*a+e*e),g.push(a),d+=a,e=p,f=Math.min(e.x,f),k=Math.min(e.y,k),l=Math.max(e.x,l),m=Math.max(e.y,m))}b.length=d;b.segments=g;b.x=f;b.y=k;b.width=Math.max(1,l-f);b.height=
Math.max(1,m-k)}};
mxGraphView.prototype.getPoint=function(b,c){var f=b.getCenterX(),d=b.getCenterY();if(null!=b.segments&&(null==c||c.relative)){for(var a=b.absolutePoints.length,e=Math.round(((null!=c?c.x/2:0)+0.5)*b.length),g=b.segments[0],k=0,l=1;e>=Math.round(k+g)&&l<a-1;)k+=g,g=b.segments[l++];a=0==g?0:(e-k)/g;e=b.absolutePoints[l-1];l=b.absolutePoints[l];if(null!=e&&null!=l){k=f=d=0;if(null!=c){var d=c.y,m=c.offset;null!=m&&(f=m.x,k=m.y)}m=l.x-e.x;l=l.y-e.y;f=e.x+m*a+((0==g?0:l/g)*d+f)*this.scale;d=e.y+l*a-((0==
g?0:m/g)*d-k)*this.scale}}else null!=c&&(m=c.offset,null!=m&&(f+=m.x,d+=m.y));return new mxPoint(f,d)};
mxGraphView.prototype.getRelativePoint=function(b,c,f){var d=this.graph.getModel().getGeometry(b.cell);if(null!=d){var a=b.absolutePoints.length;if(d.relative&&1<a){for(var d=b.length,e=b.segments,g=b.absolutePoints[0],k=b.absolutePoints[1],l=mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,c,f),m=0,n=0,p=0,r=2;r<a;r++)n+=e[r-2],k=b.absolutePoints[r],g=mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,c,f),g<=l&&(l=g,m=r-1,p=n),g=k;a=e[m];g=b.absolutePoints[m];k=b.absolutePoints[m+1];l=k.x;e=k.y;b=g.x-l;m=g.y-e;e=(b-(c-l))*
b+(m-(f-e))*m;b=Math.sqrt(0>=e?0:e*e/(b*b+m*m));b>a&&(b=a);a=Math.sqrt(mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,c,f));-1==mxUtils.relativeCcw(g.x,g.y,k.x,k.y,c,f)&&(a=-a);return new mxPoint(-2*((d/2-p-b)/d),a/this.scale)}}return new mxPoint};
mxGraphView.prototype.updateEdgeLabelOffset=function(b){var c=b.absolutePoints;b.absoluteOffset.x=b.getCenterX();b.absoluteOffset.y=b.getCenterY();if(null!=c&&0<c.length&&null!=b.segments){var f=this.graph.getCellGeometry(b.cell);if(f.relative){var d=this.getPoint(b,f);null!=d&&(b.absoluteOffset=d)}else{var d=c[0],a=c[c.length-1];if(null!=d&&null!=a){var c=a.x-d.x,e=a.y-d.y,g=a=0,f=f.offset;null!=f&&(a=f.x,g=f.y);f=d.y+e/2+g*this.scale;b.absoluteOffset.x=d.x+c/2+a*this.scale;b.absoluteOffset.y=f}}}};
mxGraphView.prototype.getState=function(b,c){c=c||!1;var f=null;if(null!=b&&(f=this.states.get(b),c&&(null==f||this.updateStyle)&&this.graph.isCellVisible(b)))null==f?(f=this.createState(b),this.states.put(b,f)):f.style=this.graph.getCellStyle(b);return f};mxGraphView.prototype.isRendering=function(){return this.rendering};mxGraphView.prototype.setRendering=function(b){this.rendering=b};mxGraphView.prototype.isAllowEval=function(){return this.allowEval};
mxGraphView.prototype.setAllowEval=function(b){this.allowEval=b};mxGraphView.prototype.getStates=function(){return this.states};mxGraphView.prototype.setStates=function(b){this.states=b};mxGraphView.prototype.getCellStates=function(b){if(null==b)return this.states;for(var c=[],f=0;f<b.length;f++){var d=this.getState(b[f]);null!=d&&c.push(d)}return c};
mxGraphView.prototype.removeState=function(b){var c=null;null!=b&&(c=this.states.remove(b),null!=c&&(this.graph.cellRenderer.destroy(c),c.invalid=!0,c.destroy()));return c};mxGraphView.prototype.createState=function(b){return new mxCellState(this,b,this.graph.getCellStyle(b))};mxGraphView.prototype.getCanvas=function(){return this.canvas};mxGraphView.prototype.getBackgroundPane=function(){return this.backgroundPane};mxGraphView.prototype.getDrawPane=function(){return this.drawPane};
mxGraphView.prototype.getOverlayPane=function(){return this.overlayPane};mxGraphView.prototype.getDecoratorPane=function(){return this.decoratorPane};mxGraphView.prototype.isContainerEvent=function(b){b=mxEvent.getSource(b);return b==this.graph.container||b.parentNode==this.backgroundPane||null!=b.parentNode&&b.parentNode.parentNode==this.backgroundPane||b==this.canvas.parentNode||b==this.canvas||b==this.backgroundPane||b==this.drawPane||b==this.overlayPane||b==this.decoratorPane};
mxGraphView.prototype.isScrollEvent=function(b){var c=mxUtils.getOffset(this.graph.container);b=new mxPoint(b.clientX-c.x,b.clientY-c.y);var c=this.graph.container.offsetWidth,f=this.graph.container.clientWidth;if(c>f&&b.x>f+2&&b.x<=c)return!0;c=this.graph.container.offsetHeight;f=this.graph.container.clientHeight;return c>f&&b.y>f+2&&b.y<=c?!0:!1};
mxGraphView.prototype.init=function(){this.installListeners();var b=this.graph;b.dialect==mxConstants.DIALECT_SVG?this.createSvg():b.dialect==mxConstants.DIALECT_VML?this.createVml():this.createHtml()};
mxGraphView.prototype.installListeners=function(){var b=this.graph,c=b.container;if(null!=c){mxClient.IS_TOUCH&&(mxEvent.addListener(c,"gesturestart",mxUtils.bind(this,function(d){b.fireGestureEvent(d);mxEvent.consume(d)})),mxEvent.addListener(c,"gesturechange",mxUtils.bind(this,function(d){b.fireGestureEvent(d);mxEvent.consume(d)})),mxEvent.addListener(c,"gestureend",mxUtils.bind(this,function(d){b.fireGestureEvent(d);mxEvent.consume(d)})));mxEvent.addGestureListeners(c,mxUtils.bind(this,function(d){this.isContainerEvent(d)&&
(!mxClient.IS_IE&&!mxClient.IS_IE11&&!mxClient.IS_GC&&!mxClient.IS_OP&&!mxClient.IS_SF||!this.isScrollEvent(d))&&b.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(d))}),mxUtils.bind(this,function(d){this.isContainerEvent(d)&&b.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(d))}),mxUtils.bind(this,function(d){this.isContainerEvent(d)&&b.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(d))}));mxEvent.addListener(c,"dblclick",mxUtils.bind(this,function(d){this.isContainerEvent(d)&&b.dblClick(d)}));
var f=function(d){var a=null;mxClient.IS_TOUCH&&(a=mxEvent.getClientX(d),d=mxEvent.getClientY(d),d=mxUtils.convertPoint(c,a,d),a=b.view.getState(b.getCellAt(d.x,d.y)));return a};b.addMouseListener({mouseDown:function(d,a){b.popupMenuHandler.hideMenu()},mouseMove:function(){},mouseUp:function(){}});this.moveHandler=mxUtils.bind(this,function(d){null!=b.tooltipHandler&&b.tooltipHandler.isHideOnHover()&&b.tooltipHandler.hide();this.captureDocumentGesture&&b.isMouseDown&&null!=b.container&&(!this.isContainerEvent(d)&&
"none"!=b.container.style.display&&"hidden"!=b.container.style.visibility&&!mxEvent.isConsumed(d))&&b.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(d,f(d)))});this.endHandler=mxUtils.bind(this,function(d){this.captureDocumentGesture&&b.isMouseDown&&null!=b.container&&(!this.isContainerEvent(d)&&"none"!=b.container.style.display&&"hidden"!=b.container.style.visibility)&&b.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(d))});mxEvent.addGestureListeners(document,null,this.moveHandler,this.endHandler)}};
mxGraphView.prototype.createHtml=function(){var b=this.graph.container;null!=b&&(this.canvas=this.createHtmlPane("100%","100%"),this.backgroundPane=this.createHtmlPane("1px","1px"),this.drawPane=this.createHtmlPane("1px","1px"),this.overlayPane=this.createHtmlPane("1px","1px"),this.decoratorPane=this.createHtmlPane("1px","1px"),this.canvas.appendChild(this.backgroundPane),this.canvas.appendChild(this.drawPane),this.canvas.appendChild(this.overlayPane),this.canvas.appendChild(this.decoratorPane),b.appendChild(this.canvas),
this.updateContainerStyle(b),mxClient.IS_QUIRKS&&(b=mxUtils.bind(this,function(b){b=this.getGraphBounds();this.updateHtmlCanvasSize(b.x+b.width+this.graph.border,b.y+b.height+this.graph.border)}),mxEvent.addListener(window,"resize",b)))};mxGraphView.prototype.updateHtmlCanvasSize=function(b,c){if(null!=this.graph.container){var f=this.graph.container.offsetHeight;this.canvas.style.width=this.graph.container.offsetWidth<b?b+"px":"100%";this.canvas.style.height=f<c?c+"px":"100%"}};
mxGraphView.prototype.createHtmlPane=function(b,c){var f=document.createElement("DIV");null!=b&&null!=c?(f.style.position="absolute",f.style.left="0px",f.style.top="0px",f.style.width=b,f.style.height=c):f.style.position="relative";return f};
mxGraphView.prototype.createVml=function(){var b=this.graph.container;if(null!=b){var c=b.offsetWidth,f=b.offsetHeight;this.canvas=this.createVmlPane(c,f);this.backgroundPane=this.createVmlPane(c,f);this.drawPane=this.createVmlPane(c,f);this.overlayPane=this.createVmlPane(c,f);this.decoratorPane=this.createVmlPane(c,f);this.canvas.appendChild(this.backgroundPane);this.canvas.appendChild(this.drawPane);this.canvas.appendChild(this.overlayPane);this.canvas.appendChild(this.decoratorPane);b.appendChild(this.canvas)}};
mxGraphView.prototype.createVmlPane=function(b,c){var f=document.createElement(mxClient.VML_PREFIX+":group");f.style.position="absolute";f.style.left="0px";f.style.top="0px";f.style.width=b+"px";f.style.height=c+"px";f.setAttribute("coordsize",b+","+c);f.setAttribute("coordorigin","0,0");return f};
mxGraphView.prototype.createSvg=function(){var b=this.graph.container;this.canvas=document.createElementNS(mxConstants.NS_SVG,"g");this.backgroundPane=document.createElementNS(mxConstants.NS_SVG,"g");this.canvas.appendChild(this.backgroundPane);this.drawPane=document.createElementNS(mxConstants.NS_SVG,"g");this.canvas.appendChild(this.drawPane);this.overlayPane=document.createElementNS(mxConstants.NS_SVG,"g");this.canvas.appendChild(this.overlayPane);this.decoratorPane=document.createElementNS(mxConstants.NS_SVG,
"g");this.canvas.appendChild(this.decoratorPane);var c=document.createElementNS(mxConstants.NS_SVG,"svg");c.style.width="100%";c.style.height="100%";c.style.display="block";c.appendChild(this.canvas);null!=b&&(b.appendChild(c),this.updateContainerStyle(b))};mxGraphView.prototype.updateContainerStyle=function(b){var c=mxUtils.getCurrentStyle(b);null!=c&&"static"==c.position&&(b.style.position="relative");mxClient.IS_POINTER&&(b.style.touchAction="none")};
mxGraphView.prototype.destroy=function(){var b=null!=this.canvas?this.canvas.ownerSVGElement:null;null==b&&(b=this.canvas);null!=b&&null!=b.parentNode&&(this.clear(this.currentRoot,!0),mxEvent.removeGestureListeners(document,null,this.moveHandler,this.endHandler),mxEvent.release(this.graph.container),b.parentNode.removeChild(b),this.decoratorPane=this.overlayPane=this.drawPane=this.backgroundPane=this.canvas=this.endHandler=this.moveHandler=null)};
function mxCurrentRootChange(b,c){this.view=b;this.previous=this.root=c;this.isUp=null==c;if(!this.isUp)for(var f=this.view.currentRoot,d=this.view.graph.getModel();null!=f;){if(f==c){this.isUp=!0;break}f=d.getParent(f)}}
mxCurrentRootChange.prototype.execute=function(){var b=this.view.currentRoot;this.view.currentRoot=this.previous;this.previous=b;b=this.view.graph.getTranslateForRoot(this.view.currentRoot);null!=b&&(this.view.translate=new mxPoint(-b.x,-b.y));this.isUp?(this.view.clear(this.view.currentRoot,!0),this.view.validate()):this.view.refresh();this.view.fireEvent(new mxEventObject(this.isUp?mxEvent.UP:mxEvent.DOWN,"root",this.view.currentRoot,"previous",this.previous));this.isUp=!this.isUp};
function mxGraph(b,c,f,d){this.mouseListeners=null;this.renderHint=f;this.dialect=mxClient.IS_SVG?mxConstants.DIALECT_SVG:f==mxConstants.RENDERING_HINT_EXACT&&mxClient.IS_VML?mxConstants.DIALECT_VML:f==mxConstants.RENDERING_HINT_FASTEST?mxConstants.DIALECT_STRICTHTML:f==mxConstants.RENDERING_HINT_FASTER?mxConstants.DIALECT_PREFERHTML:mxConstants.DIALECT_MIXEDHTML;this.model=null!=c?c:new mxGraphModel;this.multiplicities=[];this.imageBundles=[];this.cellRenderer=this.createCellRenderer();this.setSelectionModel(this.createSelectionModel());
this.setStylesheet(null!=d?d:this.createStylesheet());this.view=this.createGraphView();this.graphModelChangeListener=mxUtils.bind(this,function(a,b){this.graphModelChanged(b.getProperty("edit").changes)});this.model.addListener(mxEvent.CHANGE,this.graphModelChangeListener);this.createHandlers();null!=b&&this.init(b);this.view.revalidate()}mxLoadResources&&mxResources.add(mxClient.basePath+"/resources/graph");mxGraph.prototype=new mxEventSource;mxGraph.prototype.constructor=mxGraph;
mxGraph.prototype.EMPTY_ARRAY=[];mxGraph.prototype.mouseListeners=null;mxGraph.prototype.isMouseDown=!1;mxGraph.prototype.model=null;mxGraph.prototype.view=null;mxGraph.prototype.stylesheet=null;mxGraph.prototype.selectionModel=null;mxGraph.prototype.cellEditor=null;mxGraph.prototype.cellRenderer=null;mxGraph.prototype.multiplicities=null;mxGraph.prototype.renderHint=null;mxGraph.prototype.dialect=null;mxGraph.prototype.gridSize=10;mxGraph.prototype.gridEnabled=!0;mxGraph.prototype.portsEnabled=!0;
mxGraph.prototype.nativeDblClickEnabled=!0;mxGraph.prototype.doubleTapEnabled=!0;mxGraph.prototype.doubleTapTimeout=500;mxGraph.prototype.doubleTapTolerance=25;mxGraph.prototype.lastTouchY=0;mxGraph.prototype.lastTouchY=0;mxGraph.prototype.lastTouchTime=0;mxGraph.prototype.tapAndHoldEnabled=!0;mxGraph.prototype.tapAndHoldDelay=500;mxGraph.prototype.tapAndHoldInProgress=!1;mxGraph.prototype.tapAndHoldValid=!1;mxGraph.prototype.initialTouchX=0;mxGraph.prototype.initialTouchY=0;
mxGraph.prototype.tolerance=4;mxGraph.prototype.defaultOverlap=0.5;mxGraph.prototype.defaultParent=null;mxGraph.prototype.alternateEdgeStyle=null;mxGraph.prototype.backgroundImage=null;mxGraph.prototype.pageVisible=!1;mxGraph.prototype.pageBreaksVisible=!1;mxGraph.prototype.pageBreakColor="gray";mxGraph.prototype.pageBreakDashed=!0;mxGraph.prototype.minPageBreakDist=20;mxGraph.prototype.preferPageSize=!1;mxGraph.prototype.pageFormat=mxConstants.PAGE_FORMAT_A4_PORTRAIT;
mxGraph.prototype.pageScale=1.5;mxGraph.prototype.enabled=!0;mxGraph.prototype.escapeEnabled=!0;mxGraph.prototype.invokesStopCellEditing=!0;mxGraph.prototype.enterStopsCellEditing=!1;mxGraph.prototype.useScrollbarsForPanning=!0;mxGraph.prototype.exportEnabled=!0;mxGraph.prototype.importEnabled=!0;mxGraph.prototype.cellsLocked=!1;mxGraph.prototype.cellsCloneable=!0;mxGraph.prototype.foldingEnabled=!0;mxGraph.prototype.cellsEditable=!0;mxGraph.prototype.cellsDeletable=!0;
mxGraph.prototype.cellsMovable=!0;mxGraph.prototype.edgeLabelsMovable=!0;mxGraph.prototype.vertexLabelsMovable=!1;mxGraph.prototype.dropEnabled=!1;mxGraph.prototype.splitEnabled=!0;mxGraph.prototype.cellsResizable=!0;mxGraph.prototype.cellsBendable=!0;mxGraph.prototype.cellsSelectable=!0;mxGraph.prototype.cellsDisconnectable=!0;mxGraph.prototype.autoSizeCells=!1;mxGraph.prototype.autoSizeCellsOnAdd=!1;mxGraph.prototype.autoScroll=!0;mxGraph.prototype.ignoreScrollbars=!1;
mxGraph.prototype.translateToScrollPosition=!1;mxGraph.prototype.timerAutoScroll=!1;mxGraph.prototype.allowAutoPanning=!1;mxGraph.prototype.autoExtend=!0;mxGraph.prototype.maximumGraphBounds=null;mxGraph.prototype.minimumGraphSize=null;mxGraph.prototype.minimumContainerSize=null;mxGraph.prototype.maximumContainerSize=null;mxGraph.prototype.resizeContainer=!1;mxGraph.prototype.border=0;mxGraph.prototype.keepEdgesInForeground=!1;mxGraph.prototype.keepEdgesInBackground=!1;
mxGraph.prototype.allowNegativeCoordinates=!0;mxGraph.prototype.constrainChildren=!0;mxGraph.prototype.constrainRelativeChildren=!1;mxGraph.prototype.extendParents=!0;mxGraph.prototype.extendParentsOnAdd=!0;mxGraph.prototype.extendParentsOnMove=!1;mxGraph.prototype.recursiveResize=!1;mxGraph.prototype.collapseToPreferredSize=!0;mxGraph.prototype.zoomFactor=1.2;mxGraph.prototype.keepSelectionVisibleOnZoom=!1;mxGraph.prototype.centerZoom=!0;mxGraph.prototype.resetViewOnRootChange=!0;
mxGraph.prototype.resetEdgesOnResize=!1;mxGraph.prototype.resetEdgesOnMove=!1;mxGraph.prototype.resetEdgesOnConnect=!0;mxGraph.prototype.allowLoops=!1;mxGraph.prototype.defaultLoopStyle=mxEdgeStyle.Loop;mxGraph.prototype.multigraph=!0;mxGraph.prototype.connectableEdges=!1;mxGraph.prototype.allowDanglingEdges=!0;mxGraph.prototype.cloneInvalidEdges=!1;mxGraph.prototype.disconnectOnMove=!0;mxGraph.prototype.labelsVisible=!0;mxGraph.prototype.htmlLabels=!1;mxGraph.prototype.swimlaneSelectionEnabled=!0;
mxGraph.prototype.swimlaneNesting=!0;mxGraph.prototype.swimlaneIndicatorColorAttribute=mxConstants.STYLE_FILLCOLOR;mxGraph.prototype.imageBundles=null;mxGraph.prototype.minFitScale=0.1;mxGraph.prototype.maxFitScale=8;mxGraph.prototype.panDx=0;mxGraph.prototype.panDy=0;mxGraph.prototype.collapsedImage=new mxImage(mxClient.imageBasePath+"/collapsed.gif",9,9);mxGraph.prototype.expandedImage=new mxImage(mxClient.imageBasePath+"/expanded.gif",9,9);
mxGraph.prototype.warningImage=new mxImage(mxClient.imageBasePath+"/warning"+(mxClient.IS_MAC?".png":".gif"),16,16);mxGraph.prototype.alreadyConnectedResource="none"!=mxClient.language?"alreadyConnected":"";mxGraph.prototype.containsValidationErrorsResource="none"!=mxClient.language?"containsValidationErrors":"";mxGraph.prototype.collapseExpandResource="none"!=mxClient.language?"collapse-expand":"";
mxGraph.prototype.init=function(b){this.container=b;this.cellEditor=this.createCellEditor();this.view.init();this.sizeDidChange();mxEvent.addListener(b,"mouseleave",mxUtils.bind(this,function(){null!=this.tooltipHandler&&this.tooltipHandler.hide()}));mxClient.IS_IE&&(mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()})),mxEvent.addListener(b,"selectstart",mxUtils.bind(this,function(b){return this.isEditing()||!this.isMouseDown&&!mxEvent.isShiftDown(b)})));8==document.documentMode&&
b.insertAdjacentHTML("beforeend",'\x3cv:group style\x3d"DISPLAY: none;"\x3e\x3c/v:group\x3e')};
mxGraph.prototype.createHandlers=function(){this.tooltipHandler=this.createTooltipHandler();this.tooltipHandler.setEnabled(!1);this.selectionCellsHandler=this.createSelectionCellsHandler();this.connectionHandler=this.createConnectionHandler();this.connectionHandler.setEnabled(!1);this.graphHandler=this.createGraphHandler();this.panningHandler=this.createPanningHandler();this.panningHandler.panningEnabled=!1;this.popupMenuHandler=this.createPopupMenuHandler()};
mxGraph.prototype.createTooltipHandler=function(){return new mxTooltipHandler(this)};mxGraph.prototype.createSelectionCellsHandler=function(){return new mxSelectionCellsHandler(this)};mxGraph.prototype.createConnectionHandler=function(){return new mxConnectionHandler(this)};mxGraph.prototype.createGraphHandler=function(){return new mxGraphHandler(this)};mxGraph.prototype.createPanningHandler=function(){return new mxPanningHandler(this)};mxGraph.prototype.createPopupMenuHandler=function(){return new mxPopupMenuHandler(this)};
mxGraph.prototype.createSelectionModel=function(){return new mxGraphSelectionModel(this)};mxGraph.prototype.createStylesheet=function(){return new mxStylesheet};mxGraph.prototype.createGraphView=function(){return new mxGraphView(this)};mxGraph.prototype.createCellRenderer=function(){return new mxCellRenderer};mxGraph.prototype.createCellEditor=function(){return new mxCellEditor(this)};mxGraph.prototype.getModel=function(){return this.model};mxGraph.prototype.getView=function(){return this.view};
mxGraph.prototype.getStylesheet=function(){return this.stylesheet};mxGraph.prototype.setStylesheet=function(b){this.stylesheet=b};mxGraph.prototype.getSelectionModel=function(){return this.selectionModel};mxGraph.prototype.setSelectionModel=function(b){this.selectionModel=b};
mxGraph.prototype.getSelectionCellsForChanges=function(b){for(var c=[],f=0;f<b.length;f++){var d=b[f];if(d.constructor!=mxRootChange){var a=null;d instanceof mxChildChange&&null==d.previous?a=d.child:null!=d.cell&&d.cell instanceof mxCell&&(a=d.cell);null!=a&&0>mxUtils.indexOf(c,a)&&c.push(a)}}return this.getModel().getTopmostCells(c)};
mxGraph.prototype.graphModelChanged=function(b){for(var c=0;c<b.length;c++)this.processChange(b[c]);this.removeSelectionCells(this.getRemovedCellsForChanges(b));this.view.validate();this.sizeDidChange()};mxGraph.prototype.getRemovedCellsForChanges=function(b){for(var c=[],f=0;f<b.length;f++){var d=b[f];if(d instanceof mxRootChange)break;else d instanceof mxChildChange?null!=d.previous&&null==d.parent&&(c=c.concat(this.model.getDescendants(d.child))):d instanceof mxVisibleChange&&(c=c.concat(this.model.getDescendants(d.cell)))}return c};
mxGraph.prototype.processChange=function(b){if(b instanceof mxRootChange)this.clearSelection(),this.removeStateForCell(b.previous),this.resetViewOnRootChange&&(this.view.scale=1,this.view.translate.x=0,this.view.translate.y=0),this.fireEvent(new mxEventObject(mxEvent.ROOT));else if(b instanceof mxChildChange){var c=this.model.getParent(b.child);this.view.invalidate(b.child,!0,!0);if(null==c||this.isCellCollapsed(c))this.view.invalidate(b.child,!0,!0),this.removeStateForCell(b.child),this.view.currentRoot==
b.child&&this.home();c!=b.previous&&(null!=c&&this.view.invalidate(c,!1,!1),null!=b.previous&&this.view.invalidate(b.previous,!1,!1))}else b instanceof mxTerminalChange||b instanceof mxGeometryChange?(b instanceof mxTerminalChange||null==b.previous&&null!=b.geometry||null!=b.previous&&!b.previous.equals(b.geometry))&&this.view.invalidate(b.cell):b instanceof mxValueChange?this.view.invalidate(b.cell,!1,!1):b instanceof mxStyleChange?(this.view.invalidate(b.cell,!0,!0),b=this.view.getState(b.cell),
null!=b&&(b.style=null)):null!=b.cell&&b.cell instanceof mxCell&&this.removeStateForCell(b.cell)};mxGraph.prototype.removeStateForCell=function(b){for(var c=this.model.getChildCount(b),f=0;f<c;f++)this.removeStateForCell(this.model.getChildAt(b,f));this.view.invalidate(b,!1,!0);this.view.removeState(b)};
mxGraph.prototype.addCellOverlay=function(b,c){null==b.overlays&&(b.overlays=[]);b.overlays.push(c);var f=this.view.getState(b);null!=f&&this.cellRenderer.redraw(f);this.fireEvent(new mxEventObject(mxEvent.ADD_OVERLAY,"cell",b,"overlay",c));return c};mxGraph.prototype.getCellOverlays=function(b){return b.overlays};
mxGraph.prototype.removeCellOverlay=function(b,c){if(null==c)this.removeCellOverlays(b);else{var f=mxUtils.indexOf(b.overlays,c);0<=f?(b.overlays.splice(f,1),0==b.overlays.length&&(b.overlays=null),f=this.view.getState(b),null!=f&&this.cellRenderer.redraw(f),this.fireEvent(new mxEventObject(mxEvent.REMOVE_OVERLAY,"cell",b,"overlay",c))):c=null}return c};
mxGraph.prototype.removeCellOverlays=function(b){var c=b.overlays;if(null!=c){b.overlays=null;var f=this.view.getState(b);null!=f&&this.cellRenderer.redraw(f);for(f=0;f<c.length;f++)this.fireEvent(new mxEventObject(mxEvent.REMOVE_OVERLAY,"cell",b,"overlay",c[f]))}return c};mxGraph.prototype.clearCellOverlays=function(b){b=null!=b?b:this.model.getRoot();this.removeCellOverlays(b);for(var c=this.model.getChildCount(b),f=0;f<c;f++){var d=this.model.getChildAt(b,f);this.clearCellOverlays(d)}};
mxGraph.prototype.setCellWarning=function(b,c,f,d){if(null!=c&&0<c.length)return f=null!=f?f:this.warningImage,c=new mxCellOverlay(f,"\x3cfont color\x3dred\x3e"+c+"\x3c/font\x3e"),d&&c.addListener(mxEvent.CLICK,mxUtils.bind(this,function(a,d){this.isEnabled()&&this.setSelectionCell(b)})),this.addCellOverlay(b,c);this.removeCellOverlays(b);return null};mxGraph.prototype.startEditing=function(b){this.startEditingAtCell(null,b)};
mxGraph.prototype.startEditingAtCell=function(b,c){if(null==c||!mxEvent.isMultiTouchEvent(c))null==b&&(b=this.getSelectionCell(),null!=b&&!this.isCellEditable(b)&&(b=null)),null!=b&&(this.fireEvent(new mxEventObject(mxEvent.START_EDITING,"cell",b,"event",c)),this.cellEditor.startEditing(b,c),this.fireEvent(new mxEventObject(mxEvent.EDITING_STARTED,"cell",b,"event",c)))};mxGraph.prototype.getEditingValue=function(b,c){return this.convertValueToString(b)};
mxGraph.prototype.stopEditing=function(b){this.cellEditor.stopEditing(b);this.fireEvent(new mxEventObject(mxEvent.EDITING_STOPPED,"cancel",b))};mxGraph.prototype.labelChanged=function(b,c,f){this.model.beginUpdate();try{var d=b.value;this.cellLabelChanged(b,c,this.isAutoSizeCell(b));this.fireEvent(new mxEventObject(mxEvent.LABEL_CHANGED,"cell",b,"value",c,"old",d,"event",f))}finally{this.model.endUpdate()}return b};
mxGraph.prototype.cellLabelChanged=function(b,c,f){this.model.beginUpdate();try{this.model.setValue(b,c),f&&this.cellSizeUpdated(b,!1)}finally{this.model.endUpdate()}};mxGraph.prototype.escape=function(b){this.fireEvent(new mxEventObject(mxEvent.ESCAPE,"event",b))};
mxGraph.prototype.click=function(b){var c=b.getEvent(),f=b.getCell(),d=new mxEventObject(mxEvent.CLICK,"event",c,"cell",f);b.isConsumed()&&d.consume();this.fireEvent(d);this.isEnabled()&&!mxEvent.isConsumed(c)&&!d.isConsumed()&&(null!=f?this.selectCellForEvent(f,c):(f=null,this.isSwimlaneSelectionEnabled()&&(f=this.getSwimlaneAt(b.getGraphX(),b.getGraphY())),null!=f?this.selectCellForEvent(f,c):this.isToggleEvent(c)||this.clearSelection()))};
mxGraph.prototype.dblClick=function(b,c){var f=new mxEventObject(mxEvent.DOUBLE_CLICK,"event",b,"cell",c);this.fireEvent(f);this.isEnabled()&&!mxEvent.isConsumed(b)&&!f.isConsumed()&&(null!=c&&this.isCellEditable(c)&&!this.isEditing(c))&&(this.startEditingAtCell(c,b),mxEvent.consume(b))};
mxGraph.prototype.tapAndHold=function(b){var c=b.getEvent(),f=new mxEventObject(mxEvent.TAP_AND_HOLD,"event",c,"cell",b.getCell());this.fireEvent(f);f.isConsumed()&&(this.panningHandler.panningTrigger=!1);this.isEnabled()&&!mxEvent.isConsumed(c)&&!f.isConsumed()&&this.connectionHandler.isEnabled()&&(c=this.view.getState(this.connectionHandler.marker.getCell(b)),null!=c&&(this.connectionHandler.marker.currentColor=this.connectionHandler.marker.validColor,this.connectionHandler.marker.markedState=c,
this.connectionHandler.marker.mark(),this.connectionHandler.first=new mxPoint(b.getGraphX(),b.getGraphY()),this.connectionHandler.edgeState=this.connectionHandler.createEdgeState(b),this.connectionHandler.previous=c,this.connectionHandler.fireEvent(new mxEventObject(mxEvent.START,"state",this.connectionHandler.previous))))};
mxGraph.prototype.scrollPointToVisible=function(b,c,f,d){if(!this.timerAutoScroll&&(this.ignoreScrollbars||mxUtils.hasScrollbars(this.container))){var a=this.container;d=null!=d?d:20;if(b>=a.scrollLeft&&c>=a.scrollTop&&b<=a.scrollLeft+a.clientWidth&&c<=a.scrollTop+a.clientHeight){var e=a.scrollLeft+a.clientWidth-b;if(e<d){if(b=a.scrollLeft,a.scrollLeft+=d-e,f&&b==a.scrollLeft){if(this.dialect==mxConstants.DIALECT_SVG){b=this.view.getDrawPane().ownerSVGElement;var g=this.container.scrollWidth+d-e}else g=
Math.max(a.clientWidth,a.scrollWidth)+d-e,b=this.view.getCanvas();b.style.width=g+"px";a.scrollLeft+=d-e}}else e=b-a.scrollLeft,e<d&&(a.scrollLeft-=d-e);e=a.scrollTop+a.clientHeight-c;e<d?(b=a.scrollTop,a.scrollTop+=d-e,b==a.scrollTop&&f&&(this.dialect==mxConstants.DIALECT_SVG?(b=this.view.getDrawPane().ownerSVGElement,c=this.container.scrollHeight+d-e):(c=Math.max(a.clientHeight,a.scrollHeight)+d-e,b=this.view.getCanvas()),b.style.height=c+"px",a.scrollTop+=d-e)):(e=c-a.scrollTop,e<d&&(a.scrollTop-=
d-e))}}else this.allowAutoPanning&&!this.panningHandler.isActive()&&(null==this.panningManager&&(this.panningManager=this.createPanningManager()),this.panningManager.panTo(b+this.panDx,c+this.panDy))};mxGraph.prototype.createPanningManager=function(){return new mxPanningManager(this)};
mxGraph.prototype.getBorderSizes=function(){var b=mxUtils.getCurrentStyle(this.container);return new mxRectangle(mxUtils.parseCssNumber(b.paddingLeft)+("none"!=b.borderLeftStyle?mxUtils.parseCssNumber(b.borderLeftWidth):0),mxUtils.parseCssNumber(b.paddingTop)+("none"!=b.borderTopStyle?mxUtils.parseCssNumber(b.borderTopWidth):0),mxUtils.parseCssNumber(b.paddingRight)+("none"!=b.borderRightStyle?mxUtils.parseCssNumber(b.borderRightWidth):0),mxUtils.parseCssNumber(b.paddingBottom)+("none"!=b.borderBottomStyle?
mxUtils.parseCssNumber(b.borderBottomWidth):0))};mxGraph.prototype.getPreferredPageSize=function(b,c,f){b=this.view.scale;var d=this.view.translate,a=this.pageFormat,e=b*this.pageScale,a=new mxRectangle(0,0,a.width*e,a.height*e);c=this.pageBreaksVisible?Math.ceil(c/a.width):1;f=this.pageBreaksVisible?Math.ceil(f/a.height):1;return new mxRectangle(0,0,c*a.width+2+d.x/b,f*a.height+2+d.y/b)};
mxGraph.prototype.fit=function(b,c,f,d,a,e){if(null!=this.container){b=null!=b?b:this.getBorder();c=null!=c?c:!1;f=null!=f?f:0;d=null!=d?d:!0;a=null!=a?a:!1;e=null!=e?e:!1;var g=this.getBorderSizes(),k=this.container.offsetWidth-g.x-g.width-1,l=this.container.offsetHeight-g.y-g.height-1,g=this.view.getGraphBounds();if(0<g.width&&0<g.height){c&&null!=g.x&&null!=g.y&&(g=g.clone(),g.width+=g.x,g.height+=g.y,g.x=0,g.y=0);var m=this.view.scale,n=g.width/m,p=g.height/m;null!=this.backgroundImage&&(n=Math.max(n,
this.backgroundImage.width-g.x/m),p=Math.max(p,this.backgroundImage.height-g.y/m));var r=(c?b:2*b)+f,k=k-r,l=l-r;a=a?l/p:e?k/n:Math.min(k/n,l/p);null!=this.minFitScale&&(a=Math.max(a,this.minFitScale));null!=this.maxFitScale&&(a=Math.min(a,this.maxFitScale));if(d)c?this.view.scale!=a&&this.view.setScale(a):mxUtils.hasScrollbars(this.container)?(this.view.setScale(a),b=this.getGraphBounds(),null!=b.x&&(this.container.scrollLeft=b.x),null!=b.y&&(this.container.scrollTop=b.y)):this.view.scaleAndTranslate(a,
null!=g.x?Math.floor(this.view.translate.x-g.x/m+b/a+f/2):b,null!=g.y?Math.floor(this.view.translate.y-g.y/m+b/a+f/2):b);else return a}}return this.view.scale};
mxGraph.prototype.sizeDidChange=function(){var b=this.getGraphBounds();if(null!=this.container){var c=this.getBorder(),f=Math.max(0,b.x+b.width+c),c=Math.max(0,b.y+b.height+c);null!=this.minimumContainerSize&&(f=Math.max(f,this.minimumContainerSize.width),c=Math.max(c,this.minimumContainerSize.height));this.resizeContainer&&this.doResizeContainer(f,c);if(this.preferPageSize||!mxClient.IS_IE&&this.pageVisible){var d=this.getPreferredPageSize(b,f,c);null!=d&&(f=d.width*this.view.scale,c=d.height*this.view.scale)}null!=
this.minimumGraphSize&&(f=Math.max(f,this.minimumGraphSize.width*this.view.scale),c=Math.max(c,this.minimumGraphSize.height*this.view.scale));f=Math.ceil(f);c=Math.ceil(c);this.dialect==mxConstants.DIALECT_SVG?(d=this.view.getDrawPane().ownerSVGElement,d.style.minWidth=Math.max(1,f)+"px",d.style.minHeight=Math.max(1,c)+"px",d.style.width="100%",d.style.height="100%"):mxClient.IS_QUIRKS?this.view.updateHtmlCanvasSize(Math.max(1,f),Math.max(1,c)):(this.view.canvas.style.minWidth=Math.max(1,f)+"px",
this.view.canvas.style.minHeight=Math.max(1,c)+"px");this.updatePageBreaks(this.pageBreaksVisible,f,c)}this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",b))};mxGraph.prototype.doResizeContainer=function(b,c){null!=this.maximumContainerSize&&(b=Math.min(this.maximumContainerSize.width,b),c=Math.min(this.maximumContainerSize.height,c));this.container.style.width=Math.ceil(b)+"px";this.container.style.height=Math.ceil(c)+"px"};
mxGraph.prototype.updatePageBreaks=function(b,c,f){c=this.view.scale;f=this.view.translate;var d=this.pageFormat,a=c*this.pageScale,e=new mxRectangle(0,0,d.width*a,d.height*a),d=mxRectangle.fromRectangle(this.getGraphBounds());e.x=Math.floor((d.x-f.x*c)/e.width)*e.width+f.x*c;e.y=Math.floor((d.y-f.y*c)/e.height)*e.height+f.y*c;d.width=Math.ceil((d.width+(d.x-e.x))/e.width)*e.width;d.height=Math.ceil((d.height+(d.y-e.y))/e.height)*e.height;var g=(b=b&&Math.min(e.width,e.height)>this.minPageBreakDist)?
Math.ceil(d.width/e.width)+1:0,k=b?Math.ceil(d.height/e.height)+1:0,l=(g-1)*e.width,m=(k-1)*e.height;null==this.horizontalPageBreaks&&0<g&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<k&&(this.verticalPageBreaks=[]);b=mxUtils.bind(this,function(a){if(null!=a){for(var b=a==this.horizontalPageBreaks?g:k,d=0;d<=b;d++){var c=a==this.horizontalPageBreaks?[new mxPoint(e.x+d*e.width,e.y),new mxPoint(e.x+d*e.width,e.y+m)]:[new mxPoint(e.x,e.y+d*e.height),new mxPoint(e.x+l,e.y+d*e.height)];
null!=a[d]?(a[d].points=c,a[d].redraw()):(c=new mxPolyline(c,this.pageBreakColor),c.dialect=this.dialect,c.pointerEvents=!1,c.isDashed=this.pageBreakDashed,c.init(this.view.backgroundPane),c.redraw(),a[d]=c)}for(d=b;d<a.length;d++)a[d].destroy();a.splice(b,a.length-b)}});b(this.horizontalPageBreaks);b(this.verticalPageBreaks)};
mxGraph.prototype.getCellStyle=function(b){var c=this.model.getStyle(b),f=null,f=this.model.isEdge(b)?this.stylesheet.getDefaultEdgeStyle():this.stylesheet.getDefaultVertexStyle();null!=c&&(f=this.postProcessCellStyle(this.stylesheet.getCellStyle(c,f)));null==f&&(f=mxGraph.prototype.EMPTY_ARRAY);return f};
mxGraph.prototype.postProcessCellStyle=function(b){if(null!=b){var c=b[mxConstants.STYLE_IMAGE],f=this.getImageFromBundles(c);null!=f?b[mxConstants.STYLE_IMAGE]=f:f=c;null!=f&&"data:image/"==f.substring(0,11)&&("data:image/svg+xml,\x3c"==f.substring(0,20)?f=f.substring(0,19)+encodeURIComponent(f.substring(19)):"data:image/svg+xml,%3C"!=f.substring(0,22)&&(c=f.indexOf(","),0<c&&";base64,"!=f.substring(c-7,c+1)&&(f=f.substring(0,c)+";base64,"+f.substring(c+1))),b[mxConstants.STYLE_IMAGE]=f)}return b};
mxGraph.prototype.setCellStyle=function(b,c){c=c||this.getSelectionCells();if(null!=c){this.model.beginUpdate();try{for(var f=0;f<c.length;f++)this.model.setStyle(c[f],b)}finally{this.model.endUpdate()}}};mxGraph.prototype.toggleCellStyle=function(b,c,f){f=f||this.getSelectionCell();return this.toggleCellStyles(b,c,[f])};
mxGraph.prototype.toggleCellStyles=function(b,c,f){c=null!=c?c:!1;f=f||this.getSelectionCells();var d=null;if(null!=f&&0<f.length){var a=this.view.getState(f[0]),a=null!=a?a.style:this.getCellStyle(f[0]);null!=a&&(d=mxUtils.getValue(a,b,c)?0:1,this.setCellStyles(b,d,f))}return d};mxGraph.prototype.setCellStyles=function(b,c,f){f=f||this.getSelectionCells();mxUtils.setCellStyles(this.model,f,b,c)};mxGraph.prototype.toggleCellStyleFlags=function(b,c,f){this.setCellStyleFlags(b,c,null,f)};
mxGraph.prototype.setCellStyleFlags=function(b,c,f,d){d=d||this.getSelectionCells();if(null!=d&&0<d.length){if(null==f){var a=this.view.getState(d[0]),a=null!=a?a.style:this.getCellStyle(d[0]);null!=a&&(f=(parseInt(a[b]||0)&c)!=c)}mxUtils.setCellStyleFlags(this.model,d,b,c,f)}};
mxGraph.prototype.alignCells=function(b,c,f){null==c&&(c=this.getSelectionCells());if(null!=c&&1<c.length){if(null==f)for(var d=0;d<c.length;d++){var a=this.view.getState(c[d]);if(null!=a&&!this.model.isEdge(c[d]))if(null==f)if(b==mxConstants.ALIGN_CENTER){f=a.x+a.width/2;break}else if(b==mxConstants.ALIGN_RIGHT)f=a.x+a.width;else if(b==mxConstants.ALIGN_TOP)f=a.y;else if(b==mxConstants.ALIGN_MIDDLE){f=a.y+a.height/2;break}else f=b==mxConstants.ALIGN_BOTTOM?a.y+a.height:a.x;else f=b==mxConstants.ALIGN_RIGHT?
Math.max(f,a.x+a.width):b==mxConstants.ALIGN_TOP?Math.min(f,a.y):b==mxConstants.ALIGN_BOTTOM?Math.max(f,a.y+a.height):Math.min(f,a.x)}if(null!=f){var e=this.view.scale;this.model.beginUpdate();try{for(d=0;d<c.length;d++)if(a=this.view.getState(c[d]),null!=a){var g=this.getCellGeometry(c[d]);null!=g&&!this.model.isEdge(c[d])&&(g=g.clone(),b==mxConstants.ALIGN_CENTER?g.x+=(f-a.x-a.width/2)/e:b==mxConstants.ALIGN_RIGHT?g.x+=(f-a.x-a.width)/e:b==mxConstants.ALIGN_TOP?g.y+=(f-a.y)/e:b==mxConstants.ALIGN_MIDDLE?
g.y+=(f-a.y-a.height/2)/e:b==mxConstants.ALIGN_BOTTOM?g.y+=(f-a.y-a.height)/e:g.x+=(f-a.x)/e,this.resizeCell(c[d],g))}this.fireEvent(new mxEventObject(mxEvent.ALIGN_CELLS,"align",b,"cells",c))}finally{this.model.endUpdate()}}}return c};
mxGraph.prototype.flipEdge=function(b){if(null!=b&&null!=this.alternateEdgeStyle){this.model.beginUpdate();try{var c=this.model.getStyle(b);null==c||0==c.length?this.model.setStyle(b,this.alternateEdgeStyle):this.model.setStyle(b,null);this.resetEdge(b);this.fireEvent(new mxEventObject(mxEvent.FLIP_EDGE,"edge",b))}finally{this.model.endUpdate()}}return b};mxGraph.prototype.addImageBundle=function(b){this.imageBundles.push(b)};
mxGraph.prototype.removeImageBundle=function(b){for(var c=[],f=0;f<this.imageBundles.length;f++)this.imageBundles[f]!=b&&c.push(this.imageBundles[f]);this.imageBundles=c};mxGraph.prototype.getImageFromBundles=function(b){if(null!=b)for(var c=0;c<this.imageBundles.length;c++){var f=this.imageBundles[c].getImage(b);if(null!=f)return f}return null};
mxGraph.prototype.orderCells=function(b,c){null==c&&(c=mxUtils.sortCells(this.getSelectionCells(),!0));this.model.beginUpdate();try{this.cellsOrdered(c,b),this.fireEvent(new mxEventObject(mxEvent.ORDER_CELLS,"back",b,"cells",c))}finally{this.model.endUpdate()}return c};
mxGraph.prototype.cellsOrdered=function(b,c){if(null!=b){this.model.beginUpdate();try{for(var f=0;f<b.length;f++){var d=this.model.getParent(b[f]);c?this.model.add(d,b[f],f):this.model.add(d,b[f],this.model.getChildCount(d)-1)}this.fireEvent(new mxEventObject(mxEvent.CELLS_ORDERED,"back",c,"cells",b))}finally{this.model.endUpdate()}}};
mxGraph.prototype.groupCells=function(b,c,f){null==f&&(f=mxUtils.sortCells(this.getSelectionCells(),!0));f=this.getCellsForGroup(f);null==b&&(b=this.createGroupCell(f));var d=this.getBoundsForGroup(b,f,c);if(0<f.length&&null!=d){var a=this.model.getParent(b);null==a&&(a=this.model.getParent(f[0]));this.model.beginUpdate();try{null==this.getCellGeometry(b)&&this.model.setGeometry(b,new mxGeometry);var e=this.model.getChildCount(a);this.cellsAdded([b],a,e,null,null,!1);e=this.model.getChildCount(b);
this.cellsAdded(f,b,e,null,null,!1,!1);this.cellsMoved(f,-d.x,-d.y,!1,!0);this.cellsResized([b],[d],!1);this.fireEvent(new mxEventObject(mxEvent.GROUP_CELLS,"group",b,"border",c,"cells",f))}finally{this.model.endUpdate()}}return b};mxGraph.prototype.getCellsForGroup=function(b){var c=[];if(null!=b&&0<b.length){var f=this.model.getParent(b[0]);c.push(b[0]);for(var d=1;d<b.length;d++)this.model.getParent(b[d])==f&&c.push(b[d])}return c};
mxGraph.prototype.getBoundsForGroup=function(b,c,f){c=this.getBoundingBoxFromGeometry(c,!0);null!=c&&(this.isSwimlane(b)&&(b=this.getStartSize(b),c.x-=b.width,c.y-=b.height,c.width+=b.width,c.height+=b.height),null!=f&&(c.x-=f,c.y-=f,c.width+=2*f,c.height+=2*f));return c};mxGraph.prototype.createGroupCell=function(b){b=new mxCell("");b.setVertex(!0);b.setConnectable(!1);return b};
mxGraph.prototype.ungroupCells=function(b){var c=[];if(null==b){b=this.getSelectionCells();for(var f=[],d=0;d<b.length;d++)0<this.model.getChildCount(b[d])&&f.push(b[d]);b=f}if(null!=b&&0<b.length){this.model.beginUpdate();try{for(d=0;d<b.length;d++){var a=this.model.getChildren(b[d]);if(null!=a&&0<a.length){var a=a.slice(),e=this.model.getParent(b[d]),g=this.model.getChildCount(e);this.cellsAdded(a,e,g,null,null,!0);c=c.concat(a)}}this.removeCellsAfterUngroup(b);this.fireEvent(new mxEventObject(mxEvent.UNGROUP_CELLS,
"cells",b))}finally{this.model.endUpdate()}}return c};mxGraph.prototype.removeCellsAfterUngroup=function(b){this.cellsRemoved(this.addAllEdges(b))};mxGraph.prototype.removeCellsFromParent=function(b){null==b&&(b=this.getSelectionCells());this.model.beginUpdate();try{var c=this.getDefaultParent(),f=this.model.getChildCount(c);this.cellsAdded(b,c,f,null,null,!0);this.fireEvent(new mxEventObject(mxEvent.REMOVE_CELLS_FROM_PARENT,"cells",b))}finally{this.model.endUpdate()}return b};
mxGraph.prototype.updateGroupBounds=function(b,c,f,d,a,e,g){null==b&&(b=this.getSelectionCells());c=null!=c?c:0;f=null!=f?f:!1;d=null!=d?d:0;a=null!=a?a:0;e=null!=e?e:0;g=null!=g?g:0;this.model.beginUpdate();try{for(var k=b.length-1;0<=k;k--){var l=this.getCellGeometry(b[k]);if(null!=l){var m=this.getChildCells(b[k]);if(null!=m&&0<m.length){var n=this.getBoundingBoxFromGeometry(m,!0);if(null!=n&&0<n.width&&0<n.height){var p=0,r=0;if(this.isSwimlane(b[k]))var s=this.getStartSize(b[k]),p=s.width,r=
s.height;l=l.clone();f&&(l.x=Math.round(l.x+n.x-c-p-g),l.y=Math.round(l.y+n.y-c-r-d));l.width=Math.round(n.width+2*c+p+g+a);l.height=Math.round(n.height+2*c+r+d+e);this.model.setGeometry(b[k],l);this.moveCells(m,c+p-n.x+g,c+r-n.y+d)}}}}}finally{this.model.endUpdate()}return b};
mxGraph.prototype.getBoundingBox=function(b){var c=null;if(null!=b&&0<b.length)for(var f=0;f<b.length;f++)if(this.model.isVertex(b[f])||this.model.isEdge(b[f])){var d=this.view.getBoundingBox(this.view.getState(b[f]),!0);null!=d&&(null==c?c=mxRectangle.fromRectangle(d):c.add(d))}return c};
mxGraph.prototype.cloneCells=function(b,c,f){c=null!=c?c:!0;var d=null;if(null!=b){for(var a=new mxDictionary,d=[],e=0;e<b.length;e++)a.put(b[e],!0),d.push(b[e]);if(0<d.length)for(var g=this.view.scale,k=this.view.translate,d=this.model.cloneCells(b,!0,f),e=0;e<b.length;e++)if(!c&&this.model.isEdge(d[e])&&null!=this.getEdgeValidationError(d[e],this.model.getTerminal(d[e],!0),this.model.getTerminal(d[e],!1)))d[e]=null;else{var l=this.model.getGeometry(d[e]);if(null!=l){var m=this.view.getState(b[e]),
n=this.view.getState(this.model.getParent(b[e]));if(null!=m&&null!=n)if(f=n.origin.x,n=n.origin.y,this.model.isEdge(d[e])){for(var m=m.absolutePoints,p=this.model.getTerminal(b[e],!0);null!=p&&!a.get(p);)p=this.model.getParent(p);null==p&&l.setTerminalPoint(new mxPoint(m[0].x/g-k.x,m[0].y/g-k.y),!0);for(p=this.model.getTerminal(b[e],!1);null!=p&&!a.get(p);)p=this.model.getParent(p);null==p&&(p=m.length-1,l.setTerminalPoint(new mxPoint(m[p].x/g-k.x,m[p].y/g-k.y),!1));l=l.points;if(null!=l)for(m=0;m<
l.length;m++)l[m].x+=f,l[m].y+=n}else l.translate(f,n)}}else d=[]}return d};mxGraph.prototype.insertVertex=function(b,c,f,d,a,e,g,k,l){c=this.createVertex(b,c,f,d,a,e,g,k,l);return this.addCell(c,b)};mxGraph.prototype.createVertex=function(b,c,f,d,a,e,g,k,l){b=new mxGeometry(d,a,e,g);b.relative=null!=l?l:!1;f=new mxCell(f,b,k);f.setId(c);f.setVertex(!0);f.setConnectable(!0);return f};mxGraph.prototype.insertEdge=function(b,c,f,d,a,e){c=this.createEdge(b,c,f,d,a,e);return this.addEdge(c,b,d,a)};
mxGraph.prototype.createEdge=function(b,c,f,d,a,e){b=new mxCell(f,new mxGeometry,e);b.setId(c);b.setEdge(!0);b.geometry.relative=!0;return b};mxGraph.prototype.addEdge=function(b,c,f,d,a){return this.addCell(b,c,a,f,d)};mxGraph.prototype.addCell=function(b,c,f,d,a){return this.addCells([b],c,f,d,a)[0]};
mxGraph.prototype.addCells=function(b,c,f,d,a){null==c&&(c=this.getDefaultParent());null==f&&(f=this.model.getChildCount(c));this.model.beginUpdate();try{this.cellsAdded(b,c,f,d,a,!1,!0),this.fireEvent(new mxEventObject(mxEvent.ADD_CELLS,"cells",b,"parent",c,"index",f,"source",d,"target",a))}finally{this.model.endUpdate()}return b};
mxGraph.prototype.cellsAdded=function(b,c,f,d,a,e,g){if(null!=b&&null!=c&&null!=f){this.model.beginUpdate();try{for(var k=e?this.view.getState(c):null,l=null!=k?k.origin:null,m=new mxPoint(0,0),k=0;k<b.length;k++)if(null==b[k])f--;else{var n=this.model.getParent(b[k]);if(null!=l&&b[k]!=c&&c!=n){var p=this.view.getState(n),r=null!=p?p.origin:m,s=this.model.getGeometry(b[k]);if(null!=s){var q=r.x-l.x,t=r.y-l.y,s=s.clone();s.translate(q,t);!s.relative&&this.model.isVertex(b[k])&&!this.isAllowNegativeCoordinates()&&
(s.x=Math.max(0,s.x),s.y=Math.max(0,s.y));this.model.setGeometry(b[k],s)}}c==n&&f+k>this.model.getChildCount(c)&&f--;this.model.add(c,b[k],f+k);this.autoSizeCellsOnAdd&&this.autoSizeCell(b[k],!0);this.isExtendParentsOnAdd(b[k])&&this.isExtendParent(b[k])&&this.extendParent(b[k]);(null==g||g)&&this.constrainChild(b[k]);null!=d&&this.cellConnected(b[k],d,!0);null!=a&&this.cellConnected(b[k],a,!1)}this.fireEvent(new mxEventObject(mxEvent.CELLS_ADDED,"cells",b,"parent",c,"index",f,"source",d,"target",
a,"absolute",e))}finally{this.model.endUpdate()}}};mxGraph.prototype.autoSizeCell=function(b,c){if(null!=c?c:1)for(var f=this.model.getChildCount(b),d=0;d<f;d++)this.autoSizeCell(this.model.getChildAt(b,d));this.getModel().isVertex(b)&&this.isAutoSizeCell(b)&&this.updateCellSize(b)};
mxGraph.prototype.removeCells=function(b,c){c=null!=c?c:!0;null==b&&(b=this.getDeletableCells(this.getSelectionCells()));c&&(b=this.getDeletableCells(this.addAllEdges(b)));this.model.beginUpdate();try{this.cellsRemoved(b),this.fireEvent(new mxEventObject(mxEvent.REMOVE_CELLS,"cells",b,"includeEdges",c))}finally{this.model.endUpdate()}return b};
mxGraph.prototype.cellsRemoved=function(b){if(null!=b&&0<b.length){var c=this.view.scale,f=this.view.translate;this.model.beginUpdate();try{for(var d=new mxDictionary,a=0;a<b.length;a++)d.put(b[a],!0);for(a=0;a<b.length;a++){for(var e=this.getAllEdges([b[a]]),g=mxUtils.bind(this,function(d,g){var n=this.model.getGeometry(d);if(null!=n){var p=this.view.getState(d);if(null!=p){for(var r=p.getVisibleTerminal(g),s=!1;null!=r;){if(b[a]==r){s=!0;break}r=this.model.getParent(r)}if(s){var r=f.x,s=f.y,q=this.view.getState(this.model.getParent(d));
null!=q&&this.model.isVertex(q.cell)&&(r=q.x/c,s=q.y/c);n=n.clone();p=p.absolutePoints;q=g?0:p.length-1;n.setTerminalPoint(new mxPoint(p[q].x/c-r,p[q].y/c-s),g);this.model.setTerminal(e[k],null,g);this.model.setGeometry(e[k],n)}}}}),k=0;k<e.length;k++)d.get(e[k])||(g(e[k],!0),g(e[k],!1));this.model.remove(b[a])}this.fireEvent(new mxEventObject(mxEvent.CELLS_REMOVED,"cells",b))}finally{this.model.endUpdate()}}};
mxGraph.prototype.splitEdge=function(b,c,f,d,a){d=d||0;a=a||0;var e=this.model.getParent(b),g=this.model.getTerminal(b,!0);this.model.beginUpdate();try{if(null==f){f=this.cloneCells([b])[0];var k=this.view.getState(b),l=this.getCellGeometry(f);if(null!=l&&null!=l.points&&null!=k){var m=this.view.translate,n=this.view.scale,p=mxUtils.findNearestSegment(k,(d+m.x)*n,(a+m.y)*n);l.points=l.points.slice(0,p);l=this.getCellGeometry(b);null!=l&&null!=l.points&&(l=l.clone(),l.points=l.points.slice(p),this.model.setGeometry(b,
l))}}this.cellsMoved(c,d,a,!1,!1);this.cellsAdded(c,e,this.model.getChildCount(e),null,null,!0);this.cellsAdded([f],e,this.model.getChildCount(e),g,c[0],!1);this.cellConnected(b,c[0],!0);this.fireEvent(new mxEventObject(mxEvent.SPLIT_EDGE,"edge",b,"cells",c,"newEdge",f,"dx",d,"dy",a))}finally{this.model.endUpdate()}return f};
mxGraph.prototype.toggleCells=function(b,c,f){null==c&&(c=this.getSelectionCells());f&&(c=this.addAllEdges(c));this.model.beginUpdate();try{this.cellsToggled(c,b),this.fireEvent(new mxEventObject(mxEvent.TOGGLE_CELLS,"show",b,"cells",c,"includeEdges",f))}finally{this.model.endUpdate()}return c};mxGraph.prototype.cellsToggled=function(b,c){if(null!=b&&0<b.length){this.model.beginUpdate();try{for(var f=0;f<b.length;f++)this.model.setVisible(b[f],c)}finally{this.model.endUpdate()}}};
mxGraph.prototype.foldCells=function(b,c,f,d,a){c=null!=c?c:!1;null==f&&(f=this.getFoldableCells(this.getSelectionCells(),b));this.stopEditing(!1);this.model.beginUpdate();try{this.cellsFolded(f,b,c,d),this.fireEvent(new mxEventObject(mxEvent.FOLD_CELLS,"collapse",b,"recurse",c,"cells",f))}finally{this.model.endUpdate()}return f};
mxGraph.prototype.cellsFolded=function(b,c,f,d){if(null!=b&&0<b.length){this.model.beginUpdate();try{for(var a=0;a<b.length;a++)if((!d||this.isCellFoldable(b[a],c))&&c!=this.isCellCollapsed(b[a])){this.model.setCollapsed(b[a],c);this.swapBounds(b[a],c);this.isExtendParent(b[a])&&this.extendParent(b[a]);if(f){var e=this.model.getChildren(b[a]);this.foldCells(e,c,f)}this.constrainChild(b[a])}this.fireEvent(new mxEventObject(mxEvent.CELLS_FOLDED,"cells",b,"collapse",c,"recurse",f))}finally{this.model.endUpdate()}}};
mxGraph.prototype.swapBounds=function(b,c){if(null!=b){var f=this.model.getGeometry(b);null!=f&&(f=f.clone(),this.updateAlternateBounds(b,f,c),f.swap(),this.model.setGeometry(b,f))}};
mxGraph.prototype.updateAlternateBounds=function(b,c,f){if(null!=b&&null!=c){f=this.view.getState(b);f=null!=f?f.style:this.getCellStyle(b);if(null==c.alternateBounds){var d=c;this.collapseToPreferredSize&&(b=this.getPreferredSizeForCell(b),null!=b&&(d=b,b=mxUtils.getValue(f,mxConstants.STYLE_STARTSIZE),0<b&&(d.height=Math.max(d.height,b))));c.alternateBounds=new mxRectangle(0,0,d.width,d.height)}if(null!=c.alternateBounds){c.alternateBounds.x=c.x;c.alternateBounds.y=c.y;var a=mxUtils.toRadians(f[mxConstants.STYLE_ROTATION]||
0);0!=a&&(b=c.alternateBounds.getCenterX()-c.getCenterX(),f=c.alternateBounds.getCenterY()-c.getCenterY(),d=Math.cos(a),a=Math.sin(a),c.alternateBounds.x+=d*b-a*f-b,c.alternateBounds.y+=a*b+d*f-f)}}};mxGraph.prototype.addAllEdges=function(b){var c=b.slice();return mxUtils.removeDuplicates(c.concat(this.getAllEdges(b)))};
mxGraph.prototype.getAllEdges=function(b){var c=[];if(null!=b)for(var f=0;f<b.length;f++){for(var d=this.model.getEdgeCount(b[f]),a=0;a<d;a++)c.push(this.model.getEdgeAt(b[f],a));d=this.model.getChildren(b[f]);c=c.concat(this.getAllEdges(d))}return c};mxGraph.prototype.updateCellSize=function(b,c){c=null!=c?c:!1;this.model.beginUpdate();try{this.cellSizeUpdated(b,c),this.fireEvent(new mxEventObject(mxEvent.UPDATE_CELL_SIZE,"cell",b,"ignoreChildren",c))}finally{this.model.endUpdate()}return b};
mxGraph.prototype.cellSizeUpdated=function(b,c){if(null!=b){this.model.beginUpdate();try{var f=this.getPreferredSizeForCell(b),d=this.model.getGeometry(b);if(null!=f&&null!=d){var a=this.isCellCollapsed(b),d=d.clone();if(this.isSwimlane(b)){var e=this.view.getState(b),g=null!=e?e.style:this.getCellStyle(b),k=this.model.getStyle(b);null==k&&(k="");mxUtils.getValue(g,mxConstants.STYLE_HORIZONTAL,!0)?(k=mxUtils.setStyle(k,mxConstants.STYLE_STARTSIZE,f.height+8),a&&(d.height=f.height+8),d.width=f.width):
(k=mxUtils.setStyle(k,mxConstants.STYLE_STARTSIZE,f.width+8),a&&(d.width=f.width+8),d.height=f.height);this.model.setStyle(b,k)}else d.width=f.width,d.height=f.height;if(!c&&!a){var l=this.view.getBounds(this.model.getChildren(b));if(null!=l){var m=this.view.translate,n=this.view.scale,p=(l.y+l.height)/n-d.y-m.y;d.width=Math.max(d.width,(l.x+l.width)/n-d.x-m.x);d.height=Math.max(d.height,p)}}this.cellsResized([b],[d],!1)}}finally{this.model.endUpdate()}}};
mxGraph.prototype.getPreferredSizeForCell=function(b){var c=null;if(null!=b){var f=this.view.getState(b)||this.view.createState(b),d=f.style;if(!this.model.isEdge(b)){var a=d[mxConstants.STYLE_FONTSIZE]||mxConstants.DEFAULT_FONTSIZE;b=c=0;if((null!=this.getImage(f)||null!=d[mxConstants.STYLE_IMAGE])&&d[mxConstants.STYLE_SHAPE]==mxConstants.SHAPE_LABEL)d[mxConstants.STYLE_VERTICAL_ALIGN]==mxConstants.ALIGN_MIDDLE&&(c+=parseFloat(d[mxConstants.STYLE_IMAGE_WIDTH])||mxLabel.prototype.imageSize),d[mxConstants.STYLE_ALIGN]!=
mxConstants.ALIGN_CENTER&&(b+=parseFloat(d[mxConstants.STYLE_IMAGE_HEIGHT])||mxLabel.prototype.imageSize);c+=2*(d[mxConstants.STYLE_SPACING]||0);c+=d[mxConstants.STYLE_SPACING_LEFT]||0;c+=d[mxConstants.STYLE_SPACING_RIGHT]||0;b+=2*(d[mxConstants.STYLE_SPACING]||0);b+=d[mxConstants.STYLE_SPACING_TOP]||0;b+=d[mxConstants.STYLE_SPACING_BOTTOM]||0;var e=this.getFoldingImage(f);null!=e&&(c+=e.width+8);e=this.cellRenderer.getLabelValue(f);null!=e&&0<e.length?(this.isHtmlLabel(f.cell)||(e=mxUtils.htmlEntities(e)),
e=e.replace(/\n/g,"\x3cbr\x3e"),a=mxUtils.getSizeForString(e,a,d[mxConstants.STYLE_FONTFAMILY]),f=a.width+c,b=a.height+b,mxUtils.getValue(d,mxConstants.STYLE_HORIZONTAL,!0)||(d=b,b=f,f=d),this.gridEnabled&&(f=this.snap(f+this.gridSize/2),b=this.snap(b+this.gridSize/2)),c=new mxRectangle(0,0,f,b)):(d=4*this.gridSize,c=new mxRectangle(0,0,d,d))}}return c};mxGraph.prototype.resizeCell=function(b,c,f){return this.resizeCells([b],[c],f)[0]};
mxGraph.prototype.resizeCells=function(b,c,f){f=null!=f?f:this.isRecursiveResize();this.model.beginUpdate();try{this.cellsResized(b,c,f),this.fireEvent(new mxEventObject(mxEvent.RESIZE_CELLS,"cells",b,"bounds",c))}finally{this.model.endUpdate()}return b};
mxGraph.prototype.cellsResized=function(b,c,f){f=null!=f?f:!1;if(null!=b&&null!=c&&b.length==c.length){this.model.beginUpdate();try{for(var d=0;d<b.length;d++)this.cellResized(b[d],c[d],!1,f),this.isExtendParent(b[d])&&this.extendParent(b[d]),this.constrainChild(b[d]);this.resetEdgesOnResize&&this.resetEdges(b);this.fireEvent(new mxEventObject(mxEvent.CELLS_RESIZED,"cells",b,"bounds",c))}finally{this.model.endUpdate()}}};
mxGraph.prototype.cellResized=function(b,c,f,d){var a=this.model.getGeometry(b);if(null!=a&&(a.x!=c.x||a.y!=c.y||a.width!=c.width||a.height!=c.height)){a=a.clone();!f&&a.relative?(f=a.offset,null!=f&&(f.x+=c.x-a.x,f.y+=c.y-a.y)):(a.x=c.x,a.y=c.y);a.width=c.width;a.height=c.height;!a.relative&&this.model.isVertex(b)&&!this.isAllowNegativeCoordinates()&&(a.x=Math.max(0,a.x),a.y=Math.max(0,a.y));this.model.beginUpdate();try{d&&this.resizeChildCells(b,a),this.model.setGeometry(b,a),this.constrainChildCells(b)}finally{this.model.endUpdate()}}};
mxGraph.prototype.resizeChildCells=function(b,c){for(var f=this.model.getGeometry(b),d=c.width/f.width,f=c.height/f.height,a=this.model.getChildCount(b),e=0;e<a;e++)this.scaleCell(this.model.getChildAt(b,e),d,f,!0)};mxGraph.prototype.constrainChildCells=function(b){for(var c=this.model.getChildCount(b),f=0;f<c;f++)this.constrainChild(this.model.getChildAt(b,f))};
mxGraph.prototype.scaleCell=function(b,c,f,d){var a=this.model.getGeometry(b);if(null!=a){var e=this.view.getState(b),e=null!=e?e.style:this.getCellStyle(b),a=a.clone(),g=a.x,k=a.y,l=a.width,m=a.height;a.scale(c,f,"fixed"==e[mxConstants.STYLE_ASPECT]);"1"==e[mxConstants.STYLE_RESIZE_WIDTH]?a.width=l*c:"0"==e[mxConstants.STYLE_RESIZE_WIDTH]&&(a.width=l);"1"==e[mxConstants.STYLE_RESIZE_HEIGHT]?a.height=m*f:"0"==e[mxConstants.STYLE_RESIZE_HEIGHT]&&(a.height=m);this.isCellMovable(b)||(a.x=g,a.y=k);this.isCellResizable(b)||
(a.width=l,a.height=m);this.model.isVertex(b)?this.cellResized(b,a,!0,d):this.model.setGeometry(b,a)}};mxGraph.prototype.extendParent=function(b){if(null!=b){var c=this.model.getParent(b),f=this.getCellGeometry(c);if(null!=c&&null!=f&&!this.isCellCollapsed(c)&&(b=this.getCellGeometry(b),null!=b&&!b.relative&&(f.width<b.x+b.width||f.height<b.y+b.height)))f=f.clone(),f.width=Math.max(f.width,b.x+b.width),f.height=Math.max(f.height,b.y+b.height),this.cellsResized([c],[f],!1)}};
mxGraph.prototype.importCells=function(b,c,f,d,a,e){return this.moveCells(b,c,f,!0,d,a,e)};
mxGraph.prototype.moveCells=function(b,c,f,d,a,e,g){c=null!=c?c:0;f=null!=f?f:0;d=null!=d?d:!1;if(null!=b&&(0!=c||0!=f||d||null!=a)){b=this.model.getTopmostCells(b);this.model.beginUpdate();try{for(var k=new mxDictionary,l=0;l<b.length;l++)k.put(b[l],!0);for(var m=mxUtils.bind(this,function(a){for(;null!=a;){if(k.get(a))return!0;a=this.model.getParent(a)}return!1}),n=[],l=0;l<b.length;l++){var p=this.getCellGeometry(b[l]),r=this.model.getParent(b[l]);(null==p||!p.relative||!this.model.isEdge(r)||
!m(this.model.getTerminal(r,!0))&&!m(this.model.getTerminal(r,!1)))&&n.push(b[l])}b=n;d&&(b=this.cloneCells(b,this.isCloneInvalidEdges(),g),null==a&&(a=this.getDefaultParent()));var s=this.isAllowNegativeCoordinates();null!=a&&this.setAllowNegativeCoordinates(!0);this.cellsMoved(b,c,f,!d&&this.isDisconnectOnMove()&&this.isAllowDanglingEdges(),null==a,this.isExtendParentsOnMove()&&null==a);this.setAllowNegativeCoordinates(s);if(null!=a){var q=this.model.getChildCount(a);this.cellsAdded(b,a,q,null,
null,!0)}this.fireEvent(new mxEventObject(mxEvent.MOVE_CELLS,"cells",b,"dx",c,"dy",f,"clone",d,"target",a,"event",e))}finally{this.model.endUpdate()}}return b};
mxGraph.prototype.cellsMoved=function(b,c,f,d,a,e){if(null!=b&&(0!=c||0!=f)){e=null!=e?e:!1;this.model.beginUpdate();try{d&&this.disconnectGraph(b);for(var g=0;g<b.length;g++)this.translateCell(b[g],c,f),e&&this.isExtendParent(b[g])?this.extendParent(b[g]):a&&this.constrainChild(b[g]);this.resetEdgesOnMove&&this.resetEdges(b);this.fireEvent(new mxEventObject(mxEvent.CELLS_MOVED,"cells",b,"dx",c,"dy",f,"disconnect",d))}finally{this.model.endUpdate()}}};
mxGraph.prototype.translateCell=function(b,c,f){var d=this.model.getGeometry(b);if(null!=d){c=parseFloat(c);f=parseFloat(f);d=d.clone();d.translate(c,f);!d.relative&&this.model.isVertex(b)&&!this.isAllowNegativeCoordinates()&&(d.x=Math.max(0,parseFloat(d.x)),d.y=Math.max(0,parseFloat(d.y)));if(d.relative&&!this.model.isEdge(b)){var a=this.model.getParent(b),e=0;this.model.isVertex(a)&&(e=this.view.getState(a),a=null!=e?e.style:this.getCellStyle(a),e=mxUtils.getValue(a,mxConstants.STYLE_ROTATION,0));
0!=e&&(e=mxUtils.toRadians(-e),a=Math.cos(e),e=Math.sin(e),f=mxUtils.getRotatedPoint(new mxPoint(c,f),a,e,new mxPoint(0,0)),c=f.x,f=f.y);null==d.offset?d.offset=new mxPoint(c,f):(d.offset.x=parseFloat(d.offset.x)+c,d.offset.y=parseFloat(d.offset.y)+f)}this.model.setGeometry(b,d)}};
mxGraph.prototype.getCellContainmentArea=function(b){if(null!=b&&!this.model.isEdge(b)){var c=this.model.getParent(b);if(null!=c&&c!=this.getDefaultParent()){var f=this.model.getGeometry(c);if(null!=f){var d=b=0,a=f.width,f=f.height;if(this.isSwimlane(c)){var e=this.getStartSize(c),g=this.view.getState(c),k=null!=g?g.style:this.getCellStyle(c),c=mxUtils.getValue(k,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST),g=1==mxUtils.getValue(k,mxConstants.STYLE_FLIPH,0),k=1==mxUtils.getValue(k,mxConstants.STYLE_FLIPV,
0);if(c==mxConstants.DIRECTION_SOUTH||c==mxConstants.DIRECTION_NORTH){var l=e.width;e.width=e.height;e.height=l}if(c==mxConstants.DIRECTION_EAST&&!k||c==mxConstants.DIRECTION_NORTH&&!g||c==mxConstants.DIRECTION_WEST&&k||c==mxConstants.DIRECTION_SOUTH&&g)b=e.width,d=e.height;a-=e.width;f-=e.height}return new mxRectangle(b,d,a,f)}}}return null};mxGraph.prototype.getMaximumGraphBounds=function(){return this.maximumGraphBounds};
mxGraph.prototype.constrainChild=function(b,c){if(null!=b){var f=this.getCellGeometry(b);if(null!=f&&(this.isConstrainRelativeChildren()||!f.relative)){var d=this.model.getParent(b);this.getCellGeometry(d);var a=this.getMaximumGraphBounds();null!=a&&(d=this.getBoundingBoxFromGeometry([d],!1),null!=d&&(a=mxRectangle.fromRectangle(a),a.x-=d.x,a.y-=d.y));if(this.isConstrainChild(b)&&(d=this.getCellContainmentArea(b),null!=d)){var e=this.getOverlap(b);0<e&&(d=mxRectangle.fromRectangle(d),d.x-=d.width*
e,d.y-=d.height*e,d.width+=2*d.width*e,d.height+=2*d.height*e);null==a?a=d:(a=mxRectangle.fromRectangle(a),a.intersect(d))}if(null!=a){d=[b];if(!this.isCellCollapsed(b))for(var e=this.model.getDescendants(b),g=0;g<e.length;g++)this.isCellVisible(e[g])&&d.push(e[g]);d=this.getBoundingBoxFromGeometry(d,!1);if(null!=d){f=f.clone();e=0;f.width>a.width&&(e=f.width-a.width,f.width-=e);d.x+d.width>a.x+a.width&&(e-=d.x+d.width-a.x-a.width-e);g=0;f.height>a.height&&(g=f.height-a.height,f.height-=g);d.y+d.height>
a.y+a.height&&(g-=d.y+d.height-a.y-a.height-g);d.x<a.x&&(e-=d.x-a.x);d.y<a.y&&(g-=d.y-a.y);if(0!=e||0!=g)f.relative?(null==f.offset&&(f.offset=new mxPoint),f.offset.x+=e,f.offset.y+=g):(f.x+=e,f.y+=g);this.model.setGeometry(b,f)}}}}};
mxGraph.prototype.resetEdges=function(b){if(null!=b){for(var c=new mxDictionary,f=0;f<b.length;f++)c.put(b[f],!0);this.model.beginUpdate();try{for(f=0;f<b.length;f++){var d=this.model.getEdges(b[f]);if(null!=d)for(var a=0;a<d.length;a++){var e=this.view.getState(d[a]),g=null!=e?e.getVisibleTerminal(!0):this.view.getVisibleTerminal(d[a],!0),k=null!=e?e.getVisibleTerminal(!1):this.view.getVisibleTerminal(d[a],!1);(!c.get(g)||!c.get(k))&&this.resetEdge(d[a])}this.resetEdges(this.model.getChildren(b[f]))}}finally{this.model.endUpdate()}}};
mxGraph.prototype.resetEdge=function(b){var c=this.model.getGeometry(b);null!=c&&null!=c.points&&0<c.points.length&&(c=c.clone(),c.points=[],this.model.setGeometry(b,c));return b};
mxGraph.prototype.getOutlineConstraint=function(b,c,f){if(null!=c.shape){f=this.view.getPerimeterBounds(c);var d=c.style[mxConstants.STYLE_DIRECTION];if(d==mxConstants.DIRECTION_NORTH||d==mxConstants.DIRECTION_SOUTH){f.x+=f.width/2-f.height/2;f.y+=f.height/2-f.width/2;var a=f.width;f.width=f.height;f.height=a}var e=mxUtils.toRadians(c.shape.getShapeRotation());if(0!=e){var a=Math.cos(-e),e=Math.sin(-e),g=new mxPoint(f.getCenterX(),f.getCenterY());b=mxUtils.getRotatedPoint(b,a,e,g)}var g=e=1,k=0,l=
0;if(this.getModel().isVertex(c.cell)){var m=c.style[mxConstants.STYLE_FLIPH],n=c.style[mxConstants.STYLE_FLIPV];null!=c.shape&&null!=c.shape.stencil&&(m=1==mxUtils.getValue(c.style,"stencilFlipH",0)||m,n=1==mxUtils.getValue(c.style,"stencilFlipV",0)||n);if(d==mxConstants.DIRECTION_NORTH||d==mxConstants.DIRECTION_SOUTH)a=m,m=n,n=a;m&&(e=-1,k=-f.width);n&&(g=-1,l=-f.height)}b=new mxPoint((b.x-f.x)*e-k+f.x,(b.y-f.y)*g-l+f.y);c=Math.round(1E3*(b.x-f.x)/f.width)/1E3;b=Math.round(1E3*(b.y-f.y)/f.height)/
1E3;return new mxConnectionConstraint(new mxPoint(c,b),!1)}return null};mxGraph.prototype.getAllConnectionConstraints=function(b,c){return null!=b&&null!=b.shape&&null!=b.shape.stencil?b.shape.stencil.constraints:null};
mxGraph.prototype.getConnectionConstraint=function(b,c,f){c=null;var d=b.style[f?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X];if(null!=d){var a=b.style[f?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y];null!=a&&(c=new mxPoint(parseFloat(d),parseFloat(a)))}d=!1;null!=c&&(d=mxUtils.getValue(b.style,f?mxConstants.STYLE_EXIT_PERIMETER:mxConstants.STYLE_ENTRY_PERIMETER,!0));return new mxConnectionConstraint(c,d)};
mxGraph.prototype.setConnectionConstraint=function(b,c,f,d){if(null!=d){this.model.beginUpdate();try{null==d||null==d.point?(this.setCellStyles(f?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X,null,[b]),this.setCellStyles(f?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y,null,[b]),this.setCellStyles(f?mxConstants.STYLE_EXIT_PERIMETER:mxConstants.STYLE_ENTRY_PERIMETER,null,[b])):null!=d.point&&(this.setCellStyles(f?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X,d.point.x,[b]),this.setCellStyles(f?
mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y,d.point.y,[b]),d.perimeter?this.setCellStyles(f?mxConstants.STYLE_EXIT_PERIMETER:mxConstants.STYLE_ENTRY_PERIMETER,null,[b]):this.setCellStyles(f?mxConstants.STYLE_EXIT_PERIMETER:mxConstants.STYLE_ENTRY_PERIMETER,"0",[b]))}finally{this.model.endUpdate()}}};
mxGraph.prototype.getConnectionPoint=function(b,c){var f=null;if(null!=b&&null!=c.point){var d=this.view.getPerimeterBounds(b),a=new mxPoint(d.getCenterX(),d.getCenterY()),e=b.style[mxConstants.STYLE_DIRECTION],g=0;null!=e&&(e==mxConstants.DIRECTION_NORTH?g+=270:e==mxConstants.DIRECTION_WEST?g+=180:e==mxConstants.DIRECTION_SOUTH&&(g+=90),(e==mxConstants.DIRECTION_NORTH||e==mxConstants.DIRECTION_SOUTH)&&d.rotate90());if(null!=c.point){var k=f=1,l=0,m=0;if(this.getModel().isVertex(b.cell)){var n=b.style[mxConstants.STYLE_FLIPH],
p=b.style[mxConstants.STYLE_FLIPV];null!=b.shape&&null!=b.shape.stencil&&(n=1==mxUtils.getValue(b.style,"stencilFlipH",0)||n,p=1==mxUtils.getValue(b.style,"stencilFlipV",0)||p);if(e==mxConstants.DIRECTION_NORTH||e==mxConstants.DIRECTION_SOUTH)e=n,n=p,p=e;n&&(f=-1,l=-d.width);p&&(k=-1,m=-d.height)}f=new mxPoint(d.x+c.point.x*d.width*f-l,d.y+c.point.y*d.height*k-m)}e=b.style[mxConstants.STYLE_ROTATION]||0;c.perimeter?(0!=g&&null!=f&&(k=d=0,90==g?k=1:180==g?d=-1:270==g&&(k=-1),f=mxUtils.getRotatedPoint(f,
d,k,a)),null!=f&&c.perimeter&&(f=this.view.getPerimeterPoint(b,f,!1))):e+=g;0!=e&&null!=f&&(g=mxUtils.toRadians(e),d=Math.cos(g),k=Math.sin(g),f=mxUtils.getRotatedPoint(f,d,k,a))}null!=f&&(f.x=Math.round(f.x),f.y=Math.round(f.y));return f};mxGraph.prototype.connectCell=function(b,c,f,d){this.model.beginUpdate();try{var a=this.model.getTerminal(b,f);this.cellConnected(b,c,f,d);this.fireEvent(new mxEventObject(mxEvent.CONNECT_CELL,"edge",b,"terminal",c,"source",f,"previous",a))}finally{this.model.endUpdate()}return b};
mxGraph.prototype.cellConnected=function(b,c,f,d){if(null!=b){this.model.beginUpdate();try{var a=this.model.getTerminal(b,f);this.setConnectionConstraint(b,c,f,d);this.isPortsEnabled()&&(d=null,this.isPort(c)&&(d=c.getId(),c=this.getTerminalForPort(c,f)),this.setCellStyles(f?mxConstants.STYLE_SOURCE_PORT:mxConstants.STYLE_TARGET_PORT,d,[b]));this.model.setTerminal(b,c,f);this.resetEdgesOnConnect&&this.resetEdge(b);this.fireEvent(new mxEventObject(mxEvent.CELL_CONNECTED,"edge",b,"terminal",c,"source",
f,"previous",a))}finally{this.model.endUpdate()}}};
mxGraph.prototype.disconnectGraph=function(b){if(null!=b){this.model.beginUpdate();try{for(var c=this.view.scale,f=this.view.translate,d=new mxDictionary,a=0;a<b.length;a++)d.put(b[a],!0);for(a=0;a<b.length;a++)if(this.model.isEdge(b[a])){var e=this.model.getGeometry(b[a]);if(null!=e){var g=this.view.getState(b[a]),k=this.view.getState(this.model.getParent(b[a]));if(null!=g&&null!=k){var e=e.clone(),l=-k.origin.x,m=-k.origin.y,n=g.absolutePoints,p=this.model.getTerminal(b[a],!0);if(null!=p&&this.isCellDisconnectable(b[a],
p,!0)){for(;null!=p&&!d.get(p);)p=this.model.getParent(p);null==p&&(e.setTerminalPoint(new mxPoint(n[0].x/c-f.x+l,n[0].y/c-f.y+m),!0),this.model.setTerminal(b[a],null,!0))}var r=this.model.getTerminal(b[a],!1);if(null!=r&&this.isCellDisconnectable(b[a],r,!1)){for(;null!=r&&!d.get(r);)r=this.model.getParent(r);if(null==r){var s=n.length-1;e.setTerminalPoint(new mxPoint(n[s].x/c-f.x+l,n[s].y/c-f.y+m),!1);this.model.setTerminal(b[a],null,!1)}}this.model.setGeometry(b[a],e)}}}}finally{this.model.endUpdate()}}};
mxGraph.prototype.getCurrentRoot=function(){return this.view.currentRoot};mxGraph.prototype.getTranslateForRoot=function(b){return null};mxGraph.prototype.isPort=function(b){return!1};mxGraph.prototype.getTerminalForPort=function(b,c){return this.model.getParent(b)};mxGraph.prototype.getChildOffsetForCell=function(b){return null};mxGraph.prototype.enterGroup=function(b){b=b||this.getSelectionCell();null!=b&&this.isValidRoot(b)&&(this.view.setCurrentRoot(b),this.clearSelection())};
mxGraph.prototype.exitGroup=function(){var b=this.model.getRoot(),c=this.getCurrentRoot();if(null!=c){for(var f=this.model.getParent(c);f!=b&&!this.isValidRoot(f)&&this.model.getParent(f)!=b;)f=this.model.getParent(f);f==b||this.model.getParent(f)==b?this.view.setCurrentRoot(null):this.view.setCurrentRoot(f);null!=this.view.getState(c)&&this.setSelectionCell(c)}};mxGraph.prototype.home=function(){var b=this.getCurrentRoot();null!=b&&(this.view.setCurrentRoot(null),null!=this.view.getState(b)&&this.setSelectionCell(b))};
mxGraph.prototype.isValidRoot=function(b){return null!=b};mxGraph.prototype.getGraphBounds=function(){return this.view.getGraphBounds()};mxGraph.prototype.getCellBounds=function(b,c,f){var d=[b];c&&(d=d.concat(this.model.getEdges(b)));d=this.view.getBounds(d);if(f){f=this.model.getChildCount(b);for(var a=0;a<f;a++){var e=this.getCellBounds(this.model.getChildAt(b,a),c,!0);null!=d?d.add(e):d=e}}return d};
mxGraph.prototype.getBoundingBoxFromGeometry=function(b,c){c=null!=c?c:!1;var f=null;if(null!=b)for(var d=0;d<b.length;d++)if(c||this.model.isVertex(b[d])){var a=this.getCellGeometry(b[d]);if(null!=a){var e=null;if(this.model.isEdge(b[d])){var g=a.points;if(null!=g&&0<g.length){for(var k=new mxRectangle(g[0].x,g[0].y,0,0),e=function(a){null!=a&&k.add(new mxRectangle(a.x,a.y,0,0))},l=1;l<g.length;l++)e(g[l]);e(a.getTerminalPoint(!0));e(a.getTerminalPoint(!1));e=k}}else g=this.model.getParent(b[d]),
a.relative?this.model.isVertex(g)&&g!=this.view.currentRoot&&(k=this.getBoundingBoxFromGeometry([g],!1),null!=k&&(e=new mxRectangle(a.x*k.width,a.y*k.height,a.width,a.height),0<=mxUtils.indexOf(b,g)&&(e.x+=k.x,e.y+=k.y))):(e=mxRectangle.fromRectangle(a),this.model.isVertex(g)&&0<=mxUtils.indexOf(b,g)&&(k=this.getBoundingBoxFromGeometry([g],!1),null!=k&&(e.x+=k.x,e.y+=k.y))),null!=e&&null!=a.offset&&(e.x+=a.offset.x,e.y+=a.offset.y);null!=e&&(null==f?f=mxRectangle.fromRectangle(e):f.add(e))}}return f};
mxGraph.prototype.refresh=function(b){this.view.clear(b,null==b);this.view.validate();this.sizeDidChange();this.fireEvent(new mxEventObject(mxEvent.REFRESH))};mxGraph.prototype.snap=function(b){this.gridEnabled&&(b=Math.round(b/this.gridSize)*this.gridSize);return b};
mxGraph.prototype.panGraph=function(b,c){if(this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container))this.container.scrollLeft=-b,this.container.scrollTop=-c;else{var f=this.view.getCanvas();if(this.dialect==mxConstants.DIALECT_SVG)if(0==b&&0==c){if(mxClient.IS_IE?f.setAttribute("transform","translate("+b+","+c+")"):f.removeAttribute("transform"),null!=this.shiftPreview1){for(var d=this.shiftPreview1.firstChild;null!=d;){var a=d.nextSibling;this.container.appendChild(d);d=a}null!=this.shiftPreview1.parentNode&&
this.shiftPreview1.parentNode.removeChild(this.shiftPreview1);this.shiftPreview1=null;this.container.appendChild(f.parentNode);for(d=this.shiftPreview2.firstChild;null!=d;)a=d.nextSibling,this.container.appendChild(d),d=a;null!=this.shiftPreview2.parentNode&&this.shiftPreview2.parentNode.removeChild(this.shiftPreview2);this.shiftPreview2=null}}else{f.setAttribute("transform","translate("+b+","+c+")");if(null==this.shiftPreview1){this.shiftPreview1=document.createElement("div");this.shiftPreview1.style.position=
"absolute";this.shiftPreview1.style.overflow="visible";this.shiftPreview2=document.createElement("div");this.shiftPreview2.style.position="absolute";this.shiftPreview2.style.overflow="visible";for(var e=this.shiftPreview1,d=this.container.firstChild;null!=d;)a=d.nextSibling,d!=f.parentNode?e.appendChild(d):e=this.shiftPreview2,d=a;null!=this.shiftPreview1.firstChild&&this.container.insertBefore(this.shiftPreview1,f.parentNode);null!=this.shiftPreview2.firstChild&&this.container.appendChild(this.shiftPreview2)}this.shiftPreview1.style.left=
b+"px";this.shiftPreview1.style.top=c+"px";this.shiftPreview2.style.left=b+"px";this.shiftPreview2.style.top=c+"px"}else f.style.left=b+"px",f.style.top=c+"px";this.panDx=b;this.panDy=c;this.fireEvent(new mxEventObject(mxEvent.PAN))}};mxGraph.prototype.zoomIn=function(){this.zoom(this.zoomFactor)};mxGraph.prototype.zoomOut=function(){this.zoom(1/this.zoomFactor)};
mxGraph.prototype.zoomActual=function(){1==this.view.scale?this.view.setTranslate(0,0):(this.view.translate.x=0,this.view.translate.y=0,this.view.setScale(1))};mxGraph.prototype.zoomTo=function(b,c){this.zoom(b/this.view.scale,c)};
mxGraph.prototype.center=function(b,c,f,d){b=null!=b?b:!0;c=null!=c?c:!0;f=null!=f?f:0.5;d=null!=d?d:0.5;var a=mxUtils.hasScrollbars(this.container),e=this.container.clientWidth,g=this.container.clientHeight,k=this.getGraphBounds(),l=this.view.translate,m=this.view.scale,n=b?e-k.width:0,p=c?g-k.height:0;a?(k.x-=l.x,k.y-=l.y,b=this.container.scrollWidth,c=this.container.scrollHeight,b>e&&(n=0),c>g&&(p=0),this.view.setTranslate(Math.floor(n/2-k.x),Math.floor(p/2-k.y)),this.container.scrollLeft=(b-e)/
2,this.container.scrollTop=(c-g)/2):this.view.setTranslate(b?Math.floor(l.x-k.x*m+n*f/m):l.x,c?Math.floor(l.y-k.y*m+p*d/m):l.y)};
mxGraph.prototype.zoom=function(b,c){c=null!=c?c:this.centerZoom;var f=Math.round(100*this.view.scale*b)/100,d=this.view.getState(this.getSelectionCell());b=f/this.view.scale;if(this.keepSelectionVisibleOnZoom&&null!=d)d=new mxRectangle(d.x*b,d.y*b,d.width*b,d.height*b),this.view.scale=f,this.scrollRectToVisible(d)||(this.view.revalidate(),this.view.setScale(f));else if(d=mxUtils.hasScrollbars(this.container),c&&!d){var d=this.container.offsetWidth,a=this.container.offsetHeight;if(1<b)var e=(b-1)/
(2*f),d=d*-e,a=a*-e;else e=(1/b-1)/(2*this.view.scale),d*=e,a*=e;this.view.scaleAndTranslate(f,this.view.translate.x+d,this.view.translate.y+a)}else{var e=this.view.translate.x,g=this.view.translate.y,k=this.container.scrollLeft,l=this.container.scrollTop;this.view.setScale(f);d&&(a=d=0,c&&(d=this.container.offsetWidth*(b-1)/2,a=this.container.offsetHeight*(b-1)/2),this.container.scrollLeft=(this.view.translate.x-e)*this.view.scale+Math.round(k*b+d),this.container.scrollTop=(this.view.translate.y-
g)*this.view.scale+Math.round(l*b+a))}};
mxGraph.prototype.zoomToRect=function(b){var c=this.container.clientWidth/b.width/(this.container.clientHeight/b.height);b.x=Math.max(0,b.x);b.y=Math.max(0,b.y);var f=Math.min(this.container.scrollWidth,b.x+b.width),d=Math.min(this.container.scrollHeight,b.y+b.height);b.width=f-b.x;b.height=d-b.y;1>c?(c=b.height/c,f=(c-b.height)/2,b.height=c,c=Math.min(b.y,f),b.y-=c,d=Math.min(this.container.scrollHeight,b.y+b.height),b.height=d-b.y):(c*=b.width,f=(c-b.width)/2,b.width=c,c=Math.min(b.x,f),b.x-=c,
f=Math.min(this.container.scrollWidth,b.x+b.width),b.width=f-b.x);c=this.container.clientWidth/b.width;f=this.view.scale*c;mxUtils.hasScrollbars(this.container)?(this.view.setScale(f),this.container.scrollLeft=Math.round(b.x*c),this.container.scrollTop=Math.round(b.y*c)):this.view.scaleAndTranslate(f,this.view.translate.x-b.x/this.view.scale,this.view.translate.y-b.y/this.view.scale)};
mxGraph.prototype.scrollCellToVisible=function(b,c){var f=-this.view.translate.x,d=-this.view.translate.y,a=this.view.getState(b);null!=a&&(f=new mxRectangle(f+a.x,d+a.y,a.width,a.height),c&&null!=this.container&&(d=this.container.clientWidth,a=this.container.clientHeight,f.x=f.getCenterX()-d/2,f.width=d,f.y=f.getCenterY()-a/2,f.height=a),d=new mxPoint(this.view.translate.x,this.view.translate.y),this.scrollRectToVisible(f)&&(f=new mxPoint(this.view.translate.x,this.view.translate.y),this.view.translate.x=
d.x,this.view.translate.y=d.y,this.view.setTranslate(f.x,f.y)))};
mxGraph.prototype.scrollRectToVisible=function(b){var c=!1;if(null!=b){var f=this.container.offsetWidth,d=this.container.offsetHeight,a=Math.min(f,b.width),e=Math.min(d,b.height);if(mxUtils.hasScrollbars(this.container)){f=this.container;b.x+=this.view.translate.x;b.y+=this.view.translate.y;var g=f.scrollLeft-b.x,d=Math.max(g-f.scrollLeft,0);0<g?f.scrollLeft-=g+2:(g=b.x+a-f.scrollLeft-f.clientWidth,0<g&&(f.scrollLeft+=g+2));a=f.scrollTop-b.y;g=Math.max(0,a-f.scrollTop);0<a?f.scrollTop-=a+2:(a=b.y+
e-f.scrollTop-f.clientHeight,0<a&&(f.scrollTop+=a+2));!this.useScrollbarsForPanning&&(0!=d||0!=g)&&this.view.setTranslate(d,g)}else{var g=-this.view.translate.x,k=-this.view.translate.y,l=this.view.scale;b.x+a>g+f&&(this.view.translate.x-=(b.x+a-f-g)/l,c=!0);b.y+e>k+d&&(this.view.translate.y-=(b.y+e-d-k)/l,c=!0);b.x<g&&(this.view.translate.x+=(g-b.x)/l,c=!0);b.y<k&&(this.view.translate.y+=(k-b.y)/l,c=!0);c&&(this.view.refresh(),null!=this.selectionCellsHandler&&this.selectionCellsHandler.refresh())}}return c};
mxGraph.prototype.getCellGeometry=function(b){return this.model.getGeometry(b)};mxGraph.prototype.isCellVisible=function(b){return this.model.isVisible(b)};mxGraph.prototype.isCellCollapsed=function(b){return this.model.isCollapsed(b)};mxGraph.prototype.isCellConnectable=function(b){return this.model.isConnectable(b)};
mxGraph.prototype.isOrthogonal=function(b){var c=b.style[mxConstants.STYLE_ORTHOGONAL];if(null!=c)return c;b=this.view.getEdgeStyle(b);return b==mxEdgeStyle.SegmentConnector||b==mxEdgeStyle.ElbowConnector||b==mxEdgeStyle.SideToSide||b==mxEdgeStyle.TopToBottom||b==mxEdgeStyle.EntityRelation||b==mxEdgeStyle.OrthConnector};mxGraph.prototype.isLoop=function(b){var c=b.getVisibleTerminalState(!0);b=b.getVisibleTerminalState(!1);return null!=c&&c==b};mxGraph.prototype.isCloneEvent=function(b){return mxEvent.isControlDown(b)};
mxGraph.prototype.isToggleEvent=function(b){return mxClient.IS_MAC?mxEvent.isMetaDown(b):mxEvent.isControlDown(b)};mxGraph.prototype.isGridEnabledEvent=function(b){return null!=b&&!mxEvent.isAltDown(b)};mxGraph.prototype.isConstrainedEvent=function(b){return mxEvent.isShiftDown(b)};mxGraph.prototype.isIgnoreTerminalEvent=function(b){return!1};mxGraph.prototype.validationAlert=function(b){mxUtils.alert(b)};mxGraph.prototype.isEdgeValid=function(b,c,f){return null==this.getEdgeValidationError(b,c,f)};
mxGraph.prototype.getEdgeValidationError=function(b,c,f){if(null!=b&&!this.isAllowDanglingEdges()&&(null==c||null==f))return"";if(null!=b&&null==this.model.getTerminal(b,!0)&&null==this.model.getTerminal(b,!1))return null;if(!this.allowLoops&&c==f&&null!=c||!this.isValidConnection(c,f))return"";if(null!=c&&null!=f){var d="";if(!this.multigraph){var a=this.model.getEdgesBetween(c,f,!0);if(1<a.length||1==a.length&&a[0]!=b)d+=(mxResources.get(this.alreadyConnectedResource)||this.alreadyConnectedResource)+
"\n"}var a=this.model.getDirectedEdgeCount(c,!0,b),e=this.model.getDirectedEdgeCount(f,!1,b);if(null!=this.multiplicities)for(var g=0;g<this.multiplicities.length;g++){var k=this.multiplicities[g].check(this,b,c,f,a,e);null!=k&&(d+=k)}k=this.validateEdge(b,c,f);null!=k&&(d+=k);return 0<d.length?d:null}return this.allowDanglingEdges?null:""};mxGraph.prototype.validateEdge=function(b,c,f){return null};
mxGraph.prototype.validateGraph=function(b,c){b=null!=b?b:this.model.getRoot();c=null!=c?c:{};for(var f=!0,d=this.model.getChildCount(b),a=0;a<d;a++){var e=this.model.getChildAt(b,a),g=c;this.isValidRoot(e)&&(g={});g=this.validateGraph(e,g);null!=g?this.setCellWarning(e,g.replace(/\n/g,"\x3cbr\x3e")):this.setCellWarning(e,null);f=f&&null==g}d="";this.isCellCollapsed(b)&&!f&&(d+=(mxResources.get(this.containsValidationErrorsResource)||this.containsValidationErrorsResource)+"\n");d=this.model.isEdge(b)?
d+(this.getEdgeValidationError(b,this.model.getTerminal(b,!0),this.model.getTerminal(b,!1))||""):d+(this.getCellValidationError(b)||"");a=this.validateCell(b,c);null!=a&&(d+=a);null==this.model.getParent(b)&&this.view.validate();return 0<d.length||!f?d:null};
mxGraph.prototype.getCellValidationError=function(b){var c=this.model.getDirectedEdgeCount(b,!0),f=this.model.getDirectedEdgeCount(b,!1);b=this.model.getValue(b);var d="";if(null!=this.multiplicities)for(var a=0;a<this.multiplicities.length;a++){var e=this.multiplicities[a];if(e.source&&mxUtils.isNode(b,e.type,e.attr,e.value)&&(0==e.max&&0<c||1==e.min&&0==c||1==e.max&&1<c))d+=e.countError+"\n";else if(!e.source&&mxUtils.isNode(b,e.type,e.attr,e.value)&&(0==e.max&&0<f||1==e.min&&0==f||1==e.max&&1<
f))d+=e.countError+"\n"}return 0<d.length?d:null};mxGraph.prototype.validateCell=function(b,c){return null};mxGraph.prototype.getBackgroundImage=function(){return this.backgroundImage};mxGraph.prototype.setBackgroundImage=function(b){this.backgroundImage=b};mxGraph.prototype.getFoldingImage=function(b){if(null!=b&&this.foldingEnabled&&!this.getModel().isEdge(b.cell)){var c=this.isCellCollapsed(b.cell);if(this.isCellFoldable(b.cell,!c))return c?this.collapsedImage:this.expandedImage}return null};
mxGraph.prototype.convertValueToString=function(b){b=this.model.getValue(b);if(null!=b){if(mxUtils.isNode(b))return b.nodeName;if("function"==typeof b.toString)return b.toString()}return""};mxGraph.prototype.getLabel=function(b){var c="";if(this.labelsVisible&&null!=b){var f=this.view.getState(b),f=null!=f?f.style:this.getCellStyle(b);mxUtils.getValue(f,mxConstants.STYLE_NOLABEL,!1)||(c=this.convertValueToString(b))}return c};mxGraph.prototype.isHtmlLabel=function(b){return this.isHtmlLabels()};
mxGraph.prototype.isHtmlLabels=function(){return this.htmlLabels};mxGraph.prototype.setHtmlLabels=function(b){this.htmlLabels=b};mxGraph.prototype.isWrapping=function(b){var c=this.view.getState(b);b=null!=c?c.style:this.getCellStyle(b);return null!=b?"wrap"==b[mxConstants.STYLE_WHITE_SPACE]:!1};mxGraph.prototype.isLabelClipped=function(b){var c=this.view.getState(b);b=null!=c?c.style:this.getCellStyle(b);return null!=b?"hidden"==b[mxConstants.STYLE_OVERFLOW]:!1};
mxGraph.prototype.getTooltip=function(b,c,f,d){var a=null;if(null!=b){if(null!=b.control&&(c==b.control.node||c.parentNode==b.control.node))a=this.collapseExpandResource,a=mxUtils.htmlEntities(mxResources.get(a)||a).replace(/\\n/g,"\x3cbr\x3e");null==a&&null!=b.overlays&&b.overlays.visit(function(b,d){if(null==a&&(c==d.node||c.parentNode==d.node))a=d.overlay.toString()});null==a&&(f=this.selectionCellsHandler.getHandler(b.cell),null!=f&&"function"==typeof f.getTooltipForNode&&(a=f.getTooltipForNode(c)));
null==a&&(a=this.getTooltipForCell(b.cell))}return a};mxGraph.prototype.getTooltipForCell=function(b){return null!=b&&null!=b.getTooltip?b.getTooltip():this.convertValueToString(b)};mxGraph.prototype.getCursorForMouseEvent=function(b){return this.getCursorForCell(b.getCell())};mxGraph.prototype.getCursorForCell=function(b){return null};
mxGraph.prototype.getStartSize=function(b){var c=new mxRectangle,f=this.view.getState(b);b=null!=f?f.style:this.getCellStyle(b);null!=b&&(f=parseInt(mxUtils.getValue(b,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE)),mxUtils.getValue(b,mxConstants.STYLE_HORIZONTAL,!0)?c.height=f:c.width=f);return c};mxGraph.prototype.getImage=function(b){return null!=b&&null!=b.style?b.style[mxConstants.STYLE_IMAGE]:null};
mxGraph.prototype.getVerticalAlign=function(b){return null!=b&&null!=b.style?b.style[mxConstants.STYLE_VERTICAL_ALIGN]||mxConstants.ALIGN_MIDDLE:null};mxGraph.prototype.getIndicatorColor=function(b){return null!=b&&null!=b.style?b.style[mxConstants.STYLE_INDICATOR_COLOR]:null};mxGraph.prototype.getIndicatorGradientColor=function(b){return null!=b&&null!=b.style?b.style[mxConstants.STYLE_INDICATOR_GRADIENTCOLOR]:null};
mxGraph.prototype.getIndicatorShape=function(b){return null!=b&&null!=b.style?b.style[mxConstants.STYLE_INDICATOR_SHAPE]:null};mxGraph.prototype.getIndicatorImage=function(b){return null!=b&&null!=b.style?b.style[mxConstants.STYLE_INDICATOR_IMAGE]:null};mxGraph.prototype.getBorder=function(){return this.border};mxGraph.prototype.setBorder=function(b){this.border=b};
mxGraph.prototype.isSwimlane=function(b){if(null!=b&&this.model.getParent(b)!=this.model.getRoot()){var c=this.view.getState(b),c=null!=c?c.style:this.getCellStyle(b);if(null!=c&&!this.model.isEdge(b))return c[mxConstants.STYLE_SHAPE]==mxConstants.SHAPE_SWIMLANE}return!1};mxGraph.prototype.isResizeContainer=function(){return this.resizeContainer};mxGraph.prototype.setResizeContainer=function(b){this.resizeContainer=b};mxGraph.prototype.isEnabled=function(){return this.enabled};
mxGraph.prototype.setEnabled=function(b){this.enabled=b};mxGraph.prototype.isEscapeEnabled=function(){return this.escapeEnabled};mxGraph.prototype.setEscapeEnabled=function(b){this.escapeEnabled=b};mxGraph.prototype.isInvokesStopCellEditing=function(){return this.invokesStopCellEditing};mxGraph.prototype.setInvokesStopCellEditing=function(b){this.invokesStopCellEditing=b};mxGraph.prototype.isEnterStopsCellEditing=function(){return this.enterStopsCellEditing};
mxGraph.prototype.setEnterStopsCellEditing=function(b){this.enterStopsCellEditing=b};mxGraph.prototype.isCellLocked=function(b){var c=this.model.getGeometry(b);return this.isCellsLocked()||null!=c&&this.model.isVertex(b)&&c.relative};mxGraph.prototype.isCellsLocked=function(){return this.cellsLocked};mxGraph.prototype.setCellsLocked=function(b){this.cellsLocked=b};mxGraph.prototype.getCloneableCells=function(b){return this.model.filterCells(b,mxUtils.bind(this,function(b){return this.isCellCloneable(b)}))};
mxGraph.prototype.isCellCloneable=function(b){var c=this.view.getState(b);b=null!=c?c.style:this.getCellStyle(b);return this.isCellsCloneable()&&0!=b[mxConstants.STYLE_CLONEABLE]};mxGraph.prototype.isCellsCloneable=function(){return this.cellsCloneable};mxGraph.prototype.setCellsCloneable=function(b){this.cellsCloneable=b};mxGraph.prototype.getExportableCells=function(b){return this.model.filterCells(b,mxUtils.bind(this,function(b){return this.canExportCell(b)}))};
mxGraph.prototype.canExportCell=function(b){return this.exportEnabled};mxGraph.prototype.getImportableCells=function(b){return this.model.filterCells(b,mxUtils.bind(this,function(b){return this.canImportCell(b)}))};mxGraph.prototype.canImportCell=function(b){return this.importEnabled};mxGraph.prototype.isCellSelectable=function(b){return this.isCellsSelectable()};mxGraph.prototype.isCellsSelectable=function(){return this.cellsSelectable};
mxGraph.prototype.setCellsSelectable=function(b){this.cellsSelectable=b};mxGraph.prototype.getDeletableCells=function(b){return this.model.filterCells(b,mxUtils.bind(this,function(b){return this.isCellDeletable(b)}))};mxGraph.prototype.isCellDeletable=function(b){var c=this.view.getState(b);b=null!=c?c.style:this.getCellStyle(b);return this.isCellsDeletable()&&0!=b[mxConstants.STYLE_DELETABLE]};mxGraph.prototype.isCellsDeletable=function(){return this.cellsDeletable};
mxGraph.prototype.setCellsDeletable=function(b){this.cellsDeletable=b};mxGraph.prototype.isLabelMovable=function(b){return!this.isCellLocked(b)&&(this.model.isEdge(b)&&this.edgeLabelsMovable||this.model.isVertex(b)&&this.vertexLabelsMovable)};mxGraph.prototype.isCellRotatable=function(b){var c=this.view.getState(b);return 0!=(null!=c?c.style:this.getCellStyle(b))[mxConstants.STYLE_ROTATABLE]};mxGraph.prototype.getMovableCells=function(b){return this.model.filterCells(b,mxUtils.bind(this,function(b){return this.isCellMovable(b)}))};
mxGraph.prototype.isCellMovable=function(b){var c=this.view.getState(b),c=null!=c?c.style:this.getCellStyle(b);return this.isCellsMovable()&&!this.isCellLocked(b)&&0!=c[mxConstants.STYLE_MOVABLE]};mxGraph.prototype.isCellsMovable=function(){return this.cellsMovable};mxGraph.prototype.setCellsMovable=function(b){this.cellsMovable=b};mxGraph.prototype.isGridEnabled=function(){return this.gridEnabled};mxGraph.prototype.setGridEnabled=function(b){this.gridEnabled=b};mxGraph.prototype.isPortsEnabled=function(){return this.portsEnabled};
mxGraph.prototype.setPortsEnabled=function(b){this.portsEnabled=b};mxGraph.prototype.getGridSize=function(){return this.gridSize};mxGraph.prototype.setGridSize=function(b){this.gridSize=b};mxGraph.prototype.getTolerance=function(){return this.tolerance};mxGraph.prototype.setTolerance=function(b){this.tolerance=b};mxGraph.prototype.isVertexLabelsMovable=function(){return this.vertexLabelsMovable};mxGraph.prototype.setVertexLabelsMovable=function(b){this.vertexLabelsMovable=b};
mxGraph.prototype.isEdgeLabelsMovable=function(){return this.edgeLabelsMovable};mxGraph.prototype.setEdgeLabelsMovable=function(b){this.edgeLabelsMovable=b};mxGraph.prototype.isSwimlaneNesting=function(){return this.swimlaneNesting};mxGraph.prototype.setSwimlaneNesting=function(b){this.swimlaneNesting=b};mxGraph.prototype.isSwimlaneSelectionEnabled=function(){return this.swimlaneSelectionEnabled};mxGraph.prototype.setSwimlaneSelectionEnabled=function(b){this.swimlaneSelectionEnabled=b};
mxGraph.prototype.isMultigraph=function(){return this.multigraph};mxGraph.prototype.setMultigraph=function(b){this.multigraph=b};mxGraph.prototype.isAllowLoops=function(){return this.allowLoops};mxGraph.prototype.setAllowDanglingEdges=function(b){this.allowDanglingEdges=b};mxGraph.prototype.isAllowDanglingEdges=function(){return this.allowDanglingEdges};mxGraph.prototype.setConnectableEdges=function(b){this.connectableEdges=b};mxGraph.prototype.isConnectableEdges=function(){return this.connectableEdges};
mxGraph.prototype.setCloneInvalidEdges=function(b){this.cloneInvalidEdges=b};mxGraph.prototype.isCloneInvalidEdges=function(){return this.cloneInvalidEdges};mxGraph.prototype.setAllowLoops=function(b){this.allowLoops=b};mxGraph.prototype.isDisconnectOnMove=function(){return this.disconnectOnMove};mxGraph.prototype.setDisconnectOnMove=function(b){this.disconnectOnMove=b};mxGraph.prototype.isDropEnabled=function(){return this.dropEnabled};
mxGraph.prototype.setDropEnabled=function(b){this.dropEnabled=b};mxGraph.prototype.isSplitEnabled=function(){return this.splitEnabled};mxGraph.prototype.setSplitEnabled=function(b){this.splitEnabled=b};mxGraph.prototype.isCellResizable=function(b){var c=this.view.getState(b),c=null!=c?c.style:this.getCellStyle(b);return this.isCellsResizable()&&!this.isCellLocked(b)&&"0"!=mxUtils.getValue(c,mxConstants.STYLE_RESIZABLE,"1")};mxGraph.prototype.isCellsResizable=function(){return this.cellsResizable};
mxGraph.prototype.setCellsResizable=function(b){this.cellsResizable=b};mxGraph.prototype.isTerminalPointMovable=function(b,c){return!0};mxGraph.prototype.isCellBendable=function(b){var c=this.view.getState(b),c=null!=c?c.style:this.getCellStyle(b);return this.isCellsBendable()&&!this.isCellLocked(b)&&0!=c[mxConstants.STYLE_BENDABLE]};mxGraph.prototype.isCellsBendable=function(){return this.cellsBendable};mxGraph.prototype.setCellsBendable=function(b){this.cellsBendable=b};
mxGraph.prototype.isCellEditable=function(b){var c=this.view.getState(b),c=null!=c?c.style:this.getCellStyle(b);return this.isCellsEditable()&&!this.isCellLocked(b)&&0!=c[mxConstants.STYLE_EDITABLE]};mxGraph.prototype.isCellsEditable=function(){return this.cellsEditable};mxGraph.prototype.setCellsEditable=function(b){this.cellsEditable=b};mxGraph.prototype.isCellDisconnectable=function(b,c,f){return this.isCellsDisconnectable()&&!this.isCellLocked(b)};mxGraph.prototype.isCellsDisconnectable=function(){return this.cellsDisconnectable};
mxGraph.prototype.setCellsDisconnectable=function(b){this.cellsDisconnectable=b};mxGraph.prototype.isValidSource=function(b){return null==b&&this.allowDanglingEdges||null!=b&&(!this.model.isEdge(b)||this.connectableEdges)&&this.isCellConnectable(b)};mxGraph.prototype.isValidTarget=function(b){return this.isValidSource(b)};mxGraph.prototype.isValidConnection=function(b,c){return this.isValidSource(b)&&this.isValidTarget(c)};mxGraph.prototype.setConnectable=function(b){this.connectionHandler.setEnabled(b)};
mxGraph.prototype.isConnectable=function(b){return this.connectionHandler.isEnabled()};mxGraph.prototype.setTooltips=function(b){this.tooltipHandler.setEnabled(b)};mxGraph.prototype.setPanning=function(b){this.panningHandler.panningEnabled=b};mxGraph.prototype.isEditing=function(b){if(null!=this.cellEditor){var c=this.cellEditor.getEditingCell();return null==b?null!=c:b==c}return!1};
mxGraph.prototype.isAutoSizeCell=function(b){var c=this.view.getState(b);b=null!=c?c.style:this.getCellStyle(b);return this.isAutoSizeCells()||1==b[mxConstants.STYLE_AUTOSIZE]};mxGraph.prototype.isAutoSizeCells=function(){return this.autoSizeCells};mxGraph.prototype.setAutoSizeCells=function(b){this.autoSizeCells=b};mxGraph.prototype.isExtendParent=function(b){return!this.getModel().isEdge(b)&&this.isExtendParents()};mxGraph.prototype.isExtendParents=function(){return this.extendParents};
mxGraph.prototype.setExtendParents=function(b){this.extendParents=b};mxGraph.prototype.isExtendParentsOnAdd=function(b){return this.extendParentsOnAdd};mxGraph.prototype.setExtendParentsOnAdd=function(b){this.extendParentsOnAdd=b};mxGraph.prototype.isExtendParentsOnMove=function(){return this.extendParentsOnMove};mxGraph.prototype.setExtendParentsOnMove=function(b){this.extendParentsOnMove=b};mxGraph.prototype.isRecursiveResize=function(b){return this.recursiveResize};
mxGraph.prototype.setRecursiveResize=function(b){this.recursiveResize=b};mxGraph.prototype.isConstrainChild=function(b){return this.isConstrainChildren()&&!this.getModel().isEdge(this.getModel().getParent(b))};mxGraph.prototype.isConstrainChildren=function(){return this.constrainChildren};mxGraph.prototype.setConstrainChildren=function(b){this.constrainChildren=b};mxGraph.prototype.isConstrainRelativeChildren=function(){return this.constrainRelativeChildren};
mxGraph.prototype.setConstrainRelativeChildren=function(b){this.constrainRelativeChildren=b};mxGraph.prototype.isAllowNegativeCoordinates=function(){return this.allowNegativeCoordinates};mxGraph.prototype.setAllowNegativeCoordinates=function(b){this.allowNegativeCoordinates=b};mxGraph.prototype.getOverlap=function(b){return this.isAllowOverlapParent(b)?this.defaultOverlap:0};mxGraph.prototype.isAllowOverlapParent=function(b){return!1};
mxGraph.prototype.getFoldableCells=function(b,c){return this.model.filterCells(b,mxUtils.bind(this,function(b){return this.isCellFoldable(b,c)}))};mxGraph.prototype.isCellFoldable=function(b,c){var f=this.view.getState(b),f=null!=f?f.style:this.getCellStyle(b);return 0<this.model.getChildCount(b)&&0!=f[mxConstants.STYLE_FOLDABLE]};
mxGraph.prototype.isValidDropTarget=function(b,c,f){return null!=b&&(this.isSplitEnabled()&&this.isSplitTarget(b,c,f)||!this.model.isEdge(b)&&(this.isSwimlane(b)||0<this.model.getChildCount(b)&&!this.isCellCollapsed(b)))};
mxGraph.prototype.isSplitTarget=function(b,c,f){return this.model.isEdge(b)&&null!=c&&1==c.length&&this.isCellConnectable(c[0])&&null==this.getEdgeValidationError(b,this.model.getTerminal(b,!0),c[0])?(f=this.model.getTerminal(b,!0),b=this.model.getTerminal(b,!1),!this.model.isAncestor(c[0],f)&&!this.model.isAncestor(c[0],b)):!1};
mxGraph.prototype.getDropTarget=function(b,c,f,d){if(!this.isSwimlaneNesting())for(var a=0;a<b.length;a++)if(this.isSwimlane(b[a]))return null;a=mxUtils.convertPoint(this.container,mxEvent.getClientX(c),mxEvent.getClientY(c));a.x-=this.panDx;a.y-=this.panDy;a=this.getSwimlaneAt(a.x,a.y);if(null==f)f=a;else if(null!=a){for(var e=this.model.getParent(a);null!=e&&this.isSwimlane(e)&&e!=f;)e=this.model.getParent(e);e==f&&(f=a)}for(;null!=f&&!this.isValidDropTarget(f,b,c)&&!this.model.isLayer(f);)f=this.model.getParent(f);
if(null==d||!d)for(var g=f;null!=g&&0>mxUtils.indexOf(b,g);)g=this.model.getParent(g);return!this.model.isLayer(f)&&null==g?f:null};mxGraph.prototype.getDefaultParent=function(){var b=this.getCurrentRoot();null==b&&(b=this.defaultParent,null==b&&(b=this.model.getRoot(),b=this.model.getChildAt(b,0)));return b};mxGraph.prototype.setDefaultParent=function(b){this.defaultParent=b};mxGraph.prototype.getSwimlane=function(b){for(;null!=b&&!this.isSwimlane(b);)b=this.model.getParent(b);return b};
mxGraph.prototype.getSwimlaneAt=function(b,c,f){f=f||this.getDefaultParent();if(null!=f)for(var d=this.model.getChildCount(f),a=0;a<d;a++){var e=this.model.getChildAt(f,a),g=this.getSwimlaneAt(b,c,e);if(null!=g)return g;if(this.isSwimlane(e)&&(g=this.view.getState(e),this.intersects(g,b,c)))return e}return null};
mxGraph.prototype.getCellAt=function(b,c,f,d,a,e){d=null!=d?d:!0;a=null!=a?a:!0;null==f&&(f=this.getCurrentRoot(),null==f&&(f=this.getModel().getRoot()));if(null!=f)for(var g=this.model.getChildCount(f)-1;0<=g;g--){var k=this.model.getChildAt(f,g),l=this.getCellAt(b,c,k,d,a,e);if(null!=l)return l;if(this.isCellVisible(k)&&(a&&this.model.isEdge(k)||d&&this.model.isVertex(k)))if(l=this.view.getState(k),null!=l&&(null==e||!e(l,b,c))&&this.intersects(l,b,c))return k}return null};
mxGraph.prototype.intersects=function(b,c,f){if(null!=b){var d=b.absolutePoints;if(null!=d){b=this.tolerance*this.tolerance;for(var a=d[0],e=1;e<d.length;e++){var g=d[e];if(mxUtils.ptSegDistSq(a.x,a.y,g.x,g.y,c,f)<=b)return!0;a=g}}else if(a=mxUtils.toRadians(mxUtils.getValue(b.style,mxConstants.STYLE_ROTATION)||0),0!=a&&(d=Math.cos(-a),a=Math.sin(-a),e=new mxPoint(b.getCenterX(),b.getCenterY()),a=mxUtils.getRotatedPoint(new mxPoint(c,f),d,a,e),c=a.x,f=a.y),mxUtils.contains(b,c,f))return!0}return!1};
mxGraph.prototype.hitsSwimlaneContent=function(b,c,f){var d=this.getView().getState(b);b=this.getStartSize(b);if(null!=d){var a=this.getView().getScale();c-=d.x;f-=d.y;if(0<b.width&&0<c&&c>b.width*a||0<b.height&&0<f&&f>b.height*a)return!0}return!1};mxGraph.prototype.getChildVertices=function(b){return this.getChildCells(b,!0,!1)};mxGraph.prototype.getChildEdges=function(b){return this.getChildCells(b,!1,!0)};
mxGraph.prototype.getChildCells=function(b,c,f){b=null!=b?b:this.getDefaultParent();b=this.model.getChildCells(b,null!=c?c:!1,null!=f?f:!1);c=[];for(f=0;f<b.length;f++)this.isCellVisible(b[f])&&c.push(b[f]);return c};mxGraph.prototype.getConnections=function(b,c){return this.getEdges(b,c,!0,!0,!1)};mxGraph.prototype.getIncomingEdges=function(b,c){return this.getEdges(b,c,!0,!1,!1)};mxGraph.prototype.getOutgoingEdges=function(b,c){return this.getEdges(b,c,!1,!0,!1)};
mxGraph.prototype.getEdges=function(b,c,f,d,a,e){f=null!=f?f:!0;d=null!=d?d:!0;a=null!=a?a:!0;e=null!=e?e:!1;for(var g=[],k=this.isCellCollapsed(b),l=this.model.getChildCount(b),m=0;m<l;m++){var n=this.model.getChildAt(b,m);if(k||!this.isCellVisible(n))g=g.concat(this.model.getEdges(n,f,d))}g=g.concat(this.model.getEdges(b,f,d));k=[];for(m=0;m<g.length;m++)n=this.view.getState(g[m]),l=null!=n?n.getVisibleTerminal(!0):this.view.getVisibleTerminal(g[m],!0),n=null!=n?n.getVisibleTerminal(!1):this.view.getVisibleTerminal(g[m],
!1),(a&&l==n||l!=n&&(f&&n==b&&(null==c||this.isValidAncestor(l,c,e))||d&&l==b&&(null==c||this.isValidAncestor(n,c,e))))&&k.push(g[m]);return k};mxGraph.prototype.isValidAncestor=function(b,c,f){return f?this.model.isAncestor(c,b):this.model.getParent(b)==c};
mxGraph.prototype.getOpposites=function(b,c,f,d){f=null!=f?f:!0;d=null!=d?d:!0;var a=[],e=new mxDictionary;if(null!=b)for(var g=0;g<b.length;g++){var k=this.view.getState(b[g]),l=null!=k?k.getVisibleTerminal(!0):this.view.getVisibleTerminal(b[g],!0),k=null!=k?k.getVisibleTerminal(!1):this.view.getVisibleTerminal(b[g],!1);l==c&&null!=k&&k!=c&&d?e.get(k)||(e.put(k,!0),a.push(k)):k==c&&null!=l&&l!=c&&f&&!e.get(l)&&(e.put(l,!0),a.push(l))}return a};
mxGraph.prototype.getEdgesBetween=function(b,c,f){f=null!=f?f:!1;for(var d=this.getEdges(b),a=[],e=0;e<d.length;e++){var g=this.view.getState(d[e]),k=null!=g?g.getVisibleTerminal(!0):this.view.getVisibleTerminal(d[e],!0),g=null!=g?g.getVisibleTerminal(!1):this.view.getVisibleTerminal(d[e],!1);(k==b&&g==c||!f&&k==c&&g==b)&&a.push(d[e])}return a};
mxGraph.prototype.getPointForEvent=function(b,c){var f=mxUtils.convertPoint(this.container,mxEvent.getClientX(b),mxEvent.getClientY(b)),d=this.view.scale,a=this.view.translate,e=!1!=c?this.gridSize/2:0;f.x=this.snap(f.x/d-a.x-e);f.y=this.snap(f.y/d-a.y-e);return f};
mxGraph.prototype.getCells=function(b,c,f,d,a,e){e=null!=e?e:[];if(0<f||0<d){var g=this.getModel(),k=b+f,l=c+d;null==a&&(a=this.getCurrentRoot(),null==a&&(a=g.getRoot()));if(null!=a)for(var m=g.getChildCount(a),n=0;n<m;n++){var p=g.getChildAt(a,n),r=this.view.getState(p);if(null!=r&&this.isCellVisible(p)){var s=mxUtils.getValue(r.style,mxConstants.STYLE_ROTATION)||0;0!=s&&(r=mxUtils.getBoundingBox(r,s));(g.isEdge(p)||g.isVertex(p))&&r.x>=b&&r.y+r.height<=l&&r.y>=c&&r.x+r.width<=k?e.push(p):this.getCells(b,
c,f,d,p,e)}}}return e};mxGraph.prototype.getCellsBeyond=function(b,c,f,d,a){var e=[];if(d||a)if(null==f&&(f=this.getDefaultParent()),null!=f)for(var g=this.model.getChildCount(f),k=0;k<g;k++){var l=this.model.getChildAt(f,k),m=this.view.getState(l);this.isCellVisible(l)&&null!=m&&(!d||m.x>=b)&&(!a||m.y>=c)&&e.push(l)}return e};
mxGraph.prototype.findTreeRoots=function(b,c,f){c=null!=c?c:!1;f=null!=f?f:!1;var d=[];if(null!=b){for(var a=this.getModel(),e=a.getChildCount(b),g=null,k=0,l=0;l<e;l++){var m=a.getChildAt(b,l);if(this.model.isVertex(m)&&this.isCellVisible(m)){for(var n=this.getConnections(m,c?b:null),p=0,r=0,s=0;s<n.length;s++)this.view.getVisibleTerminal(n[s],!0)==m?p++:r++;(f&&0==p&&0<r||!f&&0==r&&0<p)&&d.push(m);n=f?r-p:p-r;n>k&&(k=n,g=m)}}0==d.length&&null!=g&&d.push(g)}return d};
mxGraph.prototype.traverse=function(b,c,f,d,a){if(null!=f&&null!=b&&(c=null!=c?c:!0,a=a||new mxDictionary,!a.get(b)&&(a.put(b,!0),d=f(b,d),null==d||d)))if(d=this.model.getEdgeCount(b),0<d)for(var e=0;e<d;e++){var g=this.model.getEdgeAt(b,e),k=this.model.getTerminal(g,!0)==b;if(!c||k)k=this.model.getTerminal(g,!k),this.traverse(k,c,f,g,a)}};mxGraph.prototype.isCellSelected=function(b){return this.getSelectionModel().isSelected(b)};mxGraph.prototype.isSelectionEmpty=function(){return this.getSelectionModel().isEmpty()};
mxGraph.prototype.clearSelection=function(){return this.getSelectionModel().clear()};mxGraph.prototype.getSelectionCount=function(){return this.getSelectionModel().cells.length};mxGraph.prototype.getSelectionCell=function(){return this.getSelectionModel().cells[0]};mxGraph.prototype.getSelectionCells=function(){return this.getSelectionModel().cells.slice()};mxGraph.prototype.setSelectionCell=function(b){this.getSelectionModel().setCell(b)};mxGraph.prototype.setSelectionCells=function(b){this.getSelectionModel().setCells(b)};
mxGraph.prototype.addSelectionCell=function(b){this.getSelectionModel().addCell(b)};mxGraph.prototype.addSelectionCells=function(b){this.getSelectionModel().addCells(b)};mxGraph.prototype.removeSelectionCell=function(b){this.getSelectionModel().removeCell(b)};mxGraph.prototype.removeSelectionCells=function(b){this.getSelectionModel().removeCells(b)};mxGraph.prototype.selectRegion=function(b,c){var f=this.getCells(b.x,b.y,b.width,b.height);this.selectCellsForEvent(f,c);return f};
mxGraph.prototype.selectNextCell=function(){this.selectCell(!0)};mxGraph.prototype.selectPreviousCell=function(){this.selectCell()};mxGraph.prototype.selectParentCell=function(){this.selectCell(!1,!0)};mxGraph.prototype.selectChildCell=function(){this.selectCell(!1,!1,!0)};
mxGraph.prototype.selectCell=function(b,c,f){var d=this.selectionModel,a=0<d.cells.length?d.cells[0]:null;1<d.cells.length&&d.clear();var d=null!=a?this.model.getParent(a):this.getDefaultParent(),e=this.model.getChildCount(d);null==a&&0<e?(b=this.model.getChildAt(d,0),this.setSelectionCell(b)):(null==a||c)&&null!=this.view.getState(d)&&null!=this.model.getGeometry(d)?this.getCurrentRoot()!=d&&this.setSelectionCell(d):null!=a&&f?0<this.model.getChildCount(a)&&(b=this.model.getChildAt(a,0),this.setSelectionCell(b)):
0<e&&(c=d.getIndex(a),b?(c++,b=this.model.getChildAt(d,c%e)):(c--,b=this.model.getChildAt(d,0>c?e-1:c)),this.setSelectionCell(b))};mxGraph.prototype.selectAll=function(b,c){b=b||this.getDefaultParent();var f=c?this.model.filterDescendants(function(d){return d!=b},b):this.model.getChildren(b);null!=f&&this.setSelectionCells(f)};mxGraph.prototype.selectVertices=function(b){this.selectCells(!0,!1,b)};mxGraph.prototype.selectEdges=function(b){this.selectCells(!1,!0,b)};
mxGraph.prototype.selectCells=function(b,c,f){f=f||this.getDefaultParent();var d=mxUtils.bind(this,function(a){return null!=this.view.getState(a)&&(0==this.model.getChildCount(a)&&this.model.isVertex(a)&&b&&!this.model.isEdge(this.model.getParent(a))||this.model.isEdge(a)&&c)});f=this.model.filterDescendants(d,f);this.setSelectionCells(f)};
mxGraph.prototype.selectCellForEvent=function(b,c){var f=this.isCellSelected(b);this.isToggleEvent(c)?f?this.removeSelectionCell(b):this.addSelectionCell(b):(!f||1!=this.getSelectionCount())&&this.setSelectionCell(b)};mxGraph.prototype.selectCellsForEvent=function(b,c){this.isToggleEvent(c)?this.addSelectionCells(b):this.setSelectionCells(b)};
mxGraph.prototype.createHandler=function(b){var c=null;if(null!=b)if(this.model.isEdge(b.cell))var c=b.getVisibleTerminalState(!0),f=b.getVisibleTerminalState(!1),d=this.getCellGeometry(b.cell),c=this.view.getEdgeStyle(b,null!=d?d.points:null,c,f),c=this.createEdgeHandler(b,c);else c=this.createVertexHandler(b);return c};mxGraph.prototype.createVertexHandler=function(b){return new mxVertexHandler(b)};
mxGraph.prototype.createEdgeHandler=function(b,c){return c==mxEdgeStyle.Loop||c==mxEdgeStyle.ElbowConnector||c==mxEdgeStyle.SideToSide||c==mxEdgeStyle.TopToBottom?this.createElbowEdgeHandler(b):c==mxEdgeStyle.SegmentConnector||c==mxEdgeStyle.OrthConnector?this.createEdgeSegmentHandler(b):new mxEdgeHandler(b)};mxGraph.prototype.createEdgeSegmentHandler=function(b){return new mxEdgeSegmentHandler(b)};mxGraph.prototype.createElbowEdgeHandler=function(b){return new mxElbowEdgeHandler(b)};
mxGraph.prototype.addMouseListener=function(b){null==this.mouseListeners&&(this.mouseListeners=[]);this.mouseListeners.push(b)};mxGraph.prototype.removeMouseListener=function(b){if(null!=this.mouseListeners)for(var c=0;c<this.mouseListeners.length;c++)if(this.mouseListeners[c]==b){this.mouseListeners.splice(c,1);break}};
mxGraph.prototype.updateMouseEvent=function(b,c){if(null==b.graphX||null==b.graphY){var f=mxUtils.convertPoint(this.container,b.getX(),b.getY());b.graphX=f.x-this.panDx;b.graphY=f.y-this.panDy;null==b.getCell()&&this.isMouseDown&&c==mxEvent.MOUSE_MOVE&&(b.state=this.view.getState(this.getCellAt(f.x,f.y,null,null,null,function(b){return null==b.shape||b.shape.paintBackground!=mxRectangleShape.prototype.paintBackground||"1"==mxUtils.getValue(b.style,mxConstants.STYLE_POINTER_EVENTS,"1")||null!=b.shape.fill&&
b.shape.fill!=mxConstants.NONE})))}return b};mxGraph.prototype.getStateForTouchEvent=function(b){var c=mxEvent.getClientX(b);b=mxEvent.getClientY(b);c=mxUtils.convertPoint(this.container,c,b);return this.view.getState(this.getCellAt(c.x,c.y))};
mxGraph.prototype.isEventIgnored=function(b,c,f){var d=mxEvent.isMouseEvent(c.getEvent()),a=!1;c.getEvent()==this.lastEvent?a=!0:this.lastEvent=c.getEvent();null!=this.eventSource&&b!=mxEvent.MOUSE_MOVE?(mxEvent.removeGestureListeners(this.eventSource,null,this.mouseMoveRedirect,this.mouseUpRedirect),this.eventSource=this.mouseUpRedirect=this.mouseMoveRedirect=null):null!=this.eventSource&&c.getSource()!=this.eventSource?a=!0:mxClient.IS_TOUCH&&b==mxEvent.MOUSE_DOWN&&!d&&(this.eventSource=c.getSource(),
this.mouseMoveRedirect=mxUtils.bind(this,function(a){this.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a,this.getStateForTouchEvent(a)))}),this.mouseUpRedirect=mxUtils.bind(this,function(a){this.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(a,this.getStateForTouchEvent(a)))}),mxEvent.addGestureListeners(this.eventSource,null,this.mouseMoveRedirect,this.mouseUpRedirect));this.isSyntheticEventIgnored(b,c,f)&&(a=!0);if(!mxEvent.isPopupTrigger(this.lastEvent)&&b!=mxEvent.MOUSE_MOVE&&2==this.lastEvent.detail)return!0;
if(b==mxEvent.MOUSE_UP&&this.isMouseDown)this.isMouseDown=!1;else if(b==mxEvent.MOUSE_DOWN&&!this.isMouseDown)this.isMouseDown=!0,this.isMouseTrigger=d;else if(!a&&((!mxClient.IS_FF||b!=mxEvent.MOUSE_MOVE)&&this.isMouseDown&&this.isMouseTrigger!=d||b==mxEvent.MOUSE_DOWN&&this.isMouseDown||b==mxEvent.MOUSE_UP&&!this.isMouseDown))a=!0;!a&&b==mxEvent.MOUSE_DOWN&&(this.lastMouseX=c.getX(),this.lastMouseY=c.getY());return a};
mxGraph.prototype.isSyntheticEventIgnored=function(b,c,f){f=!1;c=mxEvent.isMouseEvent(c.getEvent());this.ignoreMouseEvents&&c&&b!=mxEvent.MOUSE_MOVE?(this.ignoreMouseEvents=b!=mxEvent.MOUSE_UP,f=!0):mxClient.IS_FF&&!c&&b==mxEvent.MOUSE_UP&&(this.ignoreMouseEvents=!0);return f};
mxGraph.prototype.isEventSourceIgnored=function(b,c){var f=c.getSource(),d=null!=f.nodeName?f.nodeName.toLowerCase():"",a=!mxEvent.isMouseEvent(c.getEvent())||mxEvent.isLeftMouseButton(c.getEvent());return b==mxEvent.MOUSE_DOWN&&a&&("select"==d||"option"==d||"input"==d&&"checkbox"!=f.type&&"radio"!=f.type&&"button"!=f.type&&"submit"!=f.type&&"file"!=f.type)};mxGraph.prototype.getEventState=function(b){return b};
mxGraph.prototype.fireMouseEvent=function(b,c,f){if(this.isEventSourceIgnored(b,c))null!=this.tooltipHandler&&this.tooltipHandler.hide();else{null==f&&(f=this);c=this.updateMouseEvent(c,b);if(!this.nativeDblClickEnabled&&!mxEvent.isPopupTrigger(c.getEvent())||this.doubleTapEnabled&&mxClient.IS_TOUCH&&mxEvent.isTouchEvent(c.getEvent())){var d=(new Date).getTime();if(!mxClient.IS_QUIRKS&&b==mxEvent.MOUSE_DOWN||mxClient.IS_QUIRKS&&b==mxEvent.MOUSE_UP&&!this.fireDoubleClick)if(null!=this.lastTouchEvent&&
this.lastTouchEvent!=c.getEvent()&&d-this.lastTouchTime<this.doubleTapTimeout&&Math.abs(this.lastTouchX-c.getX())<this.doubleTapTolerance&&Math.abs(this.lastTouchY-c.getY())<this.doubleTapTolerance&&2>this.doubleClickCounter){if(this.doubleClickCounter++,d=!1,b==mxEvent.MOUSE_UP?c.getCell()==this.lastTouchCell&&null!=this.lastTouchCell&&(this.lastTouchTime=0,d=this.lastTouchCell,this.lastTouchCell=null,mxClient.IS_QUIRKS&&c.getSource().fireEvent("ondblclick"),this.dblClick(c.getEvent(),d),d=!0):(this.fireDoubleClick=
!0,this.lastTouchTime=0),!mxClient.IS_QUIRKS||d){mxEvent.consume(c.getEvent());return}}else{if(null==this.lastTouchEvent||this.lastTouchEvent!=c.getEvent())this.lastTouchCell=c.getCell(),this.lastTouchX=c.getX(),this.lastTouchY=c.getY(),this.lastTouchTime=d,this.lastTouchEvent=c.getEvent(),this.doubleClickCounter=0}else if((this.isMouseDown||b==mxEvent.MOUSE_UP)&&this.fireDoubleClick){this.fireDoubleClick=!1;d=this.lastTouchCell;this.lastTouchCell=null;this.isMouseDown=!1;(null!=d||mxEvent.isTouchEvent(c.getEvent())&&
(mxClient.IS_GC||mxClient.IS_SF))&&Math.abs(this.lastTouchX-c.getX())<this.doubleTapTolerance&&Math.abs(this.lastTouchY-c.getY())<this.doubleTapTolerance?this.dblClick(c.getEvent(),d):mxEvent.consume(c.getEvent());return}}if(!this.isEventIgnored(b,c,f)){c.state=this.getEventState(c.getState());this.fireEvent(new mxEventObject(mxEvent.FIRE_MOUSE_EVENT,"eventName",b,"event",c));if(mxClient.IS_OP||mxClient.IS_SF||mxClient.IS_GC||mxClient.IS_IE11||mxClient.IS_IE&&mxClient.IS_SVG||c.getEvent().target!=
this.container){if(b==mxEvent.MOUSE_MOVE&&this.isMouseDown&&this.autoScroll&&!mxEvent.isMultiTouchEvent(c.getEvent))this.scrollPointToVisible(c.getGraphX(),c.getGraphY(),this.autoExtend);else if(b==mxEvent.MOUSE_UP&&this.ignoreScrollbars&&this.translateToScrollPosition&&(0!=this.container.scrollLeft||0!=this.container.scrollTop)){var d=this.view.scale,a=this.view.translate;this.view.setTranslate(a.x-this.container.scrollLeft/d,a.y-this.container.scrollTop/d);this.container.scrollLeft=0;this.container.scrollTop=
0}if(null!=this.mouseListeners){d=[f,c];c.getEvent().preventDefault||(c.getEvent().returnValue=!0);for(a=0;a<this.mouseListeners.length;a++){var e=this.mouseListeners[a];b==mxEvent.MOUSE_DOWN?e.mouseDown.apply(e,d):b==mxEvent.MOUSE_MOVE?e.mouseMove.apply(e,d):b==mxEvent.MOUSE_UP&&e.mouseUp.apply(e,d)}}b==mxEvent.MOUSE_UP&&this.click(c)}mxEvent.isTouchEvent(c.getEvent())&&b==mxEvent.MOUSE_DOWN&&this.tapAndHoldEnabled&&!this.tapAndHoldInProgress?(this.tapAndHoldInProgress=!0,this.initialTouchX=c.getGraphX(),
this.initialTouchY=c.getGraphY(),this.tapAndHoldThread&&window.clearTimeout(this.tapAndHoldThread),this.tapAndHoldThread=window.setTimeout(mxUtils.bind(this,function(){this.tapAndHoldValid&&this.tapAndHold(c);this.tapAndHoldValid=this.tapAndHoldInProgress=!1}),this.tapAndHoldDelay),this.tapAndHoldValid=!0):b==mxEvent.MOUSE_UP?this.tapAndHoldValid=this.tapAndHoldInProgress=!1:this.tapAndHoldValid&&(this.tapAndHoldValid=Math.abs(this.initialTouchX-c.getGraphX())<this.tolerance&&Math.abs(this.initialTouchY-
c.getGraphY())<this.tolerance);b==mxEvent.MOUSE_DOWN&&this.isEditing()&&!this.cellEditor.isEventSource(c.getEvent())&&this.stopEditing(!this.isInvokesStopCellEditing());this.consumeMouseEvent(b,c,f)}}};mxGraph.prototype.consumeMouseEvent=function(b,c,f){b==mxEvent.MOUSE_DOWN&&mxEvent.isTouchEvent(c.getEvent())&&c.consume(!1)};mxGraph.prototype.fireGestureEvent=function(b,c){this.lastTouchTime=0;this.fireEvent(new mxEventObject(mxEvent.GESTURE,"event",b,"cell",c))};
mxGraph.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,null!=this.tooltipHandler&&this.tooltipHandler.destroy(),null!=this.selectionCellsHandler&&this.selectionCellsHandler.destroy(),null!=this.panningHandler&&this.panningHandler.destroy(),null!=this.popupMenuHandler&&this.popupMenuHandler.destroy(),null!=this.connectionHandler&&this.connectionHandler.destroy(),null!=this.graphHandler&&this.graphHandler.destroy(),null!=this.cellEditor&&this.cellEditor.destroy(),null!=this.view&&this.view.destroy(),
null!=this.model&&null!=this.graphModelChangeListener&&(this.model.removeListener(this.graphModelChangeListener),this.graphModelChangeListener=null),this.container=null)};function mxCellOverlay(b,c,f,d,a,e){this.image=b;this.tooltip=c;this.align=null!=f?f:this.align;this.verticalAlign=null!=d?d:this.verticalAlign;this.offset=null!=a?a:new mxPoint;this.cursor=null!=e?e:"help"}mxCellOverlay.prototype=new mxEventSource;mxCellOverlay.prototype.constructor=mxCellOverlay;mxCellOverlay.prototype.image=null;
mxCellOverlay.prototype.tooltip=null;mxCellOverlay.prototype.align=mxConstants.ALIGN_RIGHT;mxCellOverlay.prototype.verticalAlign=mxConstants.ALIGN_BOTTOM;mxCellOverlay.prototype.offset=null;mxCellOverlay.prototype.cursor=null;mxCellOverlay.prototype.defaultOverlap=0.5;
mxCellOverlay.prototype.getBounds=function(b){var c=b.view.graph.getModel().isEdge(b.cell),f=b.view.scale,d=null,a=this.image.width,e=this.image.height;c?(c=b.absolutePoints,1==c.length%2?d=c[Math.floor(c.length/2)]:(d=c.length/2,b=c[d-1],c=c[d],d=new mxPoint(b.x+(c.x-b.x)/2,b.y+(c.y-b.y)/2))):(d=new mxPoint,d.x=this.align==mxConstants.ALIGN_LEFT?b.x:this.align==mxConstants.ALIGN_CENTER?b.x+b.width/2:b.x+b.width,d.y=this.verticalAlign==mxConstants.ALIGN_TOP?b.y:this.verticalAlign==mxConstants.ALIGN_MIDDLE?
b.y+b.height/2:b.y+b.height);return new mxRectangle(Math.round(d.x-(a*this.defaultOverlap-this.offset.x)*f),Math.round(d.y-(e*this.defaultOverlap-this.offset.y)*f),a*f,e*f)};mxCellOverlay.prototype.toString=function(){return this.tooltip};function mxOutline(b,c){this.source=b;null!=c&&this.init(c)}mxOutline.prototype.source=null;mxOutline.prototype.outline=null;mxOutline.prototype.graphRenderHint=mxConstants.RENDERING_HINT_FASTER;mxOutline.prototype.enabled=!0;mxOutline.prototype.showViewport=!0;
mxOutline.prototype.border=10;mxOutline.prototype.sizerSize=8;mxOutline.prototype.labelsVisible=!1;mxOutline.prototype.updateOnPan=!1;mxOutline.prototype.sizerImage=null;mxOutline.prototype.minScale=1E-4;mxOutline.prototype.suspended=!1;mxOutline.prototype.forceVmlHandles=8==document.documentMode;mxOutline.prototype.createGraph=function(b){b=new mxGraph(b,this.source.getModel(),this.graphRenderHint,this.source.getStylesheet());b.foldingEnabled=!1;b.autoScroll=!1;return b};
mxOutline.prototype.init=function(b){this.outline=this.createGraph(b);var c=this.outline.graphModelChanged;this.outline.graphModelChanged=mxUtils.bind(this,function(b){!this.suspended&&null!=this.outline&&c.apply(this.outline,arguments)});mxClient.IS_SVG&&(b=this.outline.getView().getCanvas().parentNode,b.setAttribute("shape-rendering","optimizeSpeed"),b.setAttribute("image-rendering","optimizeSpeed"));this.outline.labelsVisible=this.labelsVisible;this.outline.setEnabled(!1);this.updateHandler=mxUtils.bind(this,
function(b,d){!this.suspended&&!this.active&&this.update()});this.source.getModel().addListener(mxEvent.CHANGE,this.updateHandler);this.outline.addMouseListener(this);b=this.source.getView();b.addListener(mxEvent.SCALE,this.updateHandler);b.addListener(mxEvent.TRANSLATE,this.updateHandler);b.addListener(mxEvent.SCALE_AND_TRANSLATE,this.updateHandler);b.addListener(mxEvent.DOWN,this.updateHandler);b.addListener(mxEvent.UP,this.updateHandler);mxEvent.addListener(this.source.container,"scroll",this.updateHandler);
this.panHandler=mxUtils.bind(this,function(b){this.updateOnPan&&this.updateHandler.apply(this,arguments)});this.source.addListener(mxEvent.PAN,this.panHandler);this.refreshHandler=mxUtils.bind(this,function(b){this.outline.setStylesheet(this.source.getStylesheet());this.outline.refresh()});this.source.addListener(mxEvent.REFRESH,this.refreshHandler);this.bounds=new mxRectangle(0,0,0,0);this.selectionBorder=new mxRectangleShape(this.bounds,null,mxConstants.OUTLINE_COLOR,mxConstants.OUTLINE_STROKEWIDTH);
this.selectionBorder.dialect=this.outline.dialect;this.forceVmlHandles&&(this.selectionBorder.isHtmlAllowed=function(){return!1});this.selectionBorder.init(this.outline.getView().getOverlayPane());b=mxUtils.bind(this,function(b){var d=mxEvent.getSource(b),a=mxUtils.bind(this,function(a){this.outline.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a))}),e=mxUtils.bind(this,function(b){mxEvent.removeGestureListeners(d,null,a,e);this.outline.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b))});
mxEvent.addGestureListeners(d,null,a,e);this.outline.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b))});mxEvent.addGestureListeners(this.selectionBorder.node,b);this.sizer=this.createSizer();this.forceVmlHandles&&(this.sizer.isHtmlAllowed=function(){return!1});this.sizer.init(this.outline.getView().getOverlayPane());this.enabled&&(this.sizer.node.style.cursor="nwse-resize");mxEvent.addGestureListeners(this.sizer.node,b);this.selectionBorder.node.style.display=this.showViewport?"":"none";this.sizer.node.style.display=
this.selectionBorder.node.style.display;this.selectionBorder.node.style.cursor="move";this.update(!1)};mxOutline.prototype.isEnabled=function(){return this.enabled};mxOutline.prototype.setEnabled=function(b){this.enabled=b};mxOutline.prototype.setZoomEnabled=function(b){this.sizer.node.style.visibility=b?"visible":"hidden"};mxOutline.prototype.refresh=function(){this.update(!0)};
mxOutline.prototype.createSizer=function(){var b=null!=this.sizerImage?new mxImageShape(new mxRectangle(0,0,this.sizerImage.width,this.sizerImage.height),this.sizerImage.src):new mxRectangleShape(new mxRectangle(0,0,this.sizerSize,this.sizerSize),mxConstants.OUTLINE_HANDLE_FILLCOLOR,mxConstants.OUTLINE_HANDLE_STROKECOLOR);b.dialect=this.outline.dialect;return b};mxOutline.prototype.getSourceContainerSize=function(){return new mxRectangle(0,0,this.source.container.scrollWidth,this.source.container.scrollHeight)};
mxOutline.prototype.getOutlineOffset=function(b){return null};mxOutline.prototype.getSourceGraphBounds=function(){return this.source.getGraphBounds()};
mxOutline.prototype.update=function(b){if(null!=this.source&&null!=this.outline){var c=this.source.view.scale,f=this.getSourceGraphBounds(),f=new mxRectangle(f.x/c+this.source.panDx,f.y/c+this.source.panDy,f.width/c,f.height/c),d=new mxRectangle(0,0,this.source.container.clientWidth/c,this.source.container.clientHeight/c),a=f.clone();a.add(d);var e=this.getSourceContainerSize(),d=Math.max(e.width/c,a.width),c=Math.max(e.height/c,a.height),a=Math.max(0,this.outline.container.clientWidth-this.border),
e=Math.max(0,this.outline.container.clientHeight-this.border),d=Math.min(a/d,e/c),a=isNaN(d)?this.minScale:Math.max(this.minScale,d);if(0<a){this.outline.getView().scale!=a&&(this.outline.getView().scale=a,b=!0);d=this.outline.getView();d.currentRoot!=this.source.getView().currentRoot&&d.setCurrentRoot(this.source.getView().currentRoot);var c=this.source.view.translate,e=c.x+this.source.panDx,g=c.y+this.source.panDy,a=this.getOutlineOffset(a);null!=a&&(e+=a.x,g+=a.y);0>f.x&&(e-=f.x);0>f.y&&(g-=f.y);
if(d.translate.x!=e||d.translate.y!=g)d.translate.x=e,d.translate.y=g,b=!0;var f=d.translate,a=this.source.getView().scale,e=a/d.scale,g=1/d.scale,k=this.source.container;this.bounds=new mxRectangle((f.x-c.x-this.source.panDx)/g,(f.y-c.y-this.source.panDy)/g,k.clientWidth/e,k.clientHeight/e);this.bounds.x+=this.source.container.scrollLeft*d.scale/a;this.bounds.y+=this.source.container.scrollTop*d.scale/a;f=this.selectionBorder.bounds;if(f.x!=this.bounds.x||f.y!=this.bounds.y||f.width!=this.bounds.width||
f.height!=this.bounds.height)this.selectionBorder.bounds=this.bounds,this.selectionBorder.redraw();f=this.sizer.bounds;d=new mxRectangle(this.bounds.x+this.bounds.width-f.width/2,this.bounds.y+this.bounds.height-f.height/2,f.width,f.height);if(f.x!=d.x||f.y!=d.y||f.width!=d.width||f.height!=d.height)this.sizer.bounds=d,"hidden"!=this.sizer.node.style.visibility&&this.sizer.redraw();b&&this.outline.view.revalidate()}}};
mxOutline.prototype.mouseDown=function(b,c){if(this.enabled&&this.showViewport){var f=!mxEvent.isMouseEvent(c.getEvent())?this.source.tolerance:0,f=this.source.allowHandleBoundsCheck&&(mxClient.IS_IE||0<f)?new mxRectangle(c.getGraphX()-f,c.getGraphY()-f,2*f,2*f):null;this.zoom=c.isSource(this.sizer)||null!=f&&mxUtils.intersects(shape.bounds,f);this.startX=c.getX();this.startY=c.getY();this.active=!0;this.source.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.source.container)?(this.dx0=this.source.container.scrollLeft,
this.dy0=this.source.container.scrollTop):this.dy0=this.dx0=0}c.consume()};
mxOutline.prototype.mouseMove=function(b,c){if(this.active){this.selectionBorder.node.style.display=this.showViewport?"":"none";this.sizer.node.style.display=this.selectionBorder.node.style.display;var f=this.getTranslateForEvent(c),d=f.x,a=f.y;if(this.zoom)f=this.source.container,a=d/(f.clientWidth/f.clientHeight),f=new mxRectangle(this.bounds.x,this.bounds.y,Math.max(1,this.bounds.width+d),Math.max(1,this.bounds.height+a)),this.selectionBorder.bounds=f,this.selectionBorder.redraw();else{var e=this.outline.getView().scale,
f=new mxRectangle(this.bounds.x+d,this.bounds.y+a,this.bounds.width,this.bounds.height);this.selectionBorder.bounds=f;this.selectionBorder.redraw();d=d/e*this.source.getView().scale;a=a/e*this.source.getView().scale;this.source.panGraph(-d-this.dx0,-a-this.dy0)}d=this.sizer.bounds;this.sizer.bounds=new mxRectangle(f.x+f.width-d.width/2,f.y+f.height-d.height/2,d.width,d.height);"hidden"!=this.sizer.node.style.visibility&&this.sizer.redraw();c.consume()}};
mxOutline.prototype.getTranslateForEvent=function(b){return new mxPoint(b.getX()-this.startX,b.getY()-this.startY)};
mxOutline.prototype.mouseUp=function(b,c){if(this.active){var f=this.getTranslateForEvent(c),d=f.x,f=f.y;if(0<Math.abs(d)||0<Math.abs(f)){if(this.zoom){var f=this.selectionBorder.bounds.width,a=this.source.getView().scale;this.source.zoomTo(Math.max(this.minScale,a-d*a/f),!1)}else if(!this.source.useScrollbarsForPanning||!mxUtils.hasScrollbars(this.source.container))this.source.panGraph(0,0),d/=this.outline.getView().scale,f/=this.outline.getView().scale,a=this.source.getView().translate,this.source.getView().setTranslate(a.x-
d,a.y-f);this.update();c.consume()}this.index=null;this.active=!1}};
mxOutline.prototype.destroy=function(){null!=this.source&&(this.source.removeListener(this.panHandler),this.source.removeListener(this.refreshHandler),this.source.getModel().removeListener(this.updateHandler),this.source.getView().removeListener(this.updateHandler),mxEvent.addListener(this.source.container,"scroll",this.updateHandler),this.source=null);null!=this.outline&&(this.outline.removeMouseListener(this),this.outline.destroy(),this.outline=null);null!=this.selectionBorder&&(this.selectionBorder.destroy(),
this.selectionBorder=null);null!=this.sizer&&(this.sizer.destroy(),this.sizer=null)};function mxMultiplicity(b,c,f,d,a,e,g,k,l,m){this.source=b;this.type=c;this.attr=f;this.value=d;this.min=null!=a?a:0;this.max=null!=e?e:"n";this.validNeighbors=g;this.countError=mxResources.get(k)||k;this.typeError=mxResources.get(l)||l;this.validNeighborsAllowed=null!=m?m:!0}mxMultiplicity.prototype.type=null;mxMultiplicity.prototype.attr=null;mxMultiplicity.prototype.value=null;mxMultiplicity.prototype.source=null;
mxMultiplicity.prototype.min=null;mxMultiplicity.prototype.max=null;mxMultiplicity.prototype.validNeighbors=null;mxMultiplicity.prototype.validNeighborsAllowed=!0;mxMultiplicity.prototype.countError=null;mxMultiplicity.prototype.typeError=null;
mxMultiplicity.prototype.check=function(b,c,f,d,a,e){var g="";if(this.source&&this.checkTerminal(b,f,c)||!this.source&&this.checkTerminal(b,d,c)){if(null!=this.countError&&(this.source&&(0==this.max||a>=this.max)||!this.source&&(0==this.max||e>=this.max)))g+=this.countError+"\n";null!=this.validNeighbors&&null!=this.typeError&&0<this.validNeighbors.length&&(this.checkNeighbors(b,c,f,d)||(g+=this.typeError+"\n"))}return 0<g.length?g:null};
mxMultiplicity.prototype.checkNeighbors=function(b,c,f,d){c=b.model.getValue(f);d=b.model.getValue(d);f=!this.validNeighborsAllowed;for(var a=this.validNeighbors,e=0;e<a.length;e++)if(this.source&&this.checkType(b,d,a[e])){f=this.validNeighborsAllowed;break}else if(!this.source&&this.checkType(b,c,a[e])){f=this.validNeighborsAllowed;break}return f};mxMultiplicity.prototype.checkTerminal=function(b,c,f){c=b.model.getValue(c);return this.checkType(b,c,this.type,this.attr,this.value)};
mxMultiplicity.prototype.checkType=function(b,c,f,d,a){return null!=c?isNaN(c.nodeType)?c==f:mxUtils.isNode(c,f,d,a):!1};function mxLayoutManager(b){this.undoHandler=mxUtils.bind(this,function(b,f){this.isEnabled()&&this.beforeUndo(f.getProperty("edit"))});this.moveHandler=mxUtils.bind(this,function(b,f){this.isEnabled()&&this.cellsMoved(f.getProperty("cells"),f.getProperty("event"))});this.setGraph(b)}mxLayoutManager.prototype=new mxEventSource;mxLayoutManager.prototype.constructor=mxLayoutManager;
mxLayoutManager.prototype.graph=null;mxLayoutManager.prototype.bubbling=!0;mxLayoutManager.prototype.enabled=!0;mxLayoutManager.prototype.updateHandler=null;mxLayoutManager.prototype.moveHandler=null;mxLayoutManager.prototype.isEnabled=function(){return this.enabled};mxLayoutManager.prototype.setEnabled=function(b){this.enabled=b};mxLayoutManager.prototype.isBubbling=function(){return this.bubbling};mxLayoutManager.prototype.setBubbling=function(b){this.bubbling=b};
mxLayoutManager.prototype.getGraph=function(){return this.graph};mxLayoutManager.prototype.setGraph=function(b){if(null!=this.graph){var c=this.graph.getModel();c.removeListener(this.undoHandler);this.graph.removeListener(this.moveHandler)}this.graph=b;null!=this.graph&&(c=this.graph.getModel(),c.addListener(mxEvent.BEFORE_UNDO,this.undoHandler),this.graph.addListener(mxEvent.MOVE_CELLS,this.moveHandler))};mxLayoutManager.prototype.getLayout=function(b){return null};
mxLayoutManager.prototype.beforeUndo=function(b){b=this.getCellsForChanges(b.changes);for(var c=this.getGraph().getModel(),f=[],d=0;d<b.length;d++)f=f.concat(c.getDescendants(b[d]));b=f;if(this.isBubbling())for(f=c.getParents(b);0<f.length;)b=b.concat(f),f=c.getParents(f);this.executeLayoutForCells(b)};mxLayoutManager.prototype.executeLayoutForCells=function(b){b=mxUtils.sortCells(b,!0);b=b.concat(b.slice().reverse());this.layoutCells(b)};
mxLayoutManager.prototype.cellsMoved=function(b,c){if(null!=b&&null!=c)for(var f=mxUtils.convertPoint(this.getGraph().container,mxEvent.getClientX(c),mxEvent.getClientY(c)),d=this.getGraph().getModel(),a=0;a<b.length;a++){var e=d.getParent(b[a]);0>mxUtils.indexOf(b,e)&&(e=this.getLayout(e),null!=e&&e.moveCell(b[a],f.x,f.y))}};
mxLayoutManager.prototype.getCellsForChanges=function(b){for(var c=new mxDictionary,f=[],d=0;d<b.length;d++){var a=b[d];if(a instanceof mxRootChange)return[];for(var a=this.getCellsForChange(a),e=0;e<a.length;e++)null!=a[e]&&!c.get(a[e])&&(c.put(a[e],!0),f.push(a[e]))}return f};
mxLayoutManager.prototype.getCellsForChange=function(b){var c=this.getGraph().getModel();return b instanceof mxChildChange?[b.child,b.previous,c.getParent(b.child)]:b instanceof mxTerminalChange||b instanceof mxGeometryChange?[b.cell,c.getParent(b.cell)]:b instanceof mxVisibleChange||b instanceof mxStyleChange?[b.cell]:[]};
mxLayoutManager.prototype.layoutCells=function(b){if(0<b.length){var c=this.getGraph().getModel();c.beginUpdate();try{for(var f=null,d=0;d<b.length;d++)b[d]!=c.getRoot()&&b[d]!=f&&this.executeLayout(this.getLayout(b[d]),b[d])&&(f=b[d]);this.fireEvent(new mxEventObject(mxEvent.LAYOUT_CELLS,"cells",b))}finally{c.endUpdate()}}};mxLayoutManager.prototype.executeLayout=function(b,c){var f=!1;null!=b&&null!=c&&(b.execute(c),f=!0);return f};mxLayoutManager.prototype.destroy=function(){this.setGraph(null)};
function mxSwimlaneManager(b,c,f,d){this.horizontal=null!=c?c:!0;this.addEnabled=null!=f?f:!0;this.resizeEnabled=null!=d?d:!0;this.addHandler=mxUtils.bind(this,function(a,b){this.isEnabled()&&this.isAddEnabled()&&this.cellsAdded(b.getProperty("cells"))});this.resizeHandler=mxUtils.bind(this,function(a,b){this.isEnabled()&&this.isResizeEnabled()&&this.cellsResized(b.getProperty("cells"))});this.setGraph(b)}mxSwimlaneManager.prototype=new mxEventSource;mxSwimlaneManager.prototype.constructor=mxSwimlaneManager;
mxSwimlaneManager.prototype.graph=null;mxSwimlaneManager.prototype.enabled=!0;mxSwimlaneManager.prototype.horizontal=!0;mxSwimlaneManager.prototype.addEnabled=!0;mxSwimlaneManager.prototype.resizeEnabled=!0;mxSwimlaneManager.prototype.addHandler=null;mxSwimlaneManager.prototype.resizeHandler=null;mxSwimlaneManager.prototype.isEnabled=function(){return this.enabled};mxSwimlaneManager.prototype.setEnabled=function(b){this.enabled=b};mxSwimlaneManager.prototype.isHorizontal=function(){return this.horizontal};
mxSwimlaneManager.prototype.setHorizontal=function(b){this.horizontal=b};mxSwimlaneManager.prototype.isAddEnabled=function(){return this.addEnabled};mxSwimlaneManager.prototype.setAddEnabled=function(b){this.addEnabled=b};mxSwimlaneManager.prototype.isResizeEnabled=function(){return this.resizeEnabled};mxSwimlaneManager.prototype.setResizeEnabled=function(b){this.resizeEnabled=b};mxSwimlaneManager.prototype.getGraph=function(){return this.graph};
mxSwimlaneManager.prototype.setGraph=function(b){null!=this.graph&&(this.graph.removeListener(this.addHandler),this.graph.removeListener(this.resizeHandler));this.graph=b;null!=this.graph&&(this.graph.addListener(mxEvent.ADD_CELLS,this.addHandler),this.graph.addListener(mxEvent.CELLS_RESIZED,this.resizeHandler))};mxSwimlaneManager.prototype.isSwimlaneIgnored=function(b){return!this.getGraph().isSwimlane(b)};
mxSwimlaneManager.prototype.isCellHorizontal=function(b){return this.graph.isSwimlane(b)?(b=this.graph.getCellStyle(b),1==mxUtils.getValue(b,mxConstants.STYLE_HORIZONTAL,1)):!this.isHorizontal()};mxSwimlaneManager.prototype.cellsAdded=function(b){if(null!=b){var c=this.getGraph().getModel();c.beginUpdate();try{for(var f=0;f<b.length;f++)this.isSwimlaneIgnored(b[f])||this.swimlaneAdded(b[f])}finally{c.endUpdate()}}};
mxSwimlaneManager.prototype.swimlaneAdded=function(b){for(var c=this.getGraph().getModel(),f=c.getParent(b),d=c.getChildCount(f),a=null,e=0;e<d;e++){var g=c.getChildAt(f,e);if(g!=b&&!this.isSwimlaneIgnored(g)&&(a=c.getGeometry(g),null!=a))break}null!=a&&(c=null!=f?this.isCellHorizontal(f):this.horizontal,this.resizeSwimlane(b,a.width,a.height,c))};
mxSwimlaneManager.prototype.cellsResized=function(b){if(null!=b){var c=this.getGraph().getModel();c.beginUpdate();try{for(var f=0;f<b.length;f++)if(!this.isSwimlaneIgnored(b[f])){var d=c.getGeometry(b[f]);if(null!=d){for(var a=new mxRectangle(0,0,d.width,d.height),e=b[f],g=e;null!=g;){var e=g,g=c.getParent(g),k=this.graph.isSwimlane(g)?this.graph.getStartSize(g):new mxRectangle;a.width+=k.width;a.height+=k.height}var l=null!=g?this.isCellHorizontal(g):this.horizontal;this.resizeSwimlane(e,a.width,
a.height,l)}}}finally{c.endUpdate()}}};
mxSwimlaneManager.prototype.resizeSwimlane=function(b,c,f,d){var a=this.getGraph().getModel();a.beginUpdate();try{var e=this.isCellHorizontal(b);if(!this.isSwimlaneIgnored(b)){var g=a.getGeometry(b);if(null!=g&&(d&&g.height!=f||!d&&g.width!=c))g=g.clone(),d?g.height=f:g.width=c,a.setGeometry(b,g)}var k=this.graph.isSwimlane(b)?this.graph.getStartSize(b):new mxRectangle;c-=k.width;f-=k.height;var l=a.getChildCount(b);for(d=0;d<l;d++){var m=a.getChildAt(b,d);this.resizeSwimlane(m,c,f,e)}}finally{a.endUpdate()}};
mxSwimlaneManager.prototype.destroy=function(){this.setGraph(null)};
function mxTemporaryCellStates(b,c,f,d){c=null!=c?c:1;this.view=b;this.oldValidateCellState=b.validateCellState;this.oldBounds=b.getGraphBounds();this.oldStates=b.getStates();this.oldScale=b.getScale();var a=this;b.validateCellState=function(e,c){return null==e||null==d||d(e)?a.oldValidateCellState.apply(b,arguments):null};b.setStates(new mxDictionary);b.setScale(c);if(null!=f){b.resetValidationState();c=null;for(var e=0;e<f.length;e++){var g=b.getBoundingBox(b.validateCellState(b.validateCell(f[e])));
null==c?c=g:c.add(g)}b.setGraphBounds(c||new mxRectangle)}}mxTemporaryCellStates.prototype.view=null;mxTemporaryCellStates.prototype.oldStates=null;mxTemporaryCellStates.prototype.oldBounds=null;mxTemporaryCellStates.prototype.oldScale=null;mxTemporaryCellStates.prototype.destroy=function(){this.view.setScale(this.oldScale);this.view.setStates(this.oldStates);this.view.setGraphBounds(this.oldBounds);this.view.validateCellState=this.oldValidateCellState};
function mxCellStatePreview(b){this.deltas=new mxDictionary;this.graph=b}mxCellStatePreview.prototype.graph=null;mxCellStatePreview.prototype.deltas=null;mxCellStatePreview.prototype.count=0;mxCellStatePreview.prototype.isEmpty=function(){return 0==this.count};
mxCellStatePreview.prototype.moveState=function(b,c,f,d,a){d=null!=d?d:!0;a=null!=a?a:!0;var e=this.deltas.get(b.cell);null==e?(e={point:new mxPoint(c,f),state:b},this.deltas.put(b.cell,e),this.count++):d?(e.point.x+=c,e.point.y+=f):(e.point.x=c,e.point.y=f);a&&this.addEdges(b);return e.point};
mxCellStatePreview.prototype.show=function(b){this.deltas.visit(mxUtils.bind(this,function(b,f){this.translateState(f.state,f.point.x,f.point.y)}));this.deltas.visit(mxUtils.bind(this,function(c,f){this.revalidateState(f.state,f.point.x,f.point.y,b)}))};
mxCellStatePreview.prototype.translateState=function(b,c,f){if(null!=b){var d=this.graph.getModel();if(d.isVertex(b.cell)){b.view.updateCellState(b);var a=d.getGeometry(b.cell);if((0!=c||0!=f)&&null!=a&&(!a.relative||null!=this.deltas.get(b.cell)))b.x+=c,b.y+=f}for(var a=d.getChildCount(b.cell),e=0;e<a;e++)this.translateState(b.view.getState(d.getChildAt(b.cell,e)),c,f)}};
mxCellStatePreview.prototype.revalidateState=function(b,c,f,d){if(null!=b){var a=this.graph.getModel();a.isEdge(b.cell)&&b.view.updateCellState(b);var e=this.graph.getCellGeometry(b.cell),g=b.view.getState(a.getParent(b.cell));if((0!=c||0!=f)&&null!=e&&e.relative&&a.isVertex(b.cell)&&(null==g||a.isVertex(g.cell)||null!=this.deltas.get(b.cell)))b.x+=c,b.y+=f;this.graph.cellRenderer.redraw(b);null!=d&&d(b);e=a.getChildCount(b.cell);for(g=0;g<e;g++)this.revalidateState(this.graph.view.getState(a.getChildAt(b.cell,
g)),c,f,d)}};mxCellStatePreview.prototype.addEdges=function(b){for(var c=this.graph.getModel(),f=c.getEdgeCount(b.cell),d=0;d<f;d++){var a=b.view.getState(c.getEdgeAt(b.cell,d));null!=a&&this.moveState(a,0,0)}};function mxConnectionConstraint(b,c){this.point=b;this.perimeter=null!=c?c:!0}mxConnectionConstraint.prototype.point=null;mxConnectionConstraint.prototype.perimeter=null;
function mxGraphHandler(b){this.graph=b;this.graph.addMouseListener(this);this.panHandler=mxUtils.bind(this,function(){this.updatePreviewShape();this.updateHint()});this.graph.addListener(mxEvent.PAN,this.panHandler);this.escapeHandler=mxUtils.bind(this,function(b,f){this.reset()});this.graph.addListener(mxEvent.ESCAPE,this.escapeHandler)}mxGraphHandler.prototype.graph=null;mxGraphHandler.prototype.maxCells=mxClient.IS_IE?20:50;mxGraphHandler.prototype.enabled=!0;
mxGraphHandler.prototype.highlightEnabled=!0;mxGraphHandler.prototype.cloneEnabled=!0;mxGraphHandler.prototype.moveEnabled=!0;mxGraphHandler.prototype.guidesEnabled=!1;mxGraphHandler.prototype.guide=null;mxGraphHandler.prototype.currentDx=null;mxGraphHandler.prototype.currentDy=null;mxGraphHandler.prototype.updateCursor=!0;mxGraphHandler.prototype.selectEnabled=!0;mxGraphHandler.prototype.removeCellsFromParent=!0;mxGraphHandler.prototype.connectOnDrop=!1;mxGraphHandler.prototype.scrollOnMove=!0;
mxGraphHandler.prototype.minimumSize=6;mxGraphHandler.prototype.previewColor="black";mxGraphHandler.prototype.htmlPreview=!1;mxGraphHandler.prototype.shape=null;mxGraphHandler.prototype.scaleGrid=!1;mxGraphHandler.prototype.rotationEnabled=!0;mxGraphHandler.prototype.isEnabled=function(){return this.enabled};mxGraphHandler.prototype.setEnabled=function(b){this.enabled=b};mxGraphHandler.prototype.isCloneEnabled=function(){return this.cloneEnabled};
mxGraphHandler.prototype.setCloneEnabled=function(b){this.cloneEnabled=b};mxGraphHandler.prototype.isMoveEnabled=function(){return this.moveEnabled};mxGraphHandler.prototype.setMoveEnabled=function(b){this.moveEnabled=b};mxGraphHandler.prototype.isSelectEnabled=function(){return this.selectEnabled};mxGraphHandler.prototype.setSelectEnabled=function(b){this.selectEnabled=b};mxGraphHandler.prototype.isRemoveCellsFromParent=function(){return this.removeCellsFromParent};
mxGraphHandler.prototype.setRemoveCellsFromParent=function(b){this.removeCellsFromParent=b};mxGraphHandler.prototype.getInitialCellForEvent=function(b){return b.getCell()};mxGraphHandler.prototype.isDelayedSelection=function(b,c){return this.graph.isCellSelected(b)};
mxGraphHandler.prototype.mouseDown=function(b,c){if(!c.isConsumed()&&this.isEnabled()&&this.graph.isEnabled()&&null!=c.getState()&&!mxEvent.isMultiTouchEvent(c.getEvent())){var f=this.getInitialCellForEvent(c);this.delayedSelection=this.isDelayedSelection(f,c);this.cell=null;this.isSelectEnabled()&&!this.delayedSelection&&this.graph.selectCellForEvent(f,c.getEvent());if(this.isMoveEnabled()){var d=this.graph.model,a=d.getGeometry(f);this.graph.isCellMovable(f)&&(!d.isEdge(f)||1<this.graph.getSelectionCount()||
null!=a.points&&0<a.points.length||null==d.getTerminal(f,!0)||null==d.getTerminal(f,!1)||this.graph.allowDanglingEdges||this.graph.isCloneEvent(c.getEvent())&&this.graph.isCellsCloneable())?this.start(f,c.getX(),c.getY()):this.delayedSelection&&(this.cell=f);this.cellWasClicked=!0;c.consume()}}};
mxGraphHandler.prototype.getGuideStates=function(){var b=this.graph.getDefaultParent(),c=this.graph.getModel(),f=mxUtils.bind(this,function(b){return null!=this.graph.view.getState(b)&&c.isVertex(b)&&null!=c.getGeometry(b)&&!c.getGeometry(b).relative});return this.graph.view.getCellStates(c.filterDescendants(f,b))};mxGraphHandler.prototype.getCells=function(b){return!this.delayedSelection&&this.graph.isCellMovable(b)?[b]:this.graph.getMovableCells(this.graph.getSelectionCells())};
mxGraphHandler.prototype.getPreviewBounds=function(b){b=this.getBoundingBox(b);null!=b&&(b.width=Math.max(0,b.width-1),b.height=Math.max(0,b.height-1),b.width<this.minimumSize?(b.x-=(this.minimumSize-b.width)/2,b.width=this.minimumSize):(b.x=Math.round(b.x),b.width=Math.ceil(b.width)),b.height<this.minimumSize?(b.y-=(this.minimumSize-b.height)/2,b.height=this.minimumSize):(b.y=Math.round(b.y),b.height=Math.ceil(b.height)));return b};
mxGraphHandler.prototype.getBoundingBox=function(b){var c=null;if(null!=b&&0<b.length)for(var f=this.graph.getModel(),d=0;d<b.length;d++)if(f.isVertex(b[d])||f.isEdge(b[d])){var a=this.graph.view.getState(b[d]);if(null!=a){var e=a;f.isVertex(b[d])&&null!=a.shape&&null!=a.shape.boundingBox&&(e=a.shape.boundingBox);null==c?c=mxRectangle.fromRectangle(e):c.add(e)}}return c};
mxGraphHandler.prototype.createPreviewShape=function(b){b=new mxRectangleShape(b,null,this.previewColor);b.isDashed=!0;this.htmlPreview?(b.dialect=mxConstants.DIALECT_STRICTHTML,b.init(this.graph.container)):(b.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG,b.init(this.graph.getView().getOverlayPane()),b.pointerEvents=!1,mxClient.IS_IOS&&(b.getSvgScreenOffset=function(){return 0}));return b};
mxGraphHandler.prototype.start=function(b,c,f){this.cell=b;this.first=mxUtils.convertPoint(this.graph.container,c,f);this.cells=this.getCells(this.cell);this.bounds=this.graph.getView().getBounds(this.cells);this.pBounds=this.getPreviewBounds(this.cells);this.guidesEnabled&&(this.guide=new mxGuide(this.graph,this.getGuideStates()))};mxGraphHandler.prototype.useGuidesForEvent=function(b){return null!=this.guide?this.guide.isEnabledForEvent(b.getEvent()):!0};
mxGraphHandler.prototype.snap=function(b){var c=this.scaleGrid?this.graph.view.scale:1;b.x=this.graph.snap(b.x/c)*c;b.y=this.graph.snap(b.y/c)*c;return b};mxGraphHandler.prototype.getDelta=function(b){b=mxUtils.convertPoint(this.graph.container,b.getX(),b.getY());var c=this.graph.view.scale;return new mxPoint(this.roundLength((b.x-this.first.x)/c)*c,this.roundLength((b.y-this.first.y)/c)*c)};mxGraphHandler.prototype.updateHint=function(b){};mxGraphHandler.prototype.removeHint=function(){};
mxGraphHandler.prototype.roundLength=function(b){return Math.round(b)};
mxGraphHandler.prototype.mouseMove=function(b,c){var f=this.graph;if(!c.isConsumed()&&f.isMouseDown&&null!=this.cell&&null!=this.first&&null!=this.bounds)if(mxEvent.isMultiTouchEvent(c.getEvent()))this.reset();else{var d=this.getDelta(c),a=d.x,d=d.y,e=f.tolerance;if(null!=this.shape||Math.abs(a)>e||Math.abs(d)>e){null==this.highlight&&(this.highlight=new mxCellHighlight(this.graph,mxConstants.DROP_TARGET_COLOR,3));null==this.shape&&(this.shape=this.createPreviewShape(this.bounds));var g=f.isGridEnabledEvent(c.getEvent()),
e=!0;if(null!=this.guide&&this.useGuidesForEvent(c))d=this.guide.move(this.bounds,new mxPoint(a,d),g),e=!1,a=d.x,d=d.y;else if(g)var k=f.getView().translate,l=f.getView().scale,g=this.bounds.x-(f.snap(this.bounds.x/l-k.x)+k.x)*l,k=this.bounds.y-(f.snap(this.bounds.y/l-k.y)+k.y)*l,d=this.snap(new mxPoint(a,d)),a=d.x-g,d=d.y-k;null!=this.guide&&e&&this.guide.hide();f.isConstrainedEvent(c.getEvent())&&(Math.abs(a)>Math.abs(d)?d=0:a=0);this.currentDx=a;this.currentDy=d;this.updatePreviewShape();e=null;
d=c.getCell();g=f.isCloneEvent(c.getEvent())&&f.isCellsCloneable()&&this.isCloneEnabled();f.isDropEnabled()&&this.highlightEnabled&&(e=f.getDropTarget(this.cells,c.getEvent(),d,g));a=f.getView().getState(e);k=!1;null!=a&&(f.model.getParent(this.cell)!=e||g)?(this.target!=e&&(this.target=e,this.setHighlightColor(mxConstants.DROP_TARGET_COLOR)),k=!0):(this.target=null,this.connectOnDrop&&null!=d&&1==this.cells.length&&(f.getModel().isVertex(d)&&f.isCellConnectable(d))&&(a=f.getView().getState(d),null!=
a&&(f=null==f.getEdgeValidationError(null,this.cell,d)?mxConstants.VALID_COLOR:mxConstants.INVALID_CONNECT_TARGET_COLOR,this.setHighlightColor(f),k=!0)));null!=a&&k?this.highlight.highlight(a):this.highlight.hide()}this.updateHint(c);c.consume();mxEvent.consume(c.getEvent())}else if((this.isMoveEnabled()||this.isCloneEnabled())&&this.updateCursor&&!c.isConsumed()&&null!=c.getState()&&!f.isMouseDown)a=f.getCursorForMouseEvent(c),null==a&&f.isEnabled()&&f.isCellMovable(c.getCell())&&(a=f.getModel().isEdge(c.getCell())?
mxConstants.CURSOR_MOVABLE_EDGE:mxConstants.CURSOR_MOVABLE_VERTEX),null!=c.sourceState&&c.sourceState.setCursor(a)};mxGraphHandler.prototype.updatePreviewShape=function(){null!=this.shape&&(this.shape.bounds=new mxRectangle(Math.round(this.pBounds.x+this.currentDx-this.graph.panDx),Math.round(this.pBounds.y+this.currentDy-this.graph.panDy),this.pBounds.width,this.pBounds.height),this.shape.redraw())};mxGraphHandler.prototype.setHighlightColor=function(b){null!=this.highlight&&this.highlight.setHighlightColor(b)};
mxGraphHandler.prototype.mouseUp=function(b,c){if(!c.isConsumed()){var f=this.graph;if(null!=this.cell&&null!=this.first&&null!=this.shape&&null!=this.currentDx&&null!=this.currentDy){var d=c.getCell();if(this.connectOnDrop&&null==this.target&&null!=d&&f.getModel().isVertex(d)&&f.isCellConnectable(d)&&f.isEdgeValid(null,this.cell,d))f.connectionHandler.connect(this.cell,d,c.getEvent());else{var d=f.isCloneEvent(c.getEvent())&&f.isCellsCloneable()&&this.isCloneEnabled(),a=f.getView().scale,e=this.roundLength(this.currentDx/
a),a=this.roundLength(this.currentDy/a),g=this.target;f.isSplitEnabled()&&f.isSplitTarget(g,this.cells,c.getEvent())?f.splitEdge(g,this.cells,null,e,a):this.moveCells(this.cells,e,a,d,this.target,c.getEvent())}}else this.isSelectEnabled()&&this.delayedSelection&&null!=this.cell&&this.selectDelayed(c)}this.cellWasClicked&&c.consume();this.reset()};
mxGraphHandler.prototype.selectDelayed=function(b){(!this.graph.isCellSelected(this.cell)||!this.graph.popupMenuHandler.isPopupTrigger(b))&&this.graph.selectCellForEvent(this.cell,b.getEvent())};mxGraphHandler.prototype.reset=function(){this.destroyShapes();this.removeHint();this.delayedSelection=this.cellWasClicked=!1;this.target=this.cell=this.first=this.guides=this.currentDy=this.currentDx=null};
mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(b,c,f){if(this.graph.getModel().isVertex(b)){b=this.graph.getView().getState(b);f=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(f),mxEvent.getClientY(f));var d=mxUtils.toRadians(mxUtils.getValue(b.style,mxConstants.STYLE_ROTATION)||0);if(0!=d){c=Math.cos(-d);var d=Math.sin(-d),a=new mxPoint(b.getCenterX(),b.getCenterY());f=mxUtils.getRotatedPoint(f,c,d,a)}return null!=b&&!mxUtils.contains(b,f.x,f.y)}return!1};
mxGraphHandler.prototype.moveCells=function(b,c,f,d,a,e){d&&(b=this.graph.getCloneableCells(b));null==a&&this.isRemoveCellsFromParent()&&this.shouldRemoveCellsFromParent(this.graph.getModel().getParent(this.cell),b,e)&&(a=this.graph.getDefaultParent());b=this.graph.moveCells(b,c-this.graph.panDx/this.graph.view.scale,f-this.graph.panDy/this.graph.view.scale,d,a,e);this.isSelectEnabled()&&this.scrollOnMove&&this.graph.scrollCellToVisible(b[0]);d&&this.graph.setSelectionCells(b)};
mxGraphHandler.prototype.destroyShapes=function(){null!=this.shape&&(this.shape.destroy(),this.shape=null);null!=this.guide&&(this.guide.destroy(),this.guide=null);null!=this.highlight&&(this.highlight.destroy(),this.highlight=null)};mxGraphHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);this.graph.removeListener(this.panHandler);null!=this.escapeHandler&&(this.graph.removeListener(this.escapeHandler),this.escapeHandler=null);this.destroyShapes();this.removeHint()};
function mxPanningHandler(b){null!=b&&(this.graph=b,this.graph.addMouseListener(this),this.forcePanningHandler=mxUtils.bind(this,function(b,f){var d=f.getProperty("eventName"),a=f.getProperty("event");d==mxEvent.MOUSE_DOWN&&this.isForcePanningEvent(a)&&(this.start(a),this.active=!0,this.fireEvent(new mxEventObject(mxEvent.PAN_START,"event",a)),a.consume())}),this.graph.addListener(mxEvent.FIRE_MOUSE_EVENT,this.forcePanningHandler),this.gestureHandler=mxUtils.bind(this,function(b,f){if(this.isPinchEnabled()){var d=
f.getProperty("event");!mxEvent.isConsumed(d)&&"gesturestart"==d.type?(this.initialScale=this.graph.view.scale,!this.active&&null!=this.mouseDownEvent&&(this.start(this.mouseDownEvent),this.mouseDownEvent=null)):"gestureend"==d.type&&null==this.initialScale&&(this.initialScale=null);if(null!=this.initialScale){var a=Math.round(100*this.initialScale*d.scale)/100;null!=this.minScale&&(a=Math.max(this.minScale,a));null!=this.maxScale&&(a=Math.min(this.maxScale,a));this.graph.view.scale!=a&&(this.graph.zoomTo(a),
mxEvent.consume(d))}}}),this.graph.addListener(mxEvent.GESTURE,this.gestureHandler))}mxPanningHandler.prototype=new mxEventSource;mxPanningHandler.prototype.constructor=mxPanningHandler;mxPanningHandler.prototype.graph=null;mxPanningHandler.prototype.useLeftButtonForPanning=!1;mxPanningHandler.prototype.usePopupTrigger=!0;mxPanningHandler.prototype.ignoreCell=!1;mxPanningHandler.prototype.previewEnabled=!0;mxPanningHandler.prototype.useGrid=!1;mxPanningHandler.prototype.panningEnabled=!0;
mxPanningHandler.prototype.pinchEnabled=!0;mxPanningHandler.prototype.maxScale=8;mxPanningHandler.prototype.minScale=0.01;mxPanningHandler.prototype.dx=null;mxPanningHandler.prototype.dy=null;mxPanningHandler.prototype.startX=0;mxPanningHandler.prototype.startY=0;mxPanningHandler.prototype.isActive=function(){return this.active||null!=this.initialScale};mxPanningHandler.prototype.isPanningEnabled=function(){return this.panningEnabled};
mxPanningHandler.prototype.setPanningEnabled=function(b){this.panningEnabled=b};mxPanningHandler.prototype.isPinchEnabled=function(){return this.pinchEnabled};mxPanningHandler.prototype.setPinchEnabled=function(b){this.pinchEnabled=b};mxPanningHandler.prototype.isPanningTrigger=function(b){var c=b.getEvent();return this.useLeftButtonForPanning&&null==b.getState()&&mxEvent.isLeftMouseButton(c)||mxEvent.isControlDown(c)&&mxEvent.isShiftDown(c)||this.usePopupTrigger&&mxEvent.isPopupTrigger(c)};
mxPanningHandler.prototype.isForcePanningEvent=function(b){return this.ignoreCell||mxEvent.isMultiTouchEvent(b.getEvent())};mxPanningHandler.prototype.mouseDown=function(b,c){this.mouseDownEvent=c;!c.isConsumed()&&this.isPanningEnabled()&&!this.active&&this.isPanningTrigger(c)&&(this.start(c),this.consumePanningTrigger(c))};
mxPanningHandler.prototype.start=function(b){this.dx0=-this.graph.container.scrollLeft;this.dy0=-this.graph.container.scrollTop;this.startX=b.getX();this.startY=b.getY();this.dy=this.dx=null;this.panningTrigger=!0};mxPanningHandler.prototype.consumePanningTrigger=function(b){b.consume()};
mxPanningHandler.prototype.mouseMove=function(b,c){this.dx=c.getX()-this.startX;this.dy=c.getY()-this.startY;if(this.active)this.previewEnabled&&(this.useGrid&&(this.dx=this.graph.snap(this.dx),this.dy=this.graph.snap(this.dy)),this.graph.panGraph(this.dx+this.dx0,this.dy+this.dy0)),this.fireEvent(new mxEventObject(mxEvent.PAN,"event",c));else if(this.panningTrigger){var f=this.active;this.active=Math.abs(this.dx)>this.graph.tolerance||Math.abs(this.dy)>this.graph.tolerance;!f&&this.active&&this.fireEvent(new mxEventObject(mxEvent.PAN_START,
"event",c))}(this.active||this.panningTrigger)&&c.consume()};
mxPanningHandler.prototype.mouseUp=function(b,c){if(this.active){if(null!=this.dx&&null!=this.dy){if(!this.graph.useScrollbarsForPanning||!mxUtils.hasScrollbars(this.graph.container)){var f=this.graph.getView().scale,d=this.graph.getView().translate;this.graph.panGraph(0,0);this.panGraph(d.x+this.dx/f,d.y+this.dy/f)}c.consume()}this.fireEvent(new mxEventObject(mxEvent.PAN_END,"event",c))}this.panningTrigger=!1;this.mouseDownEvent=null;this.active=!1;this.dy=this.dx=null};
mxPanningHandler.prototype.panGraph=function(b,c){this.graph.getView().setTranslate(b,c)};mxPanningHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);this.graph.removeListener(this.forcePanningHandler);this.graph.removeListener(this.gestureHandler)};
function mxPopupMenuHandler(b,c){null!=b&&(this.graph=b,this.factoryMethod=c,this.graph.addMouseListener(this),this.gestureHandler=mxUtils.bind(this,function(b,d){this.inTolerance=!1}),this.graph.addListener(mxEvent.GESTURE,this.gestureHandler),this.init())}mxPopupMenuHandler.prototype=new mxPopupMenu;mxPopupMenuHandler.prototype.constructor=mxPopupMenuHandler;mxPopupMenuHandler.prototype.graph=null;mxPopupMenuHandler.prototype.selectOnPopup=!0;
mxPopupMenuHandler.prototype.clearSelectionOnBackground=!0;mxPopupMenuHandler.prototype.triggerX=null;mxPopupMenuHandler.prototype.triggerY=null;mxPopupMenuHandler.prototype.screenX=null;mxPopupMenuHandler.prototype.screenY=null;mxPopupMenuHandler.prototype.init=function(){mxPopupMenu.prototype.init.apply(this);mxEvent.addGestureListeners(this.div,mxUtils.bind(this,function(b){this.graph.tooltipHandler.hide()}))};mxPopupMenuHandler.prototype.isSelectOnPopup=function(b){return this.selectOnPopup};
mxPopupMenuHandler.prototype.mouseDown=function(b,c){this.isEnabled()&&!mxEvent.isMultiTouchEvent(c.getEvent())&&(this.hideMenu(),this.triggerX=c.getGraphX(),this.triggerY=c.getGraphY(),this.screenX=mxEvent.getMainEvent(c.getEvent()).screenX,this.screenY=mxEvent.getMainEvent(c.getEvent()).screenY,this.popupTrigger=this.isPopupTrigger(c),this.inTolerance=!0)};
mxPopupMenuHandler.prototype.mouseMove=function(b,c){if(this.inTolerance&&null!=this.screenX&&null!=this.screenY&&(Math.abs(mxEvent.getMainEvent(c.getEvent()).screenX-this.screenX)>this.graph.tolerance||Math.abs(mxEvent.getMainEvent(c.getEvent()).screenY-this.screenY)>this.graph.tolerance))this.inTolerance=!1};
mxPopupMenuHandler.prototype.mouseUp=function(b,c){if(this.popupTrigger&&this.inTolerance&&null!=this.triggerX&&null!=this.triggerY){var f=this.getCellForPopupEvent(c);this.graph.isEnabled()&&this.isSelectOnPopup(c)&&null!=f&&!this.graph.isCellSelected(f)?this.graph.setSelectionCell(f):this.clearSelectionOnBackground&&null==f&&this.graph.clearSelection();this.graph.tooltipHandler.hide();var d=mxUtils.getScrollOrigin();this.popup(c.getX()+d.x+1,c.getY()+d.y+1,f,c.getEvent());c.consume()}this.inTolerance=
this.popupTrigger=!1};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(b){return b.getCell()};mxPopupMenuHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);this.graph.removeListener(this.gestureHandler);mxPopupMenu.prototype.destroy.apply(this)};
function mxCellMarker(b,c,f,d){mxEventSource.call(this);null!=b&&(this.graph=b,this.validColor=null!=c?c:mxConstants.DEFAULT_VALID_COLOR,this.invalidColor=null!=c?f:mxConstants.DEFAULT_INVALID_COLOR,this.hotspot=null!=d?d:mxConstants.DEFAULT_HOTSPOT,this.highlight=new mxCellHighlight(b))}mxUtils.extend(mxCellMarker,mxEventSource);mxCellMarker.prototype.graph=null;mxCellMarker.prototype.enabled=!0;mxCellMarker.prototype.hotspot=mxConstants.DEFAULT_HOTSPOT;mxCellMarker.prototype.hotspotEnabled=!1;
mxCellMarker.prototype.validColor=null;mxCellMarker.prototype.invalidColor=null;mxCellMarker.prototype.currentColor=null;mxCellMarker.prototype.validState=null;mxCellMarker.prototype.markedState=null;mxCellMarker.prototype.setEnabled=function(b){this.enabled=b};mxCellMarker.prototype.isEnabled=function(){return this.enabled};mxCellMarker.prototype.setHotspot=function(b){this.hotspot=b};mxCellMarker.prototype.getHotspot=function(){return this.hotspot};
mxCellMarker.prototype.setHotspotEnabled=function(b){this.hotspotEnabled=b};mxCellMarker.prototype.isHotspotEnabled=function(){return this.hotspotEnabled};mxCellMarker.prototype.hasValidState=function(){return null!=this.validState};mxCellMarker.prototype.getValidState=function(){return this.validState};mxCellMarker.prototype.getMarkedState=function(){return this.markedState};mxCellMarker.prototype.reset=function(){this.validState=null;null!=this.markedState&&(this.markedState=null,this.unmark())};
mxCellMarker.prototype.process=function(b){var c=null;this.isEnabled()&&(c=this.getState(b),this.setCurrentState(c,b));return c};mxCellMarker.prototype.setCurrentState=function(b,c,f){var d=null!=b?this.isValidState(b):!1;f=null!=f?f:this.getMarkerColor(c.getEvent(),b,d);this.validState=d?b:null;if(b!=this.markedState||f!=this.currentColor)this.currentColor=f,null!=b&&null!=this.currentColor?(this.markedState=b,this.mark()):null!=this.markedState&&(this.markedState=null,this.unmark())};
mxCellMarker.prototype.markCell=function(b,c){var f=this.graph.getView().getState(b);null!=f&&(this.currentColor=null!=c?c:this.validColor,this.markedState=f,this.mark())};mxCellMarker.prototype.mark=function(){this.highlight.setHighlightColor(this.currentColor);this.highlight.highlight(this.markedState);this.fireEvent(new mxEventObject(mxEvent.MARK,"state",this.markedState))};mxCellMarker.prototype.unmark=function(){this.mark()};mxCellMarker.prototype.isValidState=function(b){return!0};
mxCellMarker.prototype.getMarkerColor=function(b,c,f){return f?this.validColor:this.invalidColor};mxCellMarker.prototype.getState=function(b){var c=this.graph.getView();cell=this.getCell(b);c=this.getStateToMark(c.getState(cell));return null!=c&&this.intersects(c,b)?c:null};mxCellMarker.prototype.getCell=function(b){return b.getCell()};mxCellMarker.prototype.getStateToMark=function(b){return b};
mxCellMarker.prototype.intersects=function(b,c){return this.hotspotEnabled?mxUtils.intersectsHotspot(b,c.getGraphX(),c.getGraphY(),this.hotspot,mxConstants.MIN_HOTSPOT_SIZE,mxConstants.MAX_HOTSPOT_SIZE):!0};mxCellMarker.prototype.destroy=function(){this.graph.getView().removeListener(this.resetHandler);this.graph.getModel().removeListener(this.resetHandler);this.highlight.destroy()};
function mxSelectionCellsHandler(b){mxEventSource.call(this);this.graph=b;this.handlers=new mxDictionary;this.graph.addMouseListener(this);this.refreshHandler=mxUtils.bind(this,function(b,f){this.isEnabled()&&this.refresh()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.refreshHandler);this.graph.getModel().addListener(mxEvent.CHANGE,this.refreshHandler);this.graph.getView().addListener(mxEvent.SCALE,this.refreshHandler);this.graph.getView().addListener(mxEvent.TRANSLATE,this.refreshHandler);
this.graph.getView().addListener(mxEvent.SCALE_AND_TRANSLATE,this.refreshHandler);this.graph.getView().addListener(mxEvent.DOWN,this.refreshHandler);this.graph.getView().addListener(mxEvent.UP,this.refreshHandler)}mxUtils.extend(mxSelectionCellsHandler,mxEventSource);mxSelectionCellsHandler.prototype.graph=null;mxSelectionCellsHandler.prototype.enabled=!0;mxSelectionCellsHandler.prototype.refreshHandler=null;mxSelectionCellsHandler.prototype.maxHandlers=100;
mxSelectionCellsHandler.prototype.handlers=null;mxSelectionCellsHandler.prototype.isEnabled=function(){return this.enabled};mxSelectionCellsHandler.prototype.setEnabled=function(b){this.enabled=b};mxSelectionCellsHandler.prototype.getHandler=function(b){return this.handlers.get(b)};mxSelectionCellsHandler.prototype.reset=function(){this.handlers.visit(function(b,c){c.reset.apply(c)})};
mxSelectionCellsHandler.prototype.refresh=function(){var b=this.handlers;this.handlers=new mxDictionary;for(var c=this.graph.getSelectionCells(),f=0;f<c.length;f++){var d=this.graph.view.getState(c[f]);if(null!=d){var a=b.remove(c[f]);null!=a&&(a.state!=d?(a.destroy(),a=null):(null!=a.refresh&&a.refresh(),a.redraw()));null==a&&(a=this.graph.createHandler(d),this.fireEvent(new mxEventObject(mxEvent.ADD,"state",d)));null!=a&&this.handlers.put(c[f],a)}}b.visit(mxUtils.bind(this,function(a,b){this.fireEvent(new mxEventObject(mxEvent.REMOVE,
"state",b.state));b.destroy()}))};mxSelectionCellsHandler.prototype.updateHandler=function(b){var c=this.handlers.remove(b.cell);null!=c&&(c.destroy(),c=this.graph.createHandler(b),null!=c&&this.handlers.put(b.cell,c))};mxSelectionCellsHandler.prototype.mouseDown=function(b,c){if(this.graph.isEnabled()&&this.isEnabled()){var f=[b,c];this.handlers.visit(function(b,a){a.mouseDown.apply(a,f)})}};
mxSelectionCellsHandler.prototype.mouseMove=function(b,c){if(this.graph.isEnabled()&&this.isEnabled()){var f=[b,c];this.handlers.visit(function(b,a){a.mouseMove.apply(a,f)})}};mxSelectionCellsHandler.prototype.mouseUp=function(b,c){if(this.graph.isEnabled()&&this.isEnabled()){var f=[b,c];this.handlers.visit(function(b,a){a.mouseUp.apply(a,f)})}};
mxSelectionCellsHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);null!=this.refreshHandler&&(this.graph.getSelectionModel().removeListener(this.refreshHandler),this.graph.getModel().removeListener(this.refreshHandler),this.graph.getView().removeListener(this.refreshHandler),this.refreshHandler=null)};
function mxConnectionHandler(b,c){mxEventSource.call(this);null!=b&&(this.graph=b,this.factoryMethod=c,this.init(),this.escapeHandler=mxUtils.bind(this,function(b,d){this.reset()}),this.graph.addListener(mxEvent.ESCAPE,this.escapeHandler))}mxUtils.extend(mxConnectionHandler,mxEventSource);mxConnectionHandler.prototype.graph=null;mxConnectionHandler.prototype.factoryMethod=!0;mxConnectionHandler.prototype.moveIconFront=!1;mxConnectionHandler.prototype.moveIconBack=!1;
mxConnectionHandler.prototype.connectImage=null;mxConnectionHandler.prototype.targetConnectImage=!1;mxConnectionHandler.prototype.enabled=!0;mxConnectionHandler.prototype.select=!0;mxConnectionHandler.prototype.createTarget=!1;mxConnectionHandler.prototype.marker=null;mxConnectionHandler.prototype.constraintHandler=null;mxConnectionHandler.prototype.error=null;mxConnectionHandler.prototype.waypointsEnabled=!1;mxConnectionHandler.prototype.ignoreMouseDown=!1;mxConnectionHandler.prototype.first=null;
mxConnectionHandler.prototype.connectIconOffset=new mxPoint(0,mxConstants.TOOLTIP_VERTICAL_OFFSET);mxConnectionHandler.prototype.edgeState=null;mxConnectionHandler.prototype.changeHandler=null;mxConnectionHandler.prototype.drillHandler=null;mxConnectionHandler.prototype.mouseDownCounter=0;mxConnectionHandler.prototype.movePreviewAway=mxClient.IS_VML;mxConnectionHandler.prototype.outlineConnect=!1;mxConnectionHandler.prototype.livePreview=!1;mxConnectionHandler.prototype.cursor=null;
mxConnectionHandler.prototype.insertBeforeSource=!1;mxConnectionHandler.prototype.isEnabled=function(){return this.enabled};mxConnectionHandler.prototype.setEnabled=function(b){this.enabled=b};mxConnectionHandler.prototype.isInsertBefore=function(b,c,f,d,a){return this.insertBeforeSource&&c!=f};mxConnectionHandler.prototype.isCreateTarget=function(b){return this.createTarget};mxConnectionHandler.prototype.setCreateTarget=function(b){this.createTarget=b};
mxConnectionHandler.prototype.createShape=function(){var b=this.livePreview&&null!=this.edgeState?this.graph.cellRenderer.createShape(this.edgeState):new mxPolyline([],mxConstants.INVALID_COLOR);b.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG;b.scale=this.graph.view.scale;b.pointerEvents=!1;b.isDashed=!0;b.init(this.graph.getView().getOverlayPane());mxEvent.redirectMouseEvents(b.node,this.graph,null);return b};
mxConnectionHandler.prototype.init=function(){this.graph.addMouseListener(this);this.marker=this.createMarker();this.constraintHandler=new mxConstraintHandler(this.graph);this.changeHandler=mxUtils.bind(this,function(b){null!=this.iconState&&(this.iconState=this.graph.getView().getState(this.iconState.cell));null!=this.iconState?(this.redrawIcons(this.icons,this.iconState),this.constraintHandler.reset()):null!=this.previous&&null==this.graph.view.getState(this.previous.cell)&&this.reset()});this.graph.getModel().addListener(mxEvent.CHANGE,
this.changeHandler);this.graph.getView().addListener(mxEvent.SCALE,this.changeHandler);this.graph.getView().addListener(mxEvent.TRANSLATE,this.changeHandler);this.graph.getView().addListener(mxEvent.SCALE_AND_TRANSLATE,this.changeHandler);this.drillHandler=mxUtils.bind(this,function(b){this.reset()});this.graph.addListener(mxEvent.START_EDITING,this.drillHandler);this.graph.getView().addListener(mxEvent.DOWN,this.drillHandler);this.graph.getView().addListener(mxEvent.UP,this.drillHandler)};
mxConnectionHandler.prototype.isConnectableCell=function(b){return!0};
mxConnectionHandler.prototype.createMarker=function(){var b=new mxCellMarker(this.graph);b.hotspotEnabled=!0;b.getCell=mxUtils.bind(this,function(c){var f=mxCellMarker.prototype.getCell.apply(b,arguments);this.error=null;null==f&&null!=this.currentPoint&&(f=this.graph.getCellAt(this.currentPoint.x,this.currentPoint.y));if(null!=f&&!this.graph.isCellConnectable(f)){var d=this.graph.getModel().getParent(f);this.graph.getModel().isVertex(d)&&this.graph.isCellConnectable(d)&&(f=d)}if(this.graph.isSwimlane(f)&&
null!=this.currentPoint&&this.graph.hitsSwimlaneContent(f,this.currentPoint.x,this.currentPoint.y)||!this.isConnectableCell(f))f=null;null!=f?this.isConnecting()?null!=this.previous&&(this.error=this.validateConnection(this.previous.cell,f),null!=this.error&&0==this.error.length&&(f=null,this.isCreateTarget(c.getEvent())&&(this.error=null))):this.isValidSource(f,c)||(f=null):this.isConnecting()&&!this.isCreateTarget(c.getEvent())&&!this.graph.allowDanglingEdges&&(this.error="");return f});b.isValidState=
mxUtils.bind(this,function(c){return this.isConnecting()?null==this.error:mxCellMarker.prototype.isValidState.apply(b,arguments)});b.getMarkerColor=mxUtils.bind(this,function(c,f,d){return null==this.connectImage||this.isConnecting()?mxCellMarker.prototype.getMarkerColor.apply(b,arguments):null});b.intersects=mxUtils.bind(this,function(c,f){return null!=this.connectImage||this.isConnecting()?!0:mxCellMarker.prototype.intersects.apply(b,arguments)});return b};
mxConnectionHandler.prototype.start=function(b,c,f,d){this.previous=b;this.first=new mxPoint(c,f);this.edgeState=null!=d?d:this.createEdgeState(null);this.marker.currentColor=this.marker.validColor;this.marker.markedState=b;this.marker.mark();this.fireEvent(new mxEventObject(mxEvent.START,"state",this.previous))};mxConnectionHandler.prototype.isConnecting=function(){return null!=this.first&&null!=this.shape};mxConnectionHandler.prototype.isValidSource=function(b,c){return this.graph.isValidSource(b)};
mxConnectionHandler.prototype.isValidTarget=function(b){return!0};mxConnectionHandler.prototype.validateConnection=function(b,c){return!this.isValidTarget(c)?"":this.graph.getEdgeValidationError(null,b,c)};mxConnectionHandler.prototype.getConnectImage=function(b){return this.connectImage};mxConnectionHandler.prototype.isMoveIconToFrontForState=function(b){return null!=b.text&&b.text.node.parentNode==this.graph.container?!0:this.moveIconFront};
mxConnectionHandler.prototype.createIcons=function(b){var c=this.getConnectImage(b);if(null!=c&&null!=b){this.iconState=b;var f=[],d=new mxRectangle(0,0,c.width,c.height),a=new mxImageShape(d,c.src,null,null,0);a.preserveImageAspect=!1;this.isMoveIconToFrontForState(b)?(a.dialect=mxConstants.DIALECT_STRICTHTML,a.init(this.graph.container)):(a.dialect=this.graph.dialect==mxConstants.DIALECT_SVG?mxConstants.DIALECT_SVG:mxConstants.DIALECT_VML,a.init(this.graph.getView().getOverlayPane()),this.moveIconBack&&
null!=a.node.previousSibling&&a.node.parentNode.insertBefore(a.node,a.node.parentNode.firstChild));a.node.style.cursor=mxConstants.CURSOR_CONNECT;var e=mxUtils.bind(this,function(){return null!=this.currentState?this.currentState:b}),c=mxUtils.bind(this,function(b){mxEvent.isConsumed(b)||(this.icon=a,this.graph.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b,e())))});mxEvent.redirectMouseEvents(a.node,this.graph,e,c);f.push(a);this.redrawIcons(f,this.iconState);return f}return null};
mxConnectionHandler.prototype.redrawIcons=function(b,c){if(null!=b&&null!=b[0]&&null!=c){var f=this.getIconPosition(b[0],c);b[0].bounds.x=f.x;b[0].bounds.y=f.y;b[0].redraw()}};
mxConnectionHandler.prototype.getIconPosition=function(b,c){var f=this.graph.getView().scale,d=c.getCenterX(),a=c.getCenterY();if(this.graph.isSwimlane(c.cell)){var e=this.graph.getStartSize(c.cell),d=0!=e.width?c.x+e.width*f/2:d,a=0!=e.height?c.y+e.height*f/2:a,e=mxUtils.toRadians(mxUtils.getValue(c.style,mxConstants.STYLE_ROTATION)||0);if(0!=e)var f=Math.cos(e),e=Math.sin(e),g=new mxPoint(c.getCenterX(),c.getCenterY()),a=mxUtils.getRotatedPoint(new mxPoint(d,a),f,e,g),d=a.x,a=a.y}return new mxPoint(d-
b.bounds.width/2,a-b.bounds.height/2)};mxConnectionHandler.prototype.destroyIcons=function(){if(null!=this.icons){for(var b=0;b<this.icons.length;b++)this.icons[b].destroy();this.iconState=this.selectedIcon=this.icon=this.icons=null}};mxConnectionHandler.prototype.isStartEvent=function(b){return null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentConstraint||null!=this.previous&&null==this.error&&(null==this.icons||null!=this.icons&&null!=this.icon)};
mxConnectionHandler.prototype.mouseDown=function(b,c){this.mouseDownCounter++;if(this.isEnabled()&&this.graph.isEnabled()&&!c.isConsumed()&&!this.isConnecting()&&this.isStartEvent(c)){null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentPoint?(this.sourceConstraint=this.constraintHandler.currentConstraint,this.previous=this.constraintHandler.currentFocus,this.first=this.constraintHandler.currentPoint.clone()):this.first=new mxPoint(c.getGraphX(),
c.getGraphY());this.edgeState=this.createEdgeState(c);this.mouseDownCounter=1;this.waypointsEnabled&&null==this.shape&&(this.waypoints=null,this.shape=this.createShape(),null!=this.edgeState&&this.shape.apply(this.edgeState));if(null==this.previous&&null!=this.edgeState){var f=this.graph.getPointForEvent(c.getEvent());this.edgeState.cell.geometry.setTerminalPoint(f,!0)}this.fireEvent(new mxEventObject(mxEvent.START,"state",this.previous));c.consume()}this.selectedIcon=this.icon;this.icon=null};
mxConnectionHandler.prototype.isImmediateConnectSource=function(b){return!this.graph.isCellMovable(b.cell)};mxConnectionHandler.prototype.createEdgeState=function(b){return null};
mxConnectionHandler.prototype.isOutlineConnectEvent=function(b){var c=mxUtils.getOffset(this.graph.container),f=b.getEvent(),d=mxEvent.getClientX(f),f=mxEvent.getClientY(f),a=document.documentElement,e=this.currentPoint.x-this.graph.container.scrollLeft+c.x-((window.pageXOffset||a.scrollLeft)-(a.clientLeft||0)),c=this.currentPoint.y-this.graph.container.scrollTop+c.y-((window.pageYOffset||a.scrollTop)-(a.clientTop||0));return this.outlineConnect&&!mxEvent.isShiftDown(b.getEvent())&&(b.isSource(this.marker.highlight.shape)||
mxEvent.isAltDown(b.getEvent())&&null!=b.getState()||this.marker.highlight.isHighlightAt(d,f)||(e!=d||c!=f)&&null==b.getState()&&this.marker.highlight.isHighlightAt(e,c))};
mxConnectionHandler.prototype.updateCurrentState=function(b,c){this.constraintHandler.update(b,null==this.first,!1,null==this.first||b.isSource(this.marker.highlight.shape)?null:c);if(null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentConstraint)null!=this.marker.highlight&&null!=this.marker.highlight.state&&this.marker.highlight.state.cell==this.constraintHandler.currentFocus.cell?"transparent"!=this.marker.highlight.shape.stroke&&(this.marker.highlight.shape.stroke="transparent",
this.marker.highlight.repaint()):this.marker.markCell(this.constraintHandler.currentFocus.cell,"transparent"),null!=this.previous&&(this.error=this.validateConnection(this.previous.cell,this.constraintHandler.currentFocus.cell),null==this.error?this.currentState=this.constraintHandler.currentFocus:this.constraintHandler.reset());else{this.graph.isIgnoreTerminalEvent(b.getEvent())?(this.marker.reset(),this.currentState=null):(this.marker.process(b),this.currentState=this.marker.getValidState());var f=
this.isOutlineConnectEvent(b);null!=this.currentState&&f&&(b.isSource(this.marker.highlight.shape)&&(c=new mxPoint(b.getGraphX(),b.getGraphY())),f=this.graph.getOutlineConstraint(c,this.currentState,b),this.constraintHandler.setFocus(b,this.currentState,!1),this.constraintHandler.currentConstraint=f,this.constraintHandler.currentPoint=c);this.outlineConnect&&null!=this.marker.highlight&&null!=this.marker.highlight.shape&&(f=this.graph.view.scale,null!=this.constraintHandler.currentConstraint&&null!=
this.constraintHandler.currentFocus?(this.marker.highlight.shape.stroke=mxConstants.OUTLINE_HIGHLIGHT_COLOR,this.marker.highlight.shape.strokewidth=mxConstants.OUTLINE_HIGHLIGHT_STROKEWIDTH/f/f,this.marker.highlight.repaint()):this.marker.hasValidState()&&(this.marker.getValidState()!=b.getState()?(this.marker.highlight.shape.stroke="transparent",this.currentState=null):this.marker.highlight.shape.stroke=mxConstants.DEFAULT_VALID_COLOR,this.marker.highlight.shape.strokewidth=mxConstants.HIGHLIGHT_STROKEWIDTH/
f/f,this.marker.highlight.repaint()))}};mxConnectionHandler.prototype.convertWaypoint=function(b){var c=this.graph.getView().getScale(),f=this.graph.getView().getTranslate();b.x=b.x/c-f.x;b.y=b.y/c-f.y};
mxConnectionHandler.prototype.snapToPreview=function(b,c){if(!mxEvent.isAltDown(b.getEvent())&&null!=this.previous){var f=this.graph.gridSize*this.graph.view.scale/2,d=null!=this.sourceConstraint?this.first:new mxPoint(this.previous.getCenterX(),this.previous.getCenterY());Math.abs(d.x-b.getGraphX())<f&&(c.x=d.x);Math.abs(d.y-b.getGraphY())<f&&(c.y=d.y)}};
mxConnectionHandler.prototype.mouseMove=function(b,c){if(!c.isConsumed()&&(this.ignoreMouseDown||null!=this.first||!this.graph.isMouseDown)){!this.isEnabled()&&null!=this.currentState&&(this.destroyIcons(),this.currentState=null);var f=this.graph.getView(),d=f.scale,a=f.translate,f=new mxPoint(c.getGraphX(),c.getGraphY());this.error=null;this.graph.isGridEnabledEvent(c.getEvent())&&(f=new mxPoint((this.graph.snap(f.x/d-a.x)+a.x)*d,(this.graph.snap(f.y/d-a.y)+a.y)*d));this.snapToPreview(c,f);this.currentPoint=
f;(null!=this.first||this.isEnabled()&&this.graph.isEnabled())&&this.updateCurrentState(c,f);if(null!=this.first){var e=null,d=f;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentPoint?(e=this.constraintHandler.currentConstraint,d=this.constraintHandler.currentPoint.clone()):null!=this.previous&&!this.graph.isIgnoreTerminalEvent(c.getEvent())&&mxEvent.isShiftDown(c.getEvent())&&(Math.abs(this.previous.getCenterX()-f.x)<Math.abs(this.previous.getCenterY()-
f.y)?f.x=this.previous.getCenterX():f.y=this.previous.getCenterY());a=this.first;if(null!=this.selectedIcon){var g=this.selectedIcon.bounds.width,k=this.selectedIcon.bounds.height;null!=this.currentState&&this.targetConnectImage?(g=this.getIconPosition(this.selectedIcon,this.currentState),this.selectedIcon.bounds.x=g.x,this.selectedIcon.bounds.y=g.y):(g=new mxRectangle(c.getGraphX()+this.connectIconOffset.x,c.getGraphY()+this.connectIconOffset.y,g,k),this.selectedIcon.bounds=g);this.selectedIcon.redraw()}null!=
this.edgeState?(this.updateEdgeState(d,e),d=this.edgeState.absolutePoints[this.edgeState.absolutePoints.length-1],a=this.edgeState.absolutePoints[0]):(null!=this.currentState&&null==this.constraintHandler.currentConstraint&&(g=this.getTargetPerimeterPoint(this.currentState,c),null!=g&&(d=g)),null==this.sourceConstraint&&null!=this.previous&&(g=this.getSourcePerimeterPoint(this.previous,null!=this.waypoints&&0<this.waypoints.length?this.waypoints[0]:d,c),null!=g&&(a=g)));if(null==this.currentState&&
this.movePreviewAway){g=a;null!=this.edgeState&&2<=this.edgeState.absolutePoints.length&&(e=this.edgeState.absolutePoints[this.edgeState.absolutePoints.length-2],null!=e&&(g=e));e=d.x-g.x;g=d.y-g.y;k=Math.sqrt(e*e+g*g);if(0==k)return;this.originalPoint=d.clone();d.x-=4*e/k;d.y-=4*g/k}else this.originalPoint=null;if(null==this.shape&&(e=Math.abs(f.x-this.first.x),g=Math.abs(f.y-this.first.y),e>this.graph.tolerance||g>this.graph.tolerance))this.shape=this.createShape(),null!=this.edgeState&&this.shape.apply(this.edgeState),
this.updateCurrentState(c,f);null!=this.shape&&(null!=this.edgeState?this.shape.points=this.edgeState.absolutePoints:(f=[a],null!=this.waypoints&&(f=f.concat(this.waypoints)),f.push(d),this.shape.points=f),this.drawPreview());null!=this.cursor&&(this.graph.container.style.cursor=this.cursor);mxEvent.consume(c.getEvent());c.consume()}else!this.isEnabled()||!this.graph.isEnabled()?this.constraintHandler.reset():this.previous!=this.currentState&&null==this.edgeState?(this.destroyIcons(),null!=this.currentState&&
null==this.error&&null==this.constraintHandler.currentConstraint&&(this.icons=this.createIcons(this.currentState),null==this.icons&&(this.currentState.setCursor(mxConstants.CURSOR_CONNECT),c.consume())),this.previous=this.currentState):this.previous==this.currentState&&null!=this.currentState&&null==this.icons&&!this.graph.isMouseDown&&c.consume();if(!this.graph.isMouseDown&&null!=this.currentState&&null!=this.icons){f=!1;d=c.getSource();for(a=0;a<this.icons.length&&!f;a++)f=d==this.icons[a].node||
d.parentNode==this.icons[a].node;f||this.updateIcons(this.currentState,this.icons,c)}}else this.constraintHandler.reset()};
mxConnectionHandler.prototype.updateEdgeState=function(b,c){null!=this.sourceConstraint&&null!=this.sourceConstraint.point&&(this.edgeState.style[mxConstants.STYLE_EXIT_X]=this.sourceConstraint.point.x,this.edgeState.style[mxConstants.STYLE_EXIT_Y]=this.sourceConstraint.point.y);null!=c&&null!=c.point?(this.edgeState.style[mxConstants.STYLE_ENTRY_X]=c.point.x,this.edgeState.style[mxConstants.STYLE_ENTRY_Y]=c.point.y):(delete this.edgeState.style[mxConstants.STYLE_ENTRY_X],delete this.edgeState.style[mxConstants.STYLE_ENTRY_Y]);
this.edgeState.absolutePoints=[null,null!=this.currentState?null:b];this.graph.view.updateFixedTerminalPoint(this.edgeState,this.previous,!0,this.sourceConstraint);null!=this.currentState&&(null==c&&(c=this.graph.getConnectionConstraint(this.edgeState,this.previous,!1)),this.edgeState.setAbsoluteTerminalPoint(null,!1),this.graph.view.updateFixedTerminalPoint(this.edgeState,this.currentState,!1,c));var f=null;if(null!=this.waypoints)for(var f=[],d=0;d<this.waypoints.length;d++){var a=this.waypoints[d].clone();
this.convertWaypoint(a);f[d]=a}this.graph.view.updatePoints(this.edgeState,f,this.previous,this.currentState);this.graph.view.updateFloatingTerminalPoints(this.edgeState,this.previous,this.currentState)};
mxConnectionHandler.prototype.getTargetPerimeterPoint=function(b,c){var f=null,d=b.view,a=d.getPerimeterFunction(b);if(null!=a){var e=null!=this.waypoints&&0<this.waypoints.length?this.waypoints[this.waypoints.length-1]:new mxPoint(this.previous.getCenterX(),this.previous.getCenterY()),d=a(d.getPerimeterBounds(b),this.edgeState,e,!1);null!=d&&(f=d)}else f=new mxPoint(b.getCenterX(),b.getCenterY());return f};
mxConnectionHandler.prototype.getSourcePerimeterPoint=function(b,c,f){f=null;var d=b.view,a=d.getPerimeterFunction(b),e=new mxPoint(b.getCenterX(),b.getCenterY());if(null!=a){var g=mxUtils.getValue(b.style,mxConstants.STYLE_ROTATION,0),k=-g*(Math.PI/180);0!=g&&(c=mxUtils.getRotatedPoint(new mxPoint(c.x,c.y),Math.cos(k),Math.sin(k),e));b=a(d.getPerimeterBounds(b),b,c,!1);null!=b&&(0!=g&&(b=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(-k),Math.sin(-k),e)),f=b)}else f=e;return f};
mxConnectionHandler.prototype.updateIcons=function(b,c,f){};mxConnectionHandler.prototype.isStopEvent=function(b){return null!=b.getState()};
mxConnectionHandler.prototype.addWaypointForEvent=function(b){var c=mxUtils.convertPoint(this.graph.container,b.getX(),b.getY()),f=Math.abs(c.x-this.first.x),c=Math.abs(c.y-this.first.y);if(null!=this.waypoints||1<this.mouseDownCounter&&(f>this.graph.tolerance||c>this.graph.tolerance))null==this.waypoints&&(this.waypoints=[]),f=this.graph.view.scale,c=new mxPoint(this.graph.snap(b.getGraphX()/f)*f,this.graph.snap(b.getGraphY()/f)*f),this.waypoints.push(c)};
mxConnectionHandler.prototype.mouseUp=function(b,c){if(!c.isConsumed()&&this.isConnecting()){if(this.waypointsEnabled&&!this.isStopEvent(c)){this.addWaypointForEvent(c);c.consume();return}if(null==this.error){var f=null!=this.previous?this.previous.cell:null,d=null;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&(d=this.constraintHandler.currentFocus.cell);null==d&&null!=this.currentState&&(d=this.currentState.cell);this.connect(f,d,c.getEvent(),c.getCell())}else null!=
this.previous&&null!=this.marker.validState&&this.previous.cell==this.marker.validState.cell&&this.graph.selectCellForEvent(this.marker.source,evt),0<this.error.length&&this.graph.validationAlert(this.error);this.destroyIcons();c.consume()}null!=this.first&&this.reset()};
mxConnectionHandler.prototype.reset=function(){null!=this.shape&&(this.shape.destroy(),this.shape=null);null!=this.cursor&&null!=this.graph.container&&(this.graph.container.style.cursor="");this.destroyIcons();this.marker.reset();this.constraintHandler.reset();this.sourceConstraint=this.error=this.previous=this.edgeState=this.currentPoint=this.originalPoint=null;this.mouseDownCounter=0;this.first=null;this.fireEvent(new mxEventObject(mxEvent.RESET))};
mxConnectionHandler.prototype.drawPreview=function(){this.updatePreview(null==this.error);this.shape.redraw()};mxConnectionHandler.prototype.updatePreview=function(b){this.shape.strokewidth=this.getEdgeWidth(b);this.shape.stroke=this.getEdgeColor(b)};mxConnectionHandler.prototype.getEdgeColor=function(b){return b?mxConstants.VALID_COLOR:mxConstants.INVALID_COLOR};mxConnectionHandler.prototype.getEdgeWidth=function(b){return b?3:1};
mxConnectionHandler.prototype.connect=function(b,c,f,d){if(null!=c||this.isCreateTarget(f)||this.graph.allowDanglingEdges){var a=this.graph.getModel(),e=!1,g=null;a.beginUpdate();try{if(null!=b&&null==c&&!this.graph.isIgnoreTerminalEvent(f)&&this.isCreateTarget(f)&&(c=this.createTargetVertex(f,b),null!=c)){d=this.graph.getDropTarget([c],f,d);e=!0;if(null==d||!this.graph.getModel().isEdge(d)){var k=this.graph.getView().getState(d);if(null!=k){var l=a.getGeometry(c);l.x-=k.origin.x;l.y-=k.origin.y}}else d=
this.graph.getDefaultParent();this.graph.addCell(c,d)}var m=this.graph.getDefaultParent();null!=b&&null!=c&&a.getParent(b)==a.getParent(c)&&a.getParent(a.getParent(b))!=a.getRoot()&&(m=a.getParent(b),null!=b.geometry&&b.geometry.relative&&null!=c.geometry&&c.geometry.relative&&(m=a.getParent(m)));var n=k=null;null!=this.edgeState&&(k=this.edgeState.cell.value,n=this.edgeState.cell.style);g=this.insertEdge(m,null,k,b,c,n);if(null!=g){this.graph.setConnectionConstraint(g,b,!0,this.sourceConstraint);
this.graph.setConnectionConstraint(g,c,!1,this.constraintHandler.currentConstraint);null!=this.edgeState&&a.setGeometry(g,this.edgeState.cell.geometry);a.getParent(b);if(this.isInsertBefore(g,b,c,f,d)){m=null;for(l=b;null!=l.parent&&null!=l.geometry&&l.geometry.relative&&l.parent!=g.parent;)l=this.graph.model.getParent(l);null!=l&&null!=l.parent&&l.parent==g.parent&&(m=l.parent.getIndex(l),l.parent.insert(g,m))}var p=a.getGeometry(g);null==p&&(p=new mxGeometry,p.relative=!0,a.setGeometry(g,p));if(null!=
this.waypoints&&0<this.waypoints.length){var r=this.graph.view.scale,s=this.graph.view.translate;p.points=[];for(b=0;b<this.waypoints.length;b++){var q=this.waypoints[b];p.points.push(new mxPoint(q.x/r-s.x,q.y/r-s.y))}}if(null==c){var t=this.graph.view.translate,r=this.graph.view.scale,q=null!=this.originalPoint?new mxPoint(this.originalPoint.x/r-t.x,this.originalPoint.y/r-t.y):new mxPoint(this.currentPoint.x/r-t.x,this.currentPoint.y/r-t.y);q.x-=this.graph.panDx/this.graph.view.scale;q.y-=this.graph.panDy/
this.graph.view.scale;p.setTerminalPoint(q,!1)}this.fireEvent(new mxEventObject(mxEvent.CONNECT,"cell",g,"terminal",c,"event",f,"target",d,"terminalInserted",e))}}catch(u){mxLog.show(),mxLog.debug(u.message)}finally{a.endUpdate()}this.select&&this.selectCells(g,e?c:null)}};mxConnectionHandler.prototype.selectCells=function(b,c){this.graph.setSelectionCell(b)};
mxConnectionHandler.prototype.insertEdge=function(b,c,f,d,a,e){if(null==this.factoryMethod)return this.graph.insertEdge(b,c,f,d,a,e);c=this.createEdge(f,d,a,e);return this.graph.addEdge(c,b,d,a)};
mxConnectionHandler.prototype.createTargetVertex=function(b,c){for(var f=this.graph.getCellGeometry(c);null!=f&&f.relative;)c=this.graph.getModel().getParent(c),f=this.graph.getCellGeometry(c);var d=this.graph.cloneCells([c])[0],f=this.graph.getModel().getGeometry(d);if(null!=f){var a=this.graph.view.translate,e=this.graph.view.scale,g=new mxPoint(this.currentPoint.x/e-a.x,this.currentPoint.y/e-a.y);f.x=Math.round(g.x-f.width/2-this.graph.panDx/e);f.y=Math.round(g.y-f.height/2-this.graph.panDy/e);
g=this.getAlignmentTolerance();if(0<g){var k=this.graph.view.getState(c);if(null!=k){var l=k.x/e-a.x,a=k.y/e-a.y;Math.abs(l-f.x)<=g&&(f.x=Math.round(l));Math.abs(a-f.y)<=g&&(f.y=Math.round(a))}}}return d};mxConnectionHandler.prototype.getAlignmentTolerance=function(b){return this.graph.isGridEnabled()?this.graph.gridSize/2:this.graph.tolerance};
mxConnectionHandler.prototype.createEdge=function(b,c,f,d){var a=null;null!=this.factoryMethod&&(a=this.factoryMethod(c,f,d));null==a&&(a=new mxCell(b||""),a.setEdge(!0),a.setStyle(d),b=new mxGeometry,b.relative=!0,a.setGeometry(b));return a};
mxConnectionHandler.prototype.destroy=function(){this.graph.removeMouseListener(this);null!=this.shape&&(this.shape.destroy(),this.shape=null);null!=this.marker&&(this.marker.destroy(),this.marker=null);null!=this.constraintHandler&&(this.constraintHandler.destroy(),this.constraintHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.graph.getView().removeListener(this.changeHandler),this.changeHandler=null);null!=this.drillHandler&&(this.graph.removeListener(this.drillHandler),
this.graph.getView().removeListener(this.drillHandler),this.drillHandler=null);null!=this.escapeHandler&&(this.graph.removeListener(this.escapeHandler),this.escapeHandler=null)};
function mxConstraintHandler(b){this.graph=b;this.resetHandler=mxUtils.bind(this,function(b,f){null!=this.currentFocus&&null==this.graph.view.getState(this.currentFocus.cell)&&this.reset()});this.graph.model.addListener(mxEvent.CHANGE,this.resetHandler);this.graph.view.addListener(mxEvent.SCALE,this.resetHandler);this.graph.addListener(mxEvent.ROOT,this.resetHandler)}mxConstraintHandler.prototype.pointImage=new mxImage(mxClient.imageBasePath+"/point.gif",5,5);mxConstraintHandler.prototype.graph=null;
mxConstraintHandler.prototype.enabled=!0;mxConstraintHandler.prototype.highlightColor=mxConstants.DEFAULT_VALID_COLOR;mxConstraintHandler.prototype.isEnabled=function(){return this.enabled};mxConstraintHandler.prototype.setEnabled=function(b){this.enabled=b};
mxConstraintHandler.prototype.reset=function(){if(null!=this.focusIcons){for(var b=0;b<this.focusIcons.length;b++)this.focusIcons[b].destroy();this.focusIcons=null}null!=this.focusHighlight&&(this.focusHighlight.destroy(),this.focusHighlight=null);this.focusPoints=this.currentFocus=this.currentPoint=this.currentFocusArea=this.currentConstraint=null};mxConstraintHandler.prototype.getTolerance=function(b){return this.graph.getTolerance()};
mxConstraintHandler.prototype.getImageForConstraint=function(b,c,f){return this.pointImage};mxConstraintHandler.prototype.isEventIgnored=function(b,c){return!1};mxConstraintHandler.prototype.isStateIgnored=function(b,c){return!1};mxConstraintHandler.prototype.destroyIcons=function(){if(null!=this.focusIcons){for(var b=0;b<this.focusIcons.length;b++)this.focusIcons[b].destroy();this.focusPoints=this.focusIcons=null}};
mxConstraintHandler.prototype.destroyFocusHighlight=function(){null!=this.focusHighlight&&(this.focusHighlight.destroy(),this.focusHighlight=null)};mxConstraintHandler.prototype.isKeepFocusEvent=function(b){return mxEvent.isShiftDown(b.getEvent())};
mxConstraintHandler.prototype.getCellForEvent=function(b,c){var f=b.getCell();if(null==f&&null!=c&&(b.getGraphX()!=c.x||b.getGraphY()!=c.y))f=this.graph.getCellAt(c.x,c.y);if(null!=f&&!this.graph.isCellConnectable(f)){var d=this.graph.getModel().getParent(f);this.graph.getModel().isVertex(d)&&this.graph.isCellConnectable(d)&&(f=d)}return f};
mxConstraintHandler.prototype.update=function(b,c,f,d){if(this.isEnabled()&&!this.isEventIgnored(b)){null==this.mouseleaveHandler&&null!=this.graph.container&&(this.mouseleaveHandler=mxUtils.bind(this,function(){this.reset()}),mxEvent.addListener(this.graph.container,"mouseleave",this.resetHandler));var a=this.getTolerance(b),e=null!=d?d.x:b.getGraphX(),g=null!=d?d.y:b.getGraphY(),e=new mxRectangle(e-a,g-a,2*a,2*a),a=new mxRectangle(b.getGraphX()-a,b.getGraphY()-a,2*a,2*a),k=this.graph.view.getState(this.getCellForEvent(b,
d));if(!this.isKeepFocusEvent(b)&&(null==this.currentFocusArea||null==this.currentFocus||null!=k||!this.graph.getModel().isVertex(this.currentFocus.cell)||!mxUtils.intersects(this.currentFocusArea,a))&&k!=this.currentFocus)this.currentFocus=this.currentFocusArea=null,this.setFocus(b,k,c);b=this.currentPoint=this.currentConstraint=null;if(null!=this.focusIcons&&null!=this.constraints&&(null==k||this.currentFocus==k))for(var g=a.getCenterX(),l=a.getCenterY(),m=0;m<this.focusIcons.length;m++){var n=
g-this.focusIcons[m].bounds.getCenterX(),p=l-this.focusIcons[m].bounds.getCenterY(),n=n*n+p*p;if((this.intersects(this.focusIcons[m],a,c,f)||null!=d&&this.intersects(this.focusIcons[m],e,c,f))&&(null==b||n<b)){this.currentConstraint=this.constraints[m];this.currentPoint=this.focusPoints[m];b=n;n=this.focusIcons[m].bounds.clone();n.grow(mxConstants.HIGHLIGHT_SIZE);mxClient.IS_IE&&(n.grow(1),n.width-=1,n.height-=1);if(null==this.focusHighlight){p=this.createHighlightShape();p.dialect=this.graph.dialect==
mxConstants.DIALECT_SVG?mxConstants.DIALECT_SVG:mxConstants.DIALECT_VML;p.pointerEvents=!1;p.init(this.graph.getView().getOverlayPane());this.focusHighlight=p;var r=mxUtils.bind(this,function(){return null!=this.currentFocus?this.currentFocus:k});mxEvent.redirectMouseEvents(p.node,this.graph,r)}this.focusHighlight.bounds=n;this.focusHighlight.redraw()}}null==this.currentConstraint&&this.destroyFocusHighlight()}else this.currentPoint=this.currentFocus=this.currentConstraint=null};
mxConstraintHandler.prototype.setFocus=function(b,c,f){this.constraints=null!=c&&!this.isStateIgnored(c,f)&&this.graph.isCellConnectable(c.cell)?this.isEnabled()?this.graph.getAllConnectionConstraints(c,f)||[]:[]:null;if(null!=this.constraints){this.currentFocus=c;this.currentFocusArea=new mxRectangle(c.x,c.y,c.width,c.height);if(null!=this.focusIcons){for(f=0;f<this.focusIcons.length;f++)this.focusIcons[f].destroy();this.focusPoints=this.focusIcons=null}this.focusPoints=[];this.focusIcons=[];for(f=
0;f<this.constraints.length;f++){var d=this.graph.getConnectionPoint(c,this.constraints[f]),a=this.getImageForConstraint(c,this.constraints[f],d),e=a.src,a=new mxRectangle(Math.round(d.x-a.width/2),Math.round(d.y-a.height/2),a.width,a.height),e=new mxImageShape(a,e);e.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;e.preserveImageAspect=!1;e.init(this.graph.getView().getDecoratorPane());(mxClient.IS_QUIRKS||8==document.documentMode)&&mxEvent.addListener(e.node,
"dragstart",function(a){mxEvent.consume(a);return!1});null!=e.node.previousSibling&&e.node.parentNode.insertBefore(e.node,e.node.parentNode.firstChild);a=mxUtils.bind(this,function(){return null!=this.currentFocus?this.currentFocus:c});e.redraw();mxEvent.redirectMouseEvents(e.node,this.graph,a);this.currentFocusArea.add(e.bounds);this.focusIcons.push(e);this.focusPoints.push(d)}this.currentFocusArea.grow(this.getTolerance(b))}else this.destroyIcons(),this.destroyFocusHighlight()};
mxConstraintHandler.prototype.createHighlightShape=function(){var b=new mxRectangleShape(null,this.highlightColor,this.highlightColor,mxConstants.HIGHLIGHT_STROKEWIDTH);b.opacity=mxConstants.HIGHLIGHT_OPACITY;return b};mxConstraintHandler.prototype.intersects=function(b,c,f,d){return mxUtils.intersects(b.bounds,c)};
mxConstraintHandler.prototype.destroy=function(){this.reset();null!=this.resetHandler&&(this.graph.model.removeListener(this.resetHandler),this.graph.view.removeListener(this.resetHandler),this.graph.removeListener(this.resetHandler),this.resetHandler=null);null!=this.mouseleaveHandler&&null!=this.graph.container&&(mxEvent.removeListener(this.graph.container,"mouseleave",this.mouseleaveHandler),this.mouseleaveHandler=null)};
function mxRubberband(b){null!=b&&(this.graph=b,this.graph.addMouseListener(this),this.forceRubberbandHandler=mxUtils.bind(this,function(b,f){var d=f.getProperty("eventName"),a=f.getProperty("event");if(d==mxEvent.MOUSE_DOWN&&this.isForceRubberbandEvent(a)){var d=mxUtils.getOffset(this.graph.container),e=mxUtils.getScrollOrigin(this.graph.container);e.x-=d.x;e.y-=d.y;this.start(a.getX()+e.x,a.getY()+e.y);a.consume(!1)}}),this.graph.addListener(mxEvent.FIRE_MOUSE_EVENT,this.forceRubberbandHandler),
this.panHandler=mxUtils.bind(this,function(){this.repaint()}),this.graph.addListener(mxEvent.PAN,this.panHandler),this.gestureHandler=mxUtils.bind(this,function(b,f){null!=this.first&&this.reset()}),this.graph.addListener(mxEvent.GESTURE,this.gestureHandler),mxClient.IS_IE&&mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()})))}mxRubberband.prototype.defaultOpacity=20;mxRubberband.prototype.enabled=!0;mxRubberband.prototype.div=null;mxRubberband.prototype.sharedDiv=null;
mxRubberband.prototype.currentX=0;mxRubberband.prototype.currentY=0;mxRubberband.prototype.isEnabled=function(){return this.enabled};mxRubberband.prototype.setEnabled=function(b){this.enabled=b};mxRubberband.prototype.isForceRubberbandEvent=function(b){return mxEvent.isAltDown(b.getEvent())};
mxRubberband.prototype.mouseDown=function(b,c){if(!c.isConsumed()&&this.isEnabled()&&this.graph.isEnabled()&&null==c.getState()&&!mxEvent.isMultiTouchEvent(c.getEvent())){var f=mxUtils.getOffset(this.graph.container),d=mxUtils.getScrollOrigin(this.graph.container);d.x-=f.x;d.y-=f.y;this.start(c.getX()+d.x,c.getY()+d.y);c.consume(!1)}};
mxRubberband.prototype.start=function(b,c){function f(a){a=new mxMouseEvent(a);var b=mxUtils.convertPoint(d,a.getX(),a.getY());a.graphX=b.x;a.graphY=b.y;return a}this.first=new mxPoint(b,c);var d=this.graph.container;this.dragHandler=mxUtils.bind(this,function(a){this.mouseMove(this.graph,f(a))});this.dropHandler=mxUtils.bind(this,function(a){this.mouseUp(this.graph,f(a))});mxClient.IS_FF&&mxEvent.addGestureListeners(document,null,this.dragHandler,this.dropHandler)};
mxRubberband.prototype.mouseMove=function(b,c){if(!c.isConsumed()&&null!=this.first){var f=mxUtils.getScrollOrigin(this.graph.container),d=mxUtils.getOffset(this.graph.container);f.x-=d.x;f.y-=d.y;var d=c.getX()+f.x,f=c.getY()+f.y,a=this.first.x-d,e=this.first.y-f,g=this.graph.tolerance;if(null!=this.div||Math.abs(a)>g||Math.abs(e)>g)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(d,f),c.consume()}};
mxRubberband.prototype.createShape=function(){null==this.sharedDiv&&(this.sharedDiv=document.createElement("div"),this.sharedDiv.className="mxRubberband",mxUtils.setOpacity(this.sharedDiv,this.defaultOpacity));this.graph.container.appendChild(this.sharedDiv);return this.sharedDiv};mxRubberband.prototype.mouseUp=function(b,c){var f=null!=this.div&&"none"!=this.div.style.display;this.reset();f&&(f=new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(f,c.getEvent()),c.consume())};
mxRubberband.prototype.reset=function(){null!=this.div&&this.div.parentNode.removeChild(this.div);mxEvent.removeGestureListeners(document,null,this.dragHandler,this.dropHandler);this.dropHandler=this.dragHandler=null;this.currentY=this.currentX=0;this.div=this.first=null};mxRubberband.prototype.update=function(b,c){this.currentX=b;this.currentY=c;this.repaint()};
mxRubberband.prototype.repaint=function(){if(null!=this.div){var b=this.currentX-this.graph.panDx,c=this.currentY-this.graph.panDy;this.x=Math.min(this.first.x,b);this.y=Math.min(this.first.y,c);this.width=Math.max(this.first.x,b)-this.x;this.height=Math.max(this.first.y,c)-this.y;b=mxClient.IS_VML?this.graph.panDy:0;this.div.style.left=this.x+(mxClient.IS_VML?this.graph.panDx:0)+"px";this.div.style.top=this.y+b+"px";this.div.style.width=Math.max(1,this.width)+"px";this.div.style.height=Math.max(1,
this.height)+"px"}};mxRubberband.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,this.graph.removeMouseListener(this),this.graph.removeListener(this.forceRubberbandHandler),this.graph.removeListener(this.panHandler),this.reset(),null!=this.sharedDiv&&(this.sharedDiv=null))};function mxHandle(b,c,f){this.graph=b.view.graph;this.state=b;this.cursor=null!=c?c:this.cursor;this.image=null!=f?f:this.image;this.init()}mxHandle.prototype.cursor="default";mxHandle.prototype.image=null;
mxHandle.prototype.ignoreGrid=!1;mxHandle.prototype.getPosition=function(b){};mxHandle.prototype.setPosition=function(b,c,f){};mxHandle.prototype.execute=function(){};mxHandle.prototype.copyStyle=function(b){this.graph.setCellStyles(b,this.state.style[b],[this.state.cell])};
mxHandle.prototype.processEvent=function(b){var c=this.graph.view.scale,f=this.graph.view.translate,f=new mxPoint(b.getGraphX()/c-f.x,b.getGraphY()/c-f.y);null!=this.shape&&null!=this.shape.bounds&&(f.x-=this.shape.bounds.width/c/4,f.y-=this.shape.bounds.height/c/4);var c=-mxUtils.toRadians(this.getRotation()),d=-mxUtils.toRadians(this.getTotalRotation())-c,f=this.flipPoint(this.rotatePoint(this.snapPoint(this.rotatePoint(f,c),this.ignoreGrid||!this.graph.isGridEnabledEvent(b.getEvent())),d));this.setPosition(this.state.getPaintBounds(),
f,b);this.positionChanged();this.redraw()};mxHandle.prototype.positionChanged=function(){null!=this.state.text&&this.state.text.apply(this.state);null!=this.state.shape&&this.state.shape.apply(this.state);this.graph.cellRenderer.redraw(this.state,!0)};mxHandle.prototype.getRotation=function(){return null!=this.state.shape?this.state.shape.getRotation():0};mxHandle.prototype.getTotalRotation=function(){return null!=this.state.shape?this.state.shape.getShapeRotation():0};
mxHandle.prototype.init=function(){var b=this.isHtmlRequired();null!=this.image?(this.shape=new mxImageShape(new mxRectangle(0,0,this.image.width,this.image.height),this.image.src),this.shape.preserveImageAspect=!1):this.shape=this.createShape(b);this.initShape(b)};mxHandle.prototype.createShape=function(b){b=new mxRectangle(0,0,mxConstants.HANDLE_SIZE,mxConstants.HANDLE_SIZE);return new mxRectangleShape(b,mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};
mxHandle.prototype.initShape=function(b){b&&this.shape.isHtmlAllowed()?(this.shape.dialect=mxConstants.DIALECT_STRICTHTML,this.shape.init(this.graph.container)):(this.shape.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG,null!=this.cursor&&this.shape.init(this.graph.getView().getOverlayPane()));mxEvent.redirectMouseEvents(this.shape.node,this.graph,this.state);this.shape.node.style.cursor=this.cursor};
mxHandle.prototype.redraw=function(){if(null!=this.shape&&null!=this.state.shape){var b=this.getPosition(this.state.getPaintBounds());if(null!=b){var c=mxUtils.toRadians(this.getTotalRotation()),b=this.rotatePoint(this.flipPoint(b),c),c=this.graph.view.scale,f=this.graph.view.translate;this.shape.bounds.x=Math.floor((b.x+f.x)*c-this.shape.bounds.width/2);this.shape.bounds.y=Math.floor((b.y+f.y)*c-this.shape.bounds.height/2);this.state.unscaledWidth=null;this.shape.redraw()}}};
mxHandle.prototype.isHtmlRequired=function(){return null!=this.state.text&&this.state.text.node.parentNode==this.graph.container};mxHandle.prototype.rotatePoint=function(b,c){var f=this.state.getCellBounds(),f=new mxPoint(f.getCenterX(),f.getCenterY()),d=Math.cos(c),a=Math.sin(c);return mxUtils.getRotatedPoint(b,d,a,f)};
mxHandle.prototype.flipPoint=function(b){if(null!=this.state.shape){var c=this.state.getCellBounds();this.state.shape.flipH&&(b.x=2*c.x+c.width-b.x);this.state.shape.flipV&&(b.y=2*c.y+c.height-b.y)}return b};mxHandle.prototype.snapPoint=function(b,c){c||(b.x=this.graph.snap(b.x),b.y=this.graph.snap(b.y));return b};mxHandle.prototype.setVisible=function(b){null!=this.shape&&null!=this.shape.node&&(this.shape.node.style.display=b?"":"none")};
mxHandle.prototype.reset=function(){this.setVisible(!0);this.state.style=this.graph.getCellStyle(this.state.cell);this.positionChanged()};mxHandle.prototype.destroy=function(){null!=this.shape&&(this.shape.destroy(),this.shape=null)};
function mxVertexHandler(b){null!=b&&(this.state=b,this.init(),this.escapeHandler=mxUtils.bind(this,function(b,f){this.livePreview&&null!=this.index&&(this.state.view.graph.cellRenderer.redraw(this.state,!0),this.state.view.invalidate(this.state.cell),this.state.invalid=!1,this.state.view.validate());this.reset()}),this.state.view.graph.addListener(mxEvent.ESCAPE,this.escapeHandler))}mxVertexHandler.prototype.graph=null;mxVertexHandler.prototype.state=null;mxVertexHandler.prototype.singleSizer=!1;
mxVertexHandler.prototype.index=null;mxVertexHandler.prototype.allowHandleBoundsCheck=!0;mxVertexHandler.prototype.handleImage=null;mxVertexHandler.prototype.tolerance=0;mxVertexHandler.prototype.rotationEnabled=!1;mxVertexHandler.prototype.parentHighlightEnabled=!1;mxVertexHandler.prototype.rotationRaster=!0;mxVertexHandler.prototype.rotationCursor="crosshair";mxVertexHandler.prototype.livePreview=!1;mxVertexHandler.prototype.manageSizers=!1;mxVertexHandler.prototype.constrainGroupByChildren=!1;
mxVertexHandler.prototype.rotationHandleVSpacing=-16;mxVertexHandler.prototype.horizontalOffset=0;mxVertexHandler.prototype.verticalOffset=0;
mxVertexHandler.prototype.init=function(){this.graph=this.state.view.graph;this.selectionBounds=this.getSelectionBounds(this.state);this.bounds=new mxRectangle(this.selectionBounds.x,this.selectionBounds.y,this.selectionBounds.width,this.selectionBounds.height);this.selectionBorder=this.createSelectionShape(this.bounds);this.selectionBorder.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG;this.selectionBorder.pointerEvents=!1;this.selectionBorder.rotation=
Number(this.state.style[mxConstants.STYLE_ROTATION]||"0");this.selectionBorder.init(this.graph.getView().getOverlayPane());mxEvent.redirectMouseEvents(this.selectionBorder.node,this.graph,this.state);this.graph.isCellMovable(this.state.cell)&&this.selectionBorder.setCursor(mxConstants.CURSOR_MOVABLE_VERTEX);if(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells){var b=this.graph.isCellResizable(this.state.cell);this.sizers=[];if(b||this.graph.isLabelMovable(this.state.cell)&&
2<=this.state.width&&2<=this.state.height){var c=0;b&&(this.singleSizer||(this.sizers.push(this.createSizer("nw-resize",c++)),this.sizers.push(this.createSizer("n-resize",c++)),this.sizers.push(this.createSizer("ne-resize",c++)),this.sizers.push(this.createSizer("w-resize",c++)),this.sizers.push(this.createSizer("e-resize",c++)),this.sizers.push(this.createSizer("sw-resize",c++)),this.sizers.push(this.createSizer("s-resize",c++))),this.sizers.push(this.createSizer("se-resize",c++)));b=this.graph.model.getGeometry(this.state.cell);
null!=b&&!b.relative&&!this.graph.isSwimlane(this.state.cell)&&this.graph.isLabelMovable(this.state.cell)&&(this.labelShape=this.createSizer(mxConstants.CURSOR_LABEL_HANDLE,mxEvent.LABEL_HANDLE,mxConstants.LABEL_HANDLE_SIZE,mxConstants.LABEL_HANDLE_FILLCOLOR),this.sizers.push(this.labelShape))}else this.graph.isCellMovable(this.state.cell)&&!this.graph.isCellResizable(this.state.cell)&&2>this.state.width&&2>this.state.height&&(this.labelShape=this.createSizer(mxConstants.CURSOR_MOVABLE_VERTEX,mxEvent.LABEL_HANDLE,
null,mxConstants.LABEL_HANDLE_FILLCOLOR),this.sizers.push(this.labelShape))}this.isRotationHandleVisible()&&(this.rotationShape=this.createSizer(this.rotationCursor,mxEvent.ROTATION_HANDLE,mxConstants.HANDLE_SIZE+3,mxConstants.HANDLE_FILLCOLOR),this.sizers.push(this.rotationShape));this.customHandles=this.createCustomHandles();this.redraw();this.constrainGroupByChildren&&this.updateMinBounds()};
mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)&&2<=this.state.width&&2<=this.state.height};mxVertexHandler.prototype.isConstrainedEvent=function(b){return mxEvent.isShiftDown(b.getEvent())||"fixed"==this.state.style[mxConstants.STYLE_ASPECT]};
mxVertexHandler.prototype.isCenteredEvent=function(b,c){return!1};mxVertexHandler.prototype.createCustomHandles=function(){return null};
mxVertexHandler.prototype.updateMinBounds=function(){var b=this.graph.getChildCells(this.state.cell);if(0<b.length&&(this.minBounds=this.graph.view.getBounds(b),null!=this.minBounds)){var b=this.state.view.scale,c=this.state.view.translate;this.minBounds.x-=this.state.x;this.minBounds.y-=this.state.y;this.minBounds.x/=b;this.minBounds.y/=b;this.minBounds.width/=b;this.minBounds.height/=b;this.x0=this.state.x/b-c.x;this.y0=this.state.y/b-c.y}};
mxVertexHandler.prototype.getSelectionBounds=function(b){return new mxRectangle(Math.round(b.x),Math.round(b.y),Math.round(b.width),Math.round(b.height))};mxVertexHandler.prototype.createParentHighlightShape=function(b){return this.createSelectionShape(b)};mxVertexHandler.prototype.createSelectionShape=function(b){b=new mxRectangleShape(b,null,this.getSelectionColor());b.strokewidth=this.getSelectionStrokeWidth();b.isDashed=this.isSelectionDashed();return b};
mxVertexHandler.prototype.getSelectionColor=function(){return mxConstants.VERTEX_SELECTION_COLOR};mxVertexHandler.prototype.getSelectionStrokeWidth=function(){return mxConstants.VERTEX_SELECTION_STROKEWIDTH};mxVertexHandler.prototype.isSelectionDashed=function(){return mxConstants.VERTEX_SELECTION_DASHED};
mxVertexHandler.prototype.createSizer=function(b,c,f,d){f=f||mxConstants.HANDLE_SIZE;f=new mxRectangle(0,0,f,f);d=this.createSizerShape(f,c,d);d.isHtmlAllowed()&&null!=this.state.text&&this.state.text.node.parentNode==this.graph.container?(d.bounds.height-=1,d.bounds.width-=1,d.dialect=mxConstants.DIALECT_STRICTHTML,d.init(this.graph.container)):(d.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG,d.init(this.graph.getView().getOverlayPane()));
mxEvent.redirectMouseEvents(d.node,this.graph,this.state);this.graph.isEnabled()&&d.setCursor(b);this.isSizerVisible(c)||(d.visible=!1);return d};mxVertexHandler.prototype.isSizerVisible=function(b){return!0};
mxVertexHandler.prototype.createSizerShape=function(b,c,f){return null!=this.handleImage?(b=new mxRectangle(b.x,b.y,this.handleImage.width,this.handleImage.height),b=new mxImageShape(b,this.handleImage.src),b.preserveImageAspect=!1,b):c==mxEvent.ROTATION_HANDLE?new mxEllipse(b,f||mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR):new mxRectangleShape(b,f||mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};
mxVertexHandler.prototype.moveSizerTo=function(b,c,f){null!=b&&(b.bounds.x=Math.floor(c-b.bounds.width/2),b.bounds.y=Math.floor(f-b.bounds.height/2),null!=b.node&&"none"!=b.node.style.display&&b.redraw())};
mxVertexHandler.prototype.getHandleForEvent=function(b){function c(a){return null!=a&&(b.isSource(a)||null!=d&&mxUtils.intersects(a.bounds,d)&&"none"!=a.node.style.display&&"hidden"!=a.node.style.visibility)}var f=!mxEvent.isMouseEvent(b.getEvent())?this.tolerance:1,d=this.allowHandleBoundsCheck&&(mxClient.IS_IE||0<f)?new mxRectangle(b.getGraphX()-f,b.getGraphY()-f,2*f,2*f):null;if(null!=this.customHandles&&this.isCustomHandleEvent(b))for(f=this.customHandles.length-1;0<=f;f--)if(c(this.customHandles[f].shape))return mxEvent.CUSTOM_HANDLE-
f;if(c(this.rotationShape))return mxEvent.ROTATION_HANDLE;if(c(this.labelShape))return mxEvent.LABEL_HANDLE;if(null!=this.sizers)for(f=0;f<this.sizers.length;f++)if(c(this.sizers[f]))return f;return null};mxVertexHandler.prototype.isCustomHandleEvent=function(b){return!0};
mxVertexHandler.prototype.mouseDown=function(b,c){var f=!mxEvent.isMouseEvent(c.getEvent())?this.tolerance:0;if(!c.isConsumed()&&this.graph.isEnabled()&&(0<f||c.getState()==this.state))f=this.getHandleForEvent(c),null!=f&&(this.start(c.getGraphX(),c.getGraphY(),f),c.consume())};mxVertexHandler.prototype.isLivePreviewBorder=function(){return null!=this.state.shape&&null==this.state.shape.fill&&null==this.state.shape.stroke};
mxVertexHandler.prototype.start=function(b,c,f){this.inTolerance=!0;this.childOffsetY=this.childOffsetX=0;this.index=f;this.startX=b;this.startY=c;b=this.state.view.graph.model;c=b.getParent(this.state.cell);if(this.state.view.currentRoot!=c&&(b.isVertex(c)||b.isEdge(c)))this.parentState=this.state.view.graph.view.getState(c);this.selectionBorder.node.style.display=f==mxEvent.ROTATION_HANDLE?"inline":"none";if(!this.livePreview||this.isLivePreviewBorder())this.preview=this.createSelectionShape(this.bounds),
!(mxClient.IS_SVG&&0!=Number(this.state.style[mxConstants.STYLE_ROTATION]||"0"))&&null!=this.state.text&&this.state.text.node.parentNode==this.graph.container?(this.preview.dialect=mxConstants.DIALECT_STRICTHTML,this.preview.init(this.graph.container)):(this.preview.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG,this.preview.init(this.graph.view.getOverlayPane()));if(this.livePreview){this.hideSizers();f==mxEvent.ROTATION_HANDLE?this.rotationShape.node.style.display=
"":f==mxEvent.LABEL_HANDLE?this.labelShape.node.style.display="":null!=this.sizers&&null!=this.sizers[f]?this.sizers[f].node.style.display="":f<=mxEvent.CUSTOM_HANDLE&&null!=this.customHandles&&this.customHandles[mxEvent.CUSTOM_HANDLE-f].setVisible(!0);f=this.graph.getEdges(this.state.cell);this.edgeHandlers=[];for(b=0;b<f.length;b++)c=this.graph.selectionCellsHandler.getHandler(f[b]),null!=c&&this.edgeHandlers.push(c)}};
mxVertexHandler.prototype.setHandlesVisible=function(b){if(null!=this.sizers)for(var c=0;c<this.sizers.length;c++)this.sizers[c].node.style.display=b?"":"none";if(null!=this.customHandles)for(c=0;c<this.customHandles.length;c++)this.customHandles[c].setVisible(b)};mxVertexHandler.prototype.hideSizers=function(){this.setHandlesVisible(!1)};
mxVertexHandler.prototype.checkTolerance=function(b){if(this.inTolerance&&null!=this.startX&&null!=this.startY&&(mxEvent.isMouseEvent(b.getEvent())||Math.abs(b.getGraphX()-this.startX)>this.graph.tolerance||Math.abs(b.getGraphY()-this.startY)>this.graph.tolerance))this.inTolerance=!1};mxVertexHandler.prototype.updateHint=function(b){};mxVertexHandler.prototype.removeHint=function(){};mxVertexHandler.prototype.roundAngle=function(b){return Math.round(10*b)/10};
mxVertexHandler.prototype.roundLength=function(b){return Math.round(b)};
mxVertexHandler.prototype.mouseMove=function(b,c){!c.isConsumed()&&null!=this.index?(this.checkTolerance(c),this.inTolerance||(this.index<=mxEvent.CUSTOM_HANDLE?null!=this.customHandles&&this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].processEvent(c):this.index==mxEvent.LABEL_HANDLE?this.moveLabel(c):this.index==mxEvent.ROTATION_HANDLE?this.rotateVertex(c):this.resizeVertex(c),this.updateHint(c)),c.consume()):!this.graph.isMouseDown&&null!=this.getHandleForEvent(c)&&c.consume(!1)};
mxVertexHandler.prototype.moveLabel=function(b){var c=new mxPoint(b.getGraphX(),b.getGraphY()),f=this.graph.view.translate,d=this.graph.view.scale;this.graph.isGridEnabledEvent(b.getEvent())&&(c.x=(this.graph.snap(c.x/d-f.x)+f.x)*d,c.y=(this.graph.snap(c.y/d-f.y)+f.y)*d);this.moveSizerTo(this.sizers[null!=this.rotationShape?this.sizers.length-2:this.sizers.length-1],c.x,c.y)};
mxVertexHandler.prototype.rotateVertex=function(b){var c=new mxPoint(b.getGraphX(),b.getGraphY()),f=this.state.x+this.state.width/2-c.x,d=this.state.y+this.state.height/2-c.y;this.currentAlpha=0!=f?180*Math.atan(d/f)/Math.PI+90:0>d?180:0;0<f&&(this.currentAlpha-=180);this.rotationRaster&&this.graph.isGridEnabledEvent(b.getEvent())?(f=c.x-this.state.getCenterX(),d=c.y-this.state.getCenterY(),b=3*Math.abs(Math.sqrt(f*f+d*d)-20),b=Math.max(1,5*Math.min(3,Math.max(0,Math.round(80/Math.abs(b))))),this.currentAlpha=
Math.round(this.currentAlpha/b)*b):this.currentAlpha=this.roundAngle(this.currentAlpha);this.selectionBorder.rotation=this.currentAlpha;this.selectionBorder.redraw();this.livePreview&&this.redrawHandles()};
mxVertexHandler.prototype.resizeVertex=function(b){var c=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),f=mxUtils.toRadians(this.state.style[mxConstants.STYLE_ROTATION]||"0"),d=new mxPoint(b.getGraphX(),b.getGraphY()),a=this.graph.view.translate,e=this.graph.view.scale,g=Math.cos(-f),k=Math.sin(-f),l=d.x-this.startX,d=d.y-this.startY,m=k*l+g*d,l=g*l-k*d,d=m,g=this.graph.getCellGeometry(this.state.cell);this.unscaledBounds=this.union(g,l/e,d/e,this.index,this.graph.isGridEnabledEvent(b.getEvent()),
1,new mxPoint(0,0),this.isConstrainedEvent(b),this.isCenteredEvent(this.state,b));g.relative||(k=this.graph.getMaximumGraphBounds(),null!=k&&null!=this.parentState&&(k=mxRectangle.fromRectangle(k),k.x-=(this.parentState.x-a.x*e)/e,k.y-=(this.parentState.y-a.y*e)/e),this.graph.isConstrainChild(this.state.cell)&&(l=this.graph.getCellContainmentArea(this.state.cell),null!=l&&(d=this.graph.getOverlap(this.state.cell),0<d&&(l=mxRectangle.fromRectangle(l),l.x-=l.width*d,l.y-=l.height*d,l.width+=2*l.width*
d,l.height+=2*l.height*d),null==k?k=l:(k=mxRectangle.fromRectangle(k),k.intersect(l)))),null!=k&&(this.unscaledBounds.x<k.x&&(this.unscaledBounds.width-=k.x-this.unscaledBounds.x,this.unscaledBounds.x=k.x),this.unscaledBounds.y<k.y&&(this.unscaledBounds.height-=k.y-this.unscaledBounds.y,this.unscaledBounds.y=k.y),this.unscaledBounds.x+this.unscaledBounds.width>k.x+k.width&&(this.unscaledBounds.width-=this.unscaledBounds.x+this.unscaledBounds.width-k.x-k.width),this.unscaledBounds.y+this.unscaledBounds.height>
k.y+k.height&&(this.unscaledBounds.height-=this.unscaledBounds.y+this.unscaledBounds.height-k.y-k.height)));this.bounds=new mxRectangle((null!=this.parentState?this.parentState.x:a.x*e)+this.unscaledBounds.x*e,(null!=this.parentState?this.parentState.y:a.y*e)+this.unscaledBounds.y*e,this.unscaledBounds.width*e,this.unscaledBounds.height*e);g.relative&&null!=this.parentState&&(this.bounds.x+=this.state.x-this.parentState.x,this.bounds.y+=this.state.y-this.parentState.y);g=Math.cos(f);k=Math.sin(f);
f=new mxPoint(this.bounds.getCenterX(),this.bounds.getCenterY());l=f.x-c.x;d=f.y-c.y;c=g*l-k*d-l;f=k*l+g*d-d;l=this.bounds.x-this.state.x;d=this.bounds.y-this.state.y;a=g*l-k*d;g=k*l+g*d;this.bounds.x+=c;this.bounds.y+=f;this.unscaledBounds.x=this.roundLength(this.unscaledBounds.x+c/e);this.unscaledBounds.y=this.roundLength(this.unscaledBounds.y+f/e);this.unscaledBounds.width=this.roundLength(this.unscaledBounds.width);this.unscaledBounds.height=this.roundLength(this.unscaledBounds.height);!this.graph.isCellCollapsed(this.state.cell)&&
(0!=c||0!=f)?(this.childOffsetX=this.state.x-this.bounds.x+a,this.childOffsetY=this.state.y-this.bounds.y+g):this.childOffsetY=this.childOffsetX=0;this.livePreview&&this.updateLivePreview(b);null!=this.preview&&this.drawPreview()};
mxVertexHandler.prototype.updateLivePreview=function(b){var c=this.graph.view.scale,f=this.graph.view.translate;b=this.state.clone();this.state.x=this.bounds.x;this.state.y=this.bounds.y;this.state.origin=new mxPoint(this.state.x/c-f.x,this.state.y/c-f.y);this.state.width=this.bounds.width;this.state.height=this.bounds.height;this.state.unscaledWidth=null;c=this.state.absoluteOffset;new mxPoint(c.x,c.y);this.state.absoluteOffset.x=0;this.state.absoluteOffset.y=0;c=this.graph.getCellGeometry(this.state.cell);
null!=c&&(f=c.offset||this.EMPTY_POINT,null!=f&&!c.relative&&(this.state.absoluteOffset.x=this.state.view.scale*f.x,this.state.absoluteOffset.y=this.state.view.scale*f.y),this.state.view.updateVertexLabelOffset(this.state));this.state.view.graph.cellRenderer.redraw(this.state,!0);this.state.view.invalidate(this.state.cell);this.state.invalid=!1;this.state.view.validate();this.redrawHandles();this.state.setState(b)};
mxVertexHandler.prototype.mouseUp=function(b,c){if(null!=this.index&&null!=this.state){var f=new mxPoint(c.getGraphX(),c.getGraphY());this.graph.getModel().beginUpdate();try{if(this.index<=mxEvent.CUSTOM_HANDLE)null!=this.customHandles&&this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].execute();else if(this.index==mxEvent.ROTATION_HANDLE)if(null!=this.currentAlpha){var d=this.currentAlpha-(this.state.style[mxConstants.STYLE_ROTATION]||0);0!=d&&this.rotateCell(this.state.cell,d)}else this.rotateClick();
else{var a=this.graph.isGridEnabledEvent(c.getEvent()),e=mxUtils.toRadians(this.state.style[mxConstants.STYLE_ROTATION]||"0"),g=Math.cos(-e),k=Math.sin(-e),l=f.x-this.startX,m=f.y-this.startY,f=k*l+g*m,l=g*l-k*m,m=f,n=this.graph.view.scale,p=this.isRecursiveResize(this.state,c);this.resizeCell(this.state.cell,this.roundLength(l/n),this.roundLength(m/n),this.index,a,this.isConstrainedEvent(c),p)}}finally{this.graph.getModel().endUpdate()}c.consume();this.reset()}};
mxVertexHandler.prototype.isRecursiveResize=function(b,c){return this.graph.isRecursiveResize(this.state)};mxVertexHandler.prototype.rotateClick=function(){};
mxVertexHandler.prototype.rotateCell=function(b,c,f){if(0!=c){var d=this.graph.getModel();if(d.isVertex(b)||d.isEdge(b)){if(!d.isEdge(b)){var a=this.graph.view.getState(b),a=null!=a?a.style:this.graph.getCellStyle(b);null!=a&&this.graph.setCellStyles(mxConstants.STYLE_ROTATION,(a[mxConstants.STYLE_ROTATION]||0)+c,[b])}a=this.graph.getCellGeometry(b);if(null!=a){var e=this.graph.getCellGeometry(f);null!=e&&!d.isEdge(f)&&(a=a.clone(),a.rotate(c,new mxPoint(e.width/2,e.height/2)),d.setGeometry(b,a));
if(d.isVertex(b)&&!a.relative||d.isEdge(b)){f=d.getChildCount(b);for(a=0;a<f;a++)this.rotateCell(d.getChildAt(b,a),c,b)}}}}};
mxVertexHandler.prototype.reset=function(){null!=this.sizers&&null!=this.index&&null!=this.sizers[this.index]&&"none"==this.sizers[this.index].node.style.display&&(this.sizers[this.index].node.style.display="");this.index=this.inTolerance=this.currentAlpha=null;null!=this.preview&&(this.preview.destroy(),this.preview=null);if(this.livePreview&&null!=this.sizers)for(var b=0;b<this.sizers.length;b++)null!=this.sizers[b]&&(this.sizers[b].node.style.display="");if(null!=this.customHandles)for(b=0;b<this.customHandles.length;b++)this.customHandles[b].reset();
null!=this.selectionBorder&&(this.selectionBorder.node.style.display="inline",this.selectionBounds=this.getSelectionBounds(this.state),this.bounds=new mxRectangle(this.selectionBounds.x,this.selectionBounds.y,this.selectionBounds.width,this.selectionBounds.height),this.drawPreview());this.removeHint();this.redrawHandles();this.unscaledBounds=this.edgeHandlers=null};
mxVertexHandler.prototype.resizeCell=function(b,c,f,d,a,e,g){a=this.graph.model.getGeometry(b);null!=a&&(d==mxEvent.LABEL_HANDLE?(f=this.graph.view.scale,c=Math.round((this.labelShape.bounds.getCenterX()-this.startX)/f),f=Math.round((this.labelShape.bounds.getCenterY()-this.startY)/f),a=a.clone(),null==a.offset?a.offset=new mxPoint(c,f):(a.offset.x+=c,a.offset.y+=f),this.graph.model.setGeometry(b,a)):null!=this.unscaledBounds&&(f=this.graph.view.scale,(0!=this.childOffsetX||0!=this.childOffsetY)&&
this.moveChildren(b,Math.round(this.childOffsetX/f),Math.round(this.childOffsetY/f)),this.graph.resizeCell(b,this.unscaledBounds,g)))};mxVertexHandler.prototype.moveChildren=function(b,c,f){for(var d=this.graph.getModel(),a=d.getChildCount(b),e=0;e<a;e++){var g=d.getChildAt(b,e),k=this.graph.getCellGeometry(g);null!=k&&(k=k.clone(),k.translate(c,f),d.setGeometry(g,k))}};
mxVertexHandler.prototype.union=function(b,c,f,d,a,e,g,k,l){if(this.singleSizer)return d=b.x+b.width+c,g=b.y+b.height+f,a&&(d=this.graph.snap(d/e)*e,g=this.graph.snap(g/e)*e),e=new mxRectangle(b.x,b.y,0,0),e.add(new mxRectangle(d,g,0,0)),e;var m=b.width,n=b.height,p=b.x-g.x*e,r=p+m;b=b.y-g.y*e;var s=b+n,q=p+m/2,t=b+n/2;4<d?(s+=f,a&&(s=this.graph.snap(s/e)*e)):3>d&&(b+=f,a&&(b=this.graph.snap(b/e)*e));if(0==d||3==d||5==d)p+=c,a&&(p=this.graph.snap(p/e)*e);else if(2==d||4==d||7==d)r+=c,a&&(r=this.graph.snap(r/
e)*e);a=r-p;f=s-b;k&&(k=this.graph.getCellGeometry(this.state.cell),null!=k&&(k=k.width/k.height,1==d||2==d||7==d||6==d?a=f*k:f=a/k,0==d&&(p=r-a,b=s-f)));l&&(a+=a-m,f+=f-n,p+=q-(p+a/2),b+=t-(b+f/2));0>a&&(p+=a,a=Math.abs(a));0>f&&(b+=f,f=Math.abs(f));d=new mxRectangle(p+g.x*e,b+g.y*e,a,f);null!=this.minBounds&&(d.width=Math.max(d.width,this.minBounds.x*e+this.minBounds.width*e+Math.max(0,this.x0*e-d.x)),d.height=Math.max(d.height,this.minBounds.y*e+this.minBounds.height*e+Math.max(0,this.y0*e-d.y)));
return d};mxVertexHandler.prototype.redraw=function(){this.selectionBounds=this.getSelectionBounds(this.state);this.bounds=new mxRectangle(this.selectionBounds.x,this.selectionBounds.y,this.selectionBounds.width,this.selectionBounds.height);this.redrawHandles();this.drawPreview()};
mxVertexHandler.prototype.getHandlePadding=function(){var b=new mxPoint(0,0),c=this.tolerance;if(null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]&&(this.bounds.width<2*this.sizers[0].bounds.width+2*c||this.bounds.height<2*this.sizers[0].bounds.height+2*c))c/=2,b.x=this.sizers[0].bounds.width+c,b.y=this.sizers[0].bounds.height+c;return b};
mxVertexHandler.prototype.redrawHandles=function(){var b=this.tolerance;this.verticalOffset=this.horizontalOffset=0;var c=this.bounds;if(null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]){if(null==this.index&&this.manageSizers&&8<=this.sizers.length){var f=this.getHandlePadding();this.horizontalOffset=f.x;this.verticalOffset=f.y;if(0!=this.horizontalOffset||0!=this.verticalOffset)c=new mxRectangle(c.x,c.y,c.width,c.height),c.x-=this.horizontalOffset/2,c.width+=this.horizontalOffset,c.y-=
this.verticalOffset/2,c.height+=this.verticalOffset;8<=this.sizers.length&&(c.width<2*this.sizers[0].bounds.width+2*b||c.height<2*this.sizers[0].bounds.height+2*b?(this.sizers[0].node.style.display="none",this.sizers[2].node.style.display="none",this.sizers[5].node.style.display="none",this.sizers[7].node.style.display="none"):(this.sizers[0].node.style.display="",this.sizers[2].node.style.display="",this.sizers[5].node.style.display="",this.sizers[7].node.style.display=""))}b=c.x+c.width;f=c.y+c.height;
if(this.singleSizer)this.moveSizerTo(this.sizers[0],b,f);else{var d=c.x+c.width/2,a=c.y+c.height/2;if(8<=this.sizers.length){var e="nw-resize n-resize ne-resize e-resize se-resize s-resize sw-resize w-resize".split(" "),g=mxUtils.toRadians(this.state.style[mxConstants.STYLE_ROTATION]||"0"),k=Math.cos(g),l=Math.sin(g),g=Math.round(4*g/Math.PI),m=new mxPoint(c.getCenterX(),c.getCenterY()),n=mxUtils.getRotatedPoint(new mxPoint(c.x,c.y),k,l,m);this.moveSizerTo(this.sizers[0],n.x,n.y);this.sizers[0].setCursor(e[mxUtils.mod(0+
g,e.length)]);n.x=d;n.y=c.y;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[1],n.x,n.y);this.sizers[1].setCursor(e[mxUtils.mod(1+g,e.length)]);n.x=b;n.y=c.y;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[2],n.x,n.y);this.sizers[2].setCursor(e[mxUtils.mod(2+g,e.length)]);n.x=c.x;n.y=a;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[3],n.x,n.y);this.sizers[3].setCursor(e[mxUtils.mod(7+g,e.length)]);n.x=b;n.y=a;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[4],
n.x,n.y);this.sizers[4].setCursor(e[mxUtils.mod(3+g,e.length)]);n.x=c.x;n.y=f;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[5],n.x,n.y);this.sizers[5].setCursor(e[mxUtils.mod(6+g,e.length)]);n.x=d;n.y=f;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[6],n.x,n.y);this.sizers[6].setCursor(e[mxUtils.mod(5+g,e.length)]);n.x=b;n.y=f;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[7],n.x,n.y);this.sizers[7].setCursor(e[mxUtils.mod(4+g,e.length)]);this.moveSizerTo(this.sizers[8],
d+this.state.absoluteOffset.x,a+this.state.absoluteOffset.y)}else 2<=this.state.width&&2<=this.state.height?this.moveSizerTo(this.sizers[0],d+this.state.absoluteOffset.x,a+this.state.absoluteOffset.y):this.moveSizerTo(this.sizers[0],this.state.x,this.state.y)}}null!=this.rotationShape&&(g=mxUtils.toRadians(null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0"),k=Math.cos(g),l=Math.sin(g),m=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),n=mxUtils.getRotatedPoint(new mxPoint(c.x+
c.width/2,c.y+this.rotationHandleVSpacing),k,l,m),null!=this.rotationShape.node&&this.moveSizerTo(this.rotationShape,n.x,n.y));null!=this.selectionBorder&&(this.selectionBorder.rotation=Number(this.state.style[mxConstants.STYLE_ROTATION]||"0"));if(null!=this.edgeHandlers)for(c=0;c<this.edgeHandlers.length;c++)this.edgeHandlers[c].redraw();if(null!=this.customHandles)for(c=0;c<this.customHandles.length;c++)this.customHandles[c].redraw();this.updateParentHighlight()};
mxVertexHandler.prototype.updateParentHighlight=function(){if(null!=this.selectionBorder)if(null!=this.parentHighlight){var b=this.graph.model.getParent(this.state.cell);if(this.graph.model.isVertex(b)){var b=this.graph.view.getState(b),c=this.parentHighlight.bounds;if(null!=b&&(c.x!=b.x||c.y!=b.y||c.width!=b.width||c.height!=b.height))this.parentHighlight.bounds=b,this.parentHighlight.redraw()}else this.parentHighlight.destroy(),this.parentHighlight=null}else this.parentHighlightEnabled&&(b=this.graph.model.getParent(this.state.cell),
this.graph.model.isVertex(b)&&(b=this.graph.view.getState(b),null!=b&&(this.parentHighlight=this.createParentHighlightShape(b),this.parentHighlight.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG,this.parentHighlight.pointerEvents=!1,this.parentHighlight.rotation=Number(b.style[mxConstants.STYLE_ROTATION]||"0"),this.parentHighlight.init(this.graph.getView().getOverlayPane()))))};
mxVertexHandler.prototype.drawPreview=function(){null!=this.preview&&(this.preview.bounds=this.bounds,this.preview.node.parentNode==this.graph.container&&(this.preview.bounds.width=Math.max(0,this.preview.bounds.width-1),this.preview.bounds.height=Math.max(0,this.preview.bounds.height-1)),this.preview.rotation=Number(this.state.style[mxConstants.STYLE_ROTATION]||"0"),this.preview.redraw());this.selectionBorder.bounds=this.bounds;this.selectionBorder.redraw();null!=this.parentHighlight&&this.parentHighlight.redraw()};
mxVertexHandler.prototype.destroy=function(){null!=this.escapeHandler&&(this.state.view.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.preview&&(this.preview.destroy(),this.preview=null);null!=this.parentHighlight&&(this.parentHighlight.destroy(),this.parentHighlight=null);null!=this.selectionBorder&&(this.selectionBorder.destroy(),this.selectionBorder=null);this.labelShape=null;this.removeHint();if(null!=this.sizers){for(var b=0;b<this.sizers.length;b++)this.sizers[b].destroy();
this.sizers=null}if(null!=this.customHandles){for(b=0;b<this.customHandles.length;b++)this.customHandles[b].destroy();this.customHandles=null}};function mxEdgeHandler(b){null!=b&&(this.state=b,this.init(),this.escapeHandler=mxUtils.bind(this,function(b,f){this.reset()}),this.state.view.graph.addListener(mxEvent.ESCAPE,this.escapeHandler))}mxEdgeHandler.prototype.graph=null;mxEdgeHandler.prototype.state=null;mxEdgeHandler.prototype.marker=null;mxEdgeHandler.prototype.constraintHandler=null;
mxEdgeHandler.prototype.error=null;mxEdgeHandler.prototype.shape=null;mxEdgeHandler.prototype.bends=null;mxEdgeHandler.prototype.labelShape=null;mxEdgeHandler.prototype.cloneEnabled=!0;mxEdgeHandler.prototype.addEnabled=!1;mxEdgeHandler.prototype.removeEnabled=!1;mxEdgeHandler.prototype.dblClickRemoveEnabled=!1;mxEdgeHandler.prototype.mergeRemoveEnabled=!1;mxEdgeHandler.prototype.straightRemoveEnabled=!1;mxEdgeHandler.prototype.virtualBendsEnabled=!1;mxEdgeHandler.prototype.virtualBendOpacity=20;
mxEdgeHandler.prototype.parentHighlightEnabled=!1;mxEdgeHandler.prototype.preferHtml=!1;mxEdgeHandler.prototype.allowHandleBoundsCheck=!0;mxEdgeHandler.prototype.snapToTerminals=!1;mxEdgeHandler.prototype.handleImage=null;mxEdgeHandler.prototype.tolerance=0;mxEdgeHandler.prototype.outlineConnect=!1;mxEdgeHandler.prototype.manageLabelHandle=!1;
mxEdgeHandler.prototype.init=function(){this.graph=this.state.view.graph;this.marker=this.createMarker();this.constraintHandler=new mxConstraintHandler(this.graph);this.points=[];this.abspoints=this.getSelectionPoints(this.state);this.shape=this.createSelectionShape(this.abspoints);this.shape.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;this.shape.init(this.graph.getView().getOverlayPane());this.shape.pointerEvents=!1;this.shape.setCursor(mxConstants.CURSOR_MOVABLE_EDGE);
mxEvent.redirectMouseEvents(this.shape.node,this.graph,this.state);this.preferHtml=null!=this.state.text&&this.state.text.node.parentNode==this.graph.container;if(!this.preferHtml){var b=this.state.getVisibleTerminalState(!0);null!=b&&(this.preferHtml=null!=b.text&&b.text.node.parentNode==this.graph.container);this.preferHtml||(b=this.state.getVisibleTerminalState(!1),null!=b&&(this.preferHtml=null!=b.text&&b.text.node.parentNode==this.graph.container))}this.parentHighlightEnabled&&(b=this.graph.model.getParent(this.state.cell),
this.graph.model.isVertex(b)&&(b=this.graph.view.getState(b),null!=b&&(this.parentHighlight=this.createParentHighlightShape(b),this.parentHighlight.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:mxConstants.DIALECT_SVG,this.parentHighlight.pointerEvents=!1,this.parentHighlight.rotation=Number(b.style[mxConstants.STYLE_ROTATION]||"0"),this.parentHighlight.init(this.graph.getView().getOverlayPane()))));if(this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells||
0>=mxGraphHandler.prototype.maxCells)this.bends=this.createBends(),this.isVirtualBendsEnabled()&&(this.virtualBends=this.createVirtualBends());this.label=new mxPoint(this.state.absoluteOffset.x,this.state.absoluteOffset.y);this.labelShape=this.createLabelHandleShape();this.initBend(this.labelShape);this.labelShape.setCursor(mxConstants.CURSOR_LABEL_HANDLE);this.customHandles=this.createCustomHandles();this.redraw()};mxEdgeHandler.prototype.createCustomHandles=function(){return null};
mxEdgeHandler.prototype.isVirtualBendsEnabled=function(b){return this.virtualBendsEnabled&&(null==this.state.style[mxConstants.STYLE_EDGE]||this.state.style[mxConstants.STYLE_EDGE]==mxConstants.NONE||1==this.state.style[mxConstants.STYLE_NOEDGESTYLE])&&"arrow"!=mxUtils.getValue(this.state.style,mxConstants.STYLE_SHAPE,null)};mxEdgeHandler.prototype.isAddPointEvent=function(b){return mxEvent.isShiftDown(b)};mxEdgeHandler.prototype.isRemovePointEvent=function(b){return mxEvent.isShiftDown(b)};
mxEdgeHandler.prototype.getSelectionPoints=function(b){return b.absolutePoints};mxEdgeHandler.prototype.createParentHighlightShape=function(b){b=new mxRectangleShape(b,null,this.getSelectionColor());b.strokewidth=this.getSelectionStrokeWidth();b.isDashed=this.isSelectionDashed();return b};mxEdgeHandler.prototype.createSelectionShape=function(b){b=new this.state.shape.constructor;b.outline=!0;b.apply(this.state);b.isDashed=this.isSelectionDashed();b.stroke=this.getSelectionColor();b.isShadow=!1;return b};
mxEdgeHandler.prototype.getSelectionColor=function(){return mxConstants.EDGE_SELECTION_COLOR};mxEdgeHandler.prototype.getSelectionStrokeWidth=function(){return mxConstants.EDGE_SELECTION_STROKEWIDTH};mxEdgeHandler.prototype.isSelectionDashed=function(){return mxConstants.EDGE_SELECTION_DASHED};mxEdgeHandler.prototype.isConnectableCell=function(b){return!0};mxEdgeHandler.prototype.getCellAt=function(b,c){return!this.outlineConnect?this.graph.getCellAt(b,c):null};
mxEdgeHandler.prototype.createMarker=function(){var b=new mxCellMarker(this.graph),c=this;b.getCell=function(b){var d=mxCellMarker.prototype.getCell.apply(this,arguments);if((d==c.state.cell||null==d)&&null!=c.currentPoint)d=c.graph.getCellAt(c.currentPoint.x,c.currentPoint.y);if(null!=d&&!this.graph.isCellConnectable(d)){var a=this.graph.getModel().getParent(d);this.graph.getModel().isVertex(a)&&this.graph.isCellConnectable(a)&&(d=a)}a=c.graph.getModel();if(this.graph.isSwimlane(d)&&null!=c.currentPoint&&
this.graph.hitsSwimlaneContent(d,c.currentPoint.x,c.currentPoint.y)||!c.isConnectableCell(d)||d==c.state.cell||null!=d&&!c.graph.connectableEdges&&a.isEdge(d)||a.isAncestor(c.state.cell,d))d=null;this.graph.isCellConnectable(d)||(d=null);return d};b.isValidState=function(b){var d=c.graph.getModel(),d=c.graph.view.getTerminalPort(b,c.graph.view.getState(d.getTerminal(c.state.cell,!c.isSource)),!c.isSource),d=null!=d?d.cell:null;c.error=c.validateConnection(c.isSource?b.cell:d,c.isSource?d:b.cell);
return null==c.error};return b};mxEdgeHandler.prototype.validateConnection=function(b,c){return this.graph.getEdgeValidationError(this.state.cell,b,c)};
mxEdgeHandler.prototype.createBends=function(){for(var b=this.state.cell,c=[],f=0;f<this.abspoints.length;f++)if(this.isHandleVisible(f)){var d=f==this.abspoints.length-1,a=0==f||d;(a||this.graph.isCellBendable(b))&&mxUtils.bind(this,function(b){var d=this.createHandleShape(b);this.initBend(d,mxUtils.bind(this,mxUtils.bind(this,function(){this.dblClickRemoveEnabled&&this.removePoint(this.state,b)})));this.isHandleEnabled(f)&&d.setCursor(a?mxConstants.CURSOR_TERMINAL_HANDLE:mxConstants.CURSOR_BEND_HANDLE);
c.push(d);a||(this.points.push(new mxPoint(0,0)),d.node.style.visibility="hidden")})(f)}return c};mxEdgeHandler.prototype.createVirtualBends=function(){var b=[];if(this.graph.isCellBendable(this.state.cell))for(var c=1;c<this.abspoints.length;c++)mxUtils.bind(this,function(c){this.initBend(c);c.setCursor(mxConstants.CURSOR_VIRTUAL_BEND_HANDLE);b.push(c)})(this.createHandleShape());return b};mxEdgeHandler.prototype.isHandleEnabled=function(b){return!0};
mxEdgeHandler.prototype.isHandleVisible=function(b){var c=this.state.getVisibleTerminalState(!0),f=this.state.getVisibleTerminalState(!1),d=this.graph.getCellGeometry(this.state.cell);return(null!=d?this.graph.view.getEdgeStyle(this.state,d.points,c,f):null)!=mxEdgeStyle.EntityRelation||0==b||b==this.abspoints.length-1};
mxEdgeHandler.prototype.createHandleShape=function(b){if(null!=this.handleImage)return b=new mxImageShape(new mxRectangle(0,0,this.handleImage.width,this.handleImage.height),this.handleImage.src),b.preserveImageAspect=!1,b;b=mxConstants.HANDLE_SIZE;this.preferHtml&&(b-=1);return new mxRectangleShape(new mxRectangle(0,0,b,b),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};
mxEdgeHandler.prototype.createLabelHandleShape=function(){if(null!=this.labelHandleImage){var b=new mxImageShape(new mxRectangle(0,0,this.labelHandleImage.width,this.labelHandleImage.height),this.labelHandleImage.src);b.preserveImageAspect=!1;return b}b=mxConstants.LABEL_HANDLE_SIZE;return new mxRectangleShape(new mxRectangle(0,0,b,b),mxConstants.LABEL_HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};
mxEdgeHandler.prototype.initBend=function(b,c){this.preferHtml?(b.dialect=mxConstants.DIALECT_STRICTHTML,b.init(this.graph.container)):(b.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG,b.init(this.graph.getView().getOverlayPane()));mxEvent.redirectMouseEvents(b.node,this.graph,this.state,null,null,null,c);(mxClient.IS_QUIRKS||8==document.documentMode)&&mxEvent.addListener(b.node,"dragstart",function(b){mxEvent.consume(b);return!1});mxClient.IS_TOUCH&&
b.node.setAttribute("pointer-events","none")};
mxEdgeHandler.prototype.getHandleForEvent=function(b){function c(e){if(null!=e&&"none"!=e.node.style.display&&"hidden"!=e.node.style.visibility&&(b.isSource(e)||null!=d&&mxUtils.intersects(e.bounds,d))){var c=b.getGraphX()-e.bounds.getCenterX();e=b.getGraphY()-e.bounds.getCenterY();c=c*c+e*e;if(null==a||c<=a)return a=c,!0}return!1}var f=!mxEvent.isMouseEvent(b.getEvent())?this.tolerance:1,d=this.allowHandleBoundsCheck&&(mxClient.IS_IE||0<f)?new mxRectangle(b.getGraphX()-f,b.getGraphY()-f,2*f,2*f):
null,a=null,f=null;if(null!=this.customHandles&&this.isCustomHandleEvent(b))for(var e=this.customHandles.length-1;0<=e;e--)if(c(this.customHandles[e].shape))return mxEvent.CUSTOM_HANDLE-e;if(b.isSource(this.state.text)||c(this.labelShape))f=mxEvent.LABEL_HANDLE;if(null!=this.bends)for(e=0;e<this.bends.length;e++)c(this.bends[e])&&(f=e);if(null!=this.virtualBends&&this.isAddVirtualBendEvent(b))for(e=0;e<this.virtualBends.length;e++)c(this.virtualBends[e])&&(f=mxEvent.VIRTUAL_HANDLE-e);return f};
mxEdgeHandler.prototype.isAddVirtualBendEvent=function(b){return!0};mxEdgeHandler.prototype.isCustomHandleEvent=function(b){return!0};
mxEdgeHandler.prototype.mouseDown=function(b,c){var f=this.getHandleForEvent(c);if(null!=this.bends&&null!=this.bends[f]){var d=this.bends[f].bounds;this.snapPoint=new mxPoint(d.getCenterX(),d.getCenterY())}if(this.addEnabled&&null==f&&this.isAddPointEvent(c.getEvent()))this.addPoint(this.state,c.getEvent()),c.consume();else if(null!=f&&!c.isConsumed()&&this.graph.isEnabled()){if(this.removeEnabled&&this.isRemovePointEvent(c.getEvent()))this.removePoint(this.state,f);else if(f!=mxEvent.LABEL_HANDLE||
this.graph.isLabelMovable(c.getCell()))f<=mxEvent.VIRTUAL_HANDLE&&mxUtils.setOpacity(this.virtualBends[mxEvent.VIRTUAL_HANDLE-f].node,100),this.start(c.getX(),c.getY(),f);c.consume()}};
mxEdgeHandler.prototype.start=function(b,c,f){this.startX=b;this.startY=c;this.isSource=null==this.bends?!1:0==f;this.isTarget=null==this.bends?!1:f==this.bends.length-1;this.isLabel=f==mxEvent.LABEL_HANDLE;if(this.isSource||this.isTarget){if(b=this.state.cell,c=this.graph.model.getTerminal(b,this.isSource),null==c&&this.graph.isTerminalPointMovable(b,this.isSource)||null!=c&&this.graph.isCellDisconnectable(b,c,this.isSource))this.index=f}else this.index=f;if(this.index<=mxEvent.CUSTOM_HANDLE&&this.index>
mxEvent.VIRTUAL_HANDLE&&null!=this.customHandles)for(f=0;f<this.customHandles.length;f++)f!=mxEvent.CUSTOM_HANDLE-this.index&&this.customHandles[f].setVisible(!1)};mxEdgeHandler.prototype.clonePreviewState=function(b,c){return this.state.clone()};mxEdgeHandler.prototype.getSnapToTerminalTolerance=function(){return this.graph.gridSize*this.graph.view.scale/2};mxEdgeHandler.prototype.updateHint=function(b,c){};mxEdgeHandler.prototype.removeHint=function(){};mxEdgeHandler.prototype.roundLength=function(b){return Math.round(b)};
mxEdgeHandler.prototype.isSnapToTerminalsEvent=function(b){return this.snapToTerminals&&!mxEvent.isAltDown(b.getEvent())};
mxEdgeHandler.prototype.getPointForEvent=function(b){var c=this.graph.getView(),f=c.scale,d=new mxPoint(this.roundLength(b.getGraphX()/f)*f,this.roundLength(b.getGraphY()/f)*f),a=this.getSnapToTerminalTolerance(),e=!1,g=!1;if(0<a&&this.isSnapToTerminalsEvent(b)){var k=function(b){if(null!=b){var c=b.x;Math.abs(d.x-c)<a&&(d.x=c,e=!0);b=b.y;Math.abs(d.y-b)<a&&(d.y=b,g=!0)}},l=function(a){null!=a&&k.call(this,new mxPoint(c.getRoutingCenterX(a),c.getRoutingCenterY(a)))};l.call(this,this.state.getVisibleTerminalState(!0));
l.call(this,this.state.getVisibleTerminalState(!1));if(null!=this.state.absolutePoints)for(l=0;l<this.state.absolutePoints.length;l++)k.call(this,this.state.absolutePoints[l])}this.graph.isGridEnabledEvent(b.getEvent())&&(b=c.translate,e||(d.x=(this.graph.snap(d.x/f-b.x)+b.x)*f),g||(d.y=(this.graph.snap(d.y/f-b.y)+b.y)*f));return d};
mxEdgeHandler.prototype.getPreviewTerminalState=function(b){this.constraintHandler.update(b,this.isSource,!0,b.isSource(this.marker.highlight.shape)?null:this.currentPoint);if(null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentConstraint)return null!=this.marker.highlight&&null!=this.marker.highlight.state&&this.marker.highlight.state.cell==this.constraintHandler.currentFocus.cell?"transparent"!=this.marker.highlight.shape.stroke&&(this.marker.highlight.shape.stroke="transparent",
this.marker.highlight.repaint()):this.marker.markCell(this.constraintHandler.currentFocus.cell,"transparent"),b=this.graph.getModel(),b=this.graph.view.getTerminalPort(this.state,this.graph.view.getState(b.getTerminal(this.state.cell,!this.isSource)),!this.isSource),b=null!=b?b.cell:null,this.error=this.validateConnection(this.isSource?this.constraintHandler.currentFocus.cell:b,this.isSource?b:this.constraintHandler.currentFocus.cell),b=null,null==this.error?b=this.constraintHandler.currentFocus:
this.constraintHandler.reset(),b;if(this.graph.isIgnoreTerminalEvent(b.getEvent()))return this.marker.reset(),null;this.marker.process(b);return this.marker.getValidState()};
mxEdgeHandler.prototype.getPreviewPoints=function(b,c){var f=this.graph.getCellGeometry(this.state.cell),f=null!=f.points?f.points.slice():null,d=new mxPoint(b.x,b.y),a=null;if(!this.isSource&&!this.isTarget)if(this.convertPoint(d,!1),null==f)f=[d];else{this.index<=mxEvent.VIRTUAL_HANDLE&&f.splice(mxEvent.VIRTUAL_HANDLE-this.index,0,d);if(!this.isSource&&!this.isTarget){for(var e=0;e<this.bends.length;e++)if(e!=this.index){var g=this.bends[e];null!=g&&mxUtils.contains(g.bounds,b.x,b.y)&&(this.index<=
mxEvent.VIRTUAL_HANDLE?f.splice(mxEvent.VIRTUAL_HANDLE-this.index,1):f.splice(this.index-1,1),a=f)}if(null==a&&this.straightRemoveEnabled&&(null==c||!mxEvent.isAltDown(c.getEvent()))){e=this.graph.tolerance*this.graph.tolerance;g=this.state.absolutePoints.slice();g[this.index]=b;var k=this.state.getVisibleTerminalState(!0);if(null!=k){var l=this.graph.getConnectionConstraint(this.state,k,!0);if(null==l||null==this.graph.getConnectionPoint(k,l))g[0]=new mxPoint(k.view.getRoutingCenterX(k),k.view.getRoutingCenterY(k))}k=
this.state.getVisibleTerminalState(!1);if(null!=k&&(l=this.graph.getConnectionConstraint(this.state,k,!1),null==l||null==this.graph.getConnectionPoint(k,l)))g[g.length-1]=new mxPoint(k.view.getRoutingCenterX(k),k.view.getRoutingCenterY(k));l=this.index;0<l&&l<g.length-1&&mxUtils.ptSegDistSq(g[l-1].x,g[l-1].y,g[l+1].x,g[l+1].y,b.x,b.y)<e&&(f.splice(l-1,1),a=f)}}null==a&&this.index>mxEvent.VIRTUAL_HANDLE&&(f[this.index-1]=d)}else this.graph.resetEdgesOnConnect&&(f=null);return null!=a?a:f};
mxEdgeHandler.prototype.isOutlineConnectEvent=function(b){var c=mxUtils.getOffset(this.graph.container),f=b.getEvent(),d=mxEvent.getClientX(f),f=mxEvent.getClientY(f),a=document.documentElement,e=this.currentPoint.x-this.graph.container.scrollLeft+c.x-((window.pageXOffset||a.scrollLeft)-(a.clientLeft||0)),c=this.currentPoint.y-this.graph.container.scrollTop+c.y-((window.pageYOffset||a.scrollTop)-(a.clientTop||0));return this.outlineConnect&&!mxEvent.isShiftDown(b.getEvent())&&(b.isSource(this.marker.highlight.shape)||
mxEvent.isAltDown(b.getEvent())&&null!=b.getState()||this.marker.highlight.isHighlightAt(d,f)||(e!=d||c!=f)&&null==b.getState()&&this.marker.highlight.isHighlightAt(e,c))};
mxEdgeHandler.prototype.updatePreviewState=function(b,c,f,d,a){var e=this.isSource?f:this.state.getVisibleTerminalState(!0),g=this.isTarget?f:this.state.getVisibleTerminalState(!1),k=this.graph.getConnectionConstraint(b,e,!0),l=this.graph.getConnectionConstraint(b,g,!1),m=this.constraintHandler.currentConstraint;null==m&&a&&(null!=f?(d.isSource(this.marker.highlight.shape)&&(c=new mxPoint(d.getGraphX(),d.getGraphY())),m=this.graph.getOutlineConstraint(c,f,d),this.constraintHandler.setFocus(d,f,this.isSource),
this.constraintHandler.currentConstraint=m,this.constraintHandler.currentPoint=c):m=new mxConnectionConstraint);if(this.outlineConnect&&null!=this.marker.highlight&&null!=this.marker.highlight.shape){var n=this.graph.view.scale;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(this.marker.highlight.shape.stroke=a?mxConstants.OUTLINE_HIGHLIGHT_COLOR:"transparent",this.marker.highlight.shape.strokewidth=mxConstants.OUTLINE_HIGHLIGHT_STROKEWIDTH/n/n,this.marker.highlight.repaint()):
this.marker.hasValidState()&&(this.marker.highlight.shape.stroke=this.marker.getValidState()==d.getState()?mxConstants.DEFAULT_VALID_COLOR:"transparent",this.marker.highlight.shape.strokewidth=mxConstants.HIGHLIGHT_STROKEWIDTH/n/n,this.marker.highlight.repaint())}this.isSource?k=m:this.isTarget&&(l=m);if(this.isSource||this.isTarget)null!=m&&null!=m.point?(b.style[this.isSource?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X]=m.point.x,b.style[this.isSource?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y]=
m.point.y):(delete b.style[this.isSource?mxConstants.STYLE_EXIT_X:mxConstants.STYLE_ENTRY_X],delete b.style[this.isSource?mxConstants.STYLE_EXIT_Y:mxConstants.STYLE_ENTRY_Y]);b.setVisibleTerminalState(e,!0);b.setVisibleTerminalState(g,!1);(!this.isSource||null!=e)&&b.view.updateFixedTerminalPoint(b,e,!0,k);(!this.isTarget||null!=g)&&b.view.updateFixedTerminalPoint(b,g,!1,l);if((this.isSource||this.isTarget)&&null==f)b.setAbsoluteTerminalPoint(c,this.isSource),null==this.marker.getMarkedState()&&(this.error=
this.graph.allowDanglingEdges?null:"");b.view.updatePoints(b,this.points,e,g);b.view.updateFloatingTerminalPoints(b,e,g)};
mxEdgeHandler.prototype.mouseMove=function(b,c){if(null!=this.index&&null!=this.marker){this.currentPoint=this.getPointForEvent(c);this.error=null;!this.graph.isIgnoreTerminalEvent(c.getEvent())&&mxEvent.isShiftDown(c.getEvent())&&null!=this.snapPoint&&(Math.abs(this.snapPoint.x-this.currentPoint.x)<Math.abs(this.snapPoint.y-this.currentPoint.y)?this.currentPoint.x=this.snapPoint.x:this.currentPoint.y=this.snapPoint.y);if(this.index<=mxEvent.CUSTOM_HANDLE&&this.index>mxEvent.VIRTUAL_HANDLE)null!=
this.customHandles&&this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].processEvent(c);else if(this.isLabel)this.label.x=this.currentPoint.x,this.label.y=this.currentPoint.y;else{this.points=this.getPreviewPoints(this.currentPoint,c);var f=this.isSource||this.isTarget?this.getPreviewTerminalState(c):null;if(null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentPoint)this.currentPoint=this.constraintHandler.currentPoint.clone();
else if(this.outlineConnect){var d=this.isSource||this.isTarget?this.isOutlineConnectEvent(c):!1;d?f=this.marker.highlight.state:null!=f&&f!=c.getState()&&null!=this.marker.highlight.shape&&(this.marker.highlight.shape.stroke="transparent",this.marker.highlight.repaint(),f=null)}var a=this.clonePreviewState(this.currentPoint,null!=f?f.cell:null);this.updatePreviewState(a,this.currentPoint,f,c,d);this.setPreviewColor(null==this.error?this.marker.validColor:this.marker.invalidColor);this.abspoints=
a.absolutePoints;this.active=!0}this.updateHint(c,this.currentPoint);this.drawPreview();mxEvent.consume(c.getEvent());c.consume()}else mxClient.IS_IE&&null!=this.getHandleForEvent(c)&&c.consume(!1)};
mxEdgeHandler.prototype.mouseUp=function(b,c){if(null!=this.index&&null!=this.marker){var f=this.state.cell;if(c.getX()!=this.startX||c.getY()!=this.startY){var d=!this.graph.isIgnoreTerminalEvent(c.getEvent())&&this.graph.isCloneEvent(c.getEvent())&&this.cloneEnabled&&this.graph.isCellsCloneable();if(null!=this.error)0<this.error.length&&this.graph.validationAlert(this.error);else if(this.index<=mxEvent.CUSTOM_HANDLE&&this.index>mxEvent.VIRTUAL_HANDLE){if(null!=this.customHandles){d=this.graph.getModel();
d.beginUpdate();try{this.customHandles[mxEvent.CUSTOM_HANDLE-this.index].execute()}finally{d.endUpdate()}}}else if(this.isLabel)this.moveLabel(this.state,this.label.x,this.label.y);else if(this.isSource||this.isTarget){var a=null;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus&&(a=this.constraintHandler.currentFocus.cell);null==a&&this.marker.hasValidState()&&null!=this.marker.highlight&&(null!=this.marker.highlight.shape&&"transparent"!=this.marker.highlight.shape.stroke&&
"white"!=this.marker.highlight.shape.stroke)&&(a=this.marker.validState.cell);if(null!=a)f=this.connect(f,a,this.isSource,d,c);else if(this.graph.isAllowDanglingEdges()){a=this.abspoints[this.isSource?0:this.abspoints.length-1];a.x=this.roundLength(a.x/this.graph.view.scale-this.graph.view.translate.x);a.y=this.roundLength(a.y/this.graph.view.scale-this.graph.view.translate.y);var e=this.graph.getView().getState(this.graph.getModel().getParent(f));null!=e&&(a.x-=e.origin.x,a.y-=e.origin.y);a.x-=this.graph.panDx/
this.graph.view.scale;a.y-=this.graph.panDy/this.graph.view.scale;f=this.changeTerminalPoint(f,a,this.isSource,d)}}else this.active?f=this.changePoints(f,this.points,d):(this.graph.getView().invalidate(this.state.cell),this.graph.getView().validate(this.state.cell))}null!=this.marker&&(this.reset(),f!=this.state.cell&&this.graph.setSelectionCell(f));c.consume()}};
mxEdgeHandler.prototype.reset=function(){this.snapPoint=this.points=this.label=this.index=this.error=null;this.isTarget=this.isSource=this.isLabel=this.active=!1;if(this.livePreview&&null!=this.sizers)for(var b=0;b<this.sizers.length;b++)null!=this.sizers[b]&&(this.sizers[b].node.style.display="");null!=this.marker&&this.marker.reset();null!=this.constraintHandler&&this.constraintHandler.reset();if(null!=this.customHandles)for(b=0;b<this.customHandles.length;b++)this.customHandles[b].reset();this.setPreviewColor(mxConstants.EDGE_SELECTION_COLOR);
this.removeHint();this.redraw()};mxEdgeHandler.prototype.setPreviewColor=function(b){null!=this.shape&&(this.shape.stroke=b)};mxEdgeHandler.prototype.convertPoint=function(b,c){var f=this.graph.getView().getScale(),d=this.graph.getView().getTranslate();c&&(b.x=this.graph.snap(b.x),b.y=this.graph.snap(b.y));b.x=Math.round(b.x/f-d.x);b.y=Math.round(b.y/f-d.y);f=this.graph.getView().getState(this.graph.getModel().getParent(this.state.cell));null!=f&&(b.x-=f.origin.x,b.y-=f.origin.y);return b};
mxEdgeHandler.prototype.moveLabel=function(b,c,f){var d=this.graph.getModel(),a=d.getGeometry(b.cell);if(null!=a){var e=this.graph.getView().scale,a=a.clone();if(a.relative){var g=this.graph.getView().getRelativePoint(b,c,f);a.x=Math.round(1E4*g.x)/1E4;a.y=Math.round(g.y);a.offset=new mxPoint(0,0);g=this.graph.view.getPoint(b,a);a.offset=new mxPoint(Math.round((c-g.x)/e),Math.round((f-g.y)/e))}else{var k=b.absolutePoints,g=k[0],k=k[k.length-1];if(null!=g&&null!=k){var l=g.y+(k.y-g.y)/2;a.offset=new mxPoint(Math.round((c-
(g.x+(k.x-g.x)/2))/e),Math.round((f-l)/e));a.x=0;a.y=0}}d.setGeometry(b.cell,a)}};mxEdgeHandler.prototype.connect=function(b,c,f,d,a){a=this.graph.getModel();var e=a.getParent(b);a.beginUpdate();try{if(d){var g=this.graph.cloneCells([b])[0];a.add(e,g,a.getChildCount(e));var k=a.getTerminal(b,!f);this.graph.connectCell(g,k,!f);b=g}var l=this.constraintHandler.currentConstraint;null==l&&(l=new mxConnectionConstraint);this.graph.connectCell(b,c,f,l)}finally{a.endUpdate()}return b};
mxEdgeHandler.prototype.changeTerminalPoint=function(b,c,f,d){var a=this.graph.getModel();a.beginUpdate();try{if(d){var e=a.getParent(b),g=a.getTerminal(b,!f);b=this.graph.cloneCells([b])[0];a.add(e,b,a.getChildCount(e));a.setTerminal(b,g,!f)}var k=a.getGeometry(b);null!=k&&(k=k.clone(),k.setTerminalPoint(c,f),a.setGeometry(b,k),this.graph.connectCell(b,null,f,new mxConnectionConstraint))}finally{a.endUpdate()}return b};
mxEdgeHandler.prototype.changePoints=function(b,c,f){var d=this.graph.getModel();d.beginUpdate();try{if(f){var a=d.getParent(b),e=d.getTerminal(b,!0),g=d.getTerminal(b,!1);b=this.graph.cloneCells([b])[0];d.add(a,b,d.getChildCount(a));d.setTerminal(b,e,!0);d.setTerminal(b,g,!1)}var k=d.getGeometry(b);null!=k&&(k=k.clone(),k.points=c,d.setGeometry(b,k))}finally{d.endUpdate()}return b};
mxEdgeHandler.prototype.addPoint=function(b,c){var f=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(c),mxEvent.getClientY(c)),d=this.graph.isGridEnabledEvent(c);this.convertPoint(f,d);this.addPointAt(b,f.x,f.y);mxEvent.consume(c)};
mxEdgeHandler.prototype.addPointAt=function(b,c,f){var d=this.graph.getCellGeometry(b.cell);c=new mxPoint(c,f);if(null!=d){var d=d.clone(),a=this.graph.view.translate;f=this.graph.view.scale;var a=new mxPoint(a.x*f,a.y*f),e=this.graph.model.getParent(this.state.cell);this.graph.model.isVertex(e)&&(a=this.graph.view.getState(e),a=new mxPoint(a.x,a.y));f=mxUtils.findNearestSegment(b,c.x*f+a.x,c.y*f+a.y);null==d.points?d.points=[c]:d.points.splice(f,0,c);this.graph.getModel().setGeometry(b.cell,d);this.refresh();
this.redraw()}};mxEdgeHandler.prototype.removePoint=function(b,c){if(0<c&&c<this.abspoints.length-1){var f=this.graph.getCellGeometry(this.state.cell);null!=f&&null!=f.points&&(f=f.clone(),f.points.splice(c-1,1),this.graph.getModel().setGeometry(b.cell,f),this.refresh(),this.redraw())}};
mxEdgeHandler.prototype.getHandleFillColor=function(b){b=0==b;var c=this.state.cell,f=this.graph.getModel().getTerminal(c,b),d=mxConstants.HANDLE_FILLCOLOR;null!=f&&!this.graph.isCellDisconnectable(c,f,b)||null==f&&!this.graph.isTerminalPointMovable(c,b)?d=mxConstants.LOCKED_HANDLE_FILLCOLOR:null!=f&&this.graph.isCellDisconnectable(c,f,b)&&(d=mxConstants.CONNECT_HANDLE_FILLCOLOR);return d};
mxEdgeHandler.prototype.redraw=function(){this.abspoints=this.state.absolutePoints.slice();this.redrawHandles();var b=this.graph.getModel().getGeometry(this.state.cell).points;if(null!=this.bends&&0<this.bends.length&&null!=b){null==this.points&&(this.points=[]);for(var c=1;c<this.bends.length-1;c++)null!=this.bends[c]&&null!=this.abspoints[c]&&(this.points[c-1]=b[c-1])}this.drawPreview()};
mxEdgeHandler.prototype.redrawHandles=function(){var b=this.state.cell,c=this.labelShape.bounds;this.label=new mxPoint(this.state.absoluteOffset.x,this.state.absoluteOffset.y);this.labelShape.bounds=new mxRectangle(Math.round(this.label.x-c.width/2),Math.round(this.label.y-c.height/2),c.width,c.height);c=this.graph.getLabel(b);this.labelShape.visible=null!=c&&0<c.length&&this.graph.isLabelMovable(b);if(null!=this.bends&&0<this.bends.length){var f=this.abspoints.length-1,b=this.abspoints[0],d=b.x,
a=b.y,c=this.bends[0].bounds;this.bends[0].bounds=new mxRectangle(Math.floor(d-c.width/2),Math.floor(a-c.height/2),c.width,c.height);this.bends[0].fill=this.getHandleFillColor(0);this.bends[0].redraw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[0].bounds);var f=this.abspoints[f],d=f.x,a=f.y,e=this.bends.length-1,c=this.bends[e].bounds;this.bends[e].bounds=new mxRectangle(Math.floor(d-c.width/2),Math.floor(a-c.height/2),c.width,c.height);this.bends[e].fill=this.getHandleFillColor(e);
this.bends[e].redraw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[e].bounds);this.redrawInnerBends(b,f)}if(null!=this.abspoints&&null!=this.virtualBends&&0<this.virtualBends.length){b=this.abspoints[0];for(f=0;f<this.virtualBends.length;f++)null!=this.virtualBends[f]&&null!=this.abspoints[f+1]&&(d=this.abspoints[f+1],c=this.virtualBends[f],c.bounds=new mxRectangle(Math.floor(b.x+(d.x-b.x)/2-c.bounds.width/2),Math.floor(b.y+(d.y-b.y)/2-c.bounds.height/2),c.bounds.width,c.bounds.height),
c.redraw(),mxUtils.setOpacity(c.node,this.virtualBendOpacity),b=d,this.manageLabelHandle&&this.checkLabelHandle(c.bounds))}null!=this.labelShape&&this.labelShape.redraw();if(null!=this.customHandles)for(f=0;f<this.customHandles.length;f++)this.customHandles[f].redraw()};
mxEdgeHandler.prototype.setHandlesVisible=function(b){if(null!=this.bends)for(var c=0;c<this.bends.length;c++)this.bends[c].node.style.display=b?"":"none";if(null!=this.virtualBends)for(c=0;c<this.virtualBends.length;c++)this.virtualBends[c].node.style.display=b?"":"none";null!=this.labelShape&&(this.labelShape.node.style.display=b?"":"none");if(null!=this.customHandles)for(c=0;c<this.customHandles.length;c++)this.customHandles[c].setVisible(b)};
mxEdgeHandler.prototype.redrawInnerBends=function(b,c){for(var f=1;f<this.bends.length-1;f++)if(null!=this.bends[f])if(null!=this.abspoints[f]){var d=this.abspoints[f].x,a=this.abspoints[f].y,e=this.bends[f].bounds;this.bends[f].node.style.visibility="visible";this.bends[f].bounds=new mxRectangle(Math.round(d-e.width/2),Math.round(a-e.height/2),e.width,e.height);this.manageLabelHandle?this.checkLabelHandle(this.bends[f].bounds):null==this.handleImage&&this.labelShape.visible&&mxUtils.intersects(this.bends[f].bounds,
this.labelShape.bounds)&&(w=mxConstants.HANDLE_SIZE+3,h=mxConstants.HANDLE_SIZE+3,this.bends[f].bounds=new mxRectangle(Math.round(d-w/2),Math.round(a-h/2),w,h));this.bends[f].redraw()}else this.bends[f].destroy(),this.bends[f]=null};mxEdgeHandler.prototype.checkLabelHandle=function(b){if(null!=this.labelShape){var c=this.labelShape.bounds;mxUtils.intersects(b,c)&&(b.getCenterY()<c.getCenterY()?c.y=b.y+b.height:c.y=b.y-c.height)}};
mxEdgeHandler.prototype.drawPreview=function(){if(this.isLabel){var b=this.labelShape.bounds,b=new mxRectangle(Math.round(this.label.x-b.width/2),Math.round(this.label.y-b.height/2),b.width,b.height);this.labelShape.bounds=b;this.labelShape.redraw()}else null!=this.shape&&(this.shape.apply(this.state),this.shape.points=this.abspoints,this.shape.scale=this.state.view.scale,this.shape.isDashed=this.isSelectionDashed(),this.shape.stroke=this.getSelectionColor(),this.shape.strokewidth=this.getSelectionStrokeWidth()/
this.shape.scale/this.shape.scale,this.shape.arrowStrokewidth=this.getSelectionStrokeWidth(),this.shape.isShadow=!1,this.shape.redraw());null!=this.parentHighlight&&this.parentHighlight.redraw()};
mxEdgeHandler.prototype.refresh=function(){this.abspoints=this.getSelectionPoints(this.state);this.points=[];null!=this.shape&&(this.shape.points=this.abspoints);null!=this.bends&&(this.destroyBends(this.bends),this.bends=this.createBends());null!=this.virtualBends&&(this.destroyBends(this.virtualBends),this.virtualBends=this.createVirtualBends());null!=this.customHandles&&(this.destroyBends(this.customHandles),this.customHandles=this.createCustomHandles());null!=this.labelShape&&null!=this.labelShape.node&&
null!=this.labelShape.node.parentNode&&this.labelShape.node.parentNode.appendChild(this.labelShape.node)};mxEdgeHandler.prototype.destroyBends=function(b){if(null!=b)for(var c=0;c<b.length;c++)null!=b[c]&&b[c].destroy()};
mxEdgeHandler.prototype.destroy=function(){null!=this.escapeHandler&&(this.state.view.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.marker&&(this.marker.destroy(),this.marker=null);null!=this.shape&&(this.shape.destroy(),this.shape=null);null!=this.parentHighlight&&(this.parentHighlight.destroy(),this.parentHighlight=null);null!=this.labelShape&&(this.labelShape.destroy(),this.labelShape=null);null!=this.constraintHandler&&(this.constraintHandler.destroy(),this.constraintHandler=
null);this.destroyBends(this.virtualBends);this.virtualBends=null;this.destroyBends(this.customHandles);this.customHandles=null;this.destroyBends(this.bends);this.bends=null;this.removeHint()};function mxElbowEdgeHandler(b){mxEdgeHandler.call(this,b)}mxUtils.extend(mxElbowEdgeHandler,mxEdgeHandler);mxElbowEdgeHandler.prototype.flipEnabled=!0;mxElbowEdgeHandler.prototype.doubleClickOrientationResource="none"!=mxClient.language?"doubleClickOrientation":"";
mxElbowEdgeHandler.prototype.createBends=function(){var b=[],c=this.createHandleShape(0);this.initBend(c);c.setCursor(mxConstants.CURSOR_TERMINAL_HANDLE);b.push(c);b.push(this.createVirtualBend(mxUtils.bind(this,function(b){!mxEvent.isConsumed(b)&&this.flipEnabled&&(this.graph.flipEdge(this.state.cell,b),mxEvent.consume(b))})));this.points.push(new mxPoint(0,0));c=this.createHandleShape(2);this.initBend(c);c.setCursor(mxConstants.CURSOR_TERMINAL_HANDLE);b.push(c);return b};
mxElbowEdgeHandler.prototype.createVirtualBend=function(b){var c=this.createHandleShape();this.initBend(c,b);c.setCursor(this.getCursorForBend());this.graph.isCellBendable(this.state.cell)||(c.node.style.display="none");return c};
mxElbowEdgeHandler.prototype.getCursorForBend=function(){return this.state.style[mxConstants.STYLE_EDGE]==mxEdgeStyle.TopToBottom||this.state.style[mxConstants.STYLE_EDGE]==mxConstants.EDGESTYLE_TOPTOBOTTOM||(this.state.style[mxConstants.STYLE_EDGE]==mxEdgeStyle.ElbowConnector||this.state.style[mxConstants.STYLE_EDGE]==mxConstants.EDGESTYLE_ELBOW)&&this.state.style[mxConstants.STYLE_ELBOW]==mxConstants.ELBOW_VERTICAL?"row-resize":"col-resize"};
mxElbowEdgeHandler.prototype.getTooltipForNode=function(b){var c=null;if(null!=this.bends&&null!=this.bends[1]&&(b==this.bends[1].node||b.parentNode==this.bends[1].node))c=this.doubleClickOrientationResource,c=mxResources.get(c)||c;return c};
mxElbowEdgeHandler.prototype.convertPoint=function(b,c){var f=this.graph.getView().getScale(),d=this.graph.getView().getTranslate(),a=this.state.origin;c&&(b.x=this.graph.snap(b.x),b.y=this.graph.snap(b.y));b.x=Math.round(b.x/f-d.x-a.x);b.y=Math.round(b.y/f-d.y-a.y);return b};
mxElbowEdgeHandler.prototype.redrawInnerBends=function(b,c){var f=this.graph.getModel().getGeometry(this.state.cell),d=this.state.absolutePoints,a=null;1<d.length?(b=d[1],c=d[d.length-2]):null!=f.points&&0<f.points.length&&(a=d[0]);a=null==a?new mxPoint(b.x+(c.x-b.x)/2,b.y+(c.y-b.y)/2):new mxPoint(this.graph.getView().scale*(a.x+this.graph.getView().translate.x+this.state.origin.x),this.graph.getView().scale*(a.y+this.graph.getView().translate.y+this.state.origin.y));d=this.bends[1].bounds;f=d.width;
d=d.height;f=new mxRectangle(Math.round(a.x-f/2),Math.round(a.y-d/2),f,d);this.manageLabelHandle?this.checkLabelHandle(f):null==this.handleImage&&this.labelShape.visible&&mxUtils.intersects(f,this.labelShape.bounds)&&(f=mxConstants.HANDLE_SIZE+3,d=mxConstants.HANDLE_SIZE+3,f=new mxRectangle(Math.floor(a.x-f/2),Math.floor(a.y-d/2),f,d));this.bends[1].bounds=f;this.bends[1].redraw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[1].bounds)};
function mxEdgeSegmentHandler(b){mxEdgeHandler.call(this,b)}mxUtils.extend(mxEdgeSegmentHandler,mxElbowEdgeHandler);mxEdgeSegmentHandler.prototype.getCurrentPoints=function(){var b=this.state.absolutePoints;if(null!=b&&(2==b.length||3==b.length&&(b[0].x==b[1].x&&b[1].x==b[2].x||b[0].y==b[1].y&&b[1].y==b[2].y)))var c=b[0].x+(b[b.length-1].x-b[0].x)/2,f=b[0].y+(b[b.length-1].y-b[0].y)/2,b=[b[0],new mxPoint(c,f),new mxPoint(c,f),b[b.length-1]];return b};
mxEdgeSegmentHandler.prototype.getPreviewPoints=function(b){if(this.isSource||this.isTarget)return mxElbowEdgeHandler.prototype.getPreviewPoints.apply(this,arguments);var c=this.getCurrentPoints(),f=this.convertPoint(c[0].clone(),!1);b=this.convertPoint(b.clone(),!1);for(var d=[],a=1;a<c.length;a++){var e=this.convertPoint(c[a].clone(),!1);a==this.index&&(0==Math.round(f.x-e.x)&&(f.x=b.x,e.x=b.x),0==Math.round(f.y-e.y)&&(f.y=b.y,e.y=b.y));a<c.length-1&&d.push(e);f=e}if(1==d.length){var c=this.state.getVisibleTerminalState(!0),
f=this.state.getVisibleTerminalState(!1),e=this.state.view.getScale(),g=this.state.view.getTranslate(),a=d[0].x*e+g.x,e=d[0].y*e+g.y;if(null!=c&&mxUtils.contains(c,a,e)||null!=f&&mxUtils.contains(f,a,e))d=[b,b]}return d};
mxEdgeSegmentHandler.prototype.updatePreviewState=function(b,c,f,d){mxEdgeHandler.prototype.updatePreviewState.apply(this,arguments);if(!this.isSource&&!this.isTarget){c=this.convertPoint(c.clone(),!1);for(var a=b.absolutePoints,e=a[0],g=a[1],k=[],l=2;l<a.length;l++){var m=a[l];(0!=Math.round(e.x-g.x)||0!=Math.round(g.x-m.x))&&(0!=Math.round(e.y-g.y)||0!=Math.round(g.y-m.y))&&k.push(this.convertPoint(g.clone(),!1));e=g;g=m}e=this.state.getVisibleTerminalState(!0);g=this.state.getVisibleTerminalState(!1);
l=this.state.absolutePoints;if(0==k.length&&(0==Math.round(a[0].x-a[a.length-1].x)||0==Math.round(a[0].y-a[a.length-1].y)))k=[c,c];else if(5==a.length&&2==k.length&&null!=e&&null!=g&&null!=l&&0==Math.round(l[0].x-l[l.length-1].x)){var k=this.graph.getView(),l=k.getScale(),m=k.getTranslate(),a=k.getRoutingCenterY(e)/l-m.y,n=this.graph.getConnectionConstraint(b,e,!0);null!=n&&(n=this.graph.getConnectionPoint(e,n),null!=n&&(this.convertPoint(n,!1),a=n.y));k=k.getRoutingCenterY(g)/l-m.y;if(l=this.graph.getConnectionConstraint(b,
g,!1))n=this.graph.getConnectionPoint(g,l),null!=n&&(this.convertPoint(n,!1),k=n.y);k=[new mxPoint(c.x,a),new mxPoint(c.x,k)]}this.points=k;b.view.updateFixedTerminalPoints(b,e,g);b.view.updatePoints(b,this.points,e,g);b.view.updateFloatingTerminalPoints(b,e,g)}};
mxEdgeSegmentHandler.prototype.connect=function(b,c,f,d,a){for(var e=this.abspoints,g=e[0],k=e[1],l=[],m=2;m<e.length;m++){var n=e[m];(0!=Math.round(g.x-k.x)||0!=Math.round(k.x-n.x))&&(0!=Math.round(g.y-k.y)||0!=Math.round(k.y-n.y))&&l.push(this.convertPoint(k.clone(),!1));g=k;k=n}e=this.graph.getModel();e.beginUpdate();try{var p=e.getGeometry(b);null!=p&&(p=p.clone(),p.points=l,e.setGeometry(b,p));b=mxEdgeHandler.prototype.connect.apply(this,arguments)}finally{e.endUpdate()}return b};
mxEdgeSegmentHandler.prototype.getTooltipForNode=function(b){return null};mxEdgeSegmentHandler.prototype.start=function(b,c,f){mxEdgeHandler.prototype.start.apply(this,arguments);null!=this.bends[f]&&!this.isSource&&!this.isTarget&&mxUtils.setOpacity(this.bends[f].node,100)};
mxEdgeSegmentHandler.prototype.createBends=function(){var b=[],c=this.createHandleShape(0);this.initBend(c);c.setCursor(mxConstants.CURSOR_TERMINAL_HANDLE);b.push(c);var f=this.getCurrentPoints();if(this.graph.isCellBendable(this.state.cell)){null==this.points&&(this.points=[]);for(var d=0;d<f.length-1;d++){c=this.createVirtualBend();b.push(c);var a=0==Math.round(f[d].x-f[d+1].x);0==Math.round(f[d].y-f[d+1].y)&&d<f.length-2&&(a=0==Math.round(f[d].x-f[d+2].x));c.setCursor(a?"col-resize":"row-resize");
this.points.push(new mxPoint(0,0))}}c=this.createHandleShape(f.length);this.initBend(c);c.setCursor(mxConstants.CURSOR_TERMINAL_HANDLE);b.push(c);return b};mxEdgeSegmentHandler.prototype.redraw=function(){this.refresh();mxEdgeHandler.prototype.redraw.apply(this,arguments)};
mxEdgeSegmentHandler.prototype.redrawInnerBends=function(b,c){if(this.graph.isCellBendable(this.state.cell)){var f=this.getCurrentPoints();if(null!=f&&1<f.length){var d=!1;if(4==f.length&&0==Math.round(f[1].x-f[2].x)&&0==Math.round(f[1].y-f[2].y))if(d=!0,0==Math.round(f[0].y-f[f.length-1].y)){var a=f[0].x+(f[f.length-1].x-f[0].x)/2;f[1]=new mxPoint(a,f[1].y);f[2]=new mxPoint(a,f[2].y)}else a=f[0].y+(f[f.length-1].y-f[0].y)/2,f[1]=new mxPoint(f[1].x,a),f[2]=new mxPoint(f[2].x,a);for(a=0;a<f.length-
1;a++)if(null!=this.bends[a+1]){b=f[a];c=f[a+1];var e=new mxPoint(b.x+(c.x-b.x)/2,b.y+(c.y-b.y)/2),g=this.bends[a+1].bounds;this.bends[a+1].bounds=new mxRectangle(Math.floor(e.x-g.width/2),Math.floor(e.y-g.height/2),g.width,g.height);this.bends[a+1].redraw();this.manageLabelHandle&&this.checkLabelHandle(this.bends[a+1].bounds)}d&&(mxUtils.setOpacity(this.bends[1].node,this.virtualBendOpacity),mxUtils.setOpacity(this.bends[3].node,this.virtualBendOpacity))}}};
function mxKeyHandler(b,c){null!=b&&(this.graph=b,this.target=c||document.documentElement,this.normalKeys=[],this.shiftKeys=[],this.controlKeys=[],this.controlShiftKeys=[],this.keydownHandler=mxUtils.bind(this,function(b){this.keyDown(b)}),mxEvent.addListener(this.target,"keydown",this.keydownHandler),mxClient.IS_IE&&mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()})))}mxKeyHandler.prototype.graph=null;mxKeyHandler.prototype.target=null;
mxKeyHandler.prototype.normalKeys=null;mxKeyHandler.prototype.shiftKeys=null;mxKeyHandler.prototype.controlKeys=null;mxKeyHandler.prototype.controlShiftKeys=null;mxKeyHandler.prototype.enabled=!0;mxKeyHandler.prototype.isEnabled=function(){return this.enabled};mxKeyHandler.prototype.setEnabled=function(b){this.enabled=b};mxKeyHandler.prototype.bindKey=function(b,c){this.normalKeys[b]=c};mxKeyHandler.prototype.bindShiftKey=function(b,c){this.shiftKeys[b]=c};
mxKeyHandler.prototype.bindControlKey=function(b,c){this.controlKeys[b]=c};mxKeyHandler.prototype.bindControlShiftKey=function(b,c){this.controlShiftKeys[b]=c};mxKeyHandler.prototype.isControlDown=function(b){return mxEvent.isControlDown(b)};
mxKeyHandler.prototype.getFunction=function(b){return null!=b&&!mxEvent.isAltDown(b)?this.isControlDown(b)?mxEvent.isShiftDown(b)?this.controlShiftKeys[b.keyCode]:this.controlKeys[b.keyCode]:mxEvent.isShiftDown(b)?this.shiftKeys[b.keyCode]:this.normalKeys[b.keyCode]:null};
mxKeyHandler.prototype.isGraphEvent=function(b){var c=mxEvent.getSource(b);return c==this.target||c.parentNode==this.target||null!=this.graph.cellEditor&&this.graph.cellEditor.isEventSource(b)?!0:mxUtils.isAncestorNode(this.graph.container,c)};mxKeyHandler.prototype.keyDown=function(b){if(this.isEnabledForEvent(b))if(27==b.keyCode)this.escape(b);else if(!this.isEventIgnored(b)){var c=this.getFunction(b);null!=c&&(c(b),mxEvent.consume(b))}};
mxKeyHandler.prototype.isEnabledForEvent=function(b){return this.graph.isEnabled()&&!mxEvent.isConsumed(b)&&this.isGraphEvent(b)&&this.isEnabled()};mxKeyHandler.prototype.isEventIgnored=function(b){return this.graph.isEditing()};mxKeyHandler.prototype.escape=function(b){this.graph.isEscapeEnabled()&&this.graph.escape(b)};
mxKeyHandler.prototype.destroy=function(){null!=this.target&&null!=this.keydownHandler&&(mxEvent.removeListener(this.target,"keydown",this.keydownHandler),this.keydownHandler=null);this.target=null};function mxTooltipHandler(b,c){null!=b&&(this.graph=b,this.delay=c||500,this.graph.addMouseListener(this))}mxTooltipHandler.prototype.zIndex=10005;mxTooltipHandler.prototype.graph=null;mxTooltipHandler.prototype.delay=null;mxTooltipHandler.prototype.ignoreTouchEvents=!0;
mxTooltipHandler.prototype.hideOnHover=!1;mxTooltipHandler.prototype.destroyed=!1;mxTooltipHandler.prototype.enabled=!0;mxTooltipHandler.prototype.isEnabled=function(){return this.enabled};mxTooltipHandler.prototype.setEnabled=function(b){this.enabled=b};mxTooltipHandler.prototype.isHideOnHover=function(){return this.hideOnHover};mxTooltipHandler.prototype.setHideOnHover=function(b){this.hideOnHover=b};
mxTooltipHandler.prototype.init=function(){null!=document.body&&(this.div=document.createElement("div"),this.div.className="mxTooltip",this.div.style.visibility="hidden",document.body.appendChild(this.div),mxEvent.addGestureListeners(this.div,mxUtils.bind(this,function(b){this.hideTooltip()})))};mxTooltipHandler.prototype.mouseDown=function(b,c){this.reset(c,!1);this.hideTooltip()};
mxTooltipHandler.prototype.mouseMove=function(b,c){if(c.getX()!=this.lastX||c.getY()!=this.lastY)this.reset(c,!0),(this.isHideOnHover()||c.getState()!=this.state||c.getSource()!=this.node&&(!this.stateSource||null!=c.getState()&&this.stateSource==(c.isSource(c.getState().shape)||!c.isSource(c.getState().text))))&&this.hideTooltip();this.lastX=c.getX();this.lastY=c.getY()};mxTooltipHandler.prototype.mouseUp=function(b,c){this.reset(c,!0);this.hideTooltip()};
mxTooltipHandler.prototype.resetTimer=function(){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null)};
mxTooltipHandler.prototype.reset=function(b,c){if(!this.ignoreTouchEvents||mxEvent.isMouseEvent(b.getEvent()))if(this.resetTimer(),c&&this.isEnabled()&&null!=b.getState()&&(null==this.div||"hidden"==this.div.style.visibility)){var f=b.getState(),d=b.getSource(),a=b.getX(),e=b.getY(),g=b.isSource(f.shape)||b.isSource(f.text);this.thread=window.setTimeout(mxUtils.bind(this,function(){if(!this.graph.isEditing()&&!this.graph.popupMenuHandler.isMenuShowing()&&!this.graph.isMouseDown){var b=this.graph.getTooltip(f,
d,a,e);this.show(b,a,e);this.state=f;this.node=d;this.stateSource=g}}),this.delay)}};mxTooltipHandler.prototype.hide=function(){this.resetTimer();this.hideTooltip()};mxTooltipHandler.prototype.hideTooltip=function(){null!=this.div&&(this.div.style.visibility="hidden")};
mxTooltipHandler.prototype.show=function(b,c,f){if(!this.destroyed&&null!=b&&0<b.length){null==this.div&&this.init();var d=mxUtils.getScrollOrigin();this.div.style.zIndex=this.zIndex;this.div.style.left=c+d.x+"px";this.div.style.top=f+mxConstants.TOOLTIP_VERTICAL_OFFSET+d.y+"px";mxUtils.isNode(b)?(this.div.innerHTML="",this.div.appendChild(b)):this.div.innerHTML=b.replace(/\n/g,"\x3cbr\x3e");this.div.style.visibility="";mxUtils.fit(this.div)}};
mxTooltipHandler.prototype.destroy=function(){this.destroyed||(this.graph.removeMouseListener(this),mxEvent.release(this.div),null!=this.div&&null!=this.div.parentNode&&this.div.parentNode.removeChild(this.div),this.destroyed=!0,this.div=null)};function mxCellTracker(b,c,f){mxCellMarker.call(this,b,c);this.graph.addMouseListener(this);null!=f&&(this.getCell=f);mxClient.IS_IE&&mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()}))}mxUtils.extend(mxCellTracker,mxCellMarker);
mxCellTracker.prototype.mouseDown=function(b,c){};mxCellTracker.prototype.mouseMove=function(b,c){this.isEnabled()&&this.process(c)};mxCellTracker.prototype.mouseUp=function(b,c){};mxCellTracker.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,this.graph.removeMouseListener(this),mxCellMarker.prototype.destroy.apply(this))};
function mxCellHighlight(b,c,f,d){null!=b&&(this.graph=b,this.highlightColor=null!=c?c:mxConstants.DEFAULT_VALID_COLOR,this.strokeWidth=null!=f?f:mxConstants.HIGHLIGHT_STROKEWIDTH,this.dashed=null!=d?d:!1,this.opacity=mxConstants.HIGHLIGHT_OPACITY,this.repaintHandler=mxUtils.bind(this,function(){if(null!=this.state){var a=this.graph.view.getState(this.state.cell);null==a?this.hide():(this.state=a,this.repaint())}}),this.graph.getView().addListener(mxEvent.SCALE,this.repaintHandler),this.graph.getView().addListener(mxEvent.TRANSLATE,
this.repaintHandler),this.graph.getView().addListener(mxEvent.SCALE_AND_TRANSLATE,this.repaintHandler),this.graph.getModel().addListener(mxEvent.CHANGE,this.repaintHandler),this.resetHandler=mxUtils.bind(this,function(){this.hide()}),this.graph.getView().addListener(mxEvent.DOWN,this.resetHandler),this.graph.getView().addListener(mxEvent.UP,this.resetHandler))}mxCellHighlight.prototype.keepOnTop=!1;mxCellHighlight.prototype.graph=!0;mxCellHighlight.prototype.state=null;
mxCellHighlight.prototype.spacing=2;mxCellHighlight.prototype.resetHandler=null;mxCellHighlight.prototype.setHighlightColor=function(b){this.highlightColor=b;null!=this.shape&&(this.shape.stroke=b)};mxCellHighlight.prototype.drawHighlight=function(){this.shape=this.createShape();this.repaint();!this.keepOnTop&&this.shape.node.parentNode.firstChild!=this.shape.node&&this.shape.node.parentNode.insertBefore(this.shape.node,this.shape.node.parentNode.firstChild)};
mxCellHighlight.prototype.createShape=function(){var b=this.graph.cellRenderer.createShape(this.state);b.svgStrokeTolerance=this.graph.tolerance;b.scale=this.state.view.scale;b.outline=!0;b.points=this.state.absolutePoints;b.apply(this.state);b.strokewidth=this.strokeWidth/this.state.view.scale/this.state.view.scale;b.arrowStrokewidth=this.strokeWidth;b.stroke=this.highlightColor;b.opacity=this.opacity;b.isDashed=this.dashed;b.isShadow=!1;b.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML:
mxConstants.DIALECT_SVG;b.init(this.graph.getView().getOverlayPane());mxEvent.redirectMouseEvents(b.node,this.graph,this.state);this.graph.dialect!=mxConstants.DIALECT_SVG?b.pointerEvents=!1:b.svgPointerEvents="stroke";return b};
mxCellHighlight.prototype.repaint=function(){if(null!=this.state&&null!=this.shape){this.graph.model.isEdge(this.state.cell)?this.shape.points=this.state.absolutePoints:(this.shape.bounds=new mxRectangle(this.state.x-this.spacing,this.state.y-this.spacing,this.state.width+2*this.spacing,this.state.height+2*this.spacing),this.shape.rotation=Number(this.state.style[mxConstants.STYLE_ROTATION]||"0"));null!=this.state.shape&&this.shape.setCursor(this.state.shape.getCursor());if(mxClient.IS_QUIRKS||8==
document.documentMode)"transparent"==this.shape.stroke?(this.shape.stroke="white",this.shape.opacity=1):this.shape.opacity=this.opacity;this.shape.redraw()}};mxCellHighlight.prototype.hide=function(){this.highlight(null)};mxCellHighlight.prototype.highlight=function(b){this.state!=b&&(null!=this.shape&&(this.shape.destroy(),this.shape=null),this.state=b,null!=this.state&&this.drawHighlight())};
mxCellHighlight.prototype.isHighlightAt=function(b,c){var f=!1;if(null!=this.shape&&null!=document.elementFromPoint&&!mxClient.IS_QUIRKS)for(var d=document.elementFromPoint(b,c);null!=d;){if(d==this.shape.node){f=!0;break}d=d.parentNode}return f};
mxCellHighlight.prototype.destroy=function(){this.graph.getView().removeListener(this.resetHandler);this.graph.getView().removeListener(this.repaintHandler);this.graph.getModel().removeListener(this.repaintHandler);null!=this.shape&&(this.shape.destroy(),this.shape=null)};
function mxDefaultKeyHandler(b){if(null!=b){this.editor=b;this.handler=new mxKeyHandler(b.graph);var c=this.handler.escape;this.handler.escape=function(f){c.apply(this,arguments);b.hideProperties();b.fireEvent(new mxEventObject(mxEvent.ESCAPE,"event",f))}}}mxDefaultKeyHandler.prototype.editor=null;mxDefaultKeyHandler.prototype.handler=null;
mxDefaultKeyHandler.prototype.bindAction=function(b,c,f){var d=mxUtils.bind(this,function(){this.editor.execute(c)});f?this.handler.bindControlKey(b,d):this.handler.bindKey(b,d)};mxDefaultKeyHandler.prototype.destroy=function(){this.handler.destroy();this.handler=null};function mxDefaultPopupMenu(b){this.config=b}mxDefaultPopupMenu.prototype.imageBasePath=null;mxDefaultPopupMenu.prototype.config=null;
mxDefaultPopupMenu.prototype.createMenu=function(b,c,f,d){if(null!=this.config){var a=this.createConditions(b,f,d);this.addItems(b,c,f,d,a,this.config.firstChild,null)}};
mxDefaultPopupMenu.prototype.addItems=function(b,c,f,d,a,e,g){for(var k=!1;null!=e;){if("add"==e.nodeName){var l=e.getAttribute("if");if(null==l||a[l]){var l=e.getAttribute("as"),l=mxResources.get(l)||l,m=mxUtils.eval(mxUtils.getTextContent(e)),n=e.getAttribute("action"),p=e.getAttribute("icon"),r=e.getAttribute("iconCls"),s=e.getAttribute("enabled-if"),s=null==s||a[s];k&&(c.addSeparator(g),k=!1);null!=p&&this.imageBasePath&&(p=this.imageBasePath+p);l=this.addAction(c,b,l,p,m,n,f,g,r,s);this.addItems(b,
c,f,d,a,e.firstChild,l)}}else"separator"==e.nodeName&&(k=!0);e=e.nextSibling}};mxDefaultPopupMenu.prototype.addAction=function(b,c,f,d,a,e,g,k,l,m){return b.addItem(f,d,function(b){"function"==typeof a&&a.call(c,c,g,b);null!=e&&c.execute(e,g,b)},k,l,m)};
mxDefaultPopupMenu.prototype.createConditions=function(b,c,f){var d=b.graph.getModel(),a=d.getChildCount(c),e=[];e.nocell=null==c;e.ncells=1<b.graph.getSelectionCount();e.notRoot=d.getRoot()!=d.getParent(b.graph.getDefaultParent());e.cell=null!=c;d=null!=c&&1==b.graph.getSelectionCount();e.nonEmpty=d&&0<a;e.expandable=d&&b.graph.isCellFoldable(c,!1);e.collapsable=d&&b.graph.isCellFoldable(c,!0);e.validRoot=d&&b.graph.isValidRoot(c);e.emptyValidRoot=e.validRoot&&0==a;e.swimlane=d&&b.graph.isSwimlane(c);
a=this.config.getElementsByTagName("condition");for(d=0;d<a.length;d++){var g=mxUtils.eval(mxUtils.getTextContent(a[d])),k=a[d].getAttribute("name");null!=k&&"function"==typeof g&&(e[k]=g(b,c,f))}return e};function mxDefaultToolbar(b,c){this.editor=c;null!=b&&null!=c&&this.init(b)}mxDefaultToolbar.prototype.editor=null;mxDefaultToolbar.prototype.toolbar=null;mxDefaultToolbar.prototype.resetHandler=null;mxDefaultToolbar.prototype.spacing=4;mxDefaultToolbar.prototype.connectOnDrop=!1;
mxDefaultToolbar.prototype.init=function(b){null!=b&&(this.toolbar=new mxToolbar(b),this.toolbar.addListener(mxEvent.SELECT,mxUtils.bind(this,function(b,f){var d=f.getProperty("function");this.editor.insertFunction=null!=d?mxUtils.bind(this,function(){d.apply(this,arguments);this.toolbar.resetMode()}):null})),this.resetHandler=mxUtils.bind(this,function(){null!=this.toolbar&&this.toolbar.resetMode(!0)}),this.editor.graph.addListener(mxEvent.DOUBLE_CLICK,this.resetHandler),this.editor.addListener(mxEvent.ESCAPE,
this.resetHandler))};mxDefaultToolbar.prototype.addItem=function(b,c,f,d){var a=mxUtils.bind(this,function(){null!=f&&0<f.length&&this.editor.execute(f)});return this.toolbar.addItem(b,c,a,d)};mxDefaultToolbar.prototype.addSeparator=function(b){b=b||mxClient.imageBasePath+"/separator.gif";this.toolbar.addSeparator(b)};mxDefaultToolbar.prototype.addCombo=function(){return this.toolbar.addCombo()};mxDefaultToolbar.prototype.addActionCombo=function(b){return this.toolbar.addActionCombo(b)};
mxDefaultToolbar.prototype.addActionOption=function(b,c,f){var d=mxUtils.bind(this,function(){this.editor.execute(f)});this.addOption(b,c,d)};mxDefaultToolbar.prototype.addOption=function(b,c,f){return this.toolbar.addOption(b,c,f)};mxDefaultToolbar.prototype.addMode=function(b,c,f,d,a){var e=mxUtils.bind(this,function(){this.editor.setMode(f);null!=a&&a(this.editor)});return this.toolbar.addSwitchMode(b,c,e,d)};
mxDefaultToolbar.prototype.addPrototype=function(b,c,f,d,a,e){var g=mxUtils.bind(this,function(){return"function"==typeof f?f():null!=f?this.editor.graph.cloneCells([f])[0]:null}),k=mxUtils.bind(this,function(b,d){"function"==typeof a?a(this.editor,g(),b,d):this.drop(g(),b,d);this.toolbar.resetMode();mxEvent.consume(b)});b=this.toolbar.addMode(b,c,k,d,null,e);this.installDropHandler(b,function(a,b,d){k(b,d)});return b};
mxDefaultToolbar.prototype.drop=function(b,c,f){var d=this.editor.graph,a=d.getModel();if(null==f||a.isEdge(f)||!this.connectOnDrop||!d.isCellConnectable(f)){for(;null!=f&&!d.isValidDropTarget(f,[b],c);)f=a.getParent(f);this.insert(b,c,f)}else this.connect(b,c,f)};
mxDefaultToolbar.prototype.insert=function(b,c,f){var d=this.editor.graph;if(d.canImportCell(b)){var a=mxEvent.getClientX(c),e=mxEvent.getClientY(c),a=mxUtils.convertPoint(d.container,a,e);return d.isSplitEnabled()&&d.isSplitTarget(f,[b],c)?d.splitEdge(f,[b],null,a.x,a.y):this.editor.addVertex(f,b,a.x,a.y)}return null};
mxDefaultToolbar.prototype.connect=function(b,c,f){c=this.editor.graph;var d=c.getModel();if(null!=f&&c.isCellConnectable(b)&&c.isEdgeValid(null,f,b)){var a=null;d.beginUpdate();try{var e=d.getGeometry(f),g=d.getGeometry(b).clone();g.x=e.x+(e.width-g.width)/2;g.y=e.y+(e.height-g.height)/2;var k=this.spacing*c.gridSize,l=20*d.getDirectedEdgeCount(f,!0);this.editor.horizontalFlow?g.x+=(g.width+e.width)/2+k+l:g.y+=(g.height+e.height)/2+k+l;b.setGeometry(g);var m=d.getParent(f);c.addCell(b,m);c.constrainChild(b);
a=this.editor.createEdge(f,b);if(null==d.getGeometry(a)){var n=new mxGeometry;n.relative=!0;d.setGeometry(a,n)}c.addEdge(a,m,f,b)}finally{d.endUpdate()}c.setSelectionCells([b,a]);c.scrollCellToVisible(b)}};
mxDefaultToolbar.prototype.installDropHandler=function(b,c){var f=document.createElement("img");f.setAttribute("src",b.getAttribute("src"));var d=mxUtils.bind(this,function(a){f.style.width=2*b.offsetWidth+"px";f.style.height=2*b.offsetHeight+"px";mxUtils.makeDraggable(b,this.editor.graph,c,f);mxEvent.removeListener(f,"load",d)});mxClient.IS_IE?d():mxEvent.addListener(f,"load",d)};
mxDefaultToolbar.prototype.destroy=function(){null!=this.resetHandler&&(this.editor.graph.removeListener("dblclick",this.resetHandler),this.editor.removeListener("escape",this.resetHandler),this.resetHandler=null);null!=this.toolbar&&(this.toolbar.destroy(),this.toolbar=null)};
function mxEditor(b){this.actions=[];this.addActions();if(null!=document.body){this.cycleAttributeValues=[];this.popupHandler=new mxDefaultPopupMenu;this.undoManager=new mxUndoManager;this.graph=this.createGraph();this.toolbar=this.createToolbar();this.keyHandler=new mxDefaultKeyHandler(this);this.configure(b);this.graph.swimlaneIndicatorColorAttribute=this.cycleAttributeName;if(null!=this.onInit)this.onInit();mxClient.IS_IE&&mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){this.destroy()}))}}
mxLoadResources&&mxResources.add(mxClient.basePath+"/resources/editor");mxEditor.prototype=new mxEventSource;mxEditor.prototype.constructor=mxEditor;mxEditor.prototype.askZoomResource="none"!=mxClient.language?"askZoom":"";mxEditor.prototype.lastSavedResource="none"!=mxClient.language?"lastSaved":"";mxEditor.prototype.currentFileResource="none"!=mxClient.language?"currentFile":"";mxEditor.prototype.propertiesResource="none"!=mxClient.language?"properties":"";
mxEditor.prototype.tasksResource="none"!=mxClient.language?"tasks":"";mxEditor.prototype.helpResource="none"!=mxClient.language?"help":"";mxEditor.prototype.outlineResource="none"!=mxClient.language?"outline":"";mxEditor.prototype.outline=null;mxEditor.prototype.graph=null;mxEditor.prototype.graphRenderHint=null;mxEditor.prototype.toolbar=null;mxEditor.prototype.status=null;mxEditor.prototype.popupHandler=null;mxEditor.prototype.undoManager=null;mxEditor.prototype.keyHandler=null;
mxEditor.prototype.actions=null;mxEditor.prototype.dblClickAction="edit";mxEditor.prototype.swimlaneRequired=!1;mxEditor.prototype.disableContextMenu=!0;mxEditor.prototype.insertFunction=null;mxEditor.prototype.forcedInserting=!1;mxEditor.prototype.templates=null;mxEditor.prototype.defaultEdge=null;mxEditor.prototype.defaultEdgeStyle=null;mxEditor.prototype.defaultGroup=null;mxEditor.prototype.groupBorderSize=null;mxEditor.prototype.filename=null;mxEditor.prototype.linefeed="\x26#xa;";
mxEditor.prototype.postParameterName="xml";mxEditor.prototype.escapePostData=!0;mxEditor.prototype.urlPost=null;mxEditor.prototype.urlImage=null;mxEditor.prototype.horizontalFlow=!1;mxEditor.prototype.layoutDiagram=!1;mxEditor.prototype.swimlaneSpacing=0;mxEditor.prototype.maintainSwimlanes=!1;mxEditor.prototype.layoutSwimlanes=!1;mxEditor.prototype.cycleAttributeValues=null;mxEditor.prototype.cycleAttributeIndex=0;mxEditor.prototype.cycleAttributeName="fillColor";mxEditor.prototype.tasks=null;
mxEditor.prototype.tasksWindowImage=null;mxEditor.prototype.tasksTop=20;mxEditor.prototype.help=null;mxEditor.prototype.helpWindowImage=null;mxEditor.prototype.urlHelp=null;mxEditor.prototype.helpWidth=300;mxEditor.prototype.helpHeight=260;mxEditor.prototype.propertiesWidth=240;mxEditor.prototype.propertiesHeight=null;mxEditor.prototype.movePropertiesDialog=!1;mxEditor.prototype.validating=!1;mxEditor.prototype.modified=!1;mxEditor.prototype.isModified=function(){return this.modified};
mxEditor.prototype.setModified=function(b){this.modified=b};
mxEditor.prototype.addActions=function(){this.addAction("save",function(b){b.save()});this.addAction("print",function(b){(new mxPrintPreview(b.graph,1)).open()});this.addAction("show",function(b){mxUtils.show(b.graph,null,10,10)});this.addAction("exportImage",function(b){var c=b.getUrlImage();if(null==c||mxClient.IS_LOCAL)b.execute("show");else{var f=mxUtils.getViewXml(b.graph,1),f=mxUtils.getXml(f,"\n");mxUtils.submit(c,b.postParameterName+"\x3d"+encodeURIComponent(f),document,"_blank")}});this.addAction("refresh",
function(b){b.graph.refresh()});this.addAction("cut",function(b){b.graph.isEnabled()&&mxClipboard.cut(b.graph)});this.addAction("copy",function(b){b.graph.isEnabled()&&mxClipboard.copy(b.graph)});this.addAction("paste",function(b){b.graph.isEnabled()&&mxClipboard.paste(b.graph)});this.addAction("delete",function(b){b.graph.isEnabled()&&b.graph.removeCells()});this.addAction("group",function(b){b.graph.isEnabled()&&b.graph.setSelectionCell(b.groupCells())});this.addAction("ungroup",function(b){b.graph.isEnabled()&&
b.graph.setSelectionCells(b.graph.ungroupCells())});this.addAction("removeFromParent",function(b){b.graph.isEnabled()&&b.graph.removeCellsFromParent()});this.addAction("undo",function(b){b.graph.isEnabled()&&b.undo()});this.addAction("redo",function(b){b.graph.isEnabled()&&b.redo()});this.addAction("zoomIn",function(b){b.graph.zoomIn()});this.addAction("zoomOut",function(b){b.graph.zoomOut()});this.addAction("actualSize",function(b){b.graph.zoomActual()});this.addAction("fit",function(b){b.graph.fit()});
this.addAction("showProperties",function(b,c){b.showProperties(c)});this.addAction("selectAll",function(b){b.graph.isEnabled()&&b.graph.selectAll()});this.addAction("selectNone",function(b){b.graph.isEnabled()&&b.graph.clearSelection()});this.addAction("selectVertices",function(b){b.graph.isEnabled()&&b.graph.selectVertices()});this.addAction("selectEdges",function(b){b.graph.isEnabled()&&b.graph.selectEdges()});this.addAction("edit",function(b,c){b.graph.isEnabled()&&b.graph.isCellEditable(c)&&b.graph.startEditingAtCell(c)});
this.addAction("toBack",function(b,c){b.graph.isEnabled()&&b.graph.orderCells(!0)});this.addAction("toFront",function(b,c){b.graph.isEnabled()&&b.graph.orderCells(!1)});this.addAction("enterGroup",function(b,c){b.graph.enterGroup(c)});this.addAction("exitGroup",function(b){b.graph.exitGroup()});this.addAction("home",function(b){b.graph.home()});this.addAction("selectPrevious",function(b){b.graph.isEnabled()&&b.graph.selectPreviousCell()});this.addAction("selectNext",function(b){b.graph.isEnabled()&&
b.graph.selectNextCell()});this.addAction("selectParent",function(b){b.graph.isEnabled()&&b.graph.selectParentCell()});this.addAction("selectChild",function(b){b.graph.isEnabled()&&b.graph.selectChildCell()});this.addAction("collapse",function(b){b.graph.isEnabled()&&b.graph.foldCells(!0)});this.addAction("collapseAll",function(b){if(b.graph.isEnabled()){var c=b.graph.getChildVertices();b.graph.foldCells(!0,!1,c)}});this.addAction("expand",function(b){b.graph.isEnabled()&&b.graph.foldCells(!1)});
this.addAction("expandAll",function(b){if(b.graph.isEnabled()){var c=b.graph.getChildVertices();b.graph.foldCells(!1,!1,c)}});this.addAction("bold",function(b){b.graph.isEnabled()&&b.graph.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_BOLD)});this.addAction("italic",function(b){b.graph.isEnabled()&&b.graph.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_ITALIC)});this.addAction("underline",function(b){b.graph.isEnabled()&&b.graph.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,
mxConstants.FONT_UNDERLINE)});this.addAction("alignCellsLeft",function(b){b.graph.isEnabled()&&b.graph.alignCells(mxConstants.ALIGN_LEFT)});this.addAction("alignCellsCenter",function(b){b.graph.isEnabled()&&b.graph.alignCells(mxConstants.ALIGN_CENTER)});this.addAction("alignCellsRight",function(b){b.graph.isEnabled()&&b.graph.alignCells(mxConstants.ALIGN_RIGHT)});this.addAction("alignCellsTop",function(b){b.graph.isEnabled()&&b.graph.alignCells(mxConstants.ALIGN_TOP)});this.addAction("alignCellsMiddle",
function(b){b.graph.isEnabled()&&b.graph.alignCells(mxConstants.ALIGN_MIDDLE)});this.addAction("alignCellsBottom",function(b){b.graph.isEnabled()&&b.graph.alignCells(mxConstants.ALIGN_BOTTOM)});this.addAction("alignFontLeft",function(b){b.graph.setCellStyles(mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT)});this.addAction("alignFontCenter",function(b){b.graph.isEnabled()&&b.graph.setCellStyles(mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER)});this.addAction("alignFontRight",function(b){b.graph.isEnabled()&&
b.graph.setCellStyles(mxConstants.STYLE_ALIGN,mxConstants.ALIGN_RIGHT)});this.addAction("alignFontTop",function(b){b.graph.isEnabled()&&b.graph.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_TOP)});this.addAction("alignFontMiddle",function(b){b.graph.isEnabled()&&b.graph.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)});this.addAction("alignFontBottom",function(b){b.graph.isEnabled()&&b.graph.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_BOTTOM)});
this.addAction("zoom",function(b){var c=100*b.graph.getView().scale,c=parseFloat(mxUtils.prompt(mxResources.get(b.askZoomResource)||b.askZoomResource,c))/100;isNaN(c)||b.graph.getView().setScale(c)});this.addAction("toggleTasks",function(b){null!=b.tasks?b.tasks.setVisible(!b.tasks.isVisible()):b.showTasks()});this.addAction("toggleHelp",function(b){null!=b.help?b.help.setVisible(!b.help.isVisible()):b.showHelp()});this.addAction("toggleOutline",function(b){null==b.outline?b.showOutline():b.outline.setVisible(!b.outline.isVisible())});
this.addAction("toggleConsole",function(b){mxLog.setVisible(!mxLog.isVisible())})};mxEditor.prototype.configure=function(b){null!=b&&((new mxCodec(b.ownerDocument)).decode(b,this),this.resetHistory())};mxEditor.prototype.resetFirstTime=function(){document.cookie="mxgraph\x3dseen; expires\x3dFri, 27 Jul 2001 02:47:11 UTC; path\x3d/"};mxEditor.prototype.resetHistory=function(){this.lastSnapshot=(new Date).getTime();this.undoManager.clear();this.ignoredChanges=0;this.setModified(!1)};
mxEditor.prototype.addAction=function(b,c){this.actions[b]=c};mxEditor.prototype.execute=function(b,c,f){var d=this.actions[b];if(null!=d)try{var a=arguments;a[0]=this;d.apply(this,a)}catch(e){throw mxUtils.error("Cannot execute "+b+": "+e.message,280,!0),e;}else mxUtils.error("Cannot find action "+b,280,!0)};mxEditor.prototype.addTemplate=function(b,c){this.templates[b]=c};mxEditor.prototype.getTemplate=function(b){return this.templates[b]};
mxEditor.prototype.createGraph=function(){var b=new mxGraph(null,null,this.graphRenderHint);b.setTooltips(!0);b.setPanning(!0);this.installDblClickHandler(b);this.installUndoHandler(b);this.installDrillHandler(b);this.installChangeHandler(b);this.installInsertHandler(b);b.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(b,f,d){return this.createPopupMenu(b,f,d)});b.connectionHandler.factoryMethod=mxUtils.bind(this,function(b,f){return this.createEdge(b,f)});this.createSwimlaneManager(b);
this.createLayoutManager(b);return b};mxEditor.prototype.createSwimlaneManager=function(b){b=new mxSwimlaneManager(b,!1);b.isHorizontal=mxUtils.bind(this,function(){return this.horizontalFlow});b.isEnabled=mxUtils.bind(this,function(){return this.maintainSwimlanes});return b};
mxEditor.prototype.createLayoutManager=function(b){var c=new mxLayoutManager(b),f=this;c.getLayout=function(d){var a=null,e=f.graph.getModel();if(null!=e.getParent(d))if(f.layoutSwimlanes&&b.isSwimlane(d))null==f.swimlaneLayout&&(f.swimlaneLayout=f.createSwimlaneLayout()),a=f.swimlaneLayout;else if(f.layoutDiagram&&(b.isValidRoot(d)||null==e.getParent(e.getParent(d))))null==f.diagramLayout&&(f.diagramLayout=f.createDiagramLayout()),a=f.diagramLayout;return a};return c};
mxEditor.prototype.setGraphContainer=function(b){null==this.graph.container&&(this.graph.init(b),this.rubberband=new mxRubberband(this.graph),this.disableContextMenu&&mxEvent.disableContextMenu(b),mxClient.IS_QUIRKS&&new mxDivResizer(b))};mxEditor.prototype.installDblClickHandler=function(b){b.addListener(mxEvent.DOUBLE_CLICK,mxUtils.bind(this,function(c,f){var d=f.getProperty("cell");null!=d&&b.isEnabled()&&null!=this.dblClickAction&&(this.execute(this.dblClickAction,d),f.consume())}))};
mxEditor.prototype.installUndoHandler=function(b){var c=mxUtils.bind(this,function(b,d){var a=d.getProperty("edit");this.undoManager.undoableEditHappened(a)});b.getModel().addListener(mxEvent.UNDO,c);b.getView().addListener(mxEvent.UNDO,c);c=function(c,d){var a=d.getProperty("edit").changes;b.setSelectionCells(b.getSelectionCellsForChanges(a))};this.undoManager.addListener(mxEvent.UNDO,c);this.undoManager.addListener(mxEvent.REDO,c)};
mxEditor.prototype.installDrillHandler=function(b){var c=mxUtils.bind(this,function(b){this.fireEvent(new mxEventObject(mxEvent.ROOT))});b.getView().addListener(mxEvent.DOWN,c);b.getView().addListener(mxEvent.UP,c)};
mxEditor.prototype.installChangeHandler=function(b){var c=mxUtils.bind(this,function(c,d){this.setModified(!0);!0==this.validating&&b.validateGraph();for(var a=d.getProperty("edit").changes,e=0;e<a.length;e++){var g=a[e];if(g instanceof mxRootChange||g instanceof mxValueChange&&g.cell==this.graph.model.root||g instanceof mxCellAttributeChange&&g.cell==this.graph.model.root){this.fireEvent(new mxEventObject(mxEvent.ROOT));break}}});b.getModel().addListener(mxEvent.CHANGE,c)};
mxEditor.prototype.installInsertHandler=function(b){var c=this;b.addMouseListener({mouseDown:function(b,d){if(null!=c.insertFunction&&!d.isPopupTrigger()&&(c.forcedInserting||null==d.getState()))c.graph.clearSelection(),c.insertFunction(d.getEvent(),d.getCell()),this.isActive=!0,d.consume()},mouseMove:function(b,d){this.isActive&&d.consume()},mouseUp:function(b,d){this.isActive&&(this.isActive=!1,d.consume())}})};
mxEditor.prototype.createDiagramLayout=function(){var b=this.graph.gridSize,c=new mxStackLayout(this.graph,!this.horizontalFlow,this.swimlaneSpacing,2*b,2*b);c.isVertexIgnored=function(b){return!c.graph.isSwimlane(b)};return c};mxEditor.prototype.createSwimlaneLayout=function(){return new mxCompactTreeLayout(this.graph,this.horizontalFlow)};mxEditor.prototype.createToolbar=function(){return new mxDefaultToolbar(null,this)};
mxEditor.prototype.setToolbarContainer=function(b){this.toolbar.init(b);mxClient.IS_QUIRKS&&new mxDivResizer(b)};
mxEditor.prototype.setStatusContainer=function(b){null==this.status&&(this.status=b,this.addListener(mxEvent.SAVE,mxUtils.bind(this,function(){var b=(new Date).toLocaleString();this.setStatus((mxResources.get(this.lastSavedResource)||this.lastSavedResource)+": "+b)})),this.addListener(mxEvent.OPEN,mxUtils.bind(this,function(){this.setStatus((mxResources.get(this.currentFileResource)||this.currentFileResource)+": "+this.filename)})),mxClient.IS_QUIRKS&&new mxDivResizer(b))};
mxEditor.prototype.setStatus=function(b){null!=this.status&&null!=b&&(this.status.innerHTML=b)};mxEditor.prototype.setTitleContainer=function(b){this.addListener(mxEvent.ROOT,mxUtils.bind(this,function(c){b.innerHTML=this.getTitle()}));mxClient.IS_QUIRKS&&new mxDivResizer(b)};mxEditor.prototype.treeLayout=function(b,c){null!=b&&(new mxCompactTreeLayout(this.graph,c)).execute(b)};
mxEditor.prototype.getTitle=function(){for(var b="",c=this.graph,f=c.getCurrentRoot();null!=f&&null!=c.getModel().getParent(c.getModel().getParent(f));)c.isValidRoot(f)&&(b=" \x3e "+c.convertValueToString(f)+b),f=c.getModel().getParent(f);return this.getRootTitle()+b};mxEditor.prototype.getRootTitle=function(){var b=this.graph.getModel().getRoot();return this.graph.convertValueToString(b)};mxEditor.prototype.undo=function(){this.undoManager.undo()};mxEditor.prototype.redo=function(){this.undoManager.redo()};
mxEditor.prototype.groupCells=function(){var b=null!=this.groupBorderSize?this.groupBorderSize:this.graph.gridSize;return this.graph.groupCells(this.createGroup(),b)};mxEditor.prototype.createGroup=function(){return this.graph.getModel().cloneCell(this.defaultGroup)};mxEditor.prototype.open=function(b){if(null!=b){var c=mxUtils.load(b).getXml();this.readGraphModel(c.documentElement);this.filename=b;this.fireEvent(new mxEventObject(mxEvent.OPEN,"filename",b))}};
mxEditor.prototype.readGraphModel=function(b){(new mxCodec(b.ownerDocument)).decode(b,this.graph.getModel());this.resetHistory()};mxEditor.prototype.save=function(b,c){b=b||this.getUrlPost();if(null!=b&&0<b.length){var f=this.writeGraphModel(c);this.postDiagram(b,f);this.setModified(!1)}this.fireEvent(new mxEventObject(mxEvent.SAVE,"url",b))};
mxEditor.prototype.postDiagram=function(b,c){this.escapePostData&&(c=encodeURIComponent(c));mxUtils.post(b,this.postParameterName+"\x3d"+c,mxUtils.bind(this,function(f){this.fireEvent(new mxEventObject(mxEvent.POST,"request",f,"url",b,"data",c))}))};mxEditor.prototype.writeGraphModel=function(b){b=null!=b?b:this.linefeed;var c=(new mxCodec).encode(this.graph.getModel());return mxUtils.getXml(c,b)};mxEditor.prototype.getUrlPost=function(){return this.urlPost};mxEditor.prototype.getUrlImage=function(){return this.urlImage};
mxEditor.prototype.swapStyles=function(b,c){var f=this.graph.getStylesheet().styles[c];this.graph.getView().getStylesheet().putCellStyle(c,this.graph.getStylesheet().styles[b]);this.graph.getStylesheet().putCellStyle(b,f);this.graph.refresh()};
mxEditor.prototype.showProperties=function(b){b=b||this.graph.getSelectionCell();null==b&&(b=this.graph.getCurrentRoot(),null==b&&(b=this.graph.getModel().getRoot()));if(null!=b){this.graph.stopEditing(!0);var c=mxUtils.getOffset(this.graph.container),f=c.x+10,c=c.y;if(null!=this.properties&&!this.movePropertiesDialog)f=this.properties.getX(),c=this.properties.getY();else{var d=this.graph.getCellBounds(b);null!=d&&(f+=d.x+Math.min(200,d.width),c+=d.y)}this.hideProperties();b=this.createProperties(b);
null!=b&&(this.properties=new mxWindow(mxResources.get(this.propertiesResource)||this.propertiesResource,b,f,c,this.propertiesWidth,this.propertiesHeight,!1),this.properties.setVisible(!0))}};mxEditor.prototype.isPropertiesVisible=function(){return null!=this.properties};
mxEditor.prototype.createProperties=function(b){var c=this.graph.getModel(),f=c.getValue(b);if(mxUtils.isNode(f)){var d=new mxForm("properties");d.addText("ID",b.getId()).setAttribute("readonly","true");var a=null,e=null,g=null,k=null,l=null;c.isVertex(b)&&(a=c.getGeometry(b),null!=a&&(e=d.addText("top",a.y),g=d.addText("left",a.x),k=d.addText("width",a.width),l=d.addText("height",a.height)));for(var m=c.getStyle(b),n=d.addText("Style",m||""),p=f.attributes,r=[],f=0;f<p.length;f++)r[f]=d.addTextarea(p[f].nodeName,
p[f].value,"label"==p[f].nodeName?4:2);f=mxUtils.bind(this,function(){this.hideProperties();c.beginUpdate();try{null!=a&&(a=a.clone(),a.x=parseFloat(g.value),a.y=parseFloat(e.value),a.width=parseFloat(k.value),a.height=parseFloat(l.value),c.setGeometry(b,a));0<n.value.length?c.setStyle(b,n.value):c.setStyle(b,null);for(var d=0;d<p.length;d++){var f=new mxCellAttributeChange(b,p[d].nodeName,r[d].value);c.execute(f)}this.graph.isAutoSizeCell(b)&&this.graph.updateCellSize(b)}finally{c.endUpdate()}});
m=mxUtils.bind(this,function(){this.hideProperties()});d.addButtons(f,m);return d.table}return null};mxEditor.prototype.hideProperties=function(){null!=this.properties&&(this.properties.destroy(),this.properties=null)};
mxEditor.prototype.showTasks=function(){if(null==this.tasks){var b=document.createElement("div");b.style.padding="4px";b.style.paddingLeft="20px";var c=document.body.clientWidth,c=new mxWindow(mxResources.get(this.tasksResource)||this.tasksResource,b,c-220,this.tasksTop,200);c.setClosable(!0);c.destroyOnClose=!1;var f=mxUtils.bind(this,function(d){mxEvent.release(b);b.innerHTML="";this.createTasks(b)});this.graph.getModel().addListener(mxEvent.CHANGE,f);this.graph.getSelectionModel().addListener(mxEvent.CHANGE,
f);this.graph.addListener(mxEvent.ROOT,f);null!=this.tasksWindowImage&&c.setImage(this.tasksWindowImage);this.tasks=c;this.createTasks(b)}this.tasks.setVisible(!0)};mxEditor.prototype.refreshTasks=function(b){null!=this.tasks&&(b=this.tasks.content,mxEvent.release(b),b.innerHTML="",this.createTasks(b))};mxEditor.prototype.createTasks=function(b){};
mxEditor.prototype.showHelp=function(b){if(null==this.help){var c=document.createElement("iframe");c.setAttribute("src",mxResources.get("urlHelp")||this.urlHelp);c.setAttribute("height","100%");c.setAttribute("width","100%");c.setAttribute("frameBorder","0");c.style.backgroundColor="white";b=document.body.clientWidth;var f=document.body.clientHeight||document.documentElement.clientHeight,d=new mxWindow(mxResources.get(this.helpResource)||this.helpResource,c,(b-this.helpWidth)/2,(f-this.helpHeight)/
3,this.helpWidth,this.helpHeight);d.setMaximizable(!0);d.setClosable(!0);d.destroyOnClose=!1;d.setResizable(!0);null!=this.helpWindowImage&&d.setImage(this.helpWindowImage);mxClient.IS_NS&&(b=function(a){c.setAttribute("height",d.div.offsetHeight-26+"px")},d.addListener(mxEvent.RESIZE_END,b),d.addListener(mxEvent.MAXIMIZE,b),d.addListener(mxEvent.NORMALIZE,b),d.addListener(mxEvent.SHOW,b));this.help=d}this.help.setVisible(!0)};
mxEditor.prototype.showOutline=function(){if(null==this.outline){var b=document.createElement("div");b.style.overflow="hidden";b.style.position="relative";b.style.width="100%";b.style.height="100%";b.style.background="white";b.style.cursor="move";8==document.documentMode&&(b.style.filter="progid:DXImageTransform.Microsoft.alpha(opacity\x3d100)");var c=new mxWindow(mxResources.get(this.outlineResource)||this.outlineResource,b,600,480,200,200,!1),f=new mxOutline(this.graph,b);c.setClosable(!0);c.setResizable(!0);
c.destroyOnClose=!1;c.addListener(mxEvent.RESIZE_END,function(){f.update()});this.outline=c;this.outline.outline=f}this.outline.setVisible(!0);this.outline.outline.update(!0)};mxEditor.prototype.setMode=function(b){"select"==b?(this.graph.panningHandler.useLeftButtonForPanning=!1,this.graph.setConnectable(!1)):"connect"==b?(this.graph.panningHandler.useLeftButtonForPanning=!1,this.graph.setConnectable(!0)):"pan"==b&&(this.graph.panningHandler.useLeftButtonForPanning=!0,this.graph.setConnectable(!1))};
mxEditor.prototype.createPopupMenu=function(b,c,f){this.popupHandler.createMenu(this,b,c,f)};mxEditor.prototype.createEdge=function(b,c){var f=null;if(null!=this.defaultEdge)f=this.graph.getModel().cloneCell(this.defaultEdge);else{f=new mxCell("");f.setEdge(!0);var d=new mxGeometry;d.relative=!0;f.setGeometry(d)}d=this.getEdgeStyle();null!=d&&f.setStyle(d);return f};mxEditor.prototype.getEdgeStyle=function(){return this.defaultEdgeStyle};
mxEditor.prototype.consumeCycleAttribute=function(b){return null!=this.cycleAttributeValues&&0<this.cycleAttributeValues.length&&this.graph.isSwimlane(b)?this.cycleAttributeValues[this.cycleAttributeIndex++%this.cycleAttributeValues.length]:null};mxEditor.prototype.cycleAttribute=function(b){if(null!=this.cycleAttributeName){var c=this.consumeCycleAttribute(b);null!=c&&b.setStyle(b.getStyle()+";"+this.cycleAttributeName+"\x3d"+c)}};
mxEditor.prototype.addVertex=function(b,c,f,d){for(var a=this.graph.getModel();null!=b&&!this.graph.isValidDropTarget(b);)b=a.getParent(b);b=null!=b?b:this.graph.getSwimlaneAt(f,d);var e=this.graph.getView().scale,g=a.getGeometry(c),k=a.getGeometry(b);if(this.graph.isSwimlane(c)&&!this.graph.swimlaneNesting)b=null;else{if(null==b&&this.swimlaneRequired)return null;if(null!=b&&null!=k){var l=this.graph.getView().getState(b);if(null!=l){if(f-=l.origin.x*e,d-=l.origin.y*e,this.graph.isConstrainedMoving){var k=
g.width,m=g.height,n=l.x+l.width;f+k>n&&(f-=f+k-n);n=l.y+l.height;d+m>n&&(d-=d+m-n)}}else null!=k&&(f-=k.x*e,d-=k.y*e)}}g=g.clone();g.x=this.graph.snap(f/e-this.graph.getView().translate.x-this.graph.gridSize/2);g.y=this.graph.snap(d/e-this.graph.getView().translate.y-this.graph.gridSize/2);c.setGeometry(g);null==b&&(b=this.graph.getDefaultParent());this.cycleAttribute(c);this.fireEvent(new mxEventObject(mxEvent.BEFORE_ADD_VERTEX,"vertex",c,"parent",b));a.beginUpdate();try{c=this.graph.addCell(c,
b),null!=c&&(this.graph.constrainChild(c),this.fireEvent(new mxEventObject(mxEvent.ADD_VERTEX,"vertex",c)))}finally{a.endUpdate()}null!=c&&(this.graph.setSelectionCell(c),this.graph.scrollCellToVisible(c),this.fireEvent(new mxEventObject(mxEvent.AFTER_ADD_VERTEX,"vertex",c)));return c};
mxEditor.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,null!=this.tasks&&this.tasks.destroy(),null!=this.outline&&this.outline.destroy(),null!=this.properties&&this.properties.destroy(),null!=this.keyHandler&&this.keyHandler.destroy(),null!=this.rubberband&&this.rubberband.destroy(),null!=this.toolbar&&this.toolbar.destroy(),null!=this.graph&&this.graph.destroy(),this.templates=this.status=null)};
var mxCodecRegistry={codecs:[],aliases:[],register:function(b){if(null!=b){var c=b.getName();mxCodecRegistry.codecs[c]=b;var f=mxUtils.getFunctionName(b.template.constructor);f!=c&&mxCodecRegistry.addAlias(f,c)}return b},addAlias:function(b,c){mxCodecRegistry.aliases[b]=c},getCodec:function(b){var c=null;if(null!=b){var c=mxUtils.getFunctionName(b),f=mxCodecRegistry.aliases[c];null!=f&&(c=f);c=mxCodecRegistry.codecs[c];if(null==c)try{c=new mxObjectCodec(new b),mxCodecRegistry.register(c)}catch(d){}}return c}};
function mxCodec(b){this.document=b||mxUtils.createXmlDocument();this.objects=[]}mxCodec.prototype.document=null;mxCodec.prototype.objects=null;mxCodec.prototype.elements=null;mxCodec.prototype.encodeDefaults=!1;mxCodec.prototype.putObject=function(b,c){return this.objects[b]=c};mxCodec.prototype.getObject=function(b){var c=null;null!=b&&(c=this.objects[b],null==c&&(c=this.lookup(b),null==c&&(b=this.getElementById(b),null!=b&&(c=this.decode(b)))));return c};mxCodec.prototype.lookup=function(b){return null};
mxCodec.prototype.getElementById=function(b){null==this.elements&&(this.elements={},this.addElement(this.document.documentElement));return this.elements[b]};mxCodec.prototype.addElement=function(b){if(b.nodeType==mxConstants.NODETYPE_ELEMENT){var c=b.getAttribute("id");null!=c&&null==this.elements[c]&&(this.elements[c]=b)}for(b=b.firstChild;null!=b;)this.addElement(b),b=b.nextSibling};
mxCodec.prototype.getId=function(b){var c=null;null!=b&&(c=this.reference(b),null==c&&b instanceof mxCell&&(c=b.getId(),null==c&&(c=mxCellPath.create(b),0==c.length&&(c="root"))));return c};mxCodec.prototype.reference=function(b){return null};mxCodec.prototype.encode=function(b){var c=null;if(null!=b&&null!=b.constructor){var f=mxCodecRegistry.getCodec(b.constructor);null!=f?c=f.encode(this,b):mxUtils.isNode(b)?c=mxUtils.importNode(this.document,b,!0):mxLog.warn("mxCodec.encode: No codec for "+mxUtils.getFunctionName(b.constructor))}return c};
mxCodec.prototype.decode=function(b,c){var f=null;if(null!=b&&b.nodeType==mxConstants.NODETYPE_ELEMENT){f=null;try{f=window[b.nodeName]}catch(d){}f=mxCodecRegistry.getCodec(f);null!=f?f=f.decode(this,b,c):(f=b.cloneNode(!0),f.removeAttribute("as"))}return f};mxCodec.prototype.encodeCell=function(b,c,f){c.appendChild(this.encode(b));if(null==f||f){f=b.getChildCount();for(var d=0;d<f;d++)this.encodeCell(b.getChildAt(d),c)}};
mxCodec.prototype.isCellCodec=function(b){return null!=b&&"function"==typeof b.isCellCodec?b.isCellCodec():!1};mxCodec.prototype.decodeCell=function(b,c){c=null!=c?c:!0;var f=null;if(null!=b&&b.nodeType==mxConstants.NODETYPE_ELEMENT){f=mxCodecRegistry.getCodec(b.nodeName);if(!this.isCellCodec(f))for(var d=b.firstChild;null!=d&&!this.isCellCodec(f);)f=mxCodecRegistry.getCodec(d.nodeName),d=d.nextSibling;this.isCellCodec(f)||(f=mxCodecRegistry.getCodec(mxCell));f=f.decode(this,b);c&&this.insertIntoGraph(f)}return f};
mxCodec.prototype.insertIntoGraph=function(b){var c=b.parent,f=b.getTerminal(!0),d=b.getTerminal(!1);b.setTerminal(null,!1);b.setTerminal(null,!0);b.parent=null;null!=c&&c.insert(b);null!=f&&f.insertEdge(b,!0);null!=d&&d.insertEdge(b,!1)};mxCodec.prototype.setAttribute=function(b,c,f){null!=c&&null!=f&&b.setAttribute(c,f)};
function mxObjectCodec(b,c,f,d){this.template=b;this.exclude=null!=c?c:[];this.idrefs=null!=f?f:[];this.mapping=null!=d?d:[];this.reverse={};for(var a in this.mapping)this.reverse[this.mapping[a]]=a}mxObjectCodec.allowEval=!1;mxObjectCodec.prototype.template=null;mxObjectCodec.prototype.exclude=null;mxObjectCodec.prototype.idrefs=null;mxObjectCodec.prototype.mapping=null;mxObjectCodec.prototype.reverse=null;mxObjectCodec.prototype.getName=function(){return mxUtils.getFunctionName(this.template.constructor)};
mxObjectCodec.prototype.cloneTemplate=function(){return new this.template.constructor};mxObjectCodec.prototype.getFieldName=function(b){if(null!=b){var c=this.reverse[b];null!=c&&(b=c)}return b};mxObjectCodec.prototype.getAttributeName=function(b){if(null!=b){var c=this.mapping[b];null!=c&&(b=c)}return b};mxObjectCodec.prototype.isExcluded=function(b,c,f,d){return c==mxObjectIdentity.FIELD_NAME||0<=mxUtils.indexOf(this.exclude,c)};
mxObjectCodec.prototype.isReference=function(b,c,f,d){return 0<=mxUtils.indexOf(this.idrefs,c)};mxObjectCodec.prototype.encode=function(b,c){var f=b.document.createElement(this.getName());c=this.beforeEncode(b,c,f);this.encodeObject(b,c,f);return this.afterEncode(b,c,f)};mxObjectCodec.prototype.encodeObject=function(b,c,f){b.setAttribute(f,"id",b.getId(c));for(var d in c){var a=d,e=c[a];null!=e&&!this.isExcluded(c,a,e,!0)&&(mxUtils.isInteger(a)&&(a=null),this.encodeValue(b,c,a,e,f))}};
mxObjectCodec.prototype.encodeValue=function(b,c,f,d,a){if(null!=d){if(this.isReference(c,f,d,!0)){var e=b.getId(d);if(null==e){mxLog.warn("mxObjectCodec.encode: No ID for "+this.getName()+"."+f+"\x3d"+d);return}d=e}e=this.template[f];if(null==f||b.encodeDefaults||e!=d)f=this.getAttributeName(f),this.writeAttribute(b,c,f,d,a)}};mxObjectCodec.prototype.writeAttribute=function(b,c,f,d,a){"object"!=typeof d?this.writePrimitiveAttribute(b,c,f,d,a):this.writeComplexAttribute(b,c,f,d,a)};
mxObjectCodec.prototype.writePrimitiveAttribute=function(b,c,f,d,a){d=this.convertAttributeToXml(b,c,f,d,a);null==f?(c=b.document.createElement("add"),"function"==typeof d?c.appendChild(b.document.createTextNode(d)):b.setAttribute(c,"value",d),a.appendChild(c)):"function"!=typeof d&&b.setAttribute(a,f,d)};
mxObjectCodec.prototype.writeComplexAttribute=function(b,c,f,d,a){b=b.encode(d);null!=b?(null!=f&&b.setAttribute("as",f),a.appendChild(b)):mxLog.warn("mxObjectCodec.encode: No node for "+this.getName()+"."+f+": "+d)};mxObjectCodec.prototype.convertAttributeToXml=function(b,c,f,d){this.isBooleanAttribute(b,c,f,d)&&(d=!0==d?"1":"0");return d};mxObjectCodec.prototype.isBooleanAttribute=function(b,c,f,d){return"undefined"==typeof d.length&&(!0==d||!1==d)};
mxObjectCodec.prototype.convertAttributeFromXml=function(b,c,f){var d=c.value;this.isNumericAttribute(b,c,f)&&(d=parseFloat(d));return d};mxObjectCodec.prototype.isNumericAttribute=function(b,c,f){return mxUtils.isNumeric(c.value)};mxObjectCodec.prototype.beforeEncode=function(b,c,f){return c};mxObjectCodec.prototype.afterEncode=function(b,c,f){return f};
mxObjectCodec.prototype.decode=function(b,c,f){var d=c.getAttribute("id"),a=b.objects[d];null==a&&(a=f||this.cloneTemplate(),null!=d&&b.putObject(d,a));c=this.beforeDecode(b,c,a);this.decodeNode(b,c,a);return this.afterDecode(b,c,a)};mxObjectCodec.prototype.decodeNode=function(b,c,f){null!=c&&(this.decodeAttributes(b,c,f),this.decodeChildren(b,c,f))};mxObjectCodec.prototype.decodeAttributes=function(b,c,f){c=c.attributes;if(null!=c)for(var d=0;d<c.length;d++)this.decodeAttribute(b,c[d],f)};
mxObjectCodec.prototype.isIgnoredAttribute=function(b,c,f){return"as"==c.nodeName||"id"==c.nodeName};mxObjectCodec.prototype.decodeAttribute=function(b,c,f){if(!this.isIgnoredAttribute(b,c,f)){var d=c.nodeName;c=this.convertAttributeFromXml(b,c,f);var a=this.getFieldName(d);if(this.isReference(f,a,c,!1)){b=b.getObject(c);if(null==b){mxLog.warn("mxObjectCodec.decode: No object for "+this.getName()+"."+d+"\x3d"+c);return}c=b}this.isExcluded(f,d,c,!1)||(f[d]=c)}};
mxObjectCodec.prototype.decodeChildren=function(b,c,f){for(c=c.firstChild;null!=c;){var d=c.nextSibling;c.nodeType==mxConstants.NODETYPE_ELEMENT&&!this.processInclude(b,c,f)&&this.decodeChild(b,c,f);c=d}};
mxObjectCodec.prototype.decodeChild=function(b,c,f){var d=this.getFieldName(c.getAttribute("as"));if(null==d||!this.isExcluded(f,d,c,!1)){var a=this.getFieldTemplate(f,d,c),e=null;"add"==c.nodeName?(e=c.getAttribute("value"),null==e&&mxObjectCodec.allowEval&&(e=mxUtils.eval(mxUtils.getTextContent(c)))):e=b.decode(c,a);this.addObjectValue(f,d,e,a)}};mxObjectCodec.prototype.getFieldTemplate=function(b,c,f){b=b[c];b instanceof Array&&0<b.length&&(b=null);return b};
mxObjectCodec.prototype.addObjectValue=function(b,c,f,d){null!=f&&f!=d&&(null!=c&&0<c.length?b[c]=f:b.push(f))};mxObjectCodec.prototype.processInclude=function(b,c,f){if("include"==c.nodeName){c=c.getAttribute("name");if(null!=c)try{var d=mxUtils.load(c).getDocumentElement();null!=d&&b.decode(d,f)}catch(a){}return!0}return!1};mxObjectCodec.prototype.beforeDecode=function(b,c,f){return c};mxObjectCodec.prototype.afterDecode=function(b,c,f){return f};
mxCodecRegistry.register(function(){var b=new mxObjectCodec(new mxCell,["children","edges","overlays","mxTransient"],["parent","source","target"]);b.isCellCodec=function(){return!0};b.isNumericAttribute=function(b,f,d){return"value"!==f.nodeName&&mxObjectCodec.prototype.isNumericAttribute.apply(this,arguments)};b.isExcluded=function(b,f,d,a){return mxObjectCodec.prototype.isExcluded.apply(this,arguments)||a&&"value"==f&&d.nodeType==mxConstants.NODETYPE_ELEMENT};b.afterEncode=function(b,f,d){if(null!=
f.value&&f.value.nodeType==mxConstants.NODETYPE_ELEMENT){var a=d;d=mxUtils.importNode(b.document,f.value,!0);d.appendChild(a);b=a.getAttribute("id");d.setAttribute("id",b);a.removeAttribute("id")}return d};b.beforeDecode=function(b,f,d){var a=f.cloneNode(!0),e=this.getName();f.nodeName!=e?(a=f.getElementsByTagName(e)[0],null!=a&&a.parentNode==f?(mxUtils.removeWhitespace(a,!0),mxUtils.removeWhitespace(a,!1),a.parentNode.removeChild(a)):a=null,d.value=f.cloneNode(!0),f=d.value.getAttribute("id"),null!=
f&&(d.setId(f),d.value.removeAttribute("id"))):d.setId(f.getAttribute("id"));if(null!=a)for(f=0;f<this.idrefs.length;f++){var e=this.idrefs[f],g=a.getAttribute(e);if(null!=g){a.removeAttribute(e);var k=b.objects[g]||b.lookup(g);null==k&&(g=b.getElementById(g),null!=g&&(k=(mxCodecRegistry.codecs[g.nodeName]||this).decode(b,g)));d[e]=k}}return a};return b}());
mxCodecRegistry.register(function(){var b=new mxObjectCodec(new mxGraphModel);b.encodeObject=function(b,f,d){var a=b.document.createElement("root");b.encodeCell(f.getRoot(),a);d.appendChild(a)};b.decodeChild=function(b,f,d){"root"==f.nodeName?this.decodeRoot(b,f,d):mxObjectCodec.prototype.decodeChild.apply(this,arguments)};b.decodeRoot=function(b,f,d){var a=null;for(f=f.firstChild;null!=f;){var e=b.decodeCell(f);null!=e&&null==e.getParent()&&(a=e);f=f.nextSibling}null!=a&&d.setRoot(a)};return b}());
mxCodecRegistry.register(function(){var b=new mxObjectCodec(new mxRootChange,["model","previous","root"]);b.afterEncode=function(b,f,d){b.encodeCell(f.root,d);return d};b.beforeDecode=function(b,f,d){if(null!=f.firstChild&&f.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT){f=f.cloneNode(!0);var a=f.firstChild;d.root=b.decodeCell(a,!1);d=a.nextSibling;a.parentNode.removeChild(a);for(a=d;null!=a;)d=a.nextSibling,b.decodeCell(a),a.parentNode.removeChild(a),a=d}return f};b.afterDecode=function(b,f,
d){d.previous=d.root;return d};return b}());
mxCodecRegistry.register(function(){var b=new mxObjectCodec(new mxChildChange,["model","child","previousIndex"],["parent","previous"]);b.isReference=function(b,f,d,a){return"child"==f&&(null!=b.previous||!a)?!0:0<=mxUtils.indexOf(this.idrefs,f)};b.afterEncode=function(b,f,d){this.isReference(f,"child",f.child,!0)?d.setAttribute("child",b.getId(f.child)):b.encodeCell(f.child,d);return d};b.beforeDecode=function(b,f,d){if(null!=f.firstChild&&f.firstChild.nodeType==mxConstants.NODETYPE_ELEMENT){f=f.cloneNode(!0);
var a=f.firstChild;d.child=b.decodeCell(a,!1);d=a.nextSibling;a.parentNode.removeChild(a);for(a=d;null!=a;){d=a.nextSibling;if(a.nodeType==mxConstants.NODETYPE_ELEMENT){var e=a.getAttribute("id");null==b.lookup(e)&&b.decodeCell(a)}a.parentNode.removeChild(a);a=d}}else a=f.getAttribute("child"),d.child=b.getObject(a);return f};b.afterDecode=function(b,f,d){d.child.parent=d.previous;d.previous=d.parent;d.previousIndex=d.index;return d};return b}());
mxCodecRegistry.register(function(){var b=new mxObjectCodec(new mxTerminalChange,["model","previous"],["cell","terminal"]);b.afterDecode=function(b,f,d){d.previous=d.terminal;return d};return b}());var mxGenericChangeCodec=function(b,c){var f=new mxObjectCodec(b,["model","previous"],["cell"]);f.afterDecode=function(b,a,e){mxUtils.isNode(e.cell)&&(e.cell=b.decodeCell(e.cell,!1));e.previous=e[c];return e};return f};mxCodecRegistry.register(mxGenericChangeCodec(new mxValueChange,"value"));
mxCodecRegistry.register(mxGenericChangeCodec(new mxStyleChange,"style"));mxCodecRegistry.register(mxGenericChangeCodec(new mxGeometryChange,"geometry"));mxCodecRegistry.register(mxGenericChangeCodec(new mxCollapseChange,"collapsed"));mxCodecRegistry.register(mxGenericChangeCodec(new mxVisibleChange,"visible"));mxCodecRegistry.register(mxGenericChangeCodec(new mxCellAttributeChange,"value"));mxCodecRegistry.register(function(){return new mxObjectCodec(new mxGraph,"graphListeners eventListeners view container cellRenderer editor selection".split(" "))}());
mxCodecRegistry.register(function(){var b=new mxObjectCodec(new mxGraphView);b.encode=function(b,f){return this.encodeCell(b,f,f.graph.getModel().getRoot())};b.encodeCell=function(b,f,d){var a=f.graph.getModel(),e=f.getState(d),g=a.getParent(d);if(null==g||null!=e){var k=a.getChildCount(d),l=f.graph.getCellGeometry(d),m=null;g==a.getRoot()?m="layer":null==g?m="graph":a.isEdge(d)?m="edge":0<k&&null!=l?m="group":a.isVertex(d)&&(m="vertex");if(null!=m){var n=b.document.createElement(m);null!=f.graph.getLabel(d)&&
(n.setAttribute("label",f.graph.getLabel(d)),f.graph.isHtmlLabel(d)&&n.setAttribute("html",!0));if(null==g){var p=f.getGraphBounds();null!=p&&(n.setAttribute("x",Math.round(p.x)),n.setAttribute("y",Math.round(p.y)),n.setAttribute("width",Math.round(p.width)),n.setAttribute("height",Math.round(p.height)));n.setAttribute("scale",f.scale)}else if(null!=e&&null!=l){for(p in e.style)g=e.style[p],"function"==typeof g&&"object"==typeof g&&(g=mxStyleRegistry.getName(g)),null!=g&&"function"!=typeof g&&"object"!=
typeof g&&n.setAttribute(p,g);g=e.absolutePoints;if(null!=g&&0<g.length){l=Math.round(g[0].x)+","+Math.round(g[0].y);for(p=1;p<g.length;p++)l+=" "+Math.round(g[p].x)+","+Math.round(g[p].y);n.setAttribute("points",l)}else n.setAttribute("x",Math.round(e.x)),n.setAttribute("y",Math.round(e.y)),n.setAttribute("width",Math.round(e.width)),n.setAttribute("height",Math.round(e.height));p=e.absoluteOffset;null!=p&&(0!=p.x&&n.setAttribute("dx",Math.round(p.x)),0!=p.y&&n.setAttribute("dy",Math.round(p.y)))}for(p=
0;p<k;p++)e=this.encodeCell(b,f,a.getChildAt(d,p)),null!=e&&n.appendChild(e)}}return n};return b}());
var mxStylesheetCodec=mxCodecRegistry.register(function(){var b=new mxObjectCodec(new mxStylesheet);b.encode=function(b,f){var d=b.document.createElement(this.getName()),a;for(a in f.styles){var e=f.styles[a],g=b.document.createElement("add");if(null!=a){g.setAttribute("as",a);for(var k in e){var l=this.getStringValue(k,e[k]);if(null!=l){var m=b.document.createElement("add");m.setAttribute("value",l);m.setAttribute("as",k);g.appendChild(m)}}0<g.childNodes.length&&d.appendChild(g)}}return d};b.getStringValue=
function(b,f){var d=typeof f;"function"==d?f=mxStyleRegistry.getName(style[j]):"object"==d&&(f=null);return f};b.decode=function(b,f,d){d=d||new this.template.constructor;var a=f.getAttribute("id");null!=a&&(b.objects[a]=d);for(f=f.firstChild;null!=f;){if(!this.processInclude(b,f,d)&&"add"==f.nodeName&&(a=f.getAttribute("as"),null!=a)){var e=f.getAttribute("extend"),g=null!=e?mxUtils.clone(d.styles[e]):null;null==g&&(null!=e&&mxLog.warn("mxStylesheetCodec.decode: stylesheet "+e+" not found to extend"),
g={});for(e=f.firstChild;null!=e;){if(e.nodeType==mxConstants.NODETYPE_ELEMENT){var k=e.getAttribute("as");if("add"==e.nodeName){var l=mxUtils.getTextContent(e),m=null;null!=l&&0<l.length&&mxStylesheetCodec.allowEval?m=mxUtils.eval(l):(m=e.getAttribute("value"),mxUtils.isNumeric(m)&&(m=parseFloat(m)));null!=m&&(g[k]=m)}else"remove"==e.nodeName&&delete g[k]}e=e.nextSibling}d.putCellStyle(a,g)}f=f.nextSibling}return d};return b}());mxStylesheetCodec.allowEval=!0;
mxCodecRegistry.register(function(){var b=new mxObjectCodec(new mxDefaultKeyHandler);b.encode=function(b,f){return null};b.decode=function(b,f,d){if(null!=d)for(f=f.firstChild;null!=f;){if(!this.processInclude(b,f,d)&&"add"==f.nodeName){var a=f.getAttribute("as"),e=f.getAttribute("action"),g=f.getAttribute("control");d.bindAction(a,e,g)}f=f.nextSibling}return d};return b}());
var mxDefaultToolbarCodec=mxCodecRegistry.register(function(){var b=new mxObjectCodec(new mxDefaultToolbar);b.encode=function(b,f){return null};b.decode=function(b,f,d){if(null!=d){var a=d.editor;for(f=f.firstChild;null!=f;){if(f.nodeType==mxConstants.NODETYPE_ELEMENT&&!this.processInclude(b,f,d))if("separator"==f.nodeName)d.addSeparator();else if("br"==f.nodeName)d.toolbar.addBreak();else if("hr"==f.nodeName)d.toolbar.addLine();else if("add"==f.nodeName){var e=f.getAttribute("as"),e=mxResources.get(e)||
e,g=f.getAttribute("icon"),k=f.getAttribute("pressedIcon"),l=f.getAttribute("action"),m=f.getAttribute("mode"),n=f.getAttribute("template"),p="0"!=f.getAttribute("toggle"),r=mxUtils.getTextContent(f),s=null;if(null!=l)s=d.addItem(e,g,l,k);else if(null!=m)var q=mxDefaultToolbarCodec.allowEval?mxUtils.eval(r):null,s=d.addMode(e,g,m,k,q);else if(null!=n||null!=r&&0<r.length)s=a.templates[n],n=f.getAttribute("style"),null!=s&&null!=n&&(s=a.graph.cloneCells([s])[0],s.setStyle(n)),n=null,null!=r&&0<r.length&&
mxDefaultToolbarCodec.allowEval&&(n=mxUtils.eval(r)),s=d.addPrototype(e,g,s,k,n,p);else if(k=mxUtils.getChildNodes(f),0<k.length)if(null==g){n=d.addActionCombo(e);for(e=0;e<k.length;e++)p=k[e],"separator"==p.nodeName?d.addOption(n,"---"):"add"==p.nodeName&&(g=p.getAttribute("as"),p=p.getAttribute("action"),d.addActionOption(n,g,p))}else{var t=null,u=d.addPrototype(e,g,function(){var b=a.templates[t.value];if(null!=b){var b=b.clone(),d=t.options[t.selectedIndex].cellStyle;null!=d&&b.setStyle(d);return b}mxLog.warn("Template "+
b+" not found");return null},null,null,p),t=d.addCombo();mxEvent.addListener(t,"change",function(){d.toolbar.selectMode(u,function(b){b=mxUtils.convertPoint(a.graph.container,mxEvent.getClientX(b),mxEvent.getClientY(b));return a.addVertex(null,q(),b.x,b.y)});d.toolbar.noReset=!1});for(e=0;e<k.length;e++)p=k[e],"separator"==p.nodeName?d.addOption(t,"---"):"add"==p.nodeName&&(g=p.getAttribute("as"),r=p.getAttribute("template"),d.addOption(t,g,r||n).cellStyle=p.getAttribute("style"))}null!=s&&(n=f.getAttribute("id"),
null!=n&&0<n.length&&s.setAttribute("id",n))}f=f.nextSibling}}return d};return b}());mxDefaultToolbarCodec.allowEval=!0;mxCodecRegistry.register(function(){var b=new mxObjectCodec(new mxDefaultPopupMenu);b.encode=function(b,f){return null};b.decode=function(b,f,d){var a=f.getElementsByTagName("include")[0];null!=a?this.processInclude(b,a,d):null!=d&&(d.config=f);return d};return b}());
mxCodecRegistry.register(function(){var b=new mxObjectCodec(new mxEditor,"modified lastSnapshot ignoredChanges undoManager graphContainer toolbarContainer".split(" "));b.afterDecode=function(b,f,d){b=f.getAttribute("defaultEdge");null!=b&&(f.removeAttribute("defaultEdge"),d.defaultEdge=d.templates[b]);b=f.getAttribute("defaultGroup");null!=b&&(f.removeAttribute("defaultGroup"),d.defaultGroup=d.templates[b]);return d};b.decodeChild=function(b,f,d){if("Array"==f.nodeName){if("templates"==f.getAttribute("as")){this.decodeTemplates(b,
f,d);return}}else if("ui"==f.nodeName){this.decodeUi(b,f,d);return}mxObjectCodec.prototype.decodeChild.apply(this,arguments)};b.decodeUi=function(b,f,d){for(b=f.firstChild;null!=b;){if("add"==b.nodeName){f=b.getAttribute("as");var a=b.getAttribute("element"),e=b.getAttribute("style"),g=null;if(null!=a)g=document.getElementById(a),null!=g&&null!=e&&(g.style.cssText+=";"+e);else{var a=parseInt(b.getAttribute("x")),k=parseInt(b.getAttribute("y")),l=b.getAttribute("width"),m=b.getAttribute("height"),
g=document.createElement("div");g.style.cssText=e;(new mxWindow(mxResources.get(f)||f,g,a,k,l,m,!1,!0)).setVisible(!0)}"graph"==f?d.setGraphContainer(g):"toolbar"==f?d.setToolbarContainer(g):"title"==f?d.setTitleContainer(g):"status"==f?d.setStatusContainer(g):"map"==f&&d.setMapContainer(g)}else"resource"==b.nodeName?mxResources.add(b.getAttribute("basename")):"stylesheet"==b.nodeName&&mxClient.link("stylesheet",b.getAttribute("name"));b=b.nextSibling}};b.decodeTemplates=function(b,f,d){null==d.templates&&
(d.templates=[]);f=mxUtils.getChildNodes(f);for(var a=0;a<f.length;a++){for(var e=f[a].getAttribute("as"),g=f[a].firstChild;null!=g&&1!=g.nodeType;)g=g.nextSibling;null!=g&&(d.templates[e]=b.decodeCell(g))}};return b}());
Editor=function(b,c,f,d){mxEventSource.call(this);this.chromeless=null!=b?b:this.chromeless;this.initStencilRegistry();this.graph=d||this.createGraph(c,f);this.undoManager=this.createUndoManager();this.status="";this.getOrCreateFilename=function(){return this.filename||mxResources.get("drawing",[Editor.pageCounter])+".xml"};this.getFilename=function(){return this.filename};this.setStatus=function(a){this.status=a;this.fireEvent(new mxEventObject("statusChanged"))};this.getStatus=function(){return this.status};
this.graphChangeListener=function(){this.setModified(!0)};this.graph.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.graphChangeListener.apply(this,arguments)}));this.graph.resetViewOnRootChange=!1;this.init()};Editor.pageCounter=0;(function(){try{for(var b=window;null!=b.opener&&"undefined"!==typeof b.opener.Editor&&!isNaN(b.opener.Editor.pageCounter);)b=b.opener;null!=b&&(b.Editor.pageCounter++,Editor.pageCounter=b.Editor.pageCounter)}catch(c){}})();
Editor.useLocalStorage="undefined"!=typeof Storage&&mxClient.IS_IOS;
Editor.helpImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAXVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC5BxTwAAAAH3RSTlMAlUF8boNQIE0LBgOgkGlHNSwqFIx/dGVUOjApmV9ezNACSAAAAIVJREFUGNNtjNsOgzAMQ5NeoVcKDAZs+//PXLKI8YKlWvaRU7jXuFpb9qsbdK05XILUiE8JHQox1Pv3OgFUzf1AGqWqUg+QBwLF0YAeegBlCNgRWOpB5vUfTCmeoHQ/wNdy0jLH/cM+b+wLTw4n/7ACEmHVVy8h6qy8V7MNcGowWpsNbvUFcGUEdSi1s/oAAAAASUVORK5CYII\x3d":IMAGE_PATH+
"/help.png";
Editor.checkmarkImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhFQAVAMQfAGxsbHx8fIqKioaGhvb29nJycvr6+sDAwJqamltbW5OTk+np6YGBgeTk5Ly8vJiYmP39/fLy8qWlpa6ursjIyOLi4vj4+N/f3+3t7fT09LCwsHZ2dubm5r6+vmZmZv///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OEY4NTZERTQ5QUFBMTFFMUE5MTVDOTM5MUZGMTE3M0QiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OEY4NTZERTU5QUFBMTFFMUE5MTVDOTM5MUZGMTE3M0QiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Rjg1NkRFMjlBQUExMUUxQTkxNUM5MzkxRkYxMTczRCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Rjg1NkRFMzlBQUExMUUxQTkxNUM5MzkxRkYxMTczRCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAEAAB8ALAAAAAAVABUAAAVI4CeOZGmeaKqubKtylktSgCOLRyLd3+QJEJnh4VHcMoOfYQXQLBcBD4PA6ngGlIInEHEhPOANRkaIFhq8SuHCE1Hb8Lh8LgsBADs\x3d":IMAGE_PATH+
"/checkmark.gif";Editor.maximizeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAElBMVEUAAAAAAAAAAAAAAAAAAAAAAADgKxmiAAAABXRSTlMA758vX1Pw3BoAAABJSURBVAjXY8AJQkODGBhUQ0MhbAUGBiYY24CBgRnGFmZgMISwgwwDGRhEhVVBbAVmEQYGRwMmBjIAQi/CTIRd6G5AuA3dzYQBAHj0EFdHkvV4AAAAAElFTkSuQmCC";Editor.zoomOutImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAElBMVEUAAAAAAAAsLCxxcXEhISFgYGChjTUxAAAAAXRSTlMAQObYZgAAAEdJREFUCNdjIAMwCQrB2YKCggJQJqMwA7MglK1owMBgqABVApITgLJZXFxgbIQ4Qj3CHIT5ggoIe5kgNkM1KSDYKBKqxPkDAPo5BAZBE54hAAAAAElFTkSuQmCC";
Editor.zoomInImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAElBMVEUAAAAAAAAsLCwhISFxcXFgYGBavKaoAAAAAXRSTlMAQObYZgAAAElJREFUCNdjIAMwCQrB2YKCggJQJqMIA4sglK3owMzgqABVwsDMwCgAZTMbG8PYCHGEeoQ5CPMFFRD2MkFshmpSQLBRJFSJ8wcAEqcEM2uhl2MAAAAASUVORK5CYII\x3d";Editor.zoomFitImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAD1BMVEUAAAAAAAAwMDBwcHBgYGC1xl09AAAAAXRSTlMAQObYZgAAAEFJREFUCNdjIAMwCQrB2YKCggJQJqMwA7MglK1owMBgqABVApITwMdGqEeYgzBfUAFhLxPEZqgmBQQbRUKFOH8AAK5OA3lA+FFOAAAAAElFTkSuQmCC";
Editor.layersImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAAaVBMVEUAAAAgICAICAgdHR0PDw8WFhYICAgLCwsXFxcvLy8ODg4uLi4iIiIqKiokJCQYGBgKCgonJycFBQUCAgIqKiocHBwcHBwODg4eHh4cHBwnJycJCQkUFBQqKiojIyMuLi4ZGRkgICAEBATOWYXAAAAAGnRSTlMAD7+fnz8/H7/ff18/77+vr5+fn39/b28fH2xSoKsAAACQSURBVBjTrYxJEsMgDARZZMAY73sgCcn/HxnhKtnk7j6oRq0psfuoyndZ/SuODkHPLzfVT6KeyPePnJ7KrnkRjWMXTn4SMnN8mXe2SSM3ts8L/ZUxxrbAULSYJJULE0Iw9pjpenoICcgcX61mGgTgtCv9Be99pzCoDhNQWQnchD1mup5++CYGcoQexajZbfwAj/0MD8ZOaUgAAAAASUVORK5CYII\x3d";
Editor.zoomOutLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAilBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////2N2iNAAAALXRSTlMA+vTcKMM96GRBHwXxi0YaX1HLrKWhiHpWEOnOr52Vb2xKSDcT19PKv5l/Ngdk8+viAAABJklEQVQ4y4WT2XaDMAxEvWD2nSSUNEnTJN3r//+9Sj7ILAY6L0ijC4ONYVZRpo6cByrz2YKSUGorGTpz71lPVHvT+avoB5wIkU/mxk8veceSuNoLg44IzziXjvpih72wKQnm8yc2UoiP/LAd8jQfe2Xf4Pq+2EyYIvv9wbzHHCgwxDdlBtWZOdqDfTCVgqpygQpsZaojVAVc9UjQxnAJDIBhiQv84tq3gMQCAVTxVoSibXJf8tMuc7e1TB/DCmejBNg/w1Y3c+AM5vv4w7xM59/oXamrHaLVqPQ+OTCnmMZxgz0SdL5zji0/ld6j88qGa5KIiBB6WeJGKfUKwSMKLuXgvl1TW0tm5R9UQL/efSDYsnzxD8CinhBsTTdugJatKpJwf8v+ADb8QmvW7AeAAAAAAElFTkSuQmCC";
Editor.zoomInLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAilBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////2N2iNAAAALXRSTlMA+vTcKMM96GRBHwXxi0YaX1HLrKWhiHpWEOnOr52Vb2xKSDcT19PKv5l/Ngdk8+viAAABKElEQVQ4y4WT6WKCMBCENwkBwn2oFKvWqr3L+79es4EkQIDOH2d3Pxk2ABiJlB8JCXjqw4LikHVGLHTm3nM3UeVN5690GBBN0GwyV/3kkrUQR+WeKnREeKpzaXWd77CmJiXGfPIEI4V4yQ9TIW/ntlcMBe731Vts9w5TWG8F5j3mQI4hvrKpdGeYA7CX9qAcl650gVJartxRuhyHVghF8idQAIbFLvCLu28BsQEC6aKtCK6Pyb3JT7PmbmtNH8Ny56CotD/2qOs5cJbuffxgXmCib+xddVU5RNOhkvvkhTlFehzVWCOh3++MYElOhfdovaImnRYVmqDdsuhNp1QrBBE6uGC2+3ZNjGdg5B94oD+9uyVgWT79BwAxEBTWdOu3bWBVgsn/N/AHUD9IC01Oe40AAAAASUVORK5CYII\x3d";
Editor.actualSizeLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAilBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////2N2iNAAAALXRSTlMA+vTcKMM96GRBHwXxi0YaX1HLrKWhiHpWEOnOr52Vb2xKSDcT19PKv5l/Ngdk8+viAAABIUlEQVQ4y4WT2XqDIBCFBxDc9yTWNEnTJN3r+79eGT4BEbXnaubMr8dBBaM450dCQp4LWFAascGIRd48eB4cNYE7f6XjgGiCFs5c+dml6CFN6j1V6IQIlHPpdV/usKcmJcV88gQTRXjLD9Mhb+fWq8YG9/uCmTCFjeeDeY85UGKIUGUuqzN42kv7oCouq9oHamlzVR1lVfpAIu1QVRiW+sAv7r4FpAYIZZVsRXB9TP5Dfpo1d1trCgzz1iiptH/sUbdz4CzN9+mLeXHn3+hdddd4RDegsrvzwZwSs2GLPRJidAqCLTlVwaMPqpYMWjTWBB2WRW86pVkhSKyDK2bdt2tmagZG4sBD/evdLQHLEvQfAOKRoLCmG1FAB6uKmby+gz+REDn7O5+EwQAAAABJRU5ErkJggg\x3d\x3d";
Editor.layersLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAmVBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+/v7///+bnZkkAAAAMnRSTlMABPr8ByiD88KsTi/rvJb272mjeUA1CuPe1M/KjVxYHxMP6KZ0S9nYzGRGGRaznpGIbzaGUf0AAAHESURBVDjLbZLZYoIwEEVDgLCjbKIgAlqXqt3m/z+uNwu1rcyDhjl3ktnYL7OY254C0VX3yWFZfzDrOClbbgKxi0YDHjwl4jbnRkXxJS/C1YP3DbBhD1n7Ex4uaAqdVDb3yJ/4J/3nJD2to/ngQz/DfUvzMp4JJ5sSCaF5oXmemgQDfDxzbi+Kq4sU+vNcuAmx94JtyOP2DD4Epz2asWSCz4Z/4fECxyNj9zC9xNLHcdPEO+awDKeSaUu0W4twZQiO2hYVisTR3RCtK/c1X6t4xMEpiGqXqVntEBLolkZZsKY4QtwH6jzq67dEHlJysB1aNOD3XT7n1UkasQN59L4yC2RELMDSeCRtz3yV22Ub3ozIUTknYx8JWqDdQxbUes98cR2kZtUSveF/bAhcedwEWmlxIkpZUy4XOCb6VBjjxHvbwo/1lBAHHi2JCr0NI570QhyHq/DhJoE2lLgyA4RVe6KmZ47O/3b86MCP0HWa73A8/C3SUc5Qc1ajt6fgpXJ+RGpMvDSchepZDOOQRcZVIKcK90x2D7etqtI+56+u6n3sPriO6nfphitR4+O2m3EbM7lh3me1FM1o+LMI887rN+s3/wZdTFlpNVJiOAAAAABJRU5ErkJggg\x3d\x3d";
Editor.closeLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAUVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////8IN+deAAAAGnRSTlMAuvAIg/dDM/QlOeuFhj0S5s4vKgzjxJRQNiLSey0AAADNSURBVDjLfZLbEoMgDEQjRRRs1XqX///QNmOHJSnjPkHOGR7IEmeoGtJZstnwjqbRfIsmgEdtPCqe9Ynz7ZSc07rE2QiSc+qv8TvjRXA2PDUm3dpe82iJhOEUfxJJo3aCv+jKmRmH4lcCjCjeh9GWOdL/GZZkXH3PYYDrHBnfc4D/RVZf5sjoC1was+Y6HQxwaUxFvq/a0Pv343VCTxfBSRiB+ab3M3eiQZXmMNBJ3Y8pGRZtYQ7DgHMXJEdPLTaN/qBjzJOBc3nmNcbsA16bMR0oLqf+AAAAAElFTkSuQmCC";
Editor.editLargeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAgMAAAAOFJJnAAAACVBMVEUAAAD///////9zeKVjAAAAAnRSTlMAgJsrThgAAABcSURBVBjThc6xDcAgDATAd8MQTEPW8TRUmYCGnzLRYyOlIV+dZFtvkICTFGqiJEzAG0/Uje9oL+e5Vu4F5yUYJxxqGKhQZ0eBvmgwYQLQaARKD1hbiPyDR0QOeAC31EyNe5X/kAAAAABJRU5ErkJggg\x3d\x3d";mxUtils.extend(Editor,mxEventSource);Editor.prototype.originalNoForeignObject=mxClient.NO_FO;
Editor.prototype.transparentImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhMAAwAIAAAP///wAAACH5BAEAAAAALAAAAAAwADAAAAIxhI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8egpAAA7":IMAGE_PATH+"/transparent.gif";Editor.prototype.extendCanvas=!0;Editor.prototype.chromeless=!1;Editor.prototype.cancelFirst=!0;Editor.prototype.enabled=!0;Editor.prototype.filename=null;Editor.prototype.modified=!1;Editor.prototype.autosave=!0;Editor.prototype.initialTopSpacing=0;Editor.prototype.appName=document.title;
Editor.prototype.editBlankUrl=window.location.protocol+"//"+window.location.host+"/?client\x3d1";Editor.prototype.editBlankFallbackUrl=window.location.protocol+"//"+window.location.host+"/?create\x3ddrawdata\x26splash\x3d0";Editor.prototype.init=function(){};Editor.prototype.setAutosave=function(b){this.autosave=b;this.fireEvent(new mxEventObject("autosaveChanged"))};
Editor.prototype.editAsNew=function(b,c){var f=null!=c?"\x26title\x3d"+encodeURIComponent(c):"";if("undefined"!==typeof window.postMessage&&(null==document.documentMode||10<=document.documentMode)){var d=null,a=mxUtils.bind(this,function(e){"ready"==e.data&&e.source==d&&(d.postMessage(b,"*"),mxEvent.removeListener(window,"message",a))});mxEvent.addListener(window,"message",a);d=window.open(this.editBlankUrl+f)}else window.drawdata=b,window.open(this.editBlankFallbackUrl+f)};
Editor.prototype.createGraph=function(b,c){var f=new Graph(null,c,null,null,b);f.transparentBackground=!1;return f};
Editor.prototype.resetGraph=function(){this.graph.gridEnabled=!this.chromeless||"1"==urlParams.grid;this.graph.graphHandler.guidesEnabled=!0;this.graph.setTooltips(!0);this.graph.setConnectable(!0);this.graph.foldingEnabled=!0;this.graph.scrollbars=this.graph.defaultScrollbars;this.graph.pageVisible=this.graph.defaultPageVisible;this.graph.pageBreaksVisible=this.graph.pageVisible;this.graph.preferPageSize=this.graph.pageBreaksVisible;this.graph.background=this.graph.defaultGraphBackground;this.graph.pageScale=
mxGraph.prototype.pageScale;this.graph.pageFormat=mxGraph.prototype.pageFormat;this.updateGraphComponents();this.graph.view.setScale(1)};
Editor.prototype.readGraphState=function(b){this.graph.gridEnabled="0"!=b.getAttribute("grid")&&(!this.chromeless||"1"==urlParams.grid);this.graph.gridSize=parseFloat(b.getAttribute("gridSize"))||mxGraph.prototype.gridSize;this.graph.graphHandler.guidesEnabled="0"!=b.getAttribute("guides");this.graph.setTooltips("0"!=b.getAttribute("tooltips"));this.graph.setConnectable("0"!=b.getAttribute("connect"));this.graph.connectionArrowsEnabled="0"!=b.getAttribute("arrows");this.graph.foldingEnabled="0"!=
b.getAttribute("fold");this.chromeless&&this.graph.foldingEnabled&&(this.graph.foldingEnabled="1"==urlParams.nav,this.graph.cellRenderer.forceControlClickHandler=this.graph.foldingEnabled);var c=b.getAttribute("pageScale");this.graph.pageScale=null!=c?c:mxGraph.prototype.pageScale;this.graph.lightbox?this.graph.pageVisible=!1:(c=b.getAttribute("page"),this.graph.pageVisible=null!=c?"0"!=c:this.graph.defaultPageVisible);this.graph.pageBreaksVisible=this.graph.pageVisible;this.graph.preferPageSize=
this.graph.pageBreaksVisible;var c=b.getAttribute("pageWidth"),f=b.getAttribute("pageHeight");null!=c&&null!=f&&(this.graph.pageFormat=new mxRectangle(0,0,parseFloat(c),parseFloat(f)));b=b.getAttribute("background");this.graph.background=null!=b&&0<b.length?b:this.graph.defaultGraphBackground};
Editor.prototype.setGraphXml=function(b){if(null!=b){var c=new mxCodec(b.ownerDocument);if("mxGraphModel"==b.nodeName){this.graph.model.beginUpdate();try{this.graph.model.clear(),this.graph.view.scale=1,this.readGraphState(b),this.updateGraphComponents(),c.decode(b,this.graph.getModel())}finally{this.graph.model.endUpdate()}this.fireEvent(new mxEventObject("resetGraphView"))}else if("root"==b.nodeName){this.resetGraph();var f=c.document.createElement("mxGraphModel");f.appendChild(b);c.decode(f,this.graph.getModel());
this.updateGraphComponents();this.fireEvent(new mxEventObject("resetGraphView"))}else throw{message:mxResources.get("cannotOpenFile"),node:b,toString:function(){return this.message}};}else this.resetGraph(),this.graph.model.clear(),this.fireEvent(new mxEventObject("resetGraphView"))};
Editor.prototype.getGraphXml=function(b){var c=null,c=(null!=b?b:1)?(new mxCodec(mxUtils.createXmlDocument())).encode(this.graph.getModel()):this.graph.encodeCells(this.graph.getSelectionCells());if(0!=this.graph.view.translate.x||0!=this.graph.view.translate.y)c.setAttribute("dx",Math.round(100*this.graph.view.translate.x)/100),c.setAttribute("dy",Math.round(100*this.graph.view.translate.y)/100);c.setAttribute("grid",this.graph.isGridEnabled()?"1":"0");c.setAttribute("gridSize",this.graph.gridSize);
c.setAttribute("guides",this.graph.graphHandler.guidesEnabled?"1":"0");c.setAttribute("tooltips",this.graph.tooltipHandler.isEnabled()?"1":"0");c.setAttribute("connect",this.graph.connectionHandler.isEnabled()?"1":"0");c.setAttribute("arrows",this.graph.connectionArrowsEnabled?"1":"0");c.setAttribute("fold",this.graph.foldingEnabled?"1":"0");c.setAttribute("page",this.graph.pageVisible?"1":"0");c.setAttribute("pageScale",this.graph.pageScale);c.setAttribute("pageWidth",this.graph.pageFormat.width);
c.setAttribute("pageHeight",this.graph.pageFormat.height);null!=this.graph.background&&c.setAttribute("background",this.graph.background);return c};Editor.prototype.updateGraphComponents=function(){var b=this.graph;null!=b.container&&(b.view.validateBackground(),b.container.style.overflow=b.scrollbars?"auto":"hidden",this.fireEvent(new mxEventObject("updateGraphComponents")))};Editor.prototype.setModified=function(b){this.modified=b};Editor.prototype.setFilename=function(b){this.filename=b};
Editor.prototype.createUndoManager=function(){var b=this.graph,c=new mxUndoManager;this.undoListener=function(b,a){c.undoableEditHappened(a.getProperty("edit"))};var f=mxUtils.bind(this,function(b,a){this.undoListener.apply(this,arguments)});b.getModel().addListener(mxEvent.UNDO,f);b.getView().addListener(mxEvent.UNDO,f);f=function(d,a){for(var e=b.getSelectionCellsForChanges(a.getProperty("edit").changes),c=b.getModel(),f=[],l=0;l<e.length;l++)(c.isVertex(e[l])||c.isEdge(e[l]))&&null!=b.view.getState(e[l])&&
f.push(e[l]);b.setSelectionCells(f)};c.addListener(mxEvent.UNDO,f);c.addListener(mxEvent.REDO,f);return c};Editor.prototype.initStencilRegistry=function(){};Editor.prototype.destroy=function(){null!=this.graph&&(this.graph.destroy(),this.graph=null)};OpenFile=function(b){this.consumer=this.producer=null;this.done=b};OpenFile.prototype.setConsumer=function(b){this.consumer=b;this.execute()};OpenFile.prototype.setData=function(b,c){this.data=b;this.filename=c;this.execute()};
OpenFile.prototype.error=function(b){this.cancel(!0);mxUtils.alert(b)};OpenFile.prototype.execute=function(){null!=this.consumer&&null!=this.data&&(this.cancel(!1),this.consumer(this.data,this.filename))};OpenFile.prototype.cancel=function(b){null!=this.done&&this.done(null!=b?b:!0)};
(function(){mxGraphView.prototype.validateBackgroundPage=function(){var a=this.graph;if(null!=a.container&&!a.transparentBackground){if(a.pageVisible){var b=this.getBackgroundPageBounds();if(null==this.backgroundPageShape){for(var d=a.container.firstChild;null!=d&&d.nodeType!=mxConstants.NODETYPE_ELEMENT;)d=d.nextSibling;null!=d&&(this.backgroundPageShape=this.createBackgroundPageShape(b),this.backgroundPageShape.scale=1,this.backgroundPageShape.isShadow=!mxClient.IS_QUIRKS,this.backgroundPageShape.dialect=
mxConstants.DIALECT_STRICTHTML,this.backgroundPageShape.init(a.container),d.style.position="absolute",a.container.insertBefore(this.backgroundPageShape.node,d),this.backgroundPageShape.redraw(),this.backgroundPageShape.node.className="geBackgroundPage",mxEvent.addListener(this.backgroundPageShape.node,"dblclick",mxUtils.bind(this,function(b){a.dblClick(b)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(b){a.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b))}),
mxUtils.bind(this,function(b){null!=a.tooltipHandler&&a.tooltipHandler.isHideOnHover()&&a.tooltipHandler.hide();a.isMouseDown&&!mxEvent.isConsumed(b)&&a.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b))}),mxUtils.bind(this,function(b){a.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(b))})))}else this.backgroundPageShape.scale=1,this.backgroundPageShape.bounds=b,this.backgroundPageShape.redraw()}else null!=this.backgroundPageShape&&(this.backgroundPageShape.destroy(),this.backgroundPageShape=
null);this.validateBackgroundStyles()}};mxGraphView.prototype.validateBackgroundStyles=function(){var a=this.graph,b=null==a.background||a.background==mxConstants.NONE?"#ffffff":a.background,d=this.gridColor!=b.toLowerCase()?this.gridColor:"#ffffff",e="none",c="";if(a.isGridEnabled()){c=10;mxClient.IS_SVG?(e=unescape(encodeURIComponent(this.createSvgGrid(d))),e=window.btoa?btoa(e):Base64.encode(e,!0),e="url(data:image/svg+xml;base64,"+e+")",c=a.gridSize*this.scale*this.gridSteps):e="url("+this.gridImage+
")";var f=d=0;null!=a.view.backgroundPageShape&&(f=this.getBackgroundPageBounds(),d=1+f.x,f=1+f.y);c=-Math.round(c-mxUtils.mod(this.translate.x*this.scale-d,c))+"px "+-Math.round(c-mxUtils.mod(this.translate.y*this.scale-f,c))+"px"}d=a.view.canvas;null!=d.ownerSVGElement&&(d=d.ownerSVGElement);null!=a.view.backgroundPageShape?(a.view.backgroundPageShape.node.style.backgroundPosition=c,a.view.backgroundPageShape.node.style.backgroundImage=e,a.view.backgroundPageShape.node.style.backgroundColor=b,a.container.className=
"geDiagramContainer geDiagramBackdrop",d.style.backgroundImage="none",d.style.backgroundColor=""):(a.container.className="geDiagramContainer",d.style.backgroundPosition=c,d.style.backgroundColor=b,d.style.backgroundImage=e)};mxGraphView.prototype.createSvgGrid=function(a){for(var b=this.graph.gridSize*this.scale;b<this.minGridSize;)b*=2;for(var d=this.gridSteps*b,e=[],c=1;c<this.gridSteps;c++){var f=c*b;e.push("M 0 "+f+" L "+d+" "+f+" M "+f+" 0 L "+f+" "+d)}return'\x3csvg width\x3d"'+d+'" height\x3d"'+
d+'" xmlns\x3d"'+mxConstants.NS_SVG+'"\x3e\x3cdefs\x3e\x3cpattern id\x3d"grid" width\x3d"'+d+'" height\x3d"'+d+'" patternUnits\x3d"userSpaceOnUse"\x3e\x3cpath d\x3d"'+e.join(" ")+'" fill\x3d"none" stroke\x3d"'+a+'" opacity\x3d"0.2" stroke-width\x3d"1"/\x3e\x3cpath d\x3d"M '+d+" 0 L 0 0 0 "+d+'" fill\x3d"none" stroke\x3d"'+a+'" stroke-width\x3d"1"/\x3e\x3c/pattern\x3e\x3c/defs\x3e\x3crect width\x3d"100%" height\x3d"100%" fill\x3d"url(#grid)"/\x3e\x3c/svg\x3e'};var b=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=
function(a,d){b.apply(this,arguments);if(null!=this.shiftPreview1){var e=this.view.canvas;null!=e.ownerSVGElement&&(e=e.ownerSVGElement);var c=this.gridSize*this.view.scale*this.view.gridSteps,c=-Math.round(c-mxUtils.mod(this.view.translate.x*this.view.scale+a,c))+"px "+-Math.round(c-mxUtils.mod(this.view.translate.y*this.view.scale+d,c))+"px";e.style.backgroundPosition=c}};mxGraph.prototype.updatePageBreaks=function(a,b,d){var e=this.view.scale,c=this.view.translate,f=this.pageFormat,g=e*this.pageScale,
q=this.view.getBackgroundPageBounds();b=q.width;d=q.height;e=new mxRectangle(e*c.x,e*c.y,f.width*g,f.height*g);c=(a=a&&Math.min(e.width,e.height)>this.minPageBreakDist)?Math.ceil(b/e.width)-1:0;a=a?Math.ceil(d/e.height)-1:0;b=q.x+b;d=q.y+d;null==this.horizontalPageBreaks&&0<c&&(this.horizontalPageBreaks=[]);if(null!=this.horizontalPageBreaks){for(f=0;f<=c;f++)g=[new mxPoint(q.x+(f+1)*e.width,q.y),new mxPoint(q.x+(f+1)*e.width,d)],null!=this.horizontalPageBreaks[f]?(this.horizontalPageBreaks[f].points=
g,this.horizontalPageBreaks[f].redraw()):(g=new mxPolyline(g,this.pageBreakColor),g.dialect=this.dialect,g.isDashed=this.pageBreakDashed,g.pointerEvents=!1,g.init(this.view.backgroundPane),g.redraw(),this.horizontalPageBreaks[f]=g);for(f=c;f<this.horizontalPageBreaks.length;f++)this.horizontalPageBreaks[f].destroy();this.horizontalPageBreaks.splice(c,this.horizontalPageBreaks.length-c)}null==this.verticalPageBreaks&&0<a&&(this.verticalPageBreaks=[]);if(null!=this.verticalPageBreaks){for(f=0;f<=a;f++)g=
[new mxPoint(q.x,q.y+(f+1)*e.height),new mxPoint(b,q.y+(f+1)*e.height)],null!=this.verticalPageBreaks[f]?(this.verticalPageBreaks[f].points=g,this.verticalPageBreaks[f].redraw()):(g=new mxPolyline(g,this.pageBreakColor),g.dialect=this.dialect,g.isDashed=this.pageBreakDashed,g.pointerEvents=!1,g.init(this.view.backgroundPane),g.redraw(),this.verticalPageBreaks[f]=g);for(f=a;f<this.verticalPageBreaks.length;f++)this.verticalPageBreaks[f].destroy();this.verticalPageBreaks.splice(a,this.verticalPageBreaks.length-
a)}};var c=mxGraphHandler.prototype.shouldRemoveCellsFromParent;mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(a,b,d){for(var e=0;e<b.length;e++)if(this.graph.getModel().isVertex(b[e])){var f=this.graph.getCellGeometry(b[e]);if(null!=f&&f.relative)return!1}return c.apply(this,arguments)};var f=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var a=f.apply(this,arguments);a.intersects=mxUtils.bind(this,function(b,d){return this.isConnecting()?
!0:mxCellMarker.prototype.intersects.apply(a,arguments)});return a};mxGraphView.prototype.createBackgroundPageShape=function(a){return new mxRectangleShape(a,"#ffffff","#cacaca")};mxGraphView.prototype.getBackgroundPageBounds=function(){var a=this.getGraphBounds(),b=0<a.width?a.x/this.scale-this.translate.x:0,d=0<a.height?a.y/this.scale-this.translate.y:0,e=a.width/this.scale,c=a.height/this.scale,f=this.graph.pageFormat,g=this.graph.pageScale,a=f.width*g,f=f.height*g,g=Math.floor(Math.min(0,b)/a),
q=Math.floor(Math.min(0,d)/f),b=Math.ceil(Math.max(1,b+e)/a),d=Math.ceil(Math.max(1,d+c)/f);return new mxRectangle(this.scale*(this.translate.x+g*a),this.scale*(this.translate.y+q*f),this.scale*(b-g)*a,this.scale*(d-q)*f)};var d=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(a,b){d.apply(this,arguments);if(this.dialect!=mxConstants.DIALECT_SVG&&null!=this.view.backgroundPageShape&&(!this.useScrollbarsForPanning||!mxUtils.hasScrollbars(this.container)))this.view.backgroundPageShape.node.style.marginLeft=
a+"px",this.view.backgroundPageShape.node.style.marginTop=b+"px"};var a=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(b,d,e,c,f,g){var s=a.apply(this,arguments);null!=g&&!g&&mxEvent.addListener(s,"mousedown",function(a){mxEvent.consume(a)});return s};var e=mxGraphHandler.prototype.getInitialCellForEvent;mxGraphHandler.prototype.getInitialCellForEvent=function(a){var b=this.graph.getModel(),d=b.getParent(this.graph.getSelectionCell()),c=e.apply(this,arguments),f=b.getParent(c);
if(null==d||d!=c&&d!=f)for(;!this.graph.isCellSelected(c)&&!this.graph.isCellSelected(f)&&b.isVertex(f)&&!this.graph.isContainer(f);)c=f,f=this.graph.getModel().getParent(c);return c};var g=mxGraphHandler.prototype.isDelayedSelection;mxGraphHandler.prototype.isDelayedSelection=function(a,b){var d=g.apply(this,arguments);if(!d)for(var e=this.graph.getModel(),c=e.getParent(a);null!=c;){if(this.graph.isCellSelected(c)&&e.isVertex(c)){d=!0;break}c=e.getParent(c)}return d};mxGraphHandler.prototype.selectDelayed=
function(a){if(!this.graph.popupMenuHandler.isPopupTrigger(a)){var b=a.getCell();null==b&&(b=this.cell);var d=this.graph.view.getState(b);if(!(null!=d&&a.isSource(d.control)))for(var d=this.graph.getModel(),e=d.getParent(b);!this.graph.isCellSelected(e)&&d.isVertex(e);)b=e,e=d.getParent(b);this.graph.selectCellForEvent(b,a.getEvent())}};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(a){a=a.getCell();for(var b=this.graph.getModel(),d=b.getParent(a);b.isVertex(d)&&!this.graph.isContainer(d);)this.graph.isCellSelected(d)&&
(a=d),d=b.getParent(d);return a}})();
EditorUi=function(b,c,f){mxEventSource.call(this);this.destroyFunctions=[];this.editor=b||new Editor;this.container=c||document.body;var d=this.editor.graph;d.lightbox=f;mxClient.IS_SVG?mxPopupMenu.prototype.submenuImage="data:image/gif;base64,R0lGODlhCQAJAIAAAP///zMzMyH5BAEAAAAALAAAAAAJAAkAAAIPhI8WebHsHopSOVgb26AAADs\x3d":(new Image).src=mxPopupMenu.prototype.submenuImage;!mxClient.IS_SVG&&null!=mxConnectionHandler.prototype.connectImage&&((new Image).src=mxConnectionHandler.prototype.connectImage.src);this.editor.chromeless&&
(this.footerHeight=0,d.isEnabled=function(){return!1},d.panningHandler.isForcePanningEvent=function(a){return!mxEvent.isPopupTrigger(a.getEvent())});this.actions=new Actions(this);this.menus=this.createMenus();this.createDivs();this.createUi();this.refresh();c=mxUtils.bind(this,function(a){null==a&&(a=window.event);return this.isSelectionAllowed(a)?!0:d.isEditing()});this.container==document.body&&(this.menubarContainer.onselectstart=c,this.menubarContainer.onmousedown=c,this.toolbarContainer.onselectstart=
c,this.toolbarContainer.onmousedown=c,this.diagramContainer.onselectstart=c,this.diagramContainer.onmousedown=c,this.sidebarContainer.onselectstart=c,this.sidebarContainer.onmousedown=c,this.formatContainer.onselectstart=c,this.formatContainer.onmousedown=c,this.footerContainer.onselectstart=c,this.footerContainer.onmousedown=c,null!=this.tabContainer&&(this.tabContainer.onselectstart=c));this.editor.chromeless?d.panningHandler.usePopupTrigger=!1:mxClient.IS_IE&&("undefined"===typeof document.documentMode||
9>document.documentMode)?mxEvent.addListener(this.diagramContainer,"contextmenu",c):this.diagramContainer.oncontextmenu=c;d.init(this.diagramContainer);d.cellRenderer.initializeLabel=function(a,b){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);mxEvent.addListener(b.node,"click",function(a){for(var d=mxEvent.getSource(a);null!=d&&d!=b.node;){if("A"==d.nodeName){null==d.getAttribute("target")&&null!=d.getAttribute("href")&&(window.open(d.getAttribute("href")),mxEvent.consume(a));break}d=
d.parentNode}})};this.hoverIcons=this.createHoverIcons();mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(a){var b=mxUtils.getOffset(this.diagramContainer);0<mxEvent.getClientX(a)-b.x-this.diagramContainer.clientWidth||0<mxEvent.getClientY(a)-b.y-this.diagramContainer.clientHeight?this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this.diagramContainer.removeAttribute("title")}));var a=!1,e=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent=
function(b,d){return a||e.apply(this,arguments)};this.keydownHandler=mxUtils.bind(this,function(b){32==b.which?(a=!0,this.hoverIcons.reset(),d.container.style.cursor="move",!d.isEditing()&&mxEvent.getSource(b)==d.container&&mxEvent.consume(b)):!mxEvent.isConsumed(b)&&27==b.keyCode&&this.hideDialog()});mxEvent.addListener(document,"keydown",this.keydownHandler);this.keyupHandler=mxUtils.bind(this,function(b){d.container.style.cursor="";a=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);
var g=d.panningHandler.isForcePanningEvent;d.panningHandler.isForcePanningEvent=function(b){return g.apply(this,arguments)||a||mxEvent.isMouseEvent(b.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(b.getEvent()))&&(!mxEvent.isControlDown(b.getEvent())&&mxEvent.isRightMouseButton(b.getEvent())||mxEvent.isMiddleMouseButton(b.getEvent()))};var k=d.cellEditor.isStopEditingEvent;d.cellEditor.isStopEditingEvent=function(a){return k.apply(this,arguments)||13==a.keyCode&&mxEvent.isControlDown(a)};
var l=!1,m=null,n=null,p=null,r=mxUtils.bind(this,function(){if(l!=d.cellEditor.isContentEditing()){for(var a=this.toolbar.container.firstChild,b=[];null!=a;){var e=a.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,a)&&(a.parentNode.removeChild(a),b.push(a));a=e}a=this.toolbar.fontMenu;e=this.toolbar.sizeMenu;if(null==p)this.toolbar.createTextToolbar();else{for(var c=0;c<p.length;c++)this.toolbar.container.appendChild(p[c]);this.toolbar.fontMenu=m;this.toolbar.sizeMenu=n}l=d.cellEditor.isContentEditing();
m=a;n=e;p=b}}),s=this,q=d.cellEditor.startEditing;d.cellEditor.startEditing=function(){q.apply(this,arguments);r();if(d.cellEditor.isContentEditing()){var a=!1,b=function(){a||(a=!0,window.setTimeout(function(){for(var b=d.getSelectedElement();null!=b&&b.nodeType!=mxConstants.NODETYPE_ELEMENT;)b=b.parentNode;if(null!=b&&(b=mxUtils.getCurrentStyle(b),null!=b&&null!=s.toolbar)){var e=b.fontFamily;"'"==e.charAt(0)&&(e=e.substring(1));"'"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1));s.toolbar.setFontName(e);
s.toolbar.setFontSize(parseInt(b.fontSize))}a=!1},0))};mxEvent.addListener(d.cellEditor.textarea,"input",b);mxEvent.addListener(d.cellEditor.textarea,"touchend",b);mxEvent.addListener(d.cellEditor.textarea,"mouseup",b);mxEvent.addListener(d.cellEditor.textarea,"keyup",b);b()}};var t=d.cellEditor.stopEditing;d.cellEditor.stopEditing=function(a,b){t.apply(this,arguments);r()};d.container.setAttribute("tabindex","0");d.container.style.cursor="default";window.self===window.top&&null!=d.container.parentNode&&
d.container.focus();var u=d.fireMouseEvent;d.fireMouseEvent=function(a,b,d){a==mxEvent.MOUSE_DOWN&&this.container.focus();u.apply(this,arguments)};d.popupMenuHandler.autoExpand=!0;null!=this.menus&&(d.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(a,b,d){this.menus.createPopupMenu(a,b,d)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(a){d.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(b);this.getKeyHandler=function(){return keyHandler};var v="rounded shadow glass dashed dashPattern comic labelBackgroundColor".split(" "),
z="shape edgeStyle curved rounded elbow comic".split(" ");this.setDefaultStyle=function(a){var b=d.view.getState(a);if(null!=b){a=a.clone();a.style="";a=d.getCellStyle(a);var e=[],c=[],f;for(f in b.style)a[f]!=b.style[f]&&(e.push(b.style[f]),c.push(f));f=d.getModel().getStyle(b.cell);for(var g=null!=f?f.split(";"):[],k=0;k<g.length;k++){var l=g[k],m=l.indexOf("\x3d");0<=m&&(f=l.substring(0,m),l=l.substring(m+1),null!=a[f]&&"none"==l&&(e.push(l),c.push(f)))}d.getModel().isEdge(b.cell)?d.currentEdgeStyle=
{}:d.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",c,"values",e,"cells",[b.cell]))}};this.clearDefaultStyle=function(){d.currentEdgeStyle=d.defaultEdgeStyle;d.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};var y=["fontFamily","fontSize","fontColor"],x="edgeStyle startArrow startFill startSize endArrow endFill endSize jettySize orthogonalLoop".split(" "),D=["startArrow startFill startSize endArrow endFill endSize jettySize orthogonalLoop".split(" "),
["strokeColor","strokeWidth"],["fillColor","gradientColor"],y,["align"],["html"]];for(b=0;b<D.length;b++)for(c=0;c<D[b].length;c++)v.push(D[b][c]);for(b=0;b<z.length;b++)v.push(z[b]);var A=function(a,b){d.getModel().beginUpdate();try{if(b)for(var e=d.getModel().isEdge(k),c=e?d.currentEdgeStyle:d.currentVertexStyle,e=["fontSize","fontFamily","fontColor"],f=0;f<e.length;f++){var g=c[e[f]];null!=g&&d.setCellStyles(e[f],g,a)}else for(g=0;g<a.length;g++){for(var k=a[g],l=d.getModel().getStyle(k),m=null!=
l?l.split(";"):[],n=v.slice(),f=0;f<m.length;f++){var q=m[f],p=q.indexOf("\x3d");if(0<=p){var t=q.substring(0,p),u=mxUtils.indexOf(n,t);0<=u&&n.splice(u,1);for(var r=0;r<D.length;r++){var s=D[r];if(0<=mxUtils.indexOf(s,t))for(var x=0;x<s.length;x++){var y=mxUtils.indexOf(n,s[x]);0<=y&&n.splice(y,1)}}}}c=(e=d.getModel().isEdge(k))?d.currentEdgeStyle:d.currentVertexStyle;for(f=0;f<n.length;f++){var t=n[f],A=c[t];if(null!=A&&("shape"!=t||e))(!e||0>mxUtils.indexOf(z,t))&&d.setCellStyles(t,A,[k])}}}finally{d.getModel().endUpdate()}};
d.addListener("cellsInserted",function(a,b){A(b.getProperty("cells"))});d.addListener("textInserted",function(a,b){A(b.getProperty("cells"),!0)});d.connectionHandler.addListener(mxEvent.CONNECT,function(a,b){var d=[b.getProperty("cell")];b.getProperty("terminalInserted")&&d.push(b.getProperty("terminal"));A(d)});this.addListener("styleChanged",mxUtils.bind(this,function(a,b){var e=b.getProperty("cells"),c=!1,f=!1;if(0<e.length)for(var g=0;g<e.length&&!(c=d.getModel().isVertex(e[g])||c,(f=d.getModel().isEdge(e[g])||
f)&&c);g++);else f=c=!0;for(var e=b.getProperty("keys"),k=b.getProperty("values"),g=0;g<e.length;g++){var l=0<=mxUtils.indexOf(y,e[g]);if("strokeColor"!=e[g]||null!=k[g]&&"none"!=k[g])if(0<=mxUtils.indexOf(z,e[g]))f||0<=mxUtils.indexOf(x,e[g])?null==k[g]?delete d.currentEdgeStyle[e[g]]:d.currentEdgeStyle[e[g]]=k[g]:c&&0<=mxUtils.indexOf(v,e[g])&&(null==k[g]?delete d.currentVertexStyle[e[g]]:d.currentVertexStyle[e[g]]=k[g]);else if(0<=mxUtils.indexOf(v,e[g])){if(c||l)null==k[g]?delete d.currentVertexStyle[e[g]]:
d.currentVertexStyle[e[g]]=k[g];if(f||l||0<=mxUtils.indexOf(x,e[g]))null==k[g]?delete d.currentEdgeStyle[e[g]]:d.currentEdgeStyle[e[g]]=k[g]}}null!=this.toolbar&&(this.toolbar.setFontName(d.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(d.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.getElementsByTagName("div")[0].className="orthogonalEdgeStyle"==d.currentEdgeStyle.edgeStyle&&"1"==d.currentEdgeStyle.curved?
"geSprite geSprite-curved":"straight"==d.currentEdgeStyle.edgeStyle||"none"==d.currentEdgeStyle.edgeStyle||null==d.currentEdgeStyle.edgeStyle?"geSprite geSprite-straight":"entityRelationEdgeStyle"==d.currentEdgeStyle.edgeStyle?"geSprite geSprite-entity":"elbowEdgeStyle"==d.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==d.currentEdgeStyle.elbow?"verticalelbow":"horizontalelbow"):"isometricEdgeStyle"==d.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==d.currentEdgeStyle.elbow?
"verticalisometric":"horizontalisometric"):"geSprite geSprite-orthogonal"),null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.getElementsByTagName("div")[0].className="link"==d.currentEdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==d.currentEdgeStyle.shape?"geSprite geSprite-arrow":"arrow"==d.currentEdgeStyle.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection"),null!=this.toolbar.lineStartMenu&&(this.toolbar.lineStartMenu.getElementsByTagName("div")[0].className=
this.getCssClassForMarker("start",d.currentEdgeStyle.shape,d.currentEdgeStyle[mxConstants.STYLE_STARTARROW],mxUtils.getValue(d.currentEdgeStyle,"startFill","1"))),null!=this.toolbar.lineEndMenu&&(this.toolbar.lineEndMenu.getElementsByTagName("div")[0].className=this.getCssClassForMarker("end",d.currentEdgeStyle.shape,d.currentEdgeStyle[mxConstants.STYLE_ENDARROW],mxUtils.getValue(d.currentEdgeStyle,"endFill","1"))))}));null!=this.toolbar&&(b=mxUtils.bind(this,function(){var a=d.currentVertexStyle.fontFamily||
"Helvetica",b=String(d.currentVertexStyle.fontSize||"12"),e=d.getView().getState(d.getSelectionCell());null!=e&&(a=e.style[mxConstants.STYLE_FONTFAMILY]||a,b=e.style[mxConstants.STYLE_FONTSIZE]||b,10<a.length&&(a=a.substring(0,8)+"..."));this.toolbar.setFontName(a);this.toolbar.setFontSize(b)}),d.getSelectionModel().addListener(mxEvent.CHANGE,b),d.getModel().addListener(mxEvent.CHANGE,b));d.addListener(mxEvent.CELLS_ADDED,function(a,b){var e=b.getProperty("cells"),c=b.getProperty("parent");d.getModel().isLayer(c)&&
!d.isCellVisible(c)&&null!=e&&0<e.length&&d.getModel().setVisible(c,!0)});this.gestureHandler=mxUtils.bind(this,function(a){null!=this.currentMenu&&mxEvent.getSource(a)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);this.resizeHandler=mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){this.refresh()}),0)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});
mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){d.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,
function(){d.view.validateBackground()}));d.addListener("gridSizeChanged",mxUtils.bind(this,function(){d.isGridEnabled()&&d.view.validateBackground()}));this.editor.resetGraph();this.init();this.open()};mxUtils.extend(EditorUi,mxEventSource);EditorUi.compactUi=!0;EditorUi.prototype.splitSize=mxClient.IS_TOUCH||mxClient.IS_POINTER?12:8;EditorUi.prototype.menubarHeight=30;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWidth=240;EditorUi.prototype.toolbarHeight=34;
EditorUi.prototype.footerHeight=28;EditorUi.prototype.sidebarFooterHeight=34;EditorUi.prototype.editButtonLink=null;EditorUi.prototype.hsplitPosition=500>=screen.width?116:204;EditorUi.prototype.allowAnimation=!0;
EditorUi.prototype.init=function(){var b=this.editor.graph;mxEvent.addListener(b.container,"keydown",mxUtils.bind(this,function(d){9==d.which&&b.isEnabled()&&(b.isEditing()&&b.stopEditing(!1),b.selectCell(!mxEvent.isShiftDown(d)),mxEvent.consume(d))}));mxEvent.addListener(b.container,"keypress",mxUtils.bind(this,function(d){if(this.isImmediateEditingEvent(d)&&!b.isEditing()&&!b.isSelectionEmpty()&&(0!==d.which&&!mxEvent.isAltDown(d)&&!mxEvent.isControlDown(d)&&!mxEvent.isMetaDown(d))&&(b.escape(),
b.startEditing(),mxClient.IS_FF)){var a=b.cellEditor;a.textarea.innerHTML=String.fromCharCode(d.which);d=document.createRange();d.selectNodeContents(a.textarea);d.collapse(!1);a=window.getSelection();a.removeAllRanges();a.addRange(d)}}));this.addUndoListener();this.addBeforeUnloadListener();b.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));b.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.updateActionStates()}));var c=
b.setDefaultParent,f=this;this.editor.graph.setDefaultParent=function(){c.apply(this,arguments);f.updateActionStates()};b.editLink=f.actions.get("editLink").funct;this.updateActionStates();this.initClipboard();this.initCanvas();null!=this.format&&this.format.init()};EditorUi.prototype.isImmediateEditingEvent=function(b){return!0};
EditorUi.prototype.getCssClassForMarker=function(b,c,f,d){return"flexArrow"==c?null!=f&&f!=mxConstants.NONE?"geSprite geSprite-"+b+"blocktrans":"geSprite geSprite-noarrow":f==mxConstants.ARROW_CLASSIC?"1"==d?"geSprite geSprite-"+b+"classic":"geSprite geSprite-"+b+"classictrans":f==mxConstants.ARROW_CLASSIC_THIN?"1"==d?"geSprite geSprite-"+b+"classicthin":"geSprite geSprite-"+b+"classicthintrans":f==mxConstants.ARROW_OPEN?"geSprite geSprite-"+b+"open":f==mxConstants.ARROW_OPEN_THIN?"geSprite geSprite-"+
b+"openthin":f==mxConstants.ARROW_BLOCK?"1"==d?"geSprite geSprite-"+b+"block":"geSprite geSprite-"+b+"blocktrans":f==mxConstants.ARROW_BLOCK_THIN?"1"==d?"geSprite geSprite-"+b+"blockthin":"geSprite geSprite-"+b+"blockthintrans":f==mxConstants.ARROW_OVAL?"1"==d?"geSprite geSprite-"+b+"oval":"geSprite geSprite-"+b+"ovaltrans":f==mxConstants.ARROW_DIAMOND?"1"==d?"geSprite geSprite-"+b+"diamond":"geSprite geSprite-"+b+"diamondtrans":f==mxConstants.ARROW_DIAMOND_THIN?"1"==d?"geSprite geSprite-"+b+"thindiamond":
"geSprite geSprite-"+b+"thindiamondtrans":"openAsync"==f?"geSprite geSprite-"+b+"openasync":"dash"==f?"geSprite geSprite-"+b+"dash":"cross"==f?"geSprite geSprite-"+b+"cross":"async"==f?"1"==d?"geSprite geSprite-"+b+"async":"geSprite geSprite-"+b+"asynctrans":"circle"==f||"circlePlus"==f?"1"==d||"circle"==f?"geSprite geSprite-"+b+"circle":"geSprite geSprite-"+b+"circleplus":"ERone"==f?"geSprite geSprite-"+b+"erone":"ERmandOne"==f?"geSprite geSprite-"+b+"eronetoone":"ERmany"==f?"geSprite geSprite-"+
b+"ermany":"ERoneToMany"==f?"geSprite geSprite-"+b+"eronetomany":"ERzeroToOne"==f?"geSprite geSprite-"+b+"eroneopt":"ERzeroToMany"==f?"geSprite geSprite-"+b+"ermanyopt":"geSprite geSprite-noarrow"};EditorUi.prototype.createMenus=function(){return null};
EditorUi.prototype.updatePasteActionStates=function(){var b=this.editor.graph,c=this.actions.get("paste"),f=this.actions.get("pasteHere");c.setEnabled(this.editor.graph.cellEditor.isContentEditing()||!mxClipboard.isEmpty()&&b.isEnabled()&&!b.isCellLocked(b.getDefaultParent()));f.setEnabled(c.isEnabled())};
EditorUi.prototype.initClipboard=function(){var b=this,c=mxClipboard.cut;mxClipboard.cut=function(a){a.cellEditor.isContentEditing()?document.execCommand("cut",!1,null):c.apply(this,arguments);b.updatePasteActionStates()};var f=mxClipboard.copy;mxClipboard.copy=function(a){a.cellEditor.isContentEditing()?document.execCommand("copy",!1,null):f.apply(this,arguments);b.updatePasteActionStates()};var d=mxClipboard.paste;mxClipboard.paste=function(a){var e=null;a.cellEditor.isContentEditing()?document.execCommand("paste",
!1,null):e=d.apply(this,arguments);b.updatePasteActionStates();return e};var a=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){a.apply(this,arguments);b.updatePasteActionStates()};var e=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(a,d){e.apply(this,arguments);b.updatePasteActionStates()};this.updatePasteActionStates()};
EditorUi.prototype.initCanvas=function(){var b=this.editor.graph,b=this.editor.graph;b.timerAutoScroll=!0;b.scrollTileSize=new mxRectangle(0,0,400,400);b.getPagePadding=function(){return new mxPoint(Math.max(0,Math.round((b.container.offsetWidth-34)/b.view.scale)),Math.max(0,Math.round((b.container.offsetHeight-34)/b.view.scale)))};b.getPageSize=function(){return this.pageVisible?new mxRectangle(0,0,this.pageFormat.width*this.pageScale,this.pageFormat.height*this.pageScale):this.scrollTileSize};b.getPageLayout=
function(){var a=this.pageVisible?this.getPageSize():this.scrollTileSize,b=this.getGraphBounds();if(0==b.width||0==b.height)return new mxRectangle(0,0,1,1);var d=Math.ceil(b.x/this.view.scale-this.view.translate.x),e=Math.ceil(b.y/this.view.scale-this.view.translate.y),c=Math.floor(b.height/this.view.scale),f=Math.floor(d/a.width),g=Math.floor(e/a.height),b=Math.ceil((d+Math.floor(b.width/this.view.scale))/a.width)-f,a=Math.ceil((e+c)/a.height)-g;return new mxRectangle(f,g,b,a)};b.view.getBackgroundPageBounds=
function(){var a=this.graph.getPageLayout(),b=this.graph.getPageSize();return new mxRectangle(this.scale*(this.translate.x+a.x*b.width),this.scale*(this.translate.y+a.y*b.height),this.scale*a.width*b.width,this.scale*a.height*b.height)};b.getPreferredPageSize=function(a,b,d){a=this.getPageLayout();b=this.getPageSize();return new mxRectangle(0,0,a.width*b.width,a.height*b.height)};var c=null;if(this.editor.chromeless){this.chromelessResize=c=mxUtils.bind(this,function(a){if(null!=b.container){var d=
b.pageVisible?b.view.getBackgroundPageBounds():b.getGraphBounds(),e=b.view.translate,c=b.view.scale,d=mxRectangle.fromRectangle(d);d.x=d.x/c-e.x;d.y=d.y/c-e.y;d.width/=c;d.height/=c;var e=b.container.scrollTop,f=b.container.scrollLeft,g=mxClient.IS_QUIRKS||8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)g+=3;var k=b.container.offsetWidth-g,g=b.container.offsetHeight-g;a=a?Math.max(0.3,Math.min(1,k/d.width)):c;k=Math.max((k-a*d.width)/2,0)/a;g=Math.max((g-a*d.height)/
4,0)/a;b.view.scaleAndTranslate(a,k-d.x,g-d.y);b.container.scrollTop=e*a/c;b.container.scrollLeft=f*a/c}});var f=mxUtils.bind(this,function(){c(!1)});mxEvent.addListener(window,"resize",f);this.destroyFunctions.push(function(){mxEvent.removeListener(window,"resize",f)});this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){c(!0)}));this.actions.get("zoomIn").funct=function(a){b.zoomIn();c(!1)};this.actions.get("zoomOut").funct=function(a){b.zoomOut();c(!1)};this.chromelessToolbar=
document.createElement("div");this.chromelessToolbar.style.position="fixed";this.chromelessToolbar.style.overflow="hidden";this.chromelessToolbar.style.boxSizing="border-box";this.chromelessToolbar.style.whiteSpace="nowrap";this.chromelessToolbar.style.backgroundColor="#000000";this.chromelessToolbar.style.padding="10px 10px 8px 10px";this.chromelessToolbar.style.left="50%";mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"borderRadius","20px");mxUtils.setPrefixedStyle(this.chromelessToolbar.style,
"transition","opacity 600ms ease-in-out");var d=mxUtils.bind(this,function(){var a=mxUtils.getCurrentStyle(b.container);this.chromelessToolbar.style.bottom=(null!=a?parseInt(a["margin-bottom"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):20)+"px"});this.editor.addListener("resetGraphView",d);d();var a=0,d=mxUtils.bind(this,function(b,d,e){a++;var c=document.createElement("span");c.style.paddingLeft="8px";c.style.paddingRight="8px";c.style.cursor="pointer";mxEvent.addListener(c,
"click",b);null!=e&&c.setAttribute("title",e);b=document.createElement("img");b.setAttribute("border","0");b.setAttribute("src",d);c.appendChild(b);this.chromelessToolbar.appendChild(c);return c});d(mxUtils.bind(this,function(a){this.actions.get("zoomOut").funct();mxEvent.consume(a)}),Editor.zoomOutLargeImage,(mxResources.get("zoomOut")||"Zoom Out")+" (Alt+Mousewheel)");d(mxUtils.bind(this,function(a){this.actions.get("zoomIn").funct();mxEvent.consume(a)}),Editor.zoomInLargeImage,(mxResources.get("zoomIn")||
"Zoom In")+" (Alt+Mousewheel)");d(mxUtils.bind(this,function(a){b.lightbox?(1==b.view.scale?this.lightboxFit():b.zoomTo(1),c(!1)):c(!0);mxEvent.consume(a)}),Editor.actualSizeLargeImage,mxResources.get("fit")||"Fit");var e=null,g=null,k=mxUtils.bind(this,function(a){null!=e&&(window.clearTimeout(e),fadeThead=null);null!=g&&(window.clearTimeout(g),fadeThead2=null);e=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);e=null;g=window.setTimeout(mxUtils.bind(this,
function(){this.chromelessToolbar.style.display="none";g=null}),600)}),a||200)}),l=mxUtils.bind(this,function(a){null!=e&&(window.clearTimeout(e),fadeThead=null);null!=g&&(window.clearTimeout(g),fadeThead2=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,a||30)});if("1"==urlParams.layers){this.layersDialog=null;var m=d(mxUtils.bind(this,function(a){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=
b.createLayersDialog();mxEvent.addListener(this.layersDialog,"mouseleave",mxUtils.bind(this,function(){this.layersDialog.parentNode.removeChild(this.layersDialog);this.layersDialog=null}));var d=m.getBoundingClientRect();mxUtils.setPrefixedStyle(this.layersDialog.style,"borderRadius","5px");this.layersDialog.style.position="fixed";this.layersDialog.style.backgroundColor="#000000";this.layersDialog.style.width="160px";this.layersDialog.style.padding="4px 2px 4px 2px";this.layersDialog.style.color=
"#ffffff";mxUtils.setOpacity(this.layersDialog,70);this.layersDialog.style.left=d.left+"px";this.layersDialog.style.bottom=parseInt(this.chromelessToolbar.style.bottom)+this.chromelessToolbar.offsetHeight+4+"px";d=mxUtils.getCurrentStyle(this.editor.graph.container);this.layersDialog.style.zIndex=d.zIndex;document.body.appendChild(this.layersDialog)}mxEvent.consume(a)}),Editor.layersLargeImage,mxResources.get("layers")||"Layers"),n=b.getModel();n.addListener(mxEvent.CHANGE,function(){m.style.display=
1<n.getChildCount(n.root)?"":"none"})}null!=this.editor.editButtonLink&&d(mxUtils.bind(this,function(a){"_blank"==this.editor.editButtonLink?this.editor.editAsNew(this.getEditBlankXml(),null,!0):window.open(this.editor.editButtonLink,"editWindow");mxEvent.consume(a)}),Editor.editLargeImage,mxResources.get("openInNewWindow")||"Open in New Window");b.lightbox&&this.container!=document.body&&d(mxUtils.bind(this,function(a){"1"==urlParams.close?window.close():(this.destroy(),mxEvent.consume(a))}),Editor.closeLargeImage,
(mxResources.get("close")||"Close")+" (Escape)");this.chromelessToolbar.style.display="none";b.container.appendChild(this.chromelessToolbar);this.chromelessToolbar.style.marginLeft=-(24*a+10)+"px";this.addChromelessClickHandler();mxEvent.addListener(b.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(a){mxEvent.isTouchEvent(a)||(mxEvent.isShiftDown(a)||l(30),k())}));mxEvent.addListener(this.chromelessToolbar,mxClient.IS_POINTER?"pointermove":"mousemove",function(a){mxEvent.consume(a)});
mxEvent.addListener(this.chromelessToolbar,"mouseenter",mxUtils.bind(this,function(a){mxEvent.isShiftDown(a)?k():l(100)}));mxEvent.addListener(this.chromelessToolbar,"mousemove",mxUtils.bind(this,function(a){mxEvent.isShiftDown(a)?k():l(100);mxEvent.consume(a)}));mxEvent.addListener(this.chromelessToolbar,"mouseleave",mxUtils.bind(this,function(a){mxEvent.isTouchEvent(a)||l(30)}));var p=b.getTolerance(),r=this;b.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(a,d){this.startX=
d.getGraphX();this.startY=d.getGraphY();this.scrollLeft=b.container.scrollLeft;this.scrollTop=b.container.scrollTop},mouseMove:function(a,b){},mouseUp:function(a,d){mxEvent.isTouchEvent(d.getEvent())&&Math.abs(this.scrollLeft-b.container.scrollLeft)<p&&Math.abs(this.scrollTop-b.container.scrollTop)<p&&Math.abs(this.startX-d.getGraphX())<p&&Math.abs(this.startY-d.getGraphY())<p&&(0<parseFloat(r.chromelessToolbar.style.opacity||0)?k():l(30))}})}else if(this.editor.extendCanvas){var s=b.view.validate;
b.view.validate=function(){if(null!=this.graph.container&&mxUtils.hasScrollbars(this.graph.container)){var a=this.graph.getPagePadding(),b=this.graph.getPageSize();this.translate.x=a.x-(this.x0||0)*b.width;this.translate.y=a.y-(this.y0||0)*b.height}s.apply(this,arguments)};var q=b.sizeDidChange;b.sizeDidChange=function(){if(null!=this.container&&mxUtils.hasScrollbars(this.container)){var a=this.getPageLayout(),d=this.getPagePadding(),e=this.getPageSize(),c=Math.ceil(2*d.x+a.width*e.width),f=Math.ceil(2*
d.y+a.height*e.height),g=b.minimumGraphSize;if(null==g||g.width!=c||g.height!=f)b.minimumGraphSize=new mxRectangle(0,0,c,f);c=d.x-a.x*e.width;d=d.y-a.y*e.height;!this.autoTranslate&&(this.view.translate.x!=c||this.view.translate.y!=d)?(this.autoTranslate=!0,this.view.x0=a.x,this.view.y0=a.y,a=b.view.translate.x,e=b.view.translate.y,b.view.setTranslate(c,d),b.container.scrollLeft+=Math.round((c-a)*b.view.scale),b.container.scrollTop+=Math.round((d-e)*b.view.scale),this.autoTranslate=!1):q.apply(this,
arguments)}}}b.updateZoomTimeout=null;b.cumulativeZoomFactor=1;var t=null;b.lazyZoom=function(a){null!=this.updateZoomTimeout&&window.clearTimeout(this.updateZoomTimeout);a?0.15>this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor=(this.view.scale+0.01)/this.view.scale:(this.cumulativeZoomFactor*=this.zoomFactor,this.cumulativeZoomFactor=Math.round(20*this.view.scale*this.cumulativeZoomFactor)/20/this.view.scale):0.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor=
(this.view.scale-0.01)/this.view.scale:(this.cumulativeZoomFactor/=this.zoomFactor,this.cumulativeZoomFactor=Math.round(20*this.view.scale*this.cumulativeZoomFactor)/20/this.view.scale);this.cumulativeZoomFactor=Math.max(0.01,Math.min(this.view.scale*this.cumulativeZoomFactor,160)/this.view.scale);this.updateZoomTimeout=window.setTimeout(mxUtils.bind(this,function(){this.zoom(this.cumulativeZoomFactor);null!=c&&c(!1);if(null!=t&&mxUtils.hasScrollbars(b.container)){var a=mxUtils.getOffset(b.container),
d=b.container.offsetHeight/2-t.y+a.y;b.container.scrollLeft-=(b.container.offsetWidth/2-t.x+a.x)*(this.cumulativeZoomFactor-1);b.container.scrollTop-=d*(this.cumulativeZoomFactor-1)}this.cumulativeZoomFactor=1;this.updateZoomTimeout=null}),20)};mxEvent.addMouseWheelListener(mxUtils.bind(this,function(a,d){if((mxEvent.isAltDown(a)||mxEvent.isControlDown(a)&&!mxClient.IS_MAC||b.panningHandler.isActive())&&(null==this.dialogs||0==this.dialogs.length))for(var e=mxEvent.getSource(a);null!=e;){if(e==b.container){t=
new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a));b.lazyZoom(d);mxEvent.consume(a);break}e=e.parentNode}}))};EditorUi.prototype.addChromelessClickHandler=function(){var b=urlParams.highlight;null!=b&&0<b.length&&(b="#"+b);this.editor.graph.addClickHandler(b)};EditorUi.prototype.toggleFormatPanel=function(b){this.formatWidth=b||0<this.formatWidth?0:240;this.formatContainer.style.display=b||0<this.formatWidth?"":"none";this.refresh();this.format.refresh();this.fireEvent(new mxEventObject("formatWidthChanged"))};
EditorUi.prototype.lightboxFit=function(){this.editor.graph.maxFitScale=2;this.editor.graph.fit(20);this.editor.graph.maxFitScale=null};EditorUi.prototype.isSelectionAllowed=function(b){return"SELECT"==mxEvent.getSource(b).nodeName||"INPUT"==mxEvent.getSource(b).nodeName&&mxUtils.isAncestorNode(this.formatContainer,mxEvent.getSource(b))};EditorUi.prototype.addBeforeUnloadListener=function(){window.onbeforeunload=mxUtils.bind(this,function(){return this.onBeforeUnload()})};
EditorUi.prototype.onBeforeUnload=function(){if(this.editor.modified)return mxResources.get("allChangesLost")};
EditorUi.prototype.open=function(){try{null!=window.opener&&null!=window.opener.openFile&&window.opener.openFile.setConsumer(mxUtils.bind(this,function(b,f){try{var d=mxUtils.parseXml(b);this.editor.setGraphXml(d.documentElement);this.editor.setModified(!1);this.editor.undoManager.clear();null!=f&&(this.editor.setFilename(f),this.updateDocumentTitle())}catch(a){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+a.message)}}))}catch(b){}this.editor.graph.view.validate();this.editor.graph.sizeDidChange();
this.editor.fireEvent(new mxEventObject("resetGraphView"))};EditorUi.prototype.setCurrentMenu=function(b,c){this.currentMenuElt=c;this.currentMenu=b};EditorUi.prototype.resetCurrentMenu=function(){this.currentMenu=this.currentMenuElt=null};EditorUi.prototype.hideCurrentMenu=function(b,c){null!=this.currentMenu&&(this.currentMenu.hideMenu(),this.resetCurrentMenu())};
EditorUi.prototype.updateDocumentTitle=function(){var b=this.editor.getOrCreateFilename();null!=this.editor.appName&&(b+=" - "+this.editor.appName);document.title=b};EditorUi.prototype.createHoverIcons=function(){return new HoverIcons(this.editor.graph)};EditorUi.prototype.redo=function(){try{this.editor.graph.isEditing()?document.execCommand("redo",!1,null):this.editor.undoManager.redo()}catch(b){}};
EditorUi.prototype.undo=function(){try{var b=this.editor.graph;if(b.isEditing()){var c=b.cellEditor.textarea.innerHTML;document.execCommand("undo",!1,null);c==b.cellEditor.textarea.innerHTML&&(b.stopEditing(!0),this.editor.undoManager.undo())}else this.editor.undoManager.undo()}catch(f){}};EditorUi.prototype.canRedo=function(){return this.editor.graph.isEditing()||this.editor.undoManager.canRedo()};EditorUi.prototype.canUndo=function(){return this.editor.graph.isEditing()||this.editor.undoManager.canUndo()};
EditorUi.prototype.getEditBlankXml=function(){return mxUtils.getXml(this.getGraphXml())};EditorUi.prototype.getUrl=function(b){b=null!=b?b:window.location.pathname;var c=0<b.indexOf("?")?1:0,f;for(f in urlParams)b=0==c?b+"?":b+"\x26",b+=f+"\x3d"+urlParams[f],c++;return b};
EditorUi.prototype.setScrollbars=function(b){var c=this.editor.graph,f=c.container.style.overflow;c.scrollbars=b;this.editor.updateGraphComponents();f!=c.container.style.overflow&&("hidden"==c.container.style.overflow?(b=c.view.translate,c.view.setTranslate(b.x-c.container.scrollLeft/c.view.scale,b.y-c.container.scrollTop/c.view.scale),c.container.scrollLeft=0,c.container.scrollTop=0,c.minimumGraphSize=null,c.sizeDidChange()):(b=c.view.translate.x,f=c.view.translate.y,c.view.translate.x=0,c.view.translate.y=
0,c.sizeDidChange(),c.container.scrollLeft-=Math.round(b*c.view.scale),c.container.scrollTop-=Math.round(f*c.view.scale)));this.fireEvent(new mxEventObject("scrollbarsChanged"))};EditorUi.prototype.hasScrollbars=function(){return this.editor.graph.scrollbars};
EditorUi.prototype.resetScrollbars=function(){var b=this.editor.graph;if(this.editor.extendCanvas){if(!this.editor.chromeless)if(mxUtils.hasScrollbars(b.container))if(b.pageVisible){var c=b.getPagePadding();b.container.scrollTop=Math.floor(c.y-this.editor.initialTopSpacing);b.container.scrollLeft=Math.floor(Math.min(c.x,(b.container.scrollWidth-b.container.clientWidth)/2))}else{var c=b.getGraphBounds(),f=Math.max(c.width,b.scrollTileSize.width*b.view.scale),d=Math.max(c.height,b.scrollTileSize.height*
b.view.scale);b.container.scrollTop=Math.floor(Math.max(0,c.y-Math.max(20,(b.container.clientHeight-d)/4)));b.container.scrollLeft=Math.floor(Math.max(0,c.x-Math.max(0,(b.container.clientWidth-f)/2)))}else b.pageVisible?(c=b.view.getBackgroundPageBounds(),b.view.setTranslate(Math.floor(Math.max(0,(b.container.clientWidth-c.width)/2)-c.x),Math.floor(Math.max(0,(b.container.clientHeight-c.height)/2)-c.y))):(c=b.getGraphBounds(),b.view.setTranslate(Math.floor(Math.max(0,Math.max(0,(b.container.clientWidth-
c.width)/2)-c.x)),Math.floor(Math.max(0,Math.max(20,(b.container.clientHeight-c.height)/4))-c.y)))}else b.container.scrollTop=0,b.container.scrollLeft=0,mxUtils.hasScrollbars(b.container)||b.view.setTranslate(0,0)};EditorUi.prototype.setBackgroundColor=function(b){this.editor.graph.background=b;this.editor.graph.view.validateBackground();this.fireEvent(new mxEventObject("backgroundColorChanged"))};
EditorUi.prototype.setFoldingEnabled=function(b){this.editor.graph.foldingEnabled=b;this.editor.graph.view.revalidate();this.fireEvent(new mxEventObject("foldingEnabledChanged"))};EditorUi.prototype.setPageFormat=function(b){this.editor.graph.pageFormat=b;this.editor.graph.pageVisible?(this.editor.graph.view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct();this.fireEvent(new mxEventObject("pageFormatChanged"))};
EditorUi.prototype.setPageScale=function(b){this.editor.graph.pageScale=b;this.editor.graph.pageVisible?(this.editor.graph.view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct();this.fireEvent(new mxEventObject("pageScaleChanged"))};EditorUi.prototype.setGridColor=function(b){this.editor.graph.view.gridColor=b;this.editor.graph.view.validateBackground();this.fireEvent(new mxEventObject("gridColorChanged"))};
EditorUi.prototype.addUndoListener=function(){var b=this.actions.get("undo"),c=this.actions.get("redo"),f=this.editor.undoManager,d=mxUtils.bind(this,function(){b.setEnabled(this.canUndo());c.setEnabled(this.canRedo())});f.addListener(mxEvent.ADD,d);f.addListener(mxEvent.UNDO,d);f.addListener(mxEvent.REDO,d);f.addListener(mxEvent.CLEAR,d);var a=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){a.apply(this,arguments);d()};var e=this.editor.graph.cellEditor.stopEditing;
this.editor.graph.cellEditor.stopEditing=function(a,b){e.apply(this,arguments);d()};d()};
EditorUi.prototype.updateActionStates=function(){var b=this.editor.graph,c=!b.isSelectionEmpty(),f=!1,d=!1,a=b.getSelectionCells();if(null!=a)for(var e=0;e<a.length;e++){var g=a[e];b.getModel().isEdge(g)&&(d=!0);b.getModel().isVertex(g)&&(f=!0);if(d&&f)break}a="cut copy bold italic underline delete duplicate editStyle editTooltip editLink backgroundColor borderColor toFront toBack lockUnlock solid dashed dotted fillColor gradientColor shadow fontColor formattedText rounded toggleRounded sharp strokeColor".split(" ");for(e=
0;e<a.length;e++)this.actions.get(a[e]).setEnabled(c);this.actions.get("setAsDefaultStyle").setEnabled(1==b.getSelectionCount());this.actions.get("turn").setEnabled(!b.isSelectionEmpty());this.actions.get("curved").setEnabled(d);this.actions.get("clearWaypoints").setEnabled(d);this.actions.get("rotation").setEnabled(f);this.actions.get("wordWrap").setEnabled(f);this.actions.get("autosize").setEnabled(f);this.actions.get("collapsible").setEnabled(f);d=f&&1==b.getSelectionCount();this.actions.get("group").setEnabled(1<
b.getSelectionCount()||d&&!b.isContainer(b.getSelectionCell()));this.actions.get("ungroup").setEnabled(1==b.getSelectionCount()&&(0<b.getModel().getChildCount(b.getSelectionCell())||d&&b.isContainer(b.getSelectionCell())));this.actions.get("removeFromGroup").setEnabled(d&&b.getModel().isVertex(b.getModel().getParent(b.getSelectionCell())));b.view.getState(b.getSelectionCell());this.menus.get("navigation").setEnabled(c||null!=b.view.currentRoot);this.actions.get("collapsible").setEnabled(f&&1==b.getSelectionCount()&&
(b.isContainer(b.getSelectionCell())||0<b.model.getChildCount(b.getSelectionCell())));this.actions.get("home").setEnabled(null!=b.view.currentRoot);this.actions.get("exitGroup").setEnabled(null!=b.view.currentRoot);this.actions.get("enterGroup").setEnabled(1==b.getSelectionCount()&&b.isValidRoot(b.getSelectionCell()));c=1==b.getSelectionCount()&&b.isCellFoldable(b.getSelectionCell());this.actions.get("expand").setEnabled(c);this.actions.get("collapse").setEnabled(c);this.actions.get("editLink").setEnabled(1==
b.getSelectionCount());this.actions.get("openLink").setEnabled(1==b.getSelectionCount()&&null!=b.getLinkForCell(b.getSelectionCell()));this.actions.get("guides").setEnabled(b.isEnabled());this.actions.get("grid").setEnabled(!this.editor.chromeless);c=b.isEnabled()&&!b.isCellLocked(b.getDefaultParent());this.menus.get("layout").setEnabled(c);this.menus.get("insert").setEnabled(c);this.menus.get("direction").setEnabled(c&&f);this.menus.get("align").setEnabled(c&&f&&1<b.getSelectionCount());this.menus.get("distribute").setEnabled(c&&
f&&1<b.getSelectionCount());this.actions.get("selectVertices").setEnabled(c);this.actions.get("selectEdges").setEnabled(c);this.actions.get("selectAll").setEnabled(c);this.actions.get("selectNone").setEnabled(c);this.updatePasteActionStates()};
EditorUi.prototype.refresh=function(b){b=null!=b?b:!0;var c=mxClient.IS_IE&&(null==document.documentMode||5==document.documentMode),f=this.container.clientWidth,d=this.container.clientHeight;this.container==document.body&&(f=document.body.clientWidth||document.documentElement.clientWidth,d=c?document.body.clientHeight||document.documentElement.clientHeight:document.documentElement.clientHeight);var a=0;mxClient.IS_IOS&&!window.navigator.standalone&&window.innerHeight!=document.documentElement.clientHeight&&
(a=document.documentElement.clientHeight-window.innerHeight,window.scrollTo(0,0));var e=Math.max(0,Math.min(this.hsplitPosition,f-this.splitSize-20)),g=0;null!=this.menubar&&(this.menubarContainer.style.height=this.menubarHeight+"px",g+=this.menubarHeight);null!=this.toolbar&&(this.toolbarContainer.style.top=this.menubarHeight+"px",this.toolbarContainer.style.height=this.toolbarHeight+"px",g+=this.toolbarHeight);0<g&&!mxClient.IS_QUIRKS&&(g+=1);var k=0;if(null!=this.sidebarFooterContainer){var l=
this.footerHeight+a,k=Math.max(0,Math.min(d-g-l,this.sidebarFooterHeight));this.sidebarFooterContainer.style.width=e+"px";this.sidebarFooterContainer.style.height=k+"px";this.sidebarFooterContainer.style.bottom=l+"px"}l=null!=this.format?this.formatWidth:0;this.sidebarContainer.style.top=g+"px";this.sidebarContainer.style.width=e+"px";this.formatContainer.style.top=g+"px";this.formatContainer.style.width=l+"px";this.formatContainer.style.display=null!=this.format?"":"none";this.diagramContainer.style.left=
null!=this.hsplit.parentNode?e+this.splitSize+"px":"0px";this.diagramContainer.style.top=this.sidebarContainer.style.top;this.footerContainer.style.height=this.footerHeight+"px";this.hsplit.style.top=this.sidebarContainer.style.top;this.hsplit.style.bottom=this.footerHeight+a+"px";this.hsplit.style.left=e+"px";null!=this.tabContainer&&(this.tabContainer.style.left=this.diagramContainer.style.left);c?(this.menubarContainer.style.width=f+"px",this.toolbarContainer.style.width=this.menubarContainer.style.width,
c=Math.max(0,d-this.footerHeight-this.menubarHeight-this.toolbarHeight),this.sidebarContainer.style.height=c-k+"px",this.formatContainer.style.height=c+"px",this.diagramContainer.style.width=null!=this.hsplit.parentNode?Math.max(0,f-e-this.splitSize-l)+"px":f+"px",this.footerContainer.style.width=this.menubarContainer.style.width,k=Math.max(0,d-this.footerHeight-this.menubarHeight-this.toolbarHeight),null!=this.tabContainer&&(this.tabContainer.style.width=this.diagramContainer.style.width,this.tabContainer.style.bottom=
this.footerHeight+a+"px",k-=this.tabContainer.clientHeight),this.diagramContainer.style.height=k+"px",this.hsplit.style.height=k+"px"):(0<this.footerHeight&&(this.footerContainer.style.bottom=a+"px"),this.diagramContainer.style.right=l+"px",f=0,null!=this.tabContainer&&(this.tabContainer.style.bottom=this.footerHeight+a+"px",this.tabContainer.style.right=this.diagramContainer.style.right,f=this.tabContainer.clientHeight),this.sidebarContainer.style.bottom=this.footerHeight+k+a+"px",this.formatContainer.style.bottom=
this.footerHeight+a+"px",this.diagramContainer.style.bottom=this.footerHeight+a+f+"px");b&&this.editor.graph.sizeDidChange()};EditorUi.prototype.createTabContainer=function(){return null};
EditorUi.prototype.createDivs=function(){this.menubarContainer=this.createDiv("geMenubarContainer");this.toolbarContainer=this.createDiv("geToolbarContainer");this.sidebarContainer=this.createDiv("geSidebarContainer");this.formatContainer=this.createDiv("geSidebarContainer");this.diagramContainer=this.createDiv("geDiagramContainer");this.footerContainer=this.createDiv("geFooterContainer");this.hsplit=this.createDiv("geHsplit");this.hsplit.setAttribute("title",mxResources.get("collapseExpand"));this.menubarContainer.style.top=
"0px";this.menubarContainer.style.left="0px";this.menubarContainer.style.right="0px";this.toolbarContainer.style.left="0px";this.toolbarContainer.style.right="0px";this.sidebarContainer.style.left="0px";this.formatContainer.style.right="0px";this.formatContainer.style.zIndex="1";this.diagramContainer.style.right=(null!=this.format?this.formatWidth:0)+"px";this.footerContainer.style.left="0px";this.footerContainer.style.right="0px";this.footerContainer.style.bottom="0px";this.footerContainer.style.zIndex=
mxPopupMenu.prototype.zIndex-2;this.hsplit.style.width=this.splitSize+"px";this.formatContainer.style.backgroundColor="whiteSmoke";this.formatContainer.style.overflowX="hidden";this.formatContainer.style.overflowY="auto";this.formatContainer.style.fontSize="12px";if(this.sidebarFooterContainer=this.createSidebarFooterContainer())this.sidebarFooterContainer.style.left="0px";this.tabContainer=this.createTabContainer()};EditorUi.prototype.createSidebarFooterContainer=function(){return null};
EditorUi.prototype.createUi=function(){this.menubar=this.editor.chromeless?null:this.menus.createMenubar(this.createDiv("geMenubar"));null!=this.menubar&&this.menubarContainer.appendChild(this.menubar.container);null!=this.menubar&&(this.statusContainer=this.createStatusContainer(),this.editor.addListener("statusChanged",mxUtils.bind(this,function(){this.setStatusText(this.editor.getStatus())})),this.setStatusText(this.editor.getStatus()),this.menubar.container.appendChild(this.statusContainer),this.container.appendChild(this.menubarContainer));
this.sidebar=this.editor.chromeless?null:this.createSidebar(this.sidebarContainer);null!=this.sidebar&&this.container.appendChild(this.sidebarContainer);this.format=this.editor.chromeless||!this.formatEnabled?null:this.createFormat(this.formatContainer);null!=this.format&&this.container.appendChild(this.formatContainer);var b=this.editor.chromeless?null:this.createFooter();null!=b&&(this.footerContainer.appendChild(b),this.container.appendChild(this.footerContainer));null!=this.sidebar&&this.sidebarFooterContainer&&
this.container.appendChild(this.sidebarFooterContainer);this.container.appendChild(this.diagramContainer);null!=this.container&&null!=this.tabContainer&&this.container.appendChild(this.tabContainer);this.toolbar=this.editor.chromeless?null:this.createToolbar(this.createDiv("geToolbar"));null!=this.toolbar&&(this.toolbarContainer.appendChild(this.toolbar.container),this.container.appendChild(this.toolbarContainer));null!=this.sidebar&&(this.container.appendChild(this.hsplit),this.addSplitHandler(this.hsplit,
!0,0,mxUtils.bind(this,function(b){this.hsplitPosition=b;this.refresh()})))};EditorUi.prototype.createStatusContainer=function(){var b=document.createElement("a");b.className="geItem geStatus";return b};EditorUi.prototype.setStatusText=function(b){this.statusContainer.innerHTML=b};EditorUi.prototype.createToolbar=function(b){return new Toolbar(this,b)};EditorUi.prototype.createSidebar=function(b){return new Sidebar(this,b)};EditorUi.prototype.createFormat=function(b){return new Format(this,b)};
EditorUi.prototype.createFooter=function(){return this.createDiv("geFooter")};EditorUi.prototype.createDiv=function(b){var c=document.createElement("div");c.className=b;return c};
EditorUi.prototype.addSplitHandler=function(b,c,f,d){function a(a){if(null!=g){var b=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a));d(Math.max(0,k+(c?b.x-g.x:g.y-b.y)-f));mxEvent.consume(a);k!=n()&&(l=!0,m=null)}}function e(b){a(b);g=k=null}var g=null,k=null,l=!0,m=null;mxClient.IS_POINTER&&(b.style.touchAction="none");var n=mxUtils.bind(this,function(){var a=parseInt(c?b.style.left:b.style.bottom);c||(a=a+f-this.footerHeight);return a});mxEvent.addGestureListeners(b,function(a){g=new mxPoint(mxEvent.getClientX(a),
mxEvent.getClientY(a));k=n();l=!1;mxEvent.consume(a)});mxEvent.addListener(b,"click",function(a){if(!l){var b=null!=m?m-f:0;m=n();d(b);mxEvent.consume(a)}});mxEvent.addGestureListeners(document,null,a,e);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,a,e)})};EditorUi.prototype.showDialog=function(b,c,f,d,a,e){this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,b,c,f,d,a,e);this.dialogs.push(this.dialog)};
EditorUi.prototype.hideDialog=function(b){null!=this.dialogs&&0<this.dialogs.length&&(this.dialogs.pop().close(b),this.dialog=0<this.dialogs.length?this.dialogs[this.dialogs.length-1]:null,null==this.dialog&&"hidden"!=this.editor.graph.container.style.visibility&&this.editor.graph.container.focus(),this.editor.fireEvent(new mxEventObject("hideDialog")))};
EditorUi.prototype.pickColor=function(b,c){var f=this.editor.graph,d=f.cellEditor.saveSelection(),a=new ColorDialog(this,b||"none",function(a){f.cellEditor.restoreSelection(d);c(a)},function(){f.cellEditor.restoreSelection(d)});this.showDialog(a.container,220,430,!0,!1);a.init()};
EditorUi.prototype.openFile=function(){window.openFile=new OpenFile(mxUtils.bind(this,function(b){this.hideDialog(b)}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:320,Editor.useLocalStorage?480:220,!0,!0,function(){window.openFile=null})};
EditorUi.prototype.extractGraphModelFromHtml=function(b){var c=null;try{var f=b.indexOf("\x26lt;mxGraphModel ");if(0<=f){var d=b.lastIndexOf("\x26lt;/mxGraphModel\x26gt;");d>f&&(c=b.substring(f,d+21).replace(/&gt;/g,"\x3e").replace(/&lt;/g,"\x3c").replace(/\n/g,""))}}catch(a){}return c};EditorUi.prototype.isCompatibleString=function(b){try{var c=mxUtils.parseXml(b),f=this.editor.extractGraphModel(c.documentElement);return null!=f&&0==f.getElementsByTagName("parsererror").length}catch(d){}return!1};
EditorUi.prototype.extractGraphModelFromEvent=function(b){var c=null,f=null;if(null!=b&&(b=null!=b.dataTransfer?b.dataTransfer:b.clipboardData,null!=b)){if(10==document.documentMode||11==document.documentMode)f=b.getData("Text");else if(f=0<=mxUtils.indexOf(b.types,"text/html")?b.getData("text/html"):null,mxUtils.indexOf(b.types,null==f||0==f.length))f=b.getData("text/plain");null!=f&&(f=this.editor.graph.zapGremlins(mxUtils.trim(f)),b=this.extractGraphModelFromHtml(f),null!=b&&(f=b))}null!=f&&this.isCompatibleString(f)&&
(c=f);return c};EditorUi.prototype.saveFile=function(b){!b&&null!=this.editor.filename?this.save(this.editor.getOrCreateFilename()):(b=new FilenameDialog(this,this.editor.getOrCreateFilename(),mxResources.get("save"),mxUtils.bind(this,function(b){this.save(b)}),null,mxUtils.bind(this,function(b){if(null!=b&&0<b.length)return!0;mxUtils.confirm(mxResources.get("invalidName"));return!1})),this.showDialog(b.container,300,100,!0,!0),b.init())};
EditorUi.prototype.save=function(b){if(null!=b){this.editor.graph.isEditing()&&this.editor.graph.stopEditing();var c=mxUtils.getXml(this.editor.getGraphXml());try{if(Editor.useLocalStorage){if(null!=localStorage.getItem(b)&&!mxUtils.confirm(mxResources.get("replaceIt",[b])))return;localStorage.setItem(b,c);this.editor.setStatus(mxResources.get("saved")+" "+new Date)}else if(c.length<MAX_REQUEST_SIZE)(new mxXmlRequest(SAVE_URL,"filename\x3d"+encodeURIComponent(b)+"\x26xml\x3d"+encodeURIComponent(c))).simulate(document,
"_blank");else{mxUtils.alert(mxResources.get("drawingTooLarge"));mxUtils.popup(c);return}this.editor.setModified(!1);this.editor.setFilename(b);this.updateDocumentTitle()}catch(f){this.editor.setStatus("Error saving file")}}};
EditorUi.prototype.executeLayout=function(b,c,f){var d=this.editor.graph;if(d.isEnabled()){d.getModel().beginUpdate();try{b()}catch(a){throw a;}finally{this.allowAnimation&&c&&0>navigator.userAgent.indexOf("Camino")?(b=new mxMorphing(d),b.addListener(mxEvent.DONE,mxUtils.bind(this,function(){d.getModel().endUpdate();null!=f&&f()})),b.startAnimation()):d.getModel().endUpdate()}}};
EditorUi.prototype.showImageDialog=function(b,c,f,d){d=this.editor.graph.cellEditor;var a=d.saveSelection(),e=mxUtils.prompt(b,c);d.restoreSelection(a);if(null!=e&&0<e.length){var g=new Image;g.onload=function(){f(e,g.width,g.height)};g.onerror=function(){f(null);mxUtils.alert(mxResources.get("fileNotFound"))};g.src=e}else f(null)};EditorUi.prototype.showLinkDialog=function(b,c,f){b=new LinkDialog(this,b,c,f);this.showDialog(b.container,420,90,!0,!0);b.init()};
EditorUi.prototype.showBackgroundImageDialog=function(b){b=null!=b?b:mxUtils.bind(this,function(b){this.setBackgroundImage(b)});var c=mxUtils.prompt(mxResources.get("backgroundImage"),"");if(null!=c&&0<c.length){var f=new Image;f.onload=function(){b(new mxImage(c,f.width,f.height))};f.onerror=function(){b(null);mxUtils.alert(mxResources.get("fileNotFound"))};f.src=c}else b(null)};
EditorUi.prototype.setBackgroundImage=function(b){this.editor.graph.setBackgroundImage(b);this.editor.graph.view.validateBackgroundImage();this.fireEvent(new mxEventObject("backgroundImageChanged"))};EditorUi.prototype.confirm=function(b,c,f){mxUtils.confirm(b)?null!=c&&c():null!=f&&f()};
EditorUi.prototype.createOutline=function(b){var c=new mxOutline(this.editor.graph);c.border=20;mxEvent.addListener(window,"resize",function(){c.update()});this.addListener("pageFormatChanged",function(){c.update()});return c};
EditorUi.prototype.createKeyHandler=function(b){function c(a,b,e){g.push(function(){if(!d.isSelectionEmpty()&&d.isEnabled())if(b=null!=b?b:1,e){d.getModel().beginUpdate();try{for(var c=d.getSelectionCells(),f=0;f<c.length;f++)if(d.getModel().isVertex(c[f])&&d.isCellResizable(c[f])){var g=d.getCellGeometry(c[f]);null!=g&&(g=g.clone(),37==a?g.width=Math.max(0,g.width-b):38==a?g.height=Math.max(0,g.height-b):39==a?g.width+=b:40==a&&(g.height+=b),d.getModel().setGeometry(c[f],g))}}finally{d.getModel().endUpdate()}}else c=
d.getSelectionCell(),f=d.model.getParent(c),g=null,1==d.getSelectionCount()&&d.model.isVertex(c)&&null!=d.layoutManager&&!d.isCellLocked(c)&&(g=d.layoutManager.getLayout(f)),null!=g&&g.constructor==mxStackLayout?(g=f.getIndex(c),37==a||38==a?d.model.add(f,c,Math.max(0,g-1)):(39==a||40==a)&&d.model.add(f,c,Math.min(d.model.getChildCount(f),g+1))):(f=c=0,37==a?c=-b:38==a?f=-b:39==a?c=b:40==a&&(f=b),d.moveCells(d.getMovableCells(d.getSelectionCells()),c,f))});null!=k&&window.clearTimeout(k);k=window.setTimeout(function(){if(0<
g.length){d.getModel().beginUpdate();try{for(var a=0;a<g.length;a++)g[a]();g=[]}finally{d.getModel().endUpdate()}d.scrollCellToVisible(d.getSelectionCell())}},200)}var f=this,d=this.editor.graph,a=new mxKeyHandler(d),e=a.isEventIgnored;a.isEventIgnored=function(a){return(!this.isControlDown(a)||mxEvent.isShiftDown(a)||90!=a.keyCode&&89!=a.keyCode&&188!=a.keyCode&&190!=a.keyCode)&&(66!=a.keyCode&&73!=a.keyCode&&85!=a.keyCode||!this.isControlDown(a)||this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&
!mxClient.IS_SF)&&e.apply(this,arguments)};a.isEnabledForEvent=function(a){return!mxEvent.isConsumed(a)&&this.isGraphEvent(a)&&this.isEnabled()};a.isControlDown=function(a){return mxEvent.isControlDown(a)||mxClient.IS_MAC&&a.metaKey};var g=[],k=null,l={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},m=a.getFunction;mxKeyHandler.prototype.getFunction=function(a){if(null!=l[a.keyCode]&&!d.isSelectionEmpty())if(mxEvent.isShiftDown(a)&&
mxEvent.isAltDown(a)){if(d.model.isVertex(d.getSelectionCell()))return function(){var b=d.connectVertex(d.getSelectionCell(),l[a.keyCode],d.defaultEdgeLength,a,!0);null!=b&&0<b.length&&(1==b.length&&d.model.isEdge(b[0])?d.setSelectionCell(d.model.getTerminal(b[0],!1)):d.setSelectionCell(b[b.length-1]),null!=f.hoverIcons&&f.hoverIcons.update(d.view.getState(d.getSelectionCell())))}}else return this.isControlDown(a)?function(){c(a.keyCode,mxEvent.isShiftDown(a)?d.gridSize:null,!0)}:function(){c(a.keyCode,
mxEvent.isShiftDown(a)?d.gridSize:null)};return m.apply(this,arguments)};a.bindAction=mxUtils.bind(this,function(b,d,e,c){var f=this.actions.get(e);null!=f&&(e=function(){f.isEnabled()&&f.funct()},d?c?a.bindControlShiftKey(b,e):a.bindControlKey(b,e):c?a.bindShiftKey(b,e):a.bindKey(b,e))});var n=a.escape;a.escape=function(a){n.apply(this,arguments)};a.enter=function(){};a.bindControlShiftKey(36,function(){d.exitGroup()});a.bindControlShiftKey(35,function(){d.enterGroup()});a.bindKey(36,function(){d.home()});
a.bindKey(35,function(){d.refresh()});a.bindAction(107,!0,"zoomIn");a.bindAction(109,!0,"zoomOut");a.bindAction(80,!0,"print");a.bindAction(79,!0,"outline",!0);a.bindAction(112,!1,"about");this.editor.chromeless||(a.bindControlKey(36,function(){d.isEnabled()&&d.foldCells(!0)}),a.bindControlKey(35,function(){d.isEnabled()&&d.foldCells(!1)}),a.bindControlKey(13,function(){d.isEnabled()&&d.setSelectionCells(d.duplicateCells(d.getSelectionCells(),!1))}),a.bindShiftKey(9,function(){d.isEnabled()&&d.selectPreviousCell()}),
a.bindControlKey(9,function(){d.isEnabled()&&d.selectParentCell()}),a.bindControlShiftKey(9,function(){d.isEnabled()&&d.selectChildCell()}),a.bindAction(8,!1,"delete"),a.bindAction(8,!0,"deleteAll"),a.bindAction(46,!1,"delete"),a.bindAction(46,!0,"deleteAll"),a.bindAction(72,!0,"resetView"),a.bindAction(72,!0,"fitWindow",!0),a.bindAction(74,!0,"fitPage"),a.bindAction(74,!0,"fitTwoPages",!0),a.bindAction(48,!0,"customZoom"),a.bindAction(82,!0,"turn"),a.bindAction(82,!0,"clearDefaultStyle",!0),a.bindAction(83,
!0,"save"),a.bindAction(83,!0,"saveAs",!0),a.bindAction(65,!0,"selectAll"),a.bindAction(65,!0,"selectNone",!0),a.bindAction(73,!0,"selectVertices",!0),a.bindAction(69,!0,"selectEdges",!0),a.bindAction(69,!0,"editStyle"),a.bindAction(66,!0,"bold"),a.bindAction(66,!0,"toBack",!0),a.bindAction(70,!0,"toFront",!0),a.bindAction(68,!0,"duplicate"),a.bindAction(68,!0,"setAsDefaultStyle",!0),a.bindAction(90,!0,"undo"),a.bindAction(89,!0,"autosize",!0),a.bindAction(88,!0,"cut"),a.bindAction(67,!0,"copy"),
a.bindAction(81,!0,"connectionArrows"),a.bindAction(81,!0,"connectionPoints",!0),a.bindAction(86,!0,"paste"),a.bindAction(71,!0,"group"),a.bindAction(77,!0,"editData"),a.bindAction(71,!0,"grid",!0),a.bindAction(73,!0,"italic"),a.bindAction(76,!0,"lockUnlock"),a.bindAction(76,!0,"layers",!0),a.bindAction(80,!0,"formatPanel",!0),a.bindAction(85,!0,"underline"),a.bindAction(85,!0,"ungroup",!0),a.bindAction(190,!0,"superscript"),a.bindAction(188,!0,"subscript"),a.bindKey(13,function(){d.isEnabled()&&
d.startEditingAtCell()}),a.bindKey(113,function(){d.isEnabled()&&d.startEditingAtCell()}));mxClient.IS_WIN?a.bindAction(89,!0,"redo"):a.bindAction(90,!0,"redo",!0);return a};
EditorUi.prototype.destroy=function(){null!=this.editor&&(this.editor.destroy(),this.editor=null);null!=this.menubar&&(this.menubar.destroy(),this.menubar=null);null!=this.toolbar&&(this.toolbar.destroy(),this.toolbar=null);null!=this.sidebar&&(this.sidebar.destroy(),this.sidebar=null);null!=this.keyHandler&&(this.keyHandler.destroy(),this.keyHandler=null);null!=this.keydownHandler&&(mxEvent.removeListener(document,"keydown",this.keydownHandler),this.keydownHandler=null);null!=this.keyupHandler&&
(mxEvent.removeListener(document,"keyup",this.keyupHandler),this.keyupHandler=null);null!=this.resizeHandler&&(mxEvent.removeListener(window,"resize",this.resizeHandler),this.resizeHandler=null);null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null);null!=this.orientationChangeHandler&&(mxEvent.removeListener(window,"orientationchange",this.orientationChangeHandler),this.orientationChangeHandler=null);null!=this.scrollHandler&&(mxEvent.removeListener(window,
"scroll",this.scrollHandler),this.scrollHandler=null);if(null!=this.destroyFunctions){for(var b=0;b<this.destroyFunctions.length;b++)this.destroyFunctions[b]();this.destroyFunctions=null}for(var c=[this.menubarContainer,this.toolbarContainer,this.sidebarContainer,this.formatContainer,this.diagramContainer,this.footerContainer,this.chromelessToolbar,this.hsplit,this.sidebarFooterContainer,this.layersDialog],b=0;b<c.length;b++)null!=c[b]&&null!=c[b].parentNode&&c[b].parentNode.removeChild(c[b])};
function Sidebar(b,c){this.editorUi=b;this.container=c;this.palettes={};this.taglist={};this.showTooltips=!0;this.graph=new Graph(document.createElement("div"),null,null,this.editorUi.editor.graph.getStylesheet());this.graph.cellRenderer.antiAlias=!1;this.graph.resetViewOnRootChange=!1;this.graph.foldingEnabled=!1;this.graph.setConnectable(!1);this.graph.gridEnabled=!1;this.graph.autoScroll=!1;this.graph.setTooltips(!1);this.graph.setEnabled(!1);this.graph.container.style.visibility="hidden";this.graph.container.style.position=
"absolute";this.graph.container.style.overflow="hidden";this.graph.container.style.height="1px";this.graph.container.style.width="1px";!mxClient.IS_IE&&!mxClient.IS_IE11&&(this.graph.container.style.display="none");document.body.appendChild(this.graph.container);this.pointerUpHandler=mxUtils.bind(this,function(){this.showTooltips=!0});mxEvent.addListener(document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler);this.pointerDownHandler=mxUtils.bind(this,function(){this.showTooltips=
!1;this.hideTooltip()});mxEvent.addListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler);this.pointerMoveHandler=mxUtils.bind(this,function(b){for(b=mxEvent.getSource(b);null!=b;){if(b==this.currentElt)return;b=b.parentNode}this.hideTooltip()});mxEvent.addListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler);this.pointerOutHandler=mxUtils.bind(this,function(b){null==b.toElement&&null==b.relatedTarget&&this.hideTooltip()});mxEvent.addListener(document,
mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler);mxEvent.addListener(c,"scroll",mxUtils.bind(this,function(){this.showTooltips=!0}));this.init();mxClient.IS_SVG||((new Image).src=IMAGE_PATH+"/tooltip.png")}
Sidebar.prototype.init=function(){var b=STENCIL_PATH;this.addSearchPalette(!0);this.addGeneralPalette(!0);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addStencilPalette("basic",mxResources.get("basic"),b+"/basic.xml",";whiteSpace\x3dwrap;html\x3d1;fillColor\x3d#ffffff;strokeColor\x3d#000000;strokeWidth\x3d2");this.addStencilPalette("arrows",mxResources.get("arrows"),b+"/arrows.xml",";whiteSpace\x3dwrap;html\x3d1;fillColor\x3d#ffffff;strokeColor\x3d#000000;strokeWidth\x3d2");this.addUmlPalette(!1);
this.addBpmnPalette(b,!1);this.addStencilPalette("flowchart","Flowchart",b+"/flowchart.xml",";whiteSpace\x3dwrap;html\x3d1;fillColor\x3d#ffffff;strokeColor\x3d#000000;strokeWidth\x3d2");this.addImagePalette("clipart",mxResources.get("clipart"),b+"/clipart/","_128x128.png","Earth_globe Empty_Folder Full_Folder Gear Lock Software Virus Email Database Router_Icon iPad iMac Laptop MacBook Monitor_Tower Printer Server_Tower Workstation Firewall_02 Wireless_Router_N Credit_Card Piggy_Bank Graph Safe Shopping_Cart Suit1 Suit2 Suit3 Pilot1 Worker1 Soldier1 Doctor1 Tech1 Security1 Telesales1".split(" "),
null,{Wireless_Router_N:"wireless router switch wap wifi access point wlan",Router_Icon:"router switch"})};Sidebar.prototype.collapsedImage=!mxClient.IS_SVG?IMAGE_PATH+"/collapsed.gif":"data:image/gif;base64,R0lGODlhDQANAIABAJmZmf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNUQyRTJFNjZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozNUQyRTJFNzZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjFERjc3MEUxNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjFERjc3MEUyNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhSMj6lrwAjcC1GyahV+dcZJgeIIFgA7";
Sidebar.prototype.expandedImage=!mxClient.IS_SVG?IMAGE_PATH+"/expanded.gif":"data:image/gif;base64,R0lGODlhDQANAIABAJmZmf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxREY3NzBERjZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxREY3NzBFMDZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjFERjc3MERENkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjFERjc3MERFNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhGMj6nL3QAjVHIu6azbvPtWAAA7";
Sidebar.prototype.tooltipImage=!mxClient.IS_SVG?IMAGE_PATH+"/tooltip.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAbCAMAAAB7jU7LAAAACVBMVEX///+ZmZn///9Y2COLAAAAA3RSTlP//wDXyg1BAAAAOElEQVR42mXQMQ4AMAgDsWv//+iutcJmIQSk+9dJpVKpVCqVSqVSqZTdncWzF8/NeP7FkxWenPEDOnUBiL3jWx0AAAAASUVORK5CYII\x3d";Sidebar.prototype.searchImage=!mxClient.IS_SVG?IMAGE_PATH+"/search.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAEaSURBVHjabNGxS5VxFIfxz71XaWuQUJCG/gCHhgTD9VpEETg4aMOlQRp0EoezObgcd220KQiXmpretTAHQRBdojlQEJyukPdt+b1ywfvAGc7wnHP4nlZd1yKijQW8xzNc4Su+ZOYfQ3T6/f4YNvEJYzjELXp4VVXVz263+7cR2niBxAFeZ2YPi3iHR/gYERPDwhpOsd6sz8x/mfkNG3iOlWFhFj8y89J9KvzGXER0GuEaD42mgwHqUtoljbcRsTBCeINpfM/MgZLKPpaxFxGbOCqDXmILN7hoJrTKH+axhxmcYRxP0MIDnOBDZv5q1XUNIuJxifJp+UNV7t7BFM6xeic0RMQ4Bpl5W/ol7GISx/eEUUTECrbx+f8A8xhiZht9zsgAAAAASUVORK5CYII\x3d";
Sidebar.prototype.enableTooltips=!0;Sidebar.prototype.tooltipBorder=16;Sidebar.prototype.tooltipDelay=300;Sidebar.prototype.dropTargetDelay=200;Sidebar.prototype.gearImage=STENCIL_PATH+"/clipart/Gear_128x128.png";Sidebar.prototype.thumbWidth=36;Sidebar.prototype.thumbHeight=36;Sidebar.prototype.thumbPadding=5<=document.documentMode?0:1;Sidebar.prototype.thumbBorder=2;Sidebar.prototype.sidebarTitleSize=9;Sidebar.prototype.sidebarTitles=!1;Sidebar.prototype.tooltipTitles=!0;
Sidebar.prototype.maxTooltipWidth=400;Sidebar.prototype.maxTooltipHeight=400;Sidebar.prototype.addStencilsToIndex=!0;Sidebar.prototype.defaultImageWidth=80;Sidebar.prototype.defaultImageHeight=80;
Sidebar.prototype.showTooltip=function(b,c,f,d,a,e){if(this.enableTooltips&&this.showTooltips&&this.currentElt!=b){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);var g=mxUtils.bind(this,function(){null==this.tooltip&&(this.tooltip=document.createElement("div"),this.tooltip.className="geSidebarTooltip",this.tooltip.style.zIndex=mxPopupMenu.prototype.zIndex-1,document.body.appendChild(this.tooltip),this.graph2=new Graph(this.tooltip,null,null,this.editorUi.editor.graph.getStylesheet()),
this.graph2.resetViewOnRootChange=!1,this.graph2.foldingEnabled=!1,this.graph2.gridEnabled=!1,this.graph2.autoScroll=!1,this.graph2.setTooltips(!1),this.graph2.setConnectable(!1),this.graph2.setEnabled(!1),mxClient.IS_SVG||(this.graph2.view.canvas.style.position="relative"),this.tooltipImage=mxUtils.createImage(this.tooltipImage),this.tooltipImage.className="geSidebarTooltipImage",this.tooltipImage.style.zIndex=mxPopupMenu.prototype.zIndex-1,this.tooltipImage.style.position="absolute",this.tooltipImage.style.width=
"14px",this.tooltipImage.style.height="27px",document.body.appendChild(this.tooltipImage));this.graph2.model.clear();this.graph2.view.setTranslate(this.tooltipBorder,this.tooltipBorder);this.graph2.view.scale=f>this.maxTooltipWidth||d>this.maxTooltipHeight?Math.round(100*Math.min(this.maxTooltipWidth/f,this.maxTooltipHeight/d))/100:1;this.tooltip.style.display="block";this.graph2.labelsVisible=null==e||e;this.graph2.addCells(c);var g=this.graph2.getGraphBounds(),l=g.width+2*this.tooltipBorder+4,m=
g.height+2*this.tooltipBorder;mxClient.IS_QUIRKS?(m+=4,this.tooltip.style.overflow="hidden"):this.tooltip.style.overflow="visible";this.tooltipImage.style.visibility="visible";this.tooltip.style.width=l+"px";this.tooltipTitles&&null!=a&&0<a.length?(null==this.tooltipTitle?(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.style.borderTop="1px solid gray",this.tooltipTitle.style.textAlign="center",this.tooltipTitle.style.width="100%",this.tooltipTitle.style.overflow="hidden",mxClient.IS_SVG||
(this.tooltipTitle.style.position="absolute"),this.tooltipTitle.style.paddingTop="6px",this.tooltip.appendChild(this.tooltipTitle)):this.tooltipTitle.innerHTML="",this.tooltipTitle.style.display="",mxUtils.write(this.tooltipTitle,a),l=this.tooltipTitle.offsetHeight+10,m+=l,mxClient.IS_SVG?this.tooltipTitle.style.marginTop=2-l+"px":(m-=6,this.tooltipTitle.style.top=m-l+"px")):null!=this.tooltipTitle&&null!=this.tooltipTitle.parentNode&&(this.tooltipTitle.style.display="none");this.tooltip.style.height=
m+"px";var l=-Math.round(g.x-this.tooltipBorder),g=-Math.round(g.y-this.tooltipBorder),n=document.documentElement,p=this.container.clientWidth+this.editorUi.splitSize+3+this.editorUi.container.offsetLeft,n=Math.min((document.body.clientHeight||n.clientHeight)-m-20,Math.max(0,this.editorUi.container.offsetTop+this.container.offsetTop+b.offsetTop-this.container.scrollTop-m/2+16));mxClient.IS_SVG?0!=l||0!=g?this.graph2.view.canvas.setAttribute("transform","translate("+l+","+g+")"):this.graph2.view.canvas.removeAttribute("transform"):
(this.graph2.view.drawPane.style.left=l+"px",this.graph2.view.drawPane.style.top=g+"px");this.tooltip.style.position="absolute";this.tooltip.style.left=p+"px";this.tooltip.style.top=n+"px";this.tooltipImage.style.left=p-13+"px";this.tooltipImage.style.top=n+m/2-13+"px"});null!=this.tooltip&&"none"!=this.tooltip.style.display?g():this.thread=window.setTimeout(g,this.tooltipDelay);this.currentElt=b}};
Sidebar.prototype.hideTooltip=function(){null!=this.thread&&(window.clearTimeout(this.thread),this.thread=null);null!=this.tooltip&&(this.tooltip.style.display="none",this.tooltipImage.style.visibility="hidden",this.currentElt=null)};
Sidebar.prototype.addEntry=function(b,c){if(null!=this.taglist&&null!=b&&0<b.length)for(var f=b.toLowerCase().replace(/[\/\,\(\)]/g," ").split(" "),d=0;d<f.length;d++)if(f[d]=f[d].replace(/\.*\d*$/,""),1<f[d].length){var a=this.taglist[f[d]];null==a&&(a={entries:[],dict:new mxDictionary},this.taglist[f[d]]=a);null==a.dict.get(c)&&(a.dict.put(c,c),a.entries.push(c))}return c};
Sidebar.prototype.searchEntries=function(b,c,f,d,a){if(null!=this.taglist&&null!=b){a=b.toLowerCase().split(" ");var e=new mxDictionary,g=(f+1)*c;b=[];for(var k=0,l=0;l<a.length;l++)if(0<a[l].length){var m=this.taglist[a[l]],n=new mxDictionary;if(null!=m){var p=m.entries;b=[];for(var r=0;r<p.length;r++)if(m=p[r],0==k==(null==e.get(m))&&(n.put(m,m),b.push(m),l==a.length-1&&b.length==g)){d(b.slice(f*c,g),g,!0);return}}else b=[];e=n;k++}a=b.length;d(b.slice(f*c,(f+1)*c),a,!1)}else d([])};
Sidebar.prototype.filterTags=function(b){if(null!=b){b=b.split(" ");for(var c=[],f={},d=0;d<b.length;d++)null==f[b[d]]&&(f[b[d]]="1",c.push(b[d]));return c.join(" ")}return null};Sidebar.prototype.cloneCell=function(b,c){var f=b.clone();null!=c&&(f.value=c);return f};
Sidebar.prototype.addSearchPalette=function(b){var c=document.createElement("div");c.style.visibility="hidden";this.container.appendChild(c);var f=document.createElement("div");f.className="geSidebar";f.style.boxSizing="border-box";f.style.overflow="hidden";f.style.width="100%";f.style.padding="8px";f.style.paddingTop="14px";f.style.paddingBottom="0px";b||(f.style.display="none");var d=document.createElement("div");d.style.whiteSpace="nowrap";d.style.textOverflow="clip";d.style.paddingBottom="8px";
d.style.cursor="default";var a=document.createElement("input");a.setAttribute("placeholder",mxResources.get("searchShapes"));a.setAttribute("type","text");a.style.fontSize="12px";a.style.overflow="hidden";a.style.boxSizing="border-box";a.style.border="solid 1px #d5d5d5";a.style.borderRadius="4px";a.style.width="100%";a.style.outline="none";a.style.padding="6px";d.appendChild(a);var e=document.createElement("img");e.setAttribute("src",Sidebar.prototype.searchImage);e.setAttribute("title",mxResources.get("search"));
e.style.position="relative";e.style.left="-18px";mxClient.IS_QUIRKS?(a.style.height="28px",e.style.top="-4px"):e.style.top="2px";e.style.background="url('"+this.editorUi.editor.transparentImage+"')";var g;d.appendChild(e);f.appendChild(d);var k=document.createElement("center"),l=mxUtils.button(mxResources.get("moreResults"),function(){g()});l.style.display="none";l.style.lineHeight="normal";l.style.marginTop="4px";l.style.marginBottom="8px";k.style.paddingTop="4px";k.style.paddingBottom="8px";k.appendChild(l);
f.appendChild(k);var m="",n=!1,p=!1,r=0,s={},q=12,t=mxUtils.bind(this,function(){n=!1;this.currentSearch=null;for(var a=f.firstChild;null!=a;){var b=a.nextSibling;a!=d&&a!=k&&a.parentNode.removeChild(a);a=b}});g=mxUtils.bind(this,function(){q=4*Math.max(1,Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideTooltip();if(""!=a.value){if(null!=k.parentNode&&(m!=a.value&&(t(),m=a.value,s={},p=!1,r=0),!n&&!p)){l.setAttribute("disabled","true");l.style.display="";l.style.cursor="wait";
l.innerHTML=mxResources.get("loading")+"...";n=!0;var b={};this.currentSearch=b;this.searchEntries(m,q,r,mxUtils.bind(this,function(a,d,e){if(this.currentSearch==b){a=null!=a?a:[];n=!1;r++;k.parentNode.removeChild(k);for(d=0;d<a.length;d++){var c=a[d]();null==s[c.innerHTML]&&(s[c.innerHTML]="1",f.appendChild(a[d]()))}e?(l.removeAttribute("disabled"),l.innerHTML=mxResources.get("moreResults")):(l.innerHTML=mxResources.get("reset"),l.style.display="none",p=!0);l.style.cursor="";0==a.length&&1==r&&(a=
document.createElement("div"),a.className="geTitle",a.style.backgroundColor="transparent",a.style.borderColor="transparent",a.style.color="gray",a.style.padding="0px",a.style.margin="0px 8px 0px 8px",a.style.paddingTop="6px",a.style.textAlign="center",a.style.cursor="default",mxUtils.write(a,mxResources.get("noResultsFor",[m])),f.appendChild(a));f.appendChild(k)}}),mxUtils.bind(this,function(){l.style.cursor=""}))}}else t(),m=a.value="",s={},l.style.display="none",p=!1,a.focus()});mxEvent.addListener(a,
"keydown",mxUtils.bind(this,function(a){13==a.keyCode&&g()}));mxEvent.addListener(a,"focus",function(){a.style.paddingRight="";e.style.display="none"});mxEvent.addListener(a,"blur",function(){a.style.paddingRight="20px";e.style.display=""});a.style.paddingRight="20px";mxEvent.addListener(a,"keyup",mxUtils.bind(this,function(b){""==a.value?(p=!0,l.style.display="none"):a.value!=m?(l.style.display="none",p=!1):n||(l.style.display=p?"none":"")}));mxEvent.addListener(a,"mousedown",function(a){a.stopPropagation&&
a.stopPropagation();a.cancelBubble=!0});mxEvent.addListener(a,"selectstart",function(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=!0});b=document.createElement("div");b.appendChild(f);this.container.appendChild(b);this.palettes.search=[c,b]};
Sidebar.prototype.addGeneralPalette=function(b){var c=[this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;",120,60,"","Rectangle",null,null,"rect rectangle box"),this.createVertexTemplateEntry("rounded\x3d1;whiteSpace\x3dwrap;html\x3d1;",120,60,"","Rounded Rectangle",null,null,"rounded rect rectangle box"),this.createVertexTemplateEntry("ellipse;whiteSpace\x3dwrap;html\x3d1;",120,80,"","Ellipse",null,null,"circle oval ellipse state"),this.createVertexTemplateEntry("text;html\x3d1;strokeColor\x3dnone;fillColor\x3dnone;align\x3dcenter;verticalAlign\x3dmiddle;whiteSpace\x3dwrap;",
40,20,"Text","Text",null,null,"text textbox textarea label"),this.createVertexTemplateEntry("shape\x3dext;double\x3d1;whiteSpace\x3dwrap;html\x3d1;",120,60,"","Double Rectangle",null,null,"rect rectangle box double"),this.createVertexTemplateEntry("shape\x3dext;double\x3d1;rounded\x3d1;whiteSpace\x3dwrap;html\x3d1;",120,60,"","Double Rounded Rectangle",null,null,"rounded rect rectangle box double"),this.createVertexTemplateEntry("ellipse;shape\x3ddoubleEllipse;whiteSpace\x3dwrap;html\x3d1;",120,80,
"","Double Ellipse",null,null,"circle oval ellipse start end state double"),this.createVertexTemplateEntry("rhombus;whiteSpace\x3dwrap;html\x3d1;",80,80,"","Diamond",null,null,"diamond rhombus if condition decision conditional question test"),this.createVertexTemplateEntry("shape\x3dparallelogram;whiteSpace\x3dwrap;html\x3d1;",120,60,"","Parallelogram"),this.createVertexTemplateEntry("triangle;whiteSpace\x3dwrap;html\x3d1;",60,80,"","Triangle",null,null,"triangle logic inverter buffer"),this.createVertexTemplateEntry("shape\x3dcylinder;whiteSpace\x3dwrap;html\x3d1;",
60,80,"","Cylinder",null,null,"cylinder data database"),this.createVertexTemplateEntry("shape\x3dhexagon;perimeter\x3dhexagonPerimeter;whiteSpace\x3dwrap;html\x3d1;",120,80,"","Hexagon",null,null,"hexagon preparation"),this.createVertexTemplateEntry("shape\x3dprocess;whiteSpace\x3dwrap;html\x3d1;",120,60,"","Process",null,null,"process task"),this.createVertexTemplateEntry("ellipse;shape\x3dcloud;whiteSpace\x3dwrap;html\x3d1;",120,80,"","Cloud",null,null,"cloud network"),this.createVertexTemplateEntry("shape\x3ddocument;whiteSpace\x3dwrap;html\x3d1;",
120,80,"","Document"),this.createVertexTemplateEntry("shape\x3dinternalStorage;whiteSpace\x3dwrap;html\x3d1;",80,80,"","Internal Storage"),this.createVertexTemplateEntry("shape\x3dcube;whiteSpace\x3dwrap;html\x3d1;",120,80,"","Cube"),this.createVertexTemplateEntry("shape\x3dstep;whiteSpace\x3dwrap;html\x3d1;",120,80,"","Step"),this.createVertexTemplateEntry("shape\x3dtrapezoid;whiteSpace\x3dwrap;html\x3d1;",120,60,"","Trapezoid"),this.createVertexTemplateEntry("shape\x3dtape;whiteSpace\x3dwrap;html\x3d1;",
120,100,"","Tape"),this.createVertexTemplateEntry("shape\x3dnote;whiteSpace\x3dwrap;html\x3d1;",80,100,"","Note"),this.createVertexTemplateEntry("shape\x3dcard;whiteSpace\x3dwrap;html\x3d1;",80,100,"","Card"),this.createEdgeTemplateEntry("endArrow\x3dclassic;html\x3d1;",50,50,"","Connection"),this.createEdgeTemplateEntry("endArrow\x3dclassic;startArrow\x3dclassic;html\x3d1;",50,50,"","Connection")];this.addPaletteFunctions("general",mxResources.get("general"),null!=b?b:!0,c)};
Sidebar.prototype.addMiscPalette=function(b){var c=[this.createVertexTemplateEntry("text;html\x3d1;fontSize\x3d24;fontStyle\x3d1;verticalAlign\x3dmiddle;align\x3dcenter;",100,40,"Title","Title",null,null,"text heading title"),this.createVertexTemplateEntry("text;html\x3d1;spacing\x3d5;spacingTop\x3d-20;whiteSpace\x3dwrap;overflow\x3dhidden;",190,120,"\x3ch1\x3eHeading\x3c/h1\x3e\x3cp\x3eLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\x3c/p\x3e",
"Textbox",null,null,"text textbox textarea"),this.createVertexTemplateEntry("text;html\x3d1;whiteSpace\x3dwrap;verticalAlign\x3dmiddle;overflow\x3dhidden;",100,80,"\x3cul\x3e\x3cli\x3eValue 1\x3c/li\x3e\x3cli\x3eValue 2\x3c/li\x3e\x3cli\x3eValue 3\x3c/li\x3e\x3c/ul\x3e","Unordered List"),this.createVertexTemplateEntry("text;html\x3d1;whiteSpace\x3dwrap;verticalAlign\x3dmiddle;overflow\x3dhidden;",100,80,"\x3col\x3e\x3cli\x3eValue 1\x3c/li\x3e\x3cli\x3eValue 2\x3c/li\x3e\x3cli\x3eValue 3\x3c/li\x3e\x3c/ol\x3e",
"Ordered List"),this.createVertexTemplateEntry("text;html\x3d1;fillColor\x3d#ffffff;overflow\x3dfill;rounded\x3d0;",280,160,'\x3ctable border\x3d"1" width\x3d"100%" height\x3d"100%" cellpadding\x3d"4" style\x3d"width:100%;height:100%;border-collapse:collapse;"\x3e\x3ctr style\x3d"background-color:#A7C942;color:#ffffff;border:1px solid #98bf21;"\x3e\x3cth align\x3d"left"\x3eTitle 1\x3c/th\x3e\x3cth align\x3d"left"\x3eTitle 2\x3c/th\x3e\x3cth align\x3d"left"\x3eTitle 3\x3c/th\x3e\x3c/tr\x3e\x3ctr style\x3d"border:1px solid #98bf21;"\x3e\x3ctd\x3eValue 1\x3c/td\x3e\x3ctd\x3eValue 2\x3c/td\x3e\x3ctd\x3eValue 3\x3c/td\x3e\x3c/tr\x3e\x3ctr style\x3d"background-color:#EAF2D3;border:1px solid #98bf21;"\x3e\x3ctd\x3eValue 4\x3c/td\x3e\x3ctd\x3eValue 5\x3c/td\x3e\x3ctd\x3eValue 6\x3c/td\x3e\x3c/tr\x3e\x3ctr style\x3d"border:1px solid #98bf21;"\x3e\x3ctd\x3eValue 7\x3c/td\x3e\x3ctd\x3eValue 8\x3c/td\x3e\x3ctd\x3eValue 9\x3c/td\x3e\x3c/tr\x3e\x3ctr style\x3d"background-color:#EAF2D3;border:1px solid #98bf21;"\x3e\x3ctd\x3eValue 10\x3c/td\x3e\x3ctd\x3eValue 11\x3c/td\x3e\x3ctd\x3eValue 12\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
"Table 1"),this.createVertexTemplateEntry("text;html\x3d1;strokeColor\x3d#c0c0c0;overflow\x3dfill;",180,140,'\x3ctable border\x3d"0" width\x3d"100%" height\x3d"100%" style\x3d"width:100%;height:100%;border-collapse:collapse;"\x3e\x3ctr\x3e\x3ctd align\x3d"center"\x3eValue 1\x3c/td\x3e\x3ctd align\x3d"center"\x3eValue 2\x3c/td\x3e\x3ctd align\x3d"center"\x3eValue 3\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center"\x3eValue 4\x3c/td\x3e\x3ctd align\x3d"center"\x3eValue 5\x3c/td\x3e\x3ctd align\x3d"center"\x3eValue 6\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center"\x3eValue 7\x3c/td\x3e\x3ctd align\x3d"center"\x3eValue 8\x3c/td\x3e\x3ctd align\x3d"center"\x3eValue 9\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
"Table 2"),this.createVertexTemplateEntry("text;html\x3d1;overflow\x3dfill;",180,140,'\x3ctable border\x3d"1" width\x3d"100%" height\x3d"100%" style\x3d"width:100%;height:100%;border-collapse:collapse;"\x3e\x3ctr\x3e\x3ctd align\x3d"center"\x3eValue 1\x3c/td\x3e\x3ctd align\x3d"center"\x3eValue 2\x3c/td\x3e\x3ctd align\x3d"center"\x3eValue 3\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center"\x3eValue 4\x3c/td\x3e\x3ctd align\x3d"center"\x3eValue 5\x3c/td\x3e\x3ctd align\x3d"center"\x3eValue 6\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center"\x3eValue 7\x3c/td\x3e\x3ctd align\x3d"center"\x3eValue 8\x3c/td\x3e\x3ctd align\x3d"center"\x3eValue 9\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
"Table 3"),this.createVertexTemplateEntry("text;html\x3d1;overflow\x3dfill;",160,140,'\x3ctable border\x3d"1" width\x3d"100%" height\x3d"100%" cellpadding\x3d"4" style\x3d"width:100%;height:100%;border-collapse:collapse;"\x3e\x3ctr\x3e\x3cth align\x3d"center"\x3e\x3cb\x3eTitle\x3c/b\x3e\x3c/th\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center"\x3eSection 1.1\nSection 1.2\nSection 1.3\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center"\x3eSection 2.1\nSection 2.2\nSection 2.3\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
"Table 4"),this.addEntry("link hyperlink",mxUtils.bind(this,function(){var b=new mxCell("Link",new mxGeometry(0,0,60,40),"text;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;verticalAlign\x3dmiddle;fontColor\x3d#0000EE;fontStyle\x3d4;");b.vertex=!0;this.graph.setLinkForCell(b,"https://www.draw.io");return this.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Link")})),this.addEntry("timestamp date time text label",mxUtils.bind(this,function(){var b=new mxCell("%date{ddd mmm dd yyyy HH:MM:ss}%",
new mxGeometry(0,0,160,20),"text;html\x3d1;strokeColor\x3dnone;fillColor\x3dnone;align\x3dcenter;verticalAlign\x3dmiddle;whiteSpace\x3dwrap;overflow\x3dhidden;");b.vertex=!0;this.graph.setAttributeForCell(b,"placeholders","1");return this.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Timestamp")})),this.addEntry("variable placeholder metadata hello world text label",mxUtils.bind(this,function(){var b=new mxCell("%name% Text",new mxGeometry(0,0,80,20),"text;html\x3d1;strokeColor\x3dnone;fillColor\x3dnone;align\x3dcenter;verticalAlign\x3dmiddle;whiteSpace\x3dwrap;overflow\x3dhidden;");
b.vertex=!0;this.graph.setAttributeForCell(b,"placeholders","1");this.graph.setAttributeForCell(b,"name","Variable");return this.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Variable")})),this.createVertexTemplateEntry("shape\x3dumlActor;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;html\x3d1;",30,60,"Actor","Actor",!1,null,"user person human stickman"),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;comic\x3d1;strokeWidth\x3d2;fontFamily\x3dComic Sans MS;fontStyle\x3d1;",
120,60,"RECTANGLE","Comic Rectangle",!0,null,"comic rectangle rect box text retro"),this.createVertexTemplateEntry("rhombus;html\x3d1;align\x3dcenter;whiteSpace\x3dwrap;comic\x3d1;strokeWidth\x3d2;fontFamily\x3dComic Sans MS;fontStyle\x3d1;",100,100,"DIAMOND","Comic Diamond",!0,null,"comic diamond rhombus if condition decision conditional question test retro"),this.createEdgeTemplateEntry("edgeStyle\x3dsegmentEdgeStyle;rounded\x3d0;comic\x3d1;strokeWidth\x3d2;endArrow\x3dblockThin;html\x3d1;fontFamily\x3dComic Sans MS;fontStyle\x3d1;",
50,50,"","Comic Arrow 1"),this.createEdgeTemplateEntry("rounded\x3d0;comic\x3d1;strokeWidth\x3d2;endArrow\x3dblockThin;html\x3d1;fontFamily\x3dComic Sans MS;fontStyle\x3d1;",50,50,"","Comic Arrow 2"),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;aspect\x3dfixed;shape\x3disoRectangle;",150,90,"","Isometric Square",!0,null,"rectangle rect box iso isometric"),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;aspect\x3dfixed;shape\x3disoCube;",90,100,"","Isometric Cube",!0,null,
"cube box iso isometric"),this.createEdgeTemplateEntry("edgeStyle\x3disometricEdgeStyle;endArrow\x3dnone;html\x3d1;",50,100,"","Isometric Edge 1"),this.createEdgeTemplateEntry("edgeStyle\x3disometricEdgeStyle;endArrow\x3dnone;html\x3d1;elbow\x3dvertical;",50,100,"","Isometric Edge 2"),this.createVertexTemplateEntry("line;html\x3d1;",160,10,"","Horizontal Line"),this.createVertexTemplateEntry("line;direction\x3dsouth;html\x3d1;",10,160,"","Vertical Line"),this.createVertexTemplateEntry("line;html\x3d1;perimeter\x3dbackbonePerimeter;points\x3d[];outlineConnect\x3d0;",
160,10,"","Horizontal Backbone",!1,null,"network"),this.createVertexTemplateEntry("line;direction\x3dsouth;html\x3d1;perimeter\x3dbackbonePerimeter;points\x3d[];outlineConnect\x3d0;",10,160,"","Vertical Backbone",!1,null,"network"),this.createVertexTemplateEntry("shape\x3dcurlyBracket;whiteSpace\x3dwrap;html\x3d1;rounded\x3d1;",20,120,"","Curly Bracket"),this.createVertexTemplateEntry("shape\x3dimage;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;imageAspect\x3d1;aspect\x3dfixed;image\x3d"+
this.gearImage,52,61,"","Image (Fixed Aspect)",!1,null,"fixed image icon symbol"),this.createVertexTemplateEntry("shape\x3dimage;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;imageAspect\x3d0;image\x3d"+this.gearImage,50,60,"","Image (Variable Aspect)",!1,null,"strechted image icon symbol"),this.createVertexTemplateEntry("icon;html\x3d1;image\x3d"+this.gearImage,60,60,"Icon","Icon",!1,null,"icon image symbol"),this.createVertexTemplateEntry("label;whiteSpace\x3dwrap;html\x3d1;image\x3d"+
this.gearImage,140,60,"Label","Label 1",null,null,"label image icon symbol"),this.createVertexTemplateEntry("label;whiteSpace\x3dwrap;html\x3d1;align\x3dcenter;verticalAlign\x3dbottom;spacingLeft\x3d0;spacingBottom\x3d4;imageAlign\x3dcenter;imageVerticalAlign\x3dtop;image\x3d"+this.gearImage,120,80,"Label","Label 2",null,null,"label image icon symbol"),this.createEdgeTemplateEntry("shape\x3dflexArrow;endArrow\x3dclassic;html\x3d1;fillColor\x3d#ffffff;",50,50,"","Arrow"),this.createEdgeTemplateEntry("shape\x3dflexArrow;endArrow\x3dclassic;startArrow\x3dclassic;html\x3d1;fillColor\x3d#ffffff;",
50,50,"","Arrow"),this.createEdgeTemplateEntry("endArrow\x3dnone;html\x3d1;dashed\x3d1;dashPattern\x3d1 4;",50,50,"","Dotted Line"),this.createEdgeTemplateEntry("endArrow\x3dnone;dashed\x3d1;html\x3d1;",50,50,"","Dashed Line"),this.createEdgeTemplateEntry("endArrow\x3dnone;html\x3d1;",50,50,"","Line"),this.createEdgeTemplateEntry("edgeStyle\x3dsegmentEdgeStyle;endArrow\x3dclassic;html\x3d1;",50,50,"","Manual Line"),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;elbow\x3dhorizontal;endArrow\x3dclassic;html\x3d1;",
50,50,"","Horizontal Elbow"),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;endArrow\x3dclassic;html\x3d1;",50,50,"","Vertical Elbow"),this.addEntry("curve",mxUtils.bind(this,function(){var b=new mxCell("",new mxGeometry(0,0,50,50),"curved\x3d1;endArrow\x3dclassic;html\x3d1;");b.geometry.setTerminalPoint(new mxPoint(0,50),!0);b.geometry.setTerminalPoint(new mxPoint(50,0),!1);b.geometry.points=[new mxPoint(50,50),new mxPoint(0,0)];b.geometry.relative=!0;b.edge=!0;return this.createEdgeTemplateFromCells([b],
b.geometry.width,b.geometry.height,"Curve")})),this.createEdgeTemplateEntry("shape\x3dlink;html\x3d1;",50,50,"","Link")];this.addPaletteFunctions("misc",mxResources.get("misc"),null!=b?b:!0,c)};Sidebar.prototype.addAdvancedPalette=function(b){this.addPaletteFunctions("advanced",mxResources.get("advanced"),null!=b?b:!1,this.createAdvancedShapes())};
Sidebar.prototype.createAdvancedShapes=function(){var b=this,c=new mxCell("List Item",new mxGeometry(0,0,60,26),"text;html\x3d1;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;");c.vertex=!0;return[this.createVertexTemplateEntry("shape\x3dimage;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;imageAspect\x3d0;image\x3d"+
this.gearImage,50,60,"","Stretched Image",!1,null,"strechted image icon symbol"),this.createVertexTemplateEntry("icon;html\x3d1;image\x3d"+this.gearImage,60,60,"Icon","Icon",!1,null,"icon image symbol"),this.createVertexTemplateEntry("label;whiteSpace\x3dwrap;html\x3d1;image\x3d"+this.gearImage,140,60,"Label","Label 1",null,null,"label image icon symbol"),this.createVertexTemplateEntry("label;whiteSpace\x3dwrap;html\x3d1;align\x3dcenter;verticalAlign\x3dbottom;spacingLeft\x3d0;spacingBottom\x3d4;imageAlign\x3dcenter;imageVerticalAlign\x3dtop;image\x3d"+
this.gearImage,120,80,"Label","Label 2",null,null,"label image icon symbol"),this.createVertexTemplateEntry("shape\x3dxor;whiteSpace\x3dwrap;html\x3d1;",60,80,"","Or",null,null,"logic or"),this.createVertexTemplateEntry("shape\x3dor;whiteSpace\x3dwrap;html\x3d1;",60,80,"","And",null,null,"logic and"),this.createVertexTemplateEntry("shape\x3ddataStorage;whiteSpace\x3dwrap;html\x3d1;",100,80,"","Data Storage"),this.createVertexTemplateEntry("shape\x3dtapeData;whiteSpace\x3dwrap;html\x3d1;perimeter\x3dellipsePerimeter;",
80,80,"","Tape Data"),this.createVertexTemplateEntry("shape\x3dmanualInput;whiteSpace\x3dwrap;html\x3d1;",80,80,"","Manual Input"),this.createVertexTemplateEntry("shape\x3dloopLimit;whiteSpace\x3dwrap;html\x3d1;",100,80,"","Loop Limit"),this.createVertexTemplateEntry("shape\x3doffPageConnector;whiteSpace\x3dwrap;html\x3d1;",80,80,"","Off Page Connector"),this.createVertexTemplateEntry("shape\x3ddelay;whiteSpace\x3dwrap;html\x3d1;",80,40,"","Delay"),this.createVertexTemplateEntry("shape\x3ddisplay;whiteSpace\x3dwrap;html\x3d1;",
80,40,"","Display"),this.createVertexTemplateEntry("shape\x3dsingleArrow;direction\x3dwest;whiteSpace\x3dwrap;html\x3d1;",100,60,"","Arrow Left"),this.createVertexTemplateEntry("shape\x3dsingleArrow;whiteSpace\x3dwrap;html\x3d1;",100,60,"","Arrow Right"),this.createVertexTemplateEntry("shape\x3dsingleArrow;direction\x3dnorth;whiteSpace\x3dwrap;html\x3d1;",60,100,"","Arrow Up"),this.createVertexTemplateEntry("shape\x3dsingleArrow;direction\x3dsouth;whiteSpace\x3dwrap;html\x3d1;",60,100,"","Arrow Down"),
this.createVertexTemplateEntry("shape\x3ddoubleArrow;whiteSpace\x3dwrap;html\x3d1;",100,60,"","Double Arrow"),this.createVertexTemplateEntry("shape\x3ddoubleArrow;direction\x3dsouth;whiteSpace\x3dwrap;html\x3d1;",60,100,"","Double Arrow Vertical",null,null,"double arrow"),this.createVertexTemplateEntry("shape\x3dactor;whiteSpace\x3dwrap;html\x3d1;",40,60,"","User",null,null,"user person human"),this.createVertexTemplateEntry("shape\x3dcross;whiteSpace\x3dwrap;html\x3d1;",80,80,"","Cross"),this.createVertexTemplateEntry("shape\x3dcorner;whiteSpace\x3dwrap;html\x3d1;",
80,80,"","Corner"),this.createVertexTemplateEntry("shape\x3dtee;whiteSpace\x3dwrap;html\x3d1;",80,80,"","Tee"),this.createVertexTemplateEntry("shape\x3ddatastore;whiteSpace\x3dwrap;html\x3d1;",60,60,"","Data Store",null,null,"data store cylinder database"),this.createVertexTemplateEntry("shape\x3dorEllipse;perimeter\x3dellipsePerimeter;whiteSpace\x3dwrap;html\x3d1;",80,80,"","Or",null,null,"or circle oval ellipse"),this.createVertexTemplateEntry("shape\x3dsumEllipse;perimeter\x3dellipsePerimeter;whiteSpace\x3dwrap;html\x3d1;",
80,80,"","Sum",null,null,"sum circle oval ellipse"),this.createVertexTemplateEntry("shape\x3dlineEllipse;perimeter\x3dellipsePerimeter;whiteSpace\x3dwrap;html\x3d1;",80,80,"","Ellipse with horizontal divider",null,null,"circle oval ellipse"),this.createVertexTemplateEntry("shape\x3dlineEllipse;line\x3dvertical;perimeter\x3dellipsePerimeter;whiteSpace\x3dwrap;html\x3d1;",80,80,"","Ellipse with vertical divider",null,null,"circle oval ellipse"),this.createVertexTemplateEntry("shape\x3dsortShape;perimeter\x3drhombusPerimeter;whiteSpace\x3dwrap;html\x3d1;",
80,80,"","Sort",null,null,"sort"),this.createVertexTemplateEntry("shape\x3dcollate;whiteSpace\x3dwrap;html\x3d1;",80,80,"","Collate",null,null,"collate"),this.createVertexTemplateEntry("shape\x3dswitch;whiteSpace\x3dwrap;html\x3d1;",60,60,"","Switch",null,null,"switch router"),this.createVertexTemplateEntry("shape\x3ddimension;whiteSpace\x3dwrap;html\x3d1;align\x3dcenter;points\x3d[];verticalAlign\x3dbottom;spacingBottom\x3d-5;labelBackgroundColor\x3d#ffffff",100,40,"Label","Horizontal Dimension",
null,null,"horizontal dimension measure"),this.createVertexTemplateEntry("shape\x3ddimension;direction\x3dnorth;whiteSpace\x3dwrap;html\x3d1;align\x3dright;points\x3d[];verticalAlign\x3dmiddle;labelBackgroundColor\x3d#ffffff",40,100,"Label","Vertical Dimension",null,null,"vertical dimension measure"),this.createVertexTemplateEntry("swimlane;whiteSpace\x3dwrap;html\x3d1;",200,200,"Container","Container",null,null,"container swimlane lane pool"),this.addEntry("list",function(){var f=new mxCell("List",
new mxGeometry(0,0,140,110),"swimlane;html\x3d1;fontStyle\x3d0;childLayout\x3dstackLayout;horizontal\x3d1;startSize\x3d26;fillColor\x3dnone;horizontalStack\x3d0;resizeParent\x3d1;resizeLast\x3d0;collapsible\x3d1;marginBottom\x3d0;swimlaneFillColor\x3d#ffffff;");f.vertex=!0;f.insert(b.cloneCell(c,"Item 1"));f.insert(b.cloneCell(c,"Item 2"));f.insert(b.cloneCell(c,"Item 3"));return b.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,"List")}),this.addEntry("list item entry value",
function(){return b.createVertexTemplateFromCells([b.cloneCell(c,"List Item")],c.geometry.width,c.geometry.height,"List Item")})]};
Sidebar.prototype.addUmlPalette=function(b){var c=this,f=new mxCell("+ field: type",new mxGeometry(0,0,100,26),"text;html\x3d1;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;");f.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,40,8),"line;html\x3d1;strokeWidth\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dmiddle;spacingTop\x3d-1;spacingLeft\x3d3;spacingRight\x3d3;rotatable\x3d0;labelPosition\x3dright;points\x3d[];portConstraint\x3deastwest;");
d.vertex=!0;var a=[this.createVertexTemplateEntry("html\x3d1;",110,50,"Object","Object",null,null,"uml static class object instance"),this.createVertexTemplateEntry("html\x3d1;",110,50,"\x26laquo;interface\x26raquo;\x3cbr\x3e\x3cb\x3eName\x3c/b\x3e","Interface",null,null,"uml static class interface object instance annotated annotation"),this.addEntry("uml static class object instance",function(){var a=new mxCell("Classname",new mxGeometry(0,0,160,90),"swimlane;html\x3d1;fontStyle\x3d1;align\x3dcenter;verticalAlign\x3dtop;childLayout\x3dstackLayout;horizontal\x3d1;startSize\x3d26;horizontalStack\x3d0;resizeParent\x3d1;resizeLast\x3d0;collapsible\x3d1;marginBottom\x3d0;swimlaneFillColor\x3d#ffffff;");
a.vertex=!0;a.insert(f.clone());a.insert(d.clone());a.insert(c.cloneCell(f,"+ method(type): type"));return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Class")}),this.addEntry("uml static class section subsection",function(){var a=new mxCell("Classname",new mxGeometry(0,0,140,110),"swimlane;html\x3d1;fontStyle\x3d0;childLayout\x3dstackLayout;horizontal\x3d1;startSize\x3d26;fillColor\x3dnone;horizontalStack\x3d0;resizeParent\x3d1;resizeLast\x3d0;collapsible\x3d1;marginBottom\x3d0;swimlaneFillColor\x3d#ffffff;");
a.vertex=!0;a.insert(f.clone());a.insert(f.clone());a.insert(f.clone());return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Class 2")}),this.addEntry("uml static class item member method function variable field attribute label",function(){return c.createVertexTemplateFromCells([c.cloneCell(f,"+ item: attribute")],f.geometry.width,f.geometry.height,"Item 1")}),this.addEntry("uml static class item member method function variable field attribute label",function(){var a=new mxCell("item: attribute",
new mxGeometry(0,0,120,f.geometry.height),"label;html\x3d1;fontStyle\x3d0;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dtop;overflow\x3dhidden;spacingLeft\x3d28;spacingRight\x3d4;whiteSpace\x3dwrap;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;imageWidth\x3d16;imageHeight\x3d16;image\x3d"+c.gearImage);a.vertex=!0;return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Item 2")}),this.addEntry("uml static class divider hline line separator",
function(){return c.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Divider")}),this.addEntry("uml static class spacer space gap separator",function(){var a=new mxCell("",new mxGeometry(0,0,20,14),"text;html\x3d1;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dmiddle;spacingTop\x3d-1;spacingLeft\x3d4;spacingRight\x3d4;rotatable\x3d0;labelPosition\x3dright;points\x3d[];portConstraint\x3deastwest;");a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],
a.geometry.width,a.geometry.height,"Spacer")}),this.createVertexTemplateEntry("text;html\x3d1;align\x3dcenter;fontStyle\x3d1;verticalAlign\x3dmiddle;spacingLeft\x3d3;spacingRight\x3d3;strokeColor\x3dnone;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;",80,26,"Title","Title",null,null,"uml static class title label"),this.addEntry("uml static class component",function(){var a=new mxCell("\x26laquo;Annotation\x26raquo;\x3cbr/\x3e\x3cb\x3eComponent\x3c/b\x3e",new mxGeometry(0,0,
180,90),"html\x3d1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(1,0,20,20),"shape\x3dcomponent;jettyWidth\x3d8;jettyHeight\x3d4;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-27,7);a.insert(b);return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Component")}),this.addEntry("uml static class component",function(){var a=new mxCell('\x3cp style\x3d"margin:0px;margin-top:6px;text-align:center;"\x3e\x3cb\x3eComponent\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-left:8px;"\x3e+ Attribute1: Type\x3cbr/\x3e+ Attribute2: Type\x3c/p\x3e',
new mxGeometry(0,0,180,90),"align\x3dleft;overflow\x3dfill;html\x3d1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(1,0,20,20),"shape\x3dcomponent;jettyWidth\x3d8;jettyHeight\x3d4;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-24,4);a.insert(b);return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Component with Attributes")}),this.createVertexTemplateEntry("verticalAlign\x3dtop;align\x3dleft;spacingTop\x3d8;spacingLeft\x3d2;spacingRight\x3d12;shape\x3dcube;size\x3d10;direction\x3dsouth;fontStyle\x3d4;html\x3d1;",
180,120,"Block","Block",null,null,"uml static class block"),this.createVertexTemplateEntry("shape\x3dcomponent;align\x3dleft;spacingLeft\x3d36;",120,60,"Module","Module",null,null,"uml static class module"),this.createVertexTemplateEntry("shape\x3dfolder;fontStyle\x3d1;spacingTop\x3d10;tabWidth\x3d40;tabHeight\x3d14;tabPosition\x3dleft;html\x3d1;",70,50,"package","Package",null,null,"uml static class package"),this.createVertexTemplateEntry("verticalAlign\x3dtop;align\x3dleft;overflow\x3dfill;fontSize\x3d12;fontFamily\x3dHelvetica;html\x3d1;",
160,90,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"\x3e\x3cb\x3eObject:Type\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-left:8px;"\x3efield1 \x3d value1\x3cbr/\x3efield2 \x3d value2\x3cbr\x3efield3 \x3d value3\x3c/p\x3e',"Object",null,null,"uml static class object instance"),this.createVertexTemplateEntry("verticalAlign\x3dtop;align\x3dleft;overflow\x3dfill;html\x3d1;",180,90,'\x3cdiv style\x3d"box-sizing:border-box;width:100%;background:#e4e4e4;padding:2px;"\x3eTablename\x3c/div\x3e\x3ctable style\x3d"width:100%;font-size:1em;" cellpadding\x3d"2" cellspacing\x3d"0"\x3e\x3ctr\x3e\x3ctd\x3ePK\x3c/td\x3e\x3ctd\x3euniqueId\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3eFK1\x3c/td\x3e\x3ctd\x3eforeignKey\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e\x3c/td\x3e\x3ctd\x3efieldname\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
"Entity",null,null,"er entity table"),this.addEntry("uml static class object instance",function(){var a=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eClass\x3c/b\x3e\x3c/p\x3e\x3chr size\x3d"1"/\x3e\x3cdiv style\x3d"height:2px;"\x3e\x3c/div\x3e',new mxGeometry(0,0,140,60),"verticalAlign\x3dtop;align\x3dleft;overflow\x3dfill;fontSize\x3d12;fontFamily\x3dHelvetica;html\x3d1;");a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,
"Class 3")}),this.addEntry("uml static class object instance",function(){var a=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eClass\x3c/b\x3e\x3c/p\x3e\x3chr size\x3d"1"/\x3e\x3cdiv style\x3d"height:2px;"\x3e\x3c/div\x3e\x3chr size\x3d"1"/\x3e\x3cdiv style\x3d"height:2px;"\x3e\x3c/div\x3e',new mxGeometry(0,0,140,60),"verticalAlign\x3dtop;align\x3dleft;overflow\x3dfill;fontSize\x3d12;fontFamily\x3dHelvetica;html\x3d1;");a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],
a.geometry.width,a.geometry.height,"Class 4")}),this.addEntry("uml static class object instance",function(){var a=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eClass\x3c/b\x3e\x3c/p\x3e\x3chr size\x3d"1"/\x3e\x3cp style\x3d"margin:0px;margin-left:4px;"\x3e+ field: Type\x3c/p\x3e\x3chr size\x3d"1"/\x3e\x3cp style\x3d"margin:0px;margin-left:4px;"\x3e+ method(): Type\x3c/p\x3e',new mxGeometry(0,0,160,90),"verticalAlign\x3dtop;align\x3dleft;overflow\x3dfill;fontSize\x3d12;fontFamily\x3dHelvetica;html\x3d1;");
a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,"Class 5")}),this.addEntry("uml static class object instance",function(){var a=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3ci\x3e\x26lt;\x26lt;Interface\x26gt;\x26gt;\x3c/i\x3e\x3cbr/\x3e\x3cb\x3eInterface\x3c/b\x3e\x3c/p\x3e\x3chr size\x3d"1"/\x3e\x3cp style\x3d"margin:0px;margin-left:4px;"\x3e+ field1: Type\x3cbr/\x3e+ field2: Type\x3c/p\x3e\x3chr size\x3d"1"/\x3e\x3cp style\x3d"margin:0px;margin-left:4px;"\x3e+ method1(Type): Type\x3cbr/\x3e+ method2(Type, Type): Type\x3c/p\x3e',
new mxGeometry(0,0,190,140),"verticalAlign\x3dtop;align\x3dleft;overflow\x3dfill;fontSize\x3d12;fontFamily\x3dHelvetica;html\x3d1;");a.vertex=!0;return c.createVertexTemplateFromCells([a.clone()],a.geometry.width,a.geometry.height,"Interface 2")}),this.createVertexTemplateEntry("shape\x3dlollipop;direction\x3dsouth;html\x3d1;",30,10,"","Provided Interface",null,null,"uml static class provided interface"),this.createVertexTemplateEntry("shape\x3drequires;direction\x3dnorth;html\x3d1;",30,20,"","Required Interface",
null,null,"uml static class required interface"),this.createVertexTemplateEntry("shape\x3dumlBoundary;whiteSpace\x3dwrap;html\x3d1;",100,80,"Boundary Object","Boundary Object",null,null,"uml boundary object"),this.createVertexTemplateEntry("ellipse;shape\x3dumlEntity;whiteSpace\x3dwrap;html\x3d1;",80,80,"Entity Object","Entity Object",null,null,"uml entity object"),this.createVertexTemplateEntry("ellipse;shape\x3dumlControl;whiteSpace\x3dwrap;html\x3d1;",70,80,"Control Object","Control Object",null,
null,"uml control object"),this.createVertexTemplateEntry("shape\x3dumlActor;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;html\x3d1;",30,60,"Actor","Actor",!1,null,"uml actor"),this.createVertexTemplateEntry("ellipse;whiteSpace\x3dwrap;html\x3d1;",140,70,"Use Case","Use Case",null,null,"uml use case usecase"),this.addEntry("uml activity state start",function(){var a=new mxCell("",new mxGeometry(0,0,30,30),"ellipse;html\x3d1;shape\x3dstartState;fillColor\x3d#000000;strokeColor\x3d#ff0000;");
a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;html\x3d1;verticalAlign\x3dbottom;endArrow\x3dopen;endSize\x3d8;strokeColor\x3d#ff0000;");b.geometry.setTerminalPoint(new mxPoint(15,90),!1);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);return c.createVertexTemplateFromCells([a,b],30,90,"Start")}),this.addEntry("uml activity state",function(){var a=new mxCell("Activity",new mxGeometry(0,0,120,40),"rounded\x3d1;whiteSpace\x3dwrap;html\x3d1;arcSize\x3d40;fillColor\x3d#ffffc0;strokeColor\x3d#ff0000;");
a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;html\x3d1;verticalAlign\x3dbottom;endArrow\x3dopen;endSize\x3d8;strokeColor\x3d#ff0000;");b.geometry.setTerminalPoint(new mxPoint(60,100),!1);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);return c.createVertexTemplateFromCells([a,b],120,100,"Activity")}),this.addEntry("uml activity composite state",function(){var a=new mxCell("Composite State",new mxGeometry(0,0,160,60),"swimlane;html\x3d1;fontStyle\x3d1;align\x3dcenter;verticalAlign\x3dmiddle;childLayout\x3dstackLayout;horizontal\x3d1;startSize\x3d30;horizontalStack\x3d0;resizeParent\x3d0;resizeLast\x3d1;container\x3d0;collapsible\x3d0;rounded\x3d1;arcSize\x3d30;strokeColor\x3d#ff0000;fillColor\x3d#ffffc0;swimlaneFillColor\x3d#ffffc0;");
a.vertex=!0;var b=new mxCell("Subtitle",new mxGeometry(0,0,200,26),"text;html\x3d1;strokeColor\x3dnone;fillColor\x3dnone;align\x3dcenter;verticalAlign\x3dmiddle;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;");b.vertex=!0;a.insert(b);b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;html\x3d1;verticalAlign\x3dbottom;endArrow\x3dopen;endSize\x3d8;strokeColor\x3d#ff0000;");b.geometry.setTerminalPoint(new mxPoint(80,120),!1);b.geometry.relative=
!0;b.edge=!0;a.insertEdge(b,!0);return c.createVertexTemplateFromCells([a,b],160,120,"Composite State")}),this.addEntry("uml activity condition",function(){var a=new mxCell("Condition",new mxGeometry(0,0,80,40),"rhombus;whiteSpace\x3dwrap;html\x3d1;fillColor\x3d#ffffc0;strokeColor\x3d#ff0000;");a.vertex=!0;var b=new mxCell("no",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;endArrow\x3dopen;endSize\x3d8;strokeColor\x3d#ff0000;");b.geometry.setTerminalPoint(new mxPoint(180,
20),!1);b.geometry.relative=!0;b.geometry.x=-1;b.edge=!0;a.insertEdge(b,!0);var d=new mxCell("yes",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;html\x3d1;align\x3dleft;verticalAlign\x3dtop;endArrow\x3dopen;endSize\x3d8;strokeColor\x3d#ff0000;");d.geometry.setTerminalPoint(new mxPoint(40,100),!1);d.geometry.relative=!0;d.geometry.x=-1;d.edge=!0;a.insertEdge(d,!0);return c.createVertexTemplateFromCells([a,b,d],180,100,"Condition")}),this.addEntry("uml activity fork join",function(){var a=
new mxCell("",new mxGeometry(0,0,200,10),"shape\x3dline;html\x3d1;strokeWidth\x3d6;strokeColor\x3d#ff0000;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;html\x3d1;verticalAlign\x3dbottom;endArrow\x3dopen;endSize\x3d8;strokeColor\x3d#ff0000;");b.geometry.setTerminalPoint(new mxPoint(100,80),!1);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!0);return c.createVertexTemplateFromCells([a,b],200,80,"Fork/Join")}),this.createVertexTemplateEntry("ellipse;html\x3d1;shape\x3dendState;fillColor\x3d#000000;strokeColor\x3d#ff0000;",
30,30,"","End",null,null,"uml activity state end"),this.createVertexTemplateEntry("shape\x3dumlLifeline;perimeter\x3dlifelinePerimeter;whiteSpace\x3dwrap;html\x3d1;container\x3d1;collapsible\x3d0;recursiveResize\x3d0;outlineConnect\x3d0;",100,300,":Object","Lifeline",null,null,"uml sequence participant lifeline"),this.createVertexTemplateEntry("shape\x3dumlLifeline;participant\x3dumlActor;perimeter\x3dlifelinePerimeter;whiteSpace\x3dwrap;html\x3d1;container\x3d1;collapsible\x3d0;recursiveResize\x3d0;verticalAlign\x3dtop;spacingTop\x3d36;labelBackgroundColor\x3d#ffffff;outlineConnect\x3d0;",
20,300,"","Actor Lifeline",null,null,"uml sequence participant lifeline actor"),this.createVertexTemplateEntry("shape\x3dumlLifeline;participant\x3dumlBoundary;perimeter\x3dlifelinePerimeter;whiteSpace\x3dwrap;html\x3d1;container\x3d1;collapsible\x3d0;recursiveResize\x3d0;verticalAlign\x3dtop;spacingTop\x3d36;labelBackgroundColor\x3d#ffffff;outlineConnect\x3d0;",50,300,"","Boundary Lifeline",null,null,"uml sequence participant lifeline boundary"),this.createVertexTemplateEntry("shape\x3dumlLifeline;participant\x3dumlEntity;perimeter\x3dlifelinePerimeter;whiteSpace\x3dwrap;html\x3d1;container\x3d1;collapsible\x3d0;recursiveResize\x3d0;verticalAlign\x3dtop;spacingTop\x3d36;labelBackgroundColor\x3d#ffffff;outlineConnect\x3d0;",
40,300,"","Entity Lifeline",null,null,"uml sequence participant lifeline entity"),this.createVertexTemplateEntry("shape\x3dumlLifeline;participant\x3dumlControl;perimeter\x3dlifelinePerimeter;whiteSpace\x3dwrap;html\x3d1;container\x3d1;collapsible\x3d0;recursiveResize\x3d0;verticalAlign\x3dtop;spacingTop\x3d36;labelBackgroundColor\x3d#ffffff;outlineConnect\x3d0;",40,300,"","Control Lifeline",null,null,"uml sequence participant lifeline control"),this.createVertexTemplateEntry("shape\x3dumlFrame;whiteSpace\x3dwrap;html\x3d1;",
300,200,"frame","Frame",null,null,"uml sequence frame"),this.createVertexTemplateEntry("shape\x3dumlDestroy;whiteSpace\x3dwrap;html\x3d1;strokeWidth\x3d3;",30,30,"","Destruction",null,null,"uml sequence destruction destroy"),this.createVertexTemplateEntry("shape\x3dnote;whiteSpace\x3dwrap;html\x3d1;size\x3d14;verticalAlign\x3dtop;align\x3dleft;spacingTop\x3d-6;",100,70,"Note","Note",null,null,"uml note"),this.addEntry("uml sequence invoke invocation call activation",function(){var a=new mxCell("",
new mxGeometry(0,0,10,80),"html\x3d1;points\x3d[];perimeter\x3dorthogonalPerimeter;");a.vertex=!0;var b=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html\x3d1;verticalAlign\x3dbottom;startArrow\x3doval;endArrow\x3dblock;startSize\x3d8;");b.geometry.setTerminalPoint(new mxPoint(-60,0),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);return c.createVertexTemplateFromCells([a,b],10,80,"Found Message")}),this.addEntry("uml sequence invoke call delegation synchronous invocation activation",function(){var a=
new mxCell("",new mxGeometry(0,0,10,80),"html\x3d1;points\x3d[];perimeter\x3dorthogonalPerimeter;");a.vertex=!0;var b=new mxCell("dispatch",new mxGeometry(0,0,0,0),"html\x3d1;verticalAlign\x3dbottom;endArrow\x3dblock;entryX\x3d0;entryY\x3d0;");b.geometry.setTerminalPoint(new mxPoint(-70,0),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);var d=new mxCell("return",new mxGeometry(0,0,0,0),"html\x3d1;verticalAlign\x3dbottom;endArrow\x3dopen;dashed\x3d1;endSize\x3d8;exitX\x3d0;exitY\x3d0.95;");
d.geometry.setTerminalPoint(new mxPoint(-70,76),!1);d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);return c.createVertexTemplateFromCells([a,b,d],10,80,"Synchronous Invocation")}),this.addEntry("uml sequence self call recursion delegation activation",function(){var a=new mxCell("",new mxGeometry(0,20,10,40),"html\x3d1;points\x3d[];perimeter\x3dorthogonalPerimeter;");a.vertex=!0;var b=new mxCell("self call",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;html\x3d1;align\x3dleft;spacingLeft\x3d2;endArrow\x3dblock;rounded\x3d0;entryX\x3d1;entryY\x3d0;");
b.geometry.setTerminalPoint(new mxPoint(5,0),!0);b.geometry.points=[new mxPoint(30,0)];b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);return c.createVertexTemplateFromCells([a,b],10,60,"Self Call")}),this.addEntry("uml sequence invoke call delegation callback activation",function(){var a=new mxCell("",new mxGeometry(0,0,10,60),"html\x3d1;points\x3d[];perimeter\x3dorthogonalPerimeter;");a.vertex=!0;var b=new mxCell("callback",new mxGeometry(0,0,0,0),"html\x3d1;verticalAlign\x3dbottom;endArrow\x3dblock;entryX\x3d1;entryY\x3d0;");
b.geometry.setTerminalPoint(new mxPoint(70,0),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);var d=new mxCell("return",new mxGeometry(0,0,0,0),"html\x3d1;verticalAlign\x3dbottom;endArrow\x3dopen;dashed\x3d1;endSize\x3d8;exitX\x3d1;exitY\x3d0.95;");d.geometry.setTerminalPoint(new mxPoint(70,57),!1);d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);return c.createVertexTemplateFromCells([a,b,d],10,60,"Callback")}),this.createVertexTemplateEntry("html\x3d1;points\x3d[];perimeter\x3dorthogonalPerimeter;",
10,80,"","Activation",null,null,"uml sequence activation"),this.createEdgeTemplateEntry("html\x3d1;verticalAlign\x3dbottom;startArrow\x3doval;startFill\x3d1;endArrow\x3dblock;startSize\x3d8;",60,0,"dispatch","Found Message 1",null,"uml sequence message call invoke dispatch"),this.createEdgeTemplateEntry("html\x3d1;verticalAlign\x3dbottom;startArrow\x3dcircle;startFill\x3d1;endArrow\x3dopen;startSize\x3d6;endSize\x3d8;",80,0,"dispatch","Found Message 2",null,"uml sequence message call invoke dispatch"),
this.createEdgeTemplateEntry("html\x3d1;verticalAlign\x3dbottom;endArrow\x3dblock;",80,0,"dispatch","Message",null,"uml sequence message call invoke dispatch"),this.addEntry("uml sequence return message",function(){var a=new mxCell("return",new mxGeometry(0,0,0,0),"html\x3d1;verticalAlign\x3dbottom;endArrow\x3dopen;dashed\x3d1;endSize\x3d8;");a.geometry.setTerminalPoint(new mxPoint(80,0),!0);a.geometry.setTerminalPoint(new mxPoint(0,0),!1);a.geometry.relative=!0;a.edge=!0;return c.createEdgeTemplateFromCells([a],
80,0,"Return")}),this.addEntry("uml relation",function(){var a=new mxCell("name",new mxGeometry(0,0,0,0),"endArrow\x3dblock;endFill\x3d1;html\x3d1;edgeStyle\x3dorthogonalEdgeStyle;align\x3dleft;verticalAlign\x3dtop;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.geometry.x=-1;a.edge=!0;var b=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;labelBackgroundColor\x3d#ffffff;fontSize\x3d10;");
b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);return c.createEdgeTemplateFromCells([a],160,0,"Relation 1")}),this.addEntry("uml association",function(){var a=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dorthogonalEdgeStyle;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.edge=!0;var b=new mxCell("parent",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;labelBackgroundColor\x3d#ffffff;fontSize\x3d10;");
b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);b=new mxCell("child",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelBackgroundColor\x3d#ffffff;fontSize\x3d10;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);return c.createEdgeTemplateFromCells([a],160,0,"Association 1")}),this.addEntry("uml aggregation",function(){var a=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow\x3dopen;html\x3d1;endSize\x3d12;startArrow\x3ddiamondThin;startSize\x3d14;startFill\x3d0;edgeStyle\x3dorthogonalEdgeStyle;align\x3dleft;verticalAlign\x3dbottom;");
a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.geometry.x=-1;a.geometry.y=3;a.edge=!0;return c.createEdgeTemplateFromCells([a],160,0,"Aggregation")}),this.addEntry("uml composition",function(){var a=new mxCell("1",new mxGeometry(0,0,0,0),"endArrow\x3dopen;html\x3d1;endSize\x3d12;startArrow\x3ddiamondThin;startSize\x3d14;startFill\x3d1;edgeStyle\x3dorthogonalEdgeStyle;align\x3dleft;verticalAlign\x3dbottom;");a.geometry.setTerminalPoint(new mxPoint(0,
0),!0);a.geometry.setTerminalPoint(new mxPoint(160,0),!1);a.geometry.relative=!0;a.geometry.x=-1;a.geometry.y=3;a.edge=!0;return c.createEdgeTemplateFromCells([a],160,0,"Composition")}),this.addEntry("uml relation",function(){var a=new mxCell("Relation",new mxGeometry(0,0,0,0),"endArrow\x3dopen;html\x3d1;endSize\x3d12;startArrow\x3ddiamondThin;startSize\x3d14;startFill\x3d0;edgeStyle\x3dorthogonalEdgeStyle;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(160,
0),!1);a.geometry.relative=!0;a.edge=!0;var b=new mxCell("0..n",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3d#ffffff;fontSize\x3d10;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);b=new mxCell("1",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3d#ffffff;fontSize\x3d10;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;a.insert(b);return c.createEdgeTemplateFromCells([a],
160,0,"Relation 2")}),this.createEdgeTemplateEntry("endArrow\x3dopen;endSize\x3d12;dashed\x3d1;html\x3d1;",160,0,"Use","Dependency",null,"uml dependency use"),this.createEdgeTemplateEntry("endArrow\x3dblock;endSize\x3d16;endFill\x3d0;html\x3d1;",160,0,"Extends","Generalization",null,"uml generalization extend"),this.createEdgeTemplateEntry("endArrow\x3dblock;startArrow\x3dblock;endFill\x3d1;startFill\x3d1;html\x3d1;",160,0,"","Association 2",null,"uml association"),this.createEdgeTemplateEntry("endArrow\x3dopen;startArrow\x3dcirclePlus;endFill\x3d0;startFill\x3d0;endSize\x3d8;html\x3d1;",
160,0,"","Inner Class",null,"inner class"),this.createEdgeTemplateEntry("endArrow\x3dopen;startArrow\x3dcross;endFill\x3d0;startFill\x3d0;endSize\x3d8;startSize\x3d10;html\x3d1;",160,0,"","Terminate",null,"terminate")];this.addPaletteFunctions("uml",mxResources.get("uml"),b||!1,a)};
Sidebar.prototype.addBpmnPalette=function(b,c){var f=this,d=[this.createVertexTemplateEntry("shape\x3dext;rounded\x3d1;html\x3d1;whiteSpace\x3dwrap;",120,80,"Task","Process",null,null,"bpmn task process"),this.createVertexTemplateEntry("shape\x3dext;rounded\x3d1;html\x3d1;whiteSpace\x3dwrap;double\x3d1;",120,80,"Transaction","Transaction",null,null,"bpmn transaction"),this.createVertexTemplateEntry("shape\x3dext;rounded\x3d1;html\x3d1;whiteSpace\x3dwrap;dashed\x3d1;dashPattern\x3d1 4;",120,80,"Event\nSub-Process",
"Event Sub-Process",null,null,"bpmn event subprocess sub process sub-process"),this.createVertexTemplateEntry("shape\x3dext;rounded\x3d1;html\x3d1;whiteSpace\x3dwrap;strokeWidth\x3d3;",120,80,"Call Activity","Call Activity",null,null,"bpmn call activity"),this.addEntry("bpmn subprocess sub process sub-process",function(){var a=new mxCell("Sub-Process",new mxGeometry(0,0,120,80),"html\x3d1;whiteSpace\x3dwrap;rounded\x3d1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0.5,1,14,14),"html\x3d1;shape\x3dplus;");
b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-7,-14);a.insert(b);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Sub-Process")}),this.addEntry(this.getTagsForStencil("mxgraph.bpmn","loop","subprocess sub process sub-process looped").join(" "),function(){var a=new mxCell("Looped\nSub-Process",new mxGeometry(0,0,120,80),"html\x3d1;whiteSpace\x3dwrap;rounded\x3d1");a.vertex=!0;var b=new mxCell("",new mxGeometry(0.5,1,14,14),"html\x3d1;shape\x3dmxgraph.bpmn.loop;");
b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-15,-14);a.insert(b);b=new mxCell("",new mxGeometry(0.5,1,14,14),"html\x3d1;shape\x3dplus;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(1,-14);a.insert(b);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Looped Sub-Process")}),this.addEntry("bpmn receive task",function(){var a=new mxCell("Receive",new mxGeometry(0,0,120,80),"html\x3d1;whiteSpace\x3dwrap;rounded\x3d1;");a.vertex=!0;
var b=new mxCell("",new mxGeometry(0,0,20,14),"html\x3d1;shape\x3dmessage;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(7,7);a.insert(b);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Receive Task")}),this.addEntry(this.getTagsForStencil("mxgraph.bpmn","user_task").join(" "),function(){var a=new mxCell("User",new mxGeometry(0,0,120,80),"html\x3d1;whiteSpace\x3dwrap;rounded\x3d1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,14,14),"html\x3d1;shape\x3dmxgraph.bpmn.user_task;");
b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(7,7);a.insert(b);b=new mxCell("",new mxGeometry(0.5,1,14,14),"html\x3d1;shape\x3dplus;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-7,-14);a.insert(b);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"User Task")}),this.addEntry(this.getTagsForStencil("mxgraph.bpmn","timer_start","attached").join(" "),function(){var a=new mxCell("Process",new mxGeometry(0,0,120,80),"html\x3d1;whiteSpace\x3dwrap;rounded\x3d1;");
a.vertex=!0;var b=new mxCell("",new mxGeometry(1,1,30,30),"shape\x3dmxgraph.bpmn.timer_start;perimeter\x3dellipsePerimeter;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-40,-15);a.insert(b);return f.createVertexTemplateFromCells([a],120,95,"Attached Timer Event 1")}),this.addEntry(this.getTagsForStencil("mxgraph.bpmn","timer_start","attached").join(" "),function(){var a=new mxCell("Process",
new mxGeometry(0,0,120,80),"html\x3d1;whiteSpace\x3dwrap;rounded\x3d1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(1,0,30,30),"shape\x3dmxgraph.bpmn.timer_start;perimeter\x3dellipsePerimeter;html\x3d1;labelPosition\x3dright;labelBackgroundColor\x3d#ffffff;align\x3dleft;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-15,10);a.insert(b);return f.createVertexTemplateFromCells([a],135,80,"Attached Timer Event 2")}),this.createVertexTemplateEntry("swimlane;html\x3d1;horizontal\x3d0;startSize\x3d20;",
320,240,"Pool","Pool",null,null,"bpmn pool"),this.createVertexTemplateEntry("swimlane;html\x3d1;horizontal\x3d0;swimlaneFillColor\x3dwhite;swimlaneLine\x3d0;",300,120,"Lane","Lane",null,null,"bpmn lane"),this.createVertexTemplateEntry("shape\x3dhexagon;html\x3d1;whiteSpace\x3dwrap;perimeter\x3dhexagonPerimeter;",60,50,"","Conversation",null,null,"bpmn conversation"),this.createVertexTemplateEntry("shape\x3dhexagon;html\x3d1;whiteSpace\x3dwrap;perimeter\x3dhexagonPerimeter;strokeWidth\x3d4",60,50,
"","Call Conversation",null,null,"bpmn call conversation"),this.addEntry("bpmn subconversation sub conversation sub-conversation",function(){var a=new mxCell("",new mxGeometry(0,0,60,50),"shape\x3dhexagon;whiteSpace\x3dwrap;html\x3d1;perimeter\x3dhexagonPerimeter;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0.5,1,14,14),"html\x3d1;shape\x3dplus;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(-7,-14);a.insert(b);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,
"Sub-Conversation")}),this.addEntry("bpmn data object",function(){var a=new mxCell("",new mxGeometry(0,0,40,60),"shape\x3dnote;whiteSpace\x3dwrap;size\x3d16;html\x3d1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,14,14),"html\x3d1;shape\x3dsingleArrow;arrowWidth\x3d0.4;arrowSize\x3d0.4;");b.vertex=!0;b.geometry.relative=!0;b.geometry.offset=new mxPoint(2,2);a.insert(b);b=new mxCell("",new mxGeometry(0.5,1,14,14),"html\x3d1;whiteSpace\x3dwrap;shape\x3dparallelMarker;");b.vertex=!0;b.geometry.relative=
!0;b.geometry.offset=new mxPoint(-7,-14);a.insert(b);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Data Object")}),this.createVertexTemplateEntry("shape\x3ddatastore;whiteSpace\x3dwrap;html\x3d1;",60,60,"","Data Store",null,null,"bpmn data store"),this.createVertexTemplateEntry("shape\x3dplus;html\x3d1;",14,14,"","Sub-Process Marker",null,null,"bpmn subprocess sub process sub-process marker"),this.createVertexTemplateEntry("shape\x3dmxgraph.bpmn.loop;html\x3d1;",14,
14,"","Loop Marker",null,null,"bpmn loop marker"),this.createVertexTemplateEntry("shape\x3dparallelMarker;html\x3d1;",14,14,"","Parallel MI Marker",null,null,"bpmn parallel mi marker"),this.createVertexTemplateEntry("shape\x3dparallelMarker;direction\x3dsouth;html\x3d1;",14,14,"","Sequential MI Marker",null,null,"bpmn sequential mi marker"),this.createVertexTemplateEntry("shape\x3dmxgraph.bpmn.ad_hoc;fillColor\x3d#000000;html\x3d1;",14,14,"","Ad Hoc Marker",null,null,"bpmn ad hoc marker"),this.createVertexTemplateEntry("shape\x3dmxgraph.bpmn.compensation;html\x3d1;",
14,14,"","Compensation Marker",null,null,"bpmn compensation marker"),this.createVertexTemplateEntry("shape\x3dmessage;whiteSpace\x3dwrap;html\x3d1;fillColor\x3d#000000;strokeColor\x3d#ffffff;strokeWidth\x3d2;",40,30,"","Send Task",null,null,"bpmn send task"),this.createVertexTemplateEntry("shape\x3dmessage;whiteSpace\x3dwrap;html\x3d1;",40,30,"","Receive Task",null,null,"bpmn receive task"),this.createVertexTemplateEntry("shape\x3dmxgraph.bpmn.user_task;html\x3d1;",14,14,"","User Task",null,null,
this.getTagsForStencil("mxgraph.bpmn","user_task").join(" ")),this.createVertexTemplateEntry("shape\x3dmxgraph.bpmn.manual_task;html\x3d1;",14,14,"","Manual Task",null,null,this.getTagsForStencil("mxgraph.bpmn","user_task").join(" ")),this.createVertexTemplateEntry("shape\x3dmxgraph.bpmn.business_rule_task;html\x3d1;",14,14,"","Business Rule Task",null,null,this.getTagsForStencil("mxgraph.bpmn","business_rule_task").join(" ")),this.createVertexTemplateEntry("shape\x3dmxgraph.bpmn.service_task;html\x3d1;",
14,14,"","Service Task",null,null,this.getTagsForStencil("mxgraph.bpmn","service_task").join(" ")),this.createVertexTemplateEntry("shape\x3dmxgraph.bpmn.script_task;html\x3d1;",14,14,"","Script Task",null,null,this.getTagsForStencil("mxgraph.bpmn","script_task").join(" ")),this.createEdgeTemplateEntry("endArrow\x3dblock;endFill\x3d1;endSize\x3d6;html\x3d1;",100,0,"","Sequence Flow",null,"bpmn sequence flow"),this.createEdgeTemplateEntry("startArrow\x3ddash;startSize\x3d8;endArrow\x3dblock;endFill\x3d1;endSize\x3d6;html\x3d1;",
100,0,"","Default Flow",null,"bpmn default flow"),this.createEdgeTemplateEntry("startArrow\x3ddiamondThin;startFill\x3d0;startSize\x3d14;endArrow\x3dblock;endFill\x3d1;endSize\x3d6;html\x3d1;",100,0,"","Conditional Flow",null,"bpmn conditional flow"),this.createEdgeTemplateEntry("startArrow\x3doval;startFill\x3d0;startSize\x3d7;endArrow\x3dblock;endFill\x3d0;endSize\x3d10;dashed\x3d1;html\x3d1;",100,0,"","Message Flow 1",null,"bpmn message flow"),this.addEntry("bpmn message flow",function(){var a=
new mxCell("",new mxGeometry(0,0,0,0),"startArrow\x3doval;startFill\x3d0;startSize\x3d7;endArrow\x3dblock;endFill\x3d0;endSize\x3d10;dashed\x3d1;html\x3d1;");a.geometry.setTerminalPoint(new mxPoint(0,0),!0);a.geometry.setTerminalPoint(new mxPoint(100,0),!1);a.geometry.relative=!0;a.edge=!0;var b=new mxCell("",new mxGeometry(0,0,20,14),"shape\x3dmessage;html\x3d1;");b.geometry.relative=!0;b.setConnectable(!1);b.vertex=!0;b.geometry.offset=new mxPoint(-10,-7);a.insert(b);return f.createEdgeTemplateFromCells([a],
100,0,"Message Flow 2")}),this.createEdgeTemplateEntry("shape\x3dlink;html\x3d1;",100,0,"","Link",null,"bpmn link")];this.addPaletteFunctions("bpmn","BPMN "+mxResources.get("general"),!1,d)};Sidebar.prototype.createTitle=function(b){var c=document.createElement("a");c.setAttribute("href","javascript:void(0);");c.setAttribute("title",mxResources.get("sidebarTooltip"));c.className="geTitle";mxUtils.write(c,b);return c};
Sidebar.prototype.createThumb=function(b,c,f,d,a,e,g,k,l){this.graph.labelsVisible=null==e||e;e=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;this.graph.view.scaleAndTranslate(1,0,0);this.graph.addCells(b);b=this.graph.getGraphBounds();k=Math.floor(100*Math.min((c-2*this.thumbBorder)/b.width,(f-2*this.thumbBorder)/b.height))/100;this.graph.view.scaleAndTranslate(k,Math.floor((c-b.width*k)/2/k-b.x),Math.floor((f-b.height*k)/2/k-b.y));k=null;this.graph.dialect==mxConstants.DIALECT_SVG&&
!mxClient.NO_FO?k=this.graph.view.getCanvas().ownerSVGElement.cloneNode(!0):(k=this.graph.container.cloneNode(!1),k.innerHTML=this.graph.container.innerHTML);this.graph.getModel().clear();mxClient.NO_FO=e;mxClient.IS_IE6&&(d.style.backgroundImage="url("+this.editorUi.editor.transparentImage+")");k.style.position="relative";k.style.overflow="hidden";k.style.cursor="move";k.style.left=this.thumbBorder+"px";k.style.top=this.thumbBorder+"px";k.style.width=c+"px";k.style.height=f+"px";k.style.visibility=
"";k.style.minWidth="";k.style.minHeight="";d.appendChild(k);this.sidebarTitles&&null!=a&&!1!=g&&(d.style.height=this.thumbHeight+(mxClient.IS_QUIRKS?2*this.thumbPadding+2:0)+this.sidebarTitleSize+8+"px",c=document.createElement("div"),c.style.fontSize=this.sidebarTitleSize+"px",c.style.color="#303030",c.style.textAlign="center",c.style.whiteSpace="nowrap",mxClient.IS_IE&&(c.style.height=this.sidebarTitleSize+12+"px"),c.style.paddingTop="4px",mxUtils.write(c,a),d.appendChild(c));return b};
Sidebar.prototype.createItem=function(b,c,f,d,a,e,g){var k=document.createElement("a");k.setAttribute("href","javascript:void(0);");k.className="geItem";k.style.overflow="hidden";var l=mxClient.IS_QUIRKS?8+2*this.thumbPadding:2*this.thumbBorder;k.style.width=this.thumbWidth+l+"px";k.style.height=this.thumbHeight+l+"px";k.style.padding=this.thumbPadding+"px";mxEvent.addListener(k,"click",function(a){mxEvent.consume(a)});this.createThumb(b,this.thumbWidth,this.thumbHeight,k,c,f,d,a,e);var m=new mxRectangle(0,
0,a,e);1<b.length||b[0].vertex?(d=this.createDragSource(k,this.createDropHandler(b,!0,g,m),this.createDragPreview(a,e),b,m),this.addClickHandler(k,d,b),d.isGuidesEnabled=mxUtils.bind(this,function(){return this.editorUi.editor.graph.graphHandler.guidesEnabled})):null!=b[0]&&b[0].edge&&(d=this.createDragSource(k,this.createDropHandler(b,!1,g,m),this.createDragPreview(a,e),b,m),this.addClickHandler(k,d,b));mxClient.IS_IOS||mxEvent.addGestureListeners(k,null,mxUtils.bind(this,function(a){mxEvent.isMouseEvent(a)&&
this.showTooltip(k,b,m.width,m.height,c,f)}));return k};
Sidebar.prototype.updateShapes=function(b,c){var f=this.editorUi.editor.graph,d=f.getCellStyle(b),a=[];f.model.beginUpdate();try{for(var e=f.getModel().getStyle(b),g="shadow dashed dashPattern fontFamily fontSize fontColor align startFill startSize endFill endSize strokeColor strokeWidth fillColor gradientColor html part noEdgeStyle edgeStyle elbow childLayout".split(" "),k=0;k<c.length;k++){var l=c[k];if(f.getModel().isVertex(l)==f.getModel().isVertex(b)||f.getModel().isEdge(l)==f.getModel().isEdge(b)){var m=
f.view.getState(l),n=null!=m?m.style:f.getCellStyle(c[k]);f.getModel().setStyle(l,e);if(null!=m&&"1"==mxUtils.getValue(m.style,"composite","0"))for(var p=f.model.getChildCount(l);0<=p;p--)f.model.remove(f.model.getChildAt(l,p));if(null!=n){"umlLifeline"==n[mxConstants.STYLE_SHAPE]&&"umlLifeline"!=d[mxConstants.STYLE_SHAPE]&&(f.setCellStyles(mxConstants.STYLE_SHAPE,"umlLifeline",[l]),f.setCellStyles("participant",d[mxConstants.STYLE_SHAPE],[l]));for(p=0;p<g.length;p++){var r=n[g[p]];null!=r&&f.setCellStyles(g[p],
r,[l])}}a.push(l)}}}finally{f.model.endUpdate()}return a};
Sidebar.prototype.createDropHandler=function(b,c,f,d){f=null!=f?f:!0;return mxUtils.bind(this,function(a,e,g,k,l){if(a.isEnabled()){b=a.getImportableCells(b);if(0<b.length){a.stopEditing();var m=null!=g?a.isValidDropTarget(g,b,e):!1,n=null;null!=g&&!m&&(g=null);if(!a.isCellLocked(g||a.getDefaultParent())){a.model.beginUpdate();try{k=Math.round(k);l=Math.round(l);if(c&&a.isSplitTarget(g,b,e)){var p=a.cloneCells(b);a.splitEdge(g,p,null,k-d.width/2,l-d.height/2);n=p}else 0<b.length&&(n=a.importCells(b,
k,l,g));if(null!=a.layoutManager){var r=a.layoutManager.getLayout(g);if(null!=r){var s=a.view.scale,q=a.view.translate,t=(k+q.x)*s,u=(l+q.y)*s;for(g=0;g<n.length;g++)r.moveCell(n[g],t,u)}}f&&a.fireEvent(new mxEventObject("cellsInserted","cells",n))}finally{a.model.endUpdate()}null!=n&&0<n.length&&(a.scrollCellToVisible(n[0]),a.setSelectionCells(n))}}mxEvent.consume(e)}})};
Sidebar.prototype.createDragPreview=function(b,c){var f=document.createElement("div");f.style.border="1px dashed black";f.style.width=b+"px";f.style.height=c+"px";return f};
Sidebar.prototype.dropAndConnect=function(b,c,f,d){var a=this.getDropAndConnectGeometry(b,c[d],f,c);if(null!=a){var e=this.editorUi.editor.graph,g=[];e.model.beginUpdate();try{var k=e.getCellGeometry(b),l=e.getCellGeometry(c[d]),m=e.model.getParent(b),n=!0;if(null!=e.layoutManager){var p=e.layoutManager.getLayout(m);if(null!=p&&p.constructor==mxStackLayout&&(n=!1,g=e.view.getState(m),null!=g)){var r=new mxPoint(g.x/e.view.scale-e.view.translate.x,g.y/e.view.scale-e.view.translate.y);a.x+=r.x;a.y+=
r.y;var s=a.getTerminalPoint(!1);null!=s&&(s.x+=r.x,s.y+=r.y)}}var q=l.x,t=l.y;e.model.isEdge(c[d])&&(t=q=0);var u=e.model.isEdge(b)||null!=k&&!k.relative&&n,g=c=e.importCells(c,a.x-(u?q:0),a.y-(u?t:0),u?m:null);if(e.model.isEdge(b))e.model.setTerminal(b,c[d],f==mxConstants.DIRECTION_NORTH);else if(e.model.isEdge(c[d])){e.model.setTerminal(c[d],b,!0);var v=e.getCellGeometry(c[d]);v.points=null;if(null!=v.getTerminalPoint(!1))v.setTerminalPoint(a.getTerminalPoint(!1),!1);else if(u&&e.model.isVertex(m)){var z=
e.view.getState(m),r=new mxPoint(z.x/e.view.scale-e.view.translate.x,z.y/e.view.scale-e.view.translate.y);e.cellsMoved(c,r.x,r.y,null,null,!0)}}else l=e.getCellGeometry(c[d]),q=a.x-Math.round(l.x),t=a.y-Math.round(l.y),a.x=Math.round(l.x),a.y=Math.round(l.y),e.model.setGeometry(c[d],a),e.cellsMoved(c,q,t,null,null,!0),g=c.slice(),c.push(e.insertEdge(null,null,"",b,c[d],e.createCurrentEdgeStyle()));e.fireEvent(new mxEventObject("cellsInserted","cells",c))}finally{e.model.endUpdate()}e.setSelectionCells(g)}};
Sidebar.prototype.getDropAndConnectGeometry=function(b,c,f,d){var a=this.editorUi.editor.graph,e=a.view,g=1<d.length,k=a.getCellGeometry(b);d=a.getCellGeometry(c);null!=k&&null!=d&&(d=d.clone(),a.model.isEdge(b)?(b=a.view.getState(b),k=b.absolutePoints,c=k[0],a=k[k.length-1],f==mxConstants.DIRECTION_NORTH?(d.x=c.x/e.scale-e.translate.x-d.width/2,d.y=c.y/e.scale-e.translate.y-d.height/2):(d.x=a.x/e.scale-e.translate.x-d.width/2,d.y=a.y/e.scale-e.translate.y-d.height/2)):(k.relative&&(b=a.view.getState(b),
k=k.clone(),k.x=(b.x-e.translate.x)/e.scale,k.y=(b.y-e.translate.y)/e.scale),e=a.defaultEdgeLength,a.model.isEdge(c)&&null!=d.getTerminalPoint(!0)&&null!=d.getTerminalPoint(!1)?(c=d.getTerminalPoint(!0),a=d.getTerminalPoint(!1),e=a.x-c.x,c=a.y-c.y,e=Math.sqrt(e*e+c*c),d.x=k.getCenterX(),d.y=k.getCenterY(),d.width=1,d.height=1,f==mxConstants.DIRECTION_NORTH?(d.height=e,d.y=k.y-e,d.setTerminalPoint(new mxPoint(d.x,d.y),!1)):f==mxConstants.DIRECTION_EAST?(d.width=e,d.x=k.x+k.width,d.setTerminalPoint(new mxPoint(d.x+
d.width,d.y),!1)):f==mxConstants.DIRECTION_SOUTH?(d.height=e,d.y=k.y+k.height,d.setTerminalPoint(new mxPoint(d.x,d.y+d.height),!1)):f==mxConstants.DIRECTION_WEST&&(d.width=e,d.x=k.x-e,d.setTerminalPoint(new mxPoint(d.x,d.y),!1))):(!g&&45<d.width&&45<d.height&&(45<k.width&&45<k.height)&&(d.width*=k.height/d.height,d.height=k.height),d.x=k.x+k.width/2-d.width/2,d.y=k.y+k.height/2-d.height/2,f==mxConstants.DIRECTION_NORTH?d.y=d.y-k.height/2-d.height/2-e:f==mxConstants.DIRECTION_EAST?d.x=d.x+k.width/
2+d.width/2+e:f==mxConstants.DIRECTION_SOUTH?d.y=d.y+k.height/2+d.height/2+e:f==mxConstants.DIRECTION_WEST&&(d.x=d.x-k.width/2-d.width/2-e),a.model.isEdge(c)&&null!=d.getTerminalPoint(!0)&&null!=c.getTerminal(!1)&&(k=a.getCellGeometry(c.getTerminal(!1)),null!=k&&(f==mxConstants.DIRECTION_NORTH?(d.x-=k.getCenterX(),d.y-=k.getCenterY()+k.height/2):f==mxConstants.DIRECTION_EAST?(d.x-=k.getCenterX()-k.width/2,d.y-=k.getCenterY()):f==mxConstants.DIRECTION_SOUTH?(d.x-=k.getCenterX(),d.y-=k.getCenterY()-
k.height/2):f==mxConstants.DIRECTION_WEST&&(d.x-=k.getCenterX()+k.width/2,d.y-=k.getCenterY()))))));return d};
Sidebar.prototype.createDragSource=function(b,c,f,d,a){function e(a,b){var d=null;mxClient.IS_IE&&!mxClient.IS_SVG?(mxClient.IS_IE6&&"CSS1Compat"!=document.compatMode?(d=document.createElement(mxClient.VML_PREFIX+":image"),d.setAttribute("src",a.src),d.style.borderStyle="none"):(d=document.createElement("div"),d.style.backgroundImage="url("+a.src+")",d.style.backgroundPosition="center",d.style.backgroundRepeat="no-repeat"),d.style.width=a.width+4+"px",d.style.height=a.height+4+"px",d.style.display=
mxClient.IS_QUIRKS?"inline":"inline-block"):(d=mxUtils.createImage(a.src),d.style.width=a.width+"px",d.style.height=a.height+"px");null!=b&&d.setAttribute("title",b);mxUtils.setOpacity(d,a==this.refreshTarget?30:20);d.style.position="absolute";d.style.cursor="crosshair";return d}function g(a,b,d,e){null!=e.parentNode&&(mxUtils.contains(d,a,b)?(mxUtils.setOpacity(e,100),I=e):mxUtils.setOpacity(e,e==B?30:20));return d}for(var k=this.editorUi,l=k.editor.graph,m=null,n=null,p=this,r=0;r<d.length&&!(null==
n&&this.editorUi.editor.graph.model.isVertex(d[r])?n=r:null==m&&this.editorUi.editor.graph.model.isEdge(d[r])&&null==this.editorUi.editor.graph.model.getTerminal(d[r],!0)&&(m=r),null!=n&&null!=m);r++);var s=mxUtils.makeDraggable(b,this.editorUi.editor.graph,mxUtils.bind(this,function(a,b,e,f,g){null!=this.updateThread&&window.clearTimeout(this.updateThread);if(null!=d&&null!=v&&I==B){var k=a.isCellSelected(v.cell)?a.getSelectionCells():[v.cell],k=this.updateShapes(a.model.isEdge(v.cell)?d[0]:d[n],
k);a.setSelectionCells(k)}else null!=d&&null!=I&&null!=t&&I!=B?(k=a.model.isEdge(t.cell)||null==m?n:m,this.dropAndConnect(t.cell,d,H,k)):c.apply(this,arguments);null!=this.editorUi.hoverIcons&&this.editorUi.hoverIcons.update(a.view.getState(a.getSelectionCell()))}),f,0,0,this.editorUi.editor.graph.autoscroll,!0,!0);this.editorUi.editor.graph.addListener(mxEvent.ESCAPE,function(a,b){s.isActive()&&s.reset()});var q=s.mouseDown;s.mouseDown=function(a){!mxEvent.isPopupTrigger(a)&&!mxEvent.isMultiTouchEvent(a)&&
(l.stopEditing(),q.apply(this,arguments))};var t=null,u=null,v=null,z=!1,y=e(this.triangleUp,mxResources.get("connect")),x=e(this.triangleRight,mxResources.get("connect")),D=e(this.triangleDown,mxResources.get("connect")),A=e(this.triangleLeft,mxResources.get("connect")),B=e(this.refreshTarget,mxResources.get("replace")),E=null,F=e(this.roundDrop),G=e(this.roundDrop),H=mxConstants.DIRECTION_NORTH,I=null,L=s.createPreviewElement;s.createPreviewElement=function(a){var b=L.apply(this,arguments);mxClient.IS_SVG&&
(b.style.pointerEvents="none");this.previewElementWidth=b.style.width;this.previewElementHeight=b.style.height;return b};var O=s.dragEnter;s.dragEnter=function(a,b){null!=k.hoverIcons&&k.hoverIcons.setDisplay("none");O.apply(this,arguments)};var S=s.dragExit;s.dragExit=function(a,b){null!=k.hoverIcons&&k.hoverIcons.setDisplay("");S.apply(this,arguments)};s.dragOver=function(b,e){mxDragSource.prototype.dragOver.apply(this,arguments);null!=this.currentGuide&&null!=I&&this.currentGuide.hide();if(null!=
this.previewElement){var c=b.view;if(null!=v&&I==B)this.previewElement.style.display=b.model.isEdge(v.cell)?"none":"",this.previewElement.style.left=v.x+"px",this.previewElement.style.top=v.y+"px",this.previewElement.style.width=v.width+"px",this.previewElement.style.height=v.height+"px";else if(null!=t&&null!=I){var f=b.model.isEdge(t.cell)||null==m?n:m,g=p.getDropAndConnectGeometry(t.cell,d[f],H,d),k=!b.model.isEdge(t.cell)?b.getCellGeometry(t.cell):null,l=b.getCellGeometry(d[f]),q=b.model.getParent(t.cell),
u=c.translate.x*c.scale,r=c.translate.y*c.scale;null!=k&&!k.relative&&b.model.isVertex(q)&&(r=c.getState(q),u=r.x,r=r.y);k=l.x;l=l.y;b.model.isEdge(d[f])&&(l=k=0);this.previewElement.style.left=(g.x-k)*c.scale+u+"px";this.previewElement.style.top=(g.y-l)*c.scale+r+"px";1==d.length&&(this.previewElement.style.width=g.width*c.scale+"px",this.previewElement.style.height=g.height*c.scale+"px");this.previewElement.style.display=""}else null!=s.currentHighlight.state&&b.model.isEdge(s.currentHighlight.state.cell)?
(this.previewElement.style.left=Math.round(parseInt(this.previewElement.style.left)-a.width*c.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)-a.height*c.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="")}};var W=(new Date).getTime(),Q=0,C=null,N=this.editorUi.editor.graph.getCellStyle(d[0]);s.getDropTarget=mxUtils.bind(this,function(a,
b,e,c){var f=!mxEvent.isAltDown(c)&&null!=d?a.getCellAt(b,e):null;if(null!=f&&!this.graph.isCellConnectable(f)){var k=this.graph.getModel().getParent(f);this.graph.getModel().isVertex(k)&&this.graph.isCellConnectable(k)&&(f=k)}a.isCellLocked(f)&&(f=null);var l=a.view.getState(f),k=I=null;C!=l?(C=l,W=(new Date).getTime(),Q=0,null!=this.updateThread&&window.clearTimeout(this.updateThread),null!=l&&(this.updateThread=window.setTimeout(function(){null==I&&(C=l,s.getDropTarget(a,b,e,c))},this.dropTargetDelay+
10))):Q=(new Date).getTime()-W;if(2500>Q&&null!=l&&!mxEvent.isShiftDown(c)&&(mxUtils.getValue(l.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(N,mxConstants.STYLE_SHAPE)&&mxUtils.getValue(l.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||"image"==mxUtils.getValue(N,mxConstants.STYLE_SHAPE)||1500<Q||a.model.isEdge(l.cell))&&Q>this.dropTargetDelay&&(a.model.isVertex(l.cell)&&null!=n||a.model.isEdge(l.cell)&&a.model.isEdge(d[0]))){v=l;var m=a.model.isEdge(l.cell)?a.view.getPoint(l):
new mxPoint(l.getCenterX(),l.getCenterY()),m=new mxRectangle(m.x-this.refreshTarget.width/2,m.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height);B.style.left=Math.floor(m.x)+"px";B.style.top=Math.floor(m.y)+"px";null==E&&(a.container.appendChild(B),E=B.parentNode);g(b,e,m,B)}else null==v||!mxUtils.contains(v,b,e)||1500<Q&&!mxEvent.isShiftDown(c)?(v=null,null!=E&&(B.parentNode.removeChild(B),E=null)):null!=v&&null!=E&&(m=a.model.isEdge(v.cell)?a.view.getPoint(v):new mxPoint(v.getCenterX(),
v.getCenterY()),m=new mxRectangle(m.x-this.refreshTarget.width/2,m.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height),g(b,e,m,B));if(z&&null!=t&&!mxEvent.isAltDown(c)&&null==I){k=mxRectangle.fromRectangle(t);if(a.model.isEdge(t.cell)){var q=t.absolutePoints;null!=F.parentNode&&(m=q[0],k.add(g(b,e,new mxRectangle(m.x-this.roundDrop.width/2,m.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),F)));null!=G.parentNode&&(q=q[q.length-1],k.add(g(b,e,new mxRectangle(q.x-
this.roundDrop.width/2,q.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),G)))}else m=mxRectangle.fromRectangle(t),null!=t.shape&&null!=t.shape.boundingBox&&(m=mxRectangle.fromRectangle(t.shape.boundingBox)),m.grow(this.graph.tolerance),m.grow(HoverIcons.prototype.arrowSpacing),q=this.graph.selectionCellsHandler.getHandler(t.cell),null!=q&&(m.x-=q.horizontalOffset/2,m.y-=q.verticalOffset/2,m.width+=q.horizontalOffset,m.height+=q.verticalOffset,null!=q.rotationShape&&null!=q.rotationShape.node&&
"hidden"!=q.rotationShape.node.style.visibility&&("none"!=q.rotationShape.node.style.display&&null!=q.rotationShape.boundingBox)&&m.add(q.rotationShape.boundingBox)),k.add(g(b,e,new mxRectangle(t.getCenterX()-this.triangleUp.width/2,m.y-this.triangleUp.height,this.triangleUp.width,this.triangleUp.height),y)),k.add(g(b,e,new mxRectangle(m.x+m.width,t.getCenterY()-this.triangleRight.height/2,this.triangleRight.width,this.triangleRight.height),x)),k.add(g(b,e,new mxRectangle(t.getCenterX()-this.triangleDown.width/
2,m.y+m.height,this.triangleDown.width,this.triangleDown.height),D)),k.add(g(b,e,new mxRectangle(m.x-this.triangleLeft.width,t.getCenterY()-this.triangleLeft.height/2,this.triangleLeft.width,this.triangleLeft.height),A));null!=k&&k.grow(10)}H=mxConstants.DIRECTION_NORTH;I==x?H=mxConstants.DIRECTION_EAST:I==D||I==G?H=mxConstants.DIRECTION_SOUTH:I==A&&(H=mxConstants.DIRECTION_WEST);null!=v&&I==B&&(l=v);m=(null==n||a.isCellConnectable(d[n]))&&(a.model.isEdge(f)&&null!=n||a.model.isVertex(f)&&a.isCellConnectable(f));
if(null!=t&&5E3<=Q||t!=l&&(null==k||!mxUtils.contains(k,b,e)||500<Q&&null==I&&m))if(z=!1,t=5E3>Q&&Q>this.dropTargetDelay||a.model.isEdge(f)?l:null,null!=t&&m){k=[F,G,y,x,D,A];for(m=0;m<k.length;m++)null!=k[m].parentNode&&k[m].parentNode.removeChild(k[m]);a.model.isEdge(f)?(q=l.absolutePoints,null!=q&&(m=q[0],q=q[q.length-1],k=a.tolerance,new mxRectangle(b-k,e-k,2*k,2*k),F.style.left=Math.floor(m.x-this.roundDrop.width/2)+"px",F.style.top=Math.floor(m.y-this.roundDrop.height/2)+"px",G.style.left=Math.floor(q.x-
this.roundDrop.width/2)+"px",G.style.top=Math.floor(q.y-this.roundDrop.height/2)+"px",null==a.model.getTerminal(f,!0)&&a.container.appendChild(F),null==a.model.getTerminal(f,!1)&&a.container.appendChild(G))):(m=mxRectangle.fromRectangle(l),null!=l.shape&&null!=l.shape.boundingBox&&(m=mxRectangle.fromRectangle(l.shape.boundingBox)),m.grow(this.graph.tolerance),m.grow(HoverIcons.prototype.arrowSpacing),q=this.graph.selectionCellsHandler.getHandler(l.cell),null!=q&&(m.x-=q.horizontalOffset/2,m.y-=q.verticalOffset/
2,m.width+=q.horizontalOffset,m.height+=q.verticalOffset,null!=q.rotationShape&&null!=q.rotationShape.node&&"hidden"!=q.rotationShape.node.style.visibility&&("none"!=q.rotationShape.node.style.display&&null!=q.rotationShape.boundingBox)&&m.add(q.rotationShape.boundingBox)),y.style.left=Math.floor(l.getCenterX()-this.triangleUp.width/2)+"px",y.style.top=Math.floor(m.y-this.triangleUp.height)+"px",x.style.left=Math.floor(m.x+m.width)+"px",x.style.top=Math.floor(l.getCenterY()-this.triangleRight.height/
2)+"px",D.style.left=y.style.left,D.style.top=Math.floor(m.y+m.height)+"px",A.style.left=Math.floor(m.x-this.triangleLeft.width)+"px",A.style.top=x.style.top,"eastwest"!=l.style.portConstraint&&(a.container.appendChild(y),a.container.appendChild(D)),a.container.appendChild(x),a.container.appendChild(A));null!=l&&(u=a.selectionCellsHandler.getHandler(l.cell),null!=u&&null!=u.setHandlesVisible&&u.setHandlesVisible(!1));z=!0}else{k=[F,G,y,x,D,A];for(m=0;m<k.length;m++)null!=k[m].parentNode&&k[m].parentNode.removeChild(k[m])}!z&&
null!=u&&u.setHandlesVisible(!0);f=(!mxEvent.isAltDown(c)||mxEvent.isShiftDown(c))&&!(null!=v&&I==B)?mxDragSource.prototype.getDropTarget.apply(this,arguments):null;k=a.getModel();if(null!=f&&(null!=I||!a.isSplitTarget(f,d,c))){for(;null!=f&&!a.isValidDropTarget(f,d,c)&&k.isVertex(k.getParent(f));)f=k.getParent(f);if(a.view.currentRoot==f||!a.isValidRoot(f)&&0==a.getModel().getChildCount(f)||a.isCellLocked(f)||k.isEdge(f))f=null}return f});s.stopDrag=function(){mxDragSource.prototype.stopDrag.apply(this,
arguments);for(var a=[F,G,B,y,x,D,A],b=0;b<a.length;b++)null!=a[b].parentNode&&a[b].parentNode.removeChild(a[b]);null!=t&&null!=u&&u.reset();I=E=v=t=u=null};return s};
Sidebar.prototype.itemClicked=function(b,c,f,d){d=this.editorUi.editor.graph;if(mxEvent.isAltDown(f)){if(1==d.getSelectionCount()&&d.model.isVertex(d.getSelectionCell())){c=null;for(var a=0;a<b.length&&null==c;a++)d.model.isVertex(b[a])&&(c=a);null!=c&&(this.dropAndConnect(d.getSelectionCell(),b,mxEvent.isMetaDown(f)||mxEvent.isControlDown(f)?mxEvent.isShiftDown(f)?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH:mxEvent.isShiftDown(f)?mxConstants.DIRECTION_EAST:mxConstants.DIRECTION_SOUTH,
c),d.scrollCellToVisible(d.getSelectionCell()))}}else mxEvent.isShiftDown(f)?d.isSelectionEmpty()||(this.updateShapes(b[0],d.getSelectionCells()),d.scrollCellToVisible(d.getSelectionCell())):(b=d.getInsertPoint(),c.drop(d,f,null,b.x,b.y),null!=this.editorUi.hoverIcons&&mxEvent.isTouchEvent(f)&&this.editorUi.hoverIcons.update(d.view.getState(d.getSelectionCell())))};
Sidebar.prototype.addClickHandler=function(b,c,f){var d=this.editorUi.editor.graph,a=c.mouseUp,e=null;mxEvent.addGestureListeners(b,function(a){e=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a))});c.mouseUp=mxUtils.bind(this,function(g){if(!mxEvent.isPopupTrigger(g)&&null==this.currentGraph&&null!=e){var k=d.tolerance;Math.abs(e.x-mxEvent.getClientX(g))<=k&&Math.abs(e.y-mxEvent.getClientY(g))<=k&&this.itemClicked(f,c,g,b)}a.apply(c,arguments);e=null;this.currentElt=b})};
Sidebar.prototype.createVertexTemplateEntry=function(b,c,f,d,a,e,g,k){k=null!=k&&0<k.length?k:a.toLowerCase();return this.addEntry(k,mxUtils.bind(this,function(){return this.createVertexTemplate(b,c,f,d,a,e,g)}))};Sidebar.prototype.createVertexTemplate=function(b,c,f,d,a,e,g,k){b=[new mxCell(null!=d?d:"",new mxGeometry(0,0,c,f),b)];b[0].vertex=!0;return this.createVertexTemplateFromCells(b,c,f,a,e,g,k)};
Sidebar.prototype.createVertexTemplateFromCells=function(b,c,f,d,a,e,g){return this.createItem(b,d,a,e,c,f,g)};Sidebar.prototype.createEdgeTemplateEntry=function(b,c,f,d,a,e,g,k){g=null!=g&&0<g.length?g:a.toLowerCase();return this.addEntry(g,mxUtils.bind(this,function(){return this.createEdgeTemplate(b,c,f,d,a,e,k)}))};
Sidebar.prototype.createEdgeTemplate=function(b,c,f,d,a,e,g){b=new mxCell(null!=d?d:"",new mxGeometry(0,0,c,f),b);b.geometry.setTerminalPoint(new mxPoint(0,f),!0);b.geometry.setTerminalPoint(new mxPoint(c,0),!1);b.geometry.relative=!0;b.edge=!0;return this.createEdgeTemplateFromCells([b],c,f,a,e,g)};Sidebar.prototype.createEdgeTemplateFromCells=function(b,c,f,d,a,e){return this.createItem(b,d,a,!0,c,f,e)};
Sidebar.prototype.addPaletteFunctions=function(b,c,f,d){this.addPalette(b,c,f,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};
Sidebar.prototype.addPalette=function(b,c,f,d){c=this.createTitle(c);this.container.appendChild(c);var a=document.createElement("div");a.className="geSidebar";mxClient.IS_POINTER&&(a.style.touchAction="none");mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(b){mxEvent.getSource(b)==a?a.setAttribute("title",mxResources.get("sidebarTooltip")):a.removeAttribute("title")}));f?(d(a),d=null):a.style.display="none";this.addFoldingHandler(c,a,d);f=document.createElement("div");f.appendChild(a);
this.container.appendChild(f);null!=b&&(this.palettes[b]=[c,f]);return a};
Sidebar.prototype.addFoldingHandler=function(b,c,f){var d=!1;if(!mxClient.IS_IE||8<=document.documentMode)b.style.backgroundImage="none"==c.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";b.style.backgroundRepeat="no-repeat";b.style.backgroundPosition="0% 50%";mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){if("none"==c.style.display){if(d)c.style.display="block";else if(d=!0,null!=f){b.style.cursor="wait";var e=b.innerHTML;b.innerHTML=mxResources.get("loading")+
"...";window.setTimeout(function(){var a=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;f(c);mxClient.NO_FO=a;c.style.display="block";b.style.cursor="";b.innerHTML=e},0)}else c.style.display="block";b.style.backgroundImage="url('"+this.expandedImage+"')"}else b.style.backgroundImage="url('"+this.collapsedImage+"')",c.style.display="none";mxEvent.consume(a)}))};
Sidebar.prototype.removePalette=function(b){var c=this.palettes[b];if(null!=c){this.palettes[b]=null;for(b=0;b<c.length;b++)this.container.removeChild(c[b]);return!0}return!1};
Sidebar.prototype.addImagePalette=function(b,c,f,d,a,e,g){for(var k=[],l=0;l<a.length;l++)mxUtils.bind(this,function(a,b,e){if(null==e){e=a.lastIndexOf("/");var c=a.lastIndexOf(".");e=a.substring(0<=e?e+1:0,0<=c?c:a.length).replace(/[-_]/g," ")}k.push(this.createVertexTemplateEntry("image;html\x3d1;labelBackgroundColor\x3d#ffffff;image\x3d"+f+a+d,this.defaultImageWidth,this.defaultImageHeight,"",b,null!=b,null,this.filterTags(e)))})(a[l],null!=e?e[l]:null,null!=g?g[a[l]]:null);this.addPaletteFunctions(b,
c,!1,k)};Sidebar.prototype.getTagsForStencil=function(b,c,f){b=b.split(".");for(var d=1;d<b.length;d++)b[d]=b[d].replace(/_/g," ");b.push(c.replace(/_/g," "));null!=f&&b.push(f);return b.slice(1,b.length)};
Sidebar.prototype.addStencilPalette=function(b,c,f,d,a,e,g,k){g=null!=g?g:1;if(this.addStencilsToIndex){var l=[];mxStencilRegistry.loadStencilSet(f,mxUtils.bind(this,function(b,e,c,f,s){if(null==a||0>mxUtils.indexOf(a,e)){c=this.getTagsForStencil(b,e);var q=null!=k?k[e]:null;null!=q&&c.push(q);l.push(this.createVertexTemplateEntry("shape\x3d"+b+e.toLowerCase()+d,Math.round(f*g),Math.round(s*g),"",e.replace(/_/g," "),null,null,this.filterTags(c.join(" "))))}}),!0,!0);this.addPaletteFunctions(b,c,!1,
l)}else this.addPalette(b,c,!1,mxUtils.bind(this,function(b){null==d&&(d="");null!=e&&e.call(this,b);mxStencilRegistry.loadStencilSet(f,mxUtils.bind(this,function(e,c,f,k,l){(null==a||0>mxUtils.indexOf(a,c))&&b.appendChild(this.createVertexTemplate("shape\x3d"+e+c.toLowerCase()+d,Math.round(k*g),Math.round(l*g),"",c.replace(/_/g," "),!0))}),!0)}))};
Sidebar.prototype.destroy=function(){null!=this.graph&&(null!=this.graph.container&&null!=this.graph.container.parentNode&&this.graph.container.parentNode.removeChild(this.graph.container),this.graph.destroy(),this.graph=null);null!=this.pointerUpHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler),this.pointerUpHandler=null);null!=this.pointerDownHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler),
this.pointerDownHandler=null);null!=this.pointerMoveHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),this.pointerMoveHandler=null);null!=this.pointerOutHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler),this.pointerOutHandler=null)};"undefined"!==typeof html4&&(html4.ATTRIBS["a::target"]=0);mxConstants.SHADOW_OPACITY=0.25;mxConstants.SHADOWCOLOR="#000000";
mxConstants.VML_SHADOWCOLOR="#d0d0d0";mxGraph.prototype.pageBreakColor="#c0c0c0";mxGraph.prototype.pageScale=1;(function(){try{if(null!=navigator&&null!=navigator.language){var b=navigator.language.toLowerCase();mxGraph.prototype.pageFormat="en-us"===b||"en-ca"===b||"es-mx"===b?mxConstants.PAGE_FORMAT_LETTER_PORTRAIT:mxConstants.PAGE_FORMAT_A4_PORTRAIT}}catch(c){}})();mxText.prototype.baseSpacingTop=5;mxText.prototype.baseSpacingBottom=1;mxGraphModel.prototype.ignoreRelativeEdgeParent=!1;
mxGraphView.prototype.gridImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhCgAKAJEAAAAAAP///8zMzP///yH5BAEAAAMALAAAAAAKAAoAAAIJ1I6py+0Po2wFADs\x3d":IMAGE_PATH+"/grid.gif";mxGraphView.prototype.gridSteps=4;mxGraphView.prototype.minGridSize=4;mxGraphView.prototype.gridColor="#e0e0e0";mxSvgCanvas2D.prototype.foAltText="[Not supported by viewer]";
Graph=function(b,c,f,d,a){mxGraph.call(this,b,c,f,d);this.themes=a||this.defaultThemes;b=this.baseUrl;c=b.indexOf("//");this.domainPathUrl=this.domainUrl="";0<c&&(c=b.indexOf("/",c+2),0<c&&(this.domainUrl=b.substring(0,c)),c=b.lastIndexOf("/"),0<c&&(this.domainPathUrl=b.substring(0,c+1)));this.isHtmlLabel=function(a){var b=this.view.getState(a);a=null!=b?b.style:this.getCellStyle(a);return"1"==a.html||"wrap"==a[mxConstants.STYLE_WHITE_SPACE]};if(this.edgeMode){var e=null,g=null,k=null,l=null,m=!1;
this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,b){if("mouseDown"==b.getProperty("eventName")&&this.isEnabled()){var d=b.getProperty("event");if(!mxEvent.isControlDown(d.getEvent())&&!mxEvent.isShiftDown(d.getEvent())){var c=d.getState();null!=c&&this.model.isEdge(c.cell)&&(e=new mxPoint(d.getGraphX(),d.getGraphY()),m=this.isCellSelected(c.cell),k=c,g=d,null!=c.text&&null!=c.text.boundingBox&&mxUtils.contains(c.text.boundingBox,d.getGraphX(),d.getGraphY())?l=mxEvent.LABEL_HANDLE:
(c=this.selectionCellsHandler.getHandler(c.cell),null!=c&&null!=c.bends&&0<c.bends.length&&(l=c.getHandleForEvent(d))))}}}));this.addMouseListener({mouseDown:function(a,b){},mouseMove:mxUtils.bind(this,function(a,b){if(this.isEnabled()&&!this.panningHandler.isActive()&&!mxEvent.isControlDown(b.getEvent())&&!mxEvent.isShiftDown(b.getEvent())&&!mxEvent.isAltDown(b.getEvent())){var d=this.tolerance;if(null!=e&&null!=k&&null!=g){var c=k;if(Math.abs(e.x-b.getGraphX())>d*this.view.scale||Math.abs(e.y-b.getGraphY())>
d*this.view.scale){this.isCellSelected(c.cell)||this.setSelectionCell(c.cell);var f=this.selectionCellsHandler.getHandler(c.cell);if(null!=f&&null!=f.bends&&0<f.bends.length){var n=f.getHandleForEvent(g),q=this.view.getEdgeStyle(c),d=q==mxEdgeStyle.EntityRelation;!m&&l==mxEvent.LABEL_HANDLE&&(n=l);if(!d||0==n||n==f.bends.length-1||n==mxEvent.LABEL_HANDLE){if(n==mxEvent.LABEL_HANDLE||0==n||null!=c.visibleSourceState||n==f.bends.length-1||null!=c.visibleTargetState){if(!d&&n!=mxEvent.LABEL_HANDLE){d=
c.absolutePoints;if(null!=d&&(null==q&&null==n||q==mxEdgeStyle.OrthConnector))n=l,null==n&&(n=new mxRectangle(e.x,e.y),n.grow(mxEdgeHandler.prototype.handleImage.width/2),mxUtils.contains(n,d[0].x,d[0].y)?n=0:mxUtils.contains(n,d[d.length-1].x,d[d.length-1].y)?n=f.bends.length-1:null!=q&&(2==d.length||3==d.length&&(0==Math.round(d[0].x-d[1].x)&&0==Math.round(d[1].x-d[2].x)||0==Math.round(d[0].y-d[1].y)&&0==Math.round(d[1].y-d[2].y)))?n=2:(n=mxUtils.findNearestSegment(c,e.x,e.y),n=null==q?mxEvent.VIRTUAL_HANDLE-
n:n+1));null==n&&(n=mxEvent.VIRTUAL_HANDLE)}f.start(b.getGraphX(),b.getGraphX(),n);l=e=g=k=null;m=!1;b.consume();this.graphHandler.reset()}}else if(d&&(null!=c.visibleSourceState||null!=c.visibleTargetState))this.graphHandler.reset(),b.consume()}}}else if(c=b.getState(),null!=c&&this.model.isEdge(c.cell)){f=null;d=c.absolutePoints;if(null!=d)if(n=new mxRectangle(b.getGraphX(),b.getGraphY()),n.grow(mxEdgeHandler.prototype.handleImage.width/2),null!=c.text&&null!=c.text.boundingBox&&mxUtils.contains(c.text.boundingBox,
b.getGraphX(),b.getGraphY()))f="move";else if(mxUtils.contains(n,d[0].x,d[0].y)||mxUtils.contains(n,d[d.length-1].x,d[d.length-1].y))f="pointer";else if(null!=c.visibleSourceState||null!=c.visibleTargetState)q=this.view.getEdgeStyle(c),f="crosshair",q!=mxEdgeStyle.EntityRelation&&this.isOrthogonal(c)&&(q=mxUtils.findNearestSegment(c,b.getGraphX(),b.getGraphY()),q<d.length-1&&0<=q&&(f=0==Math.round(d[q].x-d[q+1].x)?"col-resize":"row-resize"));null!=f&&c.setCursor(f)}}}),mouseUp:mxUtils.bind(this,function(a,
b){l=e=g=k=null})})}this.cellRenderer.getLabelValue=function(a){var b=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);a.view.graph.isHtmlLabel(a.cell)&&(b=1!=a.style.html?mxUtils.htmlEntities(b,!1):a.view.graph.sanitizeHtml(b));return b};if("undefined"!==typeof mxVertexHandler){this.setConnectable(!0);this.setDropEnabled(!0);this.setPanning(!0);this.setTooltips(!0);this.setAllowLoops(!0);this.allowAutoPanning=!0;this.constrainChildren=this.resetEdgesOnConnect=!1;this.constrainRelativeChildren=
!0;this.graphHandler.scrollOnMove=!1;this.graphHandler.scaleGrid=!0;this.connectionHandler.setCreateTarget(!1);this.connectionHandler.insertBeforeSource=!0;this.connectionHandler.isValidSource=function(a,b){return!1};this.alternateEdgeStyle="vertical";null==d&&this.loadStylesheet();var n=this.graphHandler.getGuideStates;this.graphHandler.getGuideStates=function(){var a=n.apply(this,arguments);if(this.graph.pageVisible){for(var b=[],d=this.graph.pageFormat,e=this.graph.pageScale,c=d.width*e,d=d.height*
e,e=this.graph.view.translate,f=this.graph.view.scale,g=this.graph.getPageLayout(),k=0;k<g.width;k++)b.push(new mxRectangle(((g.x+k)*c+e.x)*f,(g.y*d+e.y)*f,c*f,d*f));for(k=0;k<g.height;k++)b.push(new mxRectangle((g.x*c+e.x)*f,((g.y+k)*d+e.y)*f,c*f,d*f));a=b.concat(a)}return a};mxDragSource.prototype.dragElementZIndex=mxPopupMenu.prototype.zIndex;mxGuide.prototype.getGuideColor=function(a,b){return null==a.cell?"#ffa500":mxConstants.GUIDE_COLOR};this.graphHandler.createPreviewShape=function(a){this.previewColor=
"#000000"==this.graph.background?"#ffffff":mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};this.graphHandler.getCells=function(a){for(var b=mxGraphHandler.prototype.getCells.apply(this,arguments),d=[],e=0;e<b.length;e++){var c=this.graph.view.getState(b[e]),c=null!=c?c.style:this.graph.getCellStyle(b[e]);"1"==mxUtils.getValue(c,"part","0")?(c=this.graph.model.getParent(b[e]),this.graph.model.isVertex(c)&&0>mxUtils.indexOf(b,c)&&d.push(c)):
d.push(b[e])}return d};this.connectionHandler.createTargetVertex=function(a,b){var d=this.graph.view.getState(b),d=null!=d?d.style:this.graph.getCellStyle(b);mxUtils.getValue(d,"part",!1)&&(d=this.graph.model.getParent(b),this.graph.model.isVertex(d)&&(b=d));return mxConnectionHandler.prototype.createTargetVertex.apply(this,arguments)};var p=new mxRubberband(this);this.getRubberband=function(){return p};var r=(new Date).getTime(),s=0,q=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=
function(){var a=this.currentState;q.apply(this,arguments);a!=this.currentState?(r=(new Date).getTime(),s=0):s=(new Date).getTime()-r};var t=this.connectionHandler.isOutlineConnectEvent;this.connectionHandler.isOutlineConnectEvent=function(a){return null!=this.currentState&&a.getState()==this.currentState&&2E3<s||(null==this.currentState||"0"!=mxUtils.getValue(this.currentState.style,"outlineConnect","1"))&&t.apply(this,arguments)};var u=this.isToggleEvent;this.isToggleEvent=function(a){return u.apply(this,
arguments)||mxEvent.isShiftDown(a)};var v=p.isForceRubberbandEvent;p.isForceRubberbandEvent=function(a){return v.apply(this,arguments)||mxUtils.hasScrollbars(this.graph.container)&&mxClient.IS_FF&&mxClient.IS_WIN&&null==a.getState()&&mxEvent.isTouchEvent(a.getEvent())};var z=null;this.panningHandler.addListener(mxEvent.PAN_START,mxUtils.bind(this,function(){this.isEnabled()&&(z=this.container.style.cursor,this.container.style.cursor="move")}));this.panningHandler.addListener(mxEvent.PAN_END,mxUtils.bind(this,
function(){this.isEnabled()&&(this.container.style.cursor=z)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(a){return mxEvent.isMouseEvent(a.getEvent())};var y=this.click;this.click=function(a){if(!this.isEnabled()&&!a.isConsumed()){var b=a.getCell();null!=b&&(b=this.getLinkForCell(b),null!=b&&window.open(b))}else return y.apply(this,arguments)};var x=this.getCursorForCell;this.getCursorForCell=function(a){if(this.isEnabled())return x.apply(this,arguments);if(null!=
this.getLinkForCell(a))return"pointer"};this.selectRegion=function(a,b){var d=this.getAllCells(a.x,a.y,a.width,a.height);this.selectCellsForEvent(d,b);return d};this.getAllCells=function(a,b,d,e,c,f){f=null!=f?f:[];if(0<d||0<e){var g=this.getModel(),k=a+d,l=b+e;null==c&&(c=this.getCurrentRoot(),null==c&&(c=g.getRoot()));if(null!=c)for(var m=g.getChildCount(c),n=0;n<m;n++){var q=g.getChildAt(c,n),t=this.view.getState(q);if(null!=t&&this.isCellVisible(q)&&"1"!=mxUtils.getValue(t.style,"locked","0")){var p=
mxUtils.getValue(t.style,mxConstants.STYLE_ROTATION)||0;0!=p&&(t=mxUtils.getBoundingBox(t,p));(g.isEdge(q)||g.isVertex(q))&&t.x>=a&&t.y+t.height<=l&&(t.y>=b&&t.x+t.width<=k)&&f.push(q);this.getAllCells(a,b,d,e,q,f)}}}return f};var D=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(a,b,d){return this.graph.isCellSelected(a)?!1:D.apply(this,arguments)};this.isCellLocked=function(a){for(a=this.view.getState(a);null!=a;){if("1"==mxUtils.getValue(a.style,
"locked","0"))return!0;a=this.view.getState(this.model.getParent(a.cell))}return!1};var A=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,b){if("mouseDown"==b.getProperty("eventName")){var d=b.getProperty("event").getState();A=null!=d&&!this.isSelectionEmpty()&&!this.isCellSelected(d.cell)?this.getSelectionCells():null}}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(a,b){if(!mxEvent.isMultiTouchEvent(b)){var d=b.getProperty("event"),e=b.getProperty("cell");
null==e?(d=mxUtils.convertPoint(this.container,mxEvent.getClientX(d),mxEvent.getClientY(d)),p.start(d.x,d.y)):null!=A?this.addSelectionCells(A):1<this.getSelectionCount()&&this.isCellSelected(e)&&this.removeSelectionCell(e);A=null;b.consume()}}));this.connectionHandler.selectCells=function(a,b){this.graph.setSelectionCell(b||a)};this.connectionHandler.constraintHandler.isStateIgnored=function(a,b){return b&&a.view.graph.isCellSelected(a.cell)};this.selectionModel.addListener(mxEvent.CHANGE,mxUtils.bind(this,
function(){var a=this.connectionHandler.constraintHandler;null!=a.currentFocus&&a.isStateIgnored(a.currentFocus,!0)&&(a.currentFocus=null,a.constraints=null,a.destroyIcons());a.destroyFocusHighlight()}));Graph.touchStyle&&this.initTouch();var B=this.updateMouseEvent;this.updateMouseEvent=function(a){a=B.apply(this,arguments);this.isCellLocked(a.getCell())&&(a.state=null);return a}}};
Graph.touchStyle=mxClient.IS_TOUCH||mxClient.IS_FF&&mxClient.IS_WIN||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints||null==window.urlParams||"1"==urlParams.touch;Graph.fileSupport=null!=window.File&&null!=window.FileReader&&null!=window.FileList&&(null==window.urlParams||"0"!=urlParams.filesupport);mxUtils.extend(Graph,mxGraph);Graph.prototype.minFitScale=null;Graph.prototype.maxFitScale=null;Graph.prototype.linkTarget="_blank";Graph.prototype.defaultScrollbars=!mxClient.IS_IOS;
Graph.prototype.defaultPageVisible=!0;Graph.prototype.lightbox=!1;Graph.prototype.defaultGraphBackground="#ffffff";Graph.prototype.transparentBackground=!0;Graph.prototype.defaultEdgeLength=80;Graph.prototype.edgeMode=!1;Graph.prototype.connectionArrowsEnabled=!0;Graph.prototype.placeholderPattern=RegExp("%(date{.*}|[^%^{^}]+)%","g");Graph.prototype.defaultThemeName="default";Graph.prototype.defaultThemes={};Graph.prototype.baseUrl=window.location!=window.parent.location?document.referrer:document.location.toString();
Graph.prototype.init=function(b){mxGraph.prototype.init.apply(this,arguments);this.initLayoutManager()};
Graph.prototype.initLayoutManager=function(){this.layoutManager=new mxLayoutManager(this);this.layoutManager.getLayout=function(b){var c=this.graph.view.getState(b);b=null!=c?c.style:this.graph.getCellStyle(b);return"stackLayout"==b.childLayout?(c=new mxStackLayout(this.graph,!0),c.resizeParentMax=!0,c.horizontal="1"==mxUtils.getValue(b,"horizontalStack","1"),c.resizeParent="1"==mxUtils.getValue(b,"resizeParent","1"),c.resizeLast="1"==mxUtils.getValue(b,"resizeLast","0"),c.marginLeft=b.marginLeft||
0,c.marginRight=b.marginRight||0,c.marginTop=b.marginTop||0,c.marginBottom=b.marginBottom||0,c.fill=!0,c):"treeLayout"==b.childLayout?(c=new mxCompactTreeLayout(this.graph),c.horizontal="1"==mxUtils.getValue(b,"horizontalTree","1"),c.resizeParent="1"==mxUtils.getValue(b,"resizeParent","1"),c.groupPadding=mxUtils.getValue(b,"parentPadding",20),c.levelDistance=mxUtils.getValue(b,"treeLevelDistance",30),c.maintainParentLocation=!0,c.edgeRouting=!1,c.resetEdges=!1,c):"flowLayout"==b.childLayout?(c=new mxHierarchicalLayout(this.graph,
mxUtils.getValue(b,"flowOrientation",mxConstants.DIRECTION_EAST)),c.resizeParent="1"==mxUtils.getValue(b,"resizeParent","1"),c.parentBorder=mxUtils.getValue(b,"parentPadding",20),c.maintainParentLocation=!0,c.intraCellSpacing=mxUtils.getValue(b,"intraCellSpacing",mxHierarchicalLayout.prototype.intraCellSpacing),c.interRankCellSpacing=mxUtils.getValue(b,"interRankCellSpacing",mxHierarchicalLayout.prototype.interRankCellSpacing),c.interHierarchySpacing=mxUtils.getValue(b,"interHierarchySpacing",mxHierarchicalLayout.prototype.interHierarchySpacing),
c.parallelEdgeSpacing=mxUtils.getValue(b,"parallelEdgeSpacing",mxHierarchicalLayout.prototype.parallelEdgeSpacing),c):null}};Graph.prototype.sanitizeHtml=function(b){return html_sanitize(b,function(b){return null!=b&&"javascript:"!==b.toString().toLowerCase().substring(0,11)?b:null},function(b){return b})};Graph.prototype.updatePlaceholders=function(){var b=!1,c;for(c in this.model.cells){var f=this.model.cells[c];this.isReplacePlaceholders(f)&&(this.view.invalidate(f,!1,!1),b=!0)}b&&this.view.validate()};
Graph.prototype.isReplacePlaceholders=function(b){return null!=b.value&&"object"==typeof b.value&&"1"==b.value.getAttribute("placeholders")};Graph.prototype.isIgnoreTerminalEvent=function(b){return mxEvent.isShiftDown(b)&&mxEvent.isControlDown(b)};Graph.prototype.isSplitTarget=function(b,c,f){return!mxEvent.isShiftDown(f)&&mxGraph.prototype.isSplitTarget.apply(this,arguments)};
Graph.prototype.getLabel=function(b){var c=mxGraph.prototype.getLabel.apply(this,arguments);null!=c&&this.isReplacePlaceholders(b)&&null==b.getAttribute("placeholder")&&(c=this.replacePlaceholders(b,c));return c};Graph.prototype.isLabelMovable=function(b){var c=this.view.getState(b),c=null!=c?c.style:this.getCellStyle(b);return!this.isCellLocked(b)&&(this.model.isEdge(b)&&this.edgeLabelsMovable||this.model.isVertex(b)&&(this.vertexLabelsMovable||"1"==mxUtils.getValue(c,"labelMovable","0")))};
mxGraph.prototype.setGridSize=function(b){this.gridSize=b;this.fireEvent(new mxEventObject("gridSizeChanged"))};Graph.prototype.getGlobalVariable=function(b){var c=null;"date"==b?c=(new Date).toLocaleDateString():"time"==b?c=(new Date).toLocaleTimeString():"timestamp"==b?c=(new Date).toLocaleString():"date{"==b.substring(0,5)&&(b=b.substring(5,b.length-1),c=this.formatDate(new Date,b));return c};
Graph.prototype.formatDate=function(b,c,f){null==this.dateFormatCache&&(this.dateFormatCache={i18n:{dayNames:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),monthNames:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" ")},masks:{"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",
shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"}});var d=this.dateFormatCache,a=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,e=/[^-+\dA-Z]/g,g=function(a,b){a=String(a);for(b=b||2;a.length<b;)a="0"+a;return a};1==arguments.length&&"[object String]"==Object.prototype.toString.call(b)&&
!/\d/.test(b)&&(c=b,b=void 0);b=b?new Date(b):new Date;if(isNaN(b))throw SyntaxError("invalid date");c=String(d.masks[c]||c||d.masks["default"]);"UTC:"==c.slice(0,4)&&(c=c.slice(4),f=!0);var k=f?"getUTC":"get",l=b[k+"Date"](),m=b[k+"Day"](),n=b[k+"Month"](),p=b[k+"FullYear"](),r=b[k+"Hours"](),s=b[k+"Minutes"](),q=b[k+"Seconds"](),k=b[k+"Milliseconds"](),t=f?0:b.getTimezoneOffset(),u={d:l,dd:g(l),ddd:d.i18n.dayNames[m],dddd:d.i18n.dayNames[m+7],m:n+1,mm:g(n+1),mmm:d.i18n.monthNames[n],mmmm:d.i18n.monthNames[n+
12],yy:String(p).slice(2),yyyy:p,h:r%12||12,hh:g(r%12||12),H:r,HH:g(r),M:s,MM:g(s),s:q,ss:g(q),l:g(k,3),L:g(99<k?Math.round(k/10):k),t:12>r?"a":"p",tt:12>r?"am":"pm",T:12>r?"A":"P",TT:12>r?"AM":"PM",Z:f?"UTC":(String(b).match(a)||[""]).pop().replace(e,""),o:(0<t?"-":"+")+g(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4),S:["th","st","nd","rd"][3<l%10?0:(10!=l%100-l%10)*l%10]};return c.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(a){return a in u?u[a]:a.slice(1,
a.length-1)})};
Graph.prototype.createLayersDialog=function(){var b=document.createElement("div");b.style.position="absolute";for(var c=this.getModel(),f=c.getChildCount(c.root),d=0;d<f;d++)(function(a){var d=document.createElement("div");d.style.overflow="hidden";d.style.textOverflow="ellipsis";d.style.padding="2px";d.style.whiteSpace="nowrap";var f=document.createElement("input");f.setAttribute("type","checkbox");c.isVisible(a)&&(f.setAttribute("checked","checked"),f.defaultChecked=!0);d.appendChild(f);var k=a.value||
mxResources.get("background")||"Background";d.setAttribute("title",k);mxUtils.write(d,k);b.appendChild(d);mxEvent.addListener(f,"click",function(){null!=f.getAttribute("checked")?f.removeAttribute("checked"):f.setAttribute("checked","checked");c.setVisible(a,f.checked)})})(c.getChildAt(c.root,d));return b};
Graph.prototype.replacePlaceholders=function(b,c){for(var f=[],d=0;match=this.placeholderPattern.exec(c);){var a=match[0];if(2<a.length&&"%label%"!=a&&"%tooltip%"!=a){var e=null;if(match.index>d&&"%"==c.charAt(match.index-1))e=a.substring(1);else{var g=a.substring(1,a.length-1);if(0>g.indexOf("{"))for(var k=b;null==e&&null!=k;)null!=k.value&&"object"==typeof k.value&&(e=k.value.getAttribute(g)),k=this.model.getParent(k);null==e&&(e=this.getGlobalVariable(g))}f.push(c.substring(d,match.index)+(e||
a));d=match.index+a.length}}f.push(c.substring(d));return f.join("")};Graph.prototype.selectCellsForConnectVertex=function(b,c,f){2==b.length&&this.model.isVertex(b[1])?(this.setSelectionCell(b[1]),null!=f&&(mxEvent.isTouchEvent(c)?f.update(f.getState(this.view.getState(b[1]))):f.reset()),this.scrollCellToVisible(b[1])):this.setSelectionCells(b)};
Graph.prototype.connectVertex=function(b,c,f,d,a){var e=b.geometry.relative?new mxPoint(b.parent.geometry.width*b.geometry.x,b.parent.geometry.height*b.geometry.y):new mxPoint(b.geometry.x,b.geometry.y);c==mxConstants.DIRECTION_NORTH?(e.x+=b.geometry.width/2,e.y-=f):c==mxConstants.DIRECTION_SOUTH?(e.x+=b.geometry.width/2,e.y+=b.geometry.height+f):(e.x=c==mxConstants.DIRECTION_WEST?e.x-f:e.x+(b.geometry.width+f),e.y+=b.geometry.height/2);f=this.view.getState(this.model.getParent(b));var g=this.view.scale,
k=this.view.translate,l=k.x*g,k=k.y*g;this.model.isVertex(f.cell)&&(l=f.x,k=f.y);this.model.isVertex(b.parent)&&b.geometry.relative&&(e.x+=b.parent.geometry.x,e.y+=b.parent.geometry.y);f=mxEvent.isControlDown(d)&&!a?null:this.getCellAt(l+e.x*g,k+e.y*g);this.model.isAncestor(f,b)&&(f=null);for(g=f;null!=g;){if(this.isCellLocked(g)){f=null;break}g=this.model.getParent(g)}null!=f&&(g=this.view.getState(b),l=this.view.getState(f),null!=g&&null!=l&&mxUtils.intersects(g,l)&&(f=null));if(a=!mxEvent.isShiftDown(d)||
a)c==mxConstants.DIRECTION_NORTH?e.y-=b.geometry.height/2:c==mxConstants.DIRECTION_SOUTH?e.y+=b.geometry.height/2:e.x=c==mxConstants.DIRECTION_WEST?e.x-b.geometry.width/2:e.x+b.geometry.width/2;null!=f&&!this.isCellConnectable(f)&&(g=this.getModel().getParent(f),this.getModel().isVertex(g)&&this.isCellConnectable(g)&&(f=g));if(f==b||this.model.isEdge(f)||!this.isCellConnectable(f))f=null;g=[];this.model.beginUpdate();try{l=f;if(null==l&&a){for(var k=b,m=this.getCellGeometry(b);null!=m&&m.relative;)k=
this.getModel().getParent(k),m=this.getCellGeometry(k);var n=this.view.getState(k),p=null!=n?n.style:this.getCellStyle(k);if(mxUtils.getValue(p,"part",!1)){var r=this.model.getParent(k);this.model.isVertex(r)&&(k=r)}l=this.duplicateCells([k],!1)[0];m=this.getCellGeometry(l);m.x=e.x-m.width/2;m.y=e.y-m.height/2}m=null;null!=this.layoutManager&&(m=this.layoutManager.getLayout(this.model.getParent(b)));var s=mxEvent.isControlDown(d)&&a||null==f&&null!=m&&m.constructor==mxStackLayout?null:this.insertEdge(this.model.getParent(b),
null,"",b,l,this.createCurrentEdgeStyle());if(null!=s&&this.connectionHandler.insertBeforeSource){var q=null;for(d=b;null!=d.parent&&null!=d.geometry&&d.geometry.relative&&d.parent!=s.parent;)d=this.model.getParent(d);null!=d&&null!=d.parent&&d.parent==s.parent&&(q=d.parent.getIndex(d),d.parent.insert(s,q))}null==f&&null!=l&&null!=m&&(null!=b.parent&&m.constructor==mxStackLayout&&c==mxConstants.DIRECTION_WEST)&&(q=b.parent.getIndex(b),b.parent.insert(l,q));null!=s&&g.push(s);null==f&&null!=l&&g.push(l);
null==l&&null!=s&&s.geometry.setTerminalPoint(e,!1);null!=s&&this.fireEvent(new mxEventObject("cellsInserted","cells",[s]))}finally{this.model.endUpdate()}return g};Graph.prototype.convertValueToString=function(b){return null!=b.value&&"object"==typeof b.value?this.isReplacePlaceholders(b)&&null!=b.getAttribute("placeholder")?this.getModel().getRoot().getAttribute(b.getAttribute("placeholder"))||"":b.value.getAttribute("label"):mxGraph.prototype.convertValueToString.apply(this,arguments)};
Graph.prototype.getLinkForCell=function(b){return null!=b.value&&"object"==typeof b.value?(b=b.value.getAttribute("link"),null!=b&&"javascript:"===b.toLowerCase().substring(0,11)&&(b=b.substring(11)),b):null};
Graph.prototype.getCellStyle=function(b){var c=mxGraph.prototype.getCellStyle.apply(this,arguments);if(null!=b&&null!=this.layoutManager){var f=this.model.getParent(b);this.model.isVertex(f)&&this.isCellCollapsed(b)&&(f=this.layoutManager.getLayout(f),null!=f&&f.constructor==mxStackLayout&&(c[mxConstants.STYLE_HORIZONTAL]=!f.horizontal))}return c};
Graph.prototype.updateAlternateBounds=function(b,c,f){if(null!=b&&null!=c&&null!=this.layoutManager&&null!=c.alternateBounds){var d=this.layoutManager.getLayout(this.model.getParent(b));null!=d&&d.constructor==mxStackLayout&&(d.horizontal?c.alternateBounds.height=0:c.alternateBounds.width=0)}mxGraph.prototype.updateAlternateBounds.apply(this,arguments)};Graph.prototype.isMoveCellsEvent=function(b){return mxEvent.isShiftDown(b)};
Graph.prototype.foldCells=function(b,c,f,d,a){c=null!=c?c:!1;null==f&&(f=this.getFoldableCells(this.getSelectionCells(),b));if(null!=f){this.model.beginUpdate();try{if(mxGraph.prototype.foldCells.apply(this,arguments),null!=this.layoutManager)for(var e=0;e<f.length;e++){var g=this.view.getState(f[e]),k=this.getCellGeometry(f[e]);if(null!=g&&null!=k){var l=Math.round(k.width-g.width/this.view.scale),m=Math.round(k.height-g.height/this.view.scale);if(0!=m||0!=l){var n=this.model.getParent(f[e]),p=this.layoutManager.getLayout(n);
null==p?null!=a&&this.isMoveCellsEvent(a)&&this.moveSiblings(g,n,l,m):(null==a||!mxEvent.isAltDown(a))&&p.constructor==mxStackLayout&&!p.resizeLast&&this.resizeParentStacks(n,p,l,m)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(f)}};
Graph.prototype.moveSiblings=function(b,c,f,d){this.model.beginUpdate();try{var a=this.getCellsBeyond(b.x,b.y,c,!0,!0);for(c=0;c<a.length;c++)if(a[c]!=b.cell){var e=this.view.getState(a[c]),g=this.getCellGeometry(a[c]);null!=e&&null!=g&&(g=g.clone(),g.translate(Math.round(f*Math.max(0,Math.min(1,(e.x-b.x)/b.width))),Math.round(d*Math.max(0,Math.min(1,(e.y-b.y)/b.height)))),this.model.setGeometry(a[c],g))}}finally{this.model.endUpdate()}};
Graph.prototype.resizeParentStacks=function(b,c,f,d){if(null!=this.layoutManager&&null!=c&&c.constructor==mxStackLayout&&!c.resizeLast){this.model.beginUpdate();try{for(var a=c.horizontal;null!=b&&null!=c&&c.constructor==mxStackLayout&&c.horizontal==a&&!c.resizeLast;){var e=this.getCellGeometry(b),g=this.view.getState(b);null!=g&&null!=e&&(e=e.clone(),c.horizontal?e.width+=f+Math.min(0,g.width/this.view.scale-e.width):e.height+=d+Math.min(0,g.height/this.view.scale-e.height),this.model.setGeometry(b,
e));b=this.model.getParent(b);c=this.layoutManager.getLayout(b)}}finally{this.model.endUpdate()}}};Graph.prototype.isContainer=function(b){var c=this.view.getState(b),c=null!=c?c.style:this.getCellStyle(b);return this.isSwimlane(b)?"0"!=c.container:"1"==c.container};Graph.prototype.isCellConnectable=function(b){var c=this.view.getState(b),c=null!=c?c.style:this.getCellStyle(b);return null!=c.connectable?"0"!=c.connectable:mxGraph.prototype.isCellConnectable.apply(this,arguments)};
Graph.prototype.selectAll=function(b){b=b||this.getDefaultParent();this.isCellLocked(b)||mxGraph.prototype.selectAll.apply(this,arguments)};Graph.prototype.selectCells=function(b,c,f){f=f||this.getDefaultParent();this.isCellLocked(f)||mxGraph.prototype.selectCells.apply(this,arguments)};Graph.prototype.getSwimlaneAt=function(b,c,f){f=f||this.getDefaultParent();return!this.isCellLocked(f)?mxGraph.prototype.getSwimlaneAt.apply(this,arguments):null};
Graph.prototype.isCellFoldable=function(b){var c=this.view.getState(b),c=null!=c?c.style:this.getCellStyle(b);return this.foldingEnabled&&!this.isCellLocked(b)&&(this.isContainer(b)&&"0"!=c.collapsible||!this.isContainer(b)&&"1"==c.collapsible)};Graph.prototype.reset=function(){this.isEditing()&&this.stopEditing(!0);this.escape();this.isSelectionEmpty()||this.clearSelection()};
Graph.prototype.zoom=function(b,c){b=Math.max(0.01,Math.min(this.view.scale*b,160))/this.view.scale;mxGraph.prototype.zoom.apply(this,arguments)};Graph.prototype.zoomIn=function(){0.15>this.view.scale?this.zoom((this.view.scale+0.01)/this.view.scale):this.zoom(Math.round(20*this.view.scale*this.zoomFactor)/20/this.view.scale)};Graph.prototype.zoomOut=function(){0.15>=this.view.scale?this.zoom((this.view.scale-0.01)/this.view.scale):this.zoom(Math.round(20*this.view.scale*(1/this.zoomFactor))/20/this.view.scale)};
Graph.prototype.getTooltipForCell=function(b){var c="";if(mxUtils.isNode(b.value)){var f=b.value.getAttribute("tooltip");if(null!=f)null!=f&&this.isReplacePlaceholders(b)&&(f=this.replacePlaceholders(b,f)),c=this.sanitizeHtml(f);else{f=["label","tooltip","placeholders"];b=b.value.attributes;this.isEnabled()&&f.push("link");for(var d=0;d<b.length;d++)0>mxUtils.indexOf(f,b[d].nodeName)&&0<b[d].nodeValue.length&&(c="link"==b[d].nodeName?c+(mxUtils.htmlEntities(this.getLinkUrl(b[d].nodeValue))+"\n"):
c+(b[d].nodeName+": "+mxUtils.htmlEntities(b[d].nodeValue)+"\n"));0<c.length&&(c=c.substring(0,c.length-1))}}return c};Graph.prototype.stringToBytes=function(b){for(var c=Array(b.length),f=0;f<b.length;f++)c[f]=b.charCodeAt(f);return c};Graph.prototype.bytesToString=function(b){for(var c=Array(b.length),f=0;f<b.length;f++)c[f]=String.fromCharCode(b[f]);return c.join("")};
Graph.prototype.compress=function(b){if(null==b||0==b.length||"undefined"===typeof pako)return b;b=this.bytesToString(pako.deflateRaw(encodeURIComponent(b)));return window.btoa?btoa(b):Base64.encode(b,!0)};Graph.prototype.decompress=function(b){if(null==b||0==b.length||"undefined"===typeof pako)return b;b=window.atob?atob(b):Base64.decode(b,!0);return this.zapGremlins(decodeURIComponent(this.bytesToString(pako.inflateRaw(b))))};
Graph.prototype.zapGremlins=function(b){for(var c=[],f=0;f<b.length;f++){var d=b.charCodeAt(f);(32<=d||9==d||10==d||13==d)&&c.push(b.charAt(f))}return c.join("")};HoverIcons=function(b){this.graph=b;this.init()};HoverIcons.prototype.arrowSpacing=6;HoverIcons.prototype.updateDelay=500;HoverIcons.prototype.activationDelay=140;HoverIcons.prototype.currentState=null;HoverIcons.prototype.activeArrow=null;HoverIcons.prototype.inactiveOpacity=15;HoverIcons.prototype.checkCollisions=!0;
HoverIcons.prototype.triangleUp=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAOCAYAAAAxDQxDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N0ZBN0E3M0U5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6N0ZBN0E3M0Y5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3RkE3QTczQzk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3RkE3QTczRDk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj625P8AAACySURBVHjaYmRY956BROABxF+A+AgpmpjIsGQjEO8CYidaWeQHtYQNiDmBeAspljGRYMlqqCUwALPMg1oWhWCxBNmyjVCHUGQRyJKlOCyBATaoQ/zItSgciFcQsATdshBSLYqC+oSZhMTCBnVYFLEWgRQuItESGGCG6o0iZFECBZagW5aAyyKQxBwKLUG2bD4Qp6FblAyVoIYlyGAmzDIWKGMmA+0AyGw2RjIKVbIAQIABAFJRHSSk2rPoAAAAAElFTkSuQmCC":
IMAGE_PATH+"/triangle-up.png",26,14);
HoverIcons.prototype.triangleRight=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAaCAYAAACHD21cAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NThDQzc5RTU5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NThDQzc5RTY5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1OENDNzlFMzk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1OENDNzlFNDk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PrHdKTUAAADDSURBVHjanNTBCgFRFIfxMeTZyEKkiBSRxbwREZGiNFZKWSnvY6OUUv6n7ilZaL459XVXv6a5c+cWovQeaSZqFoGJwzpVozzQZq4GeSDCv7AYcJ9Cx0vVpdDxWrUpdLxVLQr/4jjDBpYDblDoeKdqFDpOHRP4jSsU2rzVg8KnqqpbDFFdXck7vlRTXciuOjqT72ioo07k5Nju9dSRnFVHB/J3GBqqPf0fx2pDbwBDK3Ln2MdN1CLraSiFNcn6JJ+PAAMAbnMl1tyDPD8AAAAASUVORK5CYII\x3d":IMAGE_PATH+
"/triangle-right.png",14,26);
HoverIcons.prototype.triangleDown=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAOCAYAAAAxDQxDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NThDQzc5RTk5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NThDQzc5RUE5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1OENDNzlFNzk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1OENDNzlFODk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pv9xyy0AAADESURBVHjaYmRY956BHoAJiHOA+D+NcRrIoilAnEVDz6QD8SwWKGc6EP8F4plUtiQRiBfAgg4GZkEl/lLBgr/IlqBbxACViKPQMgxLQIAFi8JlUHoREDOTYUkckhkMuHyEbFkEEP8i0ZJobJbgswgE1gBxKJGW/YI6bCW+fIQPbCLCsl9Qn6whlGEZiLDMH4i/47AklJAlxFoEAjuA2AfNMpglm4gtgogF+5As+wX15SZiNbOQmHxBlrkBMQ/Ul0QDgAADAC8qRII7g4RyAAAAAElFTkSuQmCC":IMAGE_PATH+
"/triangle-down.png",26,14);
HoverIcons.prototype.triangleLeft=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAaCAYAAACHD21cAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6N0ZBN0E3M0E5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6N0ZBN0E3M0I5NjZGMTFFNTg5NTRDNzQwMTgwNDlEQzQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1OENDNzlFQjk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1OENDNzlFQzk2NkYxMUU1ODk1NEM3NDAxODA0OURDNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pi1fu2cAAADXSURBVHjalNTRB8JQFMfxVROxPyl6iuipRJFS2kv/TU89lY0piyw9pP6r3iP6He7Ndd3de87haxMfd+1ua0TVOxLOCuVNIdqiHZ1I4AbtUUsC6fIO6jzhwoWB/hOCU5Tpy+PCCTq5kA+OfKgODlGJ2r7/YMMBqkLIhn0uMmEP3VGH+zQQ7KKnBGmY+O6eD77QGH2kkOYhxeZdJTzjYnsfb2jOwbHjt6s6ltJHTmNa+SuFNBe0rMOh9/GM1i7M+QIUKLVxzNy2XB0zyYomTqUr6jnqLfoJMADoxSMHt6pxsAAAAABJRU5ErkJggg\x3d\x3d":IMAGE_PATH+
"/triangle-left.png",14,26);
HoverIcons.prototype.roundDrop=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RTgxRjYzRTU1MDRFMTFFNEExQ0VFNDQwNDhGNzg2RDkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RTgxRjYzRTY1MDRFMTFFNEExQ0VFNDQwNDhGNzg2RDkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFODFGNjNFMzUwNEUxMUU0QTFDRUU0NDA0OEY3ODZEOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFODFGNjNFNDUwNEUxMUU0QTFDRUU0NDA0OEY3ODZEOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuJ657wAAAE0SURBVHjaYvz//z8DPQATA50AC4zBuP4DLjXaQOwMxJZArAfE8lDxh0B8CYiPA/FeIL6KTfP/QAFUi7AABSBOAOJoIFbBIq8FxRFAfAeIlwLxAiB+gNdHaMABiIuB2IfIkAE5pB6IjYG4F4gPEBNHIEtaSLAEGfhA9ToQskgB6hNrCuLdGmqGAj6LEsj0CTafJeCySBsa8dQC0VAzMSxyxpG6yAUqUDMxLLKkQT61xGaRHg0s0sNmkTwNLJKne1mHbNFDGpj/EJtFl2hg0SVsFh2ngUXHsVm0F1oKUwvcgZqJYdFVaFFPLbAUuY5CT3Wg+mQLFSzZAjULZ6H6AFqfHKXAkqNQMx4Qqo9AlVYNmT7bAtV7gNga9gDURWfxVOXoEY+3KmeENbdo3ThhHHbtOoAAAwDmEETshQ0fBAAAAABJRU5ErkJggg\x3d\x3d":IMAGE_PATH+
"/round-drop.png",26,26);
HoverIcons.prototype.refreshTarget=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDQxNERDRTU1QjY1MTFFNDkzNTRFQTVEMTdGMTdBQjciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDQxNERDRTY1QjY1MTFFNDkzNTRFQTVEMTdGMTdBQjciPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NDE0RENFMzVCNjUxMUU0OTM1NEVBNUQxN0YxN0FCNyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NDE0RENFNDVCNjUxMUU0OTM1NEVBNUQxN0YxN0FCNyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsvuX50AAANaSURBVHja7FjRZ1tRGD9ZJ1NCyIQSwrivI4Q8hCpjlFDyFEoYfSp9Ko1QWnmo0If+BSXkIfo0QirTMUpeGo2EPfWllFYjZMLKLDJn53d3biU337m5J223bPbxk5t7v+/c3/2+73znO8fDOWezKM/YjMpz68Lj8ejY+QTeCCwLxOS9qPxtyN+6wAeBTwJ31CCO0cJDjXBGBN4LfIepSwykTUT1bgpuib0SONIgo8KRHOtRiCFcvUcgZeGrHPNBxLIyFPyRgTGz0xLbegJCdmzpElue5KlAIMDX19d5uVzm5+fnfDAYmMA17uEZdOx2Yvb/sHlu2S0xwymn5ufneTab5b1ej08S6EAXNrDd2dnhiUTim21MvMtwQ6yiIrWwsMDPzs64rsBmf3/fvM7n89TYlUnEllSkQqEQv7q64g+Vk5MTVXosORErU0Zer5f0FEIlw2N6MxwO82QyaXql2+2SxDqdjopYWUUsqEp45IldqtWq6UWVh/1+P7+8vCTJ4QMUJSRIEXuneoH96w8PDyeWAnhSJfCqwm6NIlaklFdXV0cGhRcQ2mlJQXK5nMq2YPEZbnteU1U2lUqN/D84OGD9fl+5fgnSrFarsUwmw0qlEru4uBjTicViTk3Cr27HSnxR+Doyz0ZE1CAWiUTusbu7y9rttlZv5fP5WDQavYfIMba4uEipfhF8XtqJoZXx/uH+sC/4vPg7OljZZQbsCmLtYzc3N6zRaJhotVrmfx0xDINtbm6athYUeXpHdbBNaqZUKpWxWXV7e2vex+xaWVnhc3NzjrPUXgexyCt0m67LBV7uJMITjqRE4o8tZeg8FPpFitgapYxiOC0poFgsji1jKNo6BZZckrAGUtJsNk1vqAihCBcKhTE7hNWhqw2qFnGy5UFOUYJVIJ1OjzSE+BCEilon0URavRmBqnbbQ00AXbm+vnZc9O1tj72OnQoc2+cwygRkb2+P1et17ZoEm3g87lRmjgWZ00kbXkNuse6/Bu2wlegIxfb2tuvWGroO4bO2c4bbzUh60mxDXm1sbJhhxkQYnhS4h2fUZoRAWnf7lv8N27f8P7Xhnekjgpk+VKGOoQbsiY+hhhtF3YO7twIJ+ULvUGv+GQ2fQEvWxI/THNx5/p/BaspPAQYAqStgiSQwCDoAAAAASUVORK5CYII\x3d":IMAGE_PATH+
"/refresh.png",38,38);
HoverIcons.prototype.init=function(){this.arrowUp=this.createArrow(this.triangleUp,mxResources.get("plusTooltip"));this.arrowRight=this.createArrow(this.triangleRight,mxResources.get("plusTooltip"));this.arrowDown=this.createArrow(this.triangleDown,mxResources.get("plusTooltip"));this.arrowLeft=this.createArrow(this.triangleLeft,mxResources.get("plusTooltip"));this.elts=[this.arrowUp,this.arrowRight,this.arrowDown,this.arrowLeft];this.repaintHandler=mxUtils.bind(this,function(){this.repaint()});this.graph.selectionModel.addListener(mxEvent.CHANGE,
this.repaintHandler);this.graph.model.addListener(mxEvent.CHANGE,this.repaintHandler);this.graph.view.addListener(mxEvent.SCALE_AND_TRANSLATE,this.repaintHandler);this.graph.view.addListener(mxEvent.TRANSLATE,this.repaintHandler);this.graph.view.addListener(mxEvent.SCALE,this.repaintHandler);this.graph.view.addListener(mxEvent.DOWN,this.repaintHandler);this.graph.view.addListener(mxEvent.UP,this.repaintHandler);this.graph.addListener(mxEvent.ROOT,this.repaintHandler);this.graph.addListener(mxEvent.ESCAPE,
mxUtils.bind(this,function(){this.mouseDownPoint=null}));mxEvent.addListener(this.graph.container,"mouseleave",mxUtils.bind(this,function(b){null!=b.relatedTarget&&mxEvent.getSource(b)==this.graph.container&&this.setDisplay("none")}));var b=this.graph.click;this.graph.click=mxUtils.bind(this,function(c){b.apply(this.graph,arguments);null!=this.currentState&&!this.graph.isCellSelected(this.currentState.cell)&&mxEvent.isTouchEvent(c.getEvent())&&!this.graph.model.isVertex(c.getCell())&&this.reset()});
var c=!1;this.graph.addMouseListener({mouseDown:mxUtils.bind(this,function(b,d){c=!1;var a=d.getEvent();if(this.isResetEvent(a))this.reset();else if(!this.isActive()){var e=this.getState(d.getState());(null!=e||!mxEvent.isTouchEvent(a))&&this.update(e)}this.setDisplay("none")}),mouseMove:mxUtils.bind(this,function(b,d){var a=d.getEvent();this.isResetEvent(a)?this.reset():!this.graph.isMouseDown&&!mxEvent.isTouchEvent(a)&&this.update(this.getState(d.getState()),d.getGraphX(),d.getGraphY());null!=this.graph.connectionHandler&&
null!=this.graph.connectionHandler.shape&&(c=!0)}),mouseUp:mxUtils.bind(this,function(b,d){var a=d.getEvent();this.isResetEvent(a)?this.reset():this.isActive()&&null!=this.mouseDownPoint&&Math.abs(d.getGraphX()-this.mouseDownPoint.x)<this.graph.tolerance&&Math.abs(d.getGraphY()-this.mouseDownPoint.y)<this.graph.tolerance?c||this.click(this.currentState,this.getDirection(),d):this.isActive()?1!=this.graph.getSelectionCount()||!this.graph.model.isEdge(this.graph.getSelectionCell())?this.update(this.getState(this.graph.view.getState(this.graph.getCellAt(d.getGraphX(),
d.getGraphY())))):this.reset():mxEvent.isTouchEvent(a)||null!=this.bbox&&mxUtils.contains(this.bbox,d.getGraphX(),d.getGraphY())?(this.setDisplay(""),this.repaint()):mxEvent.isTouchEvent(a)||this.reset();c=!1;this.resetActiveArrow()})})};HoverIcons.prototype.isResetEvent=function(b,c){return mxEvent.isAltDown(b)||null==this.activeArrow&&mxEvent.isShiftDown(b)||mxEvent.isMetaDown(b)||mxEvent.isPopupTrigger(b)&&!mxEvent.isControlDown(b)};
HoverIcons.prototype.createArrow=function(b,c){var f=null;mxClient.IS_IE&&!mxClient.IS_SVG?(mxClient.IS_IE6&&"CSS1Compat"!=document.compatMode?(f=document.createElement(mxClient.VML_PREFIX+":image"),f.setAttribute("src",b.src),f.style.borderStyle="none"):(f=document.createElement("div"),f.style.backgroundImage="url("+b.src+")",f.style.backgroundPosition="center",f.style.backgroundRepeat="no-repeat"),f.style.width=b.width+4+"px",f.style.height=b.height+4+"px",f.style.display=mxClient.IS_QUIRKS?"inline":
"inline-block"):(f=mxUtils.createImage(b.src),f.style.width=b.width+"px",f.style.height=b.height+"px");null!=c&&f.setAttribute("title",c);f.style.position="absolute";f.style.cursor="crosshair";mxEvent.addGestureListeners(f,mxUtils.bind(this,function(b){null!=this.currentState&&!this.isResetEvent(b)&&(this.mouseDownPoint=mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(b),mxEvent.getClientY(b)),this.drag(b,this.mouseDownPoint.x,this.mouseDownPoint.y),this.activeArrow=f,this.setDisplay("none"),
mxEvent.consume(b))}));mxEvent.redirectMouseEvents(f,this.graph,this.currentState);mxEvent.addListener(f,"mouseenter",mxUtils.bind(this,function(b){mxEvent.isMouseEvent(b)&&(null!=this.activeArrow&&this.activeArrow!=f&&mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.graph.connectionHandler.constraintHandler.reset(),mxUtils.setOpacity(f,100),this.activeArrow=f)}));mxEvent.addListener(f,"mouseleave",mxUtils.bind(this,function(b){this.graph.isMouseDown||this.resetActiveArrow()}));return f};
HoverIcons.prototype.resetActiveArrow=function(){null!=this.activeArrow&&(mxUtils.setOpacity(this.activeArrow,this.inactiveOpacity),this.activeArrow=null)};HoverIcons.prototype.getDirection=function(){var b=mxConstants.DIRECTION_EAST;this.activeArrow==this.arrowUp?b=mxConstants.DIRECTION_NORTH:this.activeArrow==this.arrowDown?b=mxConstants.DIRECTION_SOUTH:this.activeArrow==this.arrowLeft&&(b=mxConstants.DIRECTION_WEST);return b};
HoverIcons.prototype.visitNodes=function(b){for(var c=0;c<this.elts.length;c++)null!=this.elts[c]&&b(this.elts[c])};HoverIcons.prototype.removeNodes=function(){this.visitNodes(function(b){null!=b.parentNode&&b.parentNode.removeChild(b)})};HoverIcons.prototype.setDisplay=function(b){this.visitNodes(function(c){c.style.display=b})};HoverIcons.prototype.isActive=function(){return null!=this.activeArrow&&null!=this.currentState};
HoverIcons.prototype.drag=function(b,c,f){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);null!=this.currentState&&(this.graph.connectionHandler.start(this.currentState,c,f),this.graph.isMouseTrigger=mxEvent.isMouseEvent(b),this.graph.isMouseDown=!0,b=this.graph.selectionCellsHandler.getHandler(this.currentState.cell),null!=b&&b.setHandlesVisible(!1))};
HoverIcons.prototype.click=function(b,c,f){var d=f.getEvent(),a=f.getGraphX(),e=f.getGraphY(),a=this.graph.view.getState(this.graph.getCellAt(a,e));null!=a&&this.graph.model.isEdge(a.cell)&&!mxEvent.isControlDown(d)&&(a.getVisibleTerminalState(!0)==b||a.getVisibleTerminalState(!1)==b)?(this.graph.setSelectionCell(a.cell),this.reset()):null!=b&&(b=this.graph.connectVertex(b.cell,c,this.graph.defaultEdgeLength,d),this.graph.selectCellsForConnectVertex(b,d,this),2==b.length&&this.graph.model.isVertex(b[1])?
(this.graph.setSelectionCell(b[1]),mxEvent.isTouchEvent(d)?this.update(this.getState(this.graph.view.getState(b[1]))):this.reset(),this.graph.scrollCellToVisible(b[1])):this.graph.setSelectionCells(b));f.consume()};HoverIcons.prototype.reset=function(b){(null==b||b)&&null!=this.updateThread&&window.clearTimeout(this.updateThread);this.activeArrow=this.currentState=this.mouseDownPoint=null;this.removeNodes();this.bbox=null};
HoverIcons.prototype.repaint=function(){this.bbox=null;if(null!=this.currentState){this.currentState=this.getState(this.currentState);if(null!=this.currentState&&this.graph.model.isVertex(this.currentState.cell)&&this.graph.isCellConnectable(this.currentState.cell)){var b=mxRectangle.fromRectangle(this.currentState);null!=this.currentState.shape&&null!=this.currentState.shape.boundingBox&&(b=mxRectangle.fromRectangle(this.currentState.shape.boundingBox));b.grow(this.graph.tolerance);b.grow(this.arrowSpacing);
var c=this.graph.selectionCellsHandler.getHandler(this.currentState.cell);null!=c&&(b.x-=c.horizontalOffset/2,b.y-=c.verticalOffset/2,b.width+=c.horizontalOffset,b.height+=c.verticalOffset,null!=c.rotationShape&&null!=c.rotationShape.node&&"hidden"!=c.rotationShape.node.style.visibility&&("none"!=c.rotationShape.node.style.display&&null!=c.rotationShape.boundingBox)&&b.add(c.rotationShape.boundingBox));this.arrowUp.style.left=Math.round(this.currentState.getCenterX()-this.triangleUp.width/2)+"px";
this.arrowUp.style.top=Math.round(b.y-this.triangleUp.height)+"px";mxUtils.setOpacity(this.arrowUp,this.inactiveOpacity);this.arrowRight.style.left=Math.round(b.x+b.width)+"px";this.arrowRight.style.top=Math.round(this.currentState.getCenterY()-this.triangleRight.height/2)+"px";mxUtils.setOpacity(this.arrowRight,this.inactiveOpacity);this.arrowDown.style.left=this.arrowUp.style.left;this.arrowDown.style.top=Math.round(b.y+b.height)+"px";mxUtils.setOpacity(this.arrowDown,this.inactiveOpacity);this.arrowLeft.style.left=
Math.round(b.x-this.triangleLeft.width)+"px";this.arrowLeft.style.top=this.arrowRight.style.top;mxUtils.setOpacity(this.arrowLeft,this.inactiveOpacity);if(this.checkCollisions){var c=this.graph.getCellAt(b.x+b.width+this.triangleRight.width/2,this.currentState.getCenterY()),f=this.graph.getCellAt(b.x-this.triangleLeft.width/2,this.currentState.getCenterY()),d=this.graph.getCellAt(this.currentState.getCenterX(),b.y-this.triangleUp.height/2),b=this.graph.getCellAt(this.currentState.getCenterX(),b.y+
b.height+this.triangleDown.height/2);null!=c&&c==f&&f==d&&d==b&&(b=d=f=c=null);null!=c&&!this.graph.model.isAncestor(c,this.currentState.cell)?this.arrowRight.style.visibility="hidden":this.arrowRight.style.visibility="visible";null!=f&&!this.graph.model.isAncestor(f,this.currentState.cell)?this.arrowLeft.style.visibility="hidden":this.arrowLeft.style.visibility="visible";null!=d&&!this.graph.model.isAncestor(d,this.currentState.cell)?this.arrowUp.style.visibility="hidden":this.arrowUp.style.visibility=
"visible";null!=b&&!this.graph.model.isAncestor(b,this.currentState.cell)?this.arrowDown.style.visibility="hidden":this.arrowDown.style.visibility="visible"}else this.arrowLeft.style.visibility="visible",this.arrowRight.style.visibility="visible",this.arrowUp.style.visibility="visible",this.arrowDown.style.visibility="visible"}else this.reset();null!=this.currentState&&(this.bbox=this.computeBoundingBox(),null!=this.bbox&&this.bbox.grow(10))}};
HoverIcons.prototype.computeBoundingBox=function(){var b=!this.graph.model.isEdge(this.currentState.cell)?mxRectangle.fromRectangle(this.currentState):null;this.visitNodes(function(c){null!=c.parentNode&&(c=new mxRectangle(c.offsetLeft,c.offsetTop,c.offsetWidth,c.offsetHeight),null==b?b=c:b.add(c))});return b};
HoverIcons.prototype.getState=function(b){if(null!=b){b=b.cell;if(this.graph.getModel().isVertex(b)&&!this.graph.isCellConnectable(b)){var c=this.graph.getModel().getParent(b);this.graph.getModel().isVertex(c)&&this.graph.isCellConnectable(c)&&(b=c)}if(this.graph.isCellLocked(b)||this.graph.model.isEdge(b))b=null;b=this.graph.view.getState(b)}return b};
HoverIcons.prototype.update=function(b,c,f){if(this.graph.connectionArrowsEnabled){var d=null;this.prev!=b||this.isActive()?(this.startTime=(new Date).getTime(),this.prev=b,d=0,null!=this.updateThread&&window.clearTimeout(this.updateThread),null!=b&&(this.updateThread=window.setTimeout(mxUtils.bind(this,function(){!this.isActive()&&!this.graph.isMouseDown&&!this.graph.panningHandler.isActive()&&(this.prev=b,this.update(b,c,f))}),this.updateDelay+10))):null!=this.startTime&&(d=(new Date).getTime()-
this.startTime);this.setDisplay("");if(null!=this.currentState&&this.currentState!=b&&d<this.activationDelay&&null!=this.bbox&&!mxUtils.contains(this.bbox,c,f))this.reset(!1);else if(null!=this.currentState||d>this.activationDelay)if(this.currentState!=b&&(d>this.updateDelay&&null!=b||null==this.bbox||null==c||null==f||!mxUtils.contains(this.bbox,c,f)))null!=b&&this.graph.isEnabled()?(this.removeNodes(),this.setCurrentState(b),this.repaint(),this.graph.connectionHandler.constraintHandler.currentFocus!=
b&&this.graph.connectionHandler.constraintHandler.reset()):this.reset()}else this.reset()};HoverIcons.prototype.setCurrentState=function(b){"eastwest"!=b.style.portConstraint&&(this.graph.container.appendChild(this.arrowUp),this.graph.container.appendChild(this.arrowDown));this.graph.container.appendChild(this.arrowRight);this.graph.container.appendChild(this.arrowLeft);this.currentState=b};
(function(){var b=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototype.evaluateTextAttribute=function(c,d,a){var e=b.apply(this,arguments);"1"==c.getAttribute("placeholders")&&null!=a.state&&(e=a.state.view.graph.replacePlaceholders(a.state.cell,e));return e};var c=mxCellRenderer.prototype.createShape;mxCellRenderer.prototype.createShape=function(b){if(null!=b.style&&"undefined"!==typeof pako){var d=mxUtils.getValue(b.style,mxConstants.STYLE_SHAPE,null);if(null!=d&&"stencil("==d.substring(0,
8))try{var a=d.substring(8,d.length-1),e=mxUtils.parseXml(b.view.graph.decompress(a));return new mxShape(new mxStencil(e.documentElement))}catch(g){null!=window.console&&console.log("Error in shape: "+g)}}return c.apply(this,arguments)}})();mxStencilRegistry.libraries={};mxStencilRegistry.dynamicLoading=!0;mxStencilRegistry.packages=[];
mxStencilRegistry.getStencil=function(b){var c=mxStencilRegistry.stencils[b];if(null==c&&null==mxCellRenderer.prototype.defaultShapes[b]&&mxStencilRegistry.dynamicLoading){var f=mxStencilRegistry.getBasenameForStencil(b);if(null!=f){c=mxStencilRegistry.libraries[f];if(null!=c){if(null==mxStencilRegistry.packages[f]){mxStencilRegistry.packages[f]=1;for(f=0;f<c.length;f++){var d=c[f];if(".xml"==d.toLowerCase().substring(d.length-4,d.length))mxStencilRegistry.loadStencilSet(d,null);else if(".js"==d.toLowerCase().substring(d.length-
3,d.length))try{var a=mxUtils.load(d);null!=a&&200==a.getStatus()&&eval.call(window,a.getText())}catch(e){null!=window.console&&console.log("error in getStencil:",d,e)}}}}else f=f.replace("_-_","_"),mxStencilRegistry.loadStencilSet(STENCIL_PATH+"/"+f+".xml",null);c=mxStencilRegistry.stencils[b]}}return c};mxStencilRegistry.getBasenameForStencil=function(b){var c=null;if(null!=b&&(b=b.split("."),0<b.length&&"mxgraph"==b[0]))for(var c=b[1],f=2;f<b.length-1;f++)c+="/"+b[f];return c};
mxStencilRegistry.loadStencilSet=function(b,c,f,d){var a=mxStencilRegistry.packages[b];if(null!=f&&f||null==a){var e=!1;if(null==a)try{if(d){var g=mxUtils.get(b,mxUtils.bind(this,function(d){200==d.getStatus()&&(a=d.getXml(),mxStencilRegistry.packages[b]=a,e=!0,null!=a&&null!=a.documentElement&&mxStencilRegistry.parseStencilSet(a.documentElement,c,e))}));return}g=mxUtils.load(b);a=g.getXml();mxStencilRegistry.packages[b]=a;e=!0}catch(k){null!=window.console&&console.log("error in loadStencilSet:",
b,k)}null!=a&&null!=a.documentElement&&mxStencilRegistry.parseStencilSet(a.documentElement,c,e)}};mxStencilRegistry.parseStencilSets=function(b){for(var c=0;c<b.length;c++)mxStencilRegistry.parseStencilSet(mxUtils.parseXml(b[c]).documentElement)};
mxStencilRegistry.parseStencilSet=function(b,c,f){if("stencils"==b.nodeName)for(var d=b.firstChild;null!=d;)"shapes"==d.nodeName&&mxStencilRegistry.parseStencilSet(d,c,f),d=d.nextSibling;else{f=null!=f?f:!0;var d=b.firstChild,a="";b=b.getAttribute("name");for(null!=b&&(a=b+".");null!=d;){if(d.nodeType==mxConstants.NODETYPE_ELEMENT&&(b=d.getAttribute("name"),null!=b)){var a=a.toLowerCase(),e=b.replace(/ /g,"_");f&&mxStencilRegistry.addStencil(a+e.toLowerCase(),new mxStencil(d));if(null!=c){var g=d.getAttribute("w"),
k=d.getAttribute("h"),g=null==g?80:parseInt(g,10),k=null==k?80:parseInt(k,10);c(a,e,b,g,k)}}d=d.nextSibling}}};
"undefined"!=typeof mxVertexHandler&&function(){function b(){var a=document.createElement("div");a.className="geHint";a.style.whiteSpace="nowrap";a.style.position="absolute";return a}mxConstants.HANDLE_FILLCOLOR="#99ccff";mxConstants.HANDLE_STROKECOLOR="#0088cf";mxConstants.VERTEX_SELECTION_COLOR="#00a8ff";mxConstants.OUTLINE_COLOR="#00a8ff";mxConstants.OUTLINE_HANDLE_FILLCOLOR="#99ccff";mxConstants.OUTLINE_HANDLE_STROKECOLOR="#00a8ff";mxConstants.CONNECT_HANDLE_FILLCOLOR="#cee7ff";mxConstants.EDGE_SELECTION_COLOR=
"#00a8ff";mxConstants.DEFAULT_VALID_COLOR="#00a8ff";mxConstants.LABEL_HANDLE_FILLCOLOR="#cee7ff";mxConstants.GUIDE_COLOR="#0088cf";mxConstants.HIGHLIGHT_OPACITY=30;mxConstants.HIGHLIGHT_SIZE=8;mxEdgeHandler.prototype.snapToTerminals=!0;mxGraphHandler.prototype.guidesEnabled=!0;mxGuide.prototype.isEnabledForEvent=function(a){return!mxEvent.isAltDown(a)};var c=mxConnectionHandler.prototype.isCreateTarget;mxConnectionHandler.prototype.isCreateTarget=function(a){return mxEvent.isControlDown(a)||c.apply(this,
arguments)};mxConstraintHandler.prototype.createHighlightShape=function(){var a=new mxEllipse(null,this.highlightColor,this.highlightColor,0);a.opacity=mxConstants.HIGHLIGHT_OPACITY;return a};mxConnectionHandler.prototype.livePreview=!0;mxConnectionHandler.prototype.cursor="crosshair";mxConnectionHandler.prototype.createEdgeState=function(a){a=this.graph.createCurrentEdgeStyle();a=this.graph.createEdge(null,null,null,null,null,a);a=new mxCellState(this.graph.view,a,this.graph.getCellStyle(a));for(var b in this.graph.currentEdgeStyle)a.style[b]=
this.graph.currentEdgeStyle[b];return a};var f=mxConnectionHandler.prototype.createShape;mxConnectionHandler.prototype.createShape=function(){var a=f.apply(this,arguments);a.isDashed="1"==this.graph.currentEdgeStyle[mxConstants.STYLE_DASHED];return a};mxConnectionHandler.prototype.updatePreview=function(a){};var d=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var a=d.apply(this,arguments),b=a.getCell;a.getCell=mxUtils.bind(this,function(a){var d=
b.apply(this,arguments);this.error=null;return d});return a};Graph.prototype.defaultEdgeStyle={edgeStyle:"orthogonalEdgeStyle",rounded:"0",html:"1",jettySize:"auto",orthogonalLoop:"1"};Graph.prototype.currentEdgeStyle=Graph.prototype.defaultEdgeStyle;Graph.prototype.currentVertexStyle={};Graph.prototype.createCurrentEdgeStyle=function(){var a="edgeStyle\x3d"+(this.currentEdgeStyle.edgeStyle||"none")+";";null!=this.currentEdgeStyle.shape&&(a+="shape\x3d"+this.currentEdgeStyle.shape+";");null!=this.currentEdgeStyle.curved&&
(a+="curved\x3d"+this.currentEdgeStyle.curved+";");null!=this.currentEdgeStyle.rounded&&(a+="rounded\x3d"+this.currentEdgeStyle.rounded+";");null!=this.currentEdgeStyle.comic&&(a+="comic\x3d"+this.currentEdgeStyle.comic+";");"elbowEdgeStyle"==this.currentEdgeStyle.edgeStyle&&null!=this.currentEdgeStyle.elbow&&(a+="elbow\x3d"+this.currentEdgeStyle.elbow+";");return null!=this.currentEdgeStyle.html?a+("html\x3d"+this.currentEdgeStyle.html+";"):a+"html\x3d1;"};Graph.prototype.getPagePadding=function(){return new mxPoint(0,
0)};Graph.prototype.loadStylesheet=function(){var a=null!=this.themes?this.themes[this.defaultThemeName]:!mxStyleRegistry.dynamicLoading?null:mxUtils.load(STYLE_PATH+"/default.xml").getDocumentElement();null!=a&&(new mxCodec(a.ownerDocument)).decode(a,this.getStylesheet())};Graph.prototype.getAllConnectionConstraints=function(a,b){if(null!=a){var d=mxUtils.getValue(a.style,"points",null);if(null!=d){var e=[];try{for(var c=JSON.parse(d),d=0;d<c.length;d++){var f=c[d];e.push(new mxConnectionConstraint(new mxPoint(f[0],
f[1]),2<f.length?"0"!=f[2]:!0))}}catch(g){}return e}if(null!=a.shape)if(null!=a.shape.stencil){if(null!=a.shape.stencil)return a.shape.stencil.constraints}else if(null!=a.shape.constraints)return a.shape.constraints}return null};Graph.prototype.flipEdge=function(a){if(null!=a){var b=this.view.getState(a),b=null!=b?b.style:this.getCellStyle(a);null!=b&&(b=mxUtils.getValue(b,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL)==mxConstants.ELBOW_HORIZONTAL?mxConstants.ELBOW_VERTICAL:mxConstants.ELBOW_HORIZONTAL,
this.setCellStyles(mxConstants.STYLE_ELBOW,b,[a]))}};Graph.prototype.isValidRoot=function(a){for(var b=this.model.getChildCount(a),d=0,e=0;e<b;e++){var c=this.model.getChildAt(a,e);this.model.isVertex(c)&&(c=this.getCellGeometry(c),null!=c&&!c.relative&&d++)}return 0<d||this.isContainer(a)};Graph.prototype.isValidDropTarget=function(a){var b=this.view.getState(a),b=null!=b?b.style:this.getCellStyle(a);return"1"!=mxUtils.getValue(b,"part","0")&&(this.isContainer(a)||mxGraph.prototype.isValidDropTarget.apply(this,
arguments)&&"0"!=mxUtils.getValue(b,"dropTarget","1"))};Graph.prototype.createGroupCell=function(){var a=mxGraph.prototype.createGroupCell.apply(this,arguments);a.setStyle("group");return a};Graph.prototype.isExtendParentsOnAdd=function(a){var b=mxGraph.prototype.isExtendParentsOnAdd.apply(this,arguments);if(b&&null!=a&&null!=this.layoutManager){var d=this.model.getParent(a);null!=d&&(d=this.layoutManager.getLayout(d),null!=d&&d.constructor==mxStackLayout&&(b=!1))}return b};Graph.prototype.getPreferredSizeForCell=
function(a){var b=mxGraph.prototype.getPreferredSizeForCell.apply(this,arguments);null!=b&&(b.width+=10,b.height+=4,this.gridEnabled&&(b.width=this.snap(b.width),b.height=this.snap(b.height)));return b};Graph.prototype.turnShapes=function(a){var b=this.getModel(),d=[];b.beginUpdate();try{for(var e=0;e<a.length;e++){var c=a[e];if(b.isEdge(c)){var f=b.getTerminal(c,!0),g=b.getTerminal(c,!1);b.setTerminal(c,g,!0);b.setTerminal(c,f,!1);var k=b.getGeometry(c);if(null!=k){k=k.clone();null!=k.points&&k.points.reverse();
var l=k.getTerminalPoint(!0),m=k.getTerminalPoint(!1);k.setTerminalPoint(l,!1);k.setTerminalPoint(m,!0);b.setGeometry(c,k);var n=this.view.getState(c),q=this.view.getState(f),t=this.view.getState(g);if(null!=n){var p=null!=q?this.getConnectionConstraint(n,q,!0):null,u=null!=t?this.getConnectionConstraint(n,t,!1):null;this.setConnectionConstraint(c,f,!0,u);this.setConnectionConstraint(c,g,!1,p)}d.push(c)}}else if(b.isVertex(c)&&(k=this.getCellGeometry(c),null!=k)){k=k.clone();k.x+=k.width/2-k.height/
2;k.y+=k.height/2-k.width/2;var r=k.width;k.width=k.height;k.height=r;b.setGeometry(c,k);var s=this.view.getState(c);if(null!=s){var v=s.style[mxConstants.STYLE_DIRECTION]||"east";"east"==v?v="south":"south"==v?v="west":"west"==v?v="north":"north"==v&&(v="east");this.setCellStyles(mxConstants.STYLE_DIRECTION,v,[c])}d.push(c)}}}finally{b.endUpdate()}return d};Graph.prototype.processChange=function(a){mxGraph.prototype.processChange.apply(this,arguments);if(a instanceof mxValueChange&&null!=a.cell.value&&
"object"==typeof a.cell.value){var b=this.model.getDescendants(a.cell);if(0<b.length)for(var d=0;d<b.length;d++)this.isReplacePlaceholders(b[d])&&this.view.invalidate(b[d],!1,!1)}};Graph.prototype.cellLabelChanged=function(a,b,d){b=this.zapGremlins(b);this.model.beginUpdate();try{if(null!=a.value&&"object"==typeof a.value){var e=a.value.cloneNode(!0);e.setAttribute("label",b);this.isReplacePlaceholders(a)&&null!=e.getAttribute("placeholder")&&this.setAttributeForCell(this.getModel().getRoot(),e.getAttribute("placeholder"),
b);b=e}mxGraph.prototype.cellLabelChanged.apply(this,arguments)}finally{this.model.endUpdate()}};Graph.prototype.removeCellsAfterUngroup=function(a){for(var b=[],d=0;d<a.length;d++)if(this.isCellDeletable(a[d])){var e=this.view.getState(a[d]);if(null!=e){var c=mxUtils.getValue(e.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),e=mxUtils.getValue(e.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);c==mxConstants.NONE&&e==mxConstants.NONE&&b.push(a[d])}}a=b;mxGraph.prototype.removeCellsAfterUngroup.apply(this,
arguments)};Graph.prototype.setLinkForCell=function(a,b){this.setAttributeForCell(a,"link",b)};Graph.prototype.setTooltipForCell=function(a,b){this.setAttributeForCell(a,"tooltip",b)};Graph.prototype.setAttributeForCell=function(a,b,d){var e=null;null!=a.value&&"object"==typeof a.value?e=a.value.cloneNode(!0):(e=mxUtils.createXmlDocument().createElement("UserObject"),e.setAttribute("label",a.value||""));null!=d&&0<d.length?e.setAttribute(b,d):e.removeAttribute(b);this.model.setValue(a,e)};Graph.prototype.getDropTarget=
function(a,b,d,e){this.getModel();if(mxEvent.isAltDown(b))return null;for(var c=0;c<a.length;c++)if(this.model.isEdge(this.model.getParent(a[c])))return null;return mxGraph.prototype.getDropTarget.apply(this,arguments)};Graph.prototype.click=function(a){mxGraph.prototype.click.call(this,a);this.firstClickState=a.getState();this.firstClickSource=a.getSource()};Graph.prototype.dblClick=function(a,b){if(this.isEnabled()){var d=mxUtils.convertPoint(this.container,mxEvent.getClientX(a),mxEvent.getClientY(a));
if(null!=a&&!this.model.isVertex(b)){var e=this.model.isEdge(b)?this.view.getState(b):null,c=mxEvent.getSource(a);if(this.firstClickState==e&&this.firstClickSource==c&&(null==e||null==e.text||null==e.text.node||!mxUtils.contains(e.text.boundingBox,d.x,d.y)&&!mxUtils.isAncestorNode(e.text.node,mxEvent.getSource(a))))if(null==e&&!this.isCellLocked(this.getDefaultParent())||null!=e&&!this.isCellLocked(e.cell))if(null!=e||mxClient.IS_VML&&c==this.view.getCanvas()||mxClient.IS_SVG&&c==this.view.getCanvas().ownerSVGElement)b=
this.addText(d.x,d.y,e)}mxGraph.prototype.dblClick.call(this,a,b)}};Graph.prototype.getInsertPoint=function(){var a=this.getGridSize(),b=this.container.scrollLeft/this.view.scale-this.view.translate.x,d=this.container.scrollTop/this.view.scale-this.view.translate.y;if(this.pageVisible)var e=this.getPageLayout(),c=this.getPageSize(),b=Math.max(b,e.x*c.width),d=Math.max(d,e.y*c.height);return new mxPoint(this.snap(b+a),this.snap(d+a))};Graph.prototype.addText=function(a,b,d){var e=new mxCell;e.value=
"Text";e.style="text;html\x3d1;resizable\x3d0;points\x3d[];";e.geometry=new mxGeometry(0,0,0,0);e.vertex=!0;if(null!=d){e.style+="align\x3dcenter;verticalAlign\x3dmiddle;labelBackgroundColor\x3d#ffffff;";e.geometry.relative=!0;e.connectable=!1;var c=this.view.getRelativePoint(d,a,b);e.geometry.x=Math.round(1E4*c.x)/1E4;e.geometry.y=Math.round(c.y);e.geometry.offset=new mxPoint(0,0);var c=this.view.getPoint(d,e.geometry),f=this.view.scale;e.geometry.offset=new mxPoint(Math.round((a-c.x)/f),Math.round((b-
c.y)/f))}else e.style+="autosize\x3d1;align\x3dleft;verticalAlign\x3dtop;spacingTop\x3d-4;",c=this.view.translate,e.geometry.width=40,e.geometry.height=20,e.geometry.x=Math.round(a/this.view.scale)-c.x,e.geometry.y=Math.round(b/this.view.scale)-c.y;this.getModel().beginUpdate();try{this.addCells([e],null!=d?d.cell:null),this.fireEvent(new mxEventObject("textInserted","cells",[e])),this.autoSizeCell(e)}finally{this.getModel().endUpdate()}return e};Graph.prototype.getLinkUrl=function(a){return a};Graph.prototype.getAbsoluteUrl=
function(a){null!=a&&this.isRelativeUrl(a)&&(a="/"==a.charAt(0)?this.domainUrl+a:this.domainPathUrl+a);return a};Graph.prototype.isBlankLink=function(a){var b=this.domainUrl;return"self"!=urlParams.target&&null!=a&&"#"!=a.charAt(0)&&a.substring(0,b.length)!=b&&!this.isRelativeUrl(a)};Graph.prototype.isRelativeUrl=function(a){return!/^(?:[a-z]+:)?\/\//i.test(a)&&"data:image"!=a.substring(0,10)&&"mailto:"!=a.substring(0,7)};Graph.prototype.addClickHandler=function(a,b,d){var e=mxUtils.bind(this,function(){var a=
this.container.getElementsByTagName("a");if(null!=a)for(var d=0;d<a.length;d++){var e=a[d].getAttribute("href");null!=e&&!this.isBlankLink(e)&&(window!=window.top?(a[d].setAttribute("target","_top"),e.charAt("#")?a[d].setAttribute("href",this.baseUrl+e):a[d].setAttribute("href",this.getAbsoluteUrl(e))):"_blank"==a[d].getAttribute("target")&&a[d].removeAttribute("target"),null!=b&&mxEvent.addListener(a[d],"click",b))}});this.model.addListener(mxEvent.CHANGE,e);e();var c=this.container.style.cursor,
f=this.getTolerance(),g=this,k={currentState:null,currentLink:null,highlight:null!=a&&""!=a&&a!=mxConstants.NONE?new mxCellHighlight(g,a,4):null,startX:0,startY:0,scrollLeft:0,scrollTop:0,updateCurrentState:function(a){a=g.view.getState(a.getCell());a!=this.currentState&&(null!=this.currentState&&this.clear(),this.currentState=a,null!=this.currentState&&this.activate(this.currentState))},mouseDown:function(a,b){this.startX=b.getGraphX();this.startY=b.getGraphY();this.scrollLeft=g.container.scrollLeft;
this.scrollTop=g.container.scrollTop;null==this.currentLink&&"auto"==g.container.style.overflow&&(g.container.style.cursor="move");this.updateCurrentState(b)},mouseMove:function(a,b){if(g.isMouseDown){if(null!=this.currentLink){var d=Math.abs(this.startX-b.getGraphX()),e=Math.abs(this.startY-b.getGraphY());(d>f||e>f)&&this.clear()}}else"a"==b.getSource().nodeName.toLowerCase()?this.clear():null!=this.currentState&&(b.getState()==this.currentState||null==b.getState())&&g.intersects(this.currentState,
b.getGraphX(),b.getGraphY())||this.updateCurrentState(b)},mouseUp:function(a,e){var c=e.getSource(),k=this.currentLink;this.clear();if("a"!=c.nodeName.toLowerCase()&&!e.isConsumed()&&(null==e.getState()||!e.isSource(e.getState().control))&&(mxEvent.isLeftMouseButton(e.getEvent())||mxEvent.isTouchEvent(e.getEvent())))null!=k?(g.isBlankLink(k)?window.open(k):(null!=b&&b(e.getEvent()),"#"==k.charAt(0)?window!=window.top?window.open(g.baseUrl+k,"_top"):window.location.hash=k:window!=window.top?window.open(g.getAbsoluteUrl(k),
"_top"):window.location=k),e.consume()):null!=d&&!e.isConsumed()&&Math.abs(this.scrollLeft-g.container.scrollLeft)<f&&(Math.abs(this.scrollTop-g.container.scrollTop)<f&&Math.abs(this.startX-e.getGraphX())<f&&Math.abs(this.startY-e.getGraphY())<f)&&d(e.getEvent())},activate:function(a){this.currentLink=g.getLinkUrl(g.getLinkForCell(a.cell));null!=this.currentLink&&(g.container.style.cursor="pointer",null!=this.highlight&&this.highlight.highlight(a))},clear:function(){null!=g.container&&(g.container.style.cursor=
c);this.currentLink=this.currentState=null;null!=this.highlight&&this.highlight.hide()}};g.click=function(a){};g.addMouseListener(k);mxEvent.addListener(document,"mouseleave",function(a){k.clear()})};Graph.prototype.duplicateCells=function(a,b){a=null!=a?a:this.getSelectionCells();b=null!=b?b:!0;a=this.model.getTopmostCells(a);var d=this.getModel(),e=this.gridSize,c=[];d.beginUpdate();try{for(var f=this.cloneCells(a,!1),g=0;g<a.length;g++){var k=d.getParent(a[g]),l=this.moveCells([f[g]],e,e,!1,k)[0];
c.push(l);if(b)d.add(k,f[g]);else{var m=k.getIndex(a[g]);d.add(k,f[g],m+1)}}}finally{d.endUpdate()}return c};Graph.prototype.insertImage=function(a,b,d){if(null!=a){for(var e=this.cellEditor.textarea.getElementsByTagName("img"),c=[],f=0;f<e.length;f++)c.push(e[f]);document.execCommand("insertimage",!1,a);a=this.cellEditor.textarea.getElementsByTagName("img");if(a.length==c.length+1)for(f=a.length-1;0<=f;f--)if(0==f||a[f]!=c[f-1]){a[f].setAttribute("width",b);a[f].setAttribute("height",d);break}}};
Graph.prototype.isCellResizable=function(a){var b=mxGraph.prototype.isCellResizable.apply(this,arguments),d=this.view.getState(a),d=null!=d?d.style:this.getCellStyle(a);return b||"0"!=mxUtils.getValue(d,mxConstants.STYLE_RESIZABLE,"1")&&"wrap"==d[mxConstants.STYLE_WHITE_SPACE]};Graph.prototype.distributeCells=function(a,b){null==b&&(b=this.getSelectionCells());if(null!=b&&1<b.length){for(var d=[],e=null,c=null,f=0;f<b.length;f++)if(this.getModel().isVertex(b[f])){var g=this.view.getState(b[f]);if(null!=
g){var k=a?g.getCenterX():g.getCenterY(),e=null!=e?Math.max(e,k):k,c=null!=c?Math.min(c,k):k;d.push(g)}}if(2<d.length){d.sort(function(b,d){return a?b.x-d.x:b.y-d.y});g=this.view.translate;k=this.view.scale;c=c/k-(a?g.x:g.y);e=e/k-(a?g.x:g.y);this.getModel().beginUpdate();try{for(var l=(e-c)/(d.length-1),e=c,f=1;f<d.length-1;f++){var m=this.getCellGeometry(d[f].cell),e=e+l;null!=m&&(m=m.clone(),a?m.x=Math.round(e-m.width/2):m.y=Math.round(e-m.height/2),this.getModel().setGeometry(d[f].cell,m))}}finally{this.getModel().endUpdate()}}}return b};
Graph.prototype.isCloneEvent=function(a){return mxClient.IS_MAC&&mxEvent.isMetaDown(a)||mxEvent.isControlDown(a)};Graph.prototype.encodeCells=function(a){for(var b=this.cloneCells(a),d=0;d<b.length;d++){var e=this.view.getState(a[d]);if(null!=e){var c=this.getCellGeometry(b[d]);null!=c&&c.relative&&(c.relative=!1,c.x=e.x/e.view.scale-e.view.translate.x,c.y=e.y/e.view.scale-e.view.translate.y)}}for(var e=new mxCodec,c=new mxGraphModel,f=c.getChildAt(c.getRoot(),0),d=0;d<a.length;d++)c.add(f,b[d]);
return e.encode(c)};Graph.prototype.createSvgImageExport=function(){var a=new mxImageExport;a.getLinkForCellState=mxUtils.bind(this,function(a,b){return this.getLinkForCell(a.cell)});return a};Graph.prototype.getSvg=function(a,b,d,e,c,f,g){b=null!=b?b:1;d=null!=d?d:1;c=null!=c?c:!0;f=null!=f?f:!0;g=null!=g?g:!0;e=e?this.view.getBackgroundPageBounds():f?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells());if(null==e)throw Error(mxResources.get("drawingEmpty"));var k=this.createSvgImageExport(),
l=k.drawCellState;k.drawCellState=function(a,b){(f||a.view.graph.isCellSelected(a.cell))&&l.apply(this,arguments)};var m=this.view.scale,n=mxUtils.createXmlDocument(),q=null!=n.createElementNS?n.createElementNS(mxConstants.NS_SVG,"svg"):n.createElement("svg");null!=a&&(null!=q.style?q.style.backgroundColor=a:q.setAttribute("style","background-color:"+a));null==n.createElementNS?(q.setAttribute("xmlns",mxConstants.NS_SVG),q.setAttribute("xmlns:xlink",mxConstants.NS_XLINK)):q.setAttributeNS("http://www.w3.org/2000/xmlns/",
"xmlns:xlink",mxConstants.NS_XLINK);a=b/m;q.setAttribute("width",Math.ceil(e.width*a)+2*d+"px");q.setAttribute("height",Math.ceil(e.height*a)+2*d+"px");q.setAttribute("version","1.1");var t=q;c&&(t=null!=n.createElementNS?n.createElementNS(mxConstants.NS_SVG,"g"):n.createElement("g"),t.setAttribute("transform","translate(0.5,0.5)"),q.appendChild(t));n.appendChild(q);n=new mxSvgCanvas2D(t);n.foOffset=c?-0.5:0;n.textOffset=c?-0.5:0;n.translate(Math.floor((d/b-e.x)/m),Math.floor((d/b-e.y)/m));var p=
n.createAlternateContent;n.createAlternateContent=function(a,b,d,e,c,f,g,k,l,m,n,q,t){var u=this.state;if(null!=this.foAltText&&(0==e||0!=u.fontSize&&f.length<5*e/u.fontSize)){var r=this.createElement("text");r.setAttribute("x",Math.round(e/2));r.setAttribute("y",Math.round((c+u.fontSize)/2));r.setAttribute("fill",u.fontColor||"black");r.setAttribute("text-anchor","middle");r.setAttribute("font-size",Math.round(u.fontSize)+"px");r.setAttribute("font-family",u.fontFamily);(u.fontStyle&mxConstants.FONT_BOLD)==
mxConstants.FONT_BOLD&&r.setAttribute("font-weight","bold");(u.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&r.setAttribute("font-style","italic");(u.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&r.setAttribute("text-decoration","underline");mxUtils.write(r,f);return r}return p.apply(this,arguments)};d=this.backgroundImage;null!=d&&(c=m/b,b=this.view.translate,c=new mxRectangle(b.x*c,b.y*c,d.width*c,d.height*c),mxUtils.intersects(e,c)&&n.image(b.x,b.y,d.width,d.height,
d.src,!0));n.scale(a);n.textEnabled=g;k.drawState(this.getView().getState(this.model.root),n);return q};Graph.prototype.getSelectedElement=function(){var a=null;if(window.getSelection){var b=window.getSelection();b.getRangeAt&&b.rangeCount&&(a=b.getRangeAt(0).commonAncestorContainer)}else document.selection&&(a=document.selection.createRange().parentElement());return a};Graph.prototype.getParentByName=function(a,b,d){for(;null!=a&&a.nodeName!=b;){if(a==d)return null;a=a.parentNode}return a};Graph.prototype.selectNode=
function(a){var b=null;if(window.getSelection){if(b=window.getSelection(),b.getRangeAt&&b.rangeCount){var d=document.createRange();d.selectNode(a);b.removeAllRanges();b.addRange(d)}}else if((b=document.selection)&&"Control"!=b.type)a=b.createRange(),a.collapse(!0),d=b.createRange(),d.setEndPoint("StartToStart",a),d.select()};Graph.prototype.insertRow=function(a,b){for(var d=a.tBodies[0],e=0<d.rows.length?d.rows[0].cells.length:1,d=d.insertRow(b),c=0;c<e;c++)mxUtils.br(d.insertCell(-1));return d.cells[0]};
Graph.prototype.deleteRow=function(a,b){a.tBodies[0].deleteRow(b)};Graph.prototype.insertColumn=function(a,b){var d=a.tHead;if(null!=d)for(var e=0;e<d.rows.length;e++){var c=document.createElement("th");d.rows[e].appendChild(c);mxUtils.br(c)}d=a.tBodies[0];for(e=0;e<d.rows.length;e++)c=d.rows[e].insertCell(b),mxUtils.br(c);return d.rows[0].cells[0<=b?b:d.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(a,b){if(0<=b)for(var d=a.tBodies[0].rows,e=0;e<d.length;e++)d[e].cells.length>b&&
d[e].deleteCell(b)};Graph.prototype.pasteHtmlAtCaret=function(a){var b;if(window.getSelection){if(b=window.getSelection(),b.getRangeAt&&b.rangeCount){b=b.getRangeAt(0);b.deleteContents();var d=document.createElement("div");d.innerHTML=a;a=document.createDocumentFragment();for(var e;e=d.firstChild;)lastNode=a.appendChild(e);b.insertNode(a)}}else(b=document.selection)&&"Control"!=b.type&&b.createRange().pasteHTML(a)};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=
this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(a,b){this.popupMenuHandler.hideMenu()});var a=this.updateMouseEvent;this.updateMouseEvent=function(b){b=a.apply(this,arguments);if(mxEvent.isTouchEvent(b.getEvent())&&null==b.getState()){var d=this.getCellAt(b.graphX,b.graphY);null!=d&&this.isSwimlane(d)&&this.hitsSwimlaneContent(d,b.graphX,b.graphY)||(b.state=this.view.getState(d),null!=b.state&&null!=b.state.shape&&(this.container.style.cursor=b.state.shape.node.style.cursor))}null==
b.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return b};var b=!1,d=!1,e=!1,c=this.fireMouseEvent;this.fireMouseEvent=function(a,f,g){a==mxEvent.MOUSE_DOWN&&(f=this.updateMouseEvent(f),b=this.isCellSelected(f.getCell()),d=this.isSelectionEmpty(),e=this.popupMenuHandler.isMenuShowing());c.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(a,c){this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==c.getState()||!c.isSource(c.getState().control))&&
(this.popupMenuHandler.popupTrigger||!e&&!mxEvent.isMouseEvent(c.getEvent())&&(d&&null==c.getCell()&&this.isSelectionEmpty()||b&&this.isCellSelected(c.getCell())));mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,arguments)})};mxCellEditor.prototype.isContentEditing=function(){var a=this.graph.view.getState(this.editingCell);return null!=a&&1==a.style.html};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){if(sel=window.getSelection(),sel.getRangeAt&&sel.rangeCount){for(var a=
[],b=0,d=sel.rangeCount;b<d;++b)a.push(sel.getRangeAt(b));return a}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(a){if(a)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var b=0,d=a.length;b<d;++b)sel.addRange(a[b])}else document.selection&&a.select&&a.select()};var a=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(b){null!=
b.text&&(b.text.replaceLinefeeds="0"!=mxUtils.getValue(b.style,"nl2Br","1"));a.apply(this,arguments)};var e=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(a,b){this.isKeepFocusEvent(a)||!mxEvent.isAltDown(a.getEvent())?e.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(a){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var g=mxCellEditor.prototype.startEditing;
mxCellEditor.prototype.startEditing=function(a,b){g.apply(this,arguments);var d=this.graph.view.getState(a);this.textarea.className=null!=d&&1==d.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(a);null==this.textarea&&this.init();var d=this.graph.getModel().getParent(a),e=this.graph.getCellGeometry(a);this.graph.getModel().isEdge(d)&&null!=e&&e.relative||this.graph.getModel().isEdge(a)?mxClient.IS_QUIRKS?
this.textarea.style.border="gray dotted 1px":this.textarea.style.outline=mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_FF&&mxClient.IS_WIN?"gray dotted 1px":"":mxClient.IS_QUIRKS&&(this.textarea.style.outline="none",this.textarea.style.border="")};var k=mxCellEditor.prototype.installListeners;mxCellEditor.prototype.installListeners=function(a){function b(a,d){d.originalNode=a;a=a.firstChild;for(var e=d.firstChild;null!=a&&null!=e;)b(a,e),a=a.nextSibling,e=e.nextSibling;return d}function d(a,b){if(b.originalNode!=
a)e(a);else{a=a.firstChild;for(b=b.firstChild;null!=a;){var c=a.nextSibling;null==b?e(a):(d(a,b),b=b.nextSibling);a=c}}}function e(a){for(var b=a.firstChild;null!=b;){var d=b.nextSibling;e(b);b=d}(1!=a.nodeType||"BR"!==a.nodeName&&null==a.firstChild)&&(3!=a.nodeType||0==mxUtils.trim(mxUtils.getTextContent(a)).length)?a.parentNode.removeChild(a):(3==a.nodeType&&mxUtils.setTextContent(a,mxUtils.getTextContent(a).replace(/\n|\r/g,"")),1==a.nodeType&&(a.removeAttribute("style"),a.removeAttribute("class"),
a.removeAttribute("width"),a.removeAttribute("cellpadding"),a.removeAttribute("cellspacing"),a.removeAttribute("border")))}k.apply(this,arguments);!mxClient.IS_QUIRKS&&7!==document.documentMode&&8!==document.documentMode&&mxEvent.addListener(this.textarea,"paste",mxUtils.bind(this,function(a){var e=b(this.textarea,this.textarea.cloneNode(!0));window.setTimeout(mxUtils.bind(this,function(){d(this.textarea,e)}),0)}))};mxCellEditor.prototype.toggleViewMode=function(){var a=this.graph.view.getState(this.editingCell),
b=null!=a&&"0"!=mxUtils.getValue(a.style,"nl2Br","1"),d=this.saveSelection();if(this.codeViewMode){k=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<k.length&&"\n"==k.charAt(k.length-1)&&(k=k.substring(0,k.length-1));k=this.graph.sanitizeHtml(b?k.replace(/\n/g,"\x3cbr/\x3e"):k);this.textarea.className="mxCellEditor geContentEditable";var e=mxUtils.getValue(a.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),b=mxUtils.getValue(a.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),
c=mxUtils.getValue(a.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),f=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,g=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,a=(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(e*mxConstants.LINE_HEIGHT)+
"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(e)+"px";this.textarea.style.textDecoration=a?"underline":"";this.textarea.style.fontWeight=f?"bold":"normal";this.textarea.style.fontStyle=g?"italic":"";this.textarea.style.fontFamily=b;this.textarea.style.textAlign=c;this.textarea.style.padding="0px";this.textarea.innerHTML!=k&&(this.textarea.innerHTML=k,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));
this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerHTML="");var k=mxUtils.htmlEntities(this.textarea.innerHTML);!mxClient.IS_QUIRKS&&8!=document.documentMode&&(k=mxUtils.replaceTrailingNewlines(k,"\x3cdiv\x3e\x3cbr\x3e\x3c/div\x3e"));k=this.graph.sanitizeHtml(b?k.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"\x3cbr\x3e"):k);this.textarea.className="mxCellEditor mxPlainTextEditor";e=mxConstants.DEFAULT_FONTSIZE;
this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(e*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(e)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.padding="2px";this.textarea.innerHTML!=k&&(this.textarea.innerHTML=k);this.codeViewMode=!0}this.textarea.focus();
null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=d;this.resize()};var l=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(a,b){a=this.graph.getView().getState(this.editingCell);if(this.codeViewMode&&null!=a){var d=a.view.scale;this.bounds=mxRectangle.fromRectangle(a);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*d;this.bounds.height=60*d;var e=null!=a.text?a.text.margin:null;null==e&&(e=mxUtils.getAlignmentAsPoint(mxUtils.getValue(a.style,
mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=e.x*this.bounds.width;this.bounds.y+=e.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/d)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/d)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/d)+(this.textarea.offsetHeight-
this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*d);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/d)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*d);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxClient.IS_VML?this.textarea.style.zoom=d:mxUtils.setPrefixedStyle(this.textarea.style,
"transform","scale("+d+","+d+")")}else this.textarea.style.height="",this.textarea.style.overflow="",l.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(a,b){if("0"==mxUtils.getValue(a.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var d=this.graph.getEditingValue(a.cell,b);"1"==mxUtils.getValue(a.style,"nl2Br","1")&&(d=d.replace(/\n/g,"\x3cbr/\x3e"));return this.graph.sanitizeHtml(d)};
mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(a){if("0"==mxUtils.getValue(a.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var b=this.graph.sanitizeHtml(this.textarea.innerHTML);return"1"==mxUtils.getValue(a.style,"nl2Br","1")?b.replace(/\r\n/g,"\x3cbr/\x3e").replace(/\n/g,"\x3cbr/\x3e"):b.replace(/\r\n/g,"").replace(/\n/g,"")};var m=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=
function(a){this.codeViewMode&&this.toggleViewMode();m.apply(this,arguments);try{this.graph.container.focus()}catch(b){}};var n=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(a,b){this.graph.getModel().beginUpdate();try{if(n.apply(this,arguments),this.graph.isCellDeletable(a.cell)){var d=mxUtils.getValue(a.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),e=mxUtils.getValue(a.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);""==mxUtils.trim(b||"")&&d==mxConstants.NONE&&
e==mxConstants.NONE&&this.graph.removeCells([a.cell],!1)}}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(a){var b=null;if(this.graph.getModel().isEdge(a.cell)||this.graph.getModel().isEdge(this.graph.getModel().getParent(a.cell)))b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null),b==mxConstants.NONE&&(b=null);return b};mxCellEditor.prototype.getMinimumSize=function(a){var b=this.graph.getView().scale;return new mxRectangle(0,0,
null==a.text?30:a.text.size*b+20,30)};mxGraphHandler.prototype.updateHint=function(a){if(null!=this.shape){null==this.hint&&(this.hint=b(),this.graph.container.appendChild(this.hint));var d=this.graph.view.translate,e=this.graph.view.scale;a=this.roundLength((this.bounds.x+this.currentDx)/e-d.x);d=this.roundLength((this.bounds.y+this.currentDy)/e-d.y);this.hint.innerHTML=a+", "+d;this.hint.style.left=this.shape.bounds.x+Math.round((this.shape.bounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=
this.shape.bounds.y+this.shape.bounds.height+12+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(this.hint.parentNode.removeChild(this.hint),this.hint=null)};mxVertexHandler.prototype.isRecursiveResize=function(a,b){return!this.graph.isSwimlane(a.cell)&&0<this.graph.model.getChildCount(a.cell)&&!mxEvent.isControlDown(b.getEvent())&&!this.graph.isCellCollapsed(a.cell)&&"1"==mxUtils.getValue(a.style,"recursiveResize","1")&&null==mxUtils.getValue(a.style,"childLayout",null)};mxVertexHandler.prototype.isCenteredEvent=
function(a,b){return!(!this.graph.isSwimlane(a.cell)&&0<this.graph.model.getChildCount(a.cell)&&!this.graph.isCellCollapsed(a.cell)&&"1"==mxUtils.getValue(a.style,"recursiveResize","1")&&null==mxUtils.getValue(a.style,"childLayout",null))&&mxEvent.isControlDown(b.getEvent())||mxEvent.isMetaDown(b.getEvent())};var p=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var a=new mxPoint(0,0),b=this.tolerance;this.graph.cellEditor.getEditingCell()==this.state.cell&&
null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(b/=2,a.x=this.sizers[0].bounds.width+b,a.y=this.sizers[0].bounds.height+b):a=p.apply(this,arguments);return a};mxVertexHandler.prototype.updateHint=function(a){this.index!=mxEvent.LABEL_HANDLE&&(null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint)),this.index==mxEvent.ROTATION_HANDLE?this.hint.innerHTML=this.currentAlpha+"\x26deg;":(a=this.state.view.scale,this.hint.innerHTML=this.roundLength(this.bounds.width/
a)+" x "+this.roundLength(this.bounds.height/a)),a=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0"),null==a&&(a=this.bounds),this.hint.style.left=a.x+Math.round((a.width-this.hint.clientWidth)/2)+"px",this.hint.style.top=a.y+a.height+12+"px")};mxVertexHandler.prototype.removeHint=mxGraphHandler.prototype.removeHint;mxEdgeHandler.prototype.updateHint=function(a,d){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));
var e=this.graph.view.translate,c=this.graph.view.scale,f=this.roundLength(d.x/c-e.x),e=this.roundLength(d.y/c-e.y);this.hint.innerHTML=f+", "+e;this.hint.style.visibility="visible";if(this.isSource||this.isTarget)null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(f=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*f.x)+"%, "+Math.round(100*f.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=
Math.round(a.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(a.getGraphY(),d.y)+this.state.view.graph.gridSize+"px";null!=this.hideEdgeHintThread&&window.clearTimeout(this.hideEdgeHintThread);this.hideEdgeHintThread=window.setTimeout(mxUtils.bind(this,function(){null!=this.hint&&(this.hint.style.visibility="hidden")}),500)};mxEdgeHandler.prototype.removeHint=mxGraphHandler.prototype.removeHint;var r=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAACXBIWXMAAAsTAAALEwEAmpwYAAABLUlEQVQ4y61US4rCQBBNeojiRrLSnbMOWWU3V1FPouARcgc9hyLOCSSbYZw5gRCIkM9KbevJaycS4zCOBY+iq6pf1y+xrNtiE6oEY/tVzMUXgSNoCJrUDu3qHpldutwSuIKOoEvt0m7I7DoCvNj2fb8XRdEojuN5lmVraJxhh59xFSLFF9phGL7lef6hRb63R73aHM8aAjv8JHJ47yqLlud5r0VRbHa51sPZQVuT/QU4ww4/4ljaJRubrC5SxouD6TWBQV/sEIkbs0eOIVGssSO1L5D6LQID+BHHZjdMSYpj7KZpun7/uk8CP5rNqTXLJP/OpNyTMWruP9CTP08nCILKdCp7gkCzJ8vPnz2BvW5PKhuLjJBykiQLaWIEjTP3o3Zjn/LtPO0rfvh/cgKu7z6wtPPltQAAAABJRU5ErkJggg\x3d\x3d":
IMAGE_PATH+"/handle-main.png",17,17),s=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NkE1NkU4Njk2QjI1MTFFNEFDMjFGQTcyODkzNTc3NkYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NkE1NkU4NkE2QjI1MTFFNEFDMjFGQTcyODkzNTc3NkYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2QTU2RTg2NzZCMjUxMUU0QUMyMUZBNzI4OTM1Nzc2RiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo2QTU2RTg2ODZCMjUxMUU0QUMyMUZBNzI4OTM1Nzc2RiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pmuk6K8AAAGBSURBVHjarFRBSsNQEM3/atNs6qLowixcKELoqjuXoqfQeoF6BMEj9BCC1YIXcCGlV8hGLNZlBKWlCk1JSs13Xvw/nca6UDrwmMzMy8tk/iTCWmwi52Eq53+QeWwg2bXSSNi1WiRibgRWCTahwEQmhJgw1WJGML2BC6wQnEqlsuH7fr3f7zdHo9EdPGLkUdc8mX8TJNYIpUajsR+G4YMie3pNVKebpB6GPOrgab7kr5F24Hne9ng87r6HStUuP5V1Mc2AGHnUwWMdCck6sVut1onjOHtnt4nV7M0fAuI65VEnXk3PTFq5Eyi4rnvUe1PW9fO3QOdUzvkbyqNOvEM2dMEHK2zbLr98zJ5+cJWkAvDGUC8Wi2X28Gww6bnHcTzYWp+JGAHTCQz1KIoGfFckCyZBELR3N4V1vCOyTrhHHnXw9N5kQn8+nWq1Onc6C/cERLMn7cfZniD/257wbjDxEjqiDT0fDof3tLE+PGK9HyXNy7pYyrez9K/43/+TLwEGAMb7AY6w980DAAAAAElFTkSuQmCC":
IMAGE_PATH+"/handle-fixed.png",17,17),q=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MEMzRUVERTk2NzU1MTFFNTg5NjNEMjREQ0FFNENFQzgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MEMzRUVERUE2NzU1MTFFNTg5NjNEMjREQ0FFNENFQzgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowQzNFRURFNzY3NTUxMUU1ODk2M0QyNERDQUU0Q0VDOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowQzNFRURFODY3NTUxMUU1ODk2M0QyNERDQUU0Q0VDOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Poj8AGUAAAF6SURBVHjarFTBSsNAEM2u2jSXeCh6sAcPilB6ys2j6Fdo/YH6CYKf0I8QrBb8AQ9S+gu5iMV6jKC0VCEJTalZ54VNnMR4ULrwmJ2Zt5PZmdkIo3yJgsRSBfmDzPUUku2VRsz2qixIehBYJZiECgsyJ0SEhQ6WBkwO8AArBKvZbG64rtsej8dd3/fvIKHDDr/myeJNYFgj2J1OZz8IggdF6+k1VoNhnEgs2OEHT/Mlv0aSQaPR2A7DcPgeKNW6/FTGxSIDdNjhB49lJCTLxOz1eieWZe2d3cZGd5RvAvQ22eEnXkvXTBqFDlTq9frR6E0Z18+qtO83ZIefeIes6IIXVpimWXv5yB8cnMqcDn+1Wq2xj2eFSfoeRdFkaz0f5OAqzunwz2azCZ8VyZS553n93U1hHO+I0uvADj94em6yQH/ujuM4ue6UzgmI6Zz0H7/nBPbf5oRng4rbyIgm9Hw6nd7TxLqQ0PV82JqXZbGUt7P0V/zv/8mXAAMASSz1f9Cd7ycAAAAASUVORK5CYII\x3d":
IMAGE_PATH+"/handle-terminal.png",17,17),t=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MEJBMUVERjNEMkZDMTFFM0I0Qzc5RkE1RTc2NjI0OUIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MEJBMUVERjREMkZDMTFFM0I0Qzc5RkE1RTc2NjI0OUIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowQkExRURGMUQyRkMxMUUzQjRDNzlGQTVFNzY2MjQ5QiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowQkExRURGMkQyRkMxMUUzQjRDNzlGQTVFNzY2MjQ5QiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvXDOj4AAAFqSURBVHjarFTNToNAEN5FLeiBmDRe7MGLF4IXbp71KapP4CPoO/QdvKiv4ME0PkAvJI2J0SueIHgAAk3b7XxkwSlgE38mmSwz8+3HsPMtUnSbbKww1VhbYB5XbrBnpX3JnlUXSbURvk1ukvcYyYy8IJ9rsoqw3MAJtsh3Xdc98H3/KgzDuyRJHrEiRh51jTOaX4LEDrk9Go1O0zR9UWTL9E0to+dyhSGPOnAab/DPKDtwHOcoy7LXz1SpxeRSzW9F7YiRRx041pGsSMC6Ty1f442LycUawRfRsOyIcDfA632ST6A3GAzOVfYu1PS+c+5q+iBQJ9wZO3TJD1aaptkX+YfYaFS3LKvPXl4fTDn3oigiYR1uJqF6nucR14rBglkQBGO5dyzkybBbxpRHHTitm5rox9PxPK81nZZOAKx1Eo5rnSD/nU54NzhxGx1hjHEcP5FifayItT5sjVvTyJ/vzr/f4l//T1YCDAC4VAdLL1OIRAAAAABJRU5ErkJggg\x3d\x3d":
IMAGE_PATH+"/handle-secondary.png",17,17),u=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAVCAYAAACkCdXRAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAA6ZJREFUeNqM001IY1cUB/D/fYmm2sbR2lC1zYlgoRG6MpEyBlpxM9iFIGKFIm3s0lCKjOByhCLZCFqLBF1YFVJdSRbdFHRhBbULtRuFVBTzYRpJgo2mY5OX5N9Fo2TG+eiFA/dd3vvd8+65ByTxshARTdf1JySp6/oTEdFe9T5eg5lIcnBwkCSZyWS+exX40oyur68/KxaLf5Okw+H4X+A9JBaLfUySZ2dnnJqaosPhIAACeC34DJRKpb7IZrMcHx+nwWCgUopGo/EOKwf9fn/1CzERUevr6+9ls1mOjIwQAH0+H4PBIKPR6D2ofAQCgToRUeVYJUkuLy8TANfW1kiS8/PzCy84Mw4MDBAAZ2dnmc/nub+/X0MSEBF1cHDwMJVKsaGhgV6vl+l0mqOjo1+KyKfl1dze3l4NBoM/PZ+diFSLiIKIGBOJxA9bW1sEwNXVVSaTyQMRaRaRxrOzs+9J8ujoaE5EPhQRq67rcZ/PRwD0+/3Udf03EdEgIqZisZibnJykwWDg4eEhd3Z2xkXELCJvPpdBrYjUiEhL+Xo4HH4sIhUaAKNSqiIcDsNkMqG+vh6RSOQQQM7tdhsAQCkFAHC73UUATxcWFqypVApmsxnDw8OwWq2TADQNgAYAFosF+XweyWQSdru9BUBxcXFRB/4rEgDcPouIIx6P4+bmBi0tLSCpAzBqAIqnp6c/dnZ2IpfLYXNzE62traMADACKNputpr+/v8lms9UAKAAwiMjXe3t7KBQKqKurQy6Xi6K0i2l6evpROp1mbW0t29vbGY/Hb8/IVIqq2zlJXl1dsaOjg2azmefn5wwEAl+JSBVExCgi75PkzMwMlVJsbGxkIpFgPp8PX15ePopEIs3JZPITXdf/iEajbGpqolKKExMT1HWdHo/nIxGpgIgoEXnQ3d39kCTHxsYIgC6Xi3NzcwyHw8xkMozFYlxaWmJbWxuVUuzt7WUul6PX6/1cRN4WEe2uA0SkaWVl5XGpRVhdXU0A1DSNlZWVdz3qdDrZ09PDWCzG4+Pjn0XEWvp9KJKw2WwKwBsA3gHQHAqFfr24uMDGxgZ2d3cRiUQAAHa7HU6nE319fTg5Ofmlq6vrGwB/AngaCoWK6rbsNptNA1AJoA7Aux6Pp3NoaMhjsVg+QNmIRqO/u1yubwFEASRKUAEA7rASqABUAKgC8KAUb5XWCOAfAFcA/gJwDSB7C93DylCtdM8qABhLc5TumV6KQigUeubjfwcAHkQJ94ndWeYAAAAASUVORK5CYII\x3d":
IMAGE_PATH+"/handle-rotate.png",19,21);mxVertexHandler.prototype.handleImage=r;mxVertexHandler.prototype.secondaryHandleImage=t;mxEdgeHandler.prototype.handleImage=r;mxEdgeHandler.prototype.terminalHandleImage=q;mxEdgeHandler.prototype.fixedHandleImage=s;mxEdgeHandler.prototype.labelHandleImage=t;mxOutline.prototype.sizerImage=r;null!=window.Sidebar&&(Sidebar.prototype.triangleUp=HoverIcons.prototype.triangleUp,Sidebar.prototype.triangleRight=HoverIcons.prototype.triangleRight,Sidebar.prototype.triangleDown=
HoverIcons.prototype.triangleDown,Sidebar.prototype.triangleLeft=HoverIcons.prototype.triangleLeft,Sidebar.prototype.refreshTarget=HoverIcons.prototype.refreshTarget,Sidebar.prototype.roundDrop=HoverIcons.prototype.roundDrop);mxClient.IS_SVG||((new Image).src=r.src,(new Image).src=s.src,(new Image).src=q.src,(new Image).src=t.src,(new Image).src=u.src,(new Image).src=HoverIcons.prototype.triangleUp.src,(new Image).src=HoverIcons.prototype.triangleRight.src,(new Image).src=HoverIcons.prototype.triangleDown.src,
(new Image).src=HoverIcons.prototype.triangleLeft.src,(new Image).src=HoverIcons.prototype.refreshTarget.src,(new Image).src=HoverIcons.prototype.roundDrop.src);mxVertexHandler.prototype.rotationEnabled=!0;mxVertexHandler.prototype.manageSizers=!0;mxVertexHandler.prototype.livePreview=!0;mxRubberband.prototype.defaultOpacity=30;mxConnectionHandler.prototype.outlineConnect=!0;mxCellHighlight.prototype.keepOnTop=!0;mxVertexHandler.prototype.parentHighlightEnabled=!0;mxVertexHandler.prototype.rotationHandleVSpacing=
-20;mxEdgeHandler.prototype.parentHighlightEnabled=!0;mxEdgeHandler.prototype.dblClickRemoveEnabled=!0;mxEdgeHandler.prototype.straightRemoveEnabled=!0;mxEdgeHandler.prototype.virtualBendsEnabled=!0;mxEdgeHandler.prototype.mergeRemoveEnabled=!0;mxEdgeHandler.prototype.manageLabelHandle=!0;mxEdgeHandler.prototype.outlineConnect=!0;mxEdgeHandler.prototype.isAddVirtualBendEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};mxEdgeHandler.prototype.isCustomHandleEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};
if(Graph.touchStyle){if(mxClient.IS_TOUCH||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)mxShape.prototype.svgStrokeTolerance=18,mxVertexHandler.prototype.tolerance=12,mxEdgeHandler.prototype.tolerance=12,Graph.prototype.tolerance=12,mxVertexHandler.prototype.rotationHandleVSpacing=-24,mxConstraintHandler.prototype.getTolerance=function(a){return mxEvent.isMouseEvent(a.getEvent())?4:this.graph.getTolerance()};mxPanningHandler.prototype.isPanningTrigger=function(a){var b=a.getEvent();return null==
a.getState()&&!mxEvent.isMouseEvent(b)||mxEvent.isPopupTrigger(b)&&(null==a.getState()||mxEvent.isControlDown(b)||mxEvent.isShiftDown(b))};var v=mxGraphHandler.prototype.mouseDown;mxGraphHandler.prototype.mouseDown=function(a,b){v.apply(this,arguments);mxEvent.isTouchEvent(b.getEvent())&&this.graph.isCellSelected(b.getCell())&&1<this.graph.getSelectionCount()&&(this.delayedSelection=!1)}}else mxPanningHandler.prototype.isPanningTrigger=function(a){var b=a.getEvent();return mxEvent.isLeftMouseButton(b)&&
(this.useLeftButtonForPanning&&null==a.getState()||mxEvent.isControlDown(b)&&!mxEvent.isShiftDown(b))||this.usePopupTrigger&&mxEvent.isPopupTrigger(b)};mxRubberband.prototype.isSpaceEvent=function(a){return this.graph.isEnabled()&&!this.graph.isCellLocked(this.graph.getDefaultParent())&&mxEvent.isControlDown(a.getEvent())&&mxEvent.isShiftDown(a.getEvent())};mxRubberband.prototype.mouseUp=function(a,b){var d=null!=this.div&&"none"!=this.div.style.display,e=null,c=null,f=null,g=null;null!=this.first&&
null!=this.currentX&&null!=this.currentY&&(e=this.first.x,c=this.first.y,f=(this.currentX-e)/this.graph.view.scale,g=(this.currentY-c)/this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(f=this.graph.snap(f),g=this.graph.snap(g)));this.reset();if(d){if(this.isSpaceEvent(b)){this.graph.model.beginUpdate();try{for(var k=this.graph.getCellsBeyond(e,c,this.graph.getDefaultParent(),!0,!1),l=this.graph.getCellsBeyond(e,c,this.graph.getDefaultParent(),!1,!0),d=0;d<k.length;d++)if(this.graph.isCellMovable(k[d])){var m=
this.graph.view.getState(k[d]),n=this.graph.getCellGeometry(k[d]);null!=m&&null!=n&&(n=n.clone(),n.translate(f,0),this.graph.model.setGeometry(k[d],n))}for(d=0;d<l.length;d++)this.graph.isCellMovable(l[d])&&(m=this.graph.view.getState(l[d]),n=this.graph.getCellGeometry(l[d]),null!=m&&null!=n&&(n=n.clone(),n.translate(0,g),this.graph.model.setGeometry(l[d],n)))}catch(q){null!=window.console&&console.log("Error in rubberband: "+q)}finally{this.graph.model.endUpdate()}}else f=new mxRectangle(this.x,
this.y,this.width,this.height),this.graph.selectRegion(f,b.getEvent());b.consume()}};mxRubberband.prototype.mouseMove=function(a,b){if(!b.isConsumed()&&null!=this.first){var d=mxUtils.getScrollOrigin(this.graph.container),e=mxUtils.getOffset(this.graph.container);d.x-=e.x;d.y-=e.y;var c=b.getX()+d.x,f=b.getY()+d.y,g=this.first.x-c,k=this.first.y-f,l=this.graph.tolerance;if(null!=this.div||Math.abs(g)>l||Math.abs(k)>l)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(c,
f),this.isSpaceEvent(b)?(c=this.x+this.width,f=this.y+this.height,g=this.graph.view.scale,mxEvent.isAltDown(b.getEvent())||(this.width=this.graph.snap(this.width/g)*g,this.height=this.graph.snap(this.height/g)*g,this.x<this.first.x&&(this.x=c-this.width),this.y<this.first.y&&(this.y=f-this.height)),this.div.style.left=this.x+"px",this.div.style.top=d.y+e.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=Math.max(0,this.graph.container.clientHeight)+"px",this.div.style.backgroundColor=
"white",this.div.style.borderWidth="0px 1px 0px 1px",this.div.style.borderStyle="dashed",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=d.x+e.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=Math.max(0,this.graph.container.clientWidth)+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth="1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth=
"",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),b.consume()}};var z=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);z.apply(this,arguments)};var y=(new Date).getTime(),x=0,D=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(a,b,d,e){D.apply(this,arguments);
d!=this.currentTerminalState?(y=(new Date).getTime(),x=0):x=(new Date).getTime()-y;this.currentTerminalState=d};var A=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(a){return null!=this.currentTerminalState&&a.getState()==this.currentTerminalState&&2E3<x||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&A.apply(this,arguments)};mxVertexHandler.prototype.isCustomHandleEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};
mxEdgeHandler.prototype.createHandleShape=function(a,b){var d=null!=a&&0==a,e=this.state.getVisibleTerminalState(d),c=null!=a&&(0==a||a>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==a)?this.graph.getConnectionConstraint(this.state,e,d):null,d=null!=(null!=c?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(d),c):null)?this.fixedHandleImage:null!=c&&null!=e?this.terminalHandleImage:this.handleImage;if(null!=d)return d=new mxImageShape(new mxRectangle(0,
0,d.width,d.height),d.src),d.preserveImageAspect=!1,d;d=mxConstants.HANDLE_SIZE;this.preferHtml&&(d-=1);return new mxRectangleShape(new mxRectangle(0,0,d,d),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var B=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(a,b,d){this.handleImage=b==mxEvent.ROTATION_HANDLE?u:b==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return B.apply(this,arguments)};var E=mxGraphHandler.prototype.getBoundingBox;
mxGraphHandler.prototype.getBoundingBox=function(a){if(null!=a&&1==a.length){var b=this.graph.getModel(),d=b.getParent(a[0]),e=this.graph.getCellGeometry(a[0]);if(b.isEdge(d)&&null!=e&&e.relative&&(b=this.graph.view.getState(a[0]),null!=b&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox))return mxRectangle.fromRectangle(b.text.boundingBox)}return E.apply(this,arguments)};var F=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(a){var b=
this.graph.getModel(),d=b.getParent(a.cell),e=this.graph.getCellGeometry(a.cell);return b.isEdge(d)&&null!=e&&e.relative&&2>a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox?(b=a.text.unrotatedBoundingBox||a.text.boundingBox,new mxRectangle(Math.round(b.x),Math.round(b.y),Math.round(b.width),Math.round(b.height))):F.apply(this,arguments)};var G=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(a,b){var d=this.graph.getModel(),e=d.getParent(this.state.cell),
c=this.graph.getCellGeometry(this.state.cell);(this.getHandleForEvent(b)==mxEvent.ROTATION_HANDLE||!d.isEdge(e)||null==c||!c.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&G.apply(this,arguments)};mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells)};mxVertexHandler.prototype.rotateClick=
function(){this.state.view.graph.turnShapes([this.state.cell])};var H=mxVertexHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(a,b){H.apply(this,arguments);null!=this.graph.graphHandler.first&&null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display="none")};var I=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(a,b){I.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=
1==this.graph.getSelectionCount()?"":"none")};var L=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){L.apply(this,arguments);var a=!1;null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateTooltip"));var b=mxUtils.bind(this,function(){null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.specialHandle&&(this.specialHandle.node.style.display=
this.graph.isEnabled()&&this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none");this.redrawHandles()});this.selectionHandler=mxUtils.bind(this,function(a,d){b()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(a,d){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));b()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);this.editingHandler=mxUtils.bind(this,function(a,
b){this.redrawHandles()});this.graph.addListener(mxEvent.EDITING_STOPPED,this.editingHandler);var d=this.graph.getLinkForCell(this.state.cell);this.updateLinkHint(d);null!=d&&(a=!0);a&&this.redrawHandles()};mxVertexHandler.prototype.updateLinkHint=function(a){if(null==a||1<this.graph.getSelectionCount())null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);else if(null!=a){null==this.linkHint&&(this.linkHint=b(),this.linkHint.style.padding="4px 10px 6px 10px",
this.linkHint.style.fontSize="90%",this.linkHint.style.opacity="1",this.linkHint.style.filter="",this.updateLinkHint(a),this.graph.container.appendChild(this.linkHint));var d=a;60<d.length&&(d=d.substring(0,36)+"..."+d.substring(d.length-20));var e=document.createElement("a");e.setAttribute("href",this.graph.getLinkUrl(a));e.setAttribute("title",a);null!=this.graph.linkTarget&&e.setAttribute("target",this.graph.linkTarget);mxUtils.write(e,d);this.linkHint.innerHTML="";this.linkHint.appendChild(e);
this.graph.isEnabled()&&"function"===typeof this.graph.editLink&&(a=document.createElement("img"),a.setAttribute("src",IMAGE_PATH+"/edit.gif"),a.setAttribute("title",mxResources.get("editLink")),a.setAttribute("width","11"),a.setAttribute("height","11"),a.style.marginLeft="10px",a.style.marginBottom="-1px",a.style.cursor="pointer",this.linkHint.appendChild(a),mxEvent.addListener(a,"click",mxUtils.bind(this,function(a){this.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(a)})))}};
mxEdgeHandler.prototype.updateLinkHint=mxVertexHandler.prototype.updateLinkHint;var O=mxEdgeHandler.prototype.init;mxEdgeHandler.prototype.init=function(){O.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});var a=mxUtils.bind(this,function(){null!=this.linkHint&&(this.linkHint.style.display=1==this.graph.getSelectionCount()?"":"none");null!=this.labelShape&&(this.labelShape.node.style.display=this.graph.isEnabled()&&
this.graph.getSelectionCount()<this.graph.graphHandler.maxCells?"":"none")});this.selectionHandler=mxUtils.bind(this,function(b,d){a()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionHandler);this.changeHandler=mxUtils.bind(this,function(b,d){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell));a();this.redrawHandles()});this.graph.getModel().addListener(mxEvent.CHANGE,this.changeHandler);var b=this.graph.getLinkForCell(this.state.cell);null!=b&&(this.updateLinkHint(b),
this.redrawHandles())};var S=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=function(){S.apply(this,arguments);this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var W=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){W.apply(this);if(null!=this.state&&null!=this.linkHint){var a=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),b=new mxRectangle(this.state.x,this.state.y-
22,this.state.width+24,this.state.height+22),a=mxUtils.getBoundingBox(b,this.state.style[mxConstants.STYLE_ROTATION]||"0",a),b=null!=a?mxUtils.getBoundingBox(this.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state;null==a&&(a=this.state);this.linkHint.style.left=Math.round(b.x+(b.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(a.y+a.height+this.verticalOffset/2+6+this.state.view.graph.tolerance)+"px"}};var Q=mxVertexHandler.prototype.reset;mxVertexHandler.prototype.reset=
function(){Q.apply(this,arguments);null!=this.rotationShape&&null!=this.rotationShape.node&&(this.rotationShape.node.style.display=1==this.graph.getSelectionCount()?"":"none")};var C=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(){C.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=
null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};var N=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(N.apply(this),null!=this.state&&null!=this.linkHint)){var a=this.state;null!=this.state.text&&null!=this.state.text.bounds&&(a=new mxRectangle(a.x,a.y,a.width,a.height),
a.add(this.state.text.bounds));this.linkHint.style.left=Math.round(a.x+(a.width-this.linkHint.clientWidth)/2)+"px";this.linkHint.style.top=Math.round(a.y+a.height+6+this.state.view.graph.tolerance)+"px"}};var P=mxEdgeHandler.prototype.reset;mxEdgeHandler.prototype.reset=function(){P.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var M=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){M.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),
this.linkHint=null);null!=this.selectionHandler&&(this.graph.getSelectionModel().removeListener(this.selectionHandler),this.selectionHandler=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null)}}();
(function(){function b(){mxCylinder.call(this)}function c(){mxActor.call(this)}function f(){mxCylinder.call(this)}function d(){mxCylinder.call(this)}function a(){mxCylinder.call(this)}function e(){mxActor.call(this)}function g(){mxCylinder.call(this)}function k(){mxActor.call(this)}function l(){mxActor.call(this)}function m(){mxActor.call(this)}function n(){mxActor.call(this)}function p(){mxActor.call(this)}function r(){mxActor.call(this)}function s(){mxActor.call(this)}function q(a,b){this.canvas=
a;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.defaultVariation=b;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,q.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,q.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,q.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,q.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;
this.canvas.curveTo=mxUtils.bind(this,q.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,q.prototype.arcTo)}function t(){mxRectangleShape.call(this)}function u(){mxActor.call(this)}function v(){mxActor.call(this)}function z(){mxRectangleShape.call(this)}function y(){mxRectangleShape.call(this)}function x(){mxCylinder.call(this)}function D(){mxShape.call(this)}function A(){mxShape.call(this)}function B(){mxEllipse.call(this)}function E(){mxShape.call(this)}
function F(){mxShape.call(this)}function G(){mxRectangleShape.call(this)}function H(){mxShape.call(this)}function I(){mxShape.call(this)}function L(){mxShape.call(this)}function O(){mxCylinder.call(this)}function S(){mxDoubleEllipse.call(this)}function W(){mxDoubleEllipse.call(this)}function Q(){mxArrowConnector.call(this);this.spacing=0}function C(){mxArrowConnector.call(this);this.spacing=0}function N(){mxActor.call(this)}function P(){mxRectangleShape.call(this)}function M(){mxActor.call(this)}
function V(){mxActor.call(this)}function J(){mxActor.call(this)}function K(){mxActor.call(this)}function R(){mxActor.call(this)}function X(){mxActor.call(this)}function da(){mxActor.call(this)}function ca(){mxActor.call(this)}function T(){mxActor.call(this)}function Z(){mxEllipse.call(this)}function ba(){mxEllipse.call(this)}function Y(){mxEllipse.call(this)}function U(){mxRhombus.call(this)}function ia(){mxEllipse.call(this)}function ea(){mxEllipse.call(this)}function aa(){mxEllipse.call(this)}function fa(){mxEllipse.call(this)}
function ja(){mxActor.call(this)}function ga(){mxActor.call(this)}function oa(){mxActor.call(this)}function wa(a,b,d,e,c,f,g,k,l,m){g+=l;var n=e.clone();e.x-=c*(2*g+l);e.y-=f*(2*g+l);c*=g+l;f*=g+l;return function(){a.ellipse(n.x-c-g,n.y-f-g,2*g,2*g);m?a.fillAndStroke():a.stroke()}}mxUtils.extend(b,mxCylinder);b.prototype.size=20;b.prototype.redrawPath=function(a,b,d,e,c,f){b=Math.max(0,Math.min(e,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f?(a.moveTo(b,c),a.lineTo(b,b),
a.lineTo(0,0),a.moveTo(b,b),a.lineTo(e,b)):(a.moveTo(0,0),a.lineTo(e-b,0),a.lineTo(e,b),a.lineTo(e,c),a.lineTo(b,c),a.lineTo(0,c-b),a.lineTo(0,0),a.close());a.end()};mxCellRenderer.prototype.defaultShapes.cube=b;var ta=Math.tan(mxUtils.toRadians(30)),na=(0.5-ta)/2;mxUtils.extend(c,mxActor);c.prototype.size=20;c.prototype.redrawPath=function(a,b,d,e,c){b=Math.min(e,c/ta);a.translate((e-b)/2,(c-b)/2+b/4);a.moveTo(0,0.25*b);a.lineTo(0.5*b,b*na);a.lineTo(b,0.25*b);a.lineTo(0.5*b,(0.5-na)*b);a.lineTo(0,
0.25*b);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.isoRectangle=c;mxUtils.extend(f,mxCylinder);f.prototype.size=20;f.prototype.redrawPath=function(a,b,d,e,c,f){b=Math.min(e,c/(0.5+ta));f?(a.moveTo(0,0.25*b),a.lineTo(0.5*b,(0.5-na)*b),a.lineTo(b,0.25*b),a.moveTo(0.5*b,(0.5-na)*b),a.lineTo(0.5*b,(1-na)*b)):(a.translate((e-b)/2,(c-b)/2),a.moveTo(0,0.25*b),a.lineTo(0.5*b,b*na),a.lineTo(b,0.25*b),a.lineTo(b,0.75*b),a.lineTo(0.5*b,(1-na)*b),a.lineTo(0,0.75*b),a.close());a.end()};mxCellRenderer.prototype.defaultShapes.isoCube=
f;mxUtils.extend(d,mxCylinder);d.prototype.redrawPath=function(a,b,d,e,c,f){b=Math.min(c/2,Math.round(c/8)+this.strokewidth-1);if(f&&null!=this.fill||!f&&null==this.fill)a.moveTo(0,b),a.curveTo(0,2*b,e,2*b,e,b),f||(a.stroke(),a.begin()),a.translate(0,b/2),a.moveTo(0,b),a.curveTo(0,2*b,e,2*b,e,b),f||(a.stroke(),a.begin()),a.translate(0,b/2),a.moveTo(0,b),a.curveTo(0,2*b,e,2*b,e,b),f||(a.stroke(),a.begin()),a.translate(0,-b);f||(a.moveTo(0,b),a.curveTo(0,-b/3,e,-b/3,e,b),a.lineTo(e,c-b),a.curveTo(e,
c+b/3,0,c+b/3,0,c-b),a.close())};d.prototype.getLabelBounds=function(a){var b=2.5*Math.min(a.height/2,Math.round(a.height/8)+this.strokewidth-1);if(!this.flipV&&(null==this.direction||this.direction==mxConstants.DIRECTION_EAST)||this.flipV&&this.direction==mxConstants.DIRECTION_WEST)a.y+=b,a.height-=b;else if(!this.flipV&&this.direction==mxConstants.DIRECTION_SOUTH||this.flipV&&this.direction==mxConstants.DIRECTION_NORTH)a.width-=b;else if(!this.flipV&&this.direction==mxConstants.DIRECTION_WEST||
this.flipV&&(null==this.direction||this.direction==mxConstants.DIRECTION_EAST))a.height-=b;else if(!this.flipV&&this.direction==mxConstants.DIRECTION_NORTH||this.flipV&&this.direction==mxConstants.DIRECTION_SOUTH)a.x+=b,a.width-=b;return a};mxCellRenderer.prototype.defaultShapes.datastore=d;mxUtils.extend(a,mxCylinder);a.prototype.size=30;a.prototype.redrawPath=function(a,b,d,e,c,f){b=Math.max(0,Math.min(e,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f?(a.moveTo(e-b,0),
a.lineTo(e-b,b),a.lineTo(e,b)):(a.moveTo(0,0),a.lineTo(e-b,0),a.lineTo(e,b),a.lineTo(e,c),a.lineTo(0,c),a.lineTo(0,0),a.close());a.end()};mxCellRenderer.prototype.defaultShapes.note=a;mxUtils.extend(e,mxActor);e.prototype.redrawPath=function(a,b,d,e,c){a.moveTo(0,0);a.quadTo(e/2,0.5*c,e,0);a.quadTo(0.5*e,c/2,e,c);a.quadTo(e/2,0.5*c,0,c);a.quadTo(0.5*e,c/2,0,0);a.end()};mxCellRenderer.prototype.defaultShapes["switch"]=e;mxUtils.extend(g,mxCylinder);g.prototype.tabWidth=60;g.prototype.tabHeight=20;
g.prototype.tabPosition="right";g.prototype.redrawPath=function(a,b,d,e,c,f){b=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var g=mxUtils.getValue(this.style,"tabPosition",this.tabPosition);f?"left"==g?(a.moveTo(0,d),a.lineTo(b,d)):(a.moveTo(e-b,d),a.lineTo(e,d)):("left"==g?(a.moveTo(0,0),a.lineTo(b,0),a.lineTo(b,d),a.lineTo(e,d)):(a.moveTo(0,d),a.lineTo(e-b,d),
a.lineTo(e-b,0),a.lineTo(e,0)),a.lineTo(e,c),a.lineTo(0,c),a.lineTo(0,d),a.close());a.end()};mxCellRenderer.prototype.defaultShapes.folder=g;mxUtils.extend(k,mxActor);k.prototype.size=30;k.prototype.redrawPath=function(a,b,d,e,c){b=Math.max(0,Math.min(e,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(b,0),new mxPoint(e,0),new mxPoint(e,c),new mxPoint(0,c),new mxPoint(0,
b)],this.isRounded,d,!0);a.end()};mxCellRenderer.prototype.defaultShapes.card=k;mxUtils.extend(l,mxActor);l.prototype.size=0.4;l.prototype.redrawPath=function(a,b,d,e,c){b=c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(0,b/2);a.quadTo(e/4,1.4*b,e/2,b/2);a.quadTo(3*e/4,b*(1-1.4),e,b/2);a.lineTo(e,c-b/2);a.quadTo(3*e/4,c-1.4*b,e/2,c-b/2);a.quadTo(e/4,c-b*(1-1.4),0,c-b/2);a.lineTo(0,b/2);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.tape=l;mxUtils.extend(m,
mxActor);m.prototype.size=0.3;m.prototype.redrawPath=function(a,b,d,e,c){b=c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(0,0);a.lineTo(e,0);a.lineTo(e,c-b/2);a.quadTo(3*e/4,c-1.4*b,e/2,c-b/2);a.quadTo(e/4,c-b*(1-1.4),0,c-b/2);a.lineTo(0,b/2);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.document=m;mxUtils.extend(n,mxActor);n.prototype.size=0.2;n.prototype.redrawPath=function(a,b,d,e,c){b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
"size",this.size))));d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,c),new mxPoint(b,0),new mxPoint(e,0),new mxPoint(e-b,c)],this.isRounded,d,!0);a.end()};mxCellRenderer.prototype.defaultShapes.parallelogram=n;mxUtils.extend(p,mxActor);p.prototype.size=0.2;p.prototype.redrawPath=function(a,b,d,e,c){b=e*Math.max(0,Math.min(0.5,parseFloat(mxUtils.getValue(this.style,"size",this.size))));d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,
mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,c),new mxPoint(b,0),new mxPoint(e-b,0),new mxPoint(e,c)],this.isRounded,d,!0)};mxCellRenderer.prototype.defaultShapes.trapezoid=p;mxUtils.extend(r,mxActor);r.prototype.size=0.5;r.prototype.redrawPath=function(a,b,d,e,c){a.setFillColor(null);b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(e,
0),new mxPoint(b,0),new mxPoint(b,c/2),new mxPoint(0,c/2),new mxPoint(b,c/2),new mxPoint(b,c),new mxPoint(e,c)],this.isRounded,d,!1);a.end()};mxCellRenderer.prototype.defaultShapes.curlyBracket=r;mxUtils.extend(s,mxActor);s.prototype.redrawPath=function(a,b,d,e,c){a.setStrokeWidth(1);a.setFillColor(this.stroke);b=e/5;a.rect(0,0,b,c);a.fillAndStroke();a.rect(2*b,0,b,c);a.fillAndStroke();a.rect(4*b,0,b,c);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes.parallelMarker=s;q.prototype.moveTo=
function(a,b){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=a;this.lastY=b;this.firstX=a;this.firstY=b};q.prototype.close=function(){null!=this.firstX&&null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,arguments));this.originalClose.apply(this.canvas,arguments)};q.prototype.quadTo=function(a,b,d,e){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=d;this.lastY=e};q.prototype.curveTo=function(a,b,d,e,c,f){this.originalCurveTo.apply(this.canvas,
arguments);this.lastX=c;this.lastY=f};q.prototype.arcTo=function(a,b,d,e,c,f,g){this.originalArcTo.apply(this.canvas,arguments);this.lastX=f;this.lastY=g};q.prototype.lineTo=function(a,b){if(null!=this.lastX&&null!=this.lastY){var d=Math.abs(a-this.lastX),e=Math.abs(b-this.lastY),c=Math.sqrt(d*d+e*e);if(2>c)this.originalLineTo.apply(this.canvas,arguments);else{var f=Math.round(c/10),g=this.defaultVariation;5>f&&(f=5,g/=3);for(var k=function(a){return"number"===typeof a?a?0>a?-1:1:a===a?0:NaN:NaN},
l=k(a-this.lastX)*d/f,k=k(b-this.lastY)*e/f,d=d/c,e=e/c,c=0;c<f;c++){var m=l*c+this.lastX,n=k*c+this.lastY,q=(Math.random()-0.5)*g;this.originalLineTo.call(this.canvas,m-q*e,n-q*d)}this.originalLineTo.call(this.canvas,a,b)}}else this.originalLineTo.apply(this.canvas,arguments);this.lastX=a;this.lastY=b};q.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=
this.originalCurveTo;this.canvas.arcTo=this.originalArcTo};var Aa=mxShape.prototype.paint;mxShape.prototype.defaultJiggle=1.5;mxShape.prototype.paint=function(a){null!=this.style&&"0"!=mxUtils.getValue(this.style,"comic","0")&&null==a.handHiggle&&(a.handJiggle=new q(a,mxUtils.getValue(this.style,"jiggle",this.defaultJiggle)));Aa.apply(this,arguments);null!=a.handJiggle&&(a.handJiggle.destroy(),delete a.handJiggle)};mxRhombus.prototype.defaultJiggle=2;var Ba=mxRectangleShape.prototype.isHtmlAllowed;
mxRectangleShape.prototype.isHtmlAllowed=function(){return(null==this.style||"0"==mxUtils.getValue(this.style,"comic","0"))&&Ba.apply(this,arguments)};var Ca=mxRectangleShape.prototype.paintBackground;mxRectangleShape.prototype.paintBackground=function(a,b,d,e,c){if(null==a.handJiggle)Ca.apply(this,arguments);else{var f=!0;null!=this.style&&(f="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(f||null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=
mxConstants.NONE){if(!f&&(null==this.fill||this.fill==mxConstants.NONE))a.pointerEvents=!1;a.begin();this.isRounded?(f=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,f=Math.min(e*f,c*f),a.moveTo(b+f,d),a.lineTo(b+e-f,d),a.quadTo(b+e,d,b+e,d+f),a.lineTo(b+e,d+c-f),a.quadTo(b+e,d+c,b+e-f,d+c),a.lineTo(b+f,d+c),a.quadTo(b,d+c,b,d+c-f),a.lineTo(b,d+f),a.quadTo(b,d,b+f,d)):(a.moveTo(b,d),a.lineTo(b+e,d),a.lineTo(b+e,d+c),a.lineTo(b,d+c),a.lineTo(b,
d));a.close();a.end();a.fillAndStroke()}}};var Da=mxRectangleShape.prototype.paintForeground;mxRectangleShape.prototype.paintForeground=function(a,b,d,e,c){null==a.handJiggle&&Da.apply(this,arguments)};mxUtils.extend(t,mxRectangleShape);t.prototype.size=0.1;t.prototype.isHtmlAllowed=function(){return!1};t.prototype.getLabelBounds=function(a){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var b=
a.width,d=a.height;a=new mxRectangle(a.x,a.y,b,d);var e=b*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded)var c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,e=Math.max(e,Math.min(b*c,d*c));a.x+=e;a.width-=2*e}return a};t.prototype.paintForeground=function(a,b,d,e,c){var f=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded)var g=mxUtils.getValue(this.style,
mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,f=Math.max(f,Math.min(e*g,c*g));a.begin();a.moveTo(b+f,d);a.lineTo(b+f,d+c);a.moveTo(b+e-f,d);a.lineTo(b+e-f,d+c);a.end();a.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.prototype.defaultShapes.process=t;mxUtils.extend(u,mxActor);u.prototype.size=0.2;u.prototype.redrawPath=function(a,b,d,e,c){b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));d=mxUtils.getValue(this.style,
mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(e-b,0),new mxPoint(e,c/2),new mxPoint(e-b,c),new mxPoint(0,c),new mxPoint(b,c/2)],this.isRounded,d,!0);a.end()};mxCellRenderer.prototype.defaultShapes.step=u;mxUtils.extend(v,mxHexagon);v.prototype.size=0.25;v.prototype.redrawPath=function(a,b,d,e,c){b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/
2;this.addPoints(a,[new mxPoint(b,0),new mxPoint(e-b,0),new mxPoint(e,0.5*c),new mxPoint(e-b,c),new mxPoint(b,c),new mxPoint(0,0.5*c)],this.isRounded,d,!0)};mxCellRenderer.prototype.defaultShapes.hexagon=v;mxUtils.extend(z,mxRectangleShape);z.prototype.isHtmlAllowed=function(){return!1};z.prototype.paintForeground=function(a,b,d,e,c){var f=Math.min(e/5,c/5)+1;a.begin();a.moveTo(b+e/2,d+f);a.lineTo(b+e/2,d+c-f);a.moveTo(b+f,d+c/2);a.lineTo(b+e-f,d+c/2);a.end();a.stroke();mxRectangleShape.prototype.paintForeground.apply(this,
arguments)};mxCellRenderer.prototype.defaultShapes.plus=z;var xa=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(a){if(1==this.style["double"]){var b=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(a.x+b,a.y+b,a.width-2*b,a.height-2*b)}return a};mxRhombus.prototype.paintVertexShape=function(a,b,d,e,c){xa.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var f=2*Math.max(2,this.strokewidth+
1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);b+=f;d+=f;e-=2*f;c-=2*f;0<e&&0<c&&(a.setShadow(!1),xa.apply(this,[a,b,d,e,c]))}};mxUtils.extend(y,mxRectangleShape);y.prototype.isHtmlAllowed=function(){return!1};y.prototype.getLabelBounds=function(a){if(1==this.style["double"]){var b=(Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(a.x+b,a.y+b,a.width-2*b,a.height-2*b)}return a};y.prototype.paintForeground=function(a,b,d,
e,c){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var f=Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);b+=f;d+=f;e-=2*f;c-=2*f;0<e&&0<c&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}a.setDashed(!1);var f=0,g=null;do{g=mxCellRenderer.prototype.defaultShapes[this.style["symbol"+f]];if(null!=g){var k=this.style["symbol"+f+"Align"],l=this.style["symbol"+f+"VerticalAlign"],m=this.style["symbol"+f+"Width"],n=this.style["symbol"+
f+"Height"],q=this.style["symbol"+f+"Spacing"]||0,t=this.style["symbol"+f+"ArcSpacing"];null!=t&&(q+=this.getArcSize(e+this.strokewidth,c+this.strokewidth)*t);var t=b,p=d,t=k==mxConstants.ALIGN_CENTER?t+(e-m)/2:k==mxConstants.ALIGN_RIGHT?t+(e-m-q):t+q,p=l==mxConstants.ALIGN_MIDDLE?p+(c-n)/2:l==mxConstants.ALIGN_BOTTOM?p+(c-n-q):p+q;a.save();k=new g;k.style=this.style;g.prototype.paintVertexShape.call(k,a,t,p,m,n);a.restore()}f++}while(null!=g)}mxRectangleShape.prototype.paintForeground.apply(this,
arguments)};mxCellRenderer.prototype.defaultShapes.ext=y;mxUtils.extend(x,mxCylinder);x.prototype.redrawPath=function(a,b,d,e,c,f){f?(a.moveTo(0,0),a.lineTo(e/2,c/2),a.lineTo(e,0),a.end()):(a.moveTo(0,0),a.lineTo(e,0),a.lineTo(e,c),a.lineTo(0,c),a.close())};mxCellRenderer.prototype.defaultShapes.message=x;mxUtils.extend(D,mxShape);D.prototype.paintBackground=function(a,b,d,e,c){a.translate(b,d);a.ellipse(e/4,0,e/2,c/4);a.fillAndStroke();a.begin();a.moveTo(e/2,c/4);a.lineTo(e/2,2*c/3);a.moveTo(e/2,
c/3);a.lineTo(0,c/3);a.moveTo(e/2,c/3);a.lineTo(e,c/3);a.moveTo(e/2,2*c/3);a.lineTo(0,c);a.moveTo(e/2,2*c/3);a.lineTo(e,c);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.umlActor=D;mxUtils.extend(A,mxShape);A.prototype.getLabelBounds=function(a){return new mxRectangle(a.x+a.width/6,a.y,5*a.width/6,a.height)};A.prototype.paintBackground=function(a,b,d,e,c){a.translate(b,d);a.begin();a.moveTo(0,c/4);a.lineTo(0,3*c/4);a.end();a.stroke();a.begin();a.moveTo(0,c/2);a.lineTo(e/6,c/2);a.end();
a.stroke();a.ellipse(e/6,0,5*e/6,c);a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes.umlBoundary=A;mxUtils.extend(B,mxEllipse);B.prototype.paintVertexShape=function(a,b,d,e,c){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.begin();a.moveTo(b+e/8,d+c);a.lineTo(b+7*e/8,d+c);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.umlEntity=B;mxUtils.extend(E,mxShape);E.prototype.paintVertexShape=function(a,b,d,e,c){a.translate(b,d);a.begin();a.moveTo(e,0);a.lineTo(0,c);a.moveTo(0,
0);a.lineTo(e,c);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.umlDestroy=E;mxUtils.extend(F,mxShape);F.prototype.getLabelBounds=function(a){return new mxRectangle(a.x,a.y+a.height/8,a.width,7*a.height/8)};F.prototype.paintBackground=function(a,b,d,e,c){a.translate(b,d);a.begin();a.moveTo(3*e/8,1.1*(c/8));a.lineTo(5*e/8,0);a.end();a.stroke();a.ellipse(0,c/8,e,7*c/8);a.fillAndStroke()};F.prototype.paintForeground=function(a,b,d,e,c){a.begin();a.moveTo(3*e/8,1.1*(c/8));a.lineTo(5*e/8,c/
4);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.umlControl=F;mxUtils.extend(G,mxRectangleShape);G.prototype.size=40;G.prototype.isHtmlAllowed=function(){return!1};G.prototype.getLabelBounds=function(a){var b=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxRectangle(a.x,a.y,a.width,b)};G.prototype.paintBackground=function(a,b,d,e,c){var f=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),
g=mxUtils.getValue(this.style,"participant");null==g||null==this.state?mxRectangleShape.prototype.paintBackground.call(this,a,b,d,e,f):(g=this.state.view.graph.cellRenderer.getShape(g),null!=g&&g!=G&&(g=new g,g.apply(this.state),a.save(),g.paintVertexShape(a,b,d,e,f),a.restore()));f<c&&(a.setDashed(!0),a.begin(),a.moveTo(b+e/2,d+f),a.lineTo(b+e/2,d+c),a.end(),a.stroke())};G.prototype.paintForeground=function(a,b,d,e,c){var f=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size))));
mxRectangleShape.prototype.paintForeground.call(this,a,b,d,e,Math.min(c,f))};mxCellRenderer.prototype.defaultShapes.umlLifeline=G;mxUtils.extend(H,mxShape);H.prototype.width=60;H.prototype.height=30;H.prototype.corner=10;H.prototype.getLabelBounds=function(a){var b=Math.max(0,Math.min(a.width,parseFloat(mxUtils.getValue(this.style,"width",this.width))*this.scale)),d=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.style,"height",this.height))*this.scale));return new mxRectangle(a.x,a.y,
b,d)};H.prototype.paintBackground=function(a,b,d,e,c){var f=this.corner,g=Math.min(e,Math.max(f,parseFloat(mxUtils.getValue(this.style,"width",this.width)))),k=Math.min(c,Math.max(1.5*f,parseFloat(mxUtils.getValue(this.style,"height",this.height))));a.begin();a.moveTo(b,d);a.lineTo(b+g,d);a.lineTo(b+g,d+Math.max(0,k-1.5*f));a.lineTo(b+Math.max(0,g-f),d+k);a.lineTo(b,d+k);a.close();a.fillAndStroke();a.begin();a.moveTo(b+g,d);a.lineTo(b+e,d);a.lineTo(b+e,d+c);a.lineTo(b,d+c);a.lineTo(b,d+k);a.stroke()};
mxCellRenderer.prototype.defaultShapes.umlFrame=H;mxPerimeter.LifelinePerimeter=function(a,b,d,e){e=G.prototype.size;null!=b&&(e=mxUtils.getValue(b.style,"size",e)*b.view.scale);b=parseFloat(b.style[mxConstants.STYLE_STROKEWIDTH]||1)*b.view.scale/2-1;d.x<a.getCenterX()&&(b=-1*(b+1));return new mxPoint(a.getCenterX()+b,Math.min(a.y+a.height,Math.max(a.y+e,d.y)))};mxStyleRegistry.putValue("lifelinePerimeter",mxPerimeter.LifelinePerimeter);mxPerimeter.OrthogonalPerimeter=function(a,b,d,e){e=!0;return mxPerimeter.RectanglePerimeter.apply(this,
arguments)};mxStyleRegistry.putValue("orthogonalPerimeter",mxPerimeter.OrthogonalPerimeter);mxPerimeter.BackbonePerimeter=function(a,b,d,e){e=parseFloat(b.style[mxConstants.STYLE_STROKEWIDTH]||1)*b.view.scale/2-1;null!=b.style.backboneSize&&(e+=parseFloat(b.style.backboneSize)*b.view.scale/2-1);if("south"==b.style[mxConstants.STYLE_DIRECTION]||"north"==b.style[mxConstants.STYLE_DIRECTION])return d.x<a.getCenterX()&&(e=-1*(e+1)),new mxPoint(a.getCenterX()+e,Math.min(a.y+a.height,Math.max(a.y,d.y)));
d.y<a.getCenterY()&&(e+=1,e*=-1);return new mxPoint(Math.min(a.x+a.width,Math.max(a.x,d.x)),a.getCenterY()+e)};mxStyleRegistry.putValue("backbonePerimeter",mxPerimeter.BackbonePerimeter);mxUtils.extend(I,mxShape);I.prototype.size=10;I.prototype.paintBackground=function(a,b,d,e,c){var f=parseFloat(mxUtils.getValue(this.style,"size",this.size));a.translate(b,d);a.ellipse((e-f)/2,0,f,f);a.fillAndStroke();a.begin();a.moveTo(e/2,f);a.lineTo(e/2,c);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.lollipop=
I;mxUtils.extend(L,mxShape);L.prototype.size=10;L.prototype.inset=2;L.prototype.paintBackground=function(a,b,d,e,c){var f=parseFloat(mxUtils.getValue(this.style,"size",this.size)),g=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;a.translate(b,d);a.begin();a.moveTo(e/2,f+g);a.lineTo(e/2,c);a.end();a.stroke();a.begin();a.moveTo((e-f)/2-g,f/2);a.quadTo((e-f)/2-g,f+g,e/2,f+g);a.quadTo((e+f)/2+g,f+g,(e+f)/2+g,f/2);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.requires=
L;mxUtils.extend(O,mxCylinder);O.prototype.jettyWidth=32;O.prototype.jettyHeight=12;O.prototype.redrawPath=function(a,b,d,e,c,f){var g=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));b=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));d=g/2;var g=d+g/2,k=0.3*c-b/2,l=0.7*c-b/2;f?(a.moveTo(d,k),a.lineTo(g,k),a.lineTo(g,k+b),a.lineTo(d,k+b),a.moveTo(d,l),a.lineTo(g,l),a.lineTo(g,l+b),a.lineTo(d,l+b)):(a.moveTo(d,0),a.lineTo(e,0),a.lineTo(e,c),a.lineTo(d,c),
a.lineTo(d,l+b),a.lineTo(0,l+b),a.lineTo(0,l),a.lineTo(d,l),a.lineTo(d,k+b),a.lineTo(0,k+b),a.lineTo(0,k),a.lineTo(d,k),a.close());a.end()};mxCellRenderer.prototype.defaultShapes.component=O;mxUtils.extend(S,mxDoubleEllipse);S.prototype.outerStroke=!0;S.prototype.paintVertexShape=function(a,b,d,e,c){var f=Math.min(4,Math.min(e/5,c/5));0<e&&0<c&&(a.ellipse(b+f,d+f,e-2*f,c-2*f),a.fillAndStroke());a.setShadow(!1);this.outerStroke&&(a.ellipse(b,d,e,c),a.stroke())};mxCellRenderer.prototype.defaultShapes.endState=
S;mxUtils.extend(W,S);W.prototype.outerStroke=!1;mxCellRenderer.prototype.defaultShapes.startState=W;mxUtils.extend(Q,mxArrowConnector);Q.prototype.defaultWidth=4;Q.prototype.isOpenEnded=function(){return!0};Q.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};Q.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.prototype.defaultShapes.link=Q;mxUtils.extend(C,mxArrowConnector);C.prototype.defaultWidth=
10;C.prototype.defaultArrowWidth=20;C.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};C.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};C.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.prototype.defaultShapes.flexArrow=C;mxUtils.extend(N,
mxActor);N.prototype.size=30;N.prototype.redrawPath=function(a,b,d,e,c){b=Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size)));d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,c),new mxPoint(0,b),new mxPoint(e,0),new mxPoint(e,c)],this.isRounded,d,!0);a.end()};mxCellRenderer.prototype.defaultShapes.manualInput=N;mxUtils.extend(P,mxRectangleShape);P.prototype.dx=20;P.prototype.dy=20;P.prototype.isHtmlAllowed=function(){return!1};
P.prototype.paintForeground=function(a,b,d,e,c){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var f=0;if(this.isRounded)var g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,f=Math.max(f,Math.min(e*g,c*g));g=Math.max(f,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));f=Math.max(f,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));a.begin();a.moveTo(b,d+f);a.lineTo(b+e,d+f);a.end();a.stroke();
a.begin();a.moveTo(b+g,d);a.lineTo(b+g,d+c);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.internalStorage=P;mxUtils.extend(M,mxActor);M.prototype.dx=20;M.prototype.dy=20;M.prototype.redrawPath=function(a,b,d,e,c){b=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));Math.min(e/2,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var f=mxUtils.getValue(this.style,
mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(e,0),new mxPoint(e,d),new mxPoint(b,d),new mxPoint(b,c),new mxPoint(0,c)],this.isRounded,f,!0);a.end()};mxCellRenderer.prototype.defaultShapes.corner=M;mxUtils.extend(V,mxActor);V.prototype.dx=20;V.prototype.dy=20;V.prototype.redrawPath=function(a,b,d,e,c){b=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));d=Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,
"dy",this.dy))));Math.abs(e-b);Math.min(e/2,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var f=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(e,0),new mxPoint(e,d),new mxPoint((e+b)/2,d),new mxPoint((e+b)/2,c),new mxPoint((e-b)/2,c),new mxPoint((e-b)/2,d),new mxPoint(0,d)],this.isRounded,f,!0);a.end()};mxCellRenderer.prototype.defaultShapes.tee=V;mxUtils.extend(J,mxActor);J.prototype.arrowWidth=
0.3;J.prototype.arrowSize=0.2;J.prototype.redrawPath=function(a,b,d,e,c){var f=c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));d=(c-f)/2;var f=d+f,g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,d),new mxPoint(e-b,d),new mxPoint(e-b,0),new mxPoint(e,c/2),new mxPoint(e-b,c),new mxPoint(e-b,
f),new mxPoint(0,f)],this.isRounded,g,!0);a.end()};mxCellRenderer.prototype.defaultShapes.singleArrow=J;mxUtils.extend(K,mxActor);K.prototype.redrawPath=function(a,b,d,e,c){var f=c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",J.prototype.arrowWidth))));b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",J.prototype.arrowSize))));d=(c-f)/2;var f=d+f,g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,
[new mxPoint(0,c/2),new mxPoint(b,0),new mxPoint(b,d),new mxPoint(e-b,d),new mxPoint(e-b,0),new mxPoint(e,c/2),new mxPoint(e-b,c),new mxPoint(e-b,f),new mxPoint(b,f),new mxPoint(b,c)],this.isRounded,g,!0);a.end()};mxCellRenderer.prototype.defaultShapes.doubleArrow=K;mxUtils.extend(R,mxActor);R.prototype.size=0.1;R.prototype.redrawPath=function(a,b,d,e,c){b=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(b,0);a.lineTo(e,0);a.quadTo(e-2*b,c/2,e,c);a.lineTo(b,
c);a.quadTo(b-2*b,c/2,b,0);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.dataStorage=R;mxUtils.extend(X,mxActor);X.prototype.redrawPath=function(a,b,d,e,c){a.moveTo(0,0);a.quadTo(e,0,e,c/2);a.quadTo(e,c,0,c);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.or=X;mxUtils.extend(da,mxActor);da.prototype.redrawPath=function(a,b,d,e,c){a.moveTo(0,0);a.quadTo(e,0,e,c/2);a.quadTo(e,c,0,c);a.quadTo(e/2,c/2,0,0);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.xor=da;mxUtils.extend(ca,
mxActor);ca.prototype.size=20;ca.prototype.redrawPath=function(a,b,d,e,c){b=Math.min(e/2,Math.min(c,parseFloat(mxUtils.getValue(this.style,"size",this.size))));d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(b,0),new mxPoint(e-b,0),new mxPoint(e,0.8*b),new mxPoint(e,c),new mxPoint(0,c),new mxPoint(0,0.8*b)],this.isRounded,d,!0);a.end()};mxCellRenderer.prototype.defaultShapes.loopLimit=ca;mxUtils.extend(T,mxActor);T.prototype.size=0.375;
T.prototype.redrawPath=function(a,b,d,e,c){b=c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(e,0),new mxPoint(e,c-b),new mxPoint(e/2,c),new mxPoint(0,c-b)],this.isRounded,d,!0);a.end()};mxCellRenderer.prototype.defaultShapes.offPageConnector=T;mxUtils.extend(Z,mxEllipse);Z.prototype.paintVertexShape=function(a,b,d,e,c){mxEllipse.prototype.paintVertexShape.apply(this,
arguments);a.begin();a.moveTo(b+e/2,d+c);a.lineTo(b+e,d+c);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.tapeData=Z;mxUtils.extend(ba,mxEllipse);ba.prototype.paintVertexShape=function(a,b,d,e,c){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();a.moveTo(b,d+c/2);a.lineTo(b+e,d+c/2);a.end();a.stroke();a.begin();a.moveTo(b+e/2,d);a.lineTo(b+e/2,d+c);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.orEllipse=ba;mxUtils.extend(Y,mxEllipse);Y.prototype.paintVertexShape=
function(a,b,d,e,c){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();a.moveTo(b+0.145*e,d+0.145*c);a.lineTo(b+0.855*e,d+0.855*c);a.end();a.stroke();a.begin();a.moveTo(b+0.855*e,d+0.145*c);a.lineTo(b+0.145*e,d+0.855*c);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.sumEllipse=Y;mxUtils.extend(U,mxRhombus);U.prototype.paintVertexShape=function(a,b,d,e,c){mxRhombus.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();a.moveTo(b,d+
c/2);a.lineTo(b+e,d+c/2);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.sortShape=U;mxUtils.extend(ia,mxEllipse);ia.prototype.paintVertexShape=function(a,b,d,e,c){a.begin();a.moveTo(b,d);a.lineTo(b+e,d);a.lineTo(b+e/2,d+c/2);a.close();a.fillAndStroke();a.begin();a.moveTo(b,d+c);a.lineTo(b+e,d+c);a.lineTo(b+e/2,d+c/2);a.close();a.fillAndStroke()};mxCellRenderer.prototype.defaultShapes.collate=ia;mxUtils.extend(ea,mxEllipse);ea.prototype.paintVertexShape=function(a,b,d,e,c){var f=d+c-5;
a.begin();a.moveTo(b,d);a.lineTo(b,d+c);a.moveTo(b,f);a.lineTo(b+10,f-5);a.moveTo(b,f);a.lineTo(b+10,f+5);a.moveTo(b,f);a.lineTo(b+e,f);a.moveTo(b+e,d);a.lineTo(b+e,d+c);a.moveTo(b+e,f);a.lineTo(b+e-10,f-5);a.moveTo(b+e,f);a.lineTo(b+e-10,f+5);a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.dimension=ea;mxUtils.extend(aa,mxEllipse);aa.prototype.paintVertexShape=function(a,b,d,e,c){this.outline||a.setStrokeColor(null);mxRectangleShape.prototype.paintBackground.apply(this,arguments);null!=
this.style&&(a.setStrokeColor(this.stroke),a.rect(b,d,e,c),a.fill(),"1"==mxUtils.getValue(this.style,"top","1")&&(a.begin(),a.moveTo(b,d),a.lineTo(b+e,d),a.end(),a.stroke()),"1"==mxUtils.getValue(this.style,"right","1")&&(a.begin(),a.moveTo(b+e,d),a.lineTo(b+e,d+c),a.end(),a.stroke()),"1"==mxUtils.getValue(this.style,"bottom","1")&&(a.begin(),a.moveTo(b+e,d+c),a.lineTo(b,d+c),a.end(),a.stroke()),"1"==mxUtils.getValue(this.style,"left","1")&&(a.begin(),a.moveTo(b,d+c),a.lineTo(b,d),a.end(),a.stroke()))};
mxCellRenderer.prototype.defaultShapes.partialRectangle=aa;mxUtils.extend(fa,mxEllipse);fa.prototype.paintVertexShape=function(a,b,d,e,c){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();"vertical"==mxUtils.getValue(this.style,"line")?(a.moveTo(b+e/2,d),a.lineTo(b+e/2,d+c)):(a.moveTo(b,d+c/2),a.lineTo(b+e,d+c/2));a.end();a.stroke()};mxCellRenderer.prototype.defaultShapes.lineEllipse=fa;mxUtils.extend(ja,mxActor);ja.prototype.redrawPath=function(a,b,d,e,c){b=Math.min(e,
c/2);a.moveTo(0,0);a.lineTo(e-b,0);a.quadTo(e,0,e,c/2);a.quadTo(e,c,e-b,c);a.lineTo(0,c);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.delay=ja;mxUtils.extend(ga,mxActor);ga.prototype.size=0.2;ga.prototype.redrawPath=function(a,b,d,e,c){b=Math.min(c,e);var f=Math.max(0,Math.min(b,b*parseFloat(mxUtils.getValue(this.style,"size",this.size))));b=(c-f)/2;d=b+f;var g=(e-f)/2,f=g+f;a.moveTo(0,b);a.lineTo(g,b);a.lineTo(g,0);a.lineTo(f,0);a.lineTo(f,b);a.lineTo(e,b);a.lineTo(e,d);a.lineTo(f,d);
a.lineTo(f,c);a.lineTo(g,c);a.lineTo(g,d);a.lineTo(0,d);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.cross=ga;mxUtils.extend(oa,mxActor);oa.prototype.size=0.25;oa.prototype.redrawPath=function(a,b,d,e,c){b=Math.min(e,c/2);d=Math.min(e-b,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*e);a.moveTo(0,c/2);a.lineTo(d,0);a.lineTo(e-b,0);a.quadTo(e,0,e,c/2);a.quadTo(e,c,e-b,c);a.lineTo(d,c);a.close();a.end()};mxCellRenderer.prototype.defaultShapes.display=oa;mxMarker.addMarker("dash",
function(a,b,d,e,c,f,g,k,l,m){var n=c*(g+l+1),q=f*(g+l+1);return function(){a.begin();a.moveTo(e.x-n/2-q/2,e.y-q/2+n/2);a.lineTo(e.x+q/2-3*n/2,e.y-3*q/2-n/2);a.stroke()}});mxMarker.addMarker("cross",function(a,b,d,e,c,f,g,k,l,m){var n=c*(g+l+1),q=f*(g+l+1);return function(){a.begin();a.moveTo(e.x-n/2-q/2,e.y-q/2+n/2);a.lineTo(e.x+q/2-3*n/2,e.y-3*q/2-n/2);a.moveTo(e.x-n/2+q/2,e.y-q/2-n/2);a.lineTo(e.x-q/2-3*n/2,e.y-3*q/2+n/2);a.stroke()}});mxMarker.addMarker("circle",wa);mxMarker.addMarker("circlePlus",
function(a,b,d,e,c,f,g,k,l,m){var n=e.clone(),q=wa.apply(this,arguments),t=c*(g+2*l),p=f*(g+2*l);return function(){q.apply(this,arguments);a.begin();a.moveTo(n.x-c*l,n.y-f*l);a.lineTo(n.x-2*t+c*l,n.y-2*p+f*l);a.moveTo(n.x-t-p+f*l,n.y-p+t-c*l);a.lineTo(n.x+p-t-f*l,n.y-p-t+c*l);a.stroke()}});mxMarker.addMarker("async",function(a,b,d,e,c,f,g,k,l,m){b=1.118*c*l;d=1.118*f*l;c*=g+l;f*=g+l;var n=e.clone();n.x-=b;n.y-=d;e.x+=1*-c-b;e.y+=1*-f-d;return function(){a.begin();a.moveTo(n.x,n.y);k?a.lineTo(n.x-
c-f/2,n.y-f+c/2):a.lineTo(n.x+f/2-c,n.y-f-c/2);a.lineTo(n.x-c,n.y-f);a.close();m?a.fillAndStroke():a.stroke()}});mxMarker.addMarker("openAsync",function(a){a=null!=a?a:2;return function(b,d,e,c,f,g,k,l,m,n){f*=k+m;g*=k+m;var q=c.clone();return function(){b.begin();b.moveTo(q.x,q.y);l?b.lineTo(q.x-f-g/a,q.y-g+f/a):b.lineTo(q.x+g/a-f,q.y-g-f/a);b.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var ha=function(a,b,d,e,c){a=new mxHandle(a,null,mxVertexHandler.prototype.secondaryHandleImage);
a.execute=function(){for(var a=0;a<b.length;a++)this.copyStyle(b[a])};a.getPosition=d;a.setPosition=e;a.ignoreGrid=null!=c?c:!0;return a},ma=function(a,b){return ha(a,[mxConstants.STYLE_ARCSIZE],function(d){var e=Math.max(0,parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100,c=null!=b?b:d.height/8;return new mxPoint(d.x+d.width-Math.min(Math.max(d.width/2,d.height/2),Math.min(d.width,d.height)*e),d.y+c)},function(a,b,d){a=Math.min(50,Math.max(0,
100*(a.width-b.x+a.x)/Math.min(a.width,a.height)));this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(a)})},la=function(){return function(a){var b=[];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(ma(a));return b}},ka=function(a){return function(b){var d=[ha(b,["size"],function(b){var d=Math.max(0,Math.min(a,parseFloat(mxUtils.getValue(this.state.style,"size",p.prototype.size))));return new mxPoint(b.x+0.75*d*b.width,b.y+b.height/4)},function(b,d){this.state.style.size=Math.max(0,
Math.min(a,(d.x-b.x)/(0.75*b.width)))})];mxUtils.getValue(b.style,mxConstants.STYLE_ROUNDED,!1)&&d.push(ma(b));return d}},qa=function(a,b,d){d=null!=d?d:1;return function(e){var c=[ha(e,["size"],function(b){var d=parseFloat(mxUtils.getValue(this.state.style,"size",a));return new mxPoint(b.x+d*b.width,b.getCenterY())},function(a,b){this.state.style.size=Math.max(0,Math.min(d,(b.x-a.x)/a.width))})];b&&mxUtils.getValue(e.style,mxConstants.STYLE_ROUNDED,!1)&&c.push(ma(e));return c}},ua=function(a,b,d){return function(e){var c=
[ha(e,["size"],function(d){var e=Math.max(0,Math.min(d.width,Math.min(d.height,parseFloat(mxUtils.getValue(this.state.style,"size",b)))))*a;return new mxPoint(d.x+e,d.y+e)},function(b,d){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(b.width,d.x-b.x),Math.min(b.height,d.y-b.y)))/a)})];d&&mxUtils.getValue(e.style,mxConstants.STYLE_ROUNDED,!1)&&c.push(ma(e));return c}},ya=function(a){return function(b){return[ha(b,["arrowWidth","arrowSize"],function(b){var d=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,
"arrowWidth",J.prototype.arrowWidth))),e=Math.max(0,Math.min(a,mxUtils.getValue(this.state.style,"arrowSize",J.prototype.arrowSize)));return new mxPoint(b.x+(1-e)*b.width,b.y+(1-d)*b.height/2)},function(b,d){this.state.style.arrowWidth=Math.max(0,Math.min(1,2*(Math.abs(b.y+b.height/2-d.y)/b.height)));this.state.style.arrowSize=Math.max(0,Math.min(a,(b.x+b.width-d.x)/b.width))})]}},pa=function(a,b,d,e,c){var f=a.absolutePoints,g=f.length-1,k=a.view.translate,l=a.view.scale,m=d?f[0]:f[g],n=d?f[1]:f[g-
1],q=n.x-m.x,t=n.y-m.y,p=Math.sqrt(q*q+t*t);return ha(a,b,function(a){a=e.call(this,p,q/p,t/p,m,n);return new mxPoint(a.x/l-k.x,a.y/l-k.y)},function(a,b,d){a=Math.sqrt(q*q+t*t);b.x=(b.x+k.x)*l;b.y=(b.y+k.y)*l;c.call(this,a,q/a,t/a,m,n,b,d)})},za=function(a,b,d){return pa(a,["width"],b,function(b,e,c,f,g){g=a.shape.getEdgeWidth()*a.view.scale+d;return new mxPoint(f.x+e*b/4+c*g/2,f.y+c*b/4-e*g/2)},function(b,e,c,f,g,k){b=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,k.x,k.y));a.style.width=Math.round(2*
b)/a.view.scale-d})},va={link:function(a){return[za(a,!0,10),za(a,!1,10)]},flexArrow:function(a){var b=a.view.graph.gridSize/a.view.scale,d=[];mxUtils.getValue(a.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(d.push(pa(a,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(b,d,e,c,f){b=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(c.x+
d*(f+a.shape.strokewidth*a.view.scale)+e*b/2,c.y+e*(f+a.shape.strokewidth*a.view.scale)-d*b/2)},function(d,e,c,f,g,k,l){d=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,k.x,k.y));e=mxUtils.ptLineDist(f.x,f.y,f.x+c,f.y-e,k.x,k.y);a.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(e-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*d)/a.view.scale;mxEvent.isControlDown(l.getEvent())&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE]);mxEvent.isAltDown(l.getEvent())||
Math.abs(parseFloat(a.style[mxConstants.STYLE_STARTSIZE])-parseFloat(a.style[mxConstants.STYLE_ENDSIZE]))<b/6&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE])})),d.push(pa(a,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(b,d,e,c,f){b=(a.shape.getStartArrowWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(c.x+d*(f+a.shape.strokewidth*
a.view.scale)+e*b/2,c.y+e*(f+a.shape.strokewidth*a.view.scale)-d*b/2)},function(d,e,c,f,g,k,l){d=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,k.x,k.y));e=mxUtils.ptLineDist(f.x,f.y,f.x+c,f.y-e,k.x,k.y);a.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(e-a.shape.strokewidth)/3)/100/a.view.scale;a.style.startWidth=Math.max(0,Math.round(2*d)-a.shape.getEdgeWidth())/a.view.scale;mxEvent.isControlDown(l.getEvent())&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE],a.style.endWidth=
a.style.startWidth);mxEvent.isAltDown(l.getEvent())||(Math.abs(parseFloat(a.style[mxConstants.STYLE_STARTSIZE])-parseFloat(a.style[mxConstants.STYLE_ENDSIZE]))<b/6&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(a.style.startWidth)-parseFloat(a.style.endWidth))<b&&(a.style.startWidth=a.style.endWidth))})));mxUtils.getValue(a.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(d.push(pa(a,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],
!1,function(b,d,e,c,f){b=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(c.x+d*(f+a.shape.strokewidth*a.view.scale)-e*b/2,c.y+e*(f+a.shape.strokewidth*a.view.scale)+d*b/2)},function(d,e,c,f,g,k,l){d=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,k.x,k.y));e=mxUtils.ptLineDist(f.x,f.y,f.x+c,f.y-e,k.x,k.y);a.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(e-a.shape.strokewidth)/
3)/100/a.view.scale;a.style.width=Math.round(2*d)/a.view.scale;mxEvent.isControlDown(l.getEvent())&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE]);mxEvent.isAltDown(l.getEvent())||Math.abs(parseFloat(a.style[mxConstants.STYLE_ENDSIZE])-parseFloat(a.style[mxConstants.STYLE_STARTSIZE]))<b/6&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE])})),d.push(pa(a,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(b,
d,e,c,f){b=(a.shape.getEndArrowWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.getNumber(a.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(c.x+d*(f+a.shape.strokewidth*a.view.scale)-e*b/2,c.y+e*(f+a.shape.strokewidth*a.view.scale)+d*b/2)},function(d,e,c,f,g,k,l){d=Math.sqrt(mxUtils.ptSegDistSq(f.x,f.y,g.x,g.y,k.x,k.y));e=mxUtils.ptLineDist(f.x,f.y,f.x+c,f.y-e,k.x,k.y);a.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(e-a.shape.strokewidth)/3)/100/a.view.scale;
a.style.endWidth=Math.max(0,Math.round(2*d)-a.shape.getEdgeWidth())/a.view.scale;mxEvent.isControlDown(l.getEvent())&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE],a.style.startWidth=a.style.endWidth);mxEvent.isAltDown(l.getEvent())||(Math.abs(parseFloat(a.style[mxConstants.STYLE_ENDSIZE])-parseFloat(a.style[mxConstants.STYLE_STARTSIZE]))<b/6&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(a.style.endWidth)-parseFloat(a.style.startWidth))<
b&&(a.style.endWidth=a.style.startWidth))})));return d},swimlane:function(a){var b=[ha(a,[mxConstants.STYLE_STARTSIZE],function(b){var d=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(b.getCenterX(),b.y+Math.max(0,Math.min(b.height,d))):new mxPoint(b.x+Math.max(0,Math.min(b.width,d)),b.getCenterY())},function(b,d){a.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,
mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(b.height,d.y-b.y))):Math.round(Math.max(0,Math.min(b.width,d.x-b.x)))})];if(mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED)){var d=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));b.push(ma(a,d/2))}return b},label:la(),ext:la(),rectangle:la(),triangle:la(),rhombus:la(),hexagon:la(),umlLifeline:function(a){return[ha(a,["size"],function(a){var b=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,
"size",G.prototype.size))));return new mxPoint(a.getCenterX(),a.y+b)},function(a,b){this.state.style.size=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))},!1)]},umlFrame:function(a){var b=[ha(a,["width","height"],function(a){var b=Math.max(H.prototype.corner,Math.min(a.width,mxUtils.getValue(this.state.style,"width",H.prototype.width))),d=Math.max(1.5*H.prototype.corner,Math.min(a.height,mxUtils.getValue(this.state.style,"height",H.prototype.height)));return new mxPoint(a.x+b,a.y+d)},function(a,
b){this.state.style.width=Math.round(Math.max(H.prototype.corner,Math.min(a.width,b.x-a.x)));this.state.style.height=Math.round(Math.max(1.5*H.prototype.corner,Math.min(a.height,b.y-a.y)))},!1)];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(ma(a));return b},process:function(a){var b=[ha(a,["size"],function(a){var b=Math.max(0,Math.min(0.5,parseFloat(mxUtils.getValue(this.state.style,"size",t.prototype.size))));return new mxPoint(a.x+a.width*b,a.y+a.height/4)},function(a,b){this.state.style.size=
Math.max(0,Math.min(0.5,(b.x-a.x)/a.width))})];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(ma(a));return b},cross:function(a){return[ha(a,["size"],function(a){var b=Math.min(a.width,a.height),b=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",ga.prototype.size)))*b/2;return new mxPoint(a.getCenterX()-b,a.getCenterY()-b)},function(a,b){var d=Math.min(a.width,a.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(2*(Math.max(0,a.getCenterY()-b.y)/d),2*(Math.max(0,
a.getCenterX()-b.x)/d))))})]},note:function(b){return[ha(b,["size"],function(b){var d=Math.max(0,Math.min(b.width,Math.min(b.height,parseFloat(mxUtils.getValue(this.state.style,"size",a.prototype.size)))));return new mxPoint(b.x+b.width-d,b.y+d)},function(a,b){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(a.width,a.x+a.width-b.x),Math.min(a.height,b.y-a.y))))})]},manualInput:function(a){var b=[ha(a,["size"],function(a){var b=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,
"size",N.prototype.size)));return new mxPoint(a.x+a.width/4,a.y+3*b/4)},function(a,b){this.state.style.size=Math.round(Math.max(0,Math.min(a.height,4*(b.y-a.y)/3)))})];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(ma(a));return b},dataStorage:function(a){return[ha(a,["size"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",R.prototype.size))));return new mxPoint(a.x+(1-b)*a.width,a.getCenterY())},function(a,b){this.state.style.size=Math.max(0,
Math.min(1,(a.x+a.width-b.x)/a.width))})]},internalStorage:function(a){var b=[ha(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"dx",P.prototype.dx))),d=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"dy",P.prototype.dy)));return new mxPoint(a.x+b,a.y+d)},function(a,b){this.state.style.dx=Math.round(Math.max(0,Math.min(a.width,b.x-a.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))})];mxUtils.getValue(a.style,
mxConstants.STYLE_ROUNDED,!1)&&b.push(ma(a));return b},corner:function(a){return[ha(a,["dx","dy"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"dx",M.prototype.dx))),d=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"dy",M.prototype.dy)));return new mxPoint(a.x+b,a.y+d)},function(a,b){this.state.style.dx=Math.round(Math.max(0,Math.min(a.width,b.x-a.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))})]},tee:function(a){return[ha(a,
["dx","dy"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"dx",V.prototype.dx))),d=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"dy",V.prototype.dy)));return new mxPoint(a.x+(a.width+b)/2,a.y+d)},function(a,b){this.state.style.dx=Math.round(Math.max(0,2*Math.min(a.width/2,b.x-a.x-a.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))})]},singleArrow:ya(1),doubleArrow:ya(0.5),folder:function(a){return[ha(a,["tabWidth",
"tabHeight"],function(a){var b=Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"tabWidth",g.prototype.tabWidth))),d=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"tabHeight",g.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",g.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(b=a.width-b);return new mxPoint(a.x+b,a.y+d)},function(a,b){var d=Math.max(0,Math.min(a.width,b.x-a.x));mxUtils.getValue(this.state.style,"tabPosition",g.prototype.tabPosition)==
mxConstants.ALIGN_RIGHT&&(d=a.width-d);this.state.style.tabWidth=Math.round(d);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))})]},document:function(a){return[ha(a,["size"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",m.prototype.size))));return new mxPoint(a.x+3*a.width/4,a.y+(1-b)*a.height)},function(a,b){this.state.style.size=Math.max(0,Math.min(1,(a.y+a.height-b.y)/a.height))})]},tape:function(a){return[ha(a,["size"],
function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",l.prototype.size))));return new mxPoint(a.getCenterX(),a.y+b*a.height/2)},function(a,b){this.state.style.size=Math.max(0,Math.min(1,2*((b.y-a.y)/a.height)))})]},offPageConnector:function(a){return[ha(a,["size"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",T.prototype.size))));return new mxPoint(a.getCenterX(),a.y+(1-b)*a.height)},function(a,b){this.state.style.size=
Math.max(0,Math.min(1,(a.y+a.height-b.y)/a.height))})]},step:qa(u.prototype.size,!0),hexagon:qa(v.prototype.size,!0,0.5),curlyBracket:qa(r.prototype.size,!1),display:qa(oa.prototype.size,!1),cube:ua(1,b.prototype.size,!1),card:ua(0.5,k.prototype.size,!0),loopLimit:ua(0.5,ca.prototype.size,!0),trapezoid:ka(0.5),parallelogram:ka(1)};Graph.createHandle=ha;Graph.handleFactory=va;mxVertexHandler.prototype.createCustomHandles=function(){if(1==this.state.view.graph.getSelectionCount()&&this.graph.isCellRotatable(this.state.cell)){var a=
va[this.state.style.shape];if(null!=a)return a(this.state)}return null};mxEdgeHandler.prototype.createCustomHandles=function(){if(1==this.state.view.graph.getSelectionCount()){var a=va[this.state.style.shape];if(null!=a)return a(this.state)}return null}}else Graph.createHandle=function(){},Graph.handleFactory={};var ra=new mxPoint(1,0),sa=new mxPoint(1,0),ka=mxUtils.toRadians(-30),la=Math.cos(ka),ka=Math.sin(ka),ra=mxUtils.getRotatedPoint(ra,la,ka),ka=mxUtils.toRadians(-150),la=Math.cos(ka),ka=Math.sin(ka),
sa=mxUtils.getRotatedPoint(sa,la,ka);mxEdgeStyle.IsometricConnector=function(a,b,d,e,c){var f=a.view;e=null!=e&&0<e.length?e[0]:null;var g=a.absolutePoints,k=g[0],g=g[g.length-1];null!=e&&(e=f.transformControlPoint(a,e));null==k&&null!=b&&(k=new mxPoint(b.getCenterX(),b.getCenterY()));null==g&&null!=d&&(g=new mxPoint(d.getCenterX(),d.getCenterY()));var l=ra.x,m=ra.y,n=sa.x,q=sa.y,t="horizontal"==mxUtils.getValue(a.style,"elbow","horizontal");if(null!=g&&null!=k){var p=k;a=function(a,b,d){a-=p.x;var e=
b-p.y;b=(q*a-n*e)/(l*q-m*n);a=(m*a-l*e)/(m*n-l*q);t?(d&&(p=new mxPoint(p.x+l*b,p.y+m*b),c.push(p)),p=new mxPoint(p.x+n*a,p.y+q*a)):(d&&(p=new mxPoint(p.x+n*a,p.y+q*a),c.push(p)),p=new mxPoint(p.x+l*b,p.y+m*b));c.push(p)};null==e&&(e=new mxPoint(k.x+(g.x-k.x)/2,k.y+(g.y-k.y)/2));a(e.x,e.y,!0);a(g.x,g.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Ea=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(a,b){if(b==mxEdgeStyle.IsometricConnector){var d=
new mxElbowEdgeHandler(a);d.snapToTerminals=!1;return d}return Ea.apply(this,arguments)};c.prototype.constraints=[];f.prototype.constraints=[];mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(1,
0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0.5,
0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5))];mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;z.prototype.constraints=mxRectangleShape.prototype.constraints;a.prototype.constraints=mxRectangleShape.prototype.constraints;k.prototype.constraints=
mxRectangleShape.prototype.constraints;b.prototype.constraints=mxRectangleShape.prototype.constraints;g.prototype.constraints=mxRectangleShape.prototype.constraints;P.prototype.constraints=mxRectangleShape.prototype.constraints;R.prototype.constraints=mxRectangleShape.prototype.constraints;Z.prototype.constraints=mxEllipse.prototype.constraints;ba.prototype.constraints=mxEllipse.prototype.constraints;Y.prototype.constraints=mxEllipse.prototype.constraints;fa.prototype.constraints=mxEllipse.prototype.constraints;
N.prototype.constraints=mxRectangleShape.prototype.constraints;ja.prototype.constraints=mxRectangleShape.prototype.constraints;oa.prototype.constraints=mxRectangleShape.prototype.constraints;ca.prototype.constraints=mxRectangleShape.prototype.constraints;T.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.15,0.05),!1),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.85,0.05),
!1),new mxConnectionConstraint(new mxPoint(0,0.3),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.7),!0),new mxConnectionConstraint(new mxPoint(1,0.3),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.7),!0),new mxConnectionConstraint(new mxPoint(0.15,0.95),!1),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.85,0.95),!1)];D.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,
0.1),!1),new mxConnectionConstraint(new mxPoint(0.5,0),!1),new mxConnectionConstraint(new mxPoint(0.75,0.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(0.5,0.5),!1)];O.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,
0),!0),new mxConnectionConstraint(new mxPoint(0,0.3),!0),new mxConnectionConstraint(new mxPoint(0,0.7),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.25,
0.2),!1),new mxConnectionConstraint(new mxPoint(0.1,0.5),!1),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(0.75,0.25),!1),new mxConnectionConstraint(new mxPoint(0.9,0.5),!1),new mxConnectionConstraint(new mxPoint(1,0.75),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,1),!0)];e.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0.5,
0.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(0.25,0.5),!1),new mxConnectionConstraint(new mxPoint(0.75,0.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(0.5,0.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];l.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0.35),!1),new mxConnectionConstraint(new mxPoint(0,0.5),!1),new mxConnectionConstraint(new mxPoint(0,0.65),!1),new mxConnectionConstraint(new mxPoint(1,
0.35),!1),new mxConnectionConstraint(new mxPoint(1,0.5),!1),new mxConnectionConstraint(new mxPoint(1,0.65),!1),new mxConnectionConstraint(new mxPoint(0.25,1),!1),new mxConnectionConstraint(new mxPoint(0.75,0),!1)];u.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0.25,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.75,
1),!0),new mxConnectionConstraint(new mxPoint(0.1,0.25),!1),new mxConnectionConstraint(new mxPoint(0.2,0.5),!1),new mxConnectionConstraint(new mxPoint(0.1,0.75),!1),new mxConnectionConstraint(new mxPoint(0.9,0.25),!1),new mxConnectionConstraint(new mxPoint(1,0.5),!1),new mxConnectionConstraint(new mxPoint(0.9,0.75),!1)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0.5),!1),new mxConnectionConstraint(new mxPoint(0.25,0.5),!1),new mxConnectionConstraint(new mxPoint(0.75,0.5),
!1),new mxConnectionConstraint(new mxPoint(1,0.5),!1)];I.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.5,0),!1),new mxConnectionConstraint(new mxPoint(0.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),
new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0)];mxHexagon.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.375,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.625,0),!0),new mxConnectionConstraint(new mxPoint(0.125,0.25),!1),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0.125,0.75),!1),new mxConnectionConstraint(new mxPoint(0.875,
0.25),!1),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.5),!0),new mxConnectionConstraint(new mxPoint(0.875,0.75),!1),new mxConnectionConstraint(new mxPoint(0.375,1),!0),new mxConnectionConstraint(new mxPoint(0.5,1),!0),new mxConnectionConstraint(new mxPoint(0.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,0.25),!1),new mxConnectionConstraint(new mxPoint(0.4,0.1),!1),new mxConnectionConstraint(new mxPoint(0.16,
0.55),!1),new mxConnectionConstraint(new mxPoint(0.07,0.4),!1),new mxConnectionConstraint(new mxPoint(0.31,0.8),!1),new mxConnectionConstraint(new mxPoint(0.13,0.77),!1),new mxConnectionConstraint(new mxPoint(0.8,0.8),!1),new mxConnectionConstraint(new mxPoint(0.55,0.95),!1),new mxConnectionConstraint(new mxPoint(0.875,0.5),!1),new mxConnectionConstraint(new mxPoint(0.96,0.7),!1),new mxConnectionConstraint(new mxPoint(0.625,0.2),!1),new mxConnectionConstraint(new mxPoint(0.88,0.25),!1)];n.prototype.constraints=
mxRectangleShape.prototype.constraints;p.prototype.constraints=mxRectangleShape.prototype.constraints;m.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.25,0),!0),new mxConnectionConstraint(new mxPoint(0.5,0),!0),new mxConnectionConstraint(new mxPoint(0.75,0),!0),new mxConnectionConstraint(new mxPoint(0,0.25),!0),new mxConnectionConstraint(new mxPoint(0,0.5),!0),new mxConnectionConstraint(new mxPoint(0,0.75),!0),new mxConnectionConstraint(new mxPoint(1,0.25),!0),new mxConnectionConstraint(new mxPoint(1,
0.5),!0),new mxConnectionConstraint(new mxPoint(1,0.75),!0)];mxArrow.prototype.constraints=null;V.prototype.constraints=null;M.prototype.constraints=null;J.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0.5),!1),new mxConnectionConstraint(new mxPoint(1,0.5),!1)];K.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0.5),!1),new mxConnectionConstraint(new mxPoint(1,0.5),!1)];ga.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0.5),!1),new mxConnectionConstraint(new mxPoint(1,
0.5),!1),new mxConnectionConstraint(new mxPoint(0.5,0),!1),new mxConnectionConstraint(new mxPoint(0.5,1),!1)];G.prototype.constraints=null;X.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0.25),!1),new mxConnectionConstraint(new mxPoint(0,0.5),!1),new mxConnectionConstraint(new mxPoint(0,0.75),!1),new mxConnectionConstraint(new mxPoint(1,0.5),!1),new mxConnectionConstraint(new mxPoint(0.7,0.1),!1),new mxConnectionConstraint(new mxPoint(0.7,0.9),!1)];da.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0.175,
0.25),!1),new mxConnectionConstraint(new mxPoint(0.25,0.5),!1),new mxConnectionConstraint(new mxPoint(0.175,0.75),!1),new mxConnectionConstraint(new mxPoint(1,0.5),!1),new mxConnectionConstraint(new mxPoint(0.7,0.1),!1),new mxConnectionConstraint(new mxPoint(0.7,0.9),!1)]})();function Actions(b){this.editorUi=b;this.actions={};this.init()}
Actions.prototype.init=function(){function b(a){d.escape();var b=d.getDeletableCells(d.getSelectionCells());if(null!=b&&0<b.length){var e=d.model.getParents(b);d.removeCells(b,a);if(null!=e){a=[];for(b=0;b<e.length;b++)(d.model.isVertex(e[b])||d.model.isEdge(e[b]))&&a.push(e[b]);d.setSelectionCells(a)}}}var c=this.editorUi,f=c.editor,d=f.graph,a=function(){return Action.prototype.isEnabled.apply(this,arguments)&&d.isEnabled()};this.addAction("new...",function(){window.open(c.getUrl())});this.addAction("open...",
function(){window.openNew=!0;window.openKey="open";c.openFile()});this.addAction("import...",function(){window.openNew=!1;window.openKey="import";window.openFile=new OpenFile(mxUtils.bind(this,function(){c.hideDialog()}));window.openFile.setConsumer(mxUtils.bind(this,function(a,b){try{var d=mxUtils.parseXml(a),e=new mxGraphModel;(new mxCodec(d)).decode(d.documentElement,e);var c=e.getChildren(e.getChildAt(e.getRoot(),0));f.graph.setSelectionCells(f.graph.importCells(c))}catch(p){mxUtils.alert(mxResources.get("invalidOrMissingFile")+
": "+p.message)}}));c.showDialog((new OpenDialog(this)).container,320,220,!0,!0,function(){window.openFile=null})}).isEnabled=a;this.addAction("save",function(){c.saveFile(!1)},null,null,"Ctrl+S").isEnabled=a;this.addAction("saveAs...",function(){c.saveFile(!0)},null,null,"Ctrl+Shift+S").isEnabled=a;this.addAction("export...",function(){c.showDialog((new ExportDialog(c)).container,300,210,!0,!0)});this.addAction("editDiagram...",function(){var a=new EditDiagramDialog(c);c.showDialog(a.container,620,
420,!0,!0);a.init()});this.addAction("pageSetup...",function(){c.showDialog((new PageSetupDialog(c)).container,320,220,!0,!0)}).isEnabled=a;this.addAction("print...",function(){c.showDialog((new PrintDialog(c)).container,300,180,!0,!0)},null,"sprite-print","Ctrl+P");this.addAction("preview",function(){mxUtils.show(d,null,10,10)});this.addAction("undo",function(){c.undo()},null,"sprite-undo","Ctrl+Z");this.addAction("redo",function(){c.redo()},null,"sprite-redo",!mxClient.IS_WIN?"Ctrl+Shift+Z":"Ctrl+Y");
this.addAction("cut",function(){mxClipboard.cut(d)},null,"sprite-cut","Ctrl+X");this.addAction("copy",function(){mxClipboard.copy(d)},null,"sprite-copy","Ctrl+C");this.addAction("paste",function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&mxClipboard.paste(d)},!1,"sprite-paste","Ctrl+V");this.addAction("pasteHere",function(a){if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){d.getModel().beginUpdate();try{var b=mxClipboard.paste(d);if(null!=b){var e=d.getBoundingBoxFromGeometry(b);
if(null!=e){var c=d.view.translate,f=d.view.scale,p=c.y,r=Math.round(d.snap(d.popupMenuHandler.triggerX/f-c.x)),s=Math.round(d.snap(d.popupMenuHandler.triggerY/f-p));d.cellsMoved(b,r-e.x,s-e.y)}}}finally{d.getModel().endUpdate()}}});this.addAction("delete",function(){b(!1)},null,null,"Delete");this.addAction("deleteAll",function(){b(!0)},null,null,"Ctrl+Delete");this.addAction("duplicate",function(){d.setSelectionCells(d.duplicateCells())},null,null,"Ctrl+D");this.addAction("turn",function(){d.setSelectionCells(d.turnShapes(d.getSelectionCells()))},
null,null,"Ctrl+R");this.addAction("selectVertices",function(){d.selectVertices()},null,null,"Ctrl+Shift+I");this.addAction("selectEdges",function(){d.selectEdges()},null,null,"Ctrl+Shift+E");this.addAction("selectAll",function(){d.selectAll(null,!0)},null,null,"Ctrl+A");this.addAction("selectNone",function(){d.clearSelection()},null,null,"Ctrl+Shift+A");this.addAction("lockUnlock",function(){if(!d.isSelectionEmpty()){d.getModel().beginUpdate();try{var a=d.isCellMovable(d.getSelectionCell())?1:0;
d.toggleCellStyles(mxConstants.STYLE_MOVABLE,a);d.toggleCellStyles(mxConstants.STYLE_RESIZABLE,a);d.toggleCellStyles(mxConstants.STYLE_ROTATABLE,a);d.toggleCellStyles(mxConstants.STYLE_DELETABLE,a);d.toggleCellStyles(mxConstants.STYLE_EDITABLE,a);d.toggleCellStyles("connectable",a)}finally{d.getModel().endUpdate()}}},null,null,"Ctrl+L");this.addAction("home",function(){d.home()},null,null,"Home");this.addAction("exitGroup",function(){d.exitGroup()},null,null,"Ctrl+Shift+Page Up");this.addAction("enterGroup",
function(){d.enterGroup()},null,null,"Ctrl+Shift+Page Down");this.addAction("expand",function(){d.foldCells(!1)},null,null,"Ctrl+Page Down");this.addAction("collapse",function(){d.foldCells(!0)},null,null,"Ctrl+Page Up");this.addAction("toFront",function(){d.orderCells(!1)},null,null,"Ctrl+Shift+F");this.addAction("toBack",function(){d.orderCells(!0)},null,null,"Ctrl+Shift+B");this.addAction("group",function(){1==d.getSelectionCount()?d.setCellStyles("container","1"):d.setSelectionCell(d.groupCells(null,
0))},null,null,"Ctrl+G");this.addAction("ungroup",function(){1==d.getSelectionCount()&&0==d.getModel().getChildCount(d.getSelectionCell())?d.setCellStyles("container","0"):d.setSelectionCells(d.ungroupCells())},null,null,"Ctrl+Shift+U");this.addAction("removeFromGroup",function(){d.removeCellsFromParent()});this.addAction("editData...",function(){var a=d.getSelectionCell()||d.getModel().getRoot();null!=a&&(a=new EditDataDialog(c,a),c.showDialog(a.container,320,320,!0,!1),a.init())},null,null,"Ctrl+M");
this.addAction("editTooltip...",function(){var a=c.editor.graph;if(a.isEnabled()&&!a.isSelectionEmpty()){var b=a.getSelectionCell(),d="";if(mxUtils.isNode(b.value)){var e=b.value.getAttribute("tooltip");null!=e&&(d=e)}d=new TextareaDialog(c,mxResources.get("editTooltip")+":",d,function(d){a.setTooltipForCell(b,d)});c.showDialog(d.container,320,200,!0,!0);d.init()}});this.addAction("openLink",function(){var a=d.getLinkForCell(d.getSelectionCell());null!=a&&window.open(a)});this.addAction("editLink...",
function(){var a=c.editor.graph;if(a.isEnabled()&&!a.isSelectionEmpty()){var b=a.getSelectionCell(),d=a.getLinkForCell(b)||"";c.showLinkDialog(d,mxResources.get("apply"),function(d){d=mxUtils.trim(d);a.setLinkForCell(b,0<d.length?d:null)})}});this.addAction("insertLink",function(){if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){var a=new LinkDialog(c,"",mxResources.get("insert"),function(a,b){a=mxUtils.trim(a);if(0<a.length){var e=a.substring(a.lastIndexOf("/")+1),c=null;null!=b&&0<b.length&&
(c=b[0].iconUrl,e=b[0].name||b[0].type,e=e.charAt(0).toUpperCase()+e.substring(1),30<e.length&&(e=e.substring(0,30)+"..."));var f=d.getInsertPoint(),e=new mxCell(e,new mxGeometry(f.x,f.y,100,40),"fontColor\x3d#0000EE;fontStyle\x3d4;rounded\x3d1;overflow\x3dhidden;"+(null!=c?"shape\x3dlabel;imageWidth\x3d16;imageHeight\x3d16;spacingLeft\x3d26;align\x3dleft;image\x3d"+c:"spacing\x3d10;"));e.vertex=!0;d.setLinkForCell(e,a);d.cellSizeUpdated(e,!0);d.setSelectionCell(d.addCell(e))}});c.showDialog(a.container,
420,90,!0,!0);a.init()}}).isEnabled=a;this.addAction("link...",mxUtils.bind(this,function(){var a=c.editor.graph;if(a.isEnabled())if(a.cellEditor.isContentEditing()){var b=a.getParentByName(a.getSelectedElement(),"A",a.cellEditor.textarea),d="";null!=b&&(d=b.getAttribute("href")||"");var e=a.cellEditor.saveSelection();c.showLinkDialog(d,mxResources.get("apply"),mxUtils.bind(this,function(b){a.cellEditor.restoreSelection(e);if(null!=b)if(0==b.length)document.execCommand("unlink",!1);else{for(var d=
a.cellEditor.textarea.getElementsByTagName("a"),c=[],f=0;f<d.length;f++)c.push(d[f]);document.execCommand("createlink",!1,mxUtils.trim(b));b=a.cellEditor.textarea.getElementsByTagName("a");if(b.length==c.length+1)for(f=b.length-1;0<=f;f--)if(0==f||b[f]!=c[f-1]){b[f].setAttribute("target","_blank");break}}}))}else a.isSelectionEmpty()?this.get("insertLink").funct():this.get("editLink").funct()})).isEnabled=a;this.addAction("autosize",function(){var a=d.getSelectionCells();if(null!=a){d.getModel().beginUpdate();
try{for(var b=0;b<a.length;b++){var e=a[b];if(d.getModel().getChildCount(e))d.updateGroupBounds([e],20);else{var c=d.view.getState(e),f=d.getCellGeometry(e);d.getModel().isVertex(e)&&null!=c&&null!=c.text&&null!=f&&d.isWrapping(e)?(f=f.clone(),f.height=c.text.boundingBox.height/d.view.scale,d.getModel().setGeometry(e,f)):d.updateCellSize(e)}}}finally{d.getModel().endUpdate()}}},null,null,"Ctrl+Shift+Y");this.addAction("formattedText",function(){var a=d.getView().getState(d.getSelectionCell());if(null!=
a){var b="1";d.stopEditing();d.getModel().beginUpdate();try{if("1"==a.style.html)b=null,"0"!=mxUtils.getValue(a.style,"nl2Br","1")&&d.cellLabelChanged(a.cell,d.convertValueToString(a.cell).replace(/\n/g,"").replace(/<br\s*.?>/g,"\n"));else{var e=d.convertValueToString(a.cell);"0"!=mxUtils.getValue(a.style,"nl2Br","1")&&(e=e.replace(/\n/g,"\x3cbr/\x3e"));d.cellLabelChanged(a.cell,d.sanitizeHtml(e))}d.setCellStyles("html",b);c.fireEvent(new mxEventObject("styleChanged","keys",["html"],"values",[null!=
b?b:"0"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}}});this.addAction("wordWrap",function(){var a=d.getView().getState(d.getSelectionCell()),b="wrap";d.stopEditing();null!=a&&"wrap"==a.style[mxConstants.STYLE_WHITE_SPACE]&&(b=null);d.setCellStyles(mxConstants.STYLE_WHITE_SPACE,b)});this.addAction("rotation",function(){var a="0",b=d.getView().getState(d.getSelectionCell());null!=b&&(a=b.style[mxConstants.STYLE_ROTATION]||a);a=new FilenameDialog(c,a,mxResources.get("apply"),function(a){null!=
a&&0<a.length&&d.setCellStyles(mxConstants.STYLE_ROTATION,a)},mxResources.get("enterValue")+" ("+mxResources.get("rotation")+" 0-360)");c.showDialog(a.container,300,80,!0,!0);a.init()});this.addAction("resetView",function(){d.zoomTo(1);c.resetScrollbars()},null,null,"Ctrl+H");this.addAction("zoomIn",function(a){d.zoomIn()},null,null,"Ctrl + / Alt+Mousewheel");this.addAction("zoomOut",function(a){d.zoomOut()},null,null,"Ctrl - / Alt+Mousewheel");this.addAction("fitWindow",function(){d.fit()},null,
null,"Ctrl+Shift+H");this.addAction("fitPage",mxUtils.bind(this,function(){d.pageVisible||this.get("pageView").funct();var a=d.pageFormat,b=d.pageScale,a=Math.floor(20*Math.min((d.container.clientWidth-10)/a.width/b,(d.container.clientHeight-10)/a.height/b))/20;d.zoomTo(a);mxUtils.hasScrollbars(d.container)&&(a=d.getPagePadding(),d.container.scrollTop=a.y*d.view.scale,d.container.scrollLeft=Math.min(a.x*d.view.scale,(d.container.scrollWidth-d.container.clientWidth)/2))}),null,null,"Ctrl+J");this.addAction("fitTwoPages",
mxUtils.bind(this,function(){d.pageVisible||this.get("pageView").funct();var a=d.pageFormat,b=d.pageScale,a=Math.floor(20*Math.min((d.container.clientWidth-10)/(2*a.width)/b,(d.container.clientHeight-10)/a.height/b))/20;d.zoomTo(a);mxUtils.hasScrollbars(d.container)&&(a=d.getPagePadding(),d.container.scrollTop=Math.min(a.y,(d.container.scrollHeight-d.container.clientHeight)/2),d.container.scrollLeft=Math.min(a.x,(d.container.scrollWidth-d.container.clientWidth)/2))}),null,null,"Ctrl+Shift+J");this.addAction("fitPageWidth",
mxUtils.bind(this,function(){d.pageVisible||this.get("pageView").funct();d.zoomTo(Math.floor(20*(d.container.clientWidth-10)/d.pageFormat.width/d.pageScale)/20);if(mxUtils.hasScrollbars(d.container)){var a=d.getPagePadding();d.container.scrollLeft=Math.min(a.x*d.view.scale,(d.container.scrollWidth-d.container.clientWidth)/2)}}));this.put("customZoom",new Action(mxResources.get("custom")+"...",mxUtils.bind(this,function(){var a=new FilenameDialog(this.editorUi,parseInt(100*d.getView().getScale()),
mxResources.get("apply"),mxUtils.bind(this,function(a){a=parseInt(a);!isNaN(a)&&0<a&&d.zoomTo(a/100)}),mxResources.get("zoom")+" (%)");this.editorUi.showDialog(a.container,300,80,!0,!0);a.init()}),null,null,"Ctrl+0"));this.addAction("pageScale",mxUtils.bind(this,function(){var a=new FilenameDialog(this.editorUi,parseInt(100*d.pageScale),mxResources.get("apply"),mxUtils.bind(this,function(a){a=parseInt(a);!isNaN(a)&&0<a&&c.setPageScale(a/100)}),mxResources.get("pageScale")+" (%)");this.editorUi.showDialog(a.container,
300,80,!0,!0);a.init()}));var e=null,e=this.addAction("grid",function(){d.setGridEnabled(!d.isGridEnabled());c.fireEvent(new mxEventObject("gridEnabledChanged"))},null,null,"Ctrl+Shift+G");e.setToggleAction(!0);e.setSelectedCallback(function(){return d.isGridEnabled()});e.setEnabled(!1);e=this.addAction("guides",function(){d.graphHandler.guidesEnabled=!d.graphHandler.guidesEnabled;c.fireEvent(new mxEventObject("guidesEnabledChanged"))});e.setToggleAction(!0);e.setSelectedCallback(function(){return d.graphHandler.guidesEnabled});
e.setEnabled(!1);e=this.addAction("tooltips",function(){d.tooltipHandler.setEnabled(!d.tooltipHandler.isEnabled())});e.setToggleAction(!0);e.setSelectedCallback(function(){return d.tooltipHandler.isEnabled()});e=this.addAction("collapseExpand",function(){c.setFoldingEnabled(!d.foldingEnabled)});e.setToggleAction(!0);e.setSelectedCallback(function(){return d.foldingEnabled});e.isEnabled=a;e=this.addAction("scrollbars",function(){c.setScrollbars(!c.hasScrollbars())});e.setToggleAction(!0);e.setSelectedCallback(function(){return d.scrollbars});
e=this.addAction("pageView",mxUtils.bind(this,function(){var a=mxUtils.hasScrollbars(d.container),b=0,e=0;a&&(b=d.view.translate.x*d.view.scale-d.container.scrollLeft,e=d.view.translate.y*d.view.scale-d.container.scrollTop);d.pageVisible=!d.pageVisible;d.pageBreaksVisible=d.pageVisible;d.preferPageSize=d.pageBreaksVisible;d.view.validateBackground();if(a){var f=d.getSelectionCells();d.clearSelection();d.setSelectionCells(f)}d.sizeDidChange();a&&(d.container.scrollLeft=d.view.translate.x*d.view.scale-
b,d.container.scrollTop=d.view.translate.y*d.view.scale-e);c.fireEvent(new mxEventObject("pageViewChanged"))}));e.setToggleAction(!0);e.setSelectedCallback(function(){return d.pageVisible});this.put("pageBackgroundColor",new Action(mxResources.get("backgroundColor")+"...",function(){c.pickColor(d.background||"none",function(a){c.setBackgroundColor(a)})}));e=this.addAction("connectionArrows",function(){d.connectionArrowsEnabled=!d.connectionArrowsEnabled;c.fireEvent(new mxEventObject("connectionArrowsChanged"))},
null,null,"Ctrl+Q");e.setToggleAction(!0);e.setSelectedCallback(function(){return d.connectionArrowsEnabled});e=this.addAction("connectionPoints",function(){d.setConnectable(!d.connectionHandler.isEnabled());c.fireEvent(new mxEventObject("connectionPointsChanged"))},null,null,"Ctrl+Shift+Q");e.setToggleAction(!0);e.setSelectedCallback(function(){return d.connectionHandler.isEnabled()});e=this.addAction("copyConnect",function(){d.connectionHandler.setCreateTarget(!d.connectionHandler.isCreateTarget());
c.fireEvent(new mxEventObject("copyConnectChanged"))});e.setToggleAction(!0);e.setSelectedCallback(function(){return d.connectionHandler.isCreateTarget()});e.isEnabled=a;e=this.addAction("autosave",function(){c.editor.setAutosave(!c.editor.autosave)});e.setToggleAction(!0);e.setSelectedCallback(function(){return c.editor.autosave});e.isEnabled=a;e.visible=!1;this.addAction("help",function(){var a="";mxResources.isLanguageSupported(mxClient.language)&&(a="_"+mxClient.language);window.open(RESOURCES_PATH+
"/help"+a+".html")});this.put("about",new Action(mxResources.get("about")+" Graph Editor...",function(){c.showDialog((new AboutDialog(c)).container,320,280,!0,!0)},null,null,"F1"));e=mxUtils.bind(this,function(a,b,e,c){return this.addAction(a,function(){null!=e&&d.cellEditor.isContentEditing()?e():(d.stopEditing(!1),d.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,b))},null,null,c)});e("bold",mxConstants.FONT_BOLD,function(){document.execCommand("bold",!1,null)},"Ctrl+B");e("italic",mxConstants.FONT_ITALIC,
function(){document.execCommand("italic",!1,null)},"Ctrl+I");e("underline",mxConstants.FONT_UNDERLINE,function(){document.execCommand("underline",!1,null)},"Ctrl+U");this.addAction("fontColor...",function(){c.menus.pickColor(mxConstants.STYLE_FONTCOLOR,"forecolor","000000")});this.addAction("strokeColor...",function(){c.menus.pickColor(mxConstants.STYLE_STROKECOLOR)});this.addAction("fillColor...",function(){c.menus.pickColor(mxConstants.STYLE_FILLCOLOR)});this.addAction("gradientColor...",function(){c.menus.pickColor(mxConstants.STYLE_GRADIENTCOLOR)});
this.addAction("backgroundColor...",function(){c.menus.pickColor(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"backcolor")});this.addAction("borderColor...",function(){c.menus.pickColor(mxConstants.STYLE_LABEL_BORDERCOLOR)});this.addAction("vertical",function(){c.menus.toggleStyle(mxConstants.STYLE_HORIZONTAL,!0)});this.addAction("shadow",function(){c.menus.toggleStyle(mxConstants.STYLE_SHADOW)});this.addAction("solid",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_DASHED,
null),d.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",[null,null],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("dashed",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_DASHED,"1"),d.setCellStyles(mxConstants.STYLE_DASH_PATTERN,null),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,
mxConstants.STYLE_DASH_PATTERN],"values",["1",null],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("dotted",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_DASHED,"1"),d.setCellStyles(mxConstants.STYLE_DASH_PATTERN,"1 4"),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],"values",["1","1 4"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("sharp",
function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),d.setCellStyles(mxConstants.STYLE_CURVED,"0"),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","0"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("rounded",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_ROUNDED,"1"),d.setCellStyles(mxConstants.STYLE_CURVED,"0"),c.fireEvent(new mxEventObject("styleChanged",
"keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["1","0"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});this.addAction("toggleRounded",function(){if(!d.isSelectionEmpty()&&d.isEnabled()){d.getModel().beginUpdate();try{var a=d.getSelectionCells(),b=d.view.getState(a[0]),e=null!=b?b.style:d.getCellStyle(a[0]),f="1"==mxUtils.getValue(e,mxConstants.STYLE_ROUNDED,"0")?"0":"1";d.setCellStyles(mxConstants.STYLE_ROUNDED,f);d.setCellStyles(mxConstants.STYLE_CURVED,
null);c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",[f,"0"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}}});this.addAction("curved",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_ROUNDED,"0"),d.setCellStyles(mxConstants.STYLE_CURVED,"1"),c.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],"values",["0","1"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}});
this.addAction("collapsible",function(){var a=d.view.getState(d.getSelectionCell()),b="1";null!=a&&null!=d.getFoldingImage(a)&&(b="0");d.setCellStyles("collapsible",b);c.fireEvent(new mxEventObject("styleChanged","keys",["collapsible"],"values",[b],"cells",d.getSelectionCells()))});this.addAction("editStyle...",mxUtils.bind(this,function(){var a=d.getSelectionCells();if(null!=a&&0<a.length){var b=d.getModel(),b=new TextareaDialog(this.editorUi,mxResources.get("editStyle")+":",b.getStyle(a[0])||"",
function(b){null!=b&&d.setCellStyle(mxUtils.trim(b),a)},null,null,400,220);this.editorUi.showDialog(b.container,420,300,!0,!0);b.init()}}),null,null,"Ctrl+E");this.addAction("setAsDefaultStyle",function(){d.isEnabled()&&!d.isSelectionEmpty()&&c.setDefaultStyle(d.getSelectionCell())},null,null,"Ctrl+Shift+D");this.addAction("clearDefaultStyle",function(){d.isEnabled()&&c.clearDefaultStyle()},null,null,"Ctrl+Shift+R");this.addAction("addWaypoint",function(){var a=d.getSelectionCell();if(null!=a&&d.getModel().isEdge(a)){var b=
f.graph.selectionCellsHandler.getHandler(a);if(b instanceof mxEdgeHandler){for(var e=d.view.translate,c=d.view.scale,n=e.x,e=e.y,a=d.getModel().getParent(a),p=d.getCellGeometry(a);d.getModel().isVertex(a)&&null!=p;)n+=p.x,e+=p.y,a=d.getModel().getParent(a),p=d.getCellGeometry(a);n=Math.round(d.snap(d.popupMenuHandler.triggerX/c-n));c=Math.round(d.snap(d.popupMenuHandler.triggerY/c-e));b.addPointAt(b.state,n,c)}}});this.addAction("removeWaypoint",function(){var a=c.actions.get("removeWaypoint");null!=
a.handler&&a.handler.removePoint(a.handler.state,a.index)});this.addAction("clearWaypoints",function(){var a=d.getSelectionCells();if(null!=a){d.getModel().beginUpdate();try{for(var b=0;b<a.length;b++){var e=a[b];if(d.getModel().isEdge(e)){var c=d.getCellGeometry(e);null!=c&&(c=c.clone(),c.points=null,d.getModel().setGeometry(e,c))}}}finally{d.getModel().endUpdate()}}});e=this.addAction("subscript",mxUtils.bind(this,function(){d.cellEditor.isContentEditing()&&document.execCommand("subscript",!1,null)}),
null,null,"Ctrl+,");e=this.addAction("superscript",mxUtils.bind(this,function(){d.cellEditor.isContentEditing()&&document.execCommand("superscript",!1,null)}),null,null,"Ctrl+.");this.addAction("image...",function(){if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){var a=mxResources.get("image")+" ("+mxResources.get("url")+"):",b=d.getView().getState(d.getSelectionCell()),e="";null!=b&&(e=b.style[mxConstants.STYLE_IMAGE]||e);var f=d.cellEditor.saveSelection();c.showImageDialog(a,e,function(a,
b,e){if(d.cellEditor.isContentEditing())d.cellEditor.restoreSelection(f),d.insertImage(a,b,e);else{var c=d.getSelectionCells();if(null!=a){var g=null;d.getModel().beginUpdate();try{if(0==c.length)var k=d.getInsertPoint(),g=c=[d.insertVertex(d.getDefaultParent(),null,"",k.x,k.y,b,e,"shape\x3dimage;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;")];d.setCellStyles(mxConstants.STYLE_IMAGE,a,c);var l=d.view.getState(c[0]),v=null!=l?l.style:d.getCellStyle(c[0]);"image"!=v[mxConstants.STYLE_SHAPE]&&
"label"!=v[mxConstants.STYLE_SHAPE]&&d.setCellStyles(mxConstants.STYLE_SHAPE,"image",c);if(1==d.getSelectionCount()&&null!=b&&null!=e){var z=c[0],y=d.getModel().getGeometry(z);null!=y&&(y=y.clone(),y.width=b,y.height=e,d.getModel().setGeometry(z,y))}}finally{d.getModel().endUpdate()}null!=g&&(d.setSelectionCells(g),d.scrollCellToVisible(g[0]))}}},d.cellEditor.isContentEditing(),!d.cellEditor.isContentEditing())}}).isEnabled=a;this.addAction("insertImage...",function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&
(d.clearSelection(),c.actions.get("image").funct())}).isEnabled=a;e=this.addAction("layers",mxUtils.bind(this,function(){null==this.layersWindow?(this.layersWindow=new LayersWindow(c,document.body.offsetWidth-280,120,220,180),this.layersWindow.window.addListener("show",function(){c.fireEvent(new mxEventObject("layers"))}),this.layersWindow.window.addListener("hide",function(){c.fireEvent(new mxEventObject("layers"))}),this.layersWindow.window.setVisible(!0),c.fireEvent(new mxEventObject("layers"))):
this.layersWindow.window.setVisible(!this.layersWindow.window.isVisible())}),null,null,"Ctrl+Shift+L");e.setToggleAction(!0);e.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.layersWindow&&this.layersWindow.window.isVisible()}));e=this.addAction("formatPanel",mxUtils.bind(this,function(){c.toggleFormatPanel()}),null,null,"Ctrl+Shift+P");e.setToggleAction(!0);e.setSelectedCallback(mxUtils.bind(this,function(){return 0<c.formatWidth}));e=this.addAction("outline",mxUtils.bind(this,
function(){null==this.outlineWindow?(this.outlineWindow=new OutlineWindow(c,document.body.offsetWidth-260,100,180,180),this.outlineWindow.window.addListener("show",function(){c.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.addListener("hide",function(){c.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.setVisible(!0),c.fireEvent(new mxEventObject("outline"))):this.outlineWindow.window.setVisible(!this.outlineWindow.window.isVisible());c.fireEvent(new mxEventObject("outline"))}),
null,null,"Ctrl+Shift+O");e.setToggleAction(!0);e.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.outlineWindow&&this.outlineWindow.window.isVisible()}))};Actions.prototype.addAction=function(b,c,f,d,a){var e;"..."==b.substring(b.length-3)?(b=b.substring(0,b.length-3),e=mxResources.get(b)+"..."):e=mxResources.get(b);return this.put(b,new Action(e,c,f,d,a))};Actions.prototype.put=function(b,c){return this.actions[b]=c};Actions.prototype.get=function(b){return this.actions[b]};
function Action(b,c,f,d,a){mxEventSource.call(this);this.label=b;this.funct=c;this.enabled=null!=f?f:!0;this.iconCls=d;this.shortcut=a;this.visible=!0}mxUtils.extend(Action,mxEventSource);Action.prototype.setEnabled=function(b){this.enabled!=b&&(this.enabled=b,this.fireEvent(new mxEventObject("stateChanged")))};Action.prototype.isEnabled=function(){return this.enabled};Action.prototype.setToggleAction=function(b){this.toggleAction=b};
Action.prototype.setSelectedCallback=function(b){this.selectedCallback=b};Action.prototype.isSelected=function(){return this.selectedCallback()};Menus=function(b){this.editorUi=b;this.menus={};this.init();mxClient.IS_SVG||((new Image).src=this.checkmarkImage)};Menus.prototype.defaultFont="Helvetica";Menus.prototype.defaultFontSize="12";Menus.prototype.defaultMenuItems="file edit view arrange extras help".split(" ");Menus.prototype.defaultFonts="Helvetica;Verdana;Times New Roman;Garamond;Comic Sans MS;Courier New;Georgia;Lucida Console;Tahoma".split(";");
Menus.prototype.init=function(){var b=this.editorUi.editor.graph,c=mxUtils.bind(b,b.isEnabled);this.customFonts=[];this.customFontSizes=[];this.put("fontFamily",new Menu(mxUtils.bind(this,function(b,d){for(var a=mxUtils.bind(this,function(a){this.styleChange(b,a,[mxConstants.STYLE_FONTFAMILY],[a],null,d,function(){document.execCommand("fontname",!1,a)}).firstChild.nextSibling.style.fontFamily=a}),e=0;e<this.defaultFonts.length;e++)a(this.defaultFonts[e]);b.addSeparator(d);if(0<this.customFonts.length){for(e=
0;e<this.customFonts.length;e++)a(this.customFonts[e]);b.addSeparator(d);b.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFonts=[]}),d);b.addSeparator(d)}this.promptChange(b,mxResources.get("custom")+"...","",mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,d,!0,mxUtils.bind(this,function(a){this.customFonts.push(a)}))})));this.put("formatBlock",new Menu(mxUtils.bind(this,function(c,d){function a(a,g){return c.addItem(a,null,mxUtils.bind(this,function(){b.cellEditor.textarea.focus();
document.execCommand("formatBlock",!1,"\x3c"+g+"\x3e")}),d)}a(mxResources.get("normal"),"p");a("","h1").firstChild.nextSibling.innerHTML='\x3ch1 style\x3d"margin:0px;"\x3e'+mxResources.get("heading")+" 1\x3c/h1\x3e";a("","h2").firstChild.nextSibling.innerHTML='\x3ch2 style\x3d"margin:0px;"\x3e'+mxResources.get("heading")+" 2\x3c/h2\x3e";a("","h3").firstChild.nextSibling.innerHTML='\x3ch3 style\x3d"margin:0px;"\x3e'+mxResources.get("heading")+" 3\x3c/h3\x3e";a("","h4").firstChild.nextSibling.innerHTML=
'\x3ch4 style\x3d"margin:0px;"\x3e'+mxResources.get("heading")+" 4\x3c/h4\x3e";a("","h5").firstChild.nextSibling.innerHTML='\x3ch5 style\x3d"margin:0px;"\x3e'+mxResources.get("heading")+" 5\x3c/h5\x3e";a("","h6").firstChild.nextSibling.innerHTML='\x3ch6 style\x3d"margin:0px;"\x3e'+mxResources.get("heading")+" 6\x3c/h6\x3e";a("","pre").firstChild.nextSibling.innerHTML='\x3cpre style\x3d"margin:0px;"\x3e'+mxResources.get("formatted")+"\x3c/pre\x3e";a("","blockquote").firstChild.nextSibling.innerHTML=
'\x3cblockquote style\x3d"margin-top:0px;margin-bottom:0px;"\x3e'+mxResources.get("blockquote")+"\x3c/blockquote\x3e"})));this.put("fontSize",new Menu(mxUtils.bind(this,function(c,d){for(var a=[6,8,9,10,11,12,14,18,24,36,48,72],e=mxUtils.bind(this,function(a){this.styleChange(c,a,[mxConstants.STYLE_FONTSIZE],[a],null,d,function(){document.execCommand("fontSize",!1,"3");for(var d=b.cellEditor.textarea.getElementsByTagName("font"),e=0;e<d.length;e++)if("3"==d[e].getAttribute("size")){d[e].removeAttribute("size");
d[e].style.fontSize=a+"px";break}})}),g=0;g<a.length;g++)e(a[g]);c.addSeparator(d);if(0<this.customFontSizes.length){for(g=0;g<this.customFontSizes.length;g++)e(this.customFontSizes[g]);c.addSeparator(d);c.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFontSizes=[]}),d);c.addSeparator(d)}this.promptChange(c,mxResources.get("custom")+"...","(pt)","12",mxConstants.STYLE_FONTSIZE,d,!0,mxUtils.bind(this,function(a){this.customFontSizes.push(a)}))})));this.put("direction",
new Menu(mxUtils.bind(this,function(c,d){c.addItem(mxResources.get("flipH"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPH,!1)},d);c.addItem(mxResources.get("flipV"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)},d);this.addMenuItems(c,["-","rotation"],d)})));this.put("align",new Menu(mxUtils.bind(this,function(c,d){c.addItem(mxResources.get("leftAlign"),null,function(){b.alignCells(mxConstants.ALIGN_LEFT)},d);c.addItem(mxResources.get("center"),null,function(){b.alignCells(mxConstants.ALIGN_CENTER)},
d);c.addItem(mxResources.get("rightAlign"),null,function(){b.alignCells(mxConstants.ALIGN_RIGHT)},d);c.addSeparator(d);c.addItem(mxResources.get("topAlign"),null,function(){b.alignCells(mxConstants.ALIGN_TOP)},d);c.addItem(mxResources.get("middle"),null,function(){b.alignCells(mxConstants.ALIGN_MIDDLE)},d);c.addItem(mxResources.get("bottomAlign"),null,function(){b.alignCells(mxConstants.ALIGN_BOTTOM)},d)})));this.put("distribute",new Menu(mxUtils.bind(this,function(c,d){c.addItem(mxResources.get("horizontal"),
null,function(){b.distributeCells(!0)},d);c.addItem(mxResources.get("vertical"),null,function(){b.distributeCells(!1)},d)})));this.put("layout",new Menu(mxUtils.bind(this,function(c,d){c.addItem(mxResources.get("horizontalFlow"),null,mxUtils.bind(this,function(){var a=new mxHierarchicalLayout(b,mxConstants.DIRECTION_WEST);this.editorUi.executeLayout(function(){var d=b.getSelectionCells();a.execute(b.getDefaultParent(),0==d.length?null:d)},!0)}),d);c.addItem(mxResources.get("verticalFlow"),null,mxUtils.bind(this,
function(){var a=new mxHierarchicalLayout(b,mxConstants.DIRECTION_NORTH);this.editorUi.executeLayout(function(){var d=b.getSelectionCells();a.execute(b.getDefaultParent(),0==d.length?null:d)},!0)}),d);c.addSeparator(d);c.addItem(mxResources.get("horizontalTree"),null,mxUtils.bind(this,function(){var a=b.getSelectionCell(),d=null;null==a||0==b.getModel().getChildCount(a)?0==b.getModel().getEdgeCount(a)&&(d=b.findTreeRoots(b.getDefaultParent())):d=b.findTreeRoots(a);null!=d&&0<d.length&&(a=d[0]);if(null!=
a){var c=new mxCompactTreeLayout(b,!0);c.edgeRouting=!1;c.levelDistance=30;this.editorUi.executeLayout(function(){c.execute(b.getDefaultParent(),a)},!0)}}),d);c.addItem(mxResources.get("verticalTree"),null,mxUtils.bind(this,function(){var a=b.getSelectionCell(),d=null;null==a||0==b.getModel().getChildCount(a)?0==b.getModel().getEdgeCount(a)&&(d=b.findTreeRoots(b.getDefaultParent())):d=b.findTreeRoots(a);null!=d&&0<d.length&&(a=d[0]);if(null!=a){var c=new mxCompactTreeLayout(b,!1);c.edgeRouting=!1;
c.levelDistance=30;this.editorUi.executeLayout(function(){c.execute(b.getDefaultParent(),a)},!0)}}),d);c.addItem(mxResources.get("radialTree"),null,mxUtils.bind(this,function(){var a=b.getSelectionCell(),d=null;null==a||0==b.getModel().getChildCount(a)?0==b.getModel().getEdgeCount(a)&&(d=b.findTreeRoots(b.getDefaultParent())):d=b.findTreeRoots(a);null!=d&&0<d.length&&(a=d[0]);if(null!=a){var c=new mxRadialTreeLayout(b,!1);c.levelDistance=60;c.autoRadius=!0;this.editorUi.executeLayout(function(){c.execute(b.getDefaultParent(),
a);b.isSelectionEmpty()||(a=b.getModel().getParent(a),b.getModel().isVertex(a)&&b.updateGroupBounds([a],2*b.gridSize,!0))},!0)}}),d);c.addSeparator(d);c.addItem(mxResources.get("organic"),null,mxUtils.bind(this,function(){var a=new mxFastOrganicLayout(b);this.editorUi.executeLayout(function(){var d=b.getSelectionCell();if(null==d||0==b.getModel().getChildCount(d))d=b.getDefaultParent();a.execute(d);b.getModel().isVertex(d)&&b.updateGroupBounds([d],2*b.gridSize,!0)},!0)}),d);c.addItem(mxResources.get("circle"),
null,mxUtils.bind(this,function(){var a=new mxCircleLayout(b);this.editorUi.executeLayout(function(){var d=b.getSelectionCell();if(null==d||0==b.getModel().getChildCount(d))d=b.getDefaultParent();a.execute(d);b.getModel().isVertex(d)&&b.updateGroupBounds([d],2*b.gridSize,!0)},!0)}),d)})));this.put("navigation",new Menu(mxUtils.bind(this,function(b,d){this.addMenuItems(b,"home - exitGroup enterGroup - expand collapse - collapsible".split(" "),d)})));this.put("arrange",new Menu(mxUtils.bind(this,function(b,
d){this.addMenuItems(b,["toFront","toBack","-"],d);this.addSubmenu("direction",b,d);this.addMenuItems(b,["turn","-"],d);this.addSubmenu("align",b,d);this.addSubmenu("distribute",b,d);b.addSeparator(d);this.addSubmenu("navigation",b,d);this.addSubmenu("insert",b,d);this.addSubmenu("layout",b,d);this.addMenuItems(b,"- group ungroup removeFromGroup - clearWaypoints autosize".split(" "),d)}))).isEnabled=c;this.put("insert",new Menu(mxUtils.bind(this,function(b,d){this.addMenuItems(b,["insertLink","insertImage"],
d)})));this.put("view",new Menu(mxUtils.bind(this,function(b,d){this.addMenuItems(b,(null!=this.editorUi.format?["formatPanel"]:[]).concat("outline layers - pageView pageScale - scrollbars tooltips - grid guides - connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),d))})));this.put("viewPanels",new Menu(mxUtils.bind(this,function(b,d){null!=this.editorUi.format&&this.addMenuItems(b,["formatPanel"],d);this.addMenuItems(b,["outline","layers"],d)})));this.put("viewZoom",new Menu(mxUtils.bind(this,
function(c,d){this.addMenuItems(c,["resetView","-"],d);for(var a=[0.25,0.5,0.75,1,1.25,1.5,2,3,4],e=0;e<a.length;e++)(function(a){c.addItem(100*a+"%",null,function(){b.zoomTo(a)},d)})(a[e]);this.addMenuItems(c,"- fitWindow fitPageWidth fitPage fitTwoPages - customZoom".split(" "),d)})));this.put("file",new Menu(mxUtils.bind(this,function(b,d){this.addMenuItems(b,"new open - save saveAs - import export - pageSetup print".split(" "),d)})));this.put("edit",new Menu(mxUtils.bind(this,function(b,d){this.addMenuItems(b,
"undo redo - cut copy paste delete - duplicate - editData editTooltip editStyle - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));this.put("extras",new Menu(mxUtils.bind(this,function(b,d){this.addMenuItems(b,["copyConnect","collapseExpand","-","editDiagram"])})));this.put("help",new Menu(mxUtils.bind(this,function(b,d){this.addMenuItems(b,["help","-","about"])})))};Menus.prototype.put=function(b,c){return this.menus[b]=c};Menus.prototype.get=function(b){return this.menus[b]};
Menus.prototype.addSubmenu=function(b,c,f){var d=this.get(b).isEnabled();if(c.showDisabled||d)f=c.addItem(mxResources.get(b),null,null,f,null,d),this.addMenu(b,c,f)};Menus.prototype.addMenu=function(b,c,f){var d=this.get(b);null!=d&&(c.showDisabled||d.isEnabled())&&this.get(b).execute(c,f)};
Menus.prototype.addInsertTableItem=function(b){function c(a,b){for(var d=["\x3ctable\x3e"],e=0;e<a;e++){d.push("\x3ctr\x3e");for(var c=0;c<b;c++)d.push("\x3ctd\x3e\x3cbr\x3e\x3c/td\x3e");d.push("\x3c/tr\x3e")}d.push("\x3c/table\x3e");return d.join("")}var f=this.editorUi.editor.graph;b=b.addItem("",null,mxUtils.bind(this,function(a){var b=f.getParentByName(mxEvent.getSource(a),"TD");if(null!=b){var d=f.getParentByName(b,"TR"),e=f.cellEditor.textarea.getElementsByTagName("table");a=[];for(var n=0;n<
e.length;n++)a.push(e[n]);f.container.focus();f.pasteHtmlAtCaret(c(d.sectionRowIndex+1,b.cellIndex+1));b=f.cellEditor.textarea.getElementsByTagName("table");if(b.length==a.length+1)for(n=b.length-1;0<=n;n--)if(0==n||b[n]!=a[n-1]){f.selectNode(b[n].rows[0].cells[0]);break}}}));var d='\x3cimg src\x3d"'+mxClient.imageBasePath+'/transparent.gif" width\x3d"16" height\x3d"16"/\x3e';b.firstChild.innerHTML="";var a=function(a,b){var e=document.createElement("table");e.setAttribute("border","1");e.style.borderCollapse=
"collapse";mxClient.IS_QUIRKS||e.setAttribute("cellPadding","8");for(var c=0;c<a;c++)for(var f=e.insertRow(c),p=0;p<b;p++){var r=f.insertCell(-1);mxClient.IS_QUIRKS&&(r.innerHTML=d)}return e}(5,5);b.firstChild.appendChild(a);var e=document.createElement("div");e.style.padding="4px";e.style.fontSize=Menus.prototype.defaultFontSize+"px";e.innerHTML="1x1";b.firstChild.appendChild(e);mxEvent.addListener(a,"mouseover",function(b){var c=f.getParentByName(mxEvent.getSource(b),"TD");if(null!=c){for(var l=
f.getParentByName(c,"TR"),m=Math.min(20,l.sectionRowIndex+2),n=Math.min(20,c.cellIndex+2),p=a.rows.length;p<m;p++)for(var r=a.insertRow(p),s=0;s<a.rows[0].cells.length;s++){var q=r.insertCell(-1);mxClient.IS_QUIRKS&&(q.innerHTML=d)}for(p=0;p<a.rows.length;p++){r=a.rows[p];for(s=r.cells.length;s<n;s++)q=r.insertCell(-1),mxClient.IS_QUIRKS&&(q.innerHTML=d)}e.innerHTML=c.cellIndex+1+"x"+(l.sectionRowIndex+1);for(m=0;m<a.rows.length;m++){n=a.rows[m];for(p=0;p<n.cells.length;p++)n.cells[p].style.backgroundColor=
m<=l.sectionRowIndex&&p<=c.cellIndex?"blue":"white"}mxEvent.consume(b)}})};
Menus.prototype.edgeStyleChange=function(b,c,f,d,a,e,g){return b.addItem(c,null,mxUtils.bind(this,function(){var a=this.editorUi.editor.graph;a.stopEditing(!1);a.getModel().beginUpdate();try{for(var b=a.getSelectionCells(),e=[],c=0;c<b.length;c++){var p=b[c];if(a.getModel().isEdge(p)){if(g){var r=a.getCellGeometry(p);null!=r&&(r=r.clone(),r.points=null,a.getModel().setGeometry(p,r))}for(var s=0;s<f.length;s++)a.setCellStyles(f[s],d[s],[p]);e.push(p)}}this.editorUi.fireEvent(new mxEventObject("styleChanged",
"keys",f,"values",d,"cells",e))}finally{a.getModel().endUpdate()}}),e,a)};Menus.prototype.styleChange=function(b,c,f,d,a,e,g){var k=this.createStyleChangeFunction(f,d);return b.addItem(c,null,mxUtils.bind(this,function(){var a=this.editorUi.editor.graph;null!=g&&a.cellEditor.isContentEditing()?g():k()}),e,a)};
Menus.prototype.createStyleChangeFunction=function(b,c){return mxUtils.bind(this,function(){var f=this.editorUi.editor.graph;f.stopEditing(!1);f.getModel().beginUpdate();try{for(var d=0;d<b.length;d++)f.setCellStyles(b[d],c[d]);this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",b,"values",c,"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}})};
Menus.prototype.promptChange=function(b,c,f,d,a,e,g,k,l){return b.addItem(c,null,mxUtils.bind(this,function(){var b=this.editorUi.editor.graph,e=d,c=b.getView().getState(b.getSelectionCell());null!=c&&(e=c.style[a]||e);e=new FilenameDialog(this.editorUi,e,mxResources.get("apply"),mxUtils.bind(this,function(d){if(null!=d&&0<d.length){b.getModel().beginUpdate();try{b.stopEditing(!1),b.setCellStyles(a,d)}finally{b.getModel().endUpdate()}null!=k&&k(d)}}),mxResources.get("enterValue")+(0<f.length?" "+
f:""));this.editorUi.showDialog(e.container,300,80,!0,!0);e.init()}),e,l,g)};
Menus.prototype.pickColor=function(b,c,f){var d=this.editorUi.editor.graph;if(null!=c&&d.cellEditor.isContentEditing()){var a=d.cellEditor.saveSelection();b=new ColorDialog(this.editorUi,f||"000000",mxUtils.bind(this,function(b){d.cellEditor.restoreSelection(a);document.execCommand(c,!1,b!=mxConstants.NONE?b:"transparent")}),function(){d.cellEditor.restoreSelection(a)});this.editorUi.showDialog(b.container,220,430,!0,!0);b.init()}else{null==this.colorDialog&&(this.colorDialog=new ColorDialog(this.editorUi));
this.colorDialog.currentColorKey=b;f=d.getView().getState(d.getSelectionCell());var e="none";null!=f&&(e=f.style[b]||e);"none"==e?(e="ffffff",this.colorDialog.picker.fromString("ffffff"),this.colorDialog.colorInput.value="none"):this.colorDialog.picker.fromString(e);this.editorUi.showDialog(this.colorDialog.container,220,430,!0,!0);this.colorDialog.init()}};
Menus.prototype.toggleStyle=function(b,c){var f=this.editorUi.editor.graph,d=f.toggleCellStyles(b,c);this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[d],"cells",f.getSelectionCells()))};
Menus.prototype.addMenuItem=function(b,c,f,d,a){var e=this.editorUi.actions.get(c);return null!=e&&(b.showDisabled||e.isEnabled())&&e.visible?(c=b.addItem(e.label,null,function(){e.funct(d)},f,a,e.isEnabled()),e.toggleAction&&e.isSelected()&&b.addCheckmark(c,Editor.checkmarkImage),this.addShortcut(c,e),c):null};
Menus.prototype.addShortcut=function(b,c){if(null!=c.shortcut){var f=b.firstChild.nextSibling.nextSibling,d=document.createElement("span");d.style.color="gray";mxUtils.write(d,c.shortcut);f.appendChild(d)}};Menus.prototype.addMenuItems=function(b,c,f,d,a){for(var e=0;e<c.length;e++)"-"==c[e]?b.addSeparator(f):this.addMenuItem(b,c[e],f,d,null!=a?a[e]:null)};
Menus.prototype.createPopupMenu=function(b,c,f){var d=this.editorUi.editor.graph;b.smartSeparators=!0;d.isSelectionEmpty()?this.addMenuItems(b,["undo","redo","-","pasteHere"],null,f):this.addMenuItems(b,"delete - cut copy - duplicate".split(" "),null,f);if(0<d.getSelectionCount()){1==d.getSelectionCount()&&this.addMenuItems(b,["setAsDefaultStyle"],null,f);b.addSeparator();c=d.getSelectionCell();var a=d.view.getState(c);if(null!=a){1==d.getSelectionCount()&&this.addMenuItems(b,["toFront","toBack",
"-"],null,f);if(d.getModel().isEdge(c)&&"entityRelationEdgeStyle"!=mxUtils.getValue(a.style,mxConstants.STYLE_EDGE,null)&&"arrow"!=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null)){var e=d.selectionCellsHandler.getHandler(c),g=!1;if(e instanceof mxEdgeHandler&&null!=e.bends&&2<e.bends.length){var g=e.getHandleForEvent(d.updateMouseEvent(new mxMouseEvent(f))),k=this.editorUi.actions.get("removeWaypoint");k.handler=e;k.index=g;g=0<g&&g<e.bends.length-1}this.addMenuItems(b,["-",g?"removeWaypoint":
"addWaypoint"],null,f);e=d.getModel().getGeometry(c);null!=e&&null!=e.points&&0<e.points.length&&this.addMenuItems(b,["clearWaypoints"],null,f)}1<d.getSelectionCount()?(b.addSeparator(),this.addMenuItems(b,["group"],null,f)):1==d.getSelectionCount()&&!d.getModel().isEdge(c)&&!d.isSwimlane(c)&&0<d.getModel().getChildCount(c)&&(b.addSeparator(),this.addMenuItems(b,["ungroup"],null,f));1==d.getSelectionCount()&&(b.addSeparator(),this.addMenuItems(b,["editData","editLink"],null,f),d.getModel().isVertex(c)&&
null!=mxUtils.getValue(a.style,mxConstants.STYLE_IMAGE,null)&&(b.addSeparator(),this.addMenuItem(b,"image",null,f).firstChild.nextSibling.innerHTML=mxResources.get("editImage")+"..."))}}else this.addMenuItems(b,["-","selectVertices","selectEdges","-","selectAll"],null,f)};
Menus.prototype.createMenubar=function(b){for(var c=new Menubar(this.editorUi,b),f=this.defaultMenuItems,d=0;d<f.length;d++)(function(a){var b=c.addMenu(mxResources.get(f[d]),a.funct);null!=b&&a.addListener("stateChanged",function(){(b.enabled=a.enabled)?(b.className="geItem",8==document.documentMode&&(b.style.color="")):(b.className="geItem mxDisabled",8==document.documentMode&&(b.style.color="#c3c3c3"))})})(this.get(f[d]));return c};function Menubar(b,c){this.editorUi=b;this.container=c}
Menubar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};Menubar.prototype.addMenu=function(b,c){var f=document.createElement("a");f.setAttribute("href","javascript:void(0);");f.className="geItem";mxUtils.write(f,b);this.addMenuHandler(f,c);this.container.appendChild(f);return f};
Menubar.prototype.addMenuHandler=function(b,c){if(null!=c){var f=!0,d=mxUtils.bind(this,function(a){if(f&&null==b.enabled||b.enabled){this.editorUi.editor.graph.popupMenuHandler.hideMenu();var d=new mxPopupMenu(c);d.div.className+=" geMenubarMenu";d.smartSeparators=!0;d.showDisabled=!0;d.autoExpand=!0;d.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(d,arguments);this.editorUi.resetCurrentMenu();d.destroy()});var g=mxUtils.getOffset(b);d.popup(g.x,g.y+b.offsetHeight,null,
a);this.editorUi.setCurrentMenu(d,b)}mxEvent.consume(a)});mxEvent.addListener(b,"mousemove",mxUtils.bind(this,function(a){null!=this.editorUi.currentMenu&&this.editorUi.currentMenuElt!=b&&(this.editorUi.hideCurrentMenu(),d(a))}));mxEvent.addListener(b,"mousedown",mxUtils.bind(this,function(){f=this.currentElt!=b}));mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){d(a);f=!0}))}};Menubar.prototype.destroy=function(){};
function Menu(b,c){mxEventSource.call(this);this.funct=b;this.enabled=null!=c?c:!0}mxUtils.extend(Menu,mxEventSource);Menu.prototype.isEnabled=function(){return this.enabled};Menu.prototype.setEnabled=function(b){this.enabled!=b&&(this.enabled=b,this.fireEvent(new mxEventObject("stateChanged")))};Menu.prototype.execute=function(b,c){this.funct(b,c)};EditorUi.prototype.createMenus=function(){return new Menus(this)};Format=function(b,c){this.editorUi=b;this.container=c};
Format.prototype.labelIndex=0;Format.prototype.currentIndex=0;
Format.prototype.init=function(){var b=this.editorUi.editor.graph;this.update=mxUtils.bind(this,function(b,f){this.clearSelectionState();this.refresh()});b.getSelectionModel().addListener(mxEvent.CHANGE,this.update);b.addListener(mxEvent.EDITING_STARTED,this.update);b.addListener(mxEvent.EDITING_STOPPED,this.update);b.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){this.clearSelectionState()}));b.addListener(mxEvent.ROOT,mxUtils.bind(this,function(){this.refresh()}));this.refresh()};
Format.prototype.clearSelectionState=function(){this.selectionState=null};Format.prototype.getSelectionState=function(){null==this.selectionState&&(this.selectionState=this.createSelectionState());return this.selectionState};Format.prototype.createSelectionState=function(){for(var b=this.editorUi.editor.graph.getSelectionCells(),c=this.initSelectionState(),f=0;f<b.length;f++)this.updateSelectionStateForCell(c,b[f],b);return c};
Format.prototype.initSelectionState=function(){return{vertices:[],edges:[],x:null,y:null,width:null,height:null,style:{},containsImage:!1,containsLabel:!1,fill:!0,glass:!0,rounded:!0,comic:!0,autoSize:!1,image:!0,shadow:!0}};
Format.prototype.updateSelectionStateForCell=function(b,c,f){f=this.editorUi.editor.graph;if(f.getModel().isVertex(c)){b.vertices.push(c);var d=f.getCellGeometry(c);if(null!=d&&(0<d.width?null==b.width?b.width=d.width:b.width!=d.width&&(b.width=""):b.containsLabel=!0,0<d.height?null==b.height?b.height=d.height:b.height!=d.height&&(b.height=""):b.containsLabel=!0,!d.relative||null!=d.offset)){var a=d.relative?d.offset.x:d.x,d=d.relative?d.offset.y:d.y;null==b.x?b.x=a:b.x!=a&&(b.x="");null==b.y?b.y=
d:b.y!=d&&(b.y="")}}else f.getModel().isEdge(c)&&b.edges.push(c);c=f.view.getState(c);if(null!=c){b.autoSize=b.autoSize||this.isAutoSizeState(c);b.glass=b.glass&&this.isGlassState(c);b.rounded=b.rounded&&this.isRoundedState(c);b.comic=b.comic&&this.isComicState(c);b.image=b.image&&this.isImageState(c);b.shadow=b.shadow&&this.isShadowState(c);b.fill=b.fill&&this.isFillState(c);f=mxUtils.getValue(c.style,mxConstants.STYLE_SHAPE,null);b.containsImage=b.containsImage||"image"==f;for(var e in c.style)f=
c.style[e],null!=f&&(null==b.style[e]?b.style[e]=f:b.style[e]!=f&&(b.style[e]=""))}};Format.prototype.isFillState=function(b){return b.view.graph.model.isVertex(b.cell)||"arrow"==mxUtils.getValue(b.style,mxConstants.STYLE_SHAPE,null)||"flexArrow"==mxUtils.getValue(b.style,mxConstants.STYLE_SHAPE,null)};
Format.prototype.isGlassState=function(b){b=mxUtils.getValue(b.style,mxConstants.STYLE_SHAPE,null);return"label"==b||"rectangle"==b||"internalStorage"==b||"ext"==b||"umlLifeline"==b||"swimlane"==b||"process"==b};
Format.prototype.isRoundedState=function(b){b=mxUtils.getValue(b.style,mxConstants.STYLE_SHAPE,null);return"label"==b||"rectangle"==b||"internalStorage"==b||"corner"==b||"parallelogram"==b||"swimlane"==b||"triangle"==b||"trapezoid"==b||"ext"==b||"step"==b||"tee"==b||"process"==b||"link"==b||"rhombus"==b||"offPageConnector"==b||"loopLimit"==b||"hexagon"==b||"manualInput"==b||"curlyBracket"==b||"singleArrow"==b||"doubleArrow"==b||"flexArrow"==b||"card"==b||"umlLifeline"==b};
Format.prototype.isComicState=function(b){b=mxUtils.getValue(b.style,mxConstants.STYLE_SHAPE,null);return 0<=mxUtils.indexOf("label rectangle internalStorage corner parallelogram note collate swimlane triangle trapezoid ext step tee process link rhombus offPageConnector loopLimit hexagon manualInput singleArrow doubleArrow flexArrow card umlLifeline connector folder component sortShape cross umlFrame cube isoCube isoRectangle".split(" "),b)};
Format.prototype.isAutoSizeState=function(b){return"1"==mxUtils.getValue(b.style,mxConstants.STYLE_AUTOSIZE,null)};Format.prototype.isImageState=function(b){b=mxUtils.getValue(b.style,mxConstants.STYLE_SHAPE,null);return"label"==b||"image"==b};Format.prototype.isShadowState=function(b){return"image"!=mxUtils.getValue(b.style,mxConstants.STYLE_SHAPE,null)};
Format.prototype.clear=function(){this.container.innerHTML="";if(null!=this.panels)for(var b=0;b<this.panels.length;b++)this.panels[b].destroy();this.panels=[]};
Format.prototype.refresh=function(){if("0px"!=this.container.style.width){this.clear();var b=this.editorUi,c=b.editor.graph,f=document.createElement("div");f.style.whiteSpace="nowrap";f.style.color="rgb(112, 112, 112)";f.style.textAlign="left";f.style.cursor="default";var d=document.createElement("div");d.style.border="1px solid #c0c0c0";d.style.borderWidth="0px 0px 1px 0px";d.style.textAlign="center";d.style.fontWeight="bold";d.style.overflow="hidden";d.style.display=mxClient.IS_QUIRKS?"inline":
"inline-block";d.style.paddingTop="8px";d.style.height=mxClient.IS_QUIRKS?"34px":"25px";d.style.width="100%";this.container.appendChild(f);if(c.isSelectionEmpty())mxUtils.write(d,mxResources.get("diagram")),c=document.createElement("img"),c.setAttribute("border","0"),c.setAttribute("src",Dialog.prototype.closeImage),c.setAttribute("title",mxResources.get("hide")),c.style.position="absolute",c.style.display="block",c.style.right="0px",c.style.top="8px",c.style.cursor="pointer",c.style.marginTop="1px",
c.style.marginRight="17px",c.style.border="1px solid transparent",c.style.padding="1px",c.style.opacity=0.5,d.appendChild(c),mxEvent.addListener(c,"click",function(){b.actions.get("formatPanel").funct()}),f.appendChild(d),this.panels.push(new DiagramFormatPanel(this,b,f));else if(c.isEditing())mxUtils.write(d,mxResources.get("text")),f.appendChild(d),this.panels.push(new TextFormatPanel(this,b,f));else{var a=this.getSelectionState().containsLabel,e=null,g=null,c=mxUtils.bind(this,function(b,d,c){var f=
mxUtils.bind(this,function(f){e!=b&&(a?this.labelIndex=c:this.currentIndex=c,null!=e&&(e.style.backgroundColor="#d7d7d7",e.style.borderBottomWidth="1px"),e=b,e.style.backgroundColor="",e.style.borderBottomWidth="0px",g!=d&&(null!=g&&(g.style.display="none"),g=d,g.style.display=""))});mxEvent.addListener(b,"click",f);c==(a?this.labelIndex:this.currentIndex)&&f()}),k=0;d.style.backgroundColor="#d7d7d7";d.style.borderLeftWidth="1px";d.style.width=a?"50%":"33.3%";d.style.width=a?"50%":"33.3%";var l=d.cloneNode(!1),
m=l.cloneNode(!1);l.style.backgroundColor="#d7d7d7";m.style.backgroundColor="#d7d7d7";if(a)l.style.borderLeftWidth="0px";else{d.style.borderLeftWidth="0px";mxUtils.write(d,mxResources.get("style"));f.appendChild(d);var n=f.cloneNode(!1);n.style.display="none";this.panels.push(new StyleFormatPanel(this,b,n));this.container.appendChild(n);c(d,n,k++)}mxUtils.write(l,mxResources.get("text"));f.appendChild(l);d=f.cloneNode(!1);d.style.display="none";this.panels.push(new TextFormatPanel(this,b,d));this.container.appendChild(d);
mxUtils.write(m,mxResources.get("arrange"));f.appendChild(m);f=f.cloneNode(!1);f.style.display="none";this.panels.push(new ArrangePanel(this,b,f));this.container.appendChild(f);c(l,d,k++);c(m,f,k++)}}};BaseFormatPanel=function(b,c,f){this.format=b;this.editorUi=c;this.container=f;this.listeners=[]};
BaseFormatPanel.prototype.getSelectionState=function(){for(var b=this.editorUi.editor.graph,c=b.getSelectionCells(),f=null,d=0;d<c.length;d++){var a=b.view.getState(c[d]);if(null!=a&&(a=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null),null!=a))if(null==f)f=a;else if(f!=a)return null}return f};
BaseFormatPanel.prototype.installInputHandler=function(b,c,f,d,a,e,g,k){e=null!=e?e:"";k=null!=k?k:!1;var l=this.editorUi,m=l.editor.graph;d=null!=d?d:1;a=null!=a?a:999;var n=null,p=!1,r=mxUtils.bind(this,function(r){var q=k?parseFloat(b.value):parseInt(b.value);!isNaN(q)&&c==mxConstants.STYLE_ROTATION&&(q=mxUtils.mod(Math.round(100*q),36E3)/100);q=Math.min(a,Math.max(d,isNaN(q)?f:q));if(m.cellEditor.isContentEditing()&&g)p||(p=!0,null!=n&&(m.cellEditor.restoreSelection(n),n=null),g(q),b.value=q+
e,p=!1);else if(q!=mxUtils.getValue(this.format.getSelectionState().style,c,f)){m.isEditing()&&m.stopEditing(!0);m.getModel().beginUpdate();try{if(m.setCellStyles(c,q,m.getSelectionCells()),c==mxConstants.STYLE_FONTSIZE)for(var t=m.getSelectionCells(),u=0;u<t.length;u++){var v=t[u];if(m.isHtmlLabel(v)){var z=document.createElement("div");z.innerHTML=m.convertValueToString(v);for(var y=z.getElementsByTagName("font"),x=0;x<y.length;x++)y[x].removeAttribute("size"),y[x].style.fontSize=q+"px";m.cellLabelChanged(v,
z.innerHTML)}}}finally{m.getModel().endUpdate()}l.fireEvent(new mxEventObject("styleChanged","keys",[c],"values",[q],"cells",m.getSelectionCells()))}b.value=q+e;mxEvent.consume(r)});g&&m.cellEditor.isContentEditing()&&(mxEvent.addListener(b,"mousedown",function(){n=m.cellEditor.saveSelection()}),mxEvent.addListener(b,"touchstart",function(){n=m.cellEditor.saveSelection()}));mxEvent.addListener(b,"change",r);mxEvent.addListener(b,"blur",r);return r};
BaseFormatPanel.prototype.createPanel=function(){var b=document.createElement("div");b.style.padding="12px 0px 12px 18px";b.style.borderBottom="1px solid #c0c0c0";return b};BaseFormatPanel.prototype.createTitle=function(b){var c=document.createElement("div");c.style.padding="0px 0px 6px 0px";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.style.width="200px";c.style.fontWeight="bold";mxUtils.write(c,b);return c};
BaseFormatPanel.prototype.createStepper=function(b,c,f,d,a,e){f=null!=f?f:1;d=null!=d?d:8;if(mxClient.IS_QUIRKS)d-=2;else if(mxClient.IS_MT||8<=document.documentMode)d+=1;var g=document.createElement("div");mxUtils.setPrefixedStyle(g.style,"borderRadius","3px");g.style.border="1px solid rgb(192, 192, 192)";g.style.position="absolute";var k=document.createElement("div");k.style.borderBottom="1px solid rgb(192, 192, 192)";k.style.position="relative";k.style.height=d+"px";k.style.width="10px";k.className=
"geBtnUp";g.appendChild(k);var l=k.cloneNode(!1);l.style.border="none";l.style.height=d+"px";l.className="geBtnDown";g.appendChild(l);mxEvent.addListener(l,"click",function(a){""==b.value&&(b.value=e||"2");var d=parseInt(b.value);isNaN(d)||(b.value=d-f,null!=c&&c(a));mxEvent.consume(a)});mxEvent.addListener(k,"click",function(a){""==b.value&&(b.value=e||"0");var d=parseInt(b.value);isNaN(d)||(b.value=d+f,null!=c&&c(a));mxEvent.consume(a)});if(a){var m=null;mxEvent.addGestureListeners(g,function(a){if(mxClient.IS_QUIRKS||
8==document.documentMode)m=document.selection.createRange();mxEvent.consume(a)},null,function(a){if(null!=m){try{m.select()}catch(b){}m=null;mxEvent.consume(a)}})}return g};
BaseFormatPanel.prototype.createOption=function(b,c,f,d){var a=document.createElement("div");a.style.padding="6px 0px 1px 0px";a.style.whiteSpace="nowrap";a.style.overflow="hidden";a.style.width="200px";a.style.height=mxClient.IS_QUIRKS?"27px":"18px";var e=document.createElement("input");e.setAttribute("type","checkbox");e.style.margin="0px 6px 0px 0px";a.appendChild(e);var g=document.createElement("span");mxUtils.write(g,b);a.appendChild(g);var k=!1,l=c(),m=function(a){k||(k=!0,a?(e.setAttribute("checked",
"checked"),e.defaultChecked=!0,e.checked=!0):(e.removeAttribute("checked"),e.defaultChecked=!1,e.checked=!1),l!=a&&(l=a,c()!=l&&f(l)),k=!1)};mxEvent.addListener(a,"click",function(b){b=mxEvent.getSource(b);if(b==a||b==g)e.checked=!e.checked;m(e.checked)});m(l);null!=d&&(d.install(m),this.listeners.push(d));return a};
BaseFormatPanel.prototype.createCellOption=function(b,c,f,d,a,e,g,k){d=null!=d?"null"==d?null:d:"1";a=null!=a?"null"==a?null:a:"0";var l=this.editorUi,m=l.editor.graph;return this.createOption(b,function(){var b=m.view.getState(m.getSelectionCell());return null!=b?mxUtils.getValue(b.style,c,f)!=a:null},function(b){k&&m.stopEditing();if(null!=g)g.funct();else{m.getModel().beginUpdate();try{b=b?d:a,m.setCellStyles(c,b,m.getSelectionCells()),null!=e&&e(m.getSelectionCells(),b),l.fireEvent(new mxEventObject("styleChanged",
"keys",[c],"values",[b],"cells",m.getSelectionCells()))}finally{m.getModel().endUpdate()}}},{install:function(b){this.listener=function(){var d=m.view.getState(m.getSelectionCell());null!=d&&b(mxUtils.getValue(d.style,c,f)!=a)};m.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){m.getModel().removeListener(this.listener)}})};
BaseFormatPanel.prototype.createColorOption=function(b,c,f,d,a,e,g){var k=document.createElement("div");k.style.padding="6px 0px 1px 0px";k.style.whiteSpace="nowrap";k.style.overflow="hidden";k.style.width="200px";k.style.height=mxClient.IS_QUIRKS?"27px":"18px";var l=document.createElement("input");l.setAttribute("type","checkbox");l.style.margin="0px 6px 0px 0px";g||k.appendChild(l);var m=document.createElement("span");mxUtils.write(m,b);k.appendChild(m);var n=!1,p=c(),r=null,s=function(a,b){if(!n){n=
!0;r.innerHTML='\x3cdiv style\x3d"width:'+(mxClient.IS_QUIRKS?"30":"36")+"px;height:12px;margin:3px;border:1px solid black;background-color:"+(null!=a&&a!=mxConstants.NONE?a:d)+';"\x3e\x3c/div\x3e';if(mxClient.IS_MT||mxClient.IS_QUIRKS||8==document.documentMode)r.firstChild.style.margin="0px";null!=a&&a!=mxConstants.NONE?(l.setAttribute("checked","checked"),l.defaultChecked=!0,l.checked=!0):(l.removeAttribute("checked"),l.defaultChecked=!1,l.checked=!1);r.style.display=l.checked||g?"":"none";null!=
e&&e(a);if(!b&&(g||p!=a))p=a,(g||c()!=p)&&f(p);n=!1}},r=mxUtils.button("",mxUtils.bind(this,function(a){this.editorUi.pickColor(p,s);mxEvent.consume(a)}));r.style.position="absolute";r.style.marginTop="-4px";r.style.right=mxClient.IS_QUIRKS?"0px":"20px";r.style.height="22px";r.className="geColorBtn";r.style.display=l.checked||g?"":"none";k.appendChild(r);mxEvent.addListener(k,"click",function(a){mxEvent.getSource(a)!=l&&(l.checked=!l.checked);!l.checked&&null!=p&&p!=mxConstants.NONE&&d!=mxConstants.NONE&&
(d=p);s(l.checked?d:mxConstants.NONE)});s(p,!0);null!=a&&(a.install(s),this.listeners.push(a));return k};
BaseFormatPanel.prototype.createCellColorOption=function(b,c,f,d,a){var e=this.editorUi,g=e.editor.graph;return this.createColorOption(b,function(){var a=g.view.getState(g.getSelectionCell());return null!=a?mxUtils.getValue(a.style,c,null):null},function(b){g.getModel().beginUpdate();try{null!=a&&a(b),g.setCellStyles(c,b,g.getSelectionCells()),e.fireEvent(new mxEventObject("styleChanged","keys",[c],"values",[b],"cells",g.getSelectionCells()))}finally{g.getModel().endUpdate()}},f||mxConstants.NONE,
{install:function(a){this.listener=function(){var b=g.view.getState(g.getSelectionCell());null!=b&&a(mxUtils.getValue(b.style,c,null))};g.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){g.getModel().removeListener(this.listener)}},d)};
BaseFormatPanel.prototype.addArrow=function(b,c){c=null!=c?c:10;var f=document.createElement("div");f.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";f.style.padding="6px";f.style.paddingRight="4px";var d=10-c;2==d?f.style.paddingTop="6px":0<d?f.style.paddingTop=6-d+"px":f.style.marginTop="-2px";f.style.height=c+"px";f.style.borderLeft="1px solid #a0a0a0";f.innerHTML='\x3cimg border\x3d"0" src\x3d"'+(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHBJREFUeNpidHB2ZyAGsACxDRBPIKCuA6TwCBB/h2rABu4A8SYmKCcXiP/iUFgAxL9gCi8A8SwsirZCMQMTkmANEH9E4v+CmsaArvAdyNFI/FlQ92EoBIE+qCRIUz168DBgsU4OqhinQpgHMABAgAEALY4XLIsJ20oAAAAASUVORK5CYII\x3d":
IMAGE_PATH+"/dropdown.png")+'" style\x3d"margin-bottom:4px;"\x3e';mxUtils.setOpacity(f,70);d=b.getElementsByTagName("div")[0];null!=d&&(d.style.paddingRight="6px",d.style.marginLeft="4px",d.style.marginTop="-1px",d.style.display=mxClient.IS_QUIRKS?"inline":"inline-block",mxUtils.setOpacity(d,60));mxUtils.setOpacity(b,100);b.style.border="1px solid #a0a0a0";b.style.backgroundColor="white";b.style.backgroundImage="none";b.style.width="auto";b.className+=" geColorBtn";mxUtils.setPrefixedStyle(b.style,
"borderRadius","3px");b.appendChild(f);return d};BaseFormatPanel.prototype.addUnitInput=function(b,c,f,d,a,e,g,k){g=null!=g?g:0;c=document.createElement("input");c.style.position="absolute";c.style.textAlign="right";c.style.marginTop="-2px";c.style.right=f+12+"px";c.style.width=d+"px";b.appendChild(c);d=this.createStepper(c,a,e,null,k);d.style.marginTop=g-2+"px";d.style.right=f+"px";b.appendChild(d);return c};
BaseFormatPanel.prototype.createRelativeOption=function(b,c,f,d,a){function e(a){if(null!=d)d(l);else{var b=parseInt(l.value),b=Math.min(100,Math.max(0,isNaN(b)?100:b)),e=g.view.getState(g.getSelectionCell());null!=e&&b!=mxUtils.getValue(e.style,c,100)&&(100==b&&(b=null),g.setCellStyles(c,b,g.getSelectionCells()));l.value=(null!=b?b:"100")+" %"}mxEvent.consume(a)}f=null!=f?f:44;var g=this.editorUi.editor.graph,k=this.createPanel();k.style.paddingTop="10px";k.style.paddingBottom="10px";mxUtils.write(k,
b);k.style.fontWeight="bold";var l=this.addUnitInput(k,"%",20,f,e,10,-15,null!=d);if(null!=c){var m=mxUtils.bind(this,function(a,b,d){if(d||l!=document.activeElement)a=this.format.getSelectionState(),a=parseInt(mxUtils.getValue(a.style,c,100)),l.value=isNaN(a)?"":a+" %"});mxEvent.addListener(l,"keydown",function(a){13==a.keyCode?(g.container.focus(),mxEvent.consume(a)):27==a.keyCode&&(m(null,null,!0),g.container.focus(),mxEvent.consume(a))});g.getModel().addListener(mxEvent.CHANGE,m);this.listeners.push({destroy:function(){g.getModel().removeListener(m)}});
m()}mxEvent.addListener(l,"blur",e);mxEvent.addListener(l,"change",e);null!=a&&a(l);return k};BaseFormatPanel.prototype.addLabel=function(b,c,f,d){d=null!=d?d:61;var a=document.createElement("div");mxUtils.write(a,c);a.style.position="absolute";a.style.right=f+"px";a.style.width=d+"px";a.style.marginTop="6px";a.style.textAlign="center";b.appendChild(a)};
BaseFormatPanel.prototype.addKeyHandler=function(b,c){mxEvent.addListener(b,"keydown",mxUtils.bind(this,function(b){13==b.keyCode?(this.editorUi.editor.graph.container.focus(),mxEvent.consume(b)):27==b.keyCode&&(null!=c&&c(null,null,!0),this.editorUi.editor.graph.container.focus(),mxEvent.consume(b))}))};
BaseFormatPanel.prototype.styleButtons=function(b){for(var c=0;c<b.length;c++)mxUtils.setPrefixedStyle(b[c].style,"borderRadius","3px"),mxUtils.setOpacity(b[c],100),b[c].style.border="1px solid #a0a0a0",b[c].style.padding="4px",b[c].style.paddingTop="3px",b[c].style.paddingRight="1px",b[c].style.margin="1px",b[c].style.width="24px",b[c].style.height="20px",b[c].className+=" geColorBtn"};
BaseFormatPanel.prototype.destroy=function(){if(null!=this.listeners){for(var b=0;b<this.listeners.length;b++)this.listeners[b].destroy();this.listeners=null}};ArrangePanel=function(b,c,f){BaseFormatPanel.call(this,b,c,f);this.init()};mxUtils.extend(ArrangePanel,BaseFormatPanel);
ArrangePanel.prototype.init=function(){var b=this.format.getSelectionState();this.container.appendChild(this.addLayerOps(this.createPanel()));this.addGeometry(this.container);this.addEdgeGeometry(this.container);this.container.appendChild(this.addAngle(this.createPanel()));b.containsLabel||this.container.appendChild(this.addFlip(this.createPanel()));1<b.vertices.length&&(this.container.appendChild(this.addAlign(this.createPanel())),this.container.appendChild(this.addDistribute(this.createPanel())));
this.container.appendChild(this.addGroupOps(this.createPanel()))};
ArrangePanel.prototype.addLayerOps=function(b){var c=this.editorUi,f=mxUtils.button(mxResources.get("toFront"),function(b){c.actions.get("toFront").funct()});f.setAttribute("title",mxResources.get("toFront")+" ("+this.editorUi.actions.get("toFront").shortcut+")");f.style.width="100px";f.style.marginRight="2px";b.appendChild(f);f=mxUtils.button(mxResources.get("toBack"),function(b){c.actions.get("toBack").funct()});f.setAttribute("title",mxResources.get("toBack")+" ("+this.editorUi.actions.get("toBack").shortcut+
")");f.style.width="100px";b.appendChild(f);return b};
ArrangePanel.prototype.addGroupOps=function(b){var c=this.editorUi,f=c.editor.graph,d=f.getSelectionCell(),a=this.format.getSelectionState(),e=0;b.style.paddingTop="8px";b.style.paddingBottom="6px";1<f.getSelectionCount()?(btn=mxUtils.button(mxResources.get("group"),function(a){c.actions.get("group").funct()}),btn.setAttribute("title",mxResources.get("group")+" ("+this.editorUi.actions.get("group").shortcut+")"),btn.style.width="202px",btn.style.marginBottom="2px",b.appendChild(btn),e++):1==f.getSelectionCount()&&
!f.getModel().isEdge(d)&&!f.isSwimlane(d)&&0<f.getModel().getChildCount(d)&&(btn=mxUtils.button(mxResources.get("ungroup"),function(a){c.actions.get("ungroup").funct()}),btn.setAttribute("title",mxResources.get("ungroup")+" ("+this.editorUi.actions.get("ungroup").shortcut+")"),btn.style.width="202px",btn.style.marginBottom="2px",b.appendChild(btn),e++);1==f.getSelectionCount()&&f.getModel().isVertex(d)&&f.getModel().isVertex(f.getModel().getParent(d))?(0<e&&mxUtils.br(b),btn=mxUtils.button(mxResources.get("removeFromGroup"),
function(a){c.actions.get("removeFromGroup").funct()}),btn.setAttribute("title",mxResources.get("removeFromGroup")),btn.style.width="202px",btn.style.marginBottom="2px",b.appendChild(btn),e++):0<a.edges.length&&(0<e&&mxUtils.br(b),btn=mxUtils.button(mxResources.get("clearWaypoints"),mxUtils.bind(this,function(a){this.editorUi.actions.get("clearWaypoints").funct()})),btn.setAttribute("title",mxResources.get("clearWaypoints")),btn.style.width="202px",btn.style.marginBottom="2px",b.appendChild(btn),
e++);1==f.getSelectionCount()&&(0<e&&mxUtils.br(b),btn=mxUtils.button(mxResources.get("editData"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editData").funct()})),btn.setAttribute("title",mxResources.get("editData")+" ("+this.editorUi.actions.get("editData").shortcut+")"),btn.style.width="100px",btn.style.marginBottom="2px",b.appendChild(btn),e++,btn=mxUtils.button(mxResources.get("editLink"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editLink").funct()})),btn.setAttribute("title",
mxResources.get("editLink")),btn.style.width="100px",btn.style.marginLeft="2px",btn.style.marginBottom="2px",b.appendChild(btn),e++);0==e&&(b.style.display="none");return b};
ArrangePanel.prototype.addAlign=function(b){var c=this.editorUi.editor.graph;b.style.paddingTop="6px";b.style.paddingBottom="12px";b.appendChild(this.createTitle(mxResources.get("align")));var f=document.createElement("div");f.style.position="relative";f.style.paddingLeft="0px";f.style.borderWidth="0px";f.className="geToolbarContainer";mxClient.IS_QUIRKS&&(b.style.height="60px");var d=this.editorUi.toolbar.addButton("geSprite-alignleft",mxResources.get("left"),function(){c.alignCells(mxConstants.ALIGN_LEFT)},
f),a=this.editorUi.toolbar.addButton("geSprite-aligncenter",mxResources.get("center"),function(){c.alignCells(mxConstants.ALIGN_CENTER)},f),e=this.editorUi.toolbar.addButton("geSprite-alignright",mxResources.get("right"),function(){c.alignCells(mxConstants.ALIGN_RIGHT)},f),g=this.editorUi.toolbar.addButton("geSprite-aligntop",mxResources.get("top"),function(){c.alignCells(mxConstants.ALIGN_TOP)},f),k=this.editorUi.toolbar.addButton("geSprite-alignmiddle",mxResources.get("middle"),function(){c.alignCells(mxConstants.ALIGN_MIDDLE)},
f),l=this.editorUi.toolbar.addButton("geSprite-alignbottom",mxResources.get("bottom"),function(){c.alignCells(mxConstants.ALIGN_BOTTOM)},f);this.styleButtons([d,a,e,g,k,l]);e.style.marginRight="6px";b.appendChild(f);return b};
ArrangePanel.prototype.addFlip=function(b){var c=this.editorUi.editor.graph;b.style.paddingTop="6px";b.style.paddingBottom="10px";var f=document.createElement("div");f.style.marginTop="2px";f.style.marginBottom="8px";f.style.fontWeight="bold";mxUtils.write(f,mxResources.get("flip"));b.appendChild(f);f=mxUtils.button(mxResources.get("horizontal"),function(b){c.toggleCellStyles(mxConstants.STYLE_FLIPH,!1)});f.setAttribute("title",mxResources.get("horizontal"));f.style.width="100px";f.style.marginRight=
"2px";b.appendChild(f);f=mxUtils.button(mxResources.get("vertical"),function(b){c.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)});f.setAttribute("title",mxResources.get("vertical"));f.style.width="100px";b.appendChild(f);return b};
ArrangePanel.prototype.addDistribute=function(b){var c=this.editorUi.editor.graph;b.style.paddingTop="6px";b.style.paddingBottom="12px";b.appendChild(this.createTitle(mxResources.get("distribute")));var f=mxUtils.button(mxResources.get("horizontal"),function(b){c.distributeCells(!0)});f.setAttribute("title",mxResources.get("horizontal"));f.style.width="100px";f.style.marginRight="2px";b.appendChild(f);f=mxUtils.button(mxResources.get("vertical"),function(b){c.distributeCells(!1)});f.setAttribute("title",
mxResources.get("vertical"));f.style.width="100px";b.appendChild(f);return b};
ArrangePanel.prototype.addAngle=function(b){var c=this.editorUi,f=c.editor.graph,d=this.format.getSelectionState();b.style.paddingBottom="28px";var a=document.createElement("div");a.style.position="absolute";a.style.width="70px";a.style.marginTop="0px";a.style.fontWeight="bold";mxUtils.write(a,mxResources.get("angle"));b.appendChild(a);var e=null,g=this.addUnitInput(b,"\u00b0",84,44,function(){e.apply(this,arguments)});d.containsLabel||(a=mxUtils.button(mxResources.get("turn"),function(a){c.actions.get("turn").funct()}),
a.setAttribute("title",mxResources.get("turn")+" ("+this.editorUi.actions.get("turn").shortcut+")"),a.style.position="absolute",a.style.marginTop="-2px",a.style.right="20px",a.style.width="61px",b.appendChild(a));var k=mxUtils.bind(this,function(a,b,e){if(e||document.activeElement!=g)d=this.format.getSelectionState(),a=parseFloat(mxUtils.getValue(d.style,mxConstants.STYLE_ROTATION,0)),g.value=isNaN(a)?"":a+"\u00b0"}),e=this.installInputHandler(g,mxConstants.STYLE_ROTATION,0,0,360,"\u00b0",null,!0);
this.addKeyHandler(g,k);f.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){f.getModel().removeListener(k)}});k();return b};
ArrangePanel.prototype.addGeometry=function(b){var c=this.editorUi,f=c.editor.graph,d=this.format.getSelectionState(),a=this.createPanel();a.style.paddingBottom="8px";var e=document.createElement("div");e.style.position="absolute";e.style.width="50px";e.style.marginTop="0px";e.style.fontWeight="bold";mxUtils.write(e,mxResources.get("size"));a.appendChild(e);var g,k,l,m,n=this.addUnitInput(a,"pt",84,44,function(){g.apply(this,arguments)}),p=this.addUnitInput(a,"pt",20,44,function(){k.apply(this,arguments)}),
r=document.createElement("div");r.className="geSprite geSprite-fit";r.setAttribute("title",mxResources.get("autosize")+" ("+this.editorUi.actions.get("autosize").shortcut+")");r.style.position="relative";r.style.cursor="pointer";r.style.marginTop="-3px";r.style.border="0px";r.style.left="52px";mxUtils.setOpacity(r,50);mxEvent.addListener(r,"mouseenter",function(){mxUtils.setOpacity(r,100)});mxEvent.addListener(r,"mouseleave",function(){mxUtils.setOpacity(r,50)});mxEvent.addListener(r,"click",function(){c.actions.get("autosize").funct()});
a.appendChild(r);this.addLabel(a,mxResources.get("width"),84);this.addLabel(a,mxResources.get("height"),20);mxUtils.br(a);e=document.createElement("div");e.style.paddingTop="8px";e.style.paddingRight="20px";e.style.whiteSpace="nowrap";e.style.textAlign="right";var s=this.createCellOption(mxResources.get("constrainProportions"),mxConstants.STYLE_ASPECT,null,"fixed","null");s.style.width="100%";e.appendChild(s);a.appendChild(e);this.addKeyHandler(n,v);this.addKeyHandler(p,v);g=this.addGeometryHandler(n,
function(a,b){0<a.width&&(a.width=Math.max(1,b))});k=this.addGeometryHandler(p,function(a,b){0<a.height&&(a.height=Math.max(1,b))});b.appendChild(a);var q=this.createPanel();q.style.paddingBottom="30px";e=document.createElement("div");e.style.position="absolute";e.style.width="70px";e.style.marginTop="0px";e.style.fontWeight="bold";mxUtils.write(e,mxResources.get("position"));q.appendChild(e);var t=this.addUnitInput(q,"pt",84,44,function(){l.apply(this,arguments)}),u=this.addUnitInput(q,"pt",20,44,
function(){m.apply(this,arguments)});mxUtils.br(q);this.addLabel(q,mxResources.get("left"),84);this.addLabel(q,mxResources.get("top"),20);var v=mxUtils.bind(this,function(b,e,c){d=this.format.getSelectionState();if(!d.containsLabel&&d.vertices.length==f.getSelectionCount()&&null!=d.width&&null!=d.height){a.style.display="";if(c||document.activeElement!=n)n.value=d.width+(""==d.width?"":" pt");if(c||document.activeElement!=p)p.value=d.height+(""==d.height?"":" pt")}else a.style.display="none";if(d.vertices.length==
f.getSelectionCount()&&null!=d.x&&null!=d.y){q.style.display="";if(c||document.activeElement!=t)t.value=d.x+(""==d.x?"":" pt");if(c||document.activeElement!=u)u.value=d.y+(""==d.y?"":" pt")}else q.style.display="none"});this.addKeyHandler(t,v);this.addKeyHandler(u,v);f.getModel().addListener(mxEvent.CHANGE,v);this.listeners.push({destroy:function(){f.getModel().removeListener(v)}});v();l=this.addGeometryHandler(t,function(a,b){a.relative?a.offset.x=b:a.x=b});m=this.addGeometryHandler(u,function(a,
b){a.relative?a.offset.y=b:a.y=b});b.appendChild(q)};
ArrangePanel.prototype.addGeometryHandler=function(b,c){function f(e){if(""!=b.value){var f=parseFloat(b.value);if(f!=a){d.getModel().beginUpdate();try{for(var k=d.getSelectionCells(),l=0;l<k.length;l++)if(d.getModel().isVertex(k[l])){var m=d.getCellGeometry(k[l]);null!=m&&(m=m.clone(),c(m,f),d.getModel().setGeometry(k[l],m))}}finally{d.getModel().endUpdate()}a=f;b.value=f+" pt"}else isNaN(f)&&(b.value=a+" pt")}mxEvent.consume(e)}var d=this.editorUi.editor.graph,a=null;mxEvent.addListener(b,"blur",
f);mxEvent.addListener(b,"change",f);mxEvent.addListener(b,"focus",function(){a=b.value});return f};
ArrangePanel.prototype.addEdgeGeometry=function(b){function c(b){var e=parseInt(k.value),e=Math.min(999,Math.max(1,isNaN(e)?1:e));e!=mxUtils.getValue(a.style,"width",mxCellRenderer.prototype.defaultShapes.flexArrow.prototype.defaultWidth)&&(d.setCellStyles("width",e,d.getSelectionCells()),f.fireEvent(new mxEventObject("styleChanged","keys",["width"],"values",[e],"cells",d.getSelectionCells())));k.value=e+" pt";mxEvent.consume(b)}var f=this.editorUi,d=f.editor.graph,a=this.format.getSelectionState(),
e=this.createPanel(),g=document.createElement("div");g.style.position="absolute";g.style.width="70px";g.style.marginTop="0px";g.style.fontWeight="bold";mxUtils.write(g,mxResources.get("width"));e.appendChild(g);var k=this.addUnitInput(e,"pt",20,44,function(){c.apply(this,arguments)});mxUtils.br(e);this.addKeyHandler(k,l);mxEvent.addListener(k,"blur",c);mxEvent.addListener(k,"change",c);b.appendChild(e);var l=mxUtils.bind(this,function(b,d,c){a=this.format.getSelectionState();if("link"==a.style.shape||
"flexArrow"==a.style.shape){if(e.style.display="",c||document.activeElement!=k)b=mxUtils.getValue(a.style,"width",mxCellRenderer.prototype.defaultShapes.flexArrow.prototype.defaultWidth),k.value=b+" pt"}else e.style.display="none"});d.getModel().addListener(mxEvent.CHANGE,l);this.listeners.push({destroy:function(){d.getModel().removeListener(l)}});l()};TextFormatPanel=function(b,c,f){BaseFormatPanel.call(this,b,c,f);this.init()};mxUtils.extend(TextFormatPanel,BaseFormatPanel);
TextFormatPanel.prototype.init=function(){this.container.style.borderBottom="none";this.addFont(this.container)};
TextFormatPanel.prototype.addFont=function(b){function c(a,b){mxClient.IS_IE&&(mxClient.IS_QUIRKS||10>document.documentMode)?a.style.filter=b?"progid:DXImageTransform.Microsoft.Gradient(StartColorStr\x3d'#c5ecff', EndColorStr\x3d'#87d4fb', GradientType\x3d0)":"":a.style.backgroundImage=b?"linear-gradient(#c5ecff 0px,#87d4fb 100%)":""}var f=this.editorUi,d=f.editor.graph,a=this.format.getSelectionState(),e=this.createTitle(mxResources.get("font"));e.style.paddingLeft="18px";e.style.paddingTop="10px";
e.style.paddingBottom="6px";b.appendChild(e);e=this.createPanel();e.style.paddingTop="2px";e.style.paddingBottom="2px";e.style.position="relative";e.style.marginLeft="-2px";e.style.borderWidth="0px";e.className="geToolbarContainer";mxClient.IS_QUIRKS&&(e.style.display="block");if(d.cellEditor.isContentEditing()){var g=e.cloneNode(),k=this.editorUi.toolbar.addMenu(mxResources.get("style"),mxResources.get("style"),!0,"formatBlock",g);k.style.color="rgb(112, 112, 112)";k.style.whiteSpace="nowrap";k.style.overflow=
"hidden";k.style.margin="0px";this.addArrow(k);k.style.width="192px";k.style.height="15px";k=k.getElementsByTagName("div")[0];k.style.cssFloat="right";b.appendChild(g)}b.appendChild(e);g=this.createPanel();g.style.marginTop="8px";g.style.borderTop="1px solid #c0c0c0";g.style.paddingTop="6px";g.style.paddingBottom="6px";var l=this.editorUi.toolbar.addMenu("Helvetica",mxResources.get("fontFamily"),!0,"fontFamily",e);l.style.color="rgb(112, 112, 112)";l.style.whiteSpace="nowrap";l.style.overflow="hidden";
l.style.margin="0px";this.addArrow(l);l.style.width="192px";l.style.height="15px";k=e.cloneNode(!1);k.style.marginLeft="-3px";var m=this.editorUi.toolbar.addItems(["bold","italic","underline"],k,!0);m[0].setAttribute("title",mxResources.get("bold")+" ("+this.editorUi.actions.get("bold").shortcut+")");m[1].setAttribute("title",mxResources.get("italic")+" ("+this.editorUi.actions.get("italic").shortcut+")");m[2].setAttribute("title",mxResources.get("underline")+" ("+this.editorUi.actions.get("underline").shortcut+
")");var n=this.editorUi.toolbar.addItems(["vertical"],k,!0)[0];mxClient.IS_QUIRKS&&mxUtils.br(b);b.appendChild(k);this.styleButtons(m);this.styleButtons([n]);var p=e.cloneNode(!1);p.style.marginLeft="-3px";p.style.paddingBottom="0px";var r=this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),d.cellEditor.isContentEditing()?function(){document.execCommand("justifyleft",!1,null)}:this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_LEFT]),p),
s=this.editorUi.toolbar.addButton("geSprite-center",mxResources.get("center"),d.cellEditor.isContentEditing()?function(){document.execCommand("justifycenter",!1,null)}:this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_CENTER]),p),q=this.editorUi.toolbar.addButton("geSprite-right",mxResources.get("right"),d.cellEditor.isContentEditing()?function(){document.execCommand("justifyright",!1,null)}:this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],
[mxConstants.ALIGN_RIGHT]),p);this.styleButtons([r,s,q]);if(d.cellEditor.isContentEditing()){var t=this.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("removeFormat"),function(){document.execCommand("removeformat",!1,null)},k);this.styleButtons([t])}var u=this.editorUi.toolbar.addButton("geSprite-top",mxResources.get("top"),this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_TOP]),p),v=this.editorUi.toolbar.addButton("geSprite-middle",
mxResources.get("middle"),this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_MIDDLE]),p),z=this.editorUi.toolbar.addButton("geSprite-bottom",mxResources.get("bottom"),this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_BOTTOM]),p);this.styleButtons([u,v,z]);mxClient.IS_QUIRKS&&mxUtils.br(b);b.appendChild(p);var y,x,D,A,B,E,F;d.cellEditor.isContentEditing()?(u.style.display="none",v.style.display="none",
z.style.display="none",n.style.display="none",D=this.editorUi.toolbar.addButton("geSprite-justifyfull",null,function(){document.execCommand("justifyfull",!1,null)},p),this.styleButtons([D,y=this.editorUi.toolbar.addButton("geSprite-subscript",mxResources.get("subscript")+" (Ctrl+,)",function(){document.execCommand("subscript",!1,null)},p),x=this.editorUi.toolbar.addButton("geSprite-superscript",mxResources.get("superscript")+" (Ctrl+.)",function(){document.execCommand("superscript",!1,null)},p)]),
D.style.marginRight="9px",t=p.cloneNode(!1),t.style.paddingTop="4px",p=[this.editorUi.toolbar.addButton("geSprite-orderedlist",mxResources.get("numberedList"),function(){document.execCommand("insertorderedlist",!1,null)},t),this.editorUi.toolbar.addButton("geSprite-unorderedlist",mxResources.get("bulletedList"),function(){document.execCommand("insertunorderedlist",!1,null)},t),this.editorUi.toolbar.addButton("geSprite-outdent",mxResources.get("decreaseIndent"),function(){document.execCommand("outdent",
!1,null)},t),this.editorUi.toolbar.addButton("geSprite-indent",mxResources.get("increaseIndent"),function(){document.execCommand("indent",!1,null)},t),this.editorUi.toolbar.addButton("geSprite-code",mxResources.get("html"),function(){d.cellEditor.toggleViewMode()},t)],this.styleButtons(p),p[p.length-1].style.marginLeft="9px",mxClient.IS_QUIRKS&&(mxUtils.br(b),t.style.height="40"),b.appendChild(t)):(m[2].style.marginRight="9px",q.style.marginRight="9px");p=e.cloneNode(!1);p.style.marginLeft="0px";
p.style.paddingTop="8px";p.style.paddingBottom="4px";p.style.fontWeight="normal";mxUtils.write(p,mxResources.get("position"));var G=document.createElement("select");G.style.position="absolute";G.style.right="20px";G.style.width="97px";G.style.marginTop="-2px";for(var H="topLeft top topRight left center right bottomLeft bottom bottomRight".split(" "),I={topLeft:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM],top:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP,
mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM],topRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM],left:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE],center:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE],right:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE],bottomLeft:[mxConstants.ALIGN_LEFT,
mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP],bottom:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP],bottomRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP]},t=0;t<H.length;t++){var L=document.createElement("option");L.setAttribute("value",H[t]);mxUtils.write(L,mxResources.get(H[t]));G.appendChild(L)}p.appendChild(G);H=e.cloneNode(!1);H.style.marginLeft="0px";H.style.paddingTop=
"4px";H.style.paddingBottom="4px";H.style.fontWeight="normal";mxUtils.write(H,mxResources.get("writingDirection"));var O=document.createElement("select");O.style.position="absolute";O.style.right="20px";O.style.width="97px";O.style.marginTop="-2px";for(var L=["automatic","leftToRight","rightToLeft"],S={automatic:null,leftToRight:mxConstants.TEXT_DIRECTION_LTR,rightToLeft:mxConstants.TEXT_DIRECTION_RTL},t=0;t<L.length;t++){var W=document.createElement("option");W.setAttribute("value",L[t]);mxUtils.write(W,
mxResources.get(L[t]));O.appendChild(W)}H.appendChild(O);d.isEditing()||(b.appendChild(p),mxEvent.addListener(G,"change",function(a){d.getModel().beginUpdate();try{var b=I[G.value];null!=b&&(d.setCellStyles(mxConstants.STYLE_LABEL_POSITION,b[0],d.getSelectionCells()),d.setCellStyles(mxConstants.STYLE_VERTICAL_LABEL_POSITION,b[1],d.getSelectionCells()),d.setCellStyles(mxConstants.STYLE_ALIGN,b[2],d.getSelectionCells()),d.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,b[3],d.getSelectionCells()))}finally{d.getModel().endUpdate()}mxEvent.consume(a)}),
b.appendChild(H),mxEvent.addListener(O,"change",function(a){d.setCellStyles(mxConstants.STYLE_TEXT_DIRECTION,S[O.value],d.getSelectionCells());mxEvent.consume(a)}));var Q=document.createElement("input");Q.style.textAlign="right";Q.style.marginTop="4px";mxClient.IS_QUIRKS||(Q.style.position="absolute",Q.style.right="32px");Q.style.width="46px";Q.style.height=mxClient.IS_QUIRKS?"21px":"17px";k.appendChild(Q);var C=null,p=this.installInputHandler(Q,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize,
1,999," pt",function(a){C=a;document.execCommand("fontSize",!1,"4");a=d.cellEditor.textarea.getElementsByTagName("font");for(var b=0;b<a.length;b++)if("4"==a[b].getAttribute("size")){a[b].removeAttribute("size");a[b].style.fontSize=C+"px";window.setTimeout(function(){Q.value=C+" pt";C=null},0);break}},!0),p=this.createStepper(Q,p,1,10,!0,Menus.prototype.defaultFontSize);p.style.display=Q.style.display;p.style.marginTop="4px";mxClient.IS_QUIRKS||(p.style.right="20px");k.appendChild(p);k=l.getElementsByTagName("div")[0];
k.style.cssFloat="right";var N=null,P="#ffffff",M=null,V="#000000",J=d.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("backgroundColor"),function(){return P},function(a){document.execCommand("backcolor",!1,a!=mxConstants.NONE?a:"transparent")},"#ffffff",{install:function(a){N=a},destroy:function(){N=null}},null,!0):this.createCellColorOption(mxResources.get("backgroundColor"),mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"#ffffff");J.style.fontWeight="bold";var K=this.createCellColorOption(mxResources.get("borderColor"),
mxConstants.STYLE_LABEL_BORDERCOLOR,"#000000");K.style.fontWeight="bold";k=d.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("fontColor"),function(){return V},function(a){document.execCommand("forecolor",!1,a!=mxConstants.NONE?a:"transparent")},"#000000",{install:function(a){M=a},destroy:function(){M=null}},null,!0):this.createCellColorOption(mxResources.get("fontColor"),mxConstants.STYLE_FONTCOLOR,"#000000",function(a){J.style.display=null==a||a==mxConstants.NONE?"none":"";K.style.display=
J.style.display},function(a){null==a||a==mxConstants.NONE?d.setCellStyles(mxConstants.STYLE_NOLABEL,"1",d.getSelectionCells()):d.setCellStyles(mxConstants.STYLE_NOLABEL,null,d.getSelectionCells())});k.style.fontWeight="bold";g.appendChild(k);g.appendChild(J);d.cellEditor.isContentEditing()||g.appendChild(K);b.appendChild(g);g=this.createPanel();g.style.paddingTop="2px";g.style.paddingBottom="4px";k=this.createCellOption(mxResources.get("wordWrap"),mxConstants.STYLE_WHITE_SPACE,null,"wrap","null",
null,null,!0);k.style.fontWeight="bold";!a.containsLabel&&!a.autoSize&&0==a.edges.length&&g.appendChild(k);k=this.createCellOption(mxResources.get("formattedText"),"html","0",null,null,null,f.actions.get("formattedText"));k.style.fontWeight="bold";g.appendChild(k);k=this.createPanel();k.style.paddingTop="10px";k.style.paddingBottom="28px";k.style.fontWeight="normal";p=document.createElement("div");p.style.position="absolute";p.style.width="70px";p.style.marginTop="0px";p.style.fontWeight="bold";mxUtils.write(p,
mxResources.get("spacing"));k.appendChild(p);var R,X,da,ca,T,Z=this.addUnitInput(k,"pt",91,44,function(){R.apply(this,arguments)}),ba=this.addUnitInput(k,"pt",20,44,function(){X.apply(this,arguments)});mxUtils.br(k);this.addLabel(k,mxResources.get("top"),91);this.addLabel(k,mxResources.get("global"),20);mxUtils.br(k);mxUtils.br(k);var Y=this.addUnitInput(k,"pt",162,44,function(){da.apply(this,arguments)}),U=this.addUnitInput(k,"pt",91,44,function(){ca.apply(this,arguments)}),ia=this.addUnitInput(k,
"pt",20,44,function(){T.apply(this,arguments)});mxUtils.br(k);this.addLabel(k,mxResources.get("left"),162);this.addLabel(k,mxResources.get("bottom"),91);this.addLabel(k,mxResources.get("right"),20);if(d.cellEditor.isContentEditing()){var ea=null,aa=null;b.appendChild(this.createRelativeOption(mxResources.get("lineheight"),null,null,function(a){var b=""==a.value?120:parseInt(a.value),b=Math.max(120,isNaN(b)?120:b);null!=ea&&(d.cellEditor.restoreSelection(ea),ea=null);for(var e=d.getSelectedElement();null!=
e&&e.nodeType!=mxConstants.NODETYPE_ELEMENT;)e=e.parentNode;e==d.cellEditor.textarea&&null!=d.cellEditor.textarea.firstChild&&("FONT"!=d.cellEditor.textarea.firstChild.nodeName&&(d.cellEditor.textarea.innerHTML="\x3cfont\x3e"+d.cellEditor.textarea.innerHTML+"\x3c/font\x3e"),e=d.cellEditor.textarea.firstChild);null!=e&&e!=d.cellEditor.textarea&&(e.style.lineHeight=b+"%");a.value=b+" %"},function(a){aa=a;mxEvent.addListener(a,"mousedown",function(){ea=d.cellEditor.saveSelection()});mxEvent.addListener(a,
"touchstart",function(){ea=d.cellEditor.saveSelection()});a.value="120 %"}));g=e.cloneNode(!1);g.style.paddingLeft="0px";k=this.editorUi.toolbar.addItems(["link","image"],g,!0);p=[this.editorUi.toolbar.addButton("geSprite-horizontalrule",mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1,null)},g),this.editorUi.toolbar.addMenuFunctionInContainer(g,"geSprite-table",mxResources.get("table"),!1,mxUtils.bind(this,function(a){this.editorUi.menus.addInsertTableItem(a)}))];
this.styleButtons(k);this.styleButtons(p);k=this.createPanel();k.style.paddingTop="10px";k.style.paddingBottom="10px";k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(g);b.appendChild(k);mxClient.IS_QUIRKS&&(k.style.height="70");k=e.cloneNode(!1);k.style.paddingLeft="0px";p=[this.editorUi.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),function(){try{null!=B&&d.selectNode(d.insertColumn(B,null!=E?E.cellIndex:0))}catch(a){alert(a)}},k),
this.editorUi.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),function(){try{null!=B&&d.selectNode(d.insertColumn(B,null!=E?E.cellIndex+1:-1))}catch(a){alert(a)}},k),this.editorUi.toolbar.addButton("geSprite-deletecolumn",mxResources.get("deleteColumn"),function(){try{null!=B&&null!=E&&d.deleteColumn(B,E.cellIndex)}catch(a){alert(a)}},k),this.editorUi.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),function(){try{null!=B&&null!=F&&
d.selectNode(d.insertRow(B,F.sectionRowIndex))}catch(a){alert(a)}},k),this.editorUi.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),function(){try{null!=B&&null!=F&&d.selectNode(d.insertRow(B,F.sectionRowIndex+1))}catch(a){alert(a)}},k),this.editorUi.toolbar.addButton("geSprite-deleterow",mxResources.get("deleteRow"),function(){try{null!=B&&null!=F&&d.deleteRow(B,F.sectionRowIndex)}catch(a){alert(a)}},k)];this.styleButtons(p);p[2].style.marginRight="9px";g=this.createPanel();
g.style.paddingTop="10px";g.style.paddingBottom="10px";g.appendChild(this.createTitle(mxResources.get("table")));g.appendChild(k);mxClient.IS_QUIRKS&&(mxUtils.br(b),g.style.height="70");e=e.cloneNode(!1);e.style.paddingLeft="0px";p=[this.editorUi.toolbar.addButton("geSprite-strokecolor",mxResources.get("borderColor"),mxUtils.bind(this,function(){if(null!=B){var a=B.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(a,b,d,e){return"#"+("0"+Number(b).toString(16)).substr(-2)+
("0"+Number(d).toString(16)).substr(-2)+("0"+Number(e).toString(16)).substr(-2)});this.editorUi.pickColor(a,function(a){null==a||a==mxConstants.NONE?(B.removeAttribute("border"),B.style.border="",B.style.borderCollapse=""):(B.setAttribute("border","1"),B.style.border="1px solid "+a,B.style.borderCollapse="collapse")})}}),e),this.editorUi.toolbar.addButton("geSprite-fillcolor",mxResources.get("backgroundColor"),mxUtils.bind(this,function(){if(null!=B){var a=B.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,
function(a,b,d,e){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)+("0"+Number(e).toString(16)).substr(-2)});this.editorUi.pickColor(a,function(a){B.style.backgroundColor=null==a||a==mxConstants.NONE?"":a})}}),e),this.editorUi.toolbar.addButton("geSprite-fit",mxResources.get("spacing"),function(){if(null!=B){var a=B.getAttribute("cellPadding")||0,a=new FilenameDialog(f,a,mxResources.get("apply"),mxUtils.bind(this,function(a){null!=a&&0<a.length?B.setAttribute("cellPadding",
a):B.removeAttribute("cellPadding")}),mxResources.get("spacing"));f.showDialog(a.container,300,80,!0,!0);a.init()}},e),this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),function(){null!=B&&B.setAttribute("align","left")},e),this.editorUi.toolbar.addButton("geSprite-center",mxResources.get("center"),function(){null!=B&&B.setAttribute("align","center")},e),this.editorUi.toolbar.addButton("geSprite-right",mxResources.get("right"),function(){null!=B&&B.setAttribute("align","right")},
e)];this.styleButtons(p);p[2].style.marginRight="9px";mxClient.IS_QUIRKS&&(mxUtils.br(g),mxUtils.br(g));g.appendChild(e);b.appendChild(g);A=g}else b.appendChild(g),b.appendChild(this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_TEXT_OPACITY)),b.appendChild(k);var fa=mxUtils.bind(this,function(b,d,e){a=this.format.getSelectionState();b=mxUtils.getValue(a.style,mxConstants.STYLE_FONTSTYLE,0);c(m[0],(b&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);c(m[1],(b&mxConstants.FONT_ITALIC)==
mxConstants.FONT_ITALIC);c(m[2],(b&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);l.firstChild.nodeValue=mxUtils.htmlEntities(mxUtils.getValue(a.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont));c(n,"0"==mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,"1"));if(e||document.activeElement!=Q)b=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),Q.value=isNaN(b)?"":b+" pt";b=mxUtils.getValue(a.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);
c(r,b==mxConstants.ALIGN_LEFT);c(s,b==mxConstants.ALIGN_CENTER);c(q,b==mxConstants.ALIGN_RIGHT);b=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);c(u,b==mxConstants.ALIGN_TOP);c(v,b==mxConstants.ALIGN_MIDDLE);c(z,b==mxConstants.ALIGN_BOTTOM);b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);d=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);G.value=b==mxConstants.ALIGN_LEFT&&d==mxConstants.ALIGN_TOP?
"topLeft":b==mxConstants.ALIGN_CENTER&&d==mxConstants.ALIGN_TOP?"top":b==mxConstants.ALIGN_RIGHT&&d==mxConstants.ALIGN_TOP?"topRight":b==mxConstants.ALIGN_LEFT&&d==mxConstants.ALIGN_BOTTOM?"bottomLeft":b==mxConstants.ALIGN_CENTER&&d==mxConstants.ALIGN_BOTTOM?"bottom":b==mxConstants.ALIGN_RIGHT&&d==mxConstants.ALIGN_BOTTOM?"bottomRight":b==mxConstants.ALIGN_LEFT?"left":b==mxConstants.ALIGN_RIGHT?"right":"center";b=mxUtils.getValue(a.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);
b==mxConstants.TEXT_DIRECTION_RTL?O.value="rightToLeft":b==mxConstants.TEXT_DIRECTION_LTR?O.value="leftToRight":b==mxConstants.TEXT_DIRECTION_AUTO&&(O.value="automatic");if(e||document.activeElement!=ba)b=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_SPACING,2)),ba.value=isNaN(b)?"":b+" pt";if(e||document.activeElement!=Z)b=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_SPACING_TOP,0)),Z.value=isNaN(b)?"":b+" pt";if(e||document.activeElement!=ia)b=parseFloat(mxUtils.getValue(a.style,
mxConstants.STYLE_SPACING_RIGHT,0)),ia.value=isNaN(b)?"":b+" pt";if(e||document.activeElement!=U)b=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_SPACING_BOTTOM,0)),U.value=isNaN(b)?"":b+" pt";if(e||document.activeElement!=Y)b=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_SPACING_LEFT,0)),Y.value=isNaN(b)?"":b+" pt"});X=this.installInputHandler(ba,mxConstants.STYLE_SPACING,2,-999,999," pt");R=this.installInputHandler(Z,mxConstants.STYLE_SPACING_TOP,0,-999,999," pt");T=this.installInputHandler(ia,
mxConstants.STYLE_SPACING_RIGHT,0,-999,999," pt");ca=this.installInputHandler(U,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999," pt");da=this.installInputHandler(Y,mxConstants.STYLE_SPACING_LEFT,0,-999,999," pt");this.addKeyHandler(Q,fa);this.addKeyHandler(ba,fa);this.addKeyHandler(Z,fa);this.addKeyHandler(ia,fa);this.addKeyHandler(U,fa);this.addKeyHandler(Y,fa);d.getModel().addListener(mxEvent.CHANGE,fa);this.listeners.push({destroy:function(){d.getModel().removeListener(fa)}});fa();if(d.cellEditor.isContentEditing()){var ja=
!1,e=function(){ja||(ja=!0,window.setTimeout(function(){for(var a=d.getSelectedElement();null!=a&&a.nodeType!=mxConstants.NODETYPE_ELEMENT;)a=a.parentNode;if(null!=a){var b=mxUtils.getCurrentStyle(a);if(null!=b){c(m[0],"bold"==b.fontWeight||null!=d.getParentByName(a,"B",d.cellEditor.textarea));c(m[1],"italic"==b.fontStyle||null!=d.getParentByName(a,"I",d.cellEditor.textarea));c(m[2],null!=d.getParentByName(a,"U",d.cellEditor.textarea));c(r,"left"==b.textAlign);c(s,"center"==b.textAlign);c(q,"right"==
b.textAlign);c(D,"justify"==b.textAlign);c(x,null!=d.getParentByName(a,"SUP",d.cellEditor.textarea));c(y,null!=d.getParentByName(a,"SUB",d.cellEditor.textarea));B=d.getParentByName(a,"TABLE",d.cellEditor.textarea);F=null==B?null:d.getParentByName(a,"TR",B);E=null==B?null:d.getParentByName(a,"TD",B);A.style.display=null!=B?"":"none";if(document.activeElement!=Q){"FONT"==a.nodeName&&"4"==a.getAttribute("size")&&null!=C?(a.removeAttribute("size"),a.style.fontSize=C+"px",C=null):Q.value=parseFloat(b.fontSize)+
" pt";var a=a.style.lineHeight||b.lineHeight,e=parseFloat(a);"px"==a.substring(a.length-2)&&(e/=parseFloat(b.fontSize));"%"!=a.substring(a.length-1)&&(e*=100);aa.value=e+" %"}a=b.color.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(a,b,d,e){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)+("0"+Number(e).toString(16)).substr(-2)});e=b.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(a,b,d,e){return"#"+
("0"+Number(b).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)+("0"+Number(e).toString(16)).substr(-2)});null!=M&&(V="#"==a.charAt(0)?a:"#000000",M(V,!0));null!=N&&(P="#"==e.charAt(0)?e:null,N(P,!0));null!=l.firstChild&&(b=b.fontFamily,"'"==b.charAt(0)&&(b=b.substring(1)),"'"==b.charAt(b.length-1)&&(b=b.substring(0,b.length-1)),l.firstChild.nodeValue=b)}}ja=!1},0))};mxEvent.addListener(d.cellEditor.textarea,"input",e);mxEvent.addListener(d.cellEditor.textarea,"touchend",e);mxEvent.addListener(d.cellEditor.textarea,
"mouseup",e);mxEvent.addListener(d.cellEditor.textarea,"keyup",e);this.listeners.push({destroy:function(){}});e()}return b};StyleFormatPanel=function(b,c,f){BaseFormatPanel.call(this,b,c,f);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);
StyleFormatPanel.prototype.init=function(){var b=this.format.getSelectionState();(!b.containsImage||"image"==b.style.shape)&&this.container.appendChild(this.addFill(this.createPanel()));this.container.appendChild(this.addStroke(this.createPanel()));b=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_OPACITY,41);b.style.paddingTop="8px";b.style.paddingBottom="8px";this.container.appendChild(b);this.container.appendChild(this.addEffects(this.createPanel()));b=this.addEditOps(this.createPanel());
null!=b.firstChild&&mxUtils.br(b);this.container.appendChild(this.addStyleOps(b))};
StyleFormatPanel.prototype.addEditOps=function(b){var c=this.format.getSelectionState(),f=null;1==this.editorUi.editor.graph.getSelectionCount()&&(f=mxUtils.button(mxResources.get("editStyle"),mxUtils.bind(this,function(b){this.editorUi.actions.get("editStyle").funct()})),f.setAttribute("title",mxResources.get("editStyle")+" ("+this.editorUi.actions.get("editStyle").shortcut+")"),f.style.width="202px",f.style.marginBottom="2px",b.appendChild(f));c.image&&(c=mxUtils.button(mxResources.get("editImage"),
mxUtils.bind(this,function(b){this.editorUi.actions.get("image").funct()})),c.setAttribute("title",mxResources.get("editImage")),c.style.marginBottom="2px",null==f?c.style.width="202px":(f.style.width="100px",c.style.width="100px",c.style.marginLeft="2px"),b.appendChild(c));return b};
StyleFormatPanel.prototype.addFill=function(b){var c=this.editorUi.editor.graph,f=this.format.getSelectionState();b.style.paddingTop="6px";b.style.paddingBottom="6px";var d=document.createElement("select");d.style.position="absolute";d.style.marginTop="-2px";d.style.right=mxClient.IS_QUIRKS?"52px":"72px";d.style.width="70px";mxEvent.addListener(d,"click",function(a){mxEvent.consume(a)});var a=this.createCellColorOption(mxResources.get("gradient"),mxConstants.STYLE_GRADIENTCOLOR,"#ffffff",function(a){d.style.display=
null==a||a==mxConstants.NONE?"none":""}),e="image"==f.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:mxConstants.STYLE_FILLCOLOR,g=this.createCellColorOption(mxResources.get("fill"),e,"#ffffff");g.style.fontWeight="bold";e=mxUtils.getValue(f.style,e,null);a.style.display=null!=e&&e!=mxConstants.NONE&&f.fill&&"image"!=f.style.shape?"":"none";for(var e=[mxConstants.DIRECTION_NORTH,mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST],k=0;k<e.length;k++){var l=document.createElement("option");
l.setAttribute("value",e[k]);mxUtils.write(l,mxResources.get(e[k]));d.appendChild(l)}a.appendChild(d);var m=mxUtils.bind(this,function(){f=this.format.getSelectionState();var e=mxUtils.getValue(f.style,mxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH);""==e&&(e=mxConstants.DIRECTION_SOUTH);d.value=e;b.style.display=f.fill?"":"none";e=mxUtils.getValue(f.style,mxConstants.STYLE_FILLCOLOR,null);a.style.display=!f.fill||f.containsImage||null==e||e==mxConstants.NONE?"none":""});c.getModel().addListener(mxEvent.CHANGE,
m);this.listeners.push({destroy:function(){c.getModel().removeListener(m)}});m();mxEvent.addListener(d,"change",function(a){c.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,d.value,c.getSelectionCells());mxEvent.consume(a)});b.appendChild(g);b.appendChild(a);"swimlane"==f.style.shape&&b.appendChild(this.createCellColorOption(mxResources.get("laneColor"),"swimlaneFillColor","#ffffff"));return b};
StyleFormatPanel.prototype.addStroke=function(b){function c(b){var c=parseInt(u.value),c=Math.min(999,Math.max(1,isNaN(c)?1:c));c!=mxUtils.getValue(e.style,mxConstants.STYLE_STROKEWIDTH,1)&&(a.setCellStyles(mxConstants.STYLE_STROKEWIDTH,c,a.getSelectionCells()),d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[c],"cells",a.getSelectionCells())));u.value=c+" pt";mxEvent.consume(b)}function f(b){var c=parseInt(v.value),c=Math.min(999,Math.max(1,isNaN(c)?1:
c));c!=mxUtils.getValue(e.style,mxConstants.STYLE_STROKEWIDTH,1)&&(a.setCellStyles(mxConstants.STYLE_STROKEWIDTH,c,a.getSelectionCells()),d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[c],"cells",a.getSelectionCells())));v.value=c+" pt";mxEvent.consume(b)}var d=this.editorUi,a=d.editor.graph,e=this.format.getSelectionState();b.style.paddingTop="4px";b.style.paddingBottom="4px";b.style.whiteSpace="normal";var g=document.createElement("div");g.style.fontWeight=
"bold";var k=document.createElement("select");k.style.position="absolute";k.style.marginTop="-2px";k.style.right="72px";k.style.width="80px";for(var l=["sharp","rounded","curved"],m=0;m<l.length;m++){var n=document.createElement("option");n.setAttribute("value",l[m]);mxUtils.write(n,mxResources.get(l[m]));k.appendChild(n)}mxEvent.addListener(k,"change",function(b){a.getModel().beginUpdate();try{var e=[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],c=["0",null];"rounded"==k.value?c=["1",null]:
"curved"==k.value&&(c=[null,"1"]);for(var f=0;f<e.length;f++)a.setCellStyles(e[f],c[f],a.getSelectionCells());d.fireEvent(new mxEventObject("styleChanged","keys",e,"values",c,"cells",a.getSelectionCells()))}finally{a.getModel().endUpdate()}mxEvent.consume(b)});mxEvent.addListener(k,"click",function(a){mxEvent.consume(a)});var p="image"==e.style.shape?mxConstants.STYLE_IMAGE_BORDER:mxConstants.STYLE_STROKECOLOR,l=this.createCellColorOption(mxResources.get("line"),p,"#000000");l.appendChild(k);g.appendChild(l);
var r=g.cloneNode(!1);r.style.fontWeight="normal";r.style.whiteSpace="nowrap";r.style.position="relative";r.style.paddingLeft="16px";r.style.marginBottom="2px";r.style.marginTop="2px";r.className="geToolbarContainer";var s=mxUtils.bind(this,function(a,b,d,e,c){a=this.editorUi.menus.styleChange(a,"",e,c,"geIcon",null);e=document.createElement("div");e.style.width=b+"px";e.style.height="1px";e.style.borderBottom="1px "+d+" black";e.style.paddingTop="6px";a.firstChild.firstChild.style.padding="0px 4px 0px 4px";
a.firstChild.firstChild.style.width=b+"px";a.firstChild.firstChild.appendChild(e);return a}),m=this.editorUi.toolbar.addMenuFunctionInContainer(r,"geSprite-orthogonal",mxResources.get("pattern"),!1,mxUtils.bind(this,function(a){s(a,75,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));s(a,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1",null]).setAttribute("title",mxResources.get("dashed"));s(a,75,
"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",mxResources.get("dotted")+" (1)");s(a,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");s(a,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)")})),q=r.cloneNode(!1),t=this.editorUi.toolbar.addMenuFunctionInContainer(q,"geSprite-connection",
mxResources.get("connection"),!1,mxUtils.bind(this,function(a){this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],"geIcon geSprite geSprite-connection",null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],"geIcon geSprite geSprite-linkedge",null,!0).setAttribute("title",
mxResources.get("link"));this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],"geIcon geSprite geSprite-arrow",null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],"geIcon geSprite geSprite-simplearrow",null,!0).setAttribute("title",mxResources.get("simpleArrow"))})),
n=this.editorUi.toolbar.addMenuFunctionInContainer(q,"geSprite-orthogonal",mxResources.get("pattern"),!1,mxUtils.bind(this,function(a){s(a,33,"solid",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],[null,null]).setAttribute("title",mxResources.get("solid"));s(a,33,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1",null]).setAttribute("title",mxResources.get("dashed"));s(a,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 1"]).setAttribute("title",
mxResources.get("dotted")+" (1)");s(a,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");s(a,33,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)")})),l=r.cloneNode(!1),u=document.createElement("input");u.style.textAlign="right";u.style.marginTop="2px";u.style.width="41px";u.setAttribute("title",mxResources.get("linewidth"));r.appendChild(u);
var v=u.cloneNode(!0);q.appendChild(v);var z=this.createStepper(u,c,1,9);z.style.display=u.style.display;z.style.marginTop="2px";r.appendChild(z);var y=this.createStepper(v,f,1,9);y.style.display=v.style.display;y.style.marginTop="2px";q.appendChild(y);mxClient.IS_QUIRKS?(u.style.height="17px",v.style.height="17px"):(u.style.position="absolute",u.style.right="32px",u.style.height="15px",z.style.right="20px",v.style.position="absolute",v.style.right="32px",v.style.height="15px",y.style.right="20px");
mxEvent.addListener(u,"blur",c);mxEvent.addListener(u,"change",c);mxEvent.addListener(v,"blur",f);mxEvent.addListener(v,"change",f);mxClient.IS_QUIRKS&&(mxUtils.br(l),mxUtils.br(l));var x=this.editorUi.toolbar.addMenuFunctionInContainer(l,"geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,function(a){"arrow"!=e.style.shape&&(this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",
null,!0).setAttribute("title",mxResources.get("straight")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",
null,!0).setAttribute("title",mxResources.get("simple")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",null,!0).setAttribute("title",mxResources.get("simple")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",
null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title",mxResources.get("isometric")),"connector"==e.style.shape&&this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,
mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation")))})),D=this.editorUi.toolbar.addMenuFunctionInContainer(l,"geSprite-startclassic",
mxResources.get("linestart"),!1,mxUtils.bind(this,function(a){if("connector"==e.style.shape||"flexArrow"==e.style.shape)this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.NONE,0],"geIcon geSprite geSprite-noarrow",null,!1).setAttribute("title",mxResources.get("none")),"connector"==e.style.shape?(this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC,1],"geIcon geSprite geSprite-startclassic",null,
!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,1],"geIcon geSprite geSprite-startclassicthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN,0],"geIcon geSprite geSprite-startopen",null,!1).setAttribute("title",mxResources.get("openArrow")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,
"startFill"],[mxConstants.ARROW_OPEN_THIN,0],"geIcon geSprite geSprite-startopenthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["openAsync",0],"geIcon geSprite geSprite-startopenasync",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,1],"geIcon geSprite geSprite-startblock",null,!1).setAttribute("title",mxResources.get("block")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,
"startFill"],[mxConstants.ARROW_BLOCK_THIN,1],"geIcon geSprite geSprite-startblockthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",1],"geIcon geSprite geSprite-startasync",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,1],"geIcon geSprite geSprite-startoval",null,!1).setAttribute("title",mxResources.get("oval")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,
"startFill"],[mxConstants.ARROW_DIAMOND,1],"geIcon geSprite geSprite-startdiamond",null,!1).setAttribute("title",mxResources.get("diamond")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND_THIN,1],"geIcon geSprite geSprite-startthindiamond",null,!1).setAttribute("title",mxResources.get("diamondThin")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC,0],"geIcon geSprite geSprite-startclassictrans",
null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,0],"geIcon geSprite geSprite-startclassicthintrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,0],"geIcon geSprite geSprite-startblocktrans",null,!1).setAttribute("title",mxResources.get("block")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,
"startFill"],[mxConstants.ARROW_BLOCK_THIN,0],"geIcon geSprite geSprite-startblockthintrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["async",0],"geIcon geSprite geSprite-startasynctrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OVAL,0],"geIcon geSprite geSprite-startovaltrans",null,!1).setAttribute("title",mxResources.get("oval")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,
"startFill"],[mxConstants.ARROW_DIAMOND,0],"geIcon geSprite geSprite-startdiamondtrans",null,!1).setAttribute("title",mxResources.get("diamond")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_DIAMOND_THIN,0],"geIcon geSprite geSprite-startthindiamondtrans",null,!1).setAttribute("title",mxResources.get("diamondThin")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["dash",0],"geIcon geSprite geSprite-startdash",
null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["cross",0],"geIcon geSprite geSprite-startcross",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["circlePlus",0],"geIcon geSprite geSprite-startcircleplus",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["circle",1],"geIcon geSprite geSprite-startcircle",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,
"startFill"],["ERone",0],"geIcon geSprite geSprite-starterone",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERmandOne",0],"geIcon geSprite geSprite-starteronetoone",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERmany",0],"geIcon geSprite geSprite-startermany",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERoneToMany",0],"geIcon geSprite geSprite-starteronetomany",
null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERzeroToOne",1],"geIcon geSprite geSprite-starteroneopt",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERzeroToMany",1],"geIcon geSprite geSprite-startermanyopt",null,!1)):this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_STARTARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-startblocktrans",null,!1).setAttribute("title",mxResources.get("block"))})),
A=this.editorUi.toolbar.addMenuFunctionInContainer(l,"geSprite-endclassic",mxResources.get("lineend"),!1,mxUtils.bind(this,function(a){if("connector"==e.style.shape||"flexArrow"==e.style.shape)this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.NONE,0],"geIcon geSprite geSprite-noarrow",null,!1).setAttribute("title",mxResources.get("none")),"connector"==e.style.shape?(this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,
1],"geIcon geSprite geSprite-endclassic",null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,1],"geIcon geSprite geSprite-endclassicthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN,0],"geIcon geSprite geSprite-endopen",null,!1).setAttribute("title",mxResources.get("openArrow")),this.editorUi.menus.edgeStyleChange(a,
"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN_THIN,0],"geIcon geSprite geSprite-endopenthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["openAsync",0],"geIcon geSprite geSprite-endopenasync",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,1],"geIcon geSprite geSprite-endblock",null,!1).setAttribute("title",mxResources.get("block")),this.editorUi.menus.edgeStyleChange(a,
"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,1],"geIcon geSprite geSprite-endblockthin",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["async",1],"geIcon geSprite geSprite-endasync",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,1],"geIcon geSprite geSprite-endoval",null,!1).setAttribute("title",mxResources.get("oval")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,
"endFill"],[mxConstants.ARROW_DIAMOND,1],"geIcon geSprite geSprite-enddiamond",null,!1).setAttribute("title",mxResources.get("diamond")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND_THIN,1],"geIcon geSprite geSprite-endthindiamond",null,!1).setAttribute("title",mxResources.get("diamondThin")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,0],"geIcon geSprite geSprite-endclassictrans",
null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,0],"geIcon geSprite geSprite-endclassicthintrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,0],"geIcon geSprite geSprite-endblocktrans",null,!1).setAttribute("title",mxResources.get("block")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,
"endFill"],[mxConstants.ARROW_BLOCK_THIN,0],"geIcon geSprite geSprite-endblockthintrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["async",0],"geIcon geSprite geSprite-endasynctrans",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,0],"geIcon geSprite geSprite-endovaltrans",null,!1).setAttribute("title",mxResources.get("oval")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,
"endFill"],[mxConstants.ARROW_DIAMOND,0],"geIcon geSprite geSprite-enddiamondtrans",null,!1).setAttribute("title",mxResources.get("diamond")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_DIAMOND_THIN,0],"geIcon geSprite geSprite-endthindiamondtrans",null,!1).setAttribute("title",mxResources.get("diamondThin")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["dash",0],"geIcon geSprite geSprite-enddash",null,!1),
this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["cross",0],"geIcon geSprite geSprite-endcross",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["circlePlus",0],"geIcon geSprite geSprite-endcircleplus",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["circle",1],"geIcon geSprite geSprite-endcircle",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],
["ERone",0],"geIcon geSprite geSprite-enderone",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmandOne",0],"geIcon geSprite geSprite-enderonetoone",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmany",0],"geIcon geSprite geSprite-endermany",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERoneToMany",0],"geIcon geSprite geSprite-enderonetomany",null,!1),this.editorUi.menus.edgeStyleChange(a,
"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToOne",1],"geIcon geSprite geSprite-enderoneopt",null,!1),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToMany",1],"geIcon geSprite geSprite-endermanyopt",null,!1)):this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_ENDARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-endblocktrans",null,!1).setAttribute("title",mxResources.get("block"))}));this.addArrow(t,8);this.addArrow(x);this.addArrow(D);
this.addArrow(A);z=this.addArrow(m,9);z.className="geIcon";z.style.width="84px";y=this.addArrow(n,9);y.className="geIcon";y.style.width="22px";var B=document.createElement("div");B.style.width="85px";B.style.height="1px";B.style.borderBottom="1px solid black";B.style.marginBottom="9px";z.appendChild(B);var E=document.createElement("div");E.style.width="23px";E.style.height="1px";E.style.borderBottom="1px solid black";E.style.marginBottom="9px";y.appendChild(E);m.style.height="15px";n.style.height=
"15px";t.style.height="15px";x.style.height="17px";D.style.marginLeft="3px";D.style.height="17px";A.style.marginLeft="3px";A.style.height="17px";b.appendChild(g);b.appendChild(q);b.appendChild(r);m=r.cloneNode(!1);m.style.paddingBottom="6px";m.style.paddingTop="4px";m.style.fontWeight="normal";n=document.createElement("div");n.style.position="absolute";n.style.marginLeft="3px";n.style.marginBottom="12px";n.style.marginTop="2px";n.style.fontWeight="normal";n.style.width="76px";mxUtils.write(n,mxResources.get("lineend"));
m.appendChild(n);var F,G,H=this.addUnitInput(m,"pt",74,33,function(){F.apply(this,arguments)}),I=this.addUnitInput(m,"pt",20,33,function(){G.apply(this,arguments)});mxUtils.br(m);z=document.createElement("div");z.style.height="8px";m.appendChild(z);n=n.cloneNode(!1);mxUtils.write(n,mxResources.get("linestart"));m.appendChild(n);var L,O,S=this.addUnitInput(m,"pt",74,33,function(){L.apply(this,arguments)}),W=this.addUnitInput(m,"pt",20,33,function(){O.apply(this,arguments)});mxUtils.br(m);this.addLabel(m,
mxResources.get("spacing"),74,50);this.addLabel(m,mxResources.get("size"),20,50);mxUtils.br(m);g=g.cloneNode(!1);g.style.fontWeight="normal";g.style.position="relative";g.style.paddingLeft="16px";g.style.marginBottom="2px";g.style.marginTop="6px";g.style.borderWidth="0px";g.style.paddingBottom="18px";n=document.createElement("div");n.style.position="absolute";n.style.marginLeft="3px";n.style.marginBottom="12px";n.style.marginTop="1px";n.style.fontWeight="normal";n.style.width="120px";mxUtils.write(n,
mxResources.get("perimeter"));g.appendChild(n);var Q,C=this.addUnitInput(g,"pt",20,41,function(){Q.apply(this,arguments)});e.edges.length==a.getSelectionCount()?(b.appendChild(l),mxClient.IS_QUIRKS&&(mxUtils.br(b),mxUtils.br(b)),b.appendChild(m)):e.vertices.length==a.getSelectionCount()&&(mxClient.IS_QUIRKS&&mxUtils.br(b),b.appendChild(g));var N=mxUtils.bind(this,function(b,c,f){function g(a,b,c,f){c=c.getElementsByTagName("div")[0];c.className=d.getCssClassForMarker(f,e.style.shape,a,b);return c}
e=this.format.getSelectionState();mxUtils.getValue(e.style,p,null);if(f||document.activeElement!=u)b=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_STROKEWIDTH,1)),u.value=isNaN(b)?"":b+" pt";if(f||document.activeElement!=v)b=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_STROKEWIDTH,1)),v.value=isNaN(b)?"":b+" pt";k.style.visibility="connector"==e.style.shape?"":"hidden";"1"==mxUtils.getValue(e.style,mxConstants.STYLE_CURVED,null)?k.value="curved":"1"==mxUtils.getValue(e.style,mxConstants.STYLE_ROUNDED,
null)&&(k.value="rounded");"1"==mxUtils.getValue(e.style,mxConstants.STYLE_DASHED,null)?null==mxUtils.getValue(e.style,mxConstants.STYLE_DASH_PATTERN,null)?B.style.borderBottom="1px dashed black":B.style.borderBottom="1px dotted black":B.style.borderBottom="1px solid black";E.style.borderBottom=B.style.borderBottom;b=x.getElementsByTagName("div")[0];c=mxUtils.getValue(e.style,mxConstants.STYLE_EDGE,null);"1"==mxUtils.getValue(e.style,mxConstants.STYLE_NOEDGESTYLE,null)&&(c=null);"orthogonalEdgeStyle"==
c&&"1"==mxUtils.getValue(e.style,mxConstants.STYLE_CURVED,null)?b.className="geSprite geSprite-curved":b.className="straight"==c||"none"==c||null==c?"geSprite geSprite-straight":"entityRelationEdgeStyle"==c?"geSprite geSprite-entity":"elbowEdgeStyle"==c?"geSprite "+("vertical"==mxUtils.getValue(e.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalelbow":"geSprite-horizontalelbow"):"isometricEdgeStyle"==c?"geSprite "+("vertical"==mxUtils.getValue(e.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalisometric":
"geSprite-horizontalisometric"):"geSprite geSprite-orthogonal";t.getElementsByTagName("div")[0].className="link"==e.style.shape?"geSprite geSprite-linkedge":"flexArrow"==e.style.shape?"geSprite geSprite-arrow":"arrow"==e.style.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection";e.edges.length==a.getSelectionCount()?(q.style.display="",r.style.display="none"):(q.style.display="none",r.style.display="");b=g(mxUtils.getValue(e.style,mxConstants.STYLE_STARTARROW,null),mxUtils.getValue(e.style,
"startFill","1"),D,"start");c=g(mxUtils.getValue(e.style,mxConstants.STYLE_ENDARROW,null),mxUtils.getValue(e.style,"endFill","1"),A,"end");"arrow"==e.style.shape?(b.className="geSprite geSprite-noarrow",c.className="geSprite geSprite-endblocktrans"):"link"==e.style.shape&&(b.className="geSprite geSprite-noarrow",c.className="geSprite geSprite-noarrow");mxUtils.setOpacity(x,"arrow"==e.style.shape?30:100);"connector"!=e.style.shape&&"flexArrow"!=e.style.shape?(mxUtils.setOpacity(D,30),mxUtils.setOpacity(A,
30)):(mxUtils.setOpacity(D,100),mxUtils.setOpacity(A,100));if(f||document.activeElement!=W)b=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)),W.value=isNaN(b)?"":b+" pt";if(f||document.activeElement!=S)b=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0)),S.value=isNaN(b)?"":b+" pt";if(f||document.activeElement!=I)b=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE)),I.value=isNaN(b)?
"":b+" pt";if(f||document.activeElement!=S)b=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING,0)),H.value=isNaN(b)?"":b+" pt";if(f||document.activeElement!=C)b=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_PERIMETER_SPACING,0)),C.value=isNaN(b)?"":b+" pt"});O=this.installInputHandler(W,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999," pt");L=this.installInputHandler(S,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0,-999,999," pt");G=this.installInputHandler(I,
mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999," pt");F=this.installInputHandler(H,mxConstants.STYLE_TARGET_PERIMETER_SPACING,0,-999,999," pt");Q=this.installInputHandler(C,mxConstants.STYLE_PERIMETER_SPACING,0,0,999," pt");this.addKeyHandler(u,N);this.addKeyHandler(W,N);this.addKeyHandler(S,N);this.addKeyHandler(I,N);this.addKeyHandler(H,N);this.addKeyHandler(C,N);a.getModel().addListener(mxEvent.CHANGE,N);this.listeners.push({destroy:function(){a.getModel().removeListener(N)}});
N();return b};
StyleFormatPanel.prototype.addEffects=function(b){var c=this.editorUi.editor.graph,f=this.format.getSelectionState();b.style.paddingTop="0px";b.style.paddingBottom="2px";var d=document.createElement("table");mxClient.IS_QUIRKS&&(d.style.fontSize="1em");d.style.width="100%";d.style.fontWeight="bold";d.style.paddingRight="20px";var a=document.createElement("tbody"),e=document.createElement("tr");e.style.padding="0px";var g=document.createElement("td");g.style.padding="0px";g.style.width="50%";g.setAttribute("valign",
"top");var k=g.cloneNode(!0);k.style.paddingLeft="8px";e.appendChild(g);e.appendChild(k);a.appendChild(e);d.appendChild(a);b.appendChild(d);var l=g,m=0,n=mxUtils.bind(this,function(a,b,d){a=this.createCellOption(a,b,d);a.style.width="100%";l.appendChild(a);l=l==g?k:g;m++}),p=mxUtils.bind(this,function(a,d,e){f=this.format.getSelectionState();g.innerHTML="";k.innerHTML="";l=g;f.rounded&&n(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);"swimlane"==f.style.shape&&n(mxResources.get("divider"),
"swimlaneLine",1);f.containsImage||n(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);f.glass&&n(mxResources.get("glass"),mxConstants.STYLE_GLASS,0);f.comic&&n(mxResources.get("comic"),"comic",0);0==m&&(b.style.display="none")});c.getModel().addListener(mxEvent.CHANGE,p);this.listeners.push({destroy:function(){c.getModel().removeListener(p)}});p();return b};
StyleFormatPanel.prototype.addStyleOps=function(b){b.style.paddingTop="10px";b.style.paddingBottom="10px";var c=mxUtils.button(mxResources.get("setAsDefaultStyle"),mxUtils.bind(this,function(b){this.editorUi.actions.get("setAsDefaultStyle").funct()}));c.setAttribute("title",mxResources.get("setAsDefaultStyle")+" ("+this.editorUi.actions.get("setAsDefaultStyle").shortcut+")");c.style.width="202px";b.appendChild(c);return b};DiagramFormatPanel=function(b,c,f){BaseFormatPanel.call(this,b,c,f);this.init()};
mxUtils.extend(DiagramFormatPanel,BaseFormatPanel);DiagramFormatPanel.prototype.showBackgroundImageOption=!0;DiagramFormatPanel.prototype.init=function(){var b=this.editorUi.editor.graph;this.container.appendChild(this.addView(this.createPanel()));b.isEnabled()&&(this.container.appendChild(this.addOptions(this.createPanel())),this.container.appendChild(this.addPaperSize(this.createPanel())),this.container.appendChild(this.addStyleOps(this.createPanel())))};
DiagramFormatPanel.prototype.addView=function(b){var c=this.editorUi,f=c.editor.graph;b.appendChild(this.createTitle(mxResources.get("view")));this.addGridOption(b);if(f.isEnabled()){b.appendChild(this.createOption(mxResources.get("guides"),function(){return f.graphHandler.guidesEnabled},function(a){c.actions.get("guides").funct()},{install:function(a){this.listener=function(){a(f.graphHandler.guidesEnabled)};c.addListener("guidesEnabledChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}}));
b.appendChild(this.createOption(mxResources.get("pageView"),function(){return f.pageVisible},function(a){c.actions.get("pageView").funct()},{install:function(a){this.listener=function(){a(f.pageVisible)};c.addListener("pageViewChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}}));var d=this.createColorOption(mxResources.get("background"),function(){return f.background},function(a){c.setBackgroundColor(a)},"#ffffff",{install:function(a){this.listener=function(){a(f.background)};
c.addListener("backgroundColorChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}});if(this.showBackgroundImageOption){var a=mxUtils.button(mxResources.get("image"),function(a){c.showBackgroundImageDialog();mxEvent.consume(a)});a.style.position="absolute";a.className="geColorBtn";a.style.marginTop="-4px";a.style.paddingBottom=11==document.documentMode||mxClient.IS_MT?"0px":"2px";a.style.height="22px";a.style.right=mxClient.IS_QUIRKS?"52px":"72px";a.style.width="56px";d.appendChild(a)}b.appendChild(d)}return b};
DiagramFormatPanel.prototype.addOptions=function(b){var c=this.editorUi,f=c.editor.graph;b.appendChild(this.createTitle(mxResources.get("options")));f.isEnabled()&&(b.appendChild(this.createOption(mxResources.get("connectionArrows"),function(){return f.connectionArrowsEnabled},function(b){c.actions.get("connectionArrows").funct()},{install:function(b){this.listener=function(){b(f.connectionArrowsEnabled)};c.addListener("connectionArrowsChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}})),
b.appendChild(this.createOption(mxResources.get("connectionPoints"),function(){return f.connectionHandler.isEnabled()},function(b){c.actions.get("connectionPoints").funct()},{install:function(b){this.listener=function(){b(f.connectionHandler.isEnabled())};c.addListener("connectionPointsChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}})));return b};
DiagramFormatPanel.prototype.addGridOption=function(b){function c(b){var e=parseInt(a.value),e=Math.max(1,isNaN(e)?10:e);e!=d.getGridSize()&&d.setGridSize(e);a.value=e+" pt";mxEvent.consume(b)}var f=this.editorUi,d=f.editor.graph,a=document.createElement("input");a.style.position="absolute";a.style.textAlign="right";a.style.width="38px";a.value=d.getGridSize()+" pt";var e=this.createStepper(a,c);a.style.display=d.isGridEnabled()?"":"none";e.style.display=a.style.display;mxEvent.addListener(a,"keydown",
function(b){13==b.keyCode?(d.container.focus(),mxEvent.consume(b)):27==b.keyCode&&(a.value=d.getGridSize(),d.container.focus(),mxEvent.consume(b))});mxEvent.addListener(a,"blur",c);mxEvent.addListener(a,"change",c);if(mxClient.IS_SVG){a.style.marginTop="-2px";a.style.right="84px";e.style.marginTop="-16px";e.style.right="72px";var g=this.createColorOption(mxResources.get("grid"),function(){var a=d.view.gridColor;return d.isGridEnabled()?a:null},function(b){b==mxConstants.NONE?(d.setGridEnabled(!1),
f.fireEvent(new mxEventObject("gridEnabledChanged"))):(d.setGridEnabled(!0),f.setGridColor(b));a.style.display=d.isGridEnabled()?"":"none";e.style.display=a.style.display},"#e0e0e0",{install:function(a){this.listener=function(){a(d.isGridEnabled()?d.view.gridColor:null)};f.addListener("gridColorChanged",this.listener);f.addListener("gridEnabledChanged",this.listener)},destroy:function(){f.removeListener(this.listener)}});g.appendChild(a);g.appendChild(e);b.appendChild(g)}else a.style.marginTop="2px",
a.style.right="32px",e.style.marginTop="2px",e.style.right="20px",b.appendChild(a),b.appendChild(e),b.appendChild(this.createOption(mxResources.get("grid"),function(){return d.isGridEnabled()},function(a){d.setGridEnabled(a);d.isGridEnabled()&&(d.view.gridColor="#e0e0e0");f.fireEvent(new mxEventObject("gridEnabledChanged"))},{install:function(b){this.listener=function(){a.style.display=d.isGridEnabled()?"":"none";e.style.display=a.style.display;b(d.isGridEnabled())};f.addListener("gridEnabledChanged",
this.listener)},destroy:function(){f.removeListener(this.listener)}}))};DiagramFormatPanel.prototype.addDocumentProperties=function(b){b.appendChild(this.createTitle(mxResources.get("options")));return b};
DiagramFormatPanel.prototype.addPaperSize=function(b){function c(b,c,f){if(f||p!=document.activeElement&&r!=document.activeElement){b=!1;for(c=0;c<q.length;c++)f=q[c],z?"custom"==f.key&&(g.value=f.key,z=!1):null!=f.format&&(d.pageFormat.width==f.format.width&&d.pageFormat.height==f.format.height?(g.value=f.key,a.setAttribute("checked","checked"),a.defaultChecked=!0,a.checked=!0,e.removeAttribute("checked"),e.defaultChecked=!1,e.checked=!1,b=!0):d.pageFormat.width==f.format.height&&d.pageFormat.height==
f.format.width&&(g.value=f.key,a.removeAttribute("checked"),a.defaultChecked=!1,a.checked=!1,e.setAttribute("checked","checked"),e.defaultChecked=!0,b=e.checked=!0));b?(k.style.display="",n.style.display="none"):(p.value=d.pageFormat.width,r.value=d.pageFormat.height,v.setAttribute("selected","selected"),a.setAttribute("checked","checked"),a.defaultChecked=!0,k.style.display="none",n.style.display="")}}var f=this.editorUi,d=f.editor.graph;b.appendChild(this.createTitle(mxResources.get("paperSize")));
var a=document.createElement("input");a.setAttribute("name","format");a.setAttribute("type","radio");a.setAttribute("value","portrait");var e=document.createElement("input");e.setAttribute("name","format");e.setAttribute("type","radio");e.setAttribute("value","landscape");var g=document.createElement("select");g.style.marginBottom="8px";g.style.width="202px";var k=document.createElement("div");k.style.marginLeft="4px";k.style.width="210px";k.style.height="24px";a.style.marginRight="6px";k.appendChild(a);
var l=document.createElement("span");l.style.maxWidth="100px";mxUtils.write(l,mxResources.get("portrait"));k.appendChild(l);e.style.marginLeft="10px";e.style.marginRight="6px";k.appendChild(e);var m=document.createElement("span");m.style.width="100px";mxUtils.write(m,mxResources.get("landscape"));k.appendChild(m);var n=document.createElement("div");n.style.marginLeft="4px";n.style.width="210px";n.style.height="24px";var p=document.createElement("input");p.setAttribute("size","6");p.setAttribute("value",
d.pageFormat.width);n.appendChild(p);mxUtils.write(n," x ");var r=document.createElement("input");r.setAttribute("size","6");r.setAttribute("value",d.pageFormat.height);n.appendChild(r);mxUtils.write(n," pt");k.style.display="none";n.style.display="none";for(var s={},q=PageSetupDialog.getFormats(),t=0;t<q.length;t++){var u=q[t];s[u.key]=u;var v=document.createElement("option");v.setAttribute("value",u.key);mxUtils.write(v,u.title);g.appendChild(v)}var z=!1;c();b.appendChild(g);mxUtils.br(b);b.appendChild(k);
b.appendChild(n);var y=function(){var a=s[g.value];null!=a.format?(p.value=a.format.width,r.value=a.format.height,n.style.display="none",k.style.display=""):(k.style.display="none",n.style.display="");a=new mxRectangle(0,0,parseInt(p.value),parseInt(r.value));"custom"!=g.value&&e.checked&&(a=new mxRectangle(0,0,a.height,a.width));(null==d.pageFormat||d.pageFormat.width!=a.width||d.pageFormat.height!=a.height)&&f.setPageFormat(a)};this.addKeyHandler(p,c);this.addKeyHandler(r,c);mxEvent.addListener(l,
"click",function(b){a.checked=!0;y();mxEvent.consume(b)});mxEvent.addListener(m,"click",function(a){e.checked=!0;y();mxEvent.consume(a)});mxEvent.addListener(p,"blur",y);mxEvent.addListener(p,"click",y);mxEvent.addListener(r,"blur",y);mxEvent.addListener(r,"click",y);mxEvent.addListener(e,"change",y);mxEvent.addListener(a,"change",y);mxEvent.addListener(g,"change",function(){z="custom"==g.value;y()});f.addListener("pageFormatChanged",c);this.listeners.push({destroy:function(){f.removeListener(c)}});
d.getModel().addListener(mxEvent.CHANGE,c);this.listeners.push({destroy:function(){d.getModel().removeListener(c)}});y();return b};
DiagramFormatPanel.prototype.addStyleOps=function(b){var c=mxUtils.button(mxResources.get("editData"),mxUtils.bind(this,function(b){this.editorUi.actions.get("editData").funct()}));c.setAttribute("title",mxResources.get("editData")+" ("+this.editorUi.actions.get("editData").shortcut+")");c.style.width="202px";c.style.marginBottom="2px";b.appendChild(c);mxUtils.br(b);c=mxUtils.button(mxResources.get("clearDefaultStyle"),mxUtils.bind(this,function(b){this.editorUi.actions.get("clearDefaultStyle").funct()}));
c.setAttribute("title",mxResources.get("clearDefaultStyle")+" ("+this.editorUi.actions.get("clearDefaultStyle").shortcut+")");c.style.width="202px";b.appendChild(c);return b};DiagramFormatPanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.gridEnabledListener&&(this.editorUi.removeListener(this.gridEnabledListener),this.gridEnabledListener=null)};
function Toolbar(b,c){this.editorUi=b;this.container=c;this.staticElements=[];this.init();this.gestureHandler=mxUtils.bind(this,function(b){null!=this.editorUi.currentMenu&&mxEvent.getSource(b)!=this.editorUi.currentMenu.div&&this.hideMenu()});mxEvent.addGestureListeners(document,this.gestureHandler)}Toolbar.prototype.dropdownImage=!mxClient.IS_SVG?IMAGE_PATH+"/dropdown.gif":"data:image/gif;base64,R0lGODlhDQANAIABAHt7e////yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCREM1NkJFMjE0NEMxMUU1ODk1Q0M5MjQ0MTA4QjNDMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCREM1NkJFMzE0NEMxMUU1ODk1Q0M5MjQ0MTA4QjNDMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkQzOUMzMjZCMTQ0QjExRTU4OTVDQzkyNDQxMDhCM0MxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkQzOUMzMjZDMTQ0QjExRTU4OTVDQzkyNDQxMDhCM0MxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhGMj6nL3QAjVHIu6azbvPtWAAA7";
Toolbar.prototype.dropdownImageHtml='\x3cimg border\x3d"0" style\x3d"position:absolute;right:4px;top:'+(!EditorUi.compactUi?8:6)+'px;" src\x3d"'+Toolbar.prototype.dropdownImage+'" valign\x3d"middle"/\x3e';Toolbar.prototype.selectedBackground="#d0d0d0";Toolbar.prototype.unselectedBackground="none";Toolbar.prototype.staticElements=null;
Toolbar.prototype.init=function(){var b=screen.width,b=b-(740<screen.height?56:0);if(700<=b){var c=this.addMenu("",mxResources.get("view")+" ("+mxResources.get("panTooltip")+")",!0,"viewPanels",null,!0);this.addDropDownArrow(c,"geSprite-formatpanel",38,50,-4,-3,36,-8);this.addSeparator()}var f=this.addMenu("",mxResources.get("zoom")+" (Alt+Mousewheel)",!0,"viewZoom",null,!0);f.showDisabled=!0;f.style.whiteSpace="nowrap";f.style.position="relative";f.style.overflow="hidden";f.style.width=EditorUi.compactUi?
mxClient.IS_QUIRKS?"58px":"50px":mxClient.IS_QUIRKS?"62px":"36px";420<=b&&(this.addSeparator(),c=this.addItems(["zoomIn","zoomOut"]),c[0].setAttribute("title",mxResources.get("zoomIn")+" ("+this.editorUi.actions.get("zoomIn").shortcut+")"),c[1].setAttribute("title",mxResources.get("zoomOut")+" ("+this.editorUi.actions.get("zoomOut").shortcut+")"));c=mxUtils.bind(this,function(){f.innerHTML=Math.round(100*this.editorUi.editor.graph.view.scale)+"%"+this.dropdownImageHtml;EditorUi.compactUi&&(f.getElementsByTagName("img")[0].style.right=
"1px",f.getElementsByTagName("img")[0].style.top="5px")});this.editorUi.editor.graph.view.addListener(mxEvent.EVENT_SCALE,c);this.editorUi.editor.addListener("resetGraphView",c);c=this.addItems(["-","undo","redo"]);c[1].setAttribute("title",mxResources.get("undo")+" ("+this.editorUi.actions.get("undo").shortcut+")");c[2].setAttribute("title",mxResources.get("redo")+" ("+this.editorUi.actions.get("redo").shortcut+")");470<=b&&(c=this.addItems(["-","delete"]),c[1].setAttribute("title",mxResources.get("delete")+
" ("+this.editorUi.actions.get("delete").shortcut+")"));550<=b&&this.addItems(["-","toFront","toBack"]);640<=b&&this.addItems(["-","fillColor","strokeColor","shadow"]);320<=b&&(this.addSeparator(),this.edgeShapeMenu=this.addMenuFunction("",mxResources.get("connection"),!1,mxUtils.bind(this,function(b){this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_SHAPE,"width"],[null,null],"geIcon geSprite geSprite-connection",null,!0).setAttribute("title",mxResources.get("line"));this.editorUi.menus.edgeStyleChange(b,
"",[mxConstants.STYLE_SHAPE,"width"],["link",null],"geIcon geSprite geSprite-linkedge",null,!0).setAttribute("title",mxResources.get("link"));this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_SHAPE,"width"],["flexArrow",null],"geIcon geSprite geSprite-arrow",null,!0).setAttribute("title",mxResources.get("arrow"));this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_SHAPE,"width"],["arrow",null],"geIcon geSprite geSprite-simplearrow",null,!0).setAttribute("title",mxResources.get("simpleArrow"))})),
this.addDropDownArrow(this.edgeShapeMenu,"geSprite-connection",44,50,0,0,22,-4),this.edgeStyleMenu=this.addMenuFunction("geSprite-orthogonal",mxResources.get("waypoints"),!1,mxUtils.bind(this,function(b){this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],"geIcon geSprite geSprite-straight",null,!0).setAttribute("title",mxResources.get("straight"));this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_EDGE,
mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],"geIcon geSprite geSprite-orthogonal",null,!0).setAttribute("title",mxResources.get("orthogonal"));this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalelbow",null,!0).setAttribute("title","simple");this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_EDGE,
mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalelbow",null,!0).setAttribute("title","simple");this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],"geIcon geSprite geSprite-horizontalisometric",null,!0).setAttribute("title","isometric");this.editorUi.menus.edgeStyleChange(b,
"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],"geIcon geSprite geSprite-verticalisometric",null,!0).setAttribute("title","isometric");this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],"geIcon geSprite geSprite-curved",null,!0).setAttribute("title",mxResources.get("curved"));this.editorUi.menus.edgeStyleChange(b,
"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],"geIcon geSprite geSprite-entity",null,!0).setAttribute("title",mxResources.get("entityRelation"))})),this.addDropDownArrow(this.edgeStyleMenu,"geSprite-orthogonal",44,50,0,0,22,-4));this.addSeparator();b=this.addMenu("",mxResources.get("insert")+" ("+mxResources.get("doubleClickTooltip")+")",!0,"insert",null,!0);this.addDropDownArrow(b,"geSprite-plus",38,48,-4,-3,36,-8)};
Toolbar.prototype.addDropDownArrow=function(b,c,f,d,a,e,g,k){a=EditorUi.compactUi?a:k;b.style.whiteSpace="nowrap";b.style.overflow="hidden";b.style.position="relative";b.innerHTML='\x3cdiv class\x3d"geSprite '+c+'" style\x3d"margin-left:'+a+"px;margin-top:"+e+'px;"\x3e\x3c/div\x3e'+this.dropdownImageHtml;b.style.width=mxClient.IS_QUIRKS?d+"px":d-(null!=g?g:32)+"px";mxClient.IS_QUIRKS&&(b.style.height=EditorUi.compactUi?"24px":"26px");EditorUi.compactUi&&(b.getElementsByTagName("img")[0].style.left=
"24px",b.getElementsByTagName("img")[0].style.top="5px",b.style.width=mxClient.IS_QUIRKS?f+"px":f-10+"px")};Toolbar.prototype.setFontName=function(b){null!=this.fontMenu&&(this.fontMenu.innerHTML='\x3cdiv style\x3d"width:60px;overflow:hidden;display:inline-block;"\x3e'+mxUtils.htmlEntities(b)+"\x3c/div\x3e"+this.dropdownImageHtml)};
Toolbar.prototype.setFontSize=function(b){null!=this.sizeMenu&&(this.sizeMenu.innerHTML='\x3cdiv style\x3d"width:24px;overflow:hidden;display:inline-block;"\x3e'+b+"\x3c/div\x3e"+this.dropdownImageHtml)};
Toolbar.prototype.createTextToolbar=function(){var b=this.editorUi.editor.graph,c=this.addMenu("",mxResources.get("style"),!0,"formatBlock");c.style.position="relative";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.innerHTML=mxResources.get("style")+this.dropdownImageHtml;EditorUi.compactUi&&(c.style.paddingRight="18px",c.getElementsByTagName("img")[0].style.right="1px",c.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.fontMenu=this.addMenu("",mxResources.get("fontFamily"),
!0,"fontFamily");this.fontMenu.style.position="relative";this.fontMenu.style.whiteSpace="nowrap";this.fontMenu.style.overflow="hidden";this.fontMenu.style.width=mxClient.IS_QUIRKS?"80px":"60px";this.setFontName(Menus.prototype.defaultFont);EditorUi.compactUi&&(this.fontMenu.style.paddingRight="18px",this.fontMenu.getElementsByTagName("img")[0].style.right="1px",this.fontMenu.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.sizeMenu=this.addMenu(Menus.prototype.defaultFontSize,
mxResources.get("fontSize"),!0,"fontSize");this.sizeMenu.style.position="relative";this.sizeMenu.style.whiteSpace="nowrap";this.sizeMenu.style.overflow="hidden";this.sizeMenu.style.width=mxClient.IS_QUIRKS?"44px":"24px";this.setFontSize(Menus.prototype.defaultFontSize);EditorUi.compactUi&&(this.sizeMenu.style.paddingRight="18px",this.sizeMenu.getElementsByTagName("img")[0].style.right="1px",this.sizeMenu.getElementsByTagName("img")[0].style.top="5px");c=this.addItems("- undo redo - bold italic underline".split(" "));
c[1].setAttribute("title",mxResources.get("undo")+" ("+this.editorUi.actions.get("undo").shortcut+")");c[2].setAttribute("title",mxResources.get("redo")+" ("+this.editorUi.actions.get("redo").shortcut+")");c[4].setAttribute("title",mxResources.get("bold")+" ("+this.editorUi.actions.get("bold").shortcut+")");c[5].setAttribute("title",mxResources.get("italic")+" ("+this.editorUi.actions.get("italic").shortcut+")");c[6].setAttribute("title",mxResources.get("underline")+" ("+this.editorUi.actions.get("underline").shortcut+
")");c=this.addMenuFunction("",mxResources.get("align"),!1,mxUtils.bind(this,function(b){f=b.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifyleft",!1,null)}),null,"geIcon geSprite geSprite-left");f.setAttribute("title",mxResources.get("left"));f=b.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifycenter",!1,null)}),null,"geIcon geSprite geSprite-center");f.setAttribute("title",mxResources.get("center"));f=b.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifyright",
!1,null)}),null,"geIcon geSprite geSprite-right");f.setAttribute("title",mxResources.get("right"));f=b.addItem("",null,mxUtils.bind(this,function(){document.execCommand("justifyfull",!1,null)}),null,"geIcon geSprite geSprite-justifyfull");f.setAttribute("title",mxResources.get("justifyfull"));f=b.addItem("",null,mxUtils.bind(this,function(){document.execCommand("insertorderedlist",!1,null)}),null,"geIcon geSprite geSprite-orderedlist");f.setAttribute("title",mxResources.get("numberedList"));f=b.addItem("",
null,mxUtils.bind(this,function(){document.execCommand("insertunorderedlist",!1,null)}),null,"geIcon geSprite geSprite-unorderedlist");f.setAttribute("title",mxResources.get("bulletedList"));f=b.addItem("",null,mxUtils.bind(this,function(){document.execCommand("outdent",!1,null)}),null,"geIcon geSprite geSprite-outdent");f.setAttribute("title",mxResources.get("decreaseIndent"));f=b.addItem("",null,mxUtils.bind(this,function(){document.execCommand("indent",!1,null)}),null,"geIcon geSprite geSprite-indent");
f.setAttribute("title",mxResources.get("increaseIndent"))}));c.style.position="relative";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.innerHTML='\x3cdiv class\x3d"geSprite geSprite-left" style\x3d"margin-left:-2px;"\x3e\x3c/div\x3e'+this.dropdownImageHtml;c.style.width=mxClient.IS_QUIRKS?"50px":"30px";EditorUi.compactUi&&(c.getElementsByTagName("img")[0].style.left="22px",c.getElementsByTagName("img")[0].style.top="5px");c=this.addMenuFunction("",mxResources.get("format"),!1,mxUtils.bind(this,
function(b){f=b.addItem("",null,this.editorUi.actions.get("subscript").funct,null,"geIcon geSprite geSprite-subscript");f.setAttribute("title",mxResources.get("subscript")+" (Ctrl+,)");f=b.addItem("",null,this.editorUi.actions.get("superscript").funct,null,"geIcon geSprite geSprite-superscript");f.setAttribute("title",mxResources.get("superscript")+" (Ctrl+.)");f=b.addItem("",null,this.editorUi.actions.get("fontColor").funct,null,"geIcon geSprite geSprite-fontcolor");f.setAttribute("title",mxResources.get("fontColor"));
f=b.addItem("",null,this.editorUi.actions.get("backgroundColor").funct,null,"geIcon geSprite geSprite-fontbackground");f.setAttribute("title",mxResources.get("backgroundColor"));f=b.addItem("",null,mxUtils.bind(this,function(){document.execCommand("removeformat",!1,null)}),null,"geIcon geSprite geSprite-removeformat");f.setAttribute("title",mxResources.get("removeFormat"))}));c.style.position="relative";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.innerHTML='\x3cdiv class\x3d"geSprite geSprite-dots" style\x3d"margin-left:-2px;"\x3e\x3c/div\x3e'+
this.dropdownImageHtml;c.style.width=mxClient.IS_QUIRKS?"50px":"30px";EditorUi.compactUi&&(c.getElementsByTagName("img")[0].style.left="22px",c.getElementsByTagName("img")[0].style.top="5px");this.addSeparator();this.addButton("geIcon geSprite geSprite-code",mxResources.get("html"),function(){b.cellEditor.toggleViewMode();0<b.cellEditor.textarea.innerHTML.length&&("\x26nbsp;"!=b.cellEditor.textarea.innerHTML||!b.cellEditor.clearOnChange)&&window.setTimeout(function(){document.execCommand("selectAll",
!1,null)})});this.addSeparator();c=this.addMenuFunction("",mxResources.get("insert"),!0,mxUtils.bind(this,function(b){b.addItem(mxResources.get("insertLink"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("link").funct()}));b.addItem(mxResources.get("insertImage"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("image").funct()}));b.addItem(mxResources.get("insertHorizontalRule"),null,mxUtils.bind(this,function(){document.execCommand("inserthorizontalrule",!1,null)}))}));
c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.style.position="relative";c.innerHTML='\x3cdiv class\x3d"geSprite geSprite-plus" style\x3d"margin-left:-4px;margin-top:-3px;"\x3e\x3c/div\x3e'+this.dropdownImageHtml;c.style.width=mxClient.IS_QUIRKS?"36px":"16px";EditorUi.compactUi&&(c.getElementsByTagName("img")[0].style.left="24px",c.getElementsByTagName("img")[0].style.top="5px",c.style.width=mxClient.IS_QUIRKS?"50px":"30px");this.addSeparator();var f=this.addMenuFunction("geIcon geSprite geSprite-table",
mxResources.get("table"),!1,mxUtils.bind(this,function(d){var a=b.getSelectedElement(),e=b.getParentByName(a,"TD",b.cellEditor.text2),c=b.getParentByName(a,"TR",b.cellEditor.text2);if(null==c)this.editorUi.menus.addInsertTableItem(d);else{var f=b.getParentByName(c,"TABLE",b.cellEditor.text2),a=d.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(f,null!=e?e.cellIndex:0))}catch(a){mxUtils.alert(mxResources.get("error")+": "+a.message)}}),null,"geIcon geSprite geSprite-insertcolumnbefore");
a.setAttribute("title",mxResources.get("insertColumnBefore"));a=d.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(f,null!=e?e.cellIndex+1:-1))}catch(a){mxUtils.alert(mxResources.get("error")+": "+a.message)}}),null,"geIcon geSprite geSprite-insertcolumnafter");a.setAttribute("title",mxResources.get("insertColumnAfter"));a=d.addItem("Delete column",null,mxUtils.bind(this,function(){if(null!=e)try{b.deleteColumn(f,e.cellIndex)}catch(a){mxUtils.alert(mxResources.get("error")+
": "+a.message)}}),null,"geIcon geSprite geSprite-deletecolumn");a.setAttribute("title",mxResources.get("deleteColumn"));a=d.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(f,c.sectionRowIndex))}catch(a){mxUtils.alert(mxResources.get("error")+": "+a.message)}}),null,"geIcon geSprite geSprite-insertrowbefore");a.setAttribute("title",mxResources.get("insertRowBefore"));a=d.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(f,c.sectionRowIndex+1))}catch(a){mxUtils.alert(mxResources.get("error")+
": "+a.message)}}),null,"geIcon geSprite geSprite-insertrowafter");a.setAttribute("title",mxResources.get("insertRowAfter"));a=d.addItem("",null,mxUtils.bind(this,function(){try{b.deleteRow(f,c.sectionRowIndex)}catch(a){mxUtils.alert(mxResources.get("error")+": "+a.message)}}),null,"geIcon geSprite geSprite-deleterow");a.setAttribute("title",mxResources.get("deleteRow"));a=d.addItem("",null,mxUtils.bind(this,function(){var a=f.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,
function(a,b,d,e){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)+("0"+Number(e).toString(16)).substr(-2)});this.editorUi.pickColor(a,function(a){null==a||a==mxConstants.NONE?(f.removeAttribute("border"),f.style.border="",f.style.borderCollapse=""):(f.setAttribute("border","1"),f.style.border="1px solid "+a,f.style.borderCollapse="collapse")})}),null,"geIcon geSprite geSprite-strokecolor");a.setAttribute("title",mxResources.get("borderColor"));a=d.addItem("",
null,mxUtils.bind(this,function(){var a=f.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(a,b,d,e){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)+("0"+Number(e).toString(16)).substr(-2)});this.editorUi.pickColor(a,function(a){f.style.backgroundColor=null==a||a==mxConstants.NONE?"":a})}),null,"geIcon geSprite geSprite-fillcolor");a.setAttribute("title",mxResources.get("backgroundColor"));a=d.addItem("",null,mxUtils.bind(this,
function(){var a=f.getAttribute("cellPadding")||0,a=new FilenameDialog(this.editorUi,a,mxResources.get("apply"),mxUtils.bind(this,function(a){null!=a&&0<a.length?f.setAttribute("cellPadding",a):f.removeAttribute("cellPadding")}),mxResources.get("spacing"));this.editorUi.showDialog(a.container,300,80,!0,!0);a.init()}),null,"geIcon geSprite geSprite-fit");a.setAttribute("title",mxResources.get("spacing"));a=d.addItem("",null,mxUtils.bind(this,function(){f.setAttribute("align","left")}),null,"geIcon geSprite geSprite-left");
a.setAttribute("title",mxResources.get("left"));a=d.addItem("",null,mxUtils.bind(this,function(){f.setAttribute("align","center")}),null,"geIcon geSprite geSprite-center");a.setAttribute("title",mxResources.get("center"));a=d.addItem("",null,mxUtils.bind(this,function(){f.setAttribute("align","right")}),null,"geIcon geSprite geSprite-right");a.setAttribute("title",mxResources.get("right"))}}));f.style.position="relative";f.style.whiteSpace="nowrap";f.style.overflow="hidden";f.innerHTML='\x3cdiv class\x3d"geSprite geSprite-table" style\x3d"margin-left:-2px;"\x3e\x3c/div\x3e'+
this.dropdownImageHtml;f.style.width=mxClient.IS_QUIRKS?"50px":"30px";EditorUi.compactUi&&(f.getElementsByTagName("img")[0].style.left="22px",f.getElementsByTagName("img")[0].style.top="5px")};Toolbar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};Toolbar.prototype.addMenu=function(b,c,f,d,a,e){var g=this.editorUi.menus.get(d),k=this.addMenuFunction(b,c,f,g.funct,a,e);g.addListener("stateChanged",function(){k.setEnabled(g.enabled)});return k};
Toolbar.prototype.addMenuFunction=function(b,c,f,d,a,e){return this.addMenuFunctionInContainer(null!=a?a:this.container,b,c,f,d,e)};Toolbar.prototype.addMenuFunctionInContainer=function(b,c,f,d,a,e){c=d?this.createLabel(c):this.createButton(c);this.initElement(c,f);this.addMenuHandler(c,d,a,e);b.appendChild(c);return c};Toolbar.prototype.addSeparator=function(b){b=null!=b?b:this.container;var c=document.createElement("div");c.className="geSeparator";b.appendChild(c);return c};
Toolbar.prototype.addItems=function(b,c,f){for(var d=[],a=0;a<b.length;a++){var e=b[a];"-"==e?d.push(this.addSeparator(c)):d.push(this.addItem("geSprite-"+e.toLowerCase(),e,c,f))}return d};Toolbar.prototype.addItem=function(b,c,f,d){var a=this.editorUi.actions.get(c),e=null;null!=a&&(c=a.label,null!=a.shortcut&&(c+=" ("+a.shortcut+")"),e=this.addButton(b,c,a.funct,f),d||(e.setEnabled(a.enabled),a.addListener("stateChanged",function(){e.setEnabled(a.enabled)})));return e};
Toolbar.prototype.addButton=function(b,c,f,d){b=this.createButton(b);d=null!=d?d:this.container;this.initElement(b,c);this.addClickHandler(b,f);d.appendChild(b);return b};Toolbar.prototype.initElement=function(b,c){null!=c&&b.setAttribute("title",c);this.addEnabledState(b)};Toolbar.prototype.addEnabledState=function(b){var c=b.className;b.setEnabled=function(f){b.enabled=f;b.className=f?c:c+" mxDisabled"};b.setEnabled(!0)};
Toolbar.prototype.addClickHandler=function(b,c){null!=c&&(mxEvent.addListener(b,"click",function(f){b.enabled&&c(f);mxEvent.consume(f)}),null!=document.documentMode&&9<=document.documentMode&&mxEvent.addListener(b,"mousedown",function(b){b.preventDefault()}))};Toolbar.prototype.createButton=function(b){var c=document.createElement("a");c.setAttribute("href","javascript:void(0);");c.className="geButton";var f=document.createElement("div");null!=b&&(f.className="geSprite "+b);c.appendChild(f);return c};
Toolbar.prototype.createLabel=function(b,c){var f=document.createElement("a");f.setAttribute("href","javascript:void(0);");f.className="geLabel";mxUtils.write(f,b);return f};
Toolbar.prototype.addMenuHandler=function(b,c,f,d){if(null!=f){var a=this.editorUi.editor.graph,e=null,g=!0;mxEvent.addListener(b,"click",mxUtils.bind(this,function(k){if(g&&(null==b.enabled||b.enabled)){a.popupMenuHandler.hideMenu();e=new mxPopupMenu(f);e.div.className+=" geToolbarMenu";e.showDisabled=d;e.labels=c;e.autoExpand=!0;var l=mxUtils.getOffset(b);e.popup(l.x,l.y+b.offsetHeight,null,k);this.editorUi.setCurrentMenu(e,b);!c&&e.div.scrollHeight>e.div.clientHeight&&(e.div.style.width="40px");
e.addListener(mxEvent.EVENT_HIDE,mxUtils.bind(this,function(){this.currentElt=null}))}g=!0;mxEvent.consume(k)}));mxEvent.addListener(b,"mousedown",mxUtils.bind(this,function(a){g=this.currentElt!=b;null!=document.documentMode&&9<=document.documentMode&&a.preventDefault()}))}};Toolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};
function Dialog(b,c,f,d,a,e,g){var k=0;if(mxClient.IS_VML&&(null==document.documentMode||8>document.documentMode))k=80;f+=k;d+=k;var l=Math.max(0,Math.round((document.body.scrollWidth-f)/2)),m=Math.max(0,Math.round((Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)-d-b.footerHeight)/3));0<b.dialogs.length&&(this.zIndex+=2*b.dialogs.length);var n=b.createDiv("geDialog");n.style.width=f+"px";n.style.height=d+"px";n.style.left=l+"px";n.style.top=m+"px";n.style.zIndex=this.zIndex;
null==this.bg&&(this.bg=b.createDiv("background"),this.bg.style.position="absolute",this.bg.style.background="white",this.bg.style.left="0px",this.bg.style.top="0px",this.bg.style.bottom="0px",this.bg.style.right="0px",this.bg.style.zIndex=this.zIndex-2,mxUtils.setOpacity(this.bg,this.bgOpacity),mxClient.IS_QUIRKS&&new mxDivResizer(this.bg));a&&document.body.appendChild(this.bg);n.appendChild(c);document.body.appendChild(n);e&&(c=document.createElement("img"),c.setAttribute("src",Dialog.prototype.closeImage),
c.setAttribute("title",mxResources.get("close")),c.className="geDialogClose",c.style.top=m+14+"px",c.style.left=l+f+38-k+"px",c.style.zIndex=this.zIndex,mxEvent.addListener(c,"click",mxUtils.bind(this,function(){b.hideDialog(!0)})),document.body.appendChild(c),this.dialogImg=c,mxEvent.addListener(this.bg,"click",mxUtils.bind(this,function(){b.hideDialog(!0)})));this.onDialogClose=g;this.container=n;b.editor.fireEvent(new mxEventObject("showDialog"))}
Dialog.prototype.zIndex=mxPopupMenu.prototype.zIndex-1;Dialog.prototype.noColorImage=!mxClient.IS_SVG?IMAGE_PATH+"/nocolor.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkEzRDlBMUUwODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkEzRDlBMUUxODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTNEOUExREU4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTNEOUExREY4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5xh3fmAAAABlBMVEX////MzMw46qqDAAAAGElEQVR42mJggAJGKGAYIIGBth8KAAIMAEUQAIElnLuQAAAAAElFTkSuQmCC";
Dialog.prototype.closeImage=!mxClient.IS_SVG?IMAGE_PATH+"/close.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJAQMAAADaX5RTAAAABlBMVEV7mr3///+wksspAAAAAnRSTlP/AOW3MEoAAAAdSURBVAgdY9jXwCDDwNDRwHCwgeExmASygSL7GgB12QiqNHZZIwAAAABJRU5ErkJggg\x3d\x3d";Dialog.prototype.clearImage=!mxClient.IS_SVG?IMAGE_PATH+"/clear.gif":"data:image/gif;base64,R0lGODlhDQAKAIABAMDAwP///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUIzOEM1NzI4NjEyMTFFMUEzMkNDMUE3NjZERDE2QjIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUIzOEM1NzM4NjEyMTFFMUEzMkNDMUE3NjZERDE2QjIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QjM4QzU3MDg2MTIxMUUxQTMyQ0MxQTc2NkREMTZCMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QjM4QzU3MTg2MTIxMUUxQTMyQ0MxQTc2NkREMTZCMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAEAAAEALAAAAAANAAoAAAIXTGCJebD9jEOTqRlttXdrB32PJ2ncyRQAOw\x3d\x3d";
Dialog.prototype.lockedImage=!mxClient.IS_SVG?IMAGE_PATH+"/locked.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzdDMDZCODExNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzdDMDZCODIxNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozN0MwNkI3RjE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozN0MwNkI4MDE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvqMCFYAAAAVUExURZmZmb+/v7KysqysrMzMzLGxsf///4g8N1cAAAAHdFJOU////////wAaSwNGAAAAPElEQVR42lTMQQ4AIQgEwUa0//9kTQirOweYOgDqAMbZUr10AGlAwx4/BJ2QJ4U0L5brYjovvpv32xZgAHZaATFtMbu4AAAAAElFTkSuQmCC";
Dialog.prototype.unlockedImage=!mxClient.IS_SVG?IMAGE_PATH+"/unlocked.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzdDMDZCN0QxNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzdDMDZCN0UxNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozN0MwNkI3QjE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozN0MwNkI3QzE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkKMpVwAAAAYUExURZmZmbKysr+/v6ysrOXl5czMzLGxsf///zHN5lwAAAAIdFJOU/////////8A3oO9WQAAADxJREFUeNpUzFESACAEBNBVsfe/cZJU+8Mzs8CIABCidtfGOndnYsT40HDSiCcbPdoJo10o9aI677cpwACRoAF3dFNlswAAAABJRU5ErkJggg\x3d\x3d";
Dialog.prototype.bgOpacity=80;Dialog.prototype.close=function(b){null!=this.onDialogClose&&(this.onDialogClose(b),this.onDialogClose=null);null!=this.dialogImg&&(this.dialogImg.parentNode.removeChild(this.dialogImg),this.dialogImg=null);null!=this.bg&&null!=this.bg.parentNode&&this.bg.parentNode.removeChild(this.bg);this.container.parentNode.removeChild(this.container)};
var OpenDialog=function(){var b=document.createElement("iframe");b.style.backgroundColor="transparent";b.allowTransparency="true";b.style.borderStyle="none";b.style.borderWidth="0px";b.style.overflow="hidden";b.frameBorder="0";var c=mxClient.IS_VML&&(null==document.documentMode||8>document.documentMode)?20:0;b.setAttribute("width",(Editor.useLocalStorage?640:320)+c+"px");b.setAttribute("height",(Editor.useLocalStorage?480:220)+c+"px");b.setAttribute("src",OPEN_FORM);this.container=b},ColorDialog=
function(b,c,f,d){function a(a,b,d){b=null!=b?b:12;var c=document.createElement("table");c.style.borderCollapse="collapse";c.setAttribute("cellspacing","0");c.style.marginBottom="20px";c.style.cellSpacing="0px";var f=document.createElement("tbody");c.appendChild(f);for(var k=a.length/b,m=0;m<k;m++){for(var n=document.createElement("tr"),p=0;p<b;p++)(function(a){var b=document.createElement("td");b.style.border="1px solid black";b.style.padding="0px";b.style.width="16px";b.style.height="16px";null==
a&&(a=d);"none"==a?b.style.background="url('"+Dialog.prototype.noColorImage+"')":b.style.backgroundColor="#"+a;n.appendChild(b);null!=a&&(b.style.cursor="pointer",mxEvent.addListener(b,"click",function(){"none"==a?(g.fromString("ffffff"),e.value="none"):g.fromString(a)}))})(a[m*b+p]);f.appendChild(n)}l.appendChild(c);return c}this.editorUi=b;var e=document.createElement("input");e.style.marginBottom="10px";e.style.width="216px";mxClient.IS_IE&&(e.style.marginTop="10px",document.body.appendChild(e));
this.init=function(){mxClient.IS_TOUCH||e.focus()};var g=new jscolor.color(e);g.pickerOnfocus=!1;g.showPicker();var k=document.createElement("div");jscolor.picker.box.style.position="relative";jscolor.picker.box.style.width="230px";jscolor.picker.box.style.height="100px";jscolor.picker.box.style.paddingBottom="10px";k.appendChild(jscolor.picker.box);var l=document.createElement("center");k.appendChild(e);mxUtils.br(k);var m=a(0==ColorDialog.recentColors.length?["FFFFFF"]:ColorDialog.recentColors,
12,"FFFFFF");m.style.marginBottom="8px";m=a("E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" "),12);m.style.marginBottom="8px";m=a("none FFFFFF E6E6E6 CCCCCC B3B3B3 999999 808080 666666 4D4D4D 333333 1A1A1A 000000 FFCCCC FFE6CC FFFFCC E6FFCC CCFFCC CCFFE6 CCFFFF CCE5FF CCCCFF E5CCFF FFCCFF FFCCE6 FF9999 FFCC99 FFFF99 CCFF99 99FF99 99FFCC 99FFFF 99CCFF 9999FF CC99FF FF99FF FF99CC FF6666 FFB366 FFFF66 B3FF66 66FF66 66FFB3 66FFFF 66B2FF 6666FF B266FF FF66FF FF66B3 FF3333 FF9933 FFFF33 99FF33 33FF33 33FF99 33FFFF 3399FF 3333FF 9933FF FF33FF FF3399 FF0000 FF8000 FFFF00 80FF00 00FF00 00FF80 00FFFF 007FFF 0000FF 7F00FF FF00FF FF0080 CC0000 CC6600 CCCC00 66CC00 00CC00 00CC66 00CCCC 0066CC 0000CC 6600CC CC00CC CC0066 990000 994C00 999900 4D9900 009900 00994D 009999 004C99 000099 4C0099 990099 99004D 660000 663300 666600 336600 006600 006633 006666 003366 000066 330066 660066 660033 330000 331A00 333300 1A3300 003300 00331A 003333 001933 000033 190033 330033 33001A".split(" "));
m.style.marginBottom="16px";k.appendChild(l);m=document.createElement("div");m.style.textAlign="right";m.style.whiteSpace="nowrap";var n=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog();null!=d&&d()});n.className="geBtn";b.editor.cancelFirst&&m.appendChild(n);var p=null!=f?f:this.createApplyFunction();f=mxUtils.button(mxResources.get("apply"),function(){var a=e.value;ColorDialog.addRecentColor(a,12);"none"!=a&&"#"!=a.charAt(0)&&(a="#"+a);p(a);b.hideDialog()});f.className="geBtn gePrimaryBtn";
m.appendChild(f);b.editor.cancelFirst||m.appendChild(n);null!=c&&("none"==c?(g.fromString("ffffff"),e.value="none"):g.fromString(c));k.appendChild(m);this.picker=g;this.colorInput=e;mxEvent.addListener(k,"keydown",function(a){27==a.keyCode&&(b.hideDialog(),null!=d&&d(),mxEvent.consume(a))});this.container=k};
ColorDialog.prototype.createApplyFunction=function(){return mxUtils.bind(this,function(b){var c=this.editorUi.editor.graph;c.getModel().beginUpdate();try{c.setCellStyles(this.currentColorKey,b),this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[this.currentColorKey],"values",[b],"cells",c.getSelectionCells()))}finally{c.getModel().endUpdate()}})};ColorDialog.recentColors=[];
ColorDialog.addRecentColor=function(b,c){null!=b&&(mxUtils.remove(b,ColorDialog.recentColors),ColorDialog.recentColors.splice(0,0,b),ColorDialog.recentColors.length>c&&ColorDialog.recentColors.pop())};
var AboutDialog=function(b){var c=document.createElement("div");c.setAttribute("align","center");var f=document.createElement("h3");mxUtils.write(f,mxResources.get("about")+" GraphEditor");c.appendChild(f);f=document.createElement("img");f.style.border="0px";f.setAttribute("width","176");f.setAttribute("width","151");f.setAttribute("src",IMAGE_PATH+"/logo.png");c.appendChild(f);mxUtils.br(c);mxUtils.write(c,"Powered by mxGraph "+mxClient.VERSION);mxUtils.br(c);f=document.createElement("a");f.setAttribute("href",
"http://www.jgraph.com/");f.setAttribute("target","_blank");mxUtils.write(f,"www.jgraph.com");c.appendChild(f);mxUtils.br(c);mxUtils.br(c);f=mxUtils.button(mxResources.get("close"),function(){b.hideDialog()});f.className="geBtn gePrimaryBtn";c.appendChild(f);this.container=c},PageSetupDialog=function(b){function c(){null==D||D==mxConstants.NONE?(x.style.backgroundColor="",x.style.backgroundImage="url('"+Dialog.prototype.noColorImage+"')"):(x.style.backgroundColor=D,x.style.backgroundImage="")}function f(){null==
E?(B.removeAttribute("title"),B.style.fontSize="",B.innerHTML=mxResources.get("change")+"..."):(B.setAttribute("title",E.src),B.style.fontSize="11px",B.innerHTML=E.src.substring(0,42)+"...")}var d=b.editor.graph,a,e,g=document.createElement("table");g.style.width="100%";g.style.height="100%";var k=document.createElement("tbody");a=document.createElement("tr");e=document.createElement("td");e.style.fontSize="10pt";mxUtils.write(e,mxResources.get("paperSize")+":");a.appendChild(e);var l=document.createElement("input");
l.setAttribute("name","format");l.setAttribute("type","radio");l.setAttribute("value","portrait");var m=document.createElement("input");m.setAttribute("name","format");m.setAttribute("type","radio");m.setAttribute("value","landscape");var n=document.createElement("tr");n.style.display="none";var p=document.createElement("tr");p.style.display="none";var r=document.createElement("select");e=!1;for(var s={},q=PageSetupDialog.getFormats(),t=0;t<q.length;t++){var u=q[t];s[u.key]=u;var v=document.createElement("option");
v.setAttribute("value",u.key);mxUtils.write(v,u.title);r.appendChild(v);null!=u.format?d.pageFormat.width==u.format.width&&d.pageFormat.height==u.format.height?(v.setAttribute("selected","selected"),l.setAttribute("checked","checked"),l.defaultChecked=!0,n.style.display="",e=!0):d.pageFormat.width==u.format.height&&d.pageFormat.height==u.format.width&&(v.setAttribute("selected","selected"),m.setAttribute("checked","checked"),l.defaultChecked=!0,n.style.display="",e=!0):e||(v.setAttribute("selected",
"selected"),p.style.display="")}e=document.createElement("td");e.style.fontSize="10pt";e.appendChild(r);a.appendChild(e);k.appendChild(a);n=document.createElement("tr");n.style.height="40px";e=document.createElement("td");n.appendChild(e);e=document.createElement("td");e.style.fontSize="10pt";e.appendChild(l);a=document.createElement("span");mxUtils.write(a," "+mxResources.get("portrait"));e.appendChild(a);mxEvent.addListener(a,"click",function(a){l.checked=!0;mxEvent.consume(a)});m.style.marginLeft=
"10px";e.appendChild(m);a=document.createElement("span");mxUtils.write(a," "+mxResources.get("landscape"));e.appendChild(a);mxEvent.addListener(a,"click",function(a){m.checked=!0;mxEvent.consume(a)});n.appendChild(e);k.appendChild(n);a=document.createElement("tr");e=document.createElement("td");p.appendChild(e);e=document.createElement("td");e.style.fontSize="10pt";var z=document.createElement("input");z.setAttribute("size","6");z.setAttribute("value",d.pageFormat.width);e.appendChild(z);mxUtils.write(e,
" x ");var y=document.createElement("input");y.setAttribute("size","6");y.setAttribute("value",d.pageFormat.height);e.appendChild(y);mxUtils.write(e," pt");p.appendChild(e);p.style.height=n.style.height;k.appendChild(p);a=function(){var a=s[r.value];null!=a.format?(z.value=a.format.width,y.value=a.format.height,p.style.display="none",n.style.display=""):(n.style.display="none",p.style.display="")};mxEvent.addListener(r,"change",a);a();a=document.createElement("tr");e=document.createElement("td");
mxUtils.write(e,mxResources.get("background")+":");a.appendChild(e);e=document.createElement("td");e.style.whiteSpace="nowrap";document.createElement("input").setAttribute("type","text");var x=document.createElement("button");x.style.width="18px";x.style.height="18px";x.style.marginRight="20px";x.style.backgroundPosition="center center";x.style.backgroundRepeat="no-repeat";var D=d.background;c();mxEvent.addListener(x,"click",function(a){b.pickColor(D||"none",function(a){D=a;c()});mxEvent.consume(a)});
e.appendChild(x);mxUtils.write(e,mxResources.get("gridSize")+":");var A=document.createElement("input");A.setAttribute("type","number");A.setAttribute("min","0");A.style.width="40px";A.style.marginLeft="6px";A.value=d.getGridSize();e.appendChild(A);mxEvent.addListener(A,"change",function(){var a=parseInt(A.value);A.value=Math.max(1,isNaN(a)?d.getGridSize():a)});a.appendChild(e);k.appendChild(a);a=document.createElement("tr");e=document.createElement("td");mxUtils.write(e,mxResources.get("image")+
":");a.appendChild(e);e=document.createElement("td");var B=document.createElement("a");B.style.textDecoration="underline";B.style.cursor="pointer";B.style.color="#a0a0a0";var E=d.backgroundImage;mxEvent.addListener(B,"click",function(a){b.showBackgroundImageDialog(function(a){E=a;f()});mxEvent.consume(a)});f();e.appendChild(B);a.appendChild(e);k.appendChild(a);a=document.createElement("tr");e=document.createElement("td");e.colSpan=2;e.style.paddingTop="16px";e.setAttribute("align","right");q=mxUtils.button(mxResources.get("cancel"),
function(){b.hideDialog()});q.className="geBtn";b.editor.cancelFirst&&e.appendChild(q);t=mxUtils.button(mxResources.get("apply"),function(){b.hideDialog();var a=m.checked,e=s[r.value].format;null==e&&(e=new mxRectangle(0,0,parseInt(z.value),parseInt(y.value)));a&&(e=new mxRectangle(0,0,e.height,e.width));b.setPageFormat(e);d.background!=D&&b.setBackgroundColor(D);d.backgroundImage!==E&&b.setBackgroundImage(E);d.gridSize!==A.value&&d.setGridSize(parseInt(A.value))});t.className="geBtn gePrimaryBtn";
e.appendChild(t);b.editor.cancelFirst||e.appendChild(q);a.appendChild(e);k.appendChild(a);g.appendChild(k);this.container=g};
PageSetupDialog.getFormats=function(){return[{key:"letter",title:'US-Letter (8,5" x 11")',format:mxConstants.PAGE_FORMAT_LETTER_PORTRAIT},{key:"legal",title:'US-Legal (8,5" x 14")',format:new mxRectangle(0,0,850,1400)},{key:"tabloid",title:"US-Tabloid (279 mm x 432 mm)",format:new mxRectangle(0,0,1100,1700)},{key:"a3",title:"A3 (297 mm x 420 mm)",format:new mxRectangle(0,0,1169,1652)},{key:"a4",title:"A4 (210 mm x 297 mm)",format:mxConstants.PAGE_FORMAT_A4_PORTRAIT},{key:"a5",title:"A5 (148 mm x 210 mm)",
format:new mxRectangle(0,0,584,826)},{key:"custom",title:mxResources.get("custom"),format:null}]};var PrintDialog=function(b){this.create(b)};
PrintDialog.prototype.create=function(b){function c(a){var b=k.checked||m.checked,d=parseInt(p.value)/100;isNaN(d)&&(d=1,p.value="100%");var d=0.75*d,e=f.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,c=1/f.pageScale;if(b){var g=k.checked?1:parseInt(n.value);isNaN(g)||(c=mxUtils.getScaleForPageCount(g,f,e))}f.getGraphBounds();var l=g=0,e=mxRectangle.fromRectangle(e);e.width=Math.ceil(e.width*d);e.height=Math.ceil(e.height*d);c*=d;!b&&f.pageVisible?(d=f.getPageLayout(),g-=d.x*e.width,l-=d.y*e.height):
b=!0;return PrintDialog.showPreview(PrintDialog.createPrintPreview(f,c,e,0,g,l,b,a),a)}var f=b.editor.graph,d,a,e=document.createElement("table");e.style.width="100%";e.style.height="100%";var g=document.createElement("tbody");d=document.createElement("tr");var k=document.createElement("input");k.setAttribute("type","checkbox");a=document.createElement("td");a.setAttribute("colspan","2");a.style.fontSize="10pt";a.appendChild(k);var l=document.createElement("span");mxUtils.write(l," "+mxResources.get("fitPage"));
a.appendChild(l);mxEvent.addListener(l,"click",function(a){k.checked=!k.checked;m.checked=!k.checked;mxEvent.consume(a)});mxEvent.addListener(k,"change",function(){m.checked=!k.checked});d.appendChild(a);g.appendChild(d);d=d.cloneNode(!1);var m=document.createElement("input");m.setAttribute("type","checkbox");a=document.createElement("td");a.style.fontSize="10pt";a.appendChild(m);l=document.createElement("span");mxUtils.write(l," "+mxResources.get("posterPrint")+":");a.appendChild(l);mxEvent.addListener(l,
"click",function(a){m.checked=!m.checked;k.checked=!m.checked;mxEvent.consume(a)});d.appendChild(a);var n=document.createElement("input");n.setAttribute("value","1");n.setAttribute("type","number");n.setAttribute("min","1");n.setAttribute("size","4");n.setAttribute("disabled","disabled");n.style.width="50px";a=document.createElement("td");a.style.fontSize="10pt";a.appendChild(n);mxUtils.write(a," "+mxResources.get("pages")+" (max)");d.appendChild(a);g.appendChild(d);mxEvent.addListener(m,"change",
function(){m.checked?n.removeAttribute("disabled"):n.setAttribute("disabled","disabled");k.checked=!m.checked});d=d.cloneNode(!1);a=document.createElement("td");mxUtils.write(a,mxResources.get("pageScale")+":");d.appendChild(a);a=document.createElement("td");var p=document.createElement("input");p.setAttribute("value","100 %");p.setAttribute("size","5");p.style.width="50px";a.appendChild(p);d.appendChild(a);g.appendChild(d);d=document.createElement("tr");a=document.createElement("td");a.colSpan=2;
a.style.paddingTop="20px";a.setAttribute("align","right");l=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});l.className="geBtn";b.editor.cancelFirst&&a.appendChild(l);if(!mxClient.IS_CHROMEAPP){var r=mxUtils.button(mxResources.get("preview"),function(){b.hideDialog();c(!1)});r.className="geBtn";a.appendChild(r)}r=mxUtils.button(mxResources.get(mxClient.IS_CHROMEAPP?"ok":"print"),function(){b.hideDialog();c(!0)});r.className="geBtn gePrimaryBtn";a.appendChild(r);b.editor.cancelFirst||
a.appendChild(l);d.appendChild(a);g.appendChild(d);e.appendChild(g);this.container=e};PrintDialog.showPreview=function(b,c){var f=b.open();c&&null!=f&&(c=function(){f.focus();f.print();f.close()},mxClient.IS_GC?window.setTimeout(c,500):c());return f};
PrintDialog.createPrintPreview=function(b,c,f,d,a,e,g){c=new mxPrintPreview(b,c,f,d,a,e);c.title=mxResources.get("preview");c.printBackgroundImage=!0;c.autoOrigin=g;b=b.background;if(null==b||""==b||b==mxConstants.NONE)b="#ffffff";c.backgroundColor=b;var k=c.writeHead;c.writeHead=function(a){k.apply(this,arguments);a.writeln('\x3cstyle type\x3d"text/css"\x3e');a.writeln("@media screen {");a.writeln(" body \x3e div { padding:30px;box-sizing:content-box; }");a.writeln("}");a.writeln("\x3c/style\x3e")};
return c};
var FilenameDialog=function(b,c,f,d,a,e,g,k,l){l=null!=l?l:!0;var m,n,p=document.createElement("table"),r=document.createElement("tbody");p.style.marginTop="8px";m=document.createElement("tr");n=document.createElement("td");n.style.fontSize="10pt";n.style.width="120px";mxUtils.write(n,(a||mxResources.get("filename"))+":");m.appendChild(n);var s=document.createElement("input");s.setAttribute("value",c||"");s.style.width="180px";var q=mxUtils.button(f,function(){if(null==e||e(s.value))l&&b.hideDialog(),
d(s.value)});q.className="geBtn gePrimaryBtn";this.init=function(){if(!(null==a&&null!=g)&&(s.focus(),mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?s.select():document.execCommand("selectAll",!1,null),Graph.fileSupport)){var b=p.parentNode,d=null;mxEvent.addListener(b,"dragleave",function(a){null!=d&&(d.style.backgroundColor="",d=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(b,"dragover",mxUtils.bind(this,function(a){if(null==d&&(!mxClient.IS_IE||10<document.documentMode))d=
s,d.style.backgroundColor="#ebf2f9";a.stopPropagation();a.preventDefault()}));mxEvent.addListener(b,"drop",mxUtils.bind(this,function(a){null!=d&&(d.style.backgroundColor="",d=null);0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")&&(s.value=decodeURIComponent(a.dataTransfer.getData("text/uri-list")),q.click());a.stopPropagation();a.preventDefault()}))}};n=document.createElement("td");n.appendChild(s);m.appendChild(n);(null!=a||null==g)&&r.appendChild(m);null!=g&&(m=document.createElement("tr"),
n=document.createElement("td"),n.colSpan=2,n.appendChild(g),m.appendChild(n),r.appendChild(m));m=document.createElement("tr");n=document.createElement("td");n.colSpan=2;n.style.paddingTop="20px";n.style.whiteSpace="nowrap";n.setAttribute("align","right");c=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});c.className="geBtn";b.editor.cancelFirst&&n.appendChild(c);null!=k&&(f=mxUtils.button(mxResources.get("help"),function(){window.open(k)}),f.className="geBtn",n.appendChild(f));
mxEvent.addListener(s,"keypress",function(a){13==a.keyCode&&q.click()});n.appendChild(q);b.editor.cancelFirst||n.appendChild(c);m.appendChild(n);r.appendChild(m);p.appendChild(r);this.container=p},TextareaDialog=function(b,c,f,d,a,e,g,k,l,m){g=null!=g?g:300;k=null!=k?k:120;m=null!=m?m:!1;var n,p,r=document.createElement("table"),s=document.createElement("tbody");n=document.createElement("tr");p=document.createElement("td");p.style.fontSize="10pt";p.style.width="100px";mxUtils.write(p,c);n.appendChild(p);
s.appendChild(n);n=document.createElement("tr");p=document.createElement("td");var q=document.createElement("textarea");mxUtils.write(q,f||"");q.style.resize="none";q.style.width=g+"px";q.style.height=k+"px";this.textarea=q;this.init=function(){q.focus();q.scrollTop=0};p.appendChild(q);n.appendChild(p);s.appendChild(n);n=document.createElement("tr");p=document.createElement("td");p.style.paddingTop="14px";p.style.whiteSpace="nowrap";p.setAttribute("align","right");c=mxUtils.button(e||mxResources.get("cancel"),
function(){b.hideDialog();null!=a&&a()});c.className="geBtn";b.editor.cancelFirst&&p.appendChild(c);null!=l&&l(p);null!=d&&(l=mxUtils.button(mxResources.get("apply"),function(){m||b.hideDialog();d(q.value)}),l.className="geBtn gePrimaryBtn",p.appendChild(l));b.editor.cancelFirst||p.appendChild(c);n.appendChild(p);s.appendChild(n);r.appendChild(s);this.container=r},EditDiagramDialog=function(b){var c=document.createElement("div");c.style.textAlign="right";var f=document.createElement("textarea");f.setAttribute("wrap",
"off");f.style.overflow="auto";f.style.resize="none";f.style.width="600px";f.style.height="370px";f.style.marginBottom="16px";f.value=mxUtils.getPrettyXml(b.editor.getGraphXml());c.appendChild(f);this.init=function(){f.focus()};Graph.fileSupport&&(f.addEventListener("dragover",function(a){a.stopPropagation();a.preventDefault()},!1),f.addEventListener("drop",function(a){a.stopPropagation();a.preventDefault();if(0<a.dataTransfer.files.length){a=a.dataTransfer.files[0];var d=new FileReader;d.onload=
function(a){f.value=a.target.result};d.readAsText(a)}else f.value=b.extractGraphModelFromEvent(a)},!1));var d=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});d.className="geBtn";b.editor.cancelFirst&&c.appendChild(d);var a=document.createElement("select");a.style.width="180px";a.className="geBtn";if(b.editor.graph.isEnabled()){var e=document.createElement("option");e.setAttribute("value","replace");mxUtils.write(e,mxResources.get("replaceExistingDrawing"));a.appendChild(e)}e=
document.createElement("option");e.setAttribute("value","new");mxUtils.write(e,mxResources.get("openInNewWindow"));null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime||a.appendChild(e);b.editor.graph.isEnabled()&&(e=document.createElement("option"),e.setAttribute("value","import"),mxUtils.write(e,mxResources.get("addToExistingDrawing")),a.appendChild(e));c.appendChild(a);e=mxUtils.button(mxResources.get("ok"),function(){var d=b.editor.graph.zapGremlins(mxUtils.trim(f.value)),e=null;if("new"==
a.value)window.openFile=new OpenFile(function(){b.hideDialog();window.openFile=null}),window.openFile.setData(d,null),window.open(b.getUrl());else if("replace"==a.value){b.editor.graph.model.beginUpdate();try{b.editor.setGraphXml(mxUtils.parseXml(d).documentElement),b.hideDialog()}catch(c){e=c}finally{b.editor.graph.model.endUpdate()}}else if("import"==a.value){b.editor.graph.model.beginUpdate();try{var m=mxUtils.parseXml(d),n=new mxGraphModel;(new mxCodec(m)).decode(m.documentElement,n);var p=n.getChildren(n.getChildAt(n.getRoot(),
0));b.editor.graph.setSelectionCells(b.editor.graph.importCells(p));b.hideDialog()}catch(r){e=r}finally{b.editor.graph.model.endUpdate()}}null!=e&&mxUtils.alert(e.message)});e.className="geBtn gePrimaryBtn";c.appendChild(e);b.editor.cancelFirst||c.appendChild(d);this.container=c},ExportDialog=function(b){function c(){var a=p.value,b=a.lastIndexOf(".");p.value=0<b?a.substring(0,b+1)+r.value:a+"."+r.value;"xml"===r.value?(t.setAttribute("disabled","true"),u.setAttribute("disabled","true"),v.setAttribute("disabled",
"true")):(t.removeAttribute("disabled"),u.removeAttribute("disabled"),v.removeAttribute("disabled"));"png"===r.value||"svg"===r.value?q.removeAttribute("disabled"):q.setAttribute("disabled","disabled")}function f(){t.style.backgroundColor=t.value*u.value>MAX_AREA||0>=t.value?"red":"";u.style.backgroundColor=t.value*u.value>MAX_AREA||0>=u.value?"red":""}function d(){var b=Math.max(0,parseInt(v.value))+1,d=parseInt(t.value)/k,e=null;""!=s.value&&s.value!=mxConstants.NONE&&!q.checked&&(e=s.value);return a.getSvg(e,
d,b)}var a=b.editor.graph,e=a.getGraphBounds(),g=a.view.scale,k=Math.ceil(e.width/g),l=Math.ceil(e.height/g),m,g=document.createElement("table"),n=document.createElement("tbody"),e=document.createElement("tr");m=document.createElement("td");m.style.fontSize="10pt";m.style.width="100px";mxUtils.write(m,mxResources.get("filename")+":");e.appendChild(m);var p=document.createElement("input");p.setAttribute("value",b.editor.getOrCreateFilename());p.style.width="180px";m=document.createElement("td");m.appendChild(p);
e.appendChild(m);n.appendChild(e);e=document.createElement("tr");m=document.createElement("td");m.style.fontSize="10pt";mxUtils.write(m,mxResources.get("format")+":");e.appendChild(m);var r=document.createElement("select");r.style.width="180px";m=document.createElement("option");m.setAttribute("value","png");mxUtils.write(m,mxResources.get("formatPng"));r.appendChild(m);m=document.createElement("option");ExportDialog.showGifOption&&(m.setAttribute("value","gif"),mxUtils.write(m,mxResources.get("formatGif")),
r.appendChild(m));m=document.createElement("option");m.setAttribute("value","jpg");mxUtils.write(m,mxResources.get("formatJpg"));r.appendChild(m);m=document.createElement("option");m.setAttribute("value","pdf");mxUtils.write(m,mxResources.get("formatPdf"));r.appendChild(m);m=document.createElement("option");m.setAttribute("value","svg");mxUtils.write(m,mxResources.get("formatSvg"));r.appendChild(m);ExportDialog.showXmlOption&&(m=document.createElement("option"),m.setAttribute("value","xml"),mxUtils.write(m,
mxResources.get("formatXml")),r.appendChild(m));m=document.createElement("td");m.appendChild(r);e.appendChild(m);n.appendChild(e);e=document.createElement("tr");m=document.createElement("td");m.style.fontSize="10pt";mxUtils.write(m,mxResources.get("backgroundColor")+":");e.appendChild(m);var s=document.createElement("input");s.setAttribute("value",null==a.background||a.background==mxConstants.NONE?"#ffffff":a.background);s.style.width="80px";var q=document.createElement("input");q.setAttribute("type",
"checkbox");q.checked=null==a.background||a.background==mxConstants.NONE;m=document.createElement("td");m.appendChild(s);m.appendChild(q);mxUtils.write(m,mxResources.get("transparent"));e.appendChild(m);n.appendChild(e);e=document.createElement("tr");m=document.createElement("td");m.style.fontSize="10pt";mxUtils.write(m,mxResources.get("width")+":");e.appendChild(m);var t=document.createElement("input");t.setAttribute("value",k);t.style.width="180px";m=document.createElement("td");m.appendChild(t);
e.appendChild(m);n.appendChild(e);e=document.createElement("tr");m=document.createElement("td");m.style.fontSize="10pt";mxUtils.write(m,mxResources.get("height")+":");e.appendChild(m);var u=document.createElement("input");u.setAttribute("value",l);u.style.width="180px";m=document.createElement("td");m.appendChild(u);e.appendChild(m);n.appendChild(e);e=document.createElement("tr");m=document.createElement("td");m.style.fontSize="10pt";mxUtils.write(m,mxResources.get("borderWidth")+":");e.appendChild(m);
var v=document.createElement("input");v.setAttribute("value",k);v.style.width="180px";v.value="0";m=document.createElement("td");m.appendChild(v);e.appendChild(m);n.appendChild(e);g.appendChild(n);mxEvent.addListener(r,"change",c);c();mxEvent.addListener(t,"change",function(){u.value=0<k?Math.ceil(parseInt(t.value)*l/k):"0";f()});mxEvent.addListener(u,"change",function(){t.value=0<l?Math.ceil(parseInt(u.value)*k/l):"0";f()});var z=new mxImageExport,e=document.createElement("tr");m=document.createElement("td");
m.setAttribute("align","right");m.style.paddingTop="24px";m.colSpan=2;var y=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(){if(0>=parseInt(t.value)&&0>=parseInt(u.value))mxUtils.alert(mxResources.get("drawingEmpty"));else{var e=r.value,c=p.value;if("xml"==e)b.hideDialog(),ExportDialog.saveLocalFile(mxUtils.getXml(b.editor.getGraphXml()),c,e);else if("svg"==e){var f=mxUtils.getXml(d());f.length<MAX_REQUEST_SIZE?(b.hideDialog(),ExportDialog.saveLocalFile(f,c,e)):(mxUtils.alert(mxResources.get("drawingTooLarge")),
mxUtils.popup(f))}else{var g=null,l=parseInt(t.value)||0,m=parseInt(u.value)||0,n=Math.max(0,parseInt(v.value))+1,f=ExportDialog.getExportParameter(b,e);if("function"==typeof f)g=f();else{var f=parseInt(t.value)/k,x=a.getGraphBounds(),y=a.view.scale,O=mxUtils.createXmlDocument(),S=O.createElement("output");O.appendChild(S);O=new mxXmlCanvas2D(S);O.translate(Math.floor((n/f-x.x)/y),Math.floor((n/f-x.y)/y));O.scale(f/y);z.drawState(a.getView().getState(a.model.root),O);l=Math.ceil(x.width*f/y+2*n);
m=Math.ceil(x.height*f/y+2*n);g="xml\x3d"+encodeURIComponent(mxUtils.getXml(S))}if(null!=g&&g.length<=MAX_REQUEST_SIZE&&l*m<MAX_AREA){var W="\x26bg\x3dnone";if(""!=s.value&&s.value!=mxConstants.NONE&&("png"!=e||!q.checked))W="\x26bg\x3d"+s.value;b.hideDialog();f=decodeURIComponent(g.substring(g.indexOf("\x3d")+1));ExportDialog.saveRequest(f,c,e,function(a,b){return new mxXmlRequest(EXPORT_URL,"format\x3d"+e+"\x26base64\x3d"+(b||"0")+(null!=a?"\x26filename\x3d"+encodeURIComponent(a):"")+W+"\x26w\x3d"+
l+"\x26h\x3d"+m+"\x26border\x3d"+n+"\x26"+g)})}else mxUtils.alert(mxResources.get("drawingTooLarge"))}}}));y.className="geBtn gePrimaryBtn";var x=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});x.className="geBtn";b.editor.cancelFirst?(m.appendChild(x),m.appendChild(y)):(m.appendChild(y),m.appendChild(x));e.appendChild(m);n.appendChild(e);g.appendChild(n);this.container=g};ExportDialog.showGifOption=!0;ExportDialog.showXmlOption=!0;
ExportDialog.saveLocalFile=function(b,c,f){(new mxXmlRequest(SAVE_URL,"xml\x3d"+encodeURIComponent(b)+"\x26filename\x3d"+encodeURIComponent(c)+"\x26format\x3d"+f)).simulate(document,"_blank")};ExportDialog.saveRequest=function(b,c,f,d){d(c).simulate(document,"_blank")};ExportDialog.getExportParameter=function(b,c){return null};
var EditDataDialog=function(b,c){function f(){0<q.value.length?t.removeAttribute("disabled"):t.setAttribute("disabled","disabled")}var d=document.createElement("div"),a=b.editor.graph;d.style.height="310px";d.style.overflow="auto";var e=a.getModel().getValue(c);if(!mxUtils.isNode(e)){var g=mxUtils.createXmlDocument().createElement("object");g.setAttribute("label",e||"");e=g}var k=new mxForm("properties");k.table.style.width="100%";k.table.style.paddingRight="20px";for(var g=e.attributes,l=[],m=[],
n=0,p=function(a,b){a.parentNode.style.marginRight="12px";var d=document.createElement("a"),e=mxUtils.createImage(Dialog.prototype.closeImage);e.style.height="9px";e.style.fontSize="9px";e.style.marginBottom="7px";d.className="geButton";d.setAttribute("title",mxResources.get("delete"));d.style.margin="0px";d.style.width="14px";d.style.height="14px";d.style.fontSize="14px";d.style.cursor="pointer";d.style.marginLeft="6px";d.appendChild(e);e=function(a){return function(){for(var b=0,d=0;d<l.length;d++){if(l[d]==
a){m[d]=null;k.table.deleteRow(b);break}null!=m[d]&&b++}}}(b);mxEvent.addListener(d,"click",e);a.parentNode.style.whiteSpace="nowrap";a.parentNode.appendChild(d)},r=function(a,b,d){l[a]=b;m[a]=k.addTextarea(l[n]+":",d,2);m[a].style.width="100%";p(m[a],b)},s=0;s<g.length;s++)"label"!=g[s].nodeName&&"placeholders"!=g[s].nodeName&&(r(n,g[s].nodeName,g[s].nodeValue),n++);d.appendChild(k.table);g=document.createElement("div");g.style.whiteSpace="nowrap";g.style.marginTop="6px";var q=document.createElement("input");
q.setAttribute("placeholder",mxResources.get("enterPropertyName"));q.setAttribute("type","text");q.setAttribute("size",mxClient.IS_QUIRKS?"18":"22");q.style.marginLeft="2px";g.appendChild(q);d.appendChild(g);var t=mxUtils.button(mxResources.get("addProperty"),function(){if(0<q.value.length){var a=q.value;if(null!=a&&0<a.length&&"label"!=a&&"placeholders"!=a)try{var b=mxUtils.indexOf(l,a);if(0<=b&&null!=m[b])m[b].focus();else{e.cloneNode(!1).setAttribute(a,"");0<=b&&(l.splice(b,1),m.splice(b,1));l.push(a);
var d=k.addTextarea(a+":","",2);d.style.width="100%";m.push(d);p(d,a);d.focus()}q.value=""}catch(c){mxUtils.alert(c)}}else mxUtils.alert(mxResources.get("invalidName"))});this.init=function(){0<m.length?m[0].focus():q.focus()};t.setAttribute("disabled","disabled");t.style.marginLeft="10px";t.style.width="144px";g.appendChild(t);g=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog.apply(b,arguments)});g.className="geBtn";r=mxUtils.button(mxResources.get("apply"),function(){try{b.hideDialog.apply(b,
arguments);e=e.cloneNode(!0);for(var d=0;d<l.length;d++)null==m[d]?e.removeAttribute(l[d]):e.setAttribute(l[d],m[d].value);a.getModel().setValue(c,e)}catch(f){mxUtils.alert(f)}});r.className="geBtn gePrimaryBtn";mxEvent.addListener(q,"keyup",f);mxEvent.addListener(q,"change",f);s=document.createElement("div");s.style.marginTop="18px";s.style.textAlign="right";if(b.editor.graph.getModel().isVertex(c)||b.editor.graph.getModel().isEdge(c)){var u=document.createElement("span");u.style.marginRight="10px";
var v=document.createElement("input");v.setAttribute("type","checkbox");v.style.marginRight="6px";"1"==e.getAttribute("placeholders")&&(v.setAttribute("checked","checked"),v.defaultChecked=!0);mxEvent.addListener(v,"click",function(){"1"==e.getAttribute("placeholders")?e.removeAttribute("placeholders"):e.setAttribute("placeholders","1")});u.appendChild(v);mxUtils.write(u,mxResources.get("placeholders"));if(null!=EditDataDialog.placeholderHelpLink){v=document.createElement("a");v.setAttribute("href",
EditDataDialog.placeholderHelpLink);v.setAttribute("title",mxResources.get("help"));v.setAttribute("target","_blank");v.style.marginLeft="10px";v.style.cursor="help";var z=document.createElement("img");z.setAttribute("border","0");z.setAttribute("valign","middle");z.style.marginTop="-4px";z.setAttribute("src",Editor.helpImage);v.appendChild(z);u.appendChild(v)}s.appendChild(u)}b.editor.cancelFirst?(s.appendChild(g),s.appendChild(r)):(s.appendChild(r),s.appendChild(g));d.appendChild(s);this.container=
d};EditDataDialog.placeholderHelpLink=null;
var LinkDialog=function(b,c,f,d){var a=document.createElement("div");mxUtils.write(a,mxResources.get("editLink")+":");var e=document.createElement("div");e.className="geTitle";e.style.backgroundColor="transparent";e.style.borderColor="transparent";e.style.whiteSpace="nowrap";e.style.textOverflow="clip";e.style.cursor="default";mxClient.IS_VML||(e.style.paddingRight="20px");var g=document.createElement("input");g.setAttribute("value",c);g.setAttribute("placeholder","http://www.example.com/");g.setAttribute("type",
"text");g.style.marginTop="6px";g.style.width="400px";g.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";g.style.backgroundRepeat="no-repeat";g.style.backgroundPosition="100% 50%";g.style.paddingRight="14px";c=document.createElement("div");c.setAttribute("title",mxResources.get("reset"));c.style.position="relative";c.style.left="-16px";c.style.width="12px";c.style.height="14px";c.style.cursor="pointer";c.style.display=mxClient.IS_VML?"inline":"inline-block";c.style.top=(mxClient.IS_VML?
0:3)+"px";c.style.background="url("+IMAGE_PATH+"/transparent.gif)";mxEvent.addListener(c,"click",function(){g.value="";g.focus()});e.appendChild(g);e.appendChild(c);a.appendChild(e);this.init=function(){g.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?g.select():document.execCommand("selectAll",!1,null)};e=document.createElement("div");e.style.marginTop="18px";e.style.textAlign="right";mxEvent.addListener(g,"keypress",function(a){13==a.keyCode&&(b.hideDialog(),d(g.value))});
c=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});c.className="geBtn";b.editor.cancelFirst&&e.appendChild(c);f=mxUtils.button(f,function(){b.hideDialog();d(g.value)});f.className="geBtn gePrimaryBtn";e.appendChild(f);b.editor.cancelFirst||e.appendChild(c);a.appendChild(e);this.container=a},OutlineWindow=function(b,c,f,d,a){function e(){l.outline.pageScale=g.pageScale;l.outline.pageFormat=g.pageFormat;l.outline.pageVisible=g.pageVisible;l.outline.background=g.background;var a=
mxUtils.getCurrentStyle(g.container);k.style.backgroundColor=a.backgroundColor;null!=g.view.backgroundPageShape&&null!=l.outline.view.backgroundPageShape&&(l.outline.view.backgroundPageShape.fill=g.view.backgroundPageShape.fill);l.outline.refresh()}var g=b.editor.graph,k=document.createElement("div");k.style.position="absolute";k.style.width="100%";k.style.height="100%";k.style.border="1px solid whiteSmoke";k.style.overflow="hidden";this.window=new mxWindow(mxResources.get("outline"),k,c,f,d,a,!0,
!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.setLocation=function(a,b){a=Math.max(0,a);b=Math.max(0,b);mxWindow.prototype.setLocation.apply(this,arguments)};mxEvent.addListener(window,"resize",mxUtils.bind(this,function(){var a=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,b=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,
d=this.window.getX(),e=this.window.getY();d+this.window.table.clientWidth>a&&(d=Math.max(0,a-this.window.table.clientWidth));e+this.window.table.clientHeight>b&&(e=Math.max(0,b-this.window.table.clientHeight));(this.window.getX()!=d||this.window.getY()!=e)&&this.window.setLocation(d,e)}));var l=b.createOutline(this.window);this.window.addListener(mxEvent.RESIZE,mxUtils.bind(this,function(){l.update(!1);l.outline.sizeDidChange()}));this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){l.suspended=
!1;l.outline.refresh();l.update()}));this.window.addListener(mxEvent.HIDE,mxUtils.bind(this,function(){l.suspended=!0}));this.window.addListener(mxEvent.NORMALIZE,mxUtils.bind(this,function(){l.suspended=!1;l.update()}));this.window.addListener(mxEvent.MINIMIZE,mxUtils.bind(this,function(){l.suspended=!0}));var m=l.createGraph;l.createGraph=function(a){var b=m.apply(this,arguments);b.gridEnabled=!1;b.pageScale=g.pageScale;b.pageFormat=g.pageFormat;b.background=g.background;b.pageVisible=g.pageVisible;
var d=mxUtils.getCurrentStyle(g.container);k.style.backgroundColor=d.backgroundColor;return b};l.init(k);b.editor.addListener("resetGraphView",e);b.addListener("pageFormatChanged",e);b.addListener("backgroundColorChanged",e);b.addListener("backgroundImageChanged",e);b.addListener("pageViewChanged",function(){e();l.update(!0)});if(l.outline.dialect==mxConstants.DIALECT_SVG){var n=b.actions.get("zoomIn"),p=b.actions.get("zoomOut");mxEvent.addMouseWheelListener(function(a,b){for(var d=!1,e=mxEvent.getSource(a);null!=
e;){if(e==l.outline.view.canvas.ownerSVGElement){d=!0;break}e=e.parentNode}d&&(b?n.funct():p.funct(),mxEvent.consume(a))})}},LayersWindow=function(b,c,f,d,a){function e(a){if(k.isEnabled()&&null!=a){var d=new FilenameDialog(b,a.value||mxResources.get("background"),mxResources.get("rename"),mxUtils.bind(this,function(b){null!=b&&k.getModel().setValue(a,b)}),mxResources.get("enterName"));b.showDialog(d.container,300,100,!0,!0);d.init()}}function g(){function a(b,d,c,f){var l=document.createElement("div");
l.className="geToolbarContainer";l.style.overflow="hidden";l.style.position="relative";l.style.padding="4px";l.style.height="22px";l.style.display="block";l.style.backgroundColor="whiteSmoke";l.style.borderWidth="0px 0px 1px 0px";l.style.borderColor="#c3c3c3";l.style.borderStyle="solid";l.style.whiteSpace="nowrap";var m=document.createElement("div");m.style.display="inline-block";m.style.width="100%";m.style.textOverflow="ellipsis";m.style.overflow="hidden";mxEvent.addListener(l,"dragover",function(a){a.dataTransfer.dropEffect=
"move";r=b;a.stopPropagation();a.preventDefault()});mxEvent.addListener(l,"dragstart",function(a){p=l;mxClient.IS_FF&&a.dataTransfer.setData("Text","\x3clayer/\x3e")});mxEvent.addListener(l,"dragend",function(a){null!=p&&(k.addCell(c,k.model.root,r),r=p=null);a.stopPropagation();a.preventDefault()});var t=document.createElement("img");t.setAttribute("draggable","false");t.setAttribute("align","top");t.setAttribute("border","0");t.style.cursor="pointer";t.style.padding="4px";t.setAttribute("title",
mxResources.get("lockUnlock"));var u=k.view.getState(c),v=null!=u?u.style:k.getCellStyle(c);"1"==mxUtils.getValue(v,"locked","0")?t.setAttribute("src",Dialog.prototype.lockedImage):t.setAttribute("src",Dialog.prototype.unlockedImage);mxEvent.addListener(t,"click",function(a){if(k.isEnabled()){var b=null;k.getModel().beginUpdate();try{b="1"==mxUtils.getValue(v,"locked","0")?null:"1",k.setCellStyles("locked",b,[c])}finally{k.getModel().endUpdate()}"1"==b&&k.removeSelectionCells(k.getModel().getDescendants(c));
mxEvent.consume(a)}});m.appendChild(t);t=document.createElement("input");t.setAttribute("type","checkbox");t.setAttribute("title",mxResources.get("hideIt",[c.value||mxResources.get("background")]));t.style.marginLeft="4px";t.style.marginRight="6px";t.style.marginTop="4px";m.appendChild(t);k.isEnabled()||t.setAttribute("disabled","disabled");k.model.isVisible(c)&&(t.setAttribute("checked","checked"),t.defaultChecked=!0);mxEvent.addListener(t,"click",function(a){k.isEnabled()&&(k.model.setVisible(c,
!k.model.isVisible(c)),mxEvent.consume(a))});mxUtils.write(m,d);l.appendChild(m);if(k.isEnabled()){if(mxClient.IS_TOUCH||mxClient.IS_POINTER||mxClient.IS_VML||mxClient.IS_IE&&10>document.documentMode)d=document.createElement("div"),d.style.display="block",d.style.textAlign="right",d.style.whiteSpace="nowrap",d.style.position="absolute",d.style.right="6px",d.style.top="6px",0<b&&(m=document.createElement("a"),m.setAttribute("title",mxResources.get("toBack")),m.className="geButton",m.style.cssFloat=
"none",m.innerHTML="\x26#9650;",m.style.width="14px",m.style.height="14px",m.style.fontSize="14px",m.style.margin="0px",m.style.marginTop="-1px",d.appendChild(m),mxEvent.addListener(m,"click",function(a){k.isEnabled()&&k.addCell(c,k.model.root,b-1);mxEvent.consume(a)})),0<=b&&b<s-1&&(m=document.createElement("a"),m.setAttribute("title",mxResources.get("toFront")),m.className="geButton",m.style.cssFloat="none",m.innerHTML="\x26#9660;",m.style.width="14px",m.style.height="14px",m.style.fontSize="14px",
m.style.margin="0px",m.style.marginTop="-1px",d.appendChild(m),mxEvent.addListener(m,"click",function(a){k.isEnabled()&&k.addCell(c,k.model.root,b+1);mxEvent.consume(a)})),l.appendChild(d);if(mxClient.IS_SVG&&(!mxClient.IS_IE||10<=document.documentMode))l.setAttribute("draggable","true"),l.style.cursor="move"}mxEvent.addListener(l,"dblclick",function(a){var b=mxEvent.getSource(a).nodeName;"INPUT"!=b&&"IMG"!=b&&(e(c),mxEvent.consume(a))});k.getDefaultParent()==c?(l.style.background="#e6eff8",q=c):
mxEvent.addListener(l,"click",function(a){k.isEnabled()&&(k.setDefaultParent(f),k.view.setCurrentRoot(null),g())});n.appendChild(l)}s=k.model.getChildCount(k.model.root);n.innerHTML="";for(var b=0;b<s;b++)mxUtils.bind(this,function(d){a(b,d.value||mxResources.get("background"),d,d)})(k.model.getChildAt(k.model.root,b));u.setAttribute("title",mxResources.get("removeIt",[q.value||mxResources.get("background")]));v.setAttribute("title",mxResources.get("moveSelectionTo",[q.value||mxResources.get("background")]));
y.setAttribute("title",mxResources.get("duplicateIt",[q.value||mxResources.get("background")]));z.setAttribute("title",mxResources.get("renameIt",[q.value||mxResources.get("background")]));k.isSelectionEmpty()&&(v.className="geButton mxDisabled")}var k=b.editor.graph,l=document.createElement("div");l.style.userSelect="none";l.style.background="whiteSmoke";l.style.border="1px solid whiteSmoke";l.style.height="100%";l.style.marginBottom="10px";l.style.overflow="auto";var m=!EditorUi.compactUi?"30px":
"26px",n=document.createElement("div");n.style.backgroundColor="#e5e5e5";n.style.position="absolute";n.style.overflow="auto";n.style.left="0px";n.style.right="0px";n.style.top="0px";n.style.bottom=m;l.appendChild(n);var p=null,r=null;mxEvent.addListener(l,"dragover",function(a){a.dataTransfer.dropEffect="move";r=null;a.stopPropagation();a.preventDefault()});var s=null,q=null,t=document.createElement("div");t.className="geToolbarContainer";t.style.position="absolute";t.style.bottom="0px";t.style.left=
"0px";t.style.right="0px";t.style.height=m;t.style.overflow="hidden";t.style.padding=!EditorUi.compactUi?"1px":"4px 0px 3px 0px";t.style.backgroundColor="whiteSmoke";t.style.borderWidth="1px 0px 0px 0px";t.style.borderColor="#c3c3c3";t.style.borderStyle="solid";t.style.display="block";t.style.whiteSpace="nowrap";mxClient.IS_QUIRKS&&(t.style.filter="none");m=document.createElement("a");m.className="geButton";mxClient.IS_QUIRKS&&(m.style.filter="none");var u=m.cloneNode();u.innerHTML='\x3cdiv class\x3d"geSprite geSprite-delete" style\x3d"display:inline-block;"\x3e\x3c/div\x3e';
mxEvent.addListener(u,"click",function(a){if(k.isEnabled()){k.model.beginUpdate();try{var b=k.model.root.getIndex(q);k.removeCells([q],!1);0==k.model.getChildCount(k.model.root)?(k.model.add(k.model.root,new mxCell),k.setDefaultParent(null)):0<b&&b<=k.model.getChildCount(k.model.root)?k.setDefaultParent(k.model.getChildAt(k.model.root,b-1)):k.setDefaultParent(null)}finally{k.model.endUpdate()}}mxEvent.consume(a)});k.isEnabled()||(u.className="geButton mxDisabled");t.appendChild(u);var v=m.cloneNode();
v.innerHTML='\x3cdiv class\x3d"geSprite geSprite-insert" style\x3d"display:inline-block;"\x3e\x3c/div\x3e';mxEvent.addListener(v,"click",function(a){k.isEnabled()&&!k.isSelectionEmpty()&&k.moveCells(k.getSelectionCells(),0,0,!1,q)});t.appendChild(v);var z=m.cloneNode();z.innerHTML='\x3cdiv class\x3d"geSprite geSprite-dots" style\x3d"display:inline-block;"\x3e\x3c/div\x3e';z.setAttribute("title",mxResources.get("rename"));mxEvent.addListener(z,"click",function(a){k.isEnabled()&&e(q);mxEvent.consume(a)});
k.isEnabled()||(z.className="geButton mxDisabled");t.appendChild(z);var y=m.cloneNode();y.innerHTML='\x3cdiv class\x3d"geSprite geSprite-duplicate" style\x3d"display:inline-block;"\x3e\x3c/div\x3e';mxEvent.addListener(y,"click",function(a){if(k.isEnabled()){a=null;k.model.beginUpdate();try{a=k.cloneCells([q])[0],a.value=mxResources.get("untitledLayer"),a.setVisible(!0),a=k.addCell(a,k.model.root),k.setDefaultParent(a)}finally{k.model.endUpdate()}null!=a&&!k.isCellLocked(a)&&k.selectAll(a)}});k.isEnabled()||
(y.className="geButton mxDisabled");t.appendChild(y);m=m.cloneNode();m.innerHTML='\x3cdiv class\x3d"geSprite geSprite-plus" style\x3d"display:inline-block;"\x3e\x3c/div\x3e';m.setAttribute("title",mxResources.get("addLayer"));mxEvent.addListener(m,"click",function(a){if(k.isEnabled()){k.model.beginUpdate();try{var b=k.addCell(new mxCell(mxResources.get("untitledLayer")),k.model.root);k.setDefaultParent(b)}finally{k.model.endUpdate()}}mxEvent.consume(a)});k.isEnabled()||(m.className="geButton mxDisabled");
t.appendChild(m);l.appendChild(t);g();k.model.addListener(mxEvent.CHANGE,function(){g()});k.selectionModel.addListener(mxEvent.CHANGE,function(){k.isSelectionEmpty()?v.className="geButton mxDisabled":v.className="geButton"});this.window=new mxWindow(mxResources.get("layers"),l,c,f,d,a,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.refreshLayers=g;this.window.setLocation=function(a,b){a=Math.max(0,
a);b=Math.max(0,b);mxWindow.prototype.setLocation.apply(this,arguments)};mxEvent.addListener(window,"resize",mxUtils.bind(this,function(){var a=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,b=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,d=this.window.getX(),e=this.window.getY();d+this.window.table.clientWidth>a&&(d=Math.max(0,a-this.window.table.clientWidth));e+this.window.table.clientHeight>b&&(e=Math.max(0,b-this.window.table.clientHeight));
(this.window.getX()!=d||this.window.getY()!=e)&&this.window.setLocation(d,e)}))};
(function(){Sidebar.prototype.tagIndex="vX3ZcttI0vXTTPz/XIihlrvb31xqt2YsWy3K9tw5QBISMSIBNhbL6qefczKrsJBYCosmgkGCJPJUoZasrNxq+/M69nbrmRfH0Uvyt+N/yAU+D16n1VtnZ36Y/u3k+KP/yI9TQ+aFTxt/hYs0i0NXjPvgaT0a5MuuhJDt2mH2Mc69zSbKCHMRZYuNX4JKXyJ8e/FeXRqlwPkj81YllMcoi3vArP0fcRSW6MMoXa7lYZLgKfQ2+CvobprzIF5mG48lW6AlftoE4ZNLNf6ZbXdHKMZSnxz/gvtif7fhUyy85TObOlxF8qt8uEOdDIUyI84L2b6VXo/idB09RWwex7HzyTTryfFcmrVcRbSV6QaHphrV3fONH658EuzNpuQ5CENChHZaJptg6wr2ICP3G+pQg7jScd4M3Yz7LVhxgjx4AafXuNo+xEGl4dJ17BPcseUOH/Hk+EMUB39FYSqjYF3+Mgjuqx+nwVLofxSXLVB/ZbE/O10u/SQB+TkKjyOSJP4yi4OUz/Xs8/3ghyasLI22XhrISPTwBR9PPmb18T825JyhTudlxPfHjZesW4DmqD+7Xe82MO2Pwnc2yAaPzxqAobBXwZKCRzSHqZgTxrmHObVXb1vjlZd6Cy/h36tFN9StFz/76W7jLUmxlW/CSoiZrCOuAN0o84t/8fboMX3x5IeV/8PfRLutLirPATGTZey/rOIA/e/6oPNsAapgZxpniVWBzHvnh8vgcPw0gHzzF0mQ8vEWWFfYXZtowa+t1Gdgplj/UAc//hFI69ji8SmMNkmj3YsH1scZF2zLkPtgQXqWLdm0HMoy7+fgbYK60D+6J8NZ8NeDt3kuqkRBw9api/ick07GmTwJFgd0TSCTcOXLirgKdhtMELZP5sVemIKDcIgt/VBG086Pt9KPh9hSh0pLOU+LPVoz1x+DpyzWKXFyfAUGKax2mcl4Ijzv6AmNqzv0qffEK4O5iH66tJ322GE9ugm3uyyV4b6NwiCNeLUKEky3Q758QIsekNlz4W84Z8hNP/mQo2KOPdvvdtqXWUEz6EUDc2i8P452Z2ijmlErLbczDdoBc4lHiXdxIAUvsmCz0oousiQIyeA76Pu3vFCodNSD6jpIP2QL+7RoZI9U0TKN9OrJjP8m+g8XNyEES0jhzXy4ntD3NumaY2KNOSNDfO0Lj8F3/ONATF6uY0zb1gIZQberAq+Y3lymuY/wl5EZb7deiO7lqHXlMx+9HbiizNF87HfR3GII6CjaQhjCh28/Q1lF9sbXPnW00OGxW0chP9MoE5bsQlXhpUnOv1qg9nGyTRqQOXgYJbJDyNI1WWu+opfkE7Nu7LyVuWrBfZ3/8ZGTvxhGyZ/CrZvH1R4EpPJCsoBAh5HNIa1bq+5e2SN/iHbBUuSWqvxSC7gH9RmDCzgYl2jv1yT1t7i42WqfR2z6tReTVYM3yqBf7Q21Pby76MWP52sfq/kQtnx/cSfDfIsnlDr1h5hzv5OhKYql30oFHXSUZoYVidEp5cW6zXO5X5e9s4zL6h+Zn8kw/5MXAwDu/bply4lUBg8vdLtZFutYI3AMGVtJVdxrL2J/ejgtaHtUqIr8oKKiwahndY1A89eQdd+fl4n+HPvL16V0dSvQvb/Dtls59z5SaYw86qhpgkrB8kVmffBkHrmLYXMwL52OKLtSRhvFPNjudBvkuDo8EJwPsrVM24lZfwmxVwZPfQxkp2xkkc+L//hLgmWP3Mt5m8DvHDVfwOPJYLKtx3t3fqQPoF+9H2j6clvtUX/9cGF5VQ2Tqr9fBwk/DG9Tanc2/jVAp4qq6hbbPshL3EKT83aIlJ0wYEK+B/0OAR/zqzpUKa4TtxBOw/yqq4W+nV6cX11L63hPYZRg3SSb6M8d7Sbv5PjaD/1Y2Ind5zVV5xCCMzGSouv3iG1EZGTOVKiOyFu2NJ2iOl/dKaXIVtInIcVAC5azX7kDigLZU5BVWAVbfXXLlL8fUiZB086pTPh/h4S+kY+7SM+8EP2oO5wmNWv5fuyXtCWjrZ+i/xv1SxWiOJLdx26DZQrzv35KlykuDpgxFDgiMnqUoNtIr9q3arU0kO1F2sq3ARuI5oLxfCgVlwlvI1lCQ8fW/kSN3fx1uxAd22MUL4IVWK4D5edCW4x1B3pImgtEaXkguNfSz7doRjIZEcewsxceudvVbpArhGYIY2/M5pdR1kWSEX0lPA3v0hFdNA+BSFt2PyafVJN10X3zpF5m9C7saG6l+bdRKolYHS599kXIta2uQwraKEqTFJez7krW0902bru2+dasHSHrva4ahN2WN5QUAbs4Ep0vV6KVtEAT3eyUwsCHiKzetZlJBpFUCwMThQhfiEttok+J/mOkPWStQk3Wvhoqo28tsbW8xqK/X8vDNGJgO65LranwmuJ0Z33zPYehMgwLgphuz1s5lwDk0ryTXFmiFHGrqG7f0bH0FuipVPScesnR+WcWqGK5sWxLNzs/o7Ut7y2ob06OF7HvaRfoirHTJdgJ5+T45y/H06CdNNWKltJ+OG216on2rrFWYlHqh4R6/TYV3K9NFTMiTB+glnr1QLs91/b/DW+/vzvlI99xTAdhYGXpHk/ugv+rC379EzTC//5Oyjh+s/qXC5j2ASLqOv9Ss/NLQDOMfYT8Hyyn+k+fetfhas3H43L3KrxEuvXXYzRLfSs4MLcqIB/+ZCq0dydaxwnw7mIsN0ujRAT4YMB7PwlWuvydZ3FsbSNmZTphB8XL9uXQEUs62xlrnsViUqo86C+EaFoR3GHkqZpYuDuMzIpmlusOJC3TyCNrcR5oNtTdwa/H2y0Hlq5Wi1p9aSfGBBDkSuNhfpvgabixPvltPM77nhh+wOUUw74wy2H75ONPo3rdeRQOD929lPxxE0UxdEP8HxqiZnvC3u1wMiNXNc5hqKgYcR/hYhSYBcERYY7dsyA00zaQR9HzUtVufUnP114g61NfOii3hcfBJ0KtS25UqheFTwVN8r3a6Pz+gUL314oOr6TXq6lHDcqFD6GdytZYNyh2d9SrKlUQNcgOA4qxY7OWyEQ2AnA1WcWqb2uAqsG53PjYbkg7+AmURObapQrQ38guamS7XvGKTmrelpOwXglRT1pnXN1xx7j1zDtmcaRuQLYy1HwmaeFeVAP7+RF2PvErMkN82TnUa1DuoPoRnyr4jnDpDEKoBurVt3XUeFNFV0x1OP6Aic+JEPZubYle8+seeio+Ml0xoW3aoPK9aTmYe9P6j3EAk7oZd33J58oOloY79OogMb5IO8lu3J1EW8mQDSjS+GGMoH83kv7XkfTcLg6ij6Dc5LAG68A4FbUL1R0RvCtoG8QMiaJD3859mG/w2hLZPILMxWEDrzM/XtpvLjWh3aBgA5sBjKRkiuDsBI8QzTSvlWWouwnUM4VnGYw6sVdrPMohZqchFFLWy4ADDXUyXANN3m0ObkDikBuMdB5t0GN86jWE3Sco7g99lOop9w3SUOcaw2o3aaOdt41KHFCOSrRb/uBkOStA7kQFSEWdaH07tan79POi1429k8t8o/7/gJyGa9P7cOoIdtJ+4mPv1HKWnn0+jD6CQ2RR9aZOa6DOtpDDxY8kC3WnRFcGDvsGg9I+wgOWzORR1cBGlYxFot42obQb3wu/b7F6qBnph7eBS8fJMfiJX5lv7ZRwkwuDRD33r6NoRZU4/KK5KUYTbIdWaHYt1iTxQMf2cZXZ7aPxmtE6y6wSE6Yj6ucsxa698EIUtXBR0STjWto2XitocEiHO3BJK21MGC60p4EwVVblPZtIhaXYmjb1v3qODNkojgKOii02aRJg08y+zc3qC/rTmNlPbWueidJ81WXm6QahLBquIA3LhJ0YEP7Xa+N9XT+E+kKPhZtjlEh0yBTtWAs2RXt2Ar9RQwyCvaO7pEjDpdFtHHxad0UW4I8MVlas0Fh2NVBALxbqaiBf9doVRNeCgUAwmOl94hRaItrDa8UAo9AtL/x+KEWSx15hVU7U2d51ULTiYDyYPurRWQXineypB1bHEg+qA+Rqowmw+oCWTWJOhJELD7CNxCLiWuQk/dpFSQ9NVBnjQ3h8n5pWSCkhSEt1N9hLIhNi6yFuihI7/IRyD2PxNZE40Vq6GZaZ7/ZWDWOYw9YqOz7raZfYH1rKb8ZhxM4V3uEq49ETbRTwpXEbMB99SOeXc/ElMm6E1gGhcMR2hPlUgdkLqRqCdnKsTwWvtj2wSQv58PBAV+Q3LcM6bk+G+kelsa038RAYuEPk/iUTAYqX8yRw367KMFSjma3uECRal5YQXtV1bipM4ww4GNLs/r+D2X03TpIUby/PdSPl0R2zzSHaDQoSxu1NEyBUDcanNTDxAH3Bha9BQyJM67AMG6A3rOYXtIaKcITIntQo6g4LUT/tYutP3WdZq9ejxEsDjhJpbDssS0w3w56m9RlGo3I9q6nuXlP0gb+9r0Bi+4VtelajLHWG43DBllEmzcTAHy6uyIC68NfeSv3HYEKATnABPInjU2k50egY56K/3p1z+298sOk9F0C92OCS74xYUgBAMQA8jSOfvpgbqu7p1vW2xdzDQildMj3017tPGrIaGiP52xUysoXaAxIbb59dvIbeNgIjBJ1cDqHFGpCa0T4VDtlNDgRzdY7eF/FGZ9yYShGiUh9soQ/VcN04uYmmb13MqmETA5TYsPmlPwrFUomC7QM2e4qjbCdxCbzo8QT3FxQrYxTGaSSDu1aCaUcwK3ZpoRuPmIMxTEvcdBGthbh47pomRYcaO1wt1DI0FvaWbxpbNmlj5HGpkzfzZ8Q1irFtSmiNUBPmlcvIvWnpsYLdYGVr1gWCERK90gIjHB0aZgi3/Krb8KsozlOR5JH8pd8mgZYBpfEAb1fEg48Gqa5AE5ViRfoWQX4YJHOwmNjlSaBvTm/J8SVCUcK8Pc1aI/7t5qbhyKjtanUkjfl2RcwfyHyH44dReGRm5vdkh50u9AszDJNMVkUMCLGGdbRwsnoWhetKcqvYXDKiQc5zySDHTyUHwyHCDGGIEjqYarhAV6Fq6pNmQfARU258R9iJJNwwox25qyQjgx3e5vsUqOQsL+EmklUFCl4VYvb4wqTlXa7EdeUjM1q8ZTlzsUSqWfStHuzyjKO2EE+s3yOJWvebnaiof+jtkP5IAk7epICv0QYW+jeAn9NZJl+nClO2gz6oC5fh/CZZ0RsXgNRlgeQ00SBv4QttJUY2FnxouaPLWQbJMprZ5DYEKiW6afHmrZLNzuAKIGuUccoTZ4x2PrYPYQOg2Zh5DXqj3F58yZ1JXuhUITAZfJ9q0Rpx5lsm3ZJEEDbEDz41sg3tqox1Tkqk3+ChEuzgHuhtktnNGVcthC2Gj/Av0oxTuSNTalwH6bClXk7i2jS0ELhIcBGeI1ijxmFq1AM8mJpOBNroHjoQD4kCcjewEqT6iBWtW/UwLQp0LyeAXdWm3Cn+GDVCRC9WqnRTdQdiUypDa6tXnmZ0mK7iVmG1nBY4d5SdCBA5EI1/2FSAOxsONBUg4r3VSlJ0+ERzY57hWwlrItg8QUqlBdROPhTSholMVskv+5NrDNhX7DrE5Qx8PKZKZaK+18QcZ0xIOuWQahxMDatNHbakMoXrrqIjzB1R6Mnsl+PrS/p2nEeXGvzO2HSXqtbDvfvlPQOd/j8jMFCvv5dME3k6VXUfLhDGFPdvLU6iG966sCI3Yh6geWvba3TDXQVIU6oySxH4buD5gC/z279PUc4B+BSYNrna9G1e5PnJ27xUCBrm6/z83fHxMdumV4ErtDdz54n+3Fz3IUNmBcTxlCixi3Ka5GtkG5NHfFLDCqcgfOASn9FTmi0PtwwCOufvo1HGUVvBexzKvunJ/NFghDrMtLRXwBbvs3/5r+zsarbmVor7uzle1AWLbcGJpjaxoxNlbtND6ltkN9FR5fa4NYgwomzNOkIRF4ND8xaK02TZU7KzbgdIH5B/JZebzWd/lDwVZp5tG54HRf2QhsZlNtXh4heTx6Vd/deEgGin3s+XJxexft1dBLBTcaXn4LJm4i6SUkrP0mU3FRM42vHoWJCQMJHwFltv1dmxh/JkkAxxyf/pgcgMa3k1WsJNmmjLdSB570eSTR+8InPCLX/IPSXbMWQF0qlt8zB00bxggUA1SfMC9XRr2AFuXGoOsZm3YIKjJaJzTin0rgLkABYuAL34RtLgYLFjRvuaFDotYP42Y/40DHgqWDBgf3Zkyq1DQT9osQjUWe26YpTqEG6zn0e2LtWatNesC/QArh+CyRdrkoqdIk7WBGpCM8ckkNMgqn/uYMQHZjRhrZApK8fGXo2xPBgTjHoxBsyGQhzgWcU3hKem+E3gGRJlLYSa/89GRDk1MgIcoHoyMmH+pT81DpKxtNpVkuVvDAg7ZDQIm13vijavqvqvwewByPDWrD3dZjcIY1xH10qiEbn+0pGxhMX9fVEUlzNJGKr8c4sYepGmIFxqNr+3K/NO0k3nZe4iZA11LXMVQELRbYp6xjhRmTY92voI9uNKvZmdHOnhKGYnZVO8DIX7CHsarK5Gd1ZcDcW7y6DyLe3zPnHlC2nV38g5Q5KBoSWwsSf65yo6GFJLjG47tqao1p0p+NDkda/BH1r7wF/++sv72en5EQQLQcyliFy06Al00QhUiC3ueExdPBmYpLrovdiWqKHKC3SPb5eqoWhILGuFJQiuXScU1NObJJ2D6C+48pYbtkamdAerGT4j8Q5GUYHXIOp2QAaPCG3Oo8PHDYXLcBm/IpklkxctezBhQ/4hGNPzH6Oh1N/RDcFStCriG6nqAzdqkcVUFLLXvWlnN5bSCNKa5uXAzaAPDqWYKXAodwzG0ch5sF/RQfLRAj1qbjQWJb3+WDbljfZWYwKcbnoyPRhufMN7t3B/yi8d5191zMm3prHXQQ69MpwS0Bgw3NM6Sf+Vj8Znzpxz4ARJ7Rq0SYiOB9Dsil4AptP8cRjSWb6ktxsOIruhRYKkKu6zsxaI4vjw2txs4BgEg505m+Qs21AfEthf83Pf7OdCb+hVhuSe0qa3WHkBdR4rzojsiKkQzXGm+w2gaIftMaQdPvmyRTWpuDqLGANvBukERURIFZIm7Du9lOMbWlJz1NDOLtSUQ70+DVCf51eXtHp8qm7DKPeG+zm4B0IzmK202xoEnYPdUEaZorJVxEnrSBuCpNXHANZDMSaqqkYMF8Bja/zpyJKVuovDq3FDPgiRw39aRDLsaRHJuadFpHQzLeLvYxDvmvq6UREyCJF9PS0i+3paRPb1tIjs62kR2dcDEdkFQ9eHk8l5QgPiCJ7QgDiCJzQgjuAJDYgjeEID4giecDI5T2hAHMETGhBH8IQGxBE8oQFxBE9oQBzCEyI4Bn83+kxoMpPZe7HfPpnzmRGgYbLZJoi1aT+pvT9q7suPYxeLElaIEoLStP7oHqfS/tHwDDhaaXjD1INWH8EUMP4JPl5SyVrehfk4YtkeA3hoZOgBWt6ITQFKqCOovMX1RVJwnzM5AzJiScgEwmGNqsR4flHFLtraPSWfU2mf8cMRctzCqCMnq+Br8W1YvwqkWDcRjCQaNN5S+WEYMNxk0sg2K5xU5Fz5egNRPd537A4lIZTsQavm2B62190GWkbkm/RjntzKAJIshW+qtVF3HPnqBCTW6EFAE9RlcC0YY4HEOXAvUbO2qlIrP4zBml0/fC6mQ/dEMPo3ZBDmbdHjoxzN8Ios/FIR52Jvrs/tOm1T90tZBl/8guCnLL+V8Ps/nylItBdvWtAncbu7uT4rnivBAVuV0hYBjp2Q5Hu1U3dYWfpo/5uyKLP8r8oSPeTblXX3iZqI/01/Vcp64/6qlPXG/VUp6437iyxKO6rHet2/AEm8+UYF3FgvPAlBq+M2zYjIVyk3i6enuXZl/HqI/vckzzusV8PIYarPcxjLucXMgWSYqTmMaAComG0NqEnYL+byKVEljf/kqJLcfwLUr5Js+0e0Sbtyd7dgiH13NAYbqidIigCjLeQ+2Nw0Za44GrUdaeEAodKp8eC2wmmtQ3ctXs5u5JD23rJyib6itvhnrTrpP65Kqg7YPZ3SINjyxrtU277b7g7IIRqRFxwrSxu1+DGb61baIErez8hExSStTNnlbpyuyum0RBqHDnNomUYSq0hORslkkDJ7LtktjFya/LIb40xz1sRIWdLkVV9Lw+OAJDoDQ592akK8oFhHAO6OkfCBe7BFdHi2dS2RTiQcIiR90O8pcRCVFBW1HdRbQ8aqFZkJmKu31X2xTBsH/qM5/CrF2SF1j9lAeu5t/BA5jzXLpfNwwHlCkosFRtEsSZoDFA4Jq+PHtrADIQIy4eBHpceqkiimg0qEFN0XiqrEnESMzXga1JxRUAsi6c7+g+NdXIs1p020J+arJQRDkF7AkNPzwN3IikNBllHNAdsdZLIgFRDwhWrzJKkAvIjGz6a6EUHQdx22l/Y0asQYXm536atEX+Z5g8Gf3KZ4GcekHSZSFtYiNIG8FqnxTTaLwqTfdrZMCUPOga+4cLiWfhVtlL9E8RM8Uv9y7nklNK5rHWduVMhiw1VDk28dfe5Eee1l0jucwO3yQploo6e5PeGzMYLzgOrgiHw3KmQ37UhFckAjSlDjZnLo5CK9XxkZnXChHqZdyh3qVg+bvCk/5agz+KdK/Sy7sZ23Mmy29rzIetqIaUnp3mHORGpIF99Abw6aL2Zv6ah5m/y9CyKnhTylrMwe8uRMLInN9nEcqMt5Sn5EKpmzeD3wDkwtekJ+HJvEPS4HmdXiFUcH5sYLt4pEGjBhxuAqCv+ffqJjkN3dJBfO5CS9dhxMZ6SiCvwXGRFbdXRsWgOh+5bwwy5QMHZzjlDOsODg2ecBoXiWikSZtOwWuYO44SfEBk/WDfAZsg5c9M0s4ZBXY4UvticcaWsnbG3L1yFKGJMGWEAUcn0QnJIhzs+6nSsa0EHMqIeD/WUphjr1QHeqBKIW7LKLQ4oknQ+ka8j1cpHKWXSdEPn9BUSO6gihtw2vxLzcaPXtut+emJFcUMCkmlFxBBcHG+xL+jxObTrHVkEO35L8P3L8SeY8vOdYhM1ZbTLOoSrQXHAUkRzIsWPI46Jbw8cPSXFSGhu83imzkSja2RSZiJ/pkMwbEA42LKvYazji85AceXwoJ7OBHWWvOhhzup1w7pbDSg7psFnam7RudDEEPSRJ0rXhVbPb4vBmV/ovnOH9huUXTXbDMyalo6l+ZaCSC22ekbCb/1ennwOoMUgjUE3qV5MZuo74G4KqRHujc8tszx3ogiuuvaWQ7w4ySftwbs8LLI4QdCLLD5AvJdVUtY6LSCcYvTd0SqXcwp7Q50Jy+XOnwool6uwJIfvoP7Ib+pT0EaPW8Efbrok5PMoN4N42BRI1dnnkl6iMTNSnqnreF/eFH6I4wHlNiHbi1rDhvDAHHBwuiAjUgSii7RO51G88xv2AqB9fFxphL23tpOkT9JzCmbdi6FeAJI4tR4PW0KEVRHWkody5GsmBDuk4En8DJ/qf6RHkqB9V5Z47wBBaHsupqUjkdDJIXghRMUfc2s9ulEKtZC5dqKjRpYeJVbmYSxdS3JdprZFsNxXVC/i3yTIspy2Fmay80c5IGqTohjVsLpF4rVMzYsTpyW0MVAE+KAfqS3+tQpxKdFiihHOZpaprcaoFNJtRKwoUG8L2ymBAiDnEgyag8/T4nRyGuAvMOa1FgFe+UMQwz8gS5YdP8CtDqrnKBC4jib1gGqiZx5hOY9mx17KtCLCatRy8XqGdnVpK8LzzOEqSozNkfZYUYPxGRlF3Hq0DGg/b94/O4Pwjx+/BB2gj6rqWPLbK3wRyt/PACjEXnOdRQSxJn4JH6K9k4ubfugmhh+GhiCZtRf6tD6HahnG+rGYsKBB6WYn3Qc/tQ0hkTgn35PiIaWihKaBLI/gE9pfqncmLPhX/fvQ9SMS62OO5Y6QCYJ65J4xUk6dYfqucCyZ/2k/NeaR0bpizc/4ikgib9toWxfTBtog9wMYKo1VUiyoX8vnatoUhjc7FYlbKlq3VZ6FEhRNZ1PInWQLN1Dg950ToPSDaIC8E0t0IX8aTdNN22o6sWwVrSKUefd8quuWqs0s1lNsxqLtEAO3tnxmYO3RcSocKnwWRBM2q3LcI2nN6KFi+0zKX3SQ43Q9+MaFhM3rVSQXlePrd/0kT9JM+bv5FVef66LxwR0ECqp/qCwxDt4nWfMgWGOxY5ImEhCylUlL81bei1O5XcbjSRHIypxTFlp4MGMehh/JA5inIMK68cNIy9ttqMPgXNvwaKo1ShQc3+6DIdRJuMQRkPMmF4+0I/z+C9UNOVIIqFro/5llX+iBEqvnuCh8AYQekSX96AqlAVQIaSy/KvWUviEw9wPnpdjNWWyxiBYl+aaFKfJGILM8wXzoLSzC+8HQ4MEaWSj0Qxq6a7aQ/eDy07H30ypUAWo2Mh6BpAk5ohnn54FlTWYqc/yoEwA6ARcYNU+hlOn+1lRmHNbouWC2QvNMmyx0FVGonZq+dCpPrGCEj7CRVpJ8O9D6KHt8AEh/cW05caeg9/NWUWDoSJ+t/BCmtZRGYrFUriFrbNxkQV8ioLsN2Qkhoy03mjMmaYw9zRPchOeKzyUdqU0SfQ1O/QdpuQprdbp4a7d3xyTE+oBHi0s7Qs7X/AmWout8sn9U3Y6KyfhlbVl8ius3qgTtPcrqZnAVbOunvdbsQjZn5v54eB/UzCE/UGHIlzm1IyStWYr2iAiL/sx0GlmdRl6lIHmFfjOCjdi2+0j9GkQTA1BTdSQf3OknqW/Au9dFR09FCvjvhXNE9h1Z3qcsWDjGONYeyHYcaZHBXtUFa5nlqMToBqKjqAaCeO9DXikeOdePZwoMP58+olw5MBwcp5xpR0J4SrPlRjs2ATWbN3EnBX205khuQbiS7slKKZFz63g9pHi01AZpzXvIGoIeLCw4vWgn2cj/n3uIr35OwMtyznzZ7DxfzLQPmJTTabHO4QuipeQlmb+eYM8T/zNA5esaGJX+SvsdohM47ehLb3R5gPdStp3k8P+oDYAJ4q3Z3yj1ykW/HVwNHu2TikTAeSl11EmywYVXsMGNVKD/5uzTT1OdjK3G3ycTzfzTQnB+y7xiNFEYv0OU+8054aXdpXqq0cqyPBDKp2asXncQnDaCTY/UG0DGqqx/dF7BRsVONbuWvNAiNAnJKp39IMLuCWUXoXnB0bg+6W6XqSWPHgymzF50kSulF900eyayT9jl70soS6UqbeAhiYWetvb/qRKomCkoz/cSYgg4L1VadPSnXPqntjZ+Q7jpXhmQJ97ulj6xwCzj+QNPAym9qTrGqId1FML3KwMRF6dOBimklcfyQirVbOX2UdsZGu2sNwr+8V0/CTyJwJbF0Q/bXpShqSpxQAbiXc28WEK+VPj8HRy/4R3fzWagXU/p+bZyov6rfEQN4VD744a8D9cRwoZ/TLEpxVEpM8K1LPb1HDudWVe0xi0aUqPCTWyuLQ7SgEBWTz8thQEEDNIxyouqj46rNvfEDYreLqGAxnrEiozVj001J/r0HBtYwIVG3UPutfN2a+rAKZkesDTXrM2pLxBpU5kScwqWh8TSaOuGxBWXvMDg9IxLv+QGS1WMXcas9lK4R090+f0B6P+dhQTQBcQ4EmqhUpS8cQwD3ybKrZh3AQ/70pjtaTp9pJZbuGEosCY6GEksuo6HEkrbIlZhRjhyHpQkNr3694Cm2/QBmsH6LvGKbXq77VqOMIn0wGkU6YzSK9MpoFOme0SiSSWo0yvvhKDgT2HYydP4yUPI7BkFJT08DJd09DZT0+VgoeJnb5N3YzDl4fbegyMk3o1EkAfhoFDbOGBQe1whjpXhKPuJamli/9oG5hrOgqN8kC/geN2vosE7QuVpjEScsIhS+LfSyJ44xOcHVXn2B+Cn6eUeJbh8OFmi7fxk9Li3YJFPPgk0y+QDGWPSpnpJYEz0kh6dWbMTgsjCs0wQwbPIJYDidJ4DhAjcBDFe4CWC4xPWEMQJQgxGgiWSmzrXI78wzgHGsTLo+8jXmVr6Y615I33KkF+jo7Rdz3QdpzjohJK+ok3wZUKc566RIph7ypUedkK/hSTcDm8xeOZPGC3HFYQiX6FQQn9CRT64KwNQNcNKU5QJZbOAxKf6aBo8pHfJEEriE9sOFQRNZQ0kQ31d48GiOODcjgUGBgx/Cf/Qo3EDiNhwJJTJYvYBtuJYjpeiL7pDHQve7fTROBuHOhHqql5+EONacaFZPy4YXjZG2ep8W/7LDnjRQrxh7sff6Lw\x3d\x3d";Sidebar.prototype.searchFileUrl=
"search.xml";Sidebar.prototype.gearImage=GRAPH_IMAGE_PATH+"/clipart/Gear_128x128.png";Sidebar.prototype.defaultEntries="general;images;uml;er;bpmn;flowchart;basic;arrows2";Sidebar.prototype.signs="Animals Food Healthcare Nature People Safety Science Sports Tech Transportation Travel".split(" ");Sidebar.prototype.rack="General APC Cisco Dell F5 HP IBM Oracle".split(" ");Sidebar.prototype.pids="Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";");
Sidebar.prototype.cisco="Buildings;Computers and Peripherals;Controllers and Modules;Directors;Hubs and Gateways;Misc;Modems and Phones;People;Routers;Security;Servers;Storage;Switches;Wireless".split(";");Sidebar.prototype.sysml="Model Elements;Blocks;Ports and Flows;Constraint Blocks;Activities;Interactions;State Machines;Use Cases;Allocations;Requirements;Profiles;Stereotypes".split(";");Sidebar.prototype.eip="Message Construction;Message Routing;Message Transformation;Messaging Channels;Messaging Endpoints;Messaging Systems;System Management".split(";");
Sidebar.prototype.gmdl="Bottom Navigation;Bottom Sheets;Buttons;Cards;Chips;Dialogs;Dividers;Grid Lists;Icons;Lists;Menus;Misc;Pickers;Selection Controls;Sliders;Steppers;Tabs;Text Fields".split(";");Sidebar.prototype.aws2="Analytics;Application Services;Compute;Database;Developer Tools;Enterprise Applications;Game Development;General;Internet of Things;Management Tools;Mobile Services;Networking;On-Demand Workforce;SDKs;Security and Identity;Storage and Content Delivery;Groups".split(";");Sidebar.prototype.office=
"Clouds Communications Concepts Databases Devices Security Servers Services Sites Users".split(" ");Sidebar.prototype.archimate3="Application;Business;Composite;Implementation and Migration;Motivation;Physical;Relationships;Strategy;Technology".split(";");Sidebar.prototype.configuration=[{id:"general",libs:["general","misc","advanced"]},{id:"uml"},{id:"search"},{id:"er"},{id:"ios",prefix:"ios",libs:["","7icons","7ui"]},{id:"android",prefix:"android",libs:[""]},{id:"aws3d"},{id:"flowchart"},{id:"basic"},
{id:"arrows"},{id:"arrows2"},{id:"lean_mapping"},{id:"citrix"},{id:"azure"},{id:"network"},{id:"mscae",prefix:"mscae",libs:"Cloud;Enterprise;General;Intune;Other;System Center;Deprecated".split(";")},{id:"bpmn",prefix:"bpmn",libs:["","Gateways","Events"]},{id:"clipart",prefix:null,libs:"computer finance clipart networking people telco".split(" ")},{id:"eip",prefix:"eip",libs:Sidebar.prototype.eip},{id:"mockups",prefix:"mockup",libs:"Buttons Containers Forms Graphics Markup Misc Navigation Text".split(" ")},
{id:"pid2",prefix:"pid2",libs:"Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";")},{id:"signs",prefix:"signs",libs:Sidebar.prototype.signs},{id:"rack",prefix:"rack",libs:Sidebar.prototype.rack},{id:"electrical",prefix:"ee",libs:"LogicGates Resistors Capacitors Inductors SwitchesRelays Diodes Sources Transistors Misc Audio PlcLadder Abstract Optical VacuumTubes Waveforms Instruments".split(" ")},
{id:"aws2",prefix:"aws2",libs:Sidebar.prototype.aws2},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"office",prefix:"office",libs:Sidebar.prototype.office},{id:"cabinets",libs:["cabinets"]},{id:"floorplan",libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},{id:"archimate",libs:["archimate"]},{id:"sysml",
prefix:"sysml",libs:Sidebar.prototype.sysml}];Sidebar.prototype.togglePalettes=function(a,b){this.showPalettes(a,b)};Sidebar.prototype.togglePalette=function(a){this.showPalette(a)};Sidebar.prototype.showPalettes=function(a,b,d){for(var c=0;c<b.length;c++)this.showPalette(a+b[c],d)};Sidebar.prototype.showPalette=function(a,b){var d=this.palettes[a];if(null!=d)for(var c=null!=b?b?"block":"none":"none"==d[0].style.display?"block":"none",f=0;f<d.length;f++)d[f].style.display=c};Sidebar.prototype.isEntryVisible=
function(a){for(var b=0;b<this.configuration.length;b++)if(this.configuration[b].id==a){var d=this.palettes[null!=this.configuration[b].libs?(this.configuration[b].prefix||"")+this.configuration[b].libs[0]:a];if(null!=d)return"none"!=d[0].style.display}return!1};Sidebar.prototype.showEntries=function(a,b,d){this.libs=null!=a&&(d||0<a.length)?a:null!=urlParams.libs&&0<urlParams.libs.length?decodeURIComponent(urlParams.libs):mxSettings.getLibraries();d=this.libs.split(";");for(var c=0;c<this.configuration.length;c++)"search"!=
this.configuration[c].id&&this.showPalettes(this.configuration[c].prefix||"",this.configuration[c].libs||[this.configuration[c].id],0<=mxUtils.indexOf(d,this.configuration[c].id));b&&(mxSettings.setLibraries(a),mxSettings.save())};Sidebar.prototype.init=function(){this.entries=[{title:mxResources.get("standard"),entries:[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("basic"),
id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("clipart"),id:"clipart",image:IMAGE_PATH+"/sidebar-clipart.jpg"},{title:mxResources.get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}]},{title:mxResources.get("software"),entries:[{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:mxResources.get("bootstrap"),id:"bootstrap",image:IMAGE_PATH+"/sidebar-bootstrap.png"},{title:mxResources.get("entityRelation"),
id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+"/sidebar-ios.png"},{title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),entries:[{title:mxResources.get("aws"),id:"aws2",image:IMAGE_PATH+"/sidebar-aws.png"},{title:mxResources.get("aws3d"),id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},{title:mxResources.get("azure"),
id:"azure",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud \x26 Enterprise",id:"mscae",image:IMAGE_PATH+"/sidebar-mscae.png"},{title:mxResources.get("cisco"),id:"cisco",image:IMAGE_PATH+"/sidebar-cisco.png"},{title:"Citrix",id:"citrix",image:IMAGE_PATH+"/sidebar-citrix.png"},{title:"Network",id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"}]},
{title:mxResources.get("business"),entries:[{title:"ArchiMate 3.0",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},{title:mxResources.get("archiMate21"),id:"archimate",image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn"),id:"bpmn",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("leanMapping"),id:"lean_mapping",image:IMAGE_PATH+"/sidebar-leanmapping.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"}]},{title:mxResources.get("other"),
entries:[{title:mxResources.get("cabinets"),id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:mxResources.get("eip"),id:"eip",image:IMAGE_PATH+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),id:"pid",image:IMAGE_PATH+
"/sidebar-pid.png"},{title:mxResources.get("signs"),id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}];this.addStencilsToIndex=this.editorUi.isOffline();this.shapetags={};if(null!=this.tagIndex)for(var a=this.editorUi.editor.graph.decompress(this.tagIndex).split("\n"),b=0;b<a.length;b++)if(null!=a[b]){var d=a[b].split("\t");if(1<d.length){var c=d[0].toLowerCase().replace(" ","_"),d=mxUtils.trim(d.slice(1,d.length).join(" ").toLowerCase());0<d.length&&(this.shapetags[c]=d)}}this.initPalettes();this.editorUi.isOffline()||
mxUtils.get(this.searchFileUrl,mxUtils.bind(this,function(a){a=a.getDocumentElement();if(null!=a){a=a.getElementsByTagName("shape");for(var b=0;b<a.length;b++){var d=a[b].getAttribute("style"),e=this.extractShapeStyle(d);if(null!=d&&null!=e){var c=e.lastIndexOf(".");if(0<c){var f=e.substring(0,c),e=e.substring(c+1,e.length),c=this.getTagsForStencil(f,e,a[b].getAttribute("tags"));if(null!=c){var g=d.indexOf(";"),d="shape\x3d"+f+"."+e.toLowerCase()+";"+(0>g?"":d.substring(g+1));this.createVertexTemplateEntry(d,
parseInt(a[b].getAttribute("w")),parseInt(a[b].getAttribute("h")),"",e.replace(/_/g," "),null,null,this.filterTags(c.join(" ")))}}}}}}))};"1"==urlParams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(a,b,d){var c=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==b.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";a.style.backgroundRepeat="no-repeat";a.style.backgroundPosition="0% 50%";var f=document.createElement("button");f.style.marginLeft=
"4px";mxUtils.write(f,"Save");mxEvent.addListener(a,"click",mxUtils.bind(this,function(m){if("BUTTON"==mxEvent.getSource(m).nodeName){var n=a.cloneNode(!0);n.style.backgroundImage="";n.style.textDecoration="none";n.style.fontWeight="bold";n.style.fontSize="14px";n.style.color="rgb(80, 80, 80)";n.style.width="456px";n.style.backgroundColor="#ffffff";n.style.paddingLeft="6px";m=n.getElementsByTagName("button")[0];m.parentNode.removeChild(m);m=b.cloneNode(!0);m.style.backgroundColor="#ffffff";m.style.borderColor=
"transparent";m.style.width="456px";n='\x3c!DOCTYPE html\x3e\x3chtml\x3e\x3chead\x3e\x3clink rel\x3d"stylesheet" type\x3d"text/css" href\x3d"https://www.draw.io/styles/grapheditor.css"\x3e\x3c/head\x3e\x3cbody style\x3d"background:#ffffff;font-family:Helvetica,Arial;"\x3e'+n.outerHTML+m.outerHTML+"\x3c/body\x3e\x3c/html\x3e";m.style.position="absolute";window.document.body.appendChild(m);var p=m.clientHeight+18;m.parentNode.removeChild(m);(new mxXmlRequest(EXPORT_URL,"w\x3d456\x26h\x3d"+p+"\x26html\x3d"+
encodeURIComponent(this.editorUi.editor.compress(n)))).simulate(document,"_blank")}else{if("none"==b.style.display){if(c)a.appendChild(f);else if(c=!0,null!=d){null!=f.parentNode&&f.parentNode.removeChild(f);a.style.cursor="wait";var r=a.innerHTML;a.innerHTML=mxResources.get("loading")+"...";window.setTimeout(function(){d(b);a.style.cursor="";a.innerHTML=r;a.appendChild(f)},0)}else a.appendChild(f);a.style.backgroundImage="url('"+this.expandedImage+"')";b.style.display="block"}else a.style.backgroundImage=
"url('"+this.collapsedImage+"')",b.style.display="none",null!=f.parentNode&&f.parentNode.removeChild(f);mxEvent.consume(m)}}))});Sidebar.prototype.extractShapeStyle=function(a){if(null!=a&&"shape\x3d"==a.substring(0,6)){var b=a.indexOf(";");0>b&&(b=a.length);return a.substring(6,b)}return null};var b=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(a,d,c){var f=b.apply(this,arguments);null!=this.shapetags&&(a=a.toLowerCase(),d=d.toLowerCase(),null!=this.shapetags[a]&&
f.push(this.shapetags[a]),d=a+"."+d,null!=this.shapetags[d]&&f.push(this.shapetags[d]));return f};Sidebar.prototype.initPalettes=function(){var a=GRAPH_IMAGE_PATH,b=STENCIL_PATH,d=this.signs,c=this.rack,f=this.pids,m=this.cisco,n=this.sysml,p=this.eip,r=this.gmdl;"1"==urlParams.createindex&&(mxLog.textarea.value="");this.addSearchPalette(!0);this.addGeneralPalette(!0);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addUmlPalette(!1);this.addErPalette();this.addBasicPalette();this.addFlowchartPalette();
this.addNetworkPalette();this.addAzurePalette();this.addCitrixPalette();this.addMSCAEPalette();this.addBpmnPalette(b,!1);this.addAWSPalette();this.addAWS3DPalette();this.addLeanMappingPalette();this.addIos7Palette();this.addIosPalette();this.addAndroidPalette();this.addMockupPalette();this.addElectricalPalette();this.addOfficePalette();this.addStencilPalette("arrows",mxResources.get("arrows"),b+"/arrows.xml",";html\x3d1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+
"\x3dtop;"+mxConstants.STYLE_STROKEWIDTH+"\x3d2;strokeColor\x3d#000000;");this.addArrows2Palette();this.addImagePalette("computer","Clipart / Computer",a+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "),
"Antivirus;Data Filtering;Database;Database Add;Database Minus;Database Move Stack;Database Remove;Fujitsu Tablet;Harddrive;IBMTablet;iMac;iPad;Laptop;MacBook;Mainframe;Monitor;Monitor Tower;Monitor Tower Behind;Netbook;Network;Network 2;Printer;Printer Commercial;Secure System;Server;Server Rack;Server Rack Empty;Server Rack Partial;Server Tower;Software;Stylus;Touch;USB Hub;Virtual Application;Virtual Machine;Virus;Workstation".split(";"));this.addImagePalette("finance","Clipart / Finance",a+"/lib/clip_art/finance/",
"_128x128.png","Arrow_Down Arrow_Up Coins Credit_Card Dollar Graph Pie_Chart Piggy_Bank Safe Shopping_Cart Stock_Down Stock_Up".split(" "),"Arrow_Down;Arrow Up;Coins;Credit Card;Dollar;Graph;Pie Chart;Piggy Bank;Safe;Shopping Basket;Stock Down;Stock Up".split(";"));this.addImagePalette("clipart","Clipart / Various",a+"/lib/clip_art/general/","_128x128.png","Battery_0 Battery_100 Battery_50 Battery_75 Battery_allstates Bluetooth Earth_globe Empty_Folder Full_Folder Gear Keys Lock Mouse_Pointer Plug Ships_Wheel Star Tire".split(" "),
"Battery 0%;Battery 100%;Battery 50%;Battery 75%;Battery;Bluetooth;Globe;Empty Folder;Full Folder;Gear;Keys;Lock;Mousepointer;Plug;Ships Wheel;Star;Tire".split(";"));this.addImagePalette("networking","Clipart / Networking",a+"/lib/clip_art/networking/","_128x128.png","Bridge Certificate Certificate_Off Cloud Cloud_Computer Cloud_Computer_Private Cloud_Rack Cloud_Rack_Private Cloud_Server Cloud_Server_Private Cloud_Storage Concentrator Email Firewall_02 Firewall Firewall-page1 Ip_Camera Modem power_distribution_unit Print_Server Print_Server_Wireless Repeater Router Router_Icon Switch UPS Wireless_Router Wireless_Router_N".split(" "),
"Bridge;Certificate;Certificate Off;Cloud;Cloud Computer;Cloud Computer Private;Cloud Rack;Cloud Rack Private;Cloud Server;Cloud Server Private;Cloud Storage;Concentrator;Email;Firewall 1;Firewall 2;Firewall;Camera;Modem;Power Distribution Unit;Print Server;Print Server Wireless;Repeater;Router;Router Icon;Switch;UPS;Wireless Router;Wireless Router N".split(";"),{Wireless_Router:"wireless router switch wap wifi access point wlan",Wireless_Router_N:"wireless router switch wap wifi access point wlan",
Router:"router switch",Router_Icon:"router switch"});this.addImagePalette("people","Clipart / People",a+"/lib/clip_art/people/","_128x128.png","Suit_Man Suit_Man_Black Suit_Man_Blue Suit_Man_Green Suit_Man_Green_Black Suit_Woman Suit_Woman_Black Suit_Woman_Blue Suit_Woman_Green Suit_Woman_Green_Black Construction_Worker_Man Construction_Worker_Man_Black Construction_Worker_Woman Construction_Worker_Woman_Black Doctor_Man Doctor_Man_Black Doctor_Woman Doctor_Woman_Black Farmer_Man Farmer_Man_Black Farmer_Woman Farmer_Woman_Black Nurse_Man Nurse_Man_Black Nurse_Man_Green Nurse_Man_Red Nurse_Woman Nurse_Woman_Black Nurse_Woman_Green Nurse_Woman_Red Military_Officer Military_Officer_Black Military_Officer_Woman Military_Officer_Woman_Black Pilot_Man Pilot_Man_Black Pilot_Woman Pilot_Woman_Black Scientist_Man Scientist_Man_Black Scientist_Woman Scientist_Woman_Black Security_Man Security_Man_Black Security_Woman Security_Woman_Black Soldier Soldier_Black Tech_Man Tech_Man_Black Telesales_Man Telesales_Man_Black Telesales_Woman Telesales_Woman_Black Waiter Waiter_Black Waiter_Woman Waiter_Woman_Black Worker_Black Worker_Man Worker_Woman Worker_Woman_Black".split(" "));
this.addImagePalette("telco","Clipart / Telecommunication",a+"/lib/clip_art/telecommunication/","_128x128.png","BlackBerry Cellphone HTC_smartphone iPhone Palm_Treo Signal_tower_off Signal_tower_on".split(" "),"BlackBerry;Cellphone;HTC smartphone;iPhone;Palm Treo;Signaltower off;Signaltower on".split(";"));for(a=0;a<d.length;a++)this.addStencilPalette("signs"+d[a],"Signs / "+d[a],b+"/signs/"+d[a].toLowerCase()+".xml",";html\x3d1;fillColor\x3d#000000;strokeColor\x3dnone;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;");
for(a=0;a<c.length;a++)"general"===c[a].toLowerCase()?this.addRackGeneralPalette():"f5"===c[a].toLowerCase()?this.addRackF5Palette():this.addStencilPalette("rack"+c[a],"Rack / "+c[a],b+"/rack/"+c[a].toLowerCase()+".xml",";html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;dashed\x3d0;shadow\x3d0;fillColor\x3d#ffffff;");for(a=0;a<f.length;a++)"Instruments"==f[a]?this.addPidInstrumentsPalette():"Misc"==f[a]?this.addPidMiscPalette():"Valves"==f[a]?this.addPidValvesPalette():"Compressors"==
f[a]?this.addPidCompressorsPalette():"Engines"==f[a]?this.addPidEnginesPalette():"Filters"==f[a]?this.addPidFiltersPalette():"Flow Sensors"==f[a]?this.addPidFlowSensorsPalette():"Piping"==f[a]?this.addPidPipingPalette():this.addStencilPalette("pid"+f[a],"Proc. Eng. / "+f[a],b+"/pid/"+f[a].toLowerCase().replace(" ","_")+".xml",";html\x3d1;align\x3dcenter;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;dashed\x3d0;");for(a=0;a<n.length;a++)"Model Elements"==
n[a]?this.addSysMLModelElementsPalette():"Blocks"==n[a]?this.addSysMLBlocksPalette():"Ports and Flows"==n[a]?this.addSysMLPortsAndFlowsPalette():"Constraint Blocks"==n[a]?this.addSysMLConstraintBlocksPalette():"Activities"==n[a]?this.addSysMLActivitiesPalette():"Interactions"==n[a]?this.addSysMLInteractionsPalette():"State Machines"==n[a]?this.addSysMLStateMachinesPalette():"Use Cases"==n[a]?this.addSysMLUseCasesPalette():"Allocations"==n[a]?this.addSysMLAllocationsPalette():"Requirements"==n[a]?
this.addSysMLRequirementsPalette():"Profiles"==n[a]?this.addSysMLProfilesPalette():"Stereotypes"==n[a]&&this.addSysMLStereotypesPalette();for(a=0;a<p.length;a++)"Message Construction"==p[a]?this.addEipMessageConstructionPalette():"Message Routing"==p[a]?this.addEipMessageRoutingPalette():"Message Transformation"==p[a]?this.addEipMessageTransformationPalette():"Messaging Channels"==p[a]?this.addEipMessagingChannelsPalette():"Messaging Endpoints"==p[a]?this.addEipMessagingEndpointsPalette():"Messaging Systems"==
p[a]?this.addEipMessagingSystemsPalette():"System Management"==p[a]&&this.addEipSystemManagementPalette();for(a=0;a<m.length;a++)this.addStencilPalette("cisco"+m[a],"Cisco / "+m[a],b+"/cisco/"+m[a].toLowerCase().replace(/ /g,"_")+".xml",";html\x3d1;dashed\x3d0;fillColor\x3d#036897;strokeColor\x3d#ffffff;strokeWidth\x3d2;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop",null,null,1.6);this.addFloorplanPalette();this.addBootstrapPalette();for(a=0;a<r.length;a++)"Bottom Navigation"==r[a]?this.addGMDLBottomNavigationPalette():
"Bottom Sheets"==r[a]?this.addGMDLBottomSheetsPalette():"Buttons"==r[a]?this.addGMDLButtonsPalette():"Cards"==r[a]?this.addGMDLCardsPalette():"Chips"==r[a]?this.addGMDLChipsPalette():"Dialogs"==r[a]?this.addGMDLDialogsPalette():"Dividers"==r[a]?this.addGMDLDividersPalette():"Grid Lists"==r[a]?this.addGMDLGridListsPalette():"Icons"==r[a]?this.addGMDLIconsPalette():"Lists"==r[a]?this.addGMDLListsPalette():"Menus"==r[a]?this.addGMDLMenusPalette():"Misc"==r[a]?this.addGMDLMiscPalette():"Pickers"==r[a]?
this.addGMDLPickersPalette():"Selection Controls"==r[a]?this.addGMDLSelectionControlsPalette():"Sliders"==r[a]?this.addGMDLSlidersPalette():"Steppers"==r[a]?this.addGMDLSteppersPalette():"Tabs"==r[a]?this.addGMDLTabsPalette():"Text Fields"==r[a]&&this.addGMDLTextFieldsPalette();this.addCabinetsPalette();this.addArchimate3Palette();this.addArchiMatePalette();this.showEntries()};if("1"==urlParams.createindex){var c=Sidebar.prototype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(a,b,
d,f,l,m,n,p){c.apply(this,arguments);n=null!=n?n:1;mxStencilRegistry.loadStencilSet(d,mxUtils.bind(this,function(a,b,d,e,c){if(null==l||0>mxUtils.indexOf(l,b))d=null!=p?p[b]:null,mxLog.debug('\x3cshape style\x3d"shape\x3d'+a+b+f+'" w\x3d"'+Math.round(e*n)+'" h\x3d"'+Math.round(c*n)+'"'+(null!=d?' tags\x3d"'+d+'"':"")+"/\x3e")}),!0)}}var f=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntries=function(a,b,d,c,l){var m=c;this.editorUi.enableLogging&&!this.editorUi.isOffline()&&0==d&&((new Image).src=
"images/log.png?search\x3d"+encodeURIComponent(a)+"\x26v\x3d"+encodeURIComponent(EditorUi.VERSION));c=mxUtils.bind(this,function(c,f,k){!this.editorUi.isOffline()&&c.length<=b/4?(k=d-Math.ceil((f-b/4)/b),mxUtils.get(ICONFINDER_PATH+"?q\x3d"+encodeURIComponent(a)+"\x26l\x3d1\x26p\x3d"+k+"\x26c\x3d"+b,mxUtils.bind(this,function(a){a=a.getXml().getElementsByTagName("icon");for(var f=0;f<a.length;f++){var k=parseInt(mxUtils.getTextContent(a[f].getElementsByTagName("size")[0])),l=mxUtils.getTextContent(a[f].getElementsByTagName("image")[0]);
null!=k&&null!=l&&mxUtils.bind(this,function(a,b){c.push(mxUtils.bind(this,function(){return this.createVertexTemplate("shape\x3dimage;html\x3d1;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;imageAspect\x3d0;aspect\x3dfixed;image\x3d"+b,a,a,"")}))})(k,l)}m(c,(d-1)*b+c.length,a.length==b)},function(){m(c,f,!1)}))):m(c,f,k||!this.editorUi.isOffline())});f.apply(this,arguments)};var d=Sidebar.prototype.itemClicked;Sidebar.prototype.itemClicked=function(a,b,c){var f=
this.editorUi.editor.graph,l=!1;if(null!=a&&1==f.getSelectionCount()&&f.getModel().isVertex(a[0])){var m=f.cloneCells(a)[0];if(f.getModel().isEdge(f.getSelectionCell())&&null==f.getModel().getTerminal(f.getSelectionCell(),!1)&&f.getModel().isVertex(m)){f.getModel().beginUpdate();try{var n=f.view.getState(f.getSelectionCell());if(null!=n){var p=f.view.translate,r=f.view.scale,s=n.absolutePoints[n.absolutePoints.length-1];m.geometry.x=s.x/r-p.x-m.geometry.width/2;m.geometry.y=s.y/r-p.y-m.geometry.height/
2}f.addCell(m);f.getModel().setTerminal(f.getSelectionCell(),m,!1)}finally{f.getModel().endUpdate()}f.scrollCellToVisible(m);f.setSelectionCell(m);l=!0}}l||d.apply(this,arguments)}})();
(function(){var b=Sidebar.prototype.createAdvancedShapes;Sidebar.prototype.createAdvancedShapes=function(){var c=b.apply(this,arguments),f=this,d=new mxCell("Vertical Flow Layout",new mxGeometry(0,0,270,280),"swimlane;html\x3d1;startSize\x3d20;horizontal\x3d1;childLayout\x3dflowLayout;flowOrientation\x3dnorth;resizable\x3d0;interRankCellSpacing\x3d50;");d.vertex=!0;var a=new mxCell("Start",new mxGeometry(20,20,100,40),"whiteSpace\x3dwrap;html\x3d1;");a.vertex=!0;d.insert(a);var e=new mxCell("Task",
new mxGeometry(20,20,100,40),"whiteSpace\x3dwrap;html\x3d1;");e.vertex=!0;d.insert(e);var g=new mxCell("",new mxGeometry(0,0,0,0),"html\x3d1;curved\x3d1;");g.geometry.relative=!0;g.edge=!0;a.insertEdge(g,!0);e.insertEdge(g,!1);d.insert(g);var k=new mxCell("Task",new mxGeometry(20,20,100,40),"whiteSpace\x3dwrap;html\x3d1;");k.vertex=!0;d.insert(k);g=g.clone();a.insertEdge(g,!0);k.insertEdge(g,!1);d.insert(g);a=new mxCell("End",new mxGeometry(20,20,100,40),"whiteSpace\x3dwrap;html\x3d1;");a.vertex=
!0;d.insert(a);g=g.clone();e.insertEdge(g,!0);a.insertEdge(g,!1);d.insert(g);g=g.clone();k.insertEdge(g,!0);a.insertEdge(g,!1);d.insert(g);return c.concat([this.addEntry("container swimlane pool horizontal",function(){var a=new mxCell("Pool",new mxGeometry(0,0,480,380),"swimlane;html\x3d1;childLayout\x3dstackLayout;horizontal\x3d1;startSize\x3d20;horizontalStack\x3d0;");a.vertex=!0;var b=new mxCell("Lane 1",new mxGeometry(0,20,480,120),"swimlane;html\x3d1;startSize\x3d20;horizontal\x3d0;");b.vertex=
!0;a.insert(b);b=new mxCell("Lane 2",new mxGeometry(0,140,480,120),"swimlane;html\x3d1;startSize\x3d20;horizontal\x3d0;");b.vertex=!0;a.insert(b);b=new mxCell("Lane 3",new mxGeometry(0,260,480,120),"swimlane;html\x3d1;startSize\x3d20;horizontal\x3d0;");b.vertex=!0;a.insert(b);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Horizontal Pool 1",!0)}),this.addEntry("container swimlane pool horizontal",function(){var a=new mxCell("Pool",new mxGeometry(0,0,480,360),"swimlane;html\x3d1;childLayout\x3dstackLayout;horizontal\x3d0;startSize\x3d20;horizontalStack\x3d0;");
a.vertex=!0;var b=new mxCell("Lane 1",new mxGeometry(20,0,460,120),"swimlane;html\x3d1;startSize\x3d20;horizontal\x3d0;");b.vertex=!0;a.insert(b);b=new mxCell("Lane 2",new mxGeometry(20,120,460,120),"swimlane;html\x3d1;startSize\x3d20;horizontal\x3d0;");b.vertex=!0;a.insert(b);b=new mxCell("Lane 3",new mxGeometry(20,240,460,120),"swimlane;html\x3d1;startSize\x3d20;horizontal\x3d0;");b.vertex=!0;a.insert(b);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Horizontal Pool 2",
!0)}),this.addEntry("container swimlane pool vertical",function(){var a=new mxCell("Pool",new mxGeometry(0,0,360,480),"swimlane;html\x3d1;childLayout\x3dstackLayout;startSize\x3d20;");a.vertex=!0;var b=new mxCell("Lane 1",new mxGeometry(0,20,120,460),"swimlane;html\x3d1;startSize\x3d20;");b.vertex=!0;a.insert(b);b=new mxCell("Lane 2",new mxGeometry(120,20,120,460),"swimlane;html\x3d1;startSize\x3d20;");b.vertex=!0;a.insert(b);b=new mxCell("Lane 3",new mxGeometry(240,20,120,460),"swimlane;html\x3d1;startSize\x3d20;");
b.vertex=!0;a.insert(b);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Vertical Pool 1",!0)}),this.addEntry("container swimlane pool vertical",function(){var a=new mxCell("Pool",new mxGeometry(0,0,380,480),"swimlane;html\x3d1;childLayout\x3dstackLayout;startSize\x3d20;horizontal\x3d0;horizontalStack\x3d1;");a.vertex=!0;var b=new mxCell("Lane 1",new mxGeometry(20,0,120,480),"swimlane;html\x3d1;startSize\x3d20;");b.vertex=!0;a.insert(b);b=new mxCell("Lane 2",new mxGeometry(140,
0,120,480),"swimlane;html\x3d1;startSize\x3d20;");b.vertex=!0;a.insert(b);b=new mxCell("Lane 3",new mxGeometry(260,0,120,480),"swimlane;html\x3d1;startSize\x3d20;");b.vertex=!0;a.insert(b);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Vertical Pool 2",!0)}),this.addEntry("vertical tree layout",function(){var a=new mxCell("Vertical Tree Layout",new mxGeometry(0,0,280,190),"swimlane;html\x3d1;startSize\x3d20;horizontal\x3d1;childLayout\x3dtreeLayout;horizontalTree\x3d0;resizable\x3d0;");
a.vertex=!0;var b=new mxCell("Root",new mxGeometry(20,20,100,40),"whiteSpace\x3dwrap;html\x3d1;");b.vertex=!0;a.insert(b);var d=new mxCell("Child 1",new mxGeometry(20,20,100,40),"whiteSpace\x3dwrap;html\x3d1;");d.vertex=!0;a.insert(d);var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;html\x3d1;rounded\x3d0;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);d.insertEdge(e,!1);a.insert(e);d=new mxCell("Child 2",new mxGeometry(20,20,100,40),"whiteSpace\x3dwrap;html\x3d1;");
d.vertex=!0;a.insert(d);e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;html\x3d1;rounded\x3d0;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);d.insertEdge(e,!1);a.insert(e);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Vertical Tree Layout",!0)}),this.addEntry("horizontal tree layout",function(){var a=new mxCell("Horizontal Tree Layout",new mxGeometry(0,0,310,160),"swimlane;html\x3d1;startSize\x3d20;horizontal\x3d0;childLayout\x3dtreeLayout;horizontalTree\x3d1;resizable\x3d0;");
a.vertex=!0;var b=new mxCell("Root",new mxGeometry(20,20,100,40),"whiteSpace\x3dwrap;html\x3d1;");b.vertex=!0;a.insert(b);var d=new mxCell("Child 1",new mxGeometry(20,20,100,40),"whiteSpace\x3dwrap;html\x3d1;");d.vertex=!0;a.insert(d);var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;elbow\x3dhorizontal;html\x3d1;rounded\x3d0;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);d.insertEdge(e,!1);a.insert(e);d=new mxCell("Child 2",new mxGeometry(20,20,100,40),"whiteSpace\x3dwrap;html\x3d1;");
d.vertex=!0;a.insert(d);e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;elbow\x3dhorizontal;html\x3d1;rounded\x3d0;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);d.insertEdge(e,!1);a.insert(e);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Horizontal Tree Layout",!0)}),this.addEntry("vertical flow layout",function(){return f.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Vertical Flow Layout",!0)}),this.addEntry("horizontal flow layout",
function(){var a=f.graph.cloneCells([d])[0];a.geometry=new mxGeometry(0,0,460,150);a.style="swimlane;html\x3d1;startSize\x3d20;horizontal\x3d0;childLayout\x3dflowLayout;flowOrientation\x3dwest;resizable\x3d0;interRankCellSpacing\x3d50;";a.value="Horizontal Flow Layout";return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Horizontal Flow Layout",!0)})])}})();
(function(){Sidebar.prototype.addAndroidPalette=function(){var b=this,c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;html\x3d1;shadow\x3d0;dashed\x3d0;strokeWidth\x3d1;shape\x3dmxgraph.android.",f=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;html\x3d1;shadow\x3d0;dashed\x3d0;strokeWidth\x3d1;strokeColor\x3dnone;shape\x3d",d=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+
"\x3dtop;html\x3d1;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.android.",a=[this.createVertexTemplateEntry(c+"phone2;fillColor\x3d#ffffff;strokeColor\x3d#c0c0c0;",200,390,"","Phone",null,null,"android phone mobile portrait"),this.createVertexTemplateEntry(c+"phone2;fillColor\x3d#ffffff;strokeColor\x3d#c0c0c0;direction\x3dsouth;",390,200,"","Phone (landscape)",null,null,"android phone mobile landscape"),this.createVertexTemplateEntry(c+"tab2;fillColor\x3d#ffffff;strokeColor\x3d#c0c0c0;",
472,686,"","Tab",null,null,"android tab tablet portrait"),this.createVertexTemplateEntry(c+"tab2;fillColor\x3d#ffffff;strokeColor\x3d#c0c0c0;direction\x3dnorth;",686,472,"","Tab (landscape)",null,null,"android tab tablet landscape"),this.createVertexTemplateEntry("strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.action_bar;fillColor\x3d#1A1A1A;strokeColor\x3d#c0c0c0;strokeWidth\x3d2;fontColor\x3d#FFFFFF;",185,30,"","Action Bar",null,null,"android action bar dark portrait"),
this.createVertexTemplateEntry("strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.action_bar;fillColor\x3d#E6E6E6;strokeColor\x3d#c0c0c0;strokeWidth\x3d2;",185,30,"","Action Bar (Bright)",null,null,"android action bar bright portrait"),this.createVertexTemplateEntry("strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.action_bar_landscape;fillColor\x3d#1A1A1A;strokeColor\x3d#c0c0c0;strokeWidth\x3d2;fontColor\x3d#FFFFFF;",320,30,"","Action Bar Landscape",
null,null,"android action bar landscape dark"),this.createVertexTemplateEntry("strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.action_bar_landscape;fillColor\x3d#E6E6E6;strokeColor\x3d#c0c0c0;strokeWidth\x3d2;",320,30,"","Action Bar Landscape (Bright)",null,null,"android action bar bright landscape"),this.createVertexTemplateEntry("rounded\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;whiteSpace\x3dwrap;fontSize\x3d10;fillColor\x3d#666666;align\x3dcenter;strokeColor\x3d#4D4D4D;fontColor\x3d#ffffff;",
105.5,16.88,"Normal","Button (Normal)",null,null,"android button normal"),this.createVertexTemplateEntry("rounded\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;whiteSpace\x3dwrap;fontSize\x3d10;fillColor\x3d#666666;align\x3dcenter;strokeColor\x3d#999999;fontColor\x3d#ffffff;",105.5,16.88,"Focused","Button (Focused)",null,null,"android button focused"),this.createVertexTemplateEntry("rounded\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;whiteSpace\x3dwrap;fontSize\x3d10;fillColor\x3d#999999;align\x3dcenter;strokeColor\x3d#666666;fontColor\x3d#ffffff;strokeWidth\x3d2;",
105.5,16.88,"Pressed","Button (Pressed)",null,null,"android button pressed"),this.createVertexTemplateEntry("rounded\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;whiteSpace\x3dwrap;fontSize\x3d10;fillColor\x3d#333333;align\x3dcenter;strokeColor\x3d#4D4D4D;fontColor\x3d#666666;",105.5,16.88,"Focused disabled","Button (Focused, Disabled)",null,null,"android button focused disabled"),this.createVertexTemplateEntry("rounded\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;whiteSpace\x3dwrap;fontSize\x3d10;fillColor\x3d#333333;align\x3dcenter;strokeColor\x3d#333333;fontColor\x3d#666666;",
105.5,16.88,"Disabled","Button (Disabled)",null,null,"android button disabled"),this.createVertexTemplateEntry("rounded\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;whiteSpace\x3dwrap;fontSize\x3d10;fillColor\x3d#E6E6E6;align\x3dcenter;strokeColor\x3d#E6E6E6;fontColor\x3d#333333;",105.5,16.88,"Normal","Button (Normal, Bright)",null,null,"android button normal bright"),this.createVertexTemplateEntry("rounded\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;whiteSpace\x3dwrap;fontSize\x3d10;fillColor\x3d#E6E6E6;align\x3dcenter;strokeColor\x3d#B3B3B3;fontColor\x3d#333333;",
105.5,16.88,"Focused","Button (Focused, Bright)",null,null,"android button focused bright"),this.createVertexTemplateEntry("rounded\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;whiteSpace\x3dwrap;fontSize\x3d10;fillColor\x3d#B3B3B3;align\x3dcenter;strokeColor\x3d#E6E6E6;fontColor\x3d#333333;strokeWidth\x3d2;",105.5,16.88,"Pressed","Button (Pressed, Bright)",null,null,"android button pressed bright"),this.createVertexTemplateEntry("rounded\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;whiteSpace\x3dwrap;fontSize\x3d10;fillColor\x3d#F4F4F4;align\x3dcenter;strokeColor\x3d#E6E6E6;fontColor\x3d#CCCCCC;",
105.5,16.88,"Focused disabled","Button (Focused, Disabled, Bright)",null,null,"android button focused disabled bright"),this.createVertexTemplateEntry("rounded\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;whiteSpace\x3dwrap;fontSize\x3d10;fillColor\x3d#F4F4F4;align\x3dcenter;strokeColor\x3d#F4F4F4;fontColor\x3d#CCCCCC;",105.5,16.88,"Disabled","Button (Disabled, Bright)",null,null,"android button disabled bright"),this.addEntry("android checkboxes checkbox",function(){var a=new mxCell("",new mxGeometry(0,
0,165,50),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;");a.vertex=!0;var d=new mxCell("Setting 1",new mxGeometry(0,0,165,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#33b5e5;");d.vertex=!0;a.insert(d);var c=new mxCell("",new mxGeometry(0,6,0,0),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;");c.vertex=!0;d.insert(c);d=
new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;resizable\x3d0;strokeColor\x3d#33b5e5;");d.vertex=!0;c.insert(d);d=new mxCell("Setting 2",new mxGeometry(0,12.5,165,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#33b5e5;");d.vertex=!0;a.insert(d);c=new mxCell("",new mxGeometry(0,6,0,0),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;");
c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;resizable\x3d0;strokeColor\x3d#33b5e5;");d.vertex=!0;c.insert(d);d=new mxCell("Setting 3",new mxGeometry(0,25,165,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#33b5e5;");d.vertex=!0;a.insert(d);c=new mxCell("",new mxGeometry(0,6,0,0),
"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;");c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.checkbox;rSize\x3d0;resizable\x3d0;strokeColor\x3d#33b5e5;");d.vertex=!0;c.insert(d);d=new mxCell("Setting 4",new mxGeometry(0,37.5,165,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#33b5e5;");
d.vertex=!0;a.insert(d);c=new mxCell("",new mxGeometry(0,6,0,0),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;");c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;resizable\x3d0;strokeColor\x3d#33b5e5;");d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Checkboxes")}),this.addEntry("android radiobuttons radiobutton",
function(){var a=new mxCell("",new mxGeometry(0,0,165,50),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;");a.vertex=!0;var d=new mxCell("Option 1",new mxGeometry(0,0,165,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#33b5e5;");d.vertex=!0;a.insert(d);var c=new mxCell("",new mxGeometry(0,6,0,0),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;");
c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"shape\x3dellipse;resizable\x3d0;strokeColor\x3d#33b5e5;html\x3d1;");d.vertex=!0;c.insert(d);d=new mxCell("Option 2",new mxGeometry(0,12.5,165,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#33b5e5;");d.vertex=!0;a.insert(d);c=new mxCell("",new mxGeometry(0,6,0,0),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;");
c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"shape\x3dellipse;resizable\x3d0;strokeColor\x3d#33b5e5;html\x3d1;");d.vertex=!0;c.insert(d);d=new mxCell("Option 3",new mxGeometry(0,25,165,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#33b5e5;");d.vertex=!0;a.insert(d);c=new mxCell("",new mxGeometry(0,6,0,0),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;");
c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"shape\x3dellipse;resizable\x3d0;strokeColor\x3d#33b5e5;fillColor\x3d#33b5e5;html\x3d1;");d.vertex=!0;c.insert(d);d=new mxCell("Option 4",new mxGeometry(0,37.5,165,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#33b5e5;");d.vertex=!0;a.insert(d);c=new mxCell("",new mxGeometry(0,6,0,0),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;");
c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"shape\x3dellipse;resizable\x3d0;strokeColor\x3d#33b5e5;html\x3d1;");d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Radiobuttons")}),this.createVertexTemplateEntry(c+"contact_badge_focused;",40,40,"","Contact Badge Focused",null,null,"android contact badge focused"),this.createVertexTemplateEntry(c+"contact_badge_focused;",60,60,"","Contact Badge Focused",null,null,"android contact badge focused"),
this.createVertexTemplateEntry(c+"contact_badge_normal;",40,40,"","Contact Badge Normal",null,null,"android contact badge normal"),this.createVertexTemplateEntry(c+"contact_badge_normal;",60,60,"","Contact Badge Normal",null,null,"android contact badge normal"),this.createVertexTemplateEntry(c+"contact_badge_pressed;",40,40,"","Contact Badge Pressed",null,null,"android contact badge pressed"),this.createVertexTemplateEntry(c+"contact_badge_pressed;",60,60,"","Contact Badge Pressed",null,null,"android contact badge pressed"),
this.addEntry("android contextual action bar dark portrait",function(){var a=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.contextual_action_bar;fillColor\x3d#002E3E;");a.vertex=!0;var d=new mxCell("Action",new mxGeometry(40,0,100,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;fontStyle\x3d1;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],
a.geometry.width,a.geometry.height,"Contextual Action Bar")}),this.addEntry("android contextual action bar bright portrait",function(){var a=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.contextual_action_bar_white;fillColor\x3d#E6E6E6;");a.vertex=!0;var d=new mxCell("Action",new mxGeometry(40,0,100,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;fontStyle\x3d1;");d.vertex=
!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Contextual Action Bar (Bright)")}),this.addEntry("android contextual action bar landscape dark",function(){var a=new mxCell("",new mxGeometry(0,0,320,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.contextual_action_bar_landscape;fillColor\x3d#002E3E;");a.vertex=!0;var d=new mxCell("Action",new mxGeometry(40,0,100,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;fontStyle\x3d1;fontColor\x3d#ffffff;");
d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Contextual Action Bar Landscape")}),this.addEntry("android contextual action bar landscape bright",function(){var a=new mxCell("",new mxGeometry(0,0,320,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.contextual_action_bar_landscape_white;fillColor\x3d#E6E6E6;");a.vertex=!0;var d=new mxCell("Action",new mxGeometry(40,0,100,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;fontStyle\x3d1;");
d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Contextual Action Bar Landscape (Bright)")}),this.addEntry("android contextual split action bar dark",function(){var a=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.contextual_split_action_bar;fillColor\x3d#002E3E;fontColor\x3d#FFFFFF;");a.vertex=!0;var d=new mxCell("Contextual",new mxGeometry(0,0,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");
d.vertex=!0;a.insert(d);d=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Contextual Split Action Bar")}),this.addEntry("android contextual split action bar bright",function(){var a=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.contextual_split_action_bar_white;fillColor\x3d#E6E6E6;");
a.vertex=!0;var d=new mxCell("Contextual",new mxGeometry(0,0,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;");d.vertex=!0;a.insert(d);d=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Contextual Split Action Bar (Bright)")}),this.addEntry("android contextual split action bar landscape dark",
function(){var a=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.contextual_split_action_bar_landscape;fillColor\x3d#002E3E;fontColor\x3d#FFFFFF;");a.vertex=!0;var d=new mxCell("Contextual",new mxGeometry(0,0,320,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);d=new mxCell("Action",new mxGeometry(0,40,320,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");
d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Contextual Split Action Bar Landscape")}),this.addEntry("android contextual split action bar landscape bright",function(){var a=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.contextual_split_action_bar_landscape_white;fillColor\x3d#E6E6E6;");a.vertex=!0;var d=new mxCell("Contextual",new mxGeometry(0,0,320,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;");
d.vertex=!0;a.insert(d);d=new mxCell("Action",new mxGeometry(0,40,320,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Contextual Split Action Bar Landscape (Bright)")}),this.createVertexTemplateEntry(c+"indeterminate_progress_bar;strokeColor\x3d#33B5E5;",149,5,"","Indeterminate Progress Bar",null,null,"android indeterminate progress bar"),
this.createVertexTemplateEntry(c+"indeterminateSpinner;",50,50,"","Indeterminate Spinner",null,null,"android indeterminate spinner"),this.createVertexTemplateEntry(c+"keyboard;",185,100,"","Keyboard",null,null,"android keyboard"),this.addEntry("android menu bar",function(){var a=new mxCell("",new mxGeometry(0,0,185,50),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;strokeColor\x3d#888888;fillColor\x3d#444444;");a.vertex=!0;var d=new mxCell("Menu Item 1",
new mxGeometry(0,0,185,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3dnone;strokeColor\x3d#888888;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);d=new mxCell("Menu Item 2",new mxGeometry(0,12.5,185,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3dnone;strokeColor\x3d#888888;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#ffffff;");
d.vertex=!0;a.insert(d);d=new mxCell("Menu Item 3",new mxGeometry(0,25,185,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3dnone;strokeColor\x3d#888888;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);d=new mxCell("Menu Item 4",new mxGeometry(0,37.5,185,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3dnone;strokeColor\x3d#888888;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#ffffff;");
d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Menu bar")}),this.addEntry("android menu bar",function(){var a=new mxCell("",new mxGeometry(0,0,185,50),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;gradientColor\x3dnone;");a.vertex=!0;var d=new mxCell("Menu Item 1",new mxGeometry(0,0,185,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3dnone;strokeColor\x3d#eeeeee;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#333333;");
d.vertex=!0;a.insert(d);d=new mxCell("Menu Item 2",new mxGeometry(0,12.5,185,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3dnone;strokeColor\x3d#eeeeee;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#333333;");d.vertex=!0;a.insert(d);d=new mxCell("Menu Item 3",new mxGeometry(0,25,185,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3dnone;strokeColor\x3d#eeeeee;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#333333;");
d.vertex=!0;a.insert(d);d=new mxCell("Menu Item 4",new mxGeometry(0,37.5,185,12.5),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3dnone;strokeColor\x3d#eeeeee;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#333333;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Menu bar")}),this.createVertexTemplateEntry(d+"navigation_bar_1;fillColor\x3d#1A1A1A;strokeColor\x3d#999999;",
185,30,"","Navigation Bar",null,null,"android navigation bar portrait horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_1_landscape;fillColor\x3d#1A1A1A;strokeColor\x3d#999999;",320,30,"","Navigation Bar Landscape",null,null,"android navigation bar landscape horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_1_vertical;fillColor\x3d#1A1A1A;strokeColor\x3d#999999;",30,320,"","Navigation Bar Vertical",null,null,"android navigation bar vertical"),this.createVertexTemplateEntry(d+
"navigation_bar_2;fillColor\x3d#1A1A1A;strokeColor\x3d#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_3;fillColor\x3d#1A1A1A;strokeColor\x3d#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar portrait horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_3_landscape;fillColor\x3d#1A1A1A;strokeColor\x3d#999999;",320,30,"","Navigation Bar Landscape",null,null,"android navigation bar landscape horizontal"),
this.createVertexTemplateEntry(d+"navigation_bar_4;fillColor\x3d#1A1A1A;strokeColor\x3d#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_5;fillColor\x3d#1A1A1A;strokeColor\x3d#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_5_vertical;fillColor\x3d#1A1A1A;strokeColor\x3d#999999;",30,320,"","Navigation Bar Vertical",null,null,"android navigation bar vertical"),
this.createVertexTemplateEntry(d+"navigation_bar_6;fillColor\x3d#1A1A1A;strokeColor\x3d#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(c+"progressBar;strokeColor\x3d#33b5e5;dx1\x3d0.8;dx2\x3d0.6;strokeWidth\x3d2;",185,5,"","Progress Bar",null,null,"android progress bar"),this.createVertexTemplateEntry(c+"progressScrubberDisabled;dx\x3d0.3;fillColor\x3d#33b5e5;",185,16,"","Progress Scrubber Disabled",null,null,"android progress scrubber disabled"),
this.createVertexTemplateEntry(c+"progressScrubberFocused;dx\x3d0.3;fillColor\x3d#33b5e5;",185,16,"","Progress Scrubber Focused",null,null,"android progress scrubber focused"),this.createVertexTemplateEntry(c+"progressScrubberPressed;dx\x3d0.3;fillColor\x3d#33b5e5;",185,16,"","Progress Scrubber Pressed",null,null,"android progress scrubber pressed"),this.createVertexTemplateEntry(c+"quickscroll2;dy\x3d0.5;fillColor\x3d#33b5e5;strokeColor\x3d#66D5F5;",58,320,"","Quickscroll",null,null,"android quickscroll quick scroll"),
this.createVertexTemplateEntry(c+"quickscroll3;dy\x3d0.5;fillColor\x3d#33b5e5;strokeColor\x3d#66D5F5;",6,320,"","Quickscroll",null,null,"android quickscroll quick scroll"),this.addEntry("android quick contact",function(){var a=new mxCell("",new mxGeometry(0,0,150,165),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.quick_contact;");a.vertex=!0;var d=new mxCell("Name",new mxGeometry(0,65,150,18),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;rSize\x3d0;fontStyle\x3d1;fontColor\x3d#FFFFFF;");
d.vertex=!0;a.insert(d);d=new mxCell("Item 1",new mxGeometry(0,108,120,28),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;rSize\x3d0;align\x3dleft;spacingLeft\x3d10;");d.vertex=!0;a.insert(d);d=new mxCell("Item 2",new mxGeometry(0,136,120,28),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;rSize\x3d0;align\x3dleft;spacingLeft\x3d10;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,
"Quick Contact")}),this.addEntry("android scrollable tab scroll",function(){var a=new mxCell("",new mxGeometry(0,0,185,15),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3d#444444;strokeColor\x3dnone;");a.vertex=!0;var d=new mxCell("One",new mxGeometry(0,0,46.25,15),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dleft;fontColor\x3d#FFFFFF;");d.vertex=!0;a.insert(d);d=new mxCell("Tab Two",new mxGeometry(46.25,
0,92.5,15),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontColor\x3d#FFFFFF;");d.vertex=!0;a.insert(d);d=new mxCell("Tab",new mxGeometry(138.75,0,46.25,15),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;align\x3dright;fontColor\x3d#FFFFFF;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Scrollable Tab")}),this.createVertexTemplateEntry("strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.scrollbars2;fillColor\x3d#999999;strokeColor\x3dnone;",
56,56,"","Scrollbars",null,null,"android scrollbar scroll bar"),this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;shadow\x3d0;dashed\x3d0;fontSize\x3d10;align\x3dleft;fillColor\x3d#1A1A1A;strokeColor\x3d#1A1A1A;fontColor\x3d#FFFFFF;",168.8,16.88,"Normal","Section Header (Normal)",null,null,"android section header normal dark"),this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;shadow\x3d0;dashed\x3d0;fontSize\x3d10;align\x3dleft;fillColor\x3d#4D4D4D;strokeColor\x3d#4D4D4D;fontColor\x3d#FFFFFF;",
168.8,16.88,"Pressed","Section Header (Pressed)",null,null,"android section header pressed dark"),this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;shadow\x3d0;dashed\x3d0;fontSize\x3d10;align\x3dleft;fillColor\x3d#33b5e5;strokeColor\x3d#33B5E5;fontColor\x3d#FFFFFF;",168.8,16.88,"Activated","Section Header (Activated)",null,null,"android section header activated dark"),this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;shadow\x3d0;dashed\x3d0;fontSize\x3d10;align\x3dleft;fillColor\x3d#006699;strokeColor\x3d#33B5E5;fontColor\x3d#FFFFFF;",
168.8,16.88,"Focused","Section Header (Focused)",null,null,"android section header focused dark"),this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;shadow\x3d0;dashed\x3d0;fontSize\x3d10;align\x3dleft;fillColor\x3d#006699;strokeColor\x3d#33B5E5;fontColor\x3d#B3B3B3;",168.8,16.88,"Disabled focused","Section Header (Disabled focused)",null,null,"android section header disabled focused dark"),this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;shadow\x3d0;dashed\x3d0;fontSize\x3d10;align\x3dleft;fillColor\x3d#1A1A1A;strokeColor\x3d#1A1A1A;fontColor\x3d#B3B3B3;",
168.8,16.88,"Disabled","Section Header (Disabled)",null,null,"android section header disabled dark"),this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;shadow\x3d0;dashed\x3d0;fontSize\x3d10;align\x3dleft;fillColor\x3d#FFFFFF;strokeColor\x3d#FFFFFF;fontColor\x3d#4D4D4D;",168.8,16.88,"Normal","Section Header (Normal, Bright)",null,null,"android section header normal bright"),this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;shadow\x3d0;dashed\x3d0;fontSize\x3d10;align\x3dleft;fillColor\x3d#f6f6f6;strokeColor\x3d#f6f6f6;fontColor\x3d#4D4D4D;",
168.8,16.88,"Pressed","Section Header (Pressed, Bright)",null,null,"android section header pressed bright"),this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;shadow\x3d0;dashed\x3d0;fontSize\x3d10;align\x3dleft;fillColor\x3d#33b5e5;strokeColor\x3d#33B5E5;fontColor\x3d#4D4D4D;",168.8,16.88,"Activated","Section Header (Activated, Bright)",null,null,"android section header activated bright"),this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;shadow\x3d0;dashed\x3d0;fontSize\x3d10;align\x3dleft;fillColor\x3d#99e5ff;strokeColor\x3d#33B5E5;fontColor\x3d#4D4D4D;",
168.8,16.88,"Focused","Section Header (Focused, Bright)",null,null,"android section header focused bright"),this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;shadow\x3d0;dashed\x3d0;fontSize\x3d10;align\x3dleft;fillColor\x3d#99e5ff;strokeColor\x3d#33B5E5;fontColor\x3d#B3B3B3;",168.8,16.88,"Disabled focused","Section Header (Disabled focused, Bright)",null,null,"android section header disabled focused bright"),this.createVertexTemplateEntry("whiteSpace\x3dwrap;html\x3d1;shadow\x3d0;dashed\x3d0;fontSize\x3d10;align\x3dleft;fillColor\x3d#FFFFFF;strokeColor\x3d#FFFFFF;fontColor\x3d#B3B3B3;",
168.8,16.88,"Disabled","Section Header (Disabled, Bright)",null,null,"android section header disabled bright"),this.createVertexTemplateEntry("strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.spinner2;align\x3dcenter;fillColor\x3d#999999;strokeColor\x3d#999999;verticalAlign\x3dbottom",110,10,"Item","Spinner Normal",null,null,"android spinner normal"),this.createVertexTemplateEntry("strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.spinner2;align\x3dcenter;fillColor\x3d#33b5e5;strokeColor\x3d#33b5e5;verticalAlign\x3dbottom",
110,10,"Item","Spinner Focused",null,null,"android spinner focused"),this.addEntry("android spinner disabled focused",function(){var a=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rect;rounded\x3d1;fillColor\x3d#207585;strokeColor\x3d#33b5e5;");a.vertex=!0;var d=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.spinner2;fontStyle\x3d1;fontColor\x3d#ffffff;align\x3dcenter;verticalAlign\x3dmiddle;strokeColor\x3d#999999;fillColor\x3d#999999;");
d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Spinner Disabled Focused")}),this.addEntry("android spinner disabled focused light bright",function(){var a=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rect;rounded\x3d1;fillColor\x3d#ccf2ff;strokeColor\x3d#88c5f5;");a.vertex=!0;var d=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.spinner2;fontStyle\x3d0;fontColor\x3d#666666;align\x3dcenter;verticalAlign\x3dmiddle;strokeColor\x3d#cccccc;fillColor\x3d#cccccc;");
d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Spinner Disabled Focused Bright")}),this.addEntry("android spinner pressed",function(){var a=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rect;rounded\x3d1;fillColor\x3d#33b5e5;strokeColor\x3d#33b5e5;");a.vertex=!0;var d=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.spinner2;fontStyle\x3d0;fontColor\x3d#ffffff;align\x3dcenter;verticalAlign\x3dmiddle;strokeColor\x3d#aaeeff;fillColor\x3d#aaeeff;");
d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Spinner Pressed")}),this.addEntry("android spinner pressed light bright",function(){var a=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rect;rounded\x3d1;fillColor\x3d#33b5e5;strokeColor\x3d#33b5e5;");a.vertex=!0;var d=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.spinner2;fontStyle\x3d0;fontColor\x3d#ffffff;align\x3dcenter;verticalAlign\x3dmiddle;strokeColor\x3d#666666;fillColor\x3d#666666;");
d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Spinner Pressed Bright")}),this.addEntry("android split action bar dark",function(){var a=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.split_action_bar;fillColor\x3d#1A1A1A;");a.vertex=!0;var d=new mxCell("Split",new mxGeometry(0,0,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");
d.vertex=!0;a.insert(d);d=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Split Action Bar")}),this.addEntry("android split action bar bright",function(){var a=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.split_action_bar;fillColor\x3d#E6E6E6;");
a.vertex=!0;var d=new mxCell("Split",new mxGeometry(0,0,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;");d.vertex=!0;a.insert(d);d=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Split Action Bar (Bright)")}),this.addEntry("android split action bar landscape dark",
function(){var a=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.split_action_bar_landscape;fillColor\x3d#1A1A1A;");a.vertex=!0;var d=new mxCell("Split",new mxGeometry(0,0,320,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);d=new mxCell("Action",new mxGeometry(0,40,320,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");
d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Split Action Bar Landscape")}),this.addEntry("android split action bar landscape bright",function(){var a=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.split_action_bar_landscape;fillColor\x3d#E6E6E6;");a.vertex=!0;var d=new mxCell("Split",new mxGeometry(0,0,320,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;");
d.vertex=!0;a.insert(d);d=new mxCell("Action",new mxGeometry(0,40,320,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Split Action Bar Landscape (Bright)")}),this.createVertexTemplateEntry("strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.statusBar;align\x3dcenter;fillColor\x3d#000000;strokeColor\x3d#ffffff;fontColor\x3d#ffffff;fontSize\x3d10;",
183.57,15.825,"","Status bar (portrait)",null,null,"android status bar portrait"),this.createVertexTemplateEntry("strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.statusBar;align\x3dcenter;fillColor\x3d#000000;strokeColor\x3d#ffffff;fontColor\x3d#ffffff;fontSize\x3d10;",320.087,15.825,"","Status bar (landscape)",null,null,"android status bar landscape"),this.createVertexTemplateEntry(c+"switch_off;fillColor\x3d#666666;",80,20,"","Switch Off",null,null,"android switch off"),
this.createVertexTemplateEntry(c+"switch_off;fillColor\x3d#E6E6E6;",80,20,"","Switch Off",null,null,"android switch off"),this.createVertexTemplateEntry(c+"switch_on;fillColor\x3d#666666;",80,20,"","Switch On",null,null,"android switch on"),this.createVertexTemplateEntry(c+"switch_on;fillColor\x3d#E6E6E6;",80,20,"","Switch On",null,null,"android switch on"),this.addEntry("android tab tabulator bar dark",function(){var a=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3d#444444;strokeColor\x3dnone;");
a.vertex=!0;var d=new mxCell("Tab 1",new mxGeometry(0,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);d=new mxCell("Tab 2",new mxGeometry(46.25,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fontStyle\x3d1;fillColor\x3d#0099cc;strokeColor\x3dnone;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);var c=new mxCell("",new mxGeometry(0,
27,46.25,3),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3d#33b5e5;strokeColor\x3dnone;");c.vertex=!0;d.insert(c);d=new mxCell("Tab 3",new mxGeometry(92.5,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);d=new mxCell("Tab 4",new mxGeometry(138.75,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");
d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(131.5,5,10,20),"shape\x3dline;strokeColor\x3d#ffffff;direction\x3dsouth;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Tab Bar Dark")}),this.addEntry("android tab tabulator bar dark",function(){var a=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3d#444444;strokeColor\x3dnone;");a.vertex=
!0;var d=new mxCell("Tab 1",new mxGeometry(0,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);d=new mxCell("Tab 2",new mxGeometry(46.25,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fontStyle\x3d1;fillColor\x3dnone;strokeColor\x3dnone;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);var c=new mxCell("",new mxGeometry(0,27,46.25,3),
"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3d#33b5e5;strokeColor\x3dnone;");c.vertex=!0;d.insert(c);d=new mxCell("Tab 3",new mxGeometry(92.5,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);d=new mxCell("Tab 4",new mxGeometry(138.75,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#ffffff;");
d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(131.5,5,10,20),"shape\x3dline;strokeColor\x3d#ffffff;direction\x3dsouth;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Tab Bar Dark")}),this.addEntry("android tab tabulator bar bright",function(){var a=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3d#eeeeee;strokeColor\x3dnone;");a.vertex=
!0;var d=new mxCell("Tab 1",new mxGeometry(0,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Tab 2",new mxGeometry(46.25,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fontStyle\x3d1;fillColor\x3d#44c5f5;strokeColor\x3dnone;fontColor\x3d#ffffff;");d.vertex=!0;a.insert(d);var c=new mxCell("",new mxGeometry(0,27,46.25,
3),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3d#33b5e5;strokeColor\x3dnone;");c.vertex=!0;d.insert(c);d=new mxCell("Tab 3",new mxGeometry(92.5,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Tab 4",new mxGeometry(138.75,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#666666;");
d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(131.5,5,10,20),"shape\x3dline;strokeColor\x3d#666666;direction\x3dsouth;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Tab Bar Bright")}),this.addEntry("android tab tabulator bar bright",function(){var a=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3d#eeeeee;strokeColor\x3dnone;");a.vertex=
!0;var d=new mxCell("Tab 1",new mxGeometry(0,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Tab 2",new mxGeometry(46.25,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fontStyle\x3d1;fillColor\x3dnone;strokeColor\x3dnone;fontColor\x3d#666666;");d.vertex=!0;a.insert(d);var c=new mxCell("",new mxGeometry(0,27,46.25,3),
"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.rrect;rSize\x3d0;fillColor\x3d#33b5e5;strokeColor\x3dnone;");c.vertex=!0;d.insert(c);d=new mxCell("Tab 3",new mxGeometry(92.5,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#666666;");d.vertex=!0;a.insert(d);d=new mxCell("Tab 4",new mxGeometry(138.75,0,46.25,30),"strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.anchor;fontStyle\x3d1;fontColor\x3d#666666;");
d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(131.5,5,10,20),"shape\x3dline;strokeColor\x3d#666666;direction\x3dsouth;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Tab Bar Bright")}),this.createVertexTemplateEntry("strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.textfield;align\x3dcenter;strokeColor\x3d#4D4D4D;",174,30,"","Textfield Disabled",null,null,"android textfield disabled"),this.createVertexTemplateEntry("strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.textfield;align\x3dcenter;strokeColor\x3d#999999;",
174,30,"","Textfield Normal",null,null,"android textfield normal"),this.createVertexTemplateEntry("strokeWidth\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.android.textfield;align\x3dcenter;strokeColor\x3d#33b5e5;",174,30,"","Textfield Activated",null,null,"android textfield activated"),this.createVertexTemplateEntry(c+"text_insertion_point;",20,30,"","Text Insertion Point",null,null,"android textfield insertion point"),this.createVertexTemplateEntry(c+"textSelHandles;fillColor\x3d#33b5e5;strokeColor\x3d#0099cc;",
168.8,42.2,"","Text Selection Handles",null,null,"android text selection handle"),this.createVertexTemplateEntry(c+"time_picker;",150,230,"","Time Picker (Bright)",null,null,"android time picker bright"),this.createVertexTemplateEntry(c+"time_picker_dark;",150,230,"","Time Picker (Dark)",null,null,"android time picker dark"),this.createVertexTemplateEntry(f+"rect;fillColor\x3d#33b5e5;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(f+"rect;fillColor\x3d#0099cc;",50,50,
"","Color",null,null,"android color"),this.createVertexTemplateEntry(f+"rect;fillColor\x3d#aa66cc;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(f+"rect;fillColor\x3d#9933cc;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(f+"rect;fillColor\x3d#99cc00;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(f+"rect;fillColor\x3d#669900;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(f+"rect;fillColor\x3d#ffbb33;",
50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(f+"rect;fillColor\x3d#ff8800;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(f+"rect;fillColor\x3d#ff4444;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(f+"rect;fillColor\x3d#cc0000;",50,50,"","Color",null,null,"android color")];this.addPalette("android",mxResources.get("android"),!1,mxUtils.bind(this,function(b){for(var d=0;d<a.length;d++)b.appendChild(a[d](b))}))}})();
(function(){Sidebar.prototype.addArchiMatePalette=function(){this.addPaletteFunctions("archimate",mxResources.get("archiMate21"),!1,[this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.application;appType\x3dactor",100,75,"","Business Actor",null,null,this.getTagsForStencil("mxgraph.archimate","application","archimate business actor").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.application;appType\x3drole",
100,75,"","Business Role",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business role").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.application;appType\x3dcollab",100,75,"","Business Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business collaboration").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.application;appType\x3dinterface",
100,75,"","Business Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business interface").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.application;appType\x3dinterface2",100,75,"","Business Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business interface").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.location",
100,75,"","Location",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate location").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.business;busType\x3dprocess",100,75,"","Business Process",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business process").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.business;busType\x3dfunction",
100,75,"","Business Function",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business function").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.business;busType\x3dinteraction",100,75,"","Business Interaction",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business interaction").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.business;busType\x3devent",
100,75,"","Business Event",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business event").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.business;busType\x3dservice",100,75,"","Business Service",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business service").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.businessObject;overflow\x3dfill",
100,75,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr style\x3d"height:20px;"\x3e\x3ctd align\x3d"center"\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"top" style\x3d"padding:4px;"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',"Business Object",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business object").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.representation",
100,75,"","Representation",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate representation").join(" ")),this.createVertexTemplateEntry("fillColor\x3d#ffff99;whiteSpace\x3dwrap;shape\x3dcloud;html\x3d1;",100,75,"","Meaning",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate meaning").join(" ")),this.createVertexTemplateEntry("fillColor\x3d#ffff99;whiteSpace\x3dwrap;shape\x3dellipse;html\x3d1;",100,56.25,"","Value",null,null,this.getTagsForStencil("mxgraph.archimate",
"","archimate value").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.product;overflow\x3dfill",100,75,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr style\x3d"height:20px;"\x3e\x3ctd align\x3d"left"\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"top" style\x3d"padding:4px;"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',"Product",null,null,this.getTagsForStencil("mxgraph.archimate",
"","archimate product").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;shape\x3dmxgraph.archimate.businessObject;overflow\x3dfill",100,75,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr style\x3d"height:20px;"\x3e\x3ctd align\x3d"center"\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"top" style\x3d"padding:4px;"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',"Contract",null,null,
this.getTagsForStencil("mxgraph.archimate","","archimate contract").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;shape\x3dmxgraph.archimate.application;appType\x3dcomp",100,75,"","Application Component",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application component").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;shape\x3dmxgraph.archimate.application;appType\x3dcollab",100,75,"",
"Application Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application collaboration").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;shape\x3dmxgraph.archimate.application;appType\x3dinterface",100,75,"","Application Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application interface").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;shape\x3dmxgraph.archimate.application;appType\x3dinterface2",
100,75,"","Application Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application interface").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;shape\x3dmxgraph.archimate.application;appType\x3dfunction",100,75,"","Application Function",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application function").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;shape\x3dmxgraph.archimate.application;appType\x3dinteraction",
100,75,"","Application Interaction",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application interaction").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;shape\x3dmxgraph.archimate.application;appType\x3dservice",100,75,"","Application Service",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate application service").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;shape\x3dmxgraph.archimate.businessObject;overflow\x3dfill",
100,75,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr style\x3d"height:20px;"\x3e\x3ctd align\x3d"center"\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"top" style\x3d"padding:4px;"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',"Data Object",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate data object").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ff99;shape\x3dmxgraph.archimate.application;appType\x3dnode",
100,75,"","Node",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate node").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ff99;shape\x3dmxgraph.archimate.tech;techType\x3ddevice",100,75,"","Device",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate device").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ff99;shape\x3dmxgraph.archimate.application;appType\x3dnetwork",100,75,"","Network",
null,null,this.getTagsForStencil("mxgraph.archimate","","archimate network").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ff99;shape\x3dmxgraph.archimate.application;appType\x3dcommPath",100,75,"","Communications Path",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate communications path").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ff99;shape\x3dmxgraph.archimate.application;appType\x3dinterface",
100,75,"","Infrastructure Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate infrastructure interface").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ff99;shape\x3dmxgraph.archimate.application;appType\x3dinterface2",100,75,"","Infrastructure Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate infrastructure interface").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ff99;shape\x3dmxgraph.archimate.application;appType\x3dsysSw",
100,75,"","System Software",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate system software").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ff99;shape\x3dmxgraph.archimate.business;busType\x3dfunction",100,75,"","Infrastructure Function",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate infraastructure function").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ff99;shape\x3dmxgraph.archimate.business;busType\x3dservice",
100,75,"","Infrastructure Service",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate infrastructure service").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ff99;shape\x3dmxgraph.archimate.application;appType\x3dartifact",100,75,"","Artifact",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate artifact").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dnone;elbow\x3dvertical",100,75,
"","Association",null,this.getTagsForStencil("mxgraph.archimate","","archimate association").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dopen;elbow\x3dvertical;endFill\x3d1;dashed\x3d1",100,75,"","Access",null,this.getTagsForStencil("mxgraph.archimate","","archimate access").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dnone;elbow\x3dvertical;endFill\x3d0;dashed\x3d1",100,75,"","Access",null,this.getTagsForStencil("mxgraph.archimate",
"","archimate access").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dopen;elbow\x3dvertical;endFill\x3d1",100,75,"","Used by",null,this.getTagsForStencil("mxgraph.archimate","","archimate used by").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dblock;elbow\x3dvertical;endFill\x3d0;dashed\x3d1",100,75,"","Realization",null,this.getTagsForStencil("mxgraph.archimate","","archimate realization").join(" ")),this.createEdgeTemplateEntry("endArrow\x3doval;html\x3d1;endFill\x3d1;startArrow\x3doval;startFill\x3d1;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical",
100,75,"","Assignment",null,this.getTagsForStencil("mxgraph.archimate","","archimate assignment").join(" ")),this.createEdgeTemplateEntry("endArrow\x3dnone;html\x3d1;endFill\x3d0;startArrow\x3ddiamondThin;startFill\x3d0;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical",100,75,"","Aggregation",null,this.getTagsForStencil("mxgraph.archimate","","archimate aggregation").join(" ")),this.createEdgeTemplateEntry("endArrow\x3dnone;html\x3d1;endFill\x3d0;startArrow\x3ddiamondThin;startFill\x3d1;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical",
100,75,"","Composition",null,this.getTagsForStencil("mxgraph.archimate","","archimate composition").join(" ")),this.createEdgeTemplateEntry("endArrow\x3dblock;html\x3d1;endFill\x3d1;startArrow\x3dnone;startFill\x3d0;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;dashed\x3d1",100,75,"","A",null,this.getTagsForStencil("mxgraph.archimate","","archimate ").join(" ")),this.createEdgeTemplateEntry("endArrow\x3dblock;html\x3d1;endFill\x3d1;startArrow\x3dnone;startFill\x3d0;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;dashed\x3d1",
100,75,"","Flow",null,this.getTagsForStencil("mxgraph.archimate","","archimate flow").join(" ")),this.createEdgeTemplateEntry("endArrow\x3dblock;html\x3d1;endFill\x3d1;startArrow\x3dnone;startFill\x3d0;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;dashed\x3d0",100,75,"","Triggering",null,this.getTagsForStencil("mxgraph.archimate","","archimate triggering").join(" ")),this.createVertexTemplateEntry("swimlane;html\x3d1;fillColor\x3d#ffffff;whiteSpace\x3dwrap",100,75,"","Grouping",null,this.getTagsForStencil("mxgraph.archimate",
"","archimate grouping").join(" ")),this.createVertexTemplateEntry("ellipse;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;fillColor\x3d#000000",10,10,"","Junction",null,this.getTagsForStencil("mxgraph.archimate","","archimate junction").join(" ")),this.createEdgeTemplateEntry("endArrow\x3dblock;html\x3d1;endFill\x3d0;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical",100,75,"","Specialization",null,this.getTagsForStencil("mxgraph.archimate","","archimate specialization").join(" ")),
this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffccff;shape\x3dmxgraph.archimate.motiv;motivType\x3dstake",100,75,"","Stakeholder",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate stakeholder").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffccff;shape\x3dmxgraph.archimate.motiv;motivType\x3ddriver",100,75,"","Driver",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate driver").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffccff;shape\x3dmxgraph.archimate.motiv;motivType\x3dassess",
100,75,"","Assessment",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate assesment").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ccccff;shape\x3dmxgraph.archimate.motiv;motivType\x3dgoal",100,75,"","Goal",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate goal").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ccccff;shape\x3dmxgraph.archimate.motiv;motivType\x3dreq",100,75,"","Requirement",
null,null,this.getTagsForStencil("mxgraph.archimate","","archimate goal").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ccccff;shape\x3dmxgraph.archimate.motiv;motivType\x3dconst",100,75,"","Constraint",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate constraint").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ccccff;shape\x3dmxgraph.archimate.motiv;motivType\x3dprinc",100,75,"","Principle",null,null,
this.getTagsForStencil("mxgraph.archimate","","archimate principle").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffe0e0;shape\x3dmxgraph.archimate.rounded\x3d1",100,75,"","Work Package",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate work package").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffe0e0;shape\x3dmxgraph.archimate.representation",100,75,"","Deliverable",null,null,this.getTagsForStencil("mxgraph.archimate",
"","archimate deliverable").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ff99;shape\x3dmxgraph.archimate.tech;techType\x3dplateau",100,75,"","Plateau",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate plateau").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ff99;shape\x3dmxgraph.archimate.gap",100,75,"","Gap",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate gap").join(" "))])}})();
(function(){Sidebar.prototype.addArchimate3Palette=function(){this.addArchimate3ApplicationPalette();this.addArchimate3BusinessPalette();this.addArchimate3CompositePalette();this.addArchimate3ImplementationAndMigrationPalette();this.addArchimate3MotivationPalette();this.addArchimate3PhysicalPalette();this.addArchimate3RelationshipsPalette();this.addArchimate3StrategyPalette();this.addArchimate3TechnologyPalette()};Sidebar.prototype.addArchimate3ApplicationPalette=function(){var b=[this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dcomp;archiType\x3dsquare;",
150,75,"","Application Component",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer component").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.component;",70,75,"","Component",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer component").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dcollab;archiType\x3dsquare;",
150,75,"","Application Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer collaboration").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.collaboration;",60,35,"","Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer collaboration").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dinterface;archiType\x3dsquare;",
150,75,"","Application Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer component").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.interface;",70,35,"","Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer interface").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dproc;archiType\x3drounded;",
150,75,"","Application Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer process").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.process;",150,75,"","Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer process").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dfunc;archiType\x3drounded;",
150,75,"","Application Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer function").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.function;",75,75,"","Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer function").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dinteraction;archiType\x3drounded;",
150,75,"","Application Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer interaction").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.interaction;",75,75,"","Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer interaction").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dserv;archiType\x3drounded",
150,75,"","Application Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer service").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.service;",60,35,"","Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer service").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3devent;archiType\x3drounded",
150,75,"","Application Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer event").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.event;",60,35,"","Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer event").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#99ffff;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.businessObject;overflow\x3dfill",
150,75,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr style\x3d"height:20px;"\x3e\x3ctd align\x3d"center"\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"top" style\x3d"padding:4px;"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',"Data Object",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer data object").join(" "))];this.addPalette("archimate3Application","Archimate 3.0 / Application",
!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addArchimate3BusinessPalette=function(){var b=[this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dactor;archiType\x3dsquare;",150,75,"","Business Actor",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer actor").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.actor;",
50,95,"","Actor",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer actor").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3drole;archiType\x3dsquare;",150,75,"","Business Role",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer role").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.role;",
85,50,"","Role",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer role").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dcollab;archiType\x3dsquare;",150,75,"","Business Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer collaboration").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.collaboration;",
60,35,"","Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer collaboration").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dinterface;archiType\x3dsquare;",150,75,"","Business Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer component").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.interface;",
70,35,"","Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer interface").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dproc;archiType\x3drounded;",150,75,"","Business Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer process").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.process;",
150,75,"","Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer process").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dfunc;archiType\x3drounded;",150,75,"","Business Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer function").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.function;",
75,75,"","Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer function").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dinteraction;archiType\x3drounded;",150,75,"","Business Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer interaction").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.interaction;",
75,75,"","Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer interaction").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dserv;archiType\x3drounded;",150,75,"","Business Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer service").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.service;",
60,35,"","Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer service").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3devent;archiType\x3drounded;",150,75,"","Application Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer event").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.event;",
60,35,"","Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer event").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.businessObject;overflow\x3dfill;",150,75,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr style\x3d"height:20px;"\x3e\x3ctd align\x3d"center"\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"top" style\x3d"padding:4px;"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
"Business Object",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer data object").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.contract;",150,75,"","Contract",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer contract").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.product;",
150,75,"","Product",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer product").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffff99;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.representation;",150,90,"","Representation",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer representation").join(" "))];this.addPalette("archimate3Business","Archimate 3.0 / Business",!1,mxUtils.bind(this,function(c){for(var f=
0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addArchimate3CompositePalette=function(){var b=[this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#FFB973;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dactor;archiType\x3dsquare;",150,75,"","Location",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate composite element actor").join(" ")),this.createVertexTemplateEntry("shape\x3dfolder;spacingTop\x3d10;tabWidth\x3d100;tabHeight\x3d25;tabPosition\x3dleft;html\x3d1;dashed\x3d1;",
150,105,"","Group",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate composite element actor").join(" "))];this.addPalette("archimate3Composite","Archimate 3.0 / Composite",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addArchimate3ImplementationAndMigrationPalette=function(){var b=[this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#FFE0E0;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;archiType\x3drounded;",
150,75,"","Work Package",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element work package").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#FFE0E0;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3devent;archiType\x3drounded;",150,75,"","Implementation Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element implementation event").join(" ")),
this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#FFE0E0;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.event;",60,35,"","Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element event").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#FFE0E0;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.deliverable;",150,60,"","Deliverable",null,null,this.getTagsForStencil("mxgraph.archimate3",
"","archimate implementation migration element deliverable").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#E0FFE0;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.tech;techType\x3dplateau;",150,75,"","Plateau",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element plateau").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#E0FFE0;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.gap;",
150,60,"","Gap",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation migration element gap").join(" "))];this.addPalette("archimate3Implementation and Migration","Archimate 3.0 / Implementation and Migration",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addArchimate3MotivationPalette=function(){var b=[this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#CCCCFF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3drole;archiType\x3doct;",
150,75,"","Stakeholder",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element stakeholder").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#CCCCFF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3ddriver;archiType\x3doct;",150,75,"","Driver",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element driver").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#CCCCFF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dassess;archiType\x3doct;",
150,75,"","Assesment",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element assessment").join(" ")),this.createVertexTemplateEntry("shape\x3dellipse;html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#CCCCFF;strokeColor\x3d#000000;",150,75,"","Value",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element value").join(" ")),this.createVertexTemplateEntry("shape\x3dcloud;html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#CCCCFF;strokeColor\x3d#000000;",
150,75,"","Meaning",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element meaning").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#CCCCFF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dgoal;archiType\x3doct;",150,75,"","Goal",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element goal").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#CCCCFF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3doutcome;archiType\x3doct;",
150,75,"","Outcome",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element outcome").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#CCCCFF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dprinciple;archiType\x3doct;",150,75,"","Principle",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element principle").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#CCCCFF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3drequirement;archiType\x3doct;",
150,75,"","Requirement",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element requirement").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#CCCCFF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.requirement;",100,50,"","Requirement",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element requirement").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#CCCCFF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dconstraint;archiType\x3doct;",
150,75,"","Constraint",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element constraint").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#CCCCFF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.constraint;",100,50,"","Constraint",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementation motivation element constraint").join(" "))];this.addPalette("archimate3Motivation","Archimate 3.0 / Motivation",
!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addArchimate3PhysicalPalette=function(){var b=[this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.tech;techType\x3dfacility;",150,75,"","Facility",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element facility").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.tech;techType\x3dequipment;",
150,75,"","Equipment",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element equipment").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dmaterial;archiType\x3dsquare;",150,75,"","Material",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element material").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3ddistribution;archiType\x3dsquare;",
150,75,"","Distribution Network",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element distribution").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.distribution;",90,40,"","Distribution Network",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate physical element distribution").join(" "))];this.addPalette("archimate3Physical","Archimate 3.0 / Physical",!1,
mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addArchimate3RelationshipsPalette=function(){var b=this,c=[this.createEdgeTemplateEntry("html\x3d1;endArrow\x3ddiamondThin;endFill\x3d1;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;endSize\x3d10;",160,0,"","Composition",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship composition").join(" ")),this.createEdgeTemplateEntry("html\x3d1;endArrow\x3ddiamondThin;endFill\x3d0;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;endSize\x3d10;",
160,0,"","Aggregation",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship aggregation").join(" ")),this.createEdgeTemplateEntry("endArrow\x3dblock;html\x3d1;endFill\x3d1;startArrow\x3doval;startFill\x3d1;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;",160,0,"","Assignment",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship assignment").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dblock;elbow\x3dvertical;endFill\x3d0;dashed\x3d1;",
160,0,"","Realization",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship realization").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dopen;elbow\x3dvertical;endFill\x3d1;",160,0,"","Serving",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship serving").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dnone;elbow\x3dvertical;dashed\x3d1;startFill\x3d0;dashPattern\x3d1 4;",
160,0,"","Access",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship access").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dopen;elbow\x3dvertical;endFill\x3d0;dashed\x3d1;startArrow\x3dopen;startFill\x3d0;dashPattern\x3d1 4;",160,0,"","Access",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship access").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dopen;elbow\x3dvertical;endFill\x3d0;dashed\x3d1;dashPattern\x3d1 4;",
160,0,"","Access",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship access").join(" ")),this.addEntry("uml influence",function(){var c=new mxCell("+/-",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dopen;elbow\x3dvertical;endFill\x3d0;dashed\x3d1;dashPattern\x3d6 4;");c.geometry.setTerminalPoint(new mxPoint(0,0),!0);c.geometry.setTerminalPoint(new mxPoint(160,0),!1);c.geometry.relative=!0;c.geometry.x=1;c.geometry.y=10;c.edge=!0;return b.createEdgeTemplateFromCells([c],
160,0,"Influence")}),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dblock;dashed\x3d0;elbow\x3dvertical;endFill\x3d1;",160,0,"","Triggering",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship triggering").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dblock;dashed\x3d1;elbow\x3dvertical;endFill\x3d1;dashPattern\x3d6 4;",160,0,"","Flow",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship flow").join(" ")),
this.createEdgeTemplateEntry("endArrow\x3dblock;html\x3d1;endFill\x3d0;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;",160,0,"","Specialization",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship specialization").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3delbowEdgeStyle;html\x3d1;endArrow\x3dnone;elbow\x3dvertical;",160,0,"","Association",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship association").join(" ")),this.createVertexTemplateEntry("ellipse;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;fillColor\x3d#000000;strokeColor\x3d#000000;",
10,10,"","And Junction",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship junction").join(" ")),this.createVertexTemplateEntry("ellipse;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;fillColor\x3d#ffffff;strokeColor\x3d#000000;",10,10,"","Or Junction",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship junction").join(" "))];this.addPalette("archimate3Relationships","Archimate 3.0 / Relationships",!1,
mxUtils.bind(this,function(b){for(var d=0;d<c.length;d++)b.appendChild(c[d](b))}))};Sidebar.prototype.addArchimate3StrategyPalette=function(){var b=[this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#F5DEAA;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dresource;archiType\x3dsquare;",150,75,"","Resource",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate strategy resource").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#F5DEAA;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dcapability;archiType\x3dsquare;",
150,75,"","Capability",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate strategy capability").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#F5DEAA;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dcourse;archiType\x3dsquare;",150,75,"","Course of Action",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate strategy course action").join(" "))];this.addPalette("archimate3Strategy","Archimate 3.0 / Strategy",
!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addArchimate3TechnologyPalette=function(){var b=[this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dnode;archiType\x3dsquare;",150,75,"","Node",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology node").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.node;",
100,60,"","Node",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology node").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.tech;techType\x3ddevice;",150,75,"","Device",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology device").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.device;",
80,65,"","Device",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology device").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dsysSw;archiType\x3dsquare;",150,75,"","System Software",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology system software").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.tech;techType\x3dsysSw;",
120,75,"","System Software",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology system software").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dcollab;archiType\x3dsquare;",150,75,"","Technology Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology collaboration").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.collaboration;",
60,35,"","Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology collaboration").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dinterface;archiType\x3dsquare;",150,75,"","Technology Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology component").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.interface;",
70,35,"","Interface",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology interface").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dproc;archiType\x3drounded;",150,75,"","Technology Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology process").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.process;",
150,75,"","Process",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology process").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dfunc;archiType\x3drounded;",150,75,"","Technology Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology function").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.function;",
75,75,"","Function",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology function").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dinteraction;archiType\x3drounded;",150,75,"","Technology Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology interaction").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.interaction;",
75,75,"","Interaction",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology interaction").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dserv;archiType\x3drounded",150,75,"","Technology Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology service").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.service;",
60,35,"","Service",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology service").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3devent;archiType\x3drounded",150,75,"","Technology Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology event").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.event;",
60,35,"","Event",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology event").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dartifact;archiType\x3dsquare;",150,75,"","Technology Artifact",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology artifact").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.artifact;",
50,75,"","Artifact",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology artifact").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dnetw;archiType\x3dsquare;",150,75,"","Communication Network",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology communication network").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.commNetw;strokeWidth\x3d6;",
100,30,"","Communication Network",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology communication network").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.application;appType\x3dpath;archiType\x3dsquare;",150,75,"","Path",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology communication network").join(" ")),this.createVertexTemplateEntry("html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#AFFFAF;strokeColor\x3d#000000;shape\x3dmxgraph.archimate3.path;strokeWidth\x3d6;",
100,30,"","Path",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology path").join(" "))];this.addPalette("archimate3Technology","Archimate 3.0 / Technology",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))}})();
(function(){Sidebar.prototype.addArrows2Palette=function(){var b=[this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.arrow;dy\x3d0.6;dx\x3d40;notch\x3d0;",100,70,"","Arrow Right",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow right").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.arrow;dy\x3d0.6;dx\x3d40;flipH\x3d1;notch\x3d0;",
100,70,"","Arrow Left",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow leftt").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.arrow;dy\x3d0.6;dx\x3d40;direction\x3dnorth;notch\x3d0;",70,100,"","Arrow Up",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow up").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.arrow;dy\x3d0.6;dx\x3d40;direction\x3dsouth;notch\x3d0;",
70,100,"","Arrow Down",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow down").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.arrow;dy\x3d0;dx\x3d30;notch\x3d30;",100,60,"","Chevron Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow chevron").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.arrow;dy\x3d0.6;dx\x3d40;notch\x3d15;",
100,70,"","Notched Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow notched").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.arrow;dy\x3d0;dx\x3d10;notch\x3d10;",100,30,"","Notched Signal-In Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow notched signal in").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.arrow;dy\x3d0;dx\x3d10;notch\x3d0;",
100,30,"","Signal-In Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow signal in").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.arrow;dy\x3d0.67;dx\x3d20;notch\x3d0;",100,60,"","Slender Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow slender").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.twoWayArrow;dy\x3d0.6;dx\x3d35;",
100,60,"","Two Way Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow two way").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.twoWayArrow;dy\x3d0.65;dx\x3d22;",100,60,"","Slender Two Way Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow slender two way").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.stylisedArrow;dy\x3d0.6;dx\x3d40;notch\x3d15;feather\x3d0.4;",
100,60,"","Stylised Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow stylised notch notched").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.sharpArrow;dy1\x3d0.67;dx1\x3d18;dx2\x3d18;notch\x3d0;",100,60,"","Sharp Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow sharp").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.sharpArrow2;dy1\x3d0.67;dx1\x3d18;dx2\x3d18;dy3\x3d0.15;dx3\x3d27;notch\x3d0;",
100,60,"","Sharp Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow sharp").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.calloutArrow;dy\x3d10;dx\x3d20;notch\x3d60;arrowHead\x3d10;",100,60,"","Callout with Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.bendArrow;dy\x3d15;dx\x3d38;notch\x3d0;arrowHead\x3d55;rounded\x3d0;",
100,100,"","Bend Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow bend").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.bendArrow;dy\x3d15;dx\x3d38;notch\x3d0;arrowHead\x3d55;rounded\x3d1;",100,100,"","Bend Arrow (rounded)",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow bend rounded").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.bendDoubleArrow;dy\x3d15;dx\x3d38;arrowHead\x3d55;rounded\x3d0;",
100,100,"","Bend Double Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow bend double two way").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.bendDoubleArrow;dy\x3d15;dx\x3d38;arrowHead\x3d55;rounded\x3d1;",100,100,"","Bend Double Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow bend double two way").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.calloutDoubleArrow;dy\x3d10;dx\x3d20;notch\x3d24;arrowHead\x3d10;",
100,50,"","Callout with Double Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout double two way").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.calloutQuadArrow;dy\x3d10;dx\x3d20;notch\x3d24;arrowHead\x3d10;",100,100,"","Callout with Quad Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout quad four war").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.calloutDouble90Arrow;dy1\x3d10;dx1\x3d20;dx2\x3d70;dy2\x3d70;arrowHead\x3d10;",
100,100,"","Callout with Double Arrow 90"+String.fromCharCode(176),null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout double two way orthogonal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.quadArrow;dy\x3d10;dx\x3d20;notch\x3d24;arrowHead\x3d10;",100,100,"","Quad Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow four way quad").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.triadArrow;dy\x3d10;dx\x3d20;arrowHead\x3d40;",
100,70,"","Triad Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow three way triad").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.tailedArrow;dy1\x3d10;dx1\x3d20;notch\x3d0;arrowHead\x3d20;dx2\x3d25;dy2\x3d30;",100,60,"","Tailed Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow tailed").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.tailedNotchedArrow;dy1\x3d10;dx1\x3d20;notch\x3d20;arrowHead\x3d20;dx2\x3d25;dy2\x3d30;",
100,60,"","Tailed Arrow witch Notch",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow tailed notch notched").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.stripedArrow;dy\x3d0.6;dx\x3d40;notch\x3d25;",100,70,"","Striped Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow striped").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.jumpInArrow;dy\x3d15;dx\x3d38;arrowHead\x3d55;",
100,100,"","Jump-In Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow jump in").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;verticalAlign\x3dmiddle;shape\x3dmxgraph.arrows2.uTurnArrow;dy\x3d11;arrowHead\x3d43;dx2\x3d25;",100,100,"","U Turn Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow u turn uturn").join(" "))];this.addPalette("arrows2",mxResources.get("arrows"),!1,mxUtils.bind(this,function(c){for(var f=
0;f<b.length;f++)c.appendChild(b[f](c))}))}})();
(function(){Sidebar.prototype.addAWSPalette=function(){this.addAWSAnalyticsPalette();this.addAWSApplicationServicesPalette();this.addAWSComputePalette();this.addAWSDatabasePalette();this.addAWSDeveloperToolsPalette();this.addAWSEnterpriseApplicationsPalette();this.addAWSGameDevelopmentPalette();this.addAWSGeneralPalette();this.addAWSInternetOfThingsPalette();this.addAWSManagementToolsPalette();this.addAWSMobileServicesPalette();this.addAWSNetworkingPalette();this.addAWSOnDemandWorkforcePalette();
this.addAWSSDKPalette();this.addAWSSecurityAndIdentityPalette();this.addAWSStorageAndContentDeliveryPalette();this.addAWSGroupPalette()};Sidebar.prototype.addAWSAnalyticsPalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2Analytics","AWS / Analytics",!1,[this.createVertexTemplateEntry(b+"analytics.data_pipeline;strokeColor\x3dnone;",60,72,"","Data Pipeline",null,null,this.getTagsForStencil("mxgraph.aws.analytics","data pipeline",
"aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"analytics.elasticsearch;strokeColor\x3dnone;",60,72,"","ElasticSearch",null,null,this.getTagsForStencil("mxgraph.aws.analytics","elasticsearch","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"analytics.emr;strokeColor\x3dnone;",60,72,"","EMR",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+
"compute_and_networking.emr_cluster;strokeColor\x3dnone;",49,55,"","EMR Cluster",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr cluster","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.emr_engine;strokeColor\x3dnone;",74,53,"","EMR Engine",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.emr_hdfs_cluster;strokeColor\x3dnone;",
54,56,"","EMR HDFS Cluster",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr hdfs cluster","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.emr_mapr_m3_engine;strokeColor\x3dnone;",74,53,"","EMR MapR M3 Engine",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr mapr m3 engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.emr_mapr_m5_engine;strokeColor\x3dnone;",
74,53,"","EMR MapR M5 Engine",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr mapr m5 engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.emr_mapr_m7_engine;strokeColor\x3dnone;",74,53,"","EMR MapR M7 Engine",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr mapr m7 engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"analytics.kinesis;strokeColor\x3dnone;",59,72,"",
"Kinesis",null,null,this.getTagsForStencil("mxgraph.aws.analytics","kinesis","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"analytics.kinesis_analytics;strokeColor\x3dnone;",66,67,"","Kinesis Analytics",null,null,this.getTagsForStencil("mxgraph.aws.analytics","kinesis analytics","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"analytics.kinesis_enabledapp;strokeColor\x3dnone;",58,60,"","Kinesis EnabledApp",null,null,this.getTagsForStencil("mxgraph.aws.analytics",
"kinesis enabledapp enabled app","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"analytics.kinesis_firehose;strokeColor\x3dnone;",53,56,"","Kinesis Firehose",null,null,this.getTagsForStencil("mxgraph.aws.analytics","kinesis firehose","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"analytics.kinesis_streams;strokeColor\x3dnone;",53,56,"","Kinesis Streams",null,null,this.getTagsForStencil("mxgraph.aws.analytics","kinesis streams",
"aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"analytics.machine_learning;strokeColor\x3dnone;",60,72,"","Machine Learning",null,null,this.getTagsForStencil("mxgraph.aws.analytics","machine learning","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"analytics.quicksight;strokeColor\x3dnone;",60,66,"","QuickSight",null,null,this.getTagsForStencil("mxgraph.aws.analytics","quicksight","aws group amazon web service analytics").join(" "))])};
Sidebar.prototype.addAWSApplicationServicesPalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2Application Services","AWS / Application Services",!1,[this.createVertexTemplateEntry(b+"app_services.api_gateway;strokeColor\x3dnone;",60,72,"","API Gateway",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","api gateway","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(b+
"app_services.appstream;strokeColor\x3dnone;",59,72,"","AppStream",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","appstream","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(b+"app_services.cloudsearch;strokeColor\x3dnone;",59,72,"","CloudSearch",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","cloudsearch","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(b+"app_services.cloudsearch_sdf_metadata;strokeColor\x3dnone;",
52,56,"","CloudSearch SDF Metadata",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","cloudsearch sdf metadata","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(b+"app_services.elastic_transcoder;strokeColor\x3dnone;",59,72,"","Elastic Transcoder",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","elastic transcoder","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(b+"app_services.ses;strokeColor\x3dnone;",
61,72,"","SES",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","ses","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(b+"app_services.email;strokeColor\x3dnone;",73,54,"","SES Email",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","ses email","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(b+"app_services.sqs;strokeColor\x3dnone;",59,72,"","SQS",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices",
"sqs","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(b+"app_services.sqs_message;strokeColor\x3dnone;",37,42,"","SQS Message",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","sqs message","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(b+"app_services.sqs_queue;strokeColor\x3dnone;",65,42,"","SQS Queue",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","sqs queue","aws group amazon web service application services").join(" ")),
this.createVertexTemplateEntry(b+"app_services.swf;strokeColor\x3dnone;",59,72,"","SWF",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","swf","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(b+"app_services.swf_decider;strokeColor\x3dnone;",55,57,"","SWF Decider",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","swf decider","aws group amazon web service application services").join(" ")),this.createVertexTemplateEntry(b+
"app_services.swf_worker;strokeColor\x3dnone;",53,56,"","SWF Worker",null,null,this.getTagsForStencil("mxgraph.aws.applicationServices","swf worker","aws group amazon web service application services").join(" "))])};Sidebar.prototype.addAWSComputePalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.compute_and_networking.";this.addPaletteFunctions("aws2Compute","AWS / Compute",!1,[this.createVertexTemplateEntry(b+"auto_scaling;strokeColor\x3dnone;",59,57,"",
"Auto Scaling",null,null,this.getTagsForStencil("mxgraph.aws.compute","auto scaling","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2;strokeColor\x3dnone;",59,72,"","EC2",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_ami;strokeColor\x3dnone;",53,56,"","EC2 AMI",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 ami","aws group amazon web service compute").join(" ")),
this.createVertexTemplateEntry(b+"ec2_cloudwatch;strokeColor\x3dnone;",53,56,"","EC2 CloudWatch",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 cloudwatch","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_db_on_instance;strokeColor\x3dnone;",52,56,"","EC2 DB On Instance",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 db on instance database","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_elastic_ip;strokeColor\x3dnone;",
67,22,"","EC2 Elastic IP",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 elastic ip","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_instance;strokeColor\x3dnone;",52,56,"","EC2 Instance",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 instance","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_instances;strokeColor\x3dnone;",50,57,"","EC2 Instances",null,null,this.getTagsForStencil("mxgraph.aws.compute",
"ec2 instances","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_optimized_instance;strokeColor\x3dnone;",53,56,"","EC2 Optimized Instance",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 optimized instance","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_spot_instance;strokeColor\x3dnone;",53,57,"","EC2 Spot Instance",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 spot instance","aws group amazon web service compute").join(" ")),
this.createVertexTemplateEntry(b+"ec2_container_registry;strokeColor\x3dnone;",61,63,"","EC2 Container Registry",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 container registry","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_container_service;strokeColor\x3dnone;",61,63,"","EC2 Container Service",null,null,this.getTagsForStencil("mxgraph.aws.compute","ec2 container service","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+
"elastic_beanstalk;strokeColor\x3dnone;",59,82,"","Elastic Beanstalk",null,null,this.getTagsForStencil("mxgraph.aws.compute","elastic beanstalk","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_beanstalk_application;strokeColor\x3dnone;",31,57,"","Elastic Beanstalk Application",null,null,this.getTagsForStencil("mxgraph.aws.compute","elastic beanstalk application","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_beanstalk_deployment;strokeColor\x3dnone;",
50,66,"","Elastic Beanstalk Deployment",null,null,this.getTagsForStencil("mxgraph.aws.compute","elastic beanstalk deployment","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_load_balancing_2;strokeColor\x3dnone;",56,58,"","Elastic Load Balancing",null,null,this.getTagsForStencil("mxgraph.aws.compute","elastic load balancing","aws group amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"lambda;strokeColor\x3dnone;",59,72,"","Lambda",
null,null,this.getTagsForStencil("mxgraph.aws.compute","lambda","aws group amazon web service compute").join(" "))])};Sidebar.prototype.addAWSDatabasePalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2Database","AWS / Database",!1,[this.createVertexTemplateEntry(b+"database.database_migration_service;strokeColor\x3dnone;",64,72,"","Database Migration Service",null,null,this.getTagsForStencil("mxgraph.aws.database","database migration service",
"aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.dynamodb;strokeColor\x3dnone;",59,72,"","DynamoDB",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.dynamodb_attribute;strokeColor\x3dnone;",54,56,"","DynamoDB Attribute",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb attribute","aws group amazon web service database").join(" ")),
this.createVertexTemplateEntry(b+"database.dynamodb_attributes;strokeColor\x3dnone;",52,56,"","DynamoDB Attributes",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb attributes","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.dynamodb_global_secondary_indexes;strokeColor\x3dnone;",53,56,"","DynamoDB Global Secondary Index",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb global secondary indexes","aws group amazon web service database").join(" ")),
this.createVertexTemplateEntry(b+"database.dynamodb_item;strokeColor\x3dnone;",55,56,"","DynamoDB Item",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb item","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.dynamodb_items;strokeColor\x3dnone;",52,57,"","DynamoDB Items",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb items","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.dynamodb_table;strokeColor\x3dnone;",
60,56,"","DynamoDB Table",null,null,this.getTagsForStencil("mxgraph.aws.database","dynamodb table","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.elasticcache_memcache;strokeColor\x3dnone;",52,55,"","ElasticCache MemCache",null,null,this.getTagsForStencil("mxgraph.aws.database","elasticcache memcache","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.elasticcache;strokeColor\x3dnone;",59,72,"","ElasticCache",
null,null,this.getTagsForStencil("mxgraph.aws.database","elasticcache","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.elasticcache_node;strokeColor\x3dnone;",52,55,"","ElasticCache Node",null,null,this.getTagsForStencil("mxgraph.aws.database","elasticcache node","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.elasticcache_redis;strokeColor\x3dnone;",52,55,"","ElasticCache Redis",null,null,this.getTagsForStencil("mxgraph.aws.database",
"elasticcache redis","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.rds;strokeColor\x3dnone;",63,72,"","RDS",null,null,this.getTagsForStencil("mxgraph.aws.database","rds","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.rds_db_instance;strokeColor\x3dnone;",43,56,"","RDS DB Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds db instance","aws group amazon web service database").join(" ")),
this.createVertexTemplateEntry(b+"database.rds_instance_read_replica;strokeColor\x3dnone;",43,56,"","RDS Instance Read Replica",null,null,this.getTagsForStencil("mxgraph.aws.database","rds instance read replica","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.rds_instance_standby;strokeColor\x3dnone;",43,56,"","RDS Instance Standby",null,null,this.getTagsForStencil("mxgraph.aws.database","rds instance standby","aws group amazon web service database").join(" ")),
this.createVertexTemplateEntry(b+"database.rds_ms_sql_instance;strokeColor\x3dnone;",52,55,"","RDS MS SQL Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds ms sql instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.rds_ms_sql_instance_2;strokeColor\x3dnone;",52,56,"","RDS MS SQL Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds ms sql instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+
"database.rds_mysql_db_instance;strokeColor\x3dnone;",52,55,"","RDS MySQL Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds mysql db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.rds_mysql_db_instance_2;strokeColor\x3dnone;",52,56,"","RDS MySQL Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds mysql db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.rds_oracle_db_instance;strokeColor\x3dnone;",
52,55,"","RDS Oracle Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds oracle db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.rds_oracle_db_instance_2;strokeColor\x3dnone;",52,56,"","RDS Oracle Instance",null,null,this.getTagsForStencil("mxgraph.aws.database","rds oracle db instance","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.rds_replica_sets_with_piop;strokeColor\x3dnone;",
53,55,"","RDS PIOP",null,null,this.getTagsForStencil("mxgraph.aws.database","rds piop","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.rds_postgresql;strokeColor\x3dnone;",52,55,"","RDS PostgreSQL",null,null,this.getTagsForStencil("mxgraph.aws.database","rds postgresql","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.rds_mastersql;strokeColor\x3dnone;",52,56,"","RDS SQL Master",null,null,this.getTagsForStencil("mxgraph.aws.database",
"rds sql master","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.rds_slavesql;strokeColor\x3dnone;",52,56,"","RDS SQL Slave",null,null,this.getTagsForStencil("mxgraph.aws.database","rds sql slave","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.redshift;strokeColor\x3dnone;",60,66,"","Redshift",null,null,this.getTagsForStencil("mxgraph.aws.database","redshift","aws group amazon web service database").join(" ")),
this.createVertexTemplateEntry(b+"database.redshift_dense_compute_node;strokeColor\x3dnone;",49,55,"","Redshift Dense Compute Node",null,null,this.getTagsForStencil("mxgraph.aws.database","redshift dense compute node","aws group amazon web service database").join(" ")),this.createVertexTemplateEntry(b+"database.redshift_dense_storage_node;strokeColor\x3dnone;",49,55,"","Redshift Dense Storage Node",null,null,this.getTagsForStencil("mxgraph.aws.database","redshift dense storage node","aws group amazon web service database").join(" "))])};
Sidebar.prototype.addAWSDeveloperToolsPalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2Developer Tools","AWS / Developer Tools",!1,[this.createVertexTemplateEntry(b+"developer_tools.code_commit;strokeColor\x3dnone;",68,82,"","Code Commit",null,null,this.getTagsForStencil("mxgraph.aws.developerTools","code commit","aws group amazon web service developer tools").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.codedeploy;strokeColor\x3dnone;",
59,72,"","Code Deploy",null,null,this.getTagsForStencil("mxgraph.aws.developerTools","codedeploy","aws group amazon web service developer tools").join(" ")),this.createVertexTemplateEntry(b+"developer_tools.code_pipeline;strokeColor\x3dnone;",60,72,"","Code Pipeline",null,null,this.getTagsForStencil("mxgraph.aws.developerTools","code pipeline","aws group amazon web service developer tools").join(" "))])};Sidebar.prototype.addAWSEnterpriseApplicationsPalette=function(){var b="dashed\x3d0;html\x3d1;"+
mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2Enterprise Applications","AWS / Enterprise Applications",!1,[this.createVertexTemplateEntry(b+"enterprise_applications.workdocs;strokeColor\x3dnone;",74,85,"","WorkDocs",null,null,this.getTagsForStencil("mxgraph.aws.enterpriseApplications","workdocs","aws group amazon web service enterprise applications").join(" ")),this.createVertexTemplateEntry(b+"enterprise_applications.workmail;strokeColor\x3dnone;",74,85,"","WorkMail",
null,null,this.getTagsForStencil("mxgraph.aws.enterpriseApplications","workmail","aws group amazon web service enterprise applications").join(" ")),this.createVertexTemplateEntry(b+"enterprise_applications.workspaces;strokeColor\x3dnone;",74,85,"","WorkSpaces",null,null,this.getTagsForStencil("mxgraph.aws.enterpriseApplications","workspaces","aws group amazon web service enterprise applications").join(" "))])};Sidebar.prototype.addAWSGameDevelopmentPalette=function(){this.addPaletteFunctions("aws2Game Development",
"AWS / Game Development",!1,[this.createVertexTemplateEntry("dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.game_development.gamelift;strokeColor\x3dnone;",62,75,"","GameLift",null,null,this.getTagsForStencil("mxgraph.aws.gameDevelopment","game lift","aws amazon web service game development").join(" "))])};Sidebar.prototype.addAWSGeneralPalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2General","AWS / General",
!1,[this.createVertexTemplateEntry(b+"non-service_specific.client;strokeColor\x3dnone;",57,57,"","Client",null,null,this.getTagsForStencil("mxgraph.aws.general","client","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+"non-service_specific.cloud;strokeColor\x3dnone;",70,46,"","Cloud",null,null,this.getTagsForStencil("mxgraph.aws.general","cloud","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+"non-service_specific.corporate_data_center;strokeColor\x3dnone;",
42,57,"","Corporate Data Center",null,null,this.getTagsForStencil("mxgraph.aws.general","corporate data center","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+"non-service_specific.disk;strokeColor\x3dnone;",57,57,"","Disk",null,null,this.getTagsForStencil("mxgraph.aws.general","disk","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+"non-service_specific.forums;strokeColor\x3dnone;",76,73,"","Forums",null,null,this.getTagsForStencil("mxgraph.aws.general",
"forums","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+"non-service_specific.generic_database;strokeColor\x3dnone;",44,57,"","Generic Database",null,null,this.getTagsForStencil("mxgraph.aws.general","generic database","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+"non-service_specific.internet;strokeColor\x3dnone;",70,46,"","Internet",null,null,this.getTagsForStencil("mxgraph.aws.general","internet","aws amazon web service general").join(" ")),
this.createVertexTemplateEntry(b+"non-service_specific.management_console;strokeColor\x3dnone;",57,57,"","Management Console",null,null,this.getTagsForStencil("mxgraph.aws.general","management console","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+"non-service_specific.mobile_client;strokeColor\x3dnone;",37,57,"","Mobile Client",null,null,this.getTagsForStencil("mxgraph.aws.general","mobile client","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+
"non-service_specific.multimedia;strokeColor\x3dnone;",59,57,"","Multimedia",null,null,this.getTagsForStencil("mxgraph.aws.general","multimedia","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+"non-service_specific.tape_storage;strokeColor\x3dnone;",68,38,"","Tape Storage",null,null,this.getTagsForStencil("mxgraph.aws.general","tape storage","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+"non-service_specific.traditional_server;strokeColor\x3dnone;",
41,56,"","Traditional Server",null,null,this.getTagsForStencil("mxgraph.aws.general","traditional server","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+"non-service_specific.user;strokeColor\x3dnone;",41,56,"","User",null,null,this.getTagsForStencil("mxgraph.aws.general","user","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+"non-service_specific.users;strokeColor\x3dnone;",58,56,"","Users",null,null,this.getTagsForStencil("mxgraph.aws.general",
"users","aws amazon web service general").join(" ")),this.createVertexTemplateEntry(b+"non-service_specific.virtual_private_cloud;strokeColor\x3dnone;",70,46,"","Virtual Private Cloud",null,null,this.getTagsForStencil("mxgraph.aws.general","vpc virtual private cloud","aws amazon web service general").join(" "))])};Sidebar.prototype.addAWSInternetOfThingsPalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.internet_of_things.";this.addPaletteFunctions("aws2Internet of Things",
"AWS / Internet of Things",!1,[this.createVertexTemplateEntry(b+"action;strokeColor\x3dnone;",55,57,"","Action",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","action","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"actuator;strokeColor\x3dnone;",68,80,"","Actuator",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","actuator","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+
"aws-iot;strokeColor\x3dnone;",60,72,"","AWS IOT",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","aws iot","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"bank;strokeColor\x3dnone;",71,71,"","Bank",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","bank","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"bicycle;strokeColor\x3dnone;",71,71,"","Bicycle",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings",
"bicycle","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"camera;strokeColor\x3dnone;",71,71,"","Camera",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","camera","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"car;strokeColor\x3dnone;",71,71,"","Car",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","car","aws group amazon web service internet of things iot").join(" ")),
this.createVertexTemplateEntry(b+"cart;strokeColor\x3dnone;",71,71,"","Cart",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","cart","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"certificate;strokeColor\x3dnone;",56,77,"","Certificate",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","certificate","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"coffee_pot;strokeColor\x3dnone;",
71,71,"","Coffee Pot",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","coffee pot","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"desired_state;strokeColor\x3dnone;",53,57,"","Desired State",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","desired_state","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"door_lock;strokeColor\x3dnone;",71,71,"","Door Lock",null,null,
this.getTagsForStencil("mxgraph.aws.internetOfThings","door lock","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"factory;strokeColor\x3dnone;",71,71,"","Factory",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","factory","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"generic_iot_thing;strokeColor\x3dnone;",71,71,"","Generic IOT Thing",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings",
"generic iot thing","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"hardware_board;strokeColor\x3dnone;",75,87,"","Hardware Board",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","hardware_board","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"house;strokeColor\x3dnone;",71,71,"","House",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","house","aws group amazon web service internet of things iot").join(" ")),
this.createVertexTemplateEntry(b+"http_protocol;strokeColor\x3dnone;",56,59,"","HTTP Protocol",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","http protocol","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"http2_protocol;strokeColor\x3dnone;",56,59,"","HTTP2 Protocol",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","http2 protocol","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+
"lightbulb;strokeColor\x3dnone;",71,71,"","Lightbulb",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","lightbulb","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"medical_emergency;strokeColor\x3dnone;",71,71,"","Medical Emergency",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","medical_emergency","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"mqtt_protocol;strokeColor\x3dnone;",
56,59,"","MQTT Protocol",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","mqtt protocol","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"police_emergency;strokeColor\x3dnone;",71,71,"","Police Emergency",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","police_emergency","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"policy;strokeColor\x3dnone;",49,79,"","Policy",
null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","policy","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"reported_state;strokeColor\x3dnone;",53,57,"","Reported State",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","reported_state","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"rule;strokeColor\x3dnone;",44,87,"","Rule",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings",
"rule","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"sensor;strokeColor\x3dnone;",68,80,"","Sensor",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","sensor","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"servo;strokeColor\x3dnone;",75,53,"","Servo",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","servo","aws group amazon web service internet of things iot").join(" ")),
this.createVertexTemplateEntry(b+"shadow;strokeColor\x3dnone;",75,80,"","Shadow",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","shadow","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"simulator;strokeColor\x3dnone;",67,70,"","Simulator",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","simulator","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"thermostat;strokeColor\x3dnone;",
71,71,"","Thermostat",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","thermostat","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"topic;strokeColor\x3dnone;",44,59,"","Topic",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","topic","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"travel;strokeColor\x3dnone;",71,71,"","Travel",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings",
"travel","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"utility;strokeColor\x3dnone;",71,71,"","Utility",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","utility","aws group amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"windfarm;strokeColor\x3dnone;",71,71,"","Windfarm",null,null,this.getTagsForStencil("mxgraph.aws.internetOfThings","windfarm","aws group amazon web service internet of things iot").join(" "))])};
Sidebar.prototype.addAWSManagementToolsPalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2Management Tools","AWS / Management Tools",!1,[this.createVertexTemplateEntry(b+"deployment_and_management.cloudformation;strokeColor\x3dnone;",59,72,"","CloudFormation",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudformation","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(b+
"deployment_and_management.cloudformation_stack;strokeColor\x3dnone;",64,49,"","CloudFormation Stack",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudformation stack","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.cloudformation_template;strokeColor\x3dnone;",48,56,"","CloudFormation Template",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudformation template","aws group amazon web service management tools").join(" ")),
this.createVertexTemplateEntry(b+"deployment_and_management.cloudtrail;strokeColor\x3dnone;",59,72,"","CloudTrail",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudtrail","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.cloudwatch;strokeColor\x3dnone;",63,72,"","CloudWatch",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudwatch","aws group amazon web service management tools").join(" ")),
this.createVertexTemplateEntry(b+"deployment_and_management.cloudwatch_alarm;strokeColor\x3dnone;",48,58,"","CloudWatch Alarm",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","cloudwatch alarm","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(b+"administration_and_security.config;strokeColor\x3dnone;",59,72,"","Config",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","config","aws group amazon web service management tools").join(" ")),
this.createVertexTemplateEntry(b+"deployment_and_management.opsworks;strokeColor\x3dnone;",59,72,"","OpsWorks",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.opsworks_apps;strokeColor\x3dnone;",72,72,"","OpsWorks Apps",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks apps","aws group amazon web service management tools").join(" ")),
this.createVertexTemplateEntry(b+"deployment_and_management.opsworks_deployments;strokeColor\x3dnone;",72,68,"","OpsWorks Deployments",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks deployments","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.opsworks_instances;strokeColor\x3dnone;",72,72,"","OpsWorks Instances",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks instances","aws group amazon web service management tools").join(" ")),
this.createVertexTemplateEntry(b+"deployment_and_management.opsworks_layers;strokeColor\x3dnone;",72,72,"","OpsWorks Layers",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks layers","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.opsworks_monitoring;strokeColor\x3dnone;",72,60,"","OpsWorks Monitoring",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks monitoring","aws group amazon web service management tools").join(" ")),
this.createVertexTemplateEntry(b+"deployment_and_management.opsworks_permissions;strokeColor\x3dnone;",59,72,"","OpsWorks Permissions",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks permissions","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.opsworks_resources;strokeColor\x3dnone;",59,72,"","OpsWorks Resources",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks resources","aws group amazon web service management tools").join(" ")),
this.createVertexTemplateEntry(b+"deployment_and_management.opsworks_stack;strokeColor\x3dnone;",60,70,"","OpsWorks Stack",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","opsworks stack","aws group amazon web service management tools").join(" ")),this.createVertexTemplateEntry(b+"management_tools.service_catalog;strokeColor\x3dnone;",60,70,"","Service Catalog",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","service catalog","aws group amazon web service management tools").join(" ")),
this.createVertexTemplateEntry(b+"administration_and_security.trusted_advisor;strokeColor\x3dnone;",60,72,"","Trusted Advisor",null,null,this.getTagsForStencil("mxgraph.aws.managementTools","trusted advisor","aws group amazon web service management tools").join(" "))])};Sidebar.prototype.addAWSMobileServicesPalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2Mobile Services","AWS / Mobile Services",!1,[this.createVertexTemplateEntry(b+
"mobile_services.aws_mobile_hub;strokeColor\x3dnone;",83,86,"","AWS Mobile Hub",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","aws mobile hub","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(b+"mobile_services.cognito;strokeColor\x3dnone;",59,72,"","Cognito",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","cognito","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(b+"mobile_services.device_farm;strokeColor\x3dnone;",
68,82,"","Device Farm",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","device farm","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(b+"mobile_services.mobile_analytics;strokeColor\x3dnone;",70,72,"","Mobile Analitycs",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","mobile analytics","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(b+"mobile_services.sns;strokeColor\x3dnone;",69,69,"","SNS",
null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","sns","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(b+"mobile_services.sns_email_notification;strokeColor\x3dnone;",90,56,"","SNS Email Notification",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","sns email notification","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(b+"mobile_services.sns_http_notification;strokeColor\x3dnone;",90,56,
"","SNS HTTP Notification",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","sns http notification","aws group amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(b+"mobile_services.sns_topic;strokeColor\x3dnone;",90,56,"","SNS Topic",null,null,this.getTagsForStencil("mxgraph.aws.mobileServices","sns topic","aws group amazon web service mobile services").join(" "))])};Sidebar.prototype.addAWSNetworkingPalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+
"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2Networking","AWS / Networking",!1,[this.createVertexTemplateEntry(b+"compute_and_networking.aws_direct_connect;strokeColor\x3dnone;",59,72,"","Direct Connect",null,null,this.getTagsForStencil("mxgraph.aws.networking","direct connect","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.route_53;strokeColor\x3dnone;",59,72,"","Route 53",null,null,this.getTagsForStencil("mxgraph.aws.networking",
"route 53","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.route_53_hosted_zone;strokeColor\x3dnone;",58,56,"","Route 53 Hosted Zone",null,null,this.getTagsForStencil("mxgraph.aws.networking","route 53 hosted zone","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.route_53_route_table;strokeColor\x3dnone;",66,61,"","Route 53 Table",null,null,this.getTagsForStencil("mxgraph.aws.networking",
"route 53 table","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.vpc;strokeColor\x3dnone;",59,72,"","VPC",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"networking.vpc_customer_gateway;strokeColor\x3dnone;",61,64,"","VPC Customer Gateway",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud customer gateway",
"aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"networking.vpc_endpoints;strokeColor\x3dnone;",61,64,"","VPC Endpoints",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud endpoints","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"networking.vpc_flowlogs;strokeColor\x3dnone;",61,64,"","VPC Flowlogs",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud flowlogs",
"aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.vpc_internet_gateway;strokeColor\x3dnone;",55,57,"","VPC Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud internet gateway","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.vpc_peering;strokeColor\x3dnone;",55,57,"","VPC Peering",null,null,this.getTagsForStencil("mxgraph.aws.networking",
"vpc virtual private cloud peering","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"networking.vpc_router;strokeColor\x3dnone;",61,64,"","VPC Router",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud router","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.vpc_vpn_connection;strokeColor\x3dnone;",52,41,"","VPC VPN Connection",null,null,this.getTagsForStencil("mxgraph.aws.networking",
"vpc virtual private cloud vpn connection","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"compute_and_networking.vpc_vpn_gateway;strokeColor\x3dnone;",55,57,"","VPC VPN Gateway",null,null,this.getTagsForStencil("mxgraph.aws.networking","vpc virtual private cloud vpn gateway","aws group amazon web service networking").join(" ")),this.createVertexTemplateEntry(b+"networking.vpcnat_gateway;strokeColor\x3dnone;",61,64,"","VPCNAT Gateway",null,null,this.getTagsForStencil("mxgraph.aws.networking",
"vpc virtual private cloud vpcnat gateway","aws group amazon web service networking").join(" "))])};Sidebar.prototype.addAWSOnDemandWorkforcePalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2On-Demand Workforce","AWS / On-Demand Workforce",!1,[this.createVertexTemplateEntry(b+"on-demand_workforce.mechanical_turk;strokeColor\x3dnone;",60,72,"","Mechanical Turk",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce",
"mechanical turk","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(b+"on-demand_workforce.mechanical_turk_assignment_task;strokeColor\x3dnone;",41,56,"","Mechanical Turk Assignment Task",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk assignment task","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(b+"on-demand_workforce.mechanical_turk_human_intelligence_tasks;strokeColor\x3dnone;",
46,50,"","Mechanical Turk Human Intelligence Task (HIT)",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk human intelligence task hit","aws group amazon web service on demand workforce").join(" ")),this.createVertexTemplateEntry(b+"on-demand_workforce.mechanical_turk_requester;strokeColor\x3dnone;",49,57,"","Mechanical Turk Requester",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk requester","aws group amazon web service on demand workforce").join(" ")),
this.createVertexTemplateEntry(b+"on-demand_workforce.mechanical_turk_workers;strokeColor\x3dnone;",59,57,"","Mechanical Turk Workers",null,null,this.getTagsForStencil("mxgraph.aws.on-demand_workforce","mechanical turk workers","aws group amazon web service on demand workforce").join(" "))])};Sidebar.prototype.addAWSSDKPalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2SDKs","AWS / SDKs",!1,[this.createVertexTemplateEntry(b+
"sdks.android;strokeColor\x3dnone;",62,72,"","Android",null,null,this.getTagsForStencil("mxgraph.aws.sdks","android","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(b+"sdks.cli;strokeColor\x3dnone;",62,72,"","CLI",null,null,this.getTagsForStencil("mxgraph.aws.sdks","cli","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(b+"sdks.aws_toolkit_for_eclipse;strokeColor\x3dnone;",62,72,"","Toolkit for Eclipse",
null,null,this.getTagsForStencil("mxgraph.aws.sdks","toolkit eclipse","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(b+"sdks.aws_toolkit_for_visual_studio;strokeColor\x3dnone;",62,72,"","Toolkit for Visual Studio",null,null,this.getTagsForStencil("mxgraph.aws.sdks","toolkit visual studio","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(b+"sdks.tools_for_windows_powershell;strokeColor\x3dnone;",
62,72,"","Tools for Windows PowerShell",null,null,this.getTagsForStencil("mxgraph.aws.sdks","tools windows powershell","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(b+"sdks.ios;strokeColor\x3dnone;",62,72,"","iOS",null,null,this.getTagsForStencil("mxgraph.aws.sdks","ios","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(b+"sdks.java;strokeColor\x3dnone;",62,72,"","Java",null,null,this.getTagsForStencil("mxgraph.aws.sdks",
"java","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(b+"sdks.javascript;strokeColor\x3dnone;",62,72,"","JavaScript",null,null,this.getTagsForStencil("mxgraph.aws.sdks","javascript","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(b+"sdks.net;strokeColor\x3dnone;",62,72,"","Net",null,null,this.getTagsForStencil("mxgraph.aws.sdks","net","aws group amazon web service sdk softvare development kit").join(" ")),
this.createVertexTemplateEntry(b+"sdks.nodejs;strokeColor\x3dnone;",62,72,"","NodeJS",null,null,this.getTagsForStencil("mxgraph.aws.sdks","nodejs","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(b+"sdks.php;strokeColor\x3dnone;",62,72,"","PHP",null,null,this.getTagsForStencil("mxgraph.aws.sdks","php","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(b+"sdks.python;strokeColor\x3dnone;",62,72,
"","Python",null,null,this.getTagsForStencil("mxgraph.aws.sdks","python","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(b+"sdks.ruby;strokeColor\x3dnone;",62,72,"","Ruby",null,null,this.getTagsForStencil("mxgraph.aws.sdks","ruby","aws group amazon web service sdk softvare development kit").join(" ")),this.createVertexTemplateEntry(b+"sdks.xamarin;strokeColor\x3dnone;",62,72,"","Xamarin",null,null,this.getTagsForStencil("mxgraph.aws.sdks","xamarin",
"aws group amazon web service sdk softvare development kit").join(" "))])};Sidebar.prototype.addAWSSecurityAndIdentityPalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2Security and Identity","AWS / Security and Identity",!1,[this.createVertexTemplateEntry(b+"security_and_identity.acm;strokeColor\x3dnone;",68,55,"","ACM",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","acm","aws group amazon web service security identity").join(" ")),
this.createVertexTemplateEntry(b+"security_and_identity.acm_certificate_manager;strokeColor\x3dnone;",65,56,"","ACM Certificate Manager",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","acm certificate manager","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+"security_and_identity.service_catalog;strokeColor\x3dnone;",68,82,"","Inspector",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","service catalog","aws group amazon web service security identity").join(" ")),
this.createVertexTemplateEntry(b+"security_and_identity.cloud_hsm;strokeColor\x3dnone;",60,72,"","Cloud HSM",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","cloud hsm","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+"security_and_identity.directory_service;strokeColor\x3dnone;",60,72,"","Directory Service",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","directory service","aws group amazon web service security identity").join(" ")),
this.createVertexTemplateEntry(b+"deployment_and_management.iam;strokeColor\x3dnone;",37,72,"","IAM",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.iam_add-on;strokeColor\x3dnone;",44,24,"","IAM Add-on",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam addon add on","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+
"deployment_and_management.iam_sts;strokeColor\x3dnone;",54,31,"","IAM Security Token Service",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam sts security token service","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.iam_security_token_service;strokeColor\x3dnone;",40,55,"","IAM Security Token Service",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam sts security token service",
"aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.iam_data_encryption_key;strokeColor\x3dnone;",40,53,"","IAM Data Encryption Key",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam data encryption key","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.iam_encrypted_data;strokeColor\x3dnone;",38,49,"","IAM Encrypted Data",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity",
"iam encrypted data","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.iam_credentials;strokeColor\x3dnone;",53,39,"","IAM Long Term Security Credential",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam long term security credential","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.iam_mfa_token;strokeColor\x3dnone;",53,53,"","IAM MFA Token",
null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam mfa token","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.iam_permissions;strokeColor\x3dnone;",42,57,"","IAM Permissions",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam permissions","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.iam_roles;strokeColor\x3dnone;",
84,72,"","IAM Role",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam role","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+"deployment_and_management.iam_short_term_credentials;strokeColor\x3dnone;",61,49,"","IAM Temporary Security Credential",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","iam temporary security credential","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+
"security_and_identity.key_management_service;strokeColor\x3dnone;",68,82,"","Key Management Service",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","key management service","aws group amazon web service security identity").join(" ")),this.createVertexTemplateEntry(b+"security_and_identity.webapp_firewall;strokeColor\x3dnone;",68,82,"","WebApp Firewall",null,null,this.getTagsForStencil("mxgraph.aws.securityAndIdentity","webapp firewall","aws group amazon web service security identity").join(" "))])};
Sidebar.prototype.addAWSStorageAndContentDeliveryPalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws2.";this.addPaletteFunctions("aws2Storage and Content Delivery","AWS / Storage and Content Delivery",!1,[this.createVertexTemplateEntry(b+"storage_and_content_delivery.cloudfront;strokeColor\x3dnone;",59,72,"","CloudFront",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","cloudfront","aws group amazon web service storage content delivery").join(" ")),
this.createVertexTemplateEntry(b+"storage_and_content_delivery.cloudfront_download_distribution;strokeColor\x3dnone;",55,57,"","CloudFront Download Distribution",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","cloudfront download distribution","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.cloudfront_edge_location;strokeColor\x3dnone;",55,57,"","CloudFront Edge Location",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery",
"cloudfront edge location","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.cloudfront_streaming_distribution;strokeColor\x3dnone;",55,57,"","CloudFront Streaming Distribution",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","cloudfront streaming distribution","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.efs;strokeColor\x3dnone;",
60,72,"","EFS",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","efs","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.ebs;strokeColor\x3dnone;",46,66,"","Elastic Block Store",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","ebs elastic block store","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.glacier;strokeColor\x3dnone;",
59,71,"","Glacier",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","glacier","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.glacier_archive;strokeColor\x3dnone;",56,66,"","Glacier Archive",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","glacier archive","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.glacier_vault;strokeColor\x3dnone;",
46,66,"","Glacier Vault",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","glacier vault","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.aws_import_export;strokeColor\x3dnone;",57,56,"","Import Export",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","aws import export","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+
"storage_and_content_delivery.snowball;strokeColor\x3dnone;",68,82,"","Import Export Snowball",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","snowball","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.s3;strokeColor\x3dnone;",59,72,"","S3",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","s3","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+
"storage_and_content_delivery.s3_bucket;strokeColor\x3dnone;",54,56,"","S3 Bucket",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","s3 bucket","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.s3_bucket_with_objects;strokeColor\x3dnone;",55,56,"","S3 Bucket with Objects",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","s3 bucket with objects","aws group amazon web service storage content delivery").join(" ")),
this.createVertexTemplateEntry(b+"storage_and_content_delivery.s3_objects;strokeColor\x3dnone;",37,40,"","S3 Objects",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","s3 objects","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.ebs_snapshot;strokeColor\x3dnone;",53,65,"","Snapshot",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","snapshot","aws group amazon web service storage content delivery").join(" ")),
this.createVertexTemplateEntry(b+"storage_and_content_delivery.aws_storage_gateway;strokeColor\x3dnone;",59,72,"","Storage Gateway",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","storage gateway","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.storage_gateway_cached_volumn;strokeColor\x3dnone;",52,66,"","Storage Gateway Cached Volume",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery",
"storage gateway cached volume","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.storage_gateway_non-cached_volumn;strokeColor\x3dnone;",52,66,"","Storage Gateway Non-Cached Volume",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","storage gateway non cached volume","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.storage_gateway_virtual_tape_library;strokeColor\x3dnone;",
52,66,"","Storage Gateway Virtual Tape Library",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","storage gateway virtual tape library","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(b+"storage_and_content_delivery.ebs_volume;strokeColor\x3dnone;",46,66,"","Volume",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","volume","aws group amazon web service storage content delivery").join(" "))])};Sidebar.prototype.addAWSGroupPalette=
function(){var b=this,c="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.aws.groups.";this.addPaletteFunctions("aws2Groups","AWS / Groups",!1,[this.createVertexTemplateEntry(c+"auto_scaling_group;fillColor\x3dnone;strokeColor\x3d#000000;gradientColor\x3dnone;",200,200,"","Auto Scaling Group",null,null,this.getTagsForStencil("mxgraph.aws.groups","auto_scaling_group","aws group amazon web service ").join(" ")),this.createVertexTemplateEntry(c+"availability_zone;strokeColor\x3d#f69721;fillColor\x3dnone;gradientColor\x3dnone;",
200,200,"","Availability Zone",null,null,this.getTagsForStencil("mxgraph.aws.groups","availability_zone","aws group amazon web service ").join(" ")),this.addEntry("aws group amazon web service cloud",function(){var f=new mxCell("",new mxGeometry(0,30,200,200),c+"rrect;fillColor\x3dnone;strokeColor\x3d#000000;gradientColor\x3dnone;");f.vertex=!0;var d=new mxCell("",new mxGeometry(10,0,70,40),c+"aws_cloud_icon;strokeColor\x3dnone;fillColor\x3d#F69721;gradientColor\x3dnone;");d.vertex=!0;return b.createVertexTemplateFromCells([f,
d],200,230,"AWS Cloud")}),this.addEntry("aws group amazon web service corporate data center",function(){var f=new mxCell("",new mxGeometry(0,20,200,200),c+"rrect;fillColor\x3dnone;strokeColor\x3d#000000;gradientColor\x3dnone;");f.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,30,40),c+"corporate_data_center_icon;strokeColor\x3dnone;fillColor\x3d#6D6F70;gradientColor\x3dnone;");d.vertex=!0;return b.createVertexTemplateFromCells([f,d],200,220,"Corporate Data Center")}),this.addEntry("aws group amazon web service ec2 instance content",
function(){var f=new mxCell("",new mxGeometry(0,20,200,200),c+"rrect;fillColor\x3dnone;strokeColor\x3d#000000;gradientColor\x3dnone;");f.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,40,40),c+"rrect;strokeColor\x3dnone;fillColor\x3d#F69721;gradientColor\x3dnone;");d.vertex=!0;return b.createVertexTemplateFromCells([f,d],200,220,"EC2 Instance Contents")}),this.addEntry("aws group amazon web service EC2 Spot Fleet",function(){var f=new mxCell("",new mxGeometry(0,30,200,200),c+"rrect;fillColor\x3dnone;strokeColor\x3d#000000;gradientColor\x3dnone;");
f.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,43,40),c+"ec2_spot_instance;strokeColor\x3dnone;gradientColor\x3dnone;");d.vertex=!0;return b.createVertexTemplateFromCells([f,d],200,230,"EC2 Spot Fleet")}),this.addEntry("aws group amazon web service elastic beanstalk container",function(){var f=new mxCell("",new mxGeometry(0,20,200,200),c+"rrect;fillColor\x3dnone;strokeColor\x3d#000000;gradientColor\x3dnone;");f.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,40,40),c+"elastic_beanstalk_container_icon;strokeColor\x3dnone;fillColor\x3d#2A6A35;gradientColor\x3dnone;");
d.vertex=!0;return b.createVertexTemplateFromCells([f,d],200,220,"Elastic Beanstalk Container")}),this.createVertexTemplateEntry(c+"region;strokeColor\x3d#000000;fillColor\x3dnone;gradientColor\x3dnone;",200,200,"","Region",null,null,this.getTagsForStencil("mxgraph.aws.groups","region","aws group amazon web service ").join(" ")),this.createVertexTemplateEntry(c+"rrect;fillColor\x3dnone;strokeColor\x3d#000000;gradientColor\x3dnone;",200,200,"","Security Group",null,null,this.getTagsForStencil("mxgraph.aws.groups",
"security","aws group amazon web service ").join(" ")),this.createVertexTemplateEntry(c+"rrect;fillColor\x3d#F2F2F2;strokeColor\x3d#000000;gradientColor\x3dnone;",200,200,"","Server Contents",null,null,this.getTagsForStencil("mxgraph.aws.groups","server content","aws group amazon web service ").join(" ")),this.addEntry("aws group amazon web service virtual private cloud",function(){var f=new mxCell("",new mxGeometry(0,30,200,200),c+"rrect;fillColor\x3dnone;strokeColor\x3d#000000;gradientColor\x3dnone;");
f.vertex=!0;var d=new mxCell("",new mxGeometry(10,0,70,40),c+"virtual_private_cloud_icon;strokeColor\x3dnone;fillColor\x3d#282560;gradientColor\x3dnone;");d.vertex=!0;return b.createVertexTemplateFromCells([f,d],200,230,"Virtual Private Cloud")}),this.addEntry("aws group amazon web service virtual private cloud subnet vpc",function(){var f=new mxCell("",new mxGeometry(0,30,200,200),c+"rrect;fillColor\x3dnone;strokeColor\x3d#000000;gradientColor\x3dnone;");f.vertex=!0;var d=new mxCell("",new mxGeometry(20,
0,40,40),c+"vpc_subnet_icon;strokeColor\x3dnone;fillColor\x3d#282560;gradientColor\x3dnone;");d.vertex=!0;return b.createVertexTemplateFromCells([f,d],200,230,"VPC Subnet")})])}})();
(function(){Sidebar.prototype.addAWS3DPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;"+mxConstants.STYLE_STROKEWIDTH+"\x3d1;dashed\x3d0;shape\x3dmxgraph.aws3d.";this.addPaletteFunctions("aws3d","AWS 3D",!1,[this.createVertexTemplateEntry(b+"ami;aspect\x3dfixed;fillColor\x3d#E8CA45;strokeColor\x3d#FFF215;",92,60,"","AMI",null,null,this.getTagsForStencil("mxgraph.aws3d","ami","aws 3d amazon web service").join(" ")),
this.createVertexTemplateEntry(b+"ami2;aspect\x3dfixed;fillColor\x3d#FF9900;strokeColor\x3d#ffffff;",74,50,"","AMI",null,null,this.getTagsForStencil("mxgraph.aws3d","ami","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"application;fillColor\x3d#4286c5;strokeColor\x3d#57A2D8;aspect\x3dfixed;",62,68.8,"","Application",null,null,this.getTagsForStencil("mxgraph.aws3d","application","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"application2;fillColor\x3d#86E83A;strokeColor\x3d#B0F373;aspect\x3dfixed;",
62,53,"","Application",null,null,this.getTagsForStencil("mxgraph.aws3d","application","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"application_server;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",123,124,"","EC2 Instance",null,null,this.getTagsForStencil("mxgraph.aws3d","ec2 instance","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"client;aspect\x3dfixed;strokeColor\x3dnone;fillColor\x3d#777777;",60,104,"","Client",null,null,this.getTagsForStencil("mxgraph.aws3d",
"client","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"cloudfront;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",103.8,100*1.698,"","CloudFront",null,null,this.getTagsForStencil("mxgraph.aws3d","cloudfront","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"file;aspect\x3dfixed;strokeColor\x3d#2d6195;fillColor\x3d#ffffff;",30.8,70.6,"","Content",null,null,this.getTagsForStencil("mxgraph.aws3d","content","aws 3d amazon web service").join(" ")),
this.createVertexTemplateEntry(b+"customerGateway;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",116.7,102.8,"","Customer Gateway",null,null,this.getTagsForStencil("mxgraph.aws3d","customer gateway","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"dataCenter;fillColor\x3d#ffffff;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",123,142,"","Data Center",null,null,this.getTagsForStencil("mxgraph.aws3d","data center","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+
"dataServer;fillColor\x3d#ffffff;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",123,106,"","Data Server",null,null,this.getTagsForStencil("mxgraph.aws3d","data server","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"decider;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",74,50,"","Decider",null,null,this.getTagsForStencil("mxgraph.aws3d","decider","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"dynamoDb;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",
181.5,210,"","DynamoDB",null,null,this.getTagsForStencil("mxgraph.aws3d","dynamodb db database","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"ebs;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",92,60,"","EBS",null,null,this.getTagsForStencil("mxgraph.aws3d","ebs","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"ebs2;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",92,60,"","EBS",null,null,this.getTagsForStencil("mxgraph.aws3d",
"ebs","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"elasticBeanstalk;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",182,140,"","Elastic Beanstalk",null,null,this.getTagsForStencil("mxgraph.aws3d","elastic beanstalk","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"elasticLoadBalancing;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",92,88.17,"","Elastic Load Balancing",null,null,this.getTagsForStencil("mxgraph.aws3d",
"elastic load balancing elb","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"elasticMapReduce;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",123,133,"","Elastic MapReduce",null,null,this.getTagsForStencil("mxgraph.aws3d","elastic mapreduce","aws 3d amazon web service").join(" ")),this.addEntry("aws 3d amazon web serviceelasticache",function(){var c=new mxCell("",new mxGeometry(70,0,123,124),b+"application_server;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;");
c.vertex=!0;var f=new mxCell("",new mxGeometry(0,40,123,124),b+"application_server;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;");f.vertex=!0;var d=new mxCell("",new mxGeometry(140,40,123,124),b+"application_server;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;");d.vertex=!0;var a=new mxCell("",new mxGeometry(70,80,123,124),b+"application_server;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;");a.vertex=!0;return sb.createVertexTemplateFromCells([c,f,d,a],
264,204,"Elasticache")}),this.createVertexTemplateEntry(b+"email;aspect\x3dfixed;strokeColor\x3d#292929;fillColor\x3d#ffffff;",43,100*0.57,"","Email",null,null,this.getTagsForStencil("mxgraph.aws3d","email","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"email_service;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",151,192,"","Email Service",null,null,this.getTagsForStencil("mxgraph.aws3d","email service","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+
"file;aspect\x3dfixed;strokeColor\x3d#292929;fillColor\x3d#ffffff;",30.8,70.6,"","File",null,null,this.getTagsForStencil("mxgraph.aws3d","file","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"glacier;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",181,192,"","Glacier",null,null,this.getTagsForStencil("mxgraph.aws3d","glacier","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"image;strokeColor\x3dnone;fillColor\x3d#777777;aspect\x3dfixed;",
50,86,"","Image/Video",null,null,this.getTagsForStencil("mxgraph.aws3d","image video","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"internetGateway;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",116.7,102.8,"","Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws3d","internet gateway","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"lambda;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",92,109.5,"","Lambda",
null,null,this.getTagsForStencil("mxgraph.aws3d","lambda","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"mobile_worker;aspect\x3dfixed;strokeColor\x3dnone;fillColor\x3d#777777;",36,90,"","Mobile Worker",null,null,this.getTagsForStencil("mxgraph.aws3d","mobile worker","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"oracleDataCenter;fillColor\x3d#ffffff;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",123,142,"","Oracle Data Center",null,null,this.getTagsForStencil("mxgraph.aws3d",
"oracle data center","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"oracleDbServer;fillColor\x3d#ffffff;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",123,133,"","Oracle Database Server",null,null,this.getTagsForStencil("mxgraph.aws3d","oracle database server db","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"oracleServer;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",123,142,"","Oracle Server",null,null,this.getTagsForStencil("mxgraph.aws3d",
"oracle server","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"rds;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",123,133,"","RDS",null,null,this.getTagsForStencil("mxgraph.aws3d","rds","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"rdsMaster;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",123,133,"","RDS Master",null,null,this.getTagsForStencil("mxgraph.aws3d","rds master","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+
"rdsSlave;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",123,133,"","RDS Slave",null,null,this.getTagsForStencil("mxgraph.aws3d","rds slave","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"redshift;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",150,190,"","Redshift",null,null,this.getTagsForStencil("mxgraph.aws3d","redshift","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"route53;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",
117.17,134.4,"","Route 53",null,null,this.getTagsForStencil("mxgraph.aws3d","route","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"s3;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",231.5,239,"","S3",null,null,this.getTagsForStencil("mxgraph.aws3d","s3","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"s3Bucket;fillColor\x3d#4286c5;strokeColor\x3d#57A2D8;aspect\x3dfixed;",61.5,100*0.638,"","S3 Bucket",null,null,this.getTagsForStencil("mxgraph.aws3d",
"s3 bucket","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"searchEngine;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",180,192,"","Search Engine",null,null,this.getTagsForStencil("mxgraph.aws3d","search engine","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"secureConnection;fillColor\x3d#000000;strokeColor\x3d#ffffff;aspect\x3dfixed;",100*0.57,34,"","Secure Connection",null,null,this.getTagsForStencil("mxgraph.aws3d","secure connection",
"aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"securityTokenService;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",180,192,"","Security Token Service",null,null,this.getTagsForStencil("mxgraph.aws3d","security token service","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"simpleDb;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",123,133,"","SimpleDB",null,null,this.getTagsForStencil("mxgraph.aws3d","simpledb simple db database",
"aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"simpleDb2;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",181.5,192.6,"","SimpleDB",null,null,this.getTagsForStencil("mxgraph.aws3d","simpledb simple db database","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"snapshot;fillColor\x3d#4286c5;strokeColor\x3d#57A2D8;aspect\x3dfixed;",92,60,"","Snapshot",null,null,this.getTagsForStencil("mxgraph.aws3d","snapshot","aws 3d amazon web service").join(" ")),
this.createVertexTemplateEntry(b+"instance;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",123,97,"","Spot Instance",null,null,this.getTagsForStencil("mxgraph.aws3d","spot instance","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"sqs;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",184,212.75,"","SQS",null,null,this.getTagsForStencil("mxgraph.aws3d","sqs","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"end_user;strokeColor\x3dnone;fillColor\x3d#777777;aspect\x3dfixed;",
49,100.46,"","User",null,null,this.getTagsForStencil("mxgraph.aws3d","user","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"vpcGateway;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",116.7,102.8,"","VPC Gateway",null,null,this.getTagsForStencil("mxgraph.aws3d","vpc gateway","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"worker;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",74,50,"","Worker",null,null,this.getTagsForStencil("mxgraph.aws3d",
"worker","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"workflowService;fillColor\x3d#ECECEC;strokeColor\x3d#5E5E5E;aspect\x3dfixed;",100*1.822,148.4,"","Workflow Service",null,null,this.getTagsForStencil("mxgraph.aws3d","workflow service","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"arrowNE;fillColor\x3d#000000;aspect\x3dfixed;",45.5,26,"","Arrow NE",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),
this.createVertexTemplateEntry(b+"arrowSE;fillColor\x3d#000000;aspect\x3dfixed;",45.5,26,"","Arrow SE",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"arrowSW;fillColor\x3d#000000;aspect\x3dfixed;",45.5,26,"","Arrow SW",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"arrowNW;fillColor\x3d#000000;aspect\x3dfixed;",
45.5,26,"","Arrow NW",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"arrowlessNE;fillColor\x3d#000000;aspect\x3dfixed;",31.6,18,"","Arrowless NE",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"dashedEdgeDouble;fillColor\x3d#000000;aspect\x3dfixed;",31.6,18,"","Dashed Edge Double Arrow",
null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"dashedArrowlessEdge;fillColor\x3d#000000;aspect\x3dfixed;",31.6,18,"","Dashed Arrowless Edge",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"dashedEdge;fillColor\x3d#000000;aspect\x3dfixed;",31.6,18,"","Dashed Edge",null,null,this.getTagsForStencil("mxgraph.aws3d",
"arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"flatEdge;fillColor\x3d#000000;aspect\x3dfixed;",63.2,36,"","Flat Edge",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"flatDoubleEdge;fillColor\x3d#000000;aspect\x3dfixed;",252.8,144,"","Flat Double Edge",null,null,this.getTagsForStencil("mxgraph.aws3d","arrow ne north east northeast","aws 3d amazon web service").join(" ")),
this.createVertexTemplateEntry(b+"arrowhead;aspect\x3dfixed;",19,11,"","Arrowhead",null,null,this.getTagsForStencil("mxgraph.aws3d","arrowhead","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"edge;aspect\x3dfixed;",97,107.4,"","Edge",null,null,this.getTagsForStencil("mxgraph.aws3d","edge","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"reference;aspect\x3dfixed;",29.5,19.5,"","Reference",null,null,this.getTagsForStencil("mxgraph.aws3d","reference",
"aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(b+"spot;aspect\x3dfixed;",62,36,"","Spot",null,null,this.getTagsForStencil("mxgraph.aws3d","spot","aws 3d amazon web service").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3disometricEdgeStyle;endArrow\x3dnone;html\x3d1;",50,100,"isometric edge","Isometric Edge 1"),this.createEdgeTemplateEntry("edgeStyle\x3disometricEdgeStyle;endArrow\x3dnone;html\x3d1;elbow\x3dvertical;",50,100,"isometric edge","Isometric Edge 2")])}})();
(function(){Sidebar.prototype.addAzurePalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;strokeColor\x3dnone;fillColor\x3d#00BEF2;shape\x3dmxgraph.azure.";this.addPaletteFunctions("azure",mxResources.get("azure"),!1,[this.createVertexTemplateEntry(b+"access_control;",50,50,"","Access Control",null,null,this.getTagsForStencil("mxgraph.azure","access_control","").join(" ")),this.createVertexTemplateEntry(b+"automation;",
50,45,"","Automation",null,null,this.getTagsForStencil("mxgraph.azure","automation","").join(" ")),this.createVertexTemplateEntry(b+"autoscale;",50,30,"","AutoScale",null,null,this.getTagsForStencil("mxgraph.azure","autoscale","").join(" ")),this.createVertexTemplateEntry(b+"azure_active_directory;",47.5,50,"","Azure Active Directory",null,null,this.getTagsForStencil("mxgraph.azure","azure_active_directory","").join(" ")),this.createVertexTemplateEntry(b+"azure_alert;",50,42.5,"","Azure Alert",null,
null,this.getTagsForStencil("mxgraph.azure","azure_alert","").join(" ")),this.createVertexTemplateEntry(b+"azure_cache;",45,50,"","Azure Cache",null,null,this.getTagsForStencil("mxgraph.azure","azure_cache","").join(" ")),this.createVertexTemplateEntry(b+"azure_instance;",50,50,"","Azure Instance",null,null,this.getTagsForStencil("mxgraph.azure","azure_instance","").join(" ")),this.createVertexTemplateEntry(b+"azure_load_balancer;",50,35,"","Azure Load Balancer",null,null,this.getTagsForStencil("mxgraph.azure",
"azure_load_balancer","").join(" ")),this.createVertexTemplateEntry(b+"azure_marketplace;",40,50,"","Azure Marketplace",null,null,this.getTagsForStencil("mxgraph.azure","azure_marketplace","").join(" ")),this.createVertexTemplateEntry(b+"azure_sdk;",50,47.5,"","Azure SDK",null,null,this.getTagsForStencil("mxgraph.azure","azure_sdk","").join(" ")),this.createVertexTemplateEntry(b+"azure_subscription;",50,35,"","Azure Subscription",null,null,this.getTagsForStencil("mxgraph.azure","azure_subscription",
"").join(" ")),this.createVertexTemplateEntry(b+"azure_website;",50,50,"","Azure Website",null,null,this.getTagsForStencil("mxgraph.azure","azure_website","").join(" ")),this.createVertexTemplateEntry(b+"backup_service;",50,45,"","Backup Service",null,null,this.getTagsForStencil("mxgraph.azure","backup_service","").join(" ")),this.createVertexTemplateEntry(b+"bitbucket_code_source;",42.5,50,"","BitBucket Code Source",null,null,this.getTagsForStencil("mxgraph.azure","bitbucket_code_source","").join(" ")),
this.createVertexTemplateEntry(b+"biztalk_services;",50,50,"","BizTalk Services",null,null,this.getTagsForStencil("mxgraph.azure","biztalk_services","").join(" ")),this.createVertexTemplateEntry(b+"certificate;",50,40,"","Certificate",null,null,this.getTagsForStencil("mxgraph.azure","certificate","").join(" ")),this.createVertexTemplateEntry(b+"cloud;",50,32.5,"","Cloud",null,null,this.getTagsForStencil("mxgraph.azure","cloud","").join(" ")),this.createVertexTemplateEntry(b+"cloud_service;",50,40,
"","Cloud Service",null,null,this.getTagsForStencil("mxgraph.azure","cloud_service","").join(" ")),this.createVertexTemplateEntry(b+"cloud_services_configuration_file;",47.5,50,"","Cloud Services Configuration File",null,null,this.getTagsForStencil("mxgraph.azure","cloud_services_configuration_file","").join(" ")),this.createVertexTemplateEntry(b+"cloud_service_package_file;",42.5,50,"","Cloud Service Package File",null,null,this.getTagsForStencil("mxgraph.azure","cloud_service_package_file","").join(" ")),
this.createVertexTemplateEntry(b+"codeplex_code_source;",50,37.5,"","CodePlex Code Source",null,null,this.getTagsForStencil("mxgraph.azure","codeplex_code_source","").join(" ")),this.createVertexTemplateEntry(b+"code_file;",47.5,50,"","Code File",null,null,this.getTagsForStencil("mxgraph.azure","code_file","").join(" ")),this.createVertexTemplateEntry(b+"computer;",50,45,"","Computer",null,null,this.getTagsForStencil("mxgraph.azure","computer","").join(" ")),this.createVertexTemplateEntry(b+"content_delivery_network;",
50,32.5,"","Content Delivery Network",null,null,this.getTagsForStencil("mxgraph.azure","content_delivery_network","").join(" ")),this.createVertexTemplateEntry(b+"database;",37.5,50,"","Database",null,null,this.getTagsForStencil("mxgraph.azure","database","").join(" ")),this.createVertexTemplateEntry(b+"dropbox_code_source;",50,47.5,"","DropBox Code Source",null,null,this.getTagsForStencil("mxgraph.azure","dropbox_code_source","").join(" ")),this.createVertexTemplateEntry(b+"enterprise;",30,50,"",
"Enterprise",null,null,this.getTagsForStencil("mxgraph.azure","enterprise","").join(" ")),this.createVertexTemplateEntry(b+"express_route;",50,30,"","Express Route",null,null,this.getTagsForStencil("mxgraph.azure","express_route","").join(" ")),this.createVertexTemplateEntry(b+"file;",47.5,50,"","File",null,null,this.getTagsForStencil("mxgraph.azure","file","").join(" ")),this.createVertexTemplateEntry(b+"file_2;",47.5,50,"","File 2",null,null,this.getTagsForStencil("mxgraph.azure","file_2","").join(" ")),
this.createVertexTemplateEntry(b+"github_code;",50,50,"","GitHub Code",null,null,this.getTagsForStencil("mxgraph.azure","github_code","").join(" ")),this.createVertexTemplateEntry(b+"git_repository;",50,50,"","Git Repository",null,null,this.getTagsForStencil("mxgraph.azure","git_repository","").join(" ")),this.createVertexTemplateEntry(b+"hdinsight;",50,50,"","HDInsight",null,null,this.getTagsForStencil("mxgraph.azure","hdinsight","").join(" ")),this.createVertexTemplateEntry(b+"healthy;",50,45,"",
"Healthy",null,null,this.getTagsForStencil("mxgraph.azure","healthy","").join(" ")),this.createVertexTemplateEntry(b+"health_monitoring;",50,42.5,"","Health Monitoring",null,null,this.getTagsForStencil("mxgraph.azure","health_monitoring","").join(" ")),this.createVertexTemplateEntry(b+"hyper_v_recovery_manager;",50,45,"","Hyper-V Recovery Manager",null,null,this.getTagsForStencil("mxgraph.azure","hyper_v_recovery_manager","").join(" ")),this.createVertexTemplateEntry(b+"laptop;",50,30,"","Laptop",
null,null,this.getTagsForStencil("mxgraph.azure","laptop","").join(" ")),this.createVertexTemplateEntry(b+"load_balancer_generic;",37.5,50,"","Load Balancer Generic",null,null,this.getTagsForStencil("mxgraph.azure","load_balancer_generic","").join(" ")),this.createVertexTemplateEntry(b+"media_service;",45,50,"","Media Service",null,null,this.getTagsForStencil("mxgraph.azure","media_service","").join(" ")),this.createVertexTemplateEntry(b+"message;",50,37.5,"","Message",null,null,this.getTagsForStencil("mxgraph.azure",
"message","").join(" ")),this.createVertexTemplateEntry(b+"mobile;",35,50,"","Mobile",null,null,this.getTagsForStencil("mxgraph.azure","mobile","").join(" ")),this.createVertexTemplateEntry(b+"mobile_services;",32.5,50,"","Mobile Services",null,null,this.getTagsForStencil("mxgraph.azure","mobile_services","").join(" ")),this.createVertexTemplateEntry(b+"multi_factor_authentication;",25,50,"","Multi Factor Authentication",null,null,this.getTagsForStencil("mxgraph.azure","multi_factor_authentication",
"").join(" ")),this.createVertexTemplateEntry(b+"mysql_database;",37.5,50,"","MySQL Database",null,null,this.getTagsForStencil("mxgraph.azure","mysql_database","").join(" ")),this.createVertexTemplateEntry(b+"notification_hub;",50,50,"","Notification Hub",null,null,this.getTagsForStencil("mxgraph.azure","notification_hub","").join(" ")),this.createVertexTemplateEntry(b+"notification_topic;",50,50,"","Notification Topic",null,null,this.getTagsForStencil("mxgraph.azure","notification_topic","").join(" ")),
this.createVertexTemplateEntry(b+"operating_system_image;",50,50,"","Operating System Image",null,null,this.getTagsForStencil("mxgraph.azure","operating_system_image","").join(" ")),this.createVertexTemplateEntry(b+"powershell_file;",50,50,"","PowerShell File",null,null,this.getTagsForStencil("mxgraph.azure","powershell_file","").join(" ")),this.createVertexTemplateEntry(b+"queue_generic;",50,15,"","Queue Generic",null,null,this.getTagsForStencil("mxgraph.azure","queue_generic","").join(" ")),this.createVertexTemplateEntry(b+
"rdp_remoting_file;",47.5,50,"","RDP Remoting File",null,null,this.getTagsForStencil("mxgraph.azure","rdp_remoting_file","").join(" ")),this.createVertexTemplateEntry(b+"scheduler;",40,50,"","Scheduler",null,null,this.getTagsForStencil("mxgraph.azure","scheduler","").join(" ")),this.createVertexTemplateEntry(b+"script_file;",47.5,50,"","Script File",null,null,this.getTagsForStencil("mxgraph.azure","script_file","").join(" ")),this.createVertexTemplateEntry(b+"server;",50,15,"","Server",null,null,
this.getTagsForStencil("mxgraph.azure","server","").join(" ")),this.createVertexTemplateEntry(b+"server_rack;",50,50,"","Server Rack",null,null,this.getTagsForStencil("mxgraph.azure","server_rack","").join(" ")),this.createVertexTemplateEntry(b+"service_bus;",45,50,"","Service Bus",null,null,this.getTagsForStencil("mxgraph.azure","service_bus","").join(" ")),this.createVertexTemplateEntry(b+"service_bus_queues;",42.5,50,"","Service Bus Queues",null,null,this.getTagsForStencil("mxgraph.azure","service_bus_queues",
"").join(" ")),this.createVertexTemplateEntry(b+"service_bus_relay;",40,50,"","Service Bus Relay",null,null,this.getTagsForStencil("mxgraph.azure","service_bus_relay","").join(" ")),this.createVertexTemplateEntry(b+"service_bus_topics_and_subscriptions;",45,50,"","Service Bus Topics and Subscriptions",null,null,this.getTagsForStencil("mxgraph.azure","service_bus_topics_and_subscriptions","").join(" ")),this.createVertexTemplateEntry(b+"service_endpoint;",50,20,"","Service Endpoint",null,null,this.getTagsForStencil("mxgraph.azure",
"service_endpoint","").join(" ")),this.createVertexTemplateEntry(b+"sql_database;",37.5,50,"","SQL Database",null,null,this.getTagsForStencil("mxgraph.azure","sql_database","").join(" ")),this.createVertexTemplateEntry(b+"sql_database_sql_azure;",47.5,50,"","SQL Database SQL Azure",null,null,this.getTagsForStencil("mxgraph.azure","sql_database_sql_azure","").join(" ")),this.createVertexTemplateEntry(b+"sql_datasync;",37.5,50,"","SQL DataSync",null,null,this.getTagsForStencil("mxgraph.azure","sql_datasync",
"").join(" ")),this.createVertexTemplateEntry(b+"sql_reporting;",40,50,"","SQL Reporting",null,null,this.getTagsForStencil("mxgraph.azure","sql_reporting","").join(" ")),this.createVertexTemplateEntry(b+"startup_task;",47.5,50,"","Startup Task",null,null,this.getTagsForStencil("mxgraph.azure","startup_task","").join(" ")),this.createVertexTemplateEntry(b+"storage;",50,40,"","Storage",null,null,this.getTagsForStencil("mxgraph.azure","storage","").join(" ")),this.createVertexTemplateEntry(b+"storage_blob;",
50,45,"","Storage Blob",null,null,this.getTagsForStencil("mxgraph.azure","storage_blob","").join(" ")),this.createVertexTemplateEntry(b+"storage_queue;",50,45,"","Storage Queue",null,null,this.getTagsForStencil("mxgraph.azure","storage_queue","").join(" ")),this.createVertexTemplateEntry(b+"storage_table;",50,45,"","Storage Table",null,null,this.getTagsForStencil("mxgraph.azure","storage_table","").join(" ")),this.createVertexTemplateEntry(b+"storsimple;",50,45,"","StorSimple",null,null,this.getTagsForStencil("mxgraph.azure",
"storsimple","").join(" ")),this.createVertexTemplateEntry(b+"tablet;",50,37.5,"","Tablet",null,null,this.getTagsForStencil("mxgraph.azure","tablet","").join(" ")),this.createVertexTemplateEntry(b+"team_foundation_service;",50,37.5,"","Team Foundation Service",null,null,this.getTagsForStencil("mxgraph.azure","team_foundation_service","").join(" ")),this.createVertexTemplateEntry(b+"traffic_manager;",50,50,"","Traffic Manager",null,null,this.getTagsForStencil("mxgraph.azure","traffic_manager","").join(" ")),
this.createVertexTemplateEntry(b+"unidentified_code_object;",50,42.5,"","Unidentified Code Object",null,null,this.getTagsForStencil("mxgraph.azure","unidentified_code_object","").join(" ")),this.createVertexTemplateEntry(b+"user;",47.5,50,"","User",null,null,this.getTagsForStencil("mxgraph.azure","user","").join(" ")),this.createVertexTemplateEntry(b+"vhd;",40,50,"","VHD",null,null,this.getTagsForStencil("mxgraph.azure","vhd","").join(" ")),this.createVertexTemplateEntry(b+"vhd_data_disk;",37.5,50,
"","VHD Data Disk",null,null,this.getTagsForStencil("mxgraph.azure","vhd_data_disk","").join(" ")),this.createVertexTemplateEntry(b+"virtual_machine;",50,40,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.azure","virtual_machine","").join(" ")),this.createVertexTemplateEntry(b+"virtual_machine_feature;",50,45,"","Virtual Machine Feature",null,null,this.getTagsForStencil("mxgraph.azure","virtual_machine_feature","").join(" ")),this.createVertexTemplateEntry(b+"virtual_network;",50,50*
0.55,"","Virtual Network",null,null,this.getTagsForStencil("mxgraph.azure","virtual_network","").join(" ")),this.createVertexTemplateEntry(b+"visual_studio_online;",50,37.5,"","Visual Studio Online",null,null,this.getTagsForStencil("mxgraph.azure","visual_studio_online","").join(" ")),this.createVertexTemplateEntry(b+"wadcfg_diagnostics_file;",47.5,50,"","WADCFG Diagnostics File",null,null,this.getTagsForStencil("mxgraph.azure","wadcfg_diagnostics_file","").join(" ")),this.createVertexTemplateEntry(b+
"website_generic;",50,42.5,"","Website Generic",null,null,this.getTagsForStencil("mxgraph.azure","website_generic","").join(" ")),this.createVertexTemplateEntry(b+"web_role;",50,40,"","Web Role",null,null,this.getTagsForStencil("mxgraph.azure","web_role","").join(" ")),this.createVertexTemplateEntry(b+"web_roles;",50*1.1,45,"","Web Roles",null,null,this.getTagsForStencil("mxgraph.azure","web_roles","").join(" ")),this.createVertexTemplateEntry(b+"worker_role;",50,40,"","Worker Role",null,null,this.getTagsForStencil("mxgraph.azure",
"worker_role","").join(" ")),this.createVertexTemplateEntry(b+"worker_roles;",50*1.1,45,"","Worker Roles",null,null,this.getTagsForStencil("mxgraph.azure","worker_roles","").join(" "))])}})();
(function(){Sidebar.prototype.addBasicPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;html\x3d1;strokeWidth\x3d2;shape\x3dmxgraph.basic.",c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;html\x3d1;strokeWidth\x3d2;shape\x3d";this.addPaletteFunctions("basic",mxResources.get("basic"),!1,[this.createVertexTemplateEntry(b+"4_point_star",100,100,"","4 Point Star",null,null,this.getTagsForStencil("mxgraph.basic",
"4_point_star","").join(" ")),this.createVertexTemplateEntry(b+"6_point_star",100,90,"","6 Point Star",null,null,this.getTagsForStencil("mxgraph.basic","6_point_star","").join(" ")),this.createVertexTemplateEntry(b+"8_point_star",100,100,"","8 Point Star",null,null,this.getTagsForStencil("mxgraph.basic","8_point_star","").join(" ")),this.createVertexTemplateEntry(b+"banner",100,50,"","Banner",null,null,this.getTagsForStencil("mxgraph.basic","banner","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;whiteSpace\x3dwrap;html\x3d1;shape\x3dmxgraph.basic.cloud_callout",
90,60,"","Cloud Callout",null,null,this.getTagsForStencil("mxgraph.basic","cloud_callout","").join(" ")),this.createVertexTemplateEntry(b+"cone",100,100,"","Cone",null,null,this.getTagsForStencil("mxgraph.basic","cone","").join(" ")),this.createVertexTemplateEntry(b+"cross2;dx\x3d15;",100,100,"","Cross",null,null,this.getTagsForStencil("mxgraph.basic","cross","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;whiteSpace\x3dwrap;html\x3d1;shape\x3dmxgraph.basic.document",100,100,"","Document",
null,null,this.getTagsForStencil("mxgraph.basic","document","").join(" ")),this.createVertexTemplateEntry(b+"flash",60,100,"","Flash",null,null,this.getTagsForStencil("mxgraph.basic","flash","").join(" ")),this.createVertexTemplateEntry(b+"half_circle",100,50,"","Half Circle",null,null,this.getTagsForStencil("mxgraph.basic","half_circle","").join(" ")),this.createVertexTemplateEntry(b+"heart",100,100,"","Heart",null,null,this.getTagsForStencil("mxgraph.basic","heart","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;whiteSpace\x3dwrap;html\x3d1;shape\x3dmxgraph.basic.loud_callout",
100,60,"","Loud Callout",null,null,this.getTagsForStencil("mxgraph.basic","loud_callout","").join(" ")),this.createVertexTemplateEntry(b+"moon",75,100,"","Moon",null,null,this.getTagsForStencil("mxgraph.basic","moon","").join(" ")),this.createVertexTemplateEntry(b+"no_symbol",100,100,"","No Symbol",null,null,this.getTagsForStencil("mxgraph.basic","no_symbol","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;whiteSpace\x3dwrap;html\x3d1;shape\x3dmxgraph.basic.octagon",100,100,"","Octagon",
null,null,this.getTagsForStencil("mxgraph.basic","octagon","").join(" ")),this.createVertexTemplateEntry(b+"orthogonal_triangle",100,100,"","Orthogonal Triangle",null,null,this.getTagsForStencil("mxgraph.basic","orthogonal_triangle","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;whiteSpace\x3dwrap;html\x3d1;shape\x3dmxgraph.basic.oval_callout",100,60,"","Oval Callout",null,null,this.getTagsForStencil("mxgraph.basic","oval_callout","").join(" ")),this.createVertexTemplateEntry(c+"parallelogram;whiteSpace\x3dwrap;align\x3dcenter;size\x3d0.24;",
100,60,"","Parallelepiped",null,null,this.getTagsForStencil("mxgraph.basic","parallelepiped","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;whiteSpace\x3dwrap;html\x3d1;shape\x3dmxgraph.basic.pentagon",100,90,"","Pentagon",null,null,this.getTagsForStencil("mxgraph.basic","pentagon","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;whiteSpace\x3dwrap;html\x3d1;shape\x3dmxgraph.basic.rectCallout;dx\x3d30;dy\x3d15;",100,60,"","Rectangular Callout",null,null,this.getTagsForStencil("mxgraph.basic",
"rectangular_callout","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;whiteSpace\x3dwrap;html\x3d1;shape\x3dmxgraph.basic.roundRectCallout;dx\x3d30;dy\x3d15;size\x3d5;",100,60,"","Rounded Rectangular Callout",null,null,this.getTagsForStencil("mxgraph.basic","rectangular_callout","").join(" ")),this.createVertexTemplateEntry(b+"smiley",100,100,"","Smiley",null,null,this.getTagsForStencil("mxgraph.basic","smiley","").join(" ")),this.createVertexTemplateEntry(b+"star",100,95,"","Star",
null,null,this.getTagsForStencil("mxgraph.basic","star","").join(" ")),this.createVertexTemplateEntry(b+"sun",100,100,"","Sun",null,null,this.getTagsForStencil("mxgraph.basic","sun","").join(" ")),this.createVertexTemplateEntry(b+"tick",85,100,"","Tick",null,null,this.getTagsForStencil("mxgraph.basic","tick","").join(" ")),this.createVertexTemplateEntry(c+"trapezoid;size\x3d0.24;",100,100,"","Trapezoid",null,null,this.getTagsForStencil("mxgraph.basic","trapezoid","").join(" ")),this.createVertexTemplateEntry(b+
"wave2;dy\x3d0.3;",100,60,"","Wave",null,null,this.getTagsForStencil("mxgraph.basic","wave","").join(" ")),this.createVertexTemplateEntry(b+"x",100,100,"","X",null,null,this.getTagsForStencil("mxgraph.basic","x","").join(" "))])}})();
(function(){Sidebar.prototype.addBootstrapPalette=function(){var b=this,c=[this.addEntry("bootstrap button bar dark",function(){var c=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#222222;strokeColor\x3dnone;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Company",new mxGeometry(0,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3dnone;strokeColor\x3dnone;shape\x3dmxgraph.bootstrap.rect;fontColor\x3d#999999;fontSize\x3d14;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);d=new mxCell("People",new mxGeometry(80,0,90,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#000000;strokeColor\x3dnone;fontColor\x3d#ffffff;spacingRight\x3d30;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);var a=new mxCell("84",new mxGeometry(1,0.5,25,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d8;fillColor\x3d#ff0000;strokeColor\x3dnone;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");a.geometry.relative=!0;
a.geometry.offset=new mxPoint(-30,-8);a.vertex=!0;d.insert(a);d=new mxCell("Violations",new mxGeometry(170,0,110,40),"html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3dnone;strokeColor\x3dnone;shape\x3dmxgraph.bootstrap.rect;fontColor\x3d#999999;spacingRight\x3d30;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);a=new mxCell("42",new mxGeometry(1,0.5,25,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d8;fillColor\x3d#ff0000;strokeColor\x3dnone;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-30,-8);a.vertex=!0;d.insert(a);d=new mxCell("Statistics",new mxGeometry(280,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3dnone;strokeColor\x3dnone;shape\x3dmxgraph.bootstrap.rect;fontColor\x3d#999999;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Settings",new mxGeometry(360,0,70,40),"html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3dnone;strokeColor\x3dnone;shape\x3dmxgraph.bootstrap.rect;fontColor\x3d#999999;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);d=new mxCell("Profile",new mxGeometry(660,0,70,40),"html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3dnone;strokeColor\x3dnone;shape\x3dmxgraph.bootstrap.rect;fontColor\x3d#999999;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Log Out",new mxGeometry(730,0,70,40),"html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3dnone;strokeColor\x3dnone;shape\x3dmxgraph.bootstrap.rect;fontColor\x3d#999999;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],
c.geometry.width,c.geometry.height,"Button Bar (Dark)")}),this.addEntry("bootstrap button bar bright",function(){var c=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#f6f6f6;strokeColor\x3dnone;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Company",new mxGeometry(0,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3dnone;strokeColor\x3dnone;shape\x3dmxgraph.bootstrap.rect;fontColor\x3d#dddddd;fontSize\x3d14;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);d=new mxCell("People",new mxGeometry(80,0,90,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#f0f0f0;strokeColor\x3dnone;fontColor\x3d#999999;spacingRight\x3d30;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);var a=new mxCell("84",new mxGeometry(1,0.5,25,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d8;fillColor\x3d#ff0000;strokeColor\x3dnone;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");a.geometry.relative=!0;
a.geometry.offset=new mxPoint(-30,-8);a.vertex=!0;d.insert(a);d=new mxCell("Violations",new mxGeometry(170,0,110,40),"html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3dnone;strokeColor\x3dnone;shape\x3dmxgraph.bootstrap.rect;fontColor\x3d#dddddd;spacingRight\x3d30;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);a=new mxCell("42",new mxGeometry(1,0.5,25,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d8;fillColor\x3d#ff0000;strokeColor\x3dnone;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-30,-8);a.vertex=!0;d.insert(a);d=new mxCell("Statistics",new mxGeometry(280,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3dnone;strokeColor\x3dnone;shape\x3dmxgraph.bootstrap.rect;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Settings",new mxGeometry(360,0,70,40),"html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3dnone;strokeColor\x3dnone;shape\x3dmxgraph.bootstrap.rect;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);d=new mxCell("Search...",new mxGeometry(650,5,130,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#ffffff;strokeColor\x3d#dddddd;fontColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Button Bar (Bright)")}),this.addEntry("bootstrap button group vertical",function(){var c=new mxCell("",new mxGeometry(0,0,
100,150),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffffff;");c.vertex=!0;var d=new mxCell("Edit",new mxGeometry(0,0,100,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#dddddd;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Create",new mxGeometry(0,0,100,30),
"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3d#dddddd;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,30);d.vertex=!0;c.insert(d);var a=new mxCell("Delete",new mxGeometry(0,0,100,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3d#dddddd;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,60);a.vertex=!0;c.insert(a);a=new mxCell("Append",new mxGeometry(0,0,100,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3d#dddddd;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,90);a.vertex=!0;c.insert(a);a=new mxCell("Prepend",new mxGeometry(0,1,100,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.bottomButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#dddddd;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-30);a.vertex=!0;c.insert(a);a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-15,-2.5);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Button Group (Vertical)")}),this.addEntry("bootstrap button group vertical",function(){var c=new mxCell("",new mxGeometry(0,
0,160,160),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;html\x3d1;whiteSpace\x3dwrap;fillColor\x3d#ffffff;");c.vertex=!0;var d=new mxCell("Verified",new mxGeometry(0,0,160,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;
c.insert(d);d=new mxCell("Banned",new mxGeometry(0,0,160,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,80);d.vertex=!0;c.insert(d);d=new mxCell("Deleted",new mxGeometry(0,1,160,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.bottomButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-40);d.vertex=!0;c.insert(d);d=new mxCell("All Users",new mxGeometry(0,0,160,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;rSize\x3d5;fillColor\x3d#3D8BCD;strokeColor\x3d#3D8BCD;fontColor\x3d#ffffff;spacingLeft\x3d10;align\x3dleft;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Button Group (Vertical)")}),
this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;rSize\x3d5;fillColor\x3d#3D8BCD;strokeColor\x3d#0D5B9D;fontColor\x3d#ffffff;spacingLeft\x3d10;align\x3dleft;whiteSpace\x3dwrap;",160,40,"All Users","Top Button",null,null,this.getTagsForStencil("mxgraph.bootstrap","topButton","bootstrap top button").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.bottomButton;rSize\x3d5;fillColor\x3d#3D8BCD;strokeColor\x3d#0D5B9D;fontColor\x3d#ffffff;spacingLeft\x3d10;align\x3dleft;whiteSpace\x3dwrap;",
160,40,"All Users","Bottom Button",null,null,this.getTagsForStencil("mxgraph.bootstrap","bottomButton","bootstrap bottom button").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;fillColor\x3d#3D8BCD;strokeColor\x3d#0D5B9D;fontColor\x3d#ffffff;spacingLeft\x3d10;align\x3dleft;whiteSpace\x3dwrap;",160,40,"All Users","Right Button",null,null,this.getTagsForStencil("mxgraph.bootstrap","rightButton","bootstrap right button").join(" ")),
this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;fillColor\x3d#3D8BCD;strokeColor\x3d#0D5B9D;fontColor\x3d#ffffff;spacingLeft\x3d10;align\x3dleft;whiteSpace\x3dwrap;",160,40,"All Users","Left Button",null,null,this.getTagsForStencil("mxgraph.bootstrap","leftButton","bootstrap left button").join(" ")),this.addEntry("bootstrap dropdown large",function(){var c=new mxCell("Dropdown",new mxGeometry(0,0,140,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;spacingRight\x3d10;fontSize\x3d16;whiteSpace\x3dwrap;fillColor\x3d#ffffff;align\x3dcenter;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Large)")}),this.addEntry("bootstrap dropdown normal",function(){var c=new mxCell("Dropdown",new mxGeometry(0,0,120,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;spacingRight\x3d10;fontSize\x3d14;whiteSpace\x3dwrap;fillColor\x3d#ffffff;align\x3dcenter;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Normal)")}),this.addEntry("bootstrap dropdown small",function(){var c=new mxCell("Dropdown",new mxGeometry(0,0,100,22),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fontSize\x3d12;rSize\x3d5;strokeColor\x3d#dddddd;spacingRight\x3d10;perimeter\x3dnone;whiteSpace\x3dwrap;fillColor\x3d#ffffff;align\x3dcenter;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown tiny",function(){var c=new mxCell("Dropdown",new mxGeometry(0,0,90,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;spacingRight\x3d10;fontSize\x3d10;whiteSpace\x3dwrap;fillColor\x3d#ffffff;align\x3dcenter;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Tiny)")}),this.addEntry("bootstrap button group justified large",function(){var c=new mxCell("",new mxGeometry(0,0,240,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;");
c.vertex=!0;var d=new mxCell("Left",new mxGeometry(0,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3dnone;perimeter\x3dnone;fontSize\x3d16;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Middle",new mxGeometry(80,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d16;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Right",
new mxGeometry(160,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3dnone;perimeter\x3dnone;fontSize\x3d16;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Button Group (Justified, Large)")}),this.addEntry("bootstrap button group justified normal",function(){var c=new mxCell("",new mxGeometry(0,0,180,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;");
c.vertex=!0;var d=new mxCell("Left",new mxGeometry(0,0,60,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3dnone;perimeter\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Middle",new mxGeometry(60,0,60,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Right",
new mxGeometry(120,0,60,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3dnone;perimeter\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Button Group (Justified, Normal)")}),this.addEntry("bootstrap button group justified small",function(){var c=new mxCell("",new mxGeometry(0,0,150,22),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;");
c.vertex=!0;var d=new mxCell("Left",new mxGeometry(0,0,50,22),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Middle",new mxGeometry(50,0,50,22),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3d#dddddd;perimeter\x3dnone;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Right",new mxGeometry(100,0,50,22),
"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Button Group (Justified, Small)")}),this.addEntry("bootstrap button group justified tiny",function(){var c=new mxCell("",new mxGeometry(0,0,120,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;");
c.vertex=!0;var d=new mxCell("Left",new mxGeometry(0,0,40,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3dnone;perimeter\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Middle",new mxGeometry(40,0,40,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Right",
new mxGeometry(80,0,40,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3dnone;perimeter\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Button Group (Justified, Tiny)")}),this.addEntry("bootstrap button toolbar",function(){var c=new mxCell("",new mxGeometry(0,0,120,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;");
c.vertex=!0;var d=new mxCell("1",new mxGeometry(0,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("2",new mxGeometry(30,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);var a=new mxCell("3",new mxGeometry(60,0,30,
30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;");a.vertex=!0;c.insert(a);d=new mxCell("4",new mxGeometry(90,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);a=new mxCell("",new mxGeometry(130,0,90,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;");
a.vertex=!0;d=new mxCell("5",new mxGeometry(0,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;");d.vertex=!0;a.insert(d);d=new mxCell("6",new mxGeometry(30,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;");d.vertex=!0;a.insert(d);d=new mxCell("7",new mxGeometry(60,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;");
d.vertex=!0;a.insert(d);d=new mxCell("8",new mxGeometry(230,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fontSize\x3d12;align\x3dcenter;rSize\x3d5;strokeColor\x3d#dddddd;whiteSpace\x3dwrap;fillColor\x3d#ffffff;");d.vertex=!0;return b.createVertexTemplateFromCells([c,a,d],260,30,"Button Toolbar")}),this.addEntry("bootstrap button group nested",function(){var c=new mxCell("",new mxGeometry(0,0,160,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;");
c.vertex=!0;var d=new mxCell("1",new mxGeometry(0,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("2",new mxGeometry(30,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Dropdown",new mxGeometry(60,0,
100,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;perimeter\x3dnone;fontSize\x3d14;spacingRight\x3d10;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-15,-2.5);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,
"Button Group (Nested)")}),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;align\x3dcenter;fontSize\x3d16;whiteSpace\x3dwrap;",80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;align\x3dcenter;fontSize\x3d14;whiteSpace\x3dwrap;",
60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;align\x3dcenter;fontSize\x3d12;whiteSpace\x3dwrap;",44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;align\x3dcenter;fontSize\x3d10;whiteSpace\x3dwrap;",
40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#3D8BCD;align\x3dcenter;strokeColor\x3d#3D8BCD;fontColor\x3d#ffffff;fontSize\x3d16;whiteSpace\x3dwrap;",80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#3D8BCD;align\x3dcenter;strokeColor\x3d#3D8BCD;fontColor\x3d#ffffff;fontSize\x3d14;whiteSpace\x3dwrap;",
60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#3D8BCD;align\x3dcenter;strokeColor\x3d#3D8BCD;fontColor\x3d#ffffff;fontSize\x3d12;whiteSpace\x3dwrap;",44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#3D8BCD;align\x3dcenter;strokeColor\x3d#3D8BCD;fontColor\x3d#ffffff;fontSize\x3d10;whiteSpace\x3dwrap;",
40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#58B957;align\x3dcenter;strokeColor\x3d#58B957;fontColor\x3d#ffffff;fontSize\x3d16;whiteSpace\x3dwrap;",80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#58B957;align\x3dcenter;strokeColor\x3d#58B957;fontColor\x3d#ffffff;fontSize\x3d14;whiteSpace\x3dwrap;",
60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#58B957;align\x3dcenter;strokeColor\x3d#58B957;fontColor\x3d#ffffff;fontSize\x3d12;whiteSpace\x3dwrap;",44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#58B957;align\x3dcenter;strokeColor\x3d#58B957;fontColor\x3d#ffffff;fontSize\x3d10;whiteSpace\x3dwrap;",
40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#55BFE0;align\x3dcenter;strokeColor\x3d#55BFE0;fontColor\x3d#ffffff;fontSize\x3d16;whiteSpace\x3dwrap;",80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#55BFE0;align\x3dcenter;strokeColor\x3d#55BFE0;fontColor\x3d#ffffff;fontSize\x3d14;whiteSpace\x3dwrap;",
60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#55BFE0;align\x3dcenter;strokeColor\x3d#55BFE0;fontColor\x3d#ffffff;fontSize\x3d12;whiteSpace\x3dwrap;",44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#55BFE0;align\x3dcenter;strokeColor\x3d#55BFE0;fontColor\x3d#ffffff;fontSize\x3d10;whiteSpace\x3dwrap;",
40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#EFAC43;align\x3dcenter;strokeColor\x3d#EFAC43;fontColor\x3d#ffffff;fontSize\x3d16;whiteSpace\x3dwrap;",80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#EFAC43;align\x3dcenter;strokeColor\x3d#EFAC43;fontColor\x3d#ffffff;fontSize\x3d14;whiteSpace\x3dwrap;",
60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#EFAC43;align\x3dcenter;strokeColor\x3d#EFAC43;fontColor\x3d#ffffff;fontSize\x3d12;whiteSpace\x3dwrap;",44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#EFAC43;align\x3dcenter;strokeColor\x3d#EFAC43;fontColor\x3d#ffffff;fontSize\x3d10;whiteSpace\x3dwrap;",
40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#DB524C;align\x3dcenter;strokeColor\x3d#DB524C;fontColor\x3d#ffffff;fontSize\x3d16;whiteSpace\x3dwrap;",80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#DB524C;align\x3dcenter;strokeColor\x3d#DB524C;fontColor\x3d#ffffff;fontSize\x3d14;whiteSpace\x3dwrap;",
60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#DB524C;align\x3dcenter;strokeColor\x3d#DB524C;fontColor\x3d#ffffff;fontSize\x3d12;whiteSpace\x3dwrap;",44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#DB524C;align\x3dcenter;strokeColor\x3d#DB524C;fontColor\x3d#ffffff;fontSize\x3d10;whiteSpace\x3dwrap;",
40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.addEntry("bootstrap dropdown small",function(){var c=new mxCell("Primary",new mxGeometry(0,0,100,22),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;fillColor\x3d#3D8BCD;strokeColor\x3d#3D8BCD;fontColor\x3d#ffffff;spacingRight\x3d10;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#ffffff;strokeColor\x3dnone;perimeter\x3dnone;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var c=new mxCell("Success",new mxGeometry(0,0,100,22),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;fillColor\x3d#58B957;strokeColor\x3d#58B957;fontColor\x3d#ffffff;spacingRight\x3d10;whiteSpace\x3dwrap;");c.vertex=
!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#ffffff;strokeColor\x3dnone;perimeter\x3dnone;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var c=new mxCell("Info",new mxGeometry(0,0,100,22),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;fillColor\x3d#55BFE0;strokeColor\x3d#55BFE0;fontColor\x3d#ffffff;spacingRight\x3d10;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#ffffff;strokeColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var c=new mxCell("Warning",new mxGeometry(0,0,100,22),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;fillColor\x3d#EFAC43;strokeColor\x3d#EFAC43;fontColor\x3d#ffffff;spacingRight\x3d10;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#ffffff;strokeColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var c=new mxCell("Danger",new mxGeometry(0,0,100,22),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;fillColor\x3d#DB524C;strokeColor\x3d#DB524C;fontColor\x3d#ffffff;spacingRight\x3d10;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#ffffff;strokeColor\x3dnone;perimeter\x3dnone;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown split",function(){var c=new mxCell("Default",new mxGeometry(0,0,120,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;align\x3dcenter;rSize\x3d5;strokeColor\x3d#dddddd;spacingRight\x3d20;fontSize\x3d14;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#dddddd;perimeter\x3dnone;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,
-2.5);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var c=new mxCell("Primary",new mxGeometry(0,0,120,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;fillColor\x3d#3D8BCD;strokeColor\x3d#0D5B9D;spacingRight\x3d20;fontSize\x3d14;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,
0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#0D5B9D;perimeter\x3dnone;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#ffffff;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,-2.5);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],
c.geometry.width,c.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var c=new mxCell("Success",new mxGeometry(0,0,120,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;fillColor\x3d#58B957;strokeColor\x3d#288927;spacingRight\x3d20;fontSize\x3d14;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#288927;perimeter\x3dnone;resizeHeight\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#ffffff;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,-2.5);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var c=new mxCell("Info",new mxGeometry(0,
0,120,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;fillColor\x3d#55BFE0;strokeColor\x3d#258FB0;spacingRight\x3d20;fontSize\x3d14;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#258FB0;perimeter\x3dnone;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,
0);d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#ffffff;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,-2.5);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var c=new mxCell("Warning",new mxGeometry(0,0,120,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;fillColor\x3d#EFAC43;strokeColor\x3d#BF7C13;spacingRight\x3d20;fontSize\x3d14;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#BF7C13;perimeter\x3dnone;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#ffffff;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,
-2.5);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var c=new mxCell("Danger",new mxGeometry(0,0,120,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;fillColor\x3d#DB524C;strokeColor\x3d#AB221C;spacingRight\x3d20;fontSize\x3d14;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,
30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#AB221C;perimeter\x3dnone;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#ffffff;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,-2.5);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],
c.geometry.width,c.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropup split",function(){var c=new mxCell("Dropup",new mxGeometry(0,0,120,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;align\x3dcenter;rSize\x3d5;strokeColor\x3d#dddddd;spacingRight\x3d20;fontSize\x3d14;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#dddddd;perimeter\x3dnone;resizeHeight\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dnorth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,-2.5);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropup (Split)")}),this.addEntry("bootstrap dropup split",function(){var c=new mxCell("Right dropup",new mxGeometry(0,
0,140,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;fillColor\x3d#3D8BCD;strokeColor\x3d#0D5B9D;spacingRight\x3d20;fontSize\x3d14;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#0D5B9D;perimeter\x3dnone;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,
0);d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dnorth;fillColor\x3d#ffffff;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,-2.5);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dropup (Split)")}),this.addEntry("bootstrap dropdown menu",function(){var c=new mxCell("Dropdown",new mxGeometry(0,0,140,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3d#dddddd;spacingRight\x3d10;fontSize\x3d16;gradientColor\x3d#e4e4e4;gradientDirection\x3dnorth;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);d=new mxCell("Action\nAnother Action",new mxGeometry(0,42,160,48),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#ffffff;fontSize\x3d12;fontColor\x3d#000000;fontFamily\x3dHelvetica;fontStyle\x3d0;strokeColor\x3d#dddddd;spacingLeft\x3d10;shadow\x3d1;align\x3dleft;verticalAlign\x3dtop;spacingTop\x3d3;");
d.vertex=!0;return b.createVertexTemplateFromCells([c,d],160,90,"Dropdown (Menu)")}),this.addEntry("bootstrap dropdown menu header",function(){var c=new mxCell("Dropdown",new mxGeometry(0,0,110,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;spacingRight\x3d10;fontSize\x3d16;fillColor\x3d#FFFFFF;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,42,160,108),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#ffffff;strokeColor\x3d#dddddd;shadow\x3d1;");d.vertex=!0;var a=new mxCell("Action",new mxGeometry(0,0,160,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,8);a.vertex=!0;d.insert(a);a=new mxCell("Another action",new mxGeometry(0,0,160,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,28);a.vertex=!0;d.insert(a);a=new mxCell("Disabled link",new mxGeometry(0,0,160,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;fontColor\x3d#dddddd;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,48);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0,160,20),"shape\x3dline;strokeColor\x3d#dddddd;perimeter\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,68);a.vertex=!0;d.insert(a);a=new mxCell("Separated link",new mxGeometry(0,0,160,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,88);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c,d],160,150,"Dropdown (Menu, Headers)")}),this.addEntry("bootstrap dropdown menu",function(){var c=new mxCell("Dropdown",new mxGeometry(0,0,110,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;spacingRight\x3d10;fontSize\x3d16;fillColor\x3d#FFFFFF;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;");c.vertex=!0;var d=
new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,42,160,158),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#ffffff;strokeColor\x3d#dddddd;shadow\x3d1;");d.vertex=!0;var a=new mxCell("Dropdown header",new mxGeometry(0,0,160,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;fontColor\x3d#dddddd;fontSize\x3d11;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,8);a.vertex=!0;d.insert(a);a=new mxCell("Action",new mxGeometry(0,0,160,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,28);a.vertex=!0;d.insert(a);a=new mxCell("Another action",new mxGeometry(0,0,160,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,48);a.vertex=!0;d.insert(a);a=new mxCell("Disabled link",new mxGeometry(0,0,160,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;fontColor\x3d#dddddd;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,68);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0,160,20),"shape\x3dline;strokeColor\x3d#dddddd;perimeter\x3dnone;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,88);a.vertex=!0;d.insert(a);a=new mxCell("Dropdown header",new mxGeometry(0,0,160,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;fontColor\x3d#dddddd;fontSize\x3d11;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,108);a.vertex=!0;d.insert(a);a=new mxCell("Separated link",new mxGeometry(0,
0,160,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,128);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c,d],160,200,"Dropdown (Menu)")}),this.addEntry("bootstrap input group",function(){var c=new mxCell("Username",new mxGeometry(0,0,250,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;spacingLeft\x3d50;fontSize\x3d14;align\x3dleft;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("@",new mxGeometry(0,0,40,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#f0f0f0;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Input Group")}),this.addEntry("bootstrap input group",function(){var c=new mxCell("",new mxGeometry(0,0,250,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;spacingLeft\x3d10;fontSize\x3d14;align\x3dleft;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell(".00",new mxGeometry(1,0,40,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#f0f0f0;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-40,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Input Group")}),this.addEntry("bootstrap input group",function(){var c=new mxCell("",new mxGeometry(0,0,250,
30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;spacingLeft\x3d50;fontSize\x3d14;align\x3dleft;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("$",new mxGeometry(0,0,40,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#f0f0f0;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell(".00",
new mxGeometry(1,0,40,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#f0f0f0;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-40,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Input Group")}),this.addEntry("bootstrap input group",function(){var c=new mxCell("Username",new mxGeometry(0,0,250,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;spacingLeft\x3d50;fontSize\x3d14;align\x3dleft;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,40,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#f0f0f0;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(0.5,0.5,16,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.checkbox;rSize\x3d3;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-8,-8);a.vertex=!0;
d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Input Group")}),this.addEntry("bootstrap input group",function(){var c=new mxCell("Username",new mxGeometry(0,0,250,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;spacingLeft\x3d50;fontSize\x3d14;align\x3dleft;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,40,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#f0f0f0;whiteSpace\x3dwrap;resizeHeight\x3d1;");
d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(0.5,0.5,16,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.radioButton;rSize\x3d3;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-8,-8);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Input Group")}),this.addEntry("bootstrap username large",function(){var c=new mxCell("Username",new mxGeometry(0,0,250,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;spacingLeft\x3d60;fontSize\x3d16;align\x3dleft;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,50,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#f0f0f0;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(0.5,0.5,20,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#000000;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-10,
-10);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Username (Large)")}),this.addEntry("bootstrap username normal",function(){var c=new mxCell("Username",new mxGeometry(0,0,250,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;spacingLeft\x3d50;fontSize\x3d14;align\x3dleft;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,
40,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#f0f0f0;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(0.5,0.5,15,15),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#000000;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-7.5,-7.5);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],
c.geometry.width,c.geometry.height,"Username (Normal)")}),this.addEntry("bootstrap username tiny",function(){var c=new mxCell("Username",new mxGeometry(0,0,250,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;spacingLeft\x3d40;fontSize\x3d10;align\x3dleft;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#f0f0f0;whiteSpace\x3dwrap;resizeHeight\x3d1");
d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(0.5,0.5,10,10),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#000000;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-5,-5);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Username (Tiny)")}),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#ffffff;strokeColor\x3d#dddddd;fontSize\x3d16;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;",
250,40,"Johnny Boo","Full Name (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap full name large").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#ffffff;strokeColor\x3d#dddddd;fontSize\x3d14;align\x3dleft;spacingLeft\x3d8;whiteSpace\x3dwrap;",250,30,"Johnny Boo","Full Name (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap full name normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#ffffff;strokeColor\x3d#dddddd;fontSize\x3d10;align\x3dleft;spacingLeft\x3d6;whiteSpace\x3dwrap;",
250,20,"Johnny Boo","Full Name (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap full name tiny").join(" ")),this.addEntry("bootstrap final price large",function(){var c=new mxCell("Amount",new mxGeometry(0,0,200,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3d#dddddd;spacingLeft\x3d10;fontSize\x3d16;align\x3dleft;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("UAH",new mxGeometry(1,
0,50,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#f0f0f0;fontSize\x3d16;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-50,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Final Price (Large)")}),this.addEntry("bootstrap final price normal",function(){var c=new mxCell("Amount",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3d#dddddd;spacingLeft\x3d8;fontSize\x3d14;align\x3dleft;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("UAH",new mxGeometry(1,0,40,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#f0f0f0;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-40,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Final Price (Normal)")}),this.addEntry("bootstrap final price tiny",function(){var c=new mxCell("Amount",
new mxGeometry(0,0,200,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3d#dddddd;spacingLeft\x3d6;fontSize\x3d10;align\x3dleft;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("UAH",new mxGeometry(1,0,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#f0f0f0;fontSize\x3d10;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=
!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Final Price (Tiny)")}),this.addEntry("bootstrap segmented button large",function(){var c=new mxCell("Search...",new mxGeometry(0,0,400,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3d#dddddd;fontSize\x3d16;fontColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d90;whiteSpace\x3dwrap;");c.vertex=
!0;var d=new mxCell("Users",new mxGeometry(0,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3dnone;fontSize\x3d16;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(-20,-2.5);a.vertex=!0;d.insert(a);d=new mxCell("Go!",new mxGeometry(1,0,50,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3dnone;fontSize\x3d16;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-50,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Segmented Button (Large)")}),this.addEntry("bootstrap segmented button normal",
function(){var c=new mxCell("Search...",new mxGeometry(0,0,400,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3d#dddddd;fontSize\x3d14;fontColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d80;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Users",new mxGeometry(0,0,70,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;spacingLeft\x3d6;whiteSpace\x3dwrap;resizeHeight\x3d1;");
d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,-2.5);a.vertex=!0;d.insert(a);d=new mxCell("Go!",new mxGeometry(1,0,40,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-40,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Segmented Button (Normal)")}),this.addEntry("bootstrap segmented button tiny",function(){var c=new mxCell("Search...",new mxGeometry(0,0,400,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3d#dddddd;fontSize\x3d10;fontColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d70;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("Users",new mxGeometry(0,0,60,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3dnone;fontSize\x3d10;align\x3dleft;spacingLeft\x3d3;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(-20,-2.5);a.vertex=!0;d.insert(a);d=new mxCell("Go!",new mxGeometry(1,0,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Segmented Button (Tiny)")}),this.addEntry("bootstrap search button large",
function(){var c=new mxCell("Search...",new mxGeometry(0,0,200,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d10;fontSize\x3d16;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Go!",new mxGeometry(1,0,50,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3dnone;fontSize\x3d16;whiteSpace\x3dwrap;resizeHeight\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-50,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Search Button (Large)")}),this.addEntry("bootstrap search button normal",function(){var c=new mxCell("Search...",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d6;fontSize\x3d14;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("Go!",new mxGeometry(1,0,40,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-40,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Search Button (Normal)")}),this.addEntry("bootstrap search button tiny",function(){var c=new mxCell("Search...",
new mxGeometry(0,0,200,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d3;fontSize\x3d10;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Go!",new mxGeometry(1,0,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=
!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Search Button (Tiny)")}),this.addEntry("bootstrap dropdown menu",function(){var c=new mxCell("Dubai, UAE",new mxGeometry(0,0,300,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;spacingRight\x3d10;fontSize\x3d16;gradientColor\x3d#e4e4e4;gradientDirection\x3dnorth;spacingLeft\x3d10;align\x3dleft;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-15,-2.5);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,42,300,258),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#ffffff;strokeColor\x3d#dddddd;spacingLeft\x3d10;shadow\x3d1;align\x3dleft;verticalAlign\x3dtop;spacingTop\x3d3;perimeter\x3dnone;");
d.vertex=!0;var a=new mxCell("Search...",new mxGeometry(0,0,280,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fontColor\x3d#dddddd;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,9);a.vertex=!0;d.insert(a);a=new mxCell("Beijing, China",new mxGeometry(0,0,300,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,48);a.vertex=!0;d.insert(a);a=new mxCell("Dubai, UAE",new mxGeometry(0,0,300,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fontStyle\x3d1;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,78);a.vertex=!0;d.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,10,8),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.check;strokeWidth\x3d3;strokeColor\x3d#666666;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-15,-4);e.vertex=!0;a.insert(e);a=new mxCell("Kiev, Ukraine",new mxGeometry(0,0,300,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,108);a.vertex=!0;d.insert(a);a=new mxCell("London, UK",new mxGeometry(0,0,300,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,138);a.vertex=!0;d.insert(a);a=new mxCell("Moscow, Russia",new mxGeometry(0,0,300,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,168);a.vertex=!0;d.insert(a);a=new mxCell("New York, USA",new mxGeometry(0,0,300,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,198);a.vertex=!0;d.insert(a);a=new mxCell("Tokyo, Japan",new mxGeometry(0,0,300,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,228);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c,d],300,300,"Dropdown (Menu)")}),this.addEntry("bootstrap dropdown menu",
function(){var c=new mxCell("Dubai, UAE",new mxGeometry(0,0,200,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;spacingRight\x3d10;fontSize\x3d16;gradientColor\x3d#e4e4e4;gradientDirection\x3dnorth;spacingLeft\x3d10;align\x3dleft;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");d.geometry.relative=!0;d.geometry.offset=
new mxPoint(-15,-2.5);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,42,200,210),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#ffffff;strokeColor\x3d#dddddd;spacingLeft\x3d10;shadow\x3d1;align\x3dleft;verticalAlign\x3dtop;spacingTop\x3d3;perimeter\x3dnone;");d.vertex=!0;var a=new mxCell("Beijing, China",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;d.insert(a);a=new mxCell("Dubai, UAE",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fontStyle\x3d1;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,30);a.vertex=!0;d.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,10,8),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.check;strokeWidth\x3d3;strokeColor\x3d#666666;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-15,-4);e.vertex=!0;a.insert(e);a=new mxCell("Kiev, Ukraine",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,60);a.vertex=!0;d.insert(a);a=new mxCell("London, UK",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,90);a.vertex=!0;d.insert(a);a=new mxCell("Moscow, Russia",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,120);a.vertex=!0;d.insert(a);a=new mxCell("New York, USA",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,150);a.vertex=!0;d.insert(a);a=new mxCell("Tokyo, Japan",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,180);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c,d],200,252,"Dropdown (Menu)")}),this.addEntry("bootstrap context menu",
function(){var c=new mxCell("",new mxGeometry(0,0,140,128),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#ffffff;strokeColor\x3d#dddddd;shadow\x3d1;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Dropdown header",new mxGeometry(0,0,140,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d6;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;fontColor\x3d#dddddd;fontSize\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,8);d.vertex=!0;c.insert(d);d=new mxCell("Action",new mxGeometry(0,0,140,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d6;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,24);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,0,140,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d6;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,140,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d6;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,56);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,0,140,16),"shape\x3dline;strokeColor\x3d#dddddd;perimeter\x3dnone;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,72);d.vertex=!0;c.insert(d);d=new mxCell("Dropdown header",new mxGeometry(0,0,140,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d6;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;fontColor\x3d#dddddd;fontSize\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,88);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",new mxGeometry(0,0,
140,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d6;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,104);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Context Menu")}),this.addEntry("bootstrap context menu",function(){var c=new mxCell("",new mxGeometry(0,0,140,96),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#ffffff;strokeColor\x3d#dddddd;shadow\x3d1;");
c.vertex=!0;var d=new mxCell("Action",new mxGeometry(0,0,140,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d6;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,8);d.vertex=!0;c.insert(d);d=new mxCell("Another action",new mxGeometry(0,0,140,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d6;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,24);d.vertex=!0;c.insert(d);d=new mxCell("Something else here",new mxGeometry(0,0,140,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d6;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,0,140,16),"shape\x3dline;strokeColor\x3d#dddddd;perimeter\x3dnone;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,56);d.vertex=!0;c.insert(d);d=new mxCell("Separated link",new mxGeometry(0,0,140,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;spacingLeft\x3d6;align\x3dleft;fillColor\x3dnone;perimeter\x3dnone;fontSize\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,72);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,
"Context Menu")}),this.addEntry("bootstrap pagination",function(){var c=new mxCell("",new mxGeometry(0,0,330,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;strokeColor\x3d#dddddd;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("\x3c\x3c",new mxGeometry(0,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("1",
new mxGeometry(30,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;perimeter\x3dnone;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("3",new mxGeometry(90,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;perimeter\x3dnone;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("4",new mxGeometry(120,0,30,30),
"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;perimeter\x3dnone;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("5",new mxGeometry(150,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;perimeter\x3dnone;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("6",new mxGeometry(180,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;perimeter\x3dnone;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);d=new mxCell("7",new mxGeometry(210,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;perimeter\x3dnone;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("8",new mxGeometry(240,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;perimeter\x3dnone;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=
new mxCell("9",new mxGeometry(270,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;perimeter\x3dnone;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("\x3e\x3e",new mxGeometry(300,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rightButton;strokeColor\x3d#dddddd;fillColor\x3dnone;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("2",new mxGeometry(60,
0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#3D8BCD;fillColor\x3d#3D8BCD;perimeter\x3dnone;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Pagination")}),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.roundedButton;fillColor\x3d#ffffff;align\x3dcenter;strokeColor\x3d#dddddd;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;",
100,30,"Previous","Button (Previous)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap ").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.roundedButton;fillColor\x3d#ffffff;align\x3dcenter;strokeColor\x3d#dddddd;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;",60,30,"Next","Button (Next)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap ").join(" ")),this.addEntry("bootstrap button older",function(){var c=new mxCell("Older",
new mxGeometry(0,0,100,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.roundedButton;fillColor\x3d#ffffff;align\x3dcenter;strokeColor\x3d#dddddd;fontColor\x3d#dddddd;spacingLeft\x3d10;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0.5,16,4),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.arrow;strokeColor\x3d#dddddd;flipH\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(12,-2);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],
c.geometry.width,c.geometry.height,"Button (Older)")}),this.addEntry("bootstrap button newer",function(){var c=new mxCell("Newer",new mxGeometry(0,0,100,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.roundedButton;fillColor\x3d#ffffff;align\x3dcenter;strokeColor\x3d#dddddd;fontColor\x3d#3D8BCD;spacingRight\x3d10;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,16,4),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.arrow;strokeColor\x3d#3D8BCD;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-28,-2);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Button (Newer)")}),this.addEntry("bootstrap tabs",function(){var c=new mxCell("Home",new mxGeometry(0,0,58,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.tabTop;fillColor\x3d#ffffff;align\x3dcenter;fontColor\x3d#000000;strokeColor\x3d#dddddd;rSize\x3d5;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(58,
35,402,10),"shape\x3dline;strokeColor\x3d#dddddd;");d.vertex=!0;var a=new mxCell("Disabled Link",new mxGeometry(62,0,100,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;fillColor\x3d#ffffff;strokeColor\x3dnone;rSize\x3d5;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");a.vertex=!0;var e=new mxCell("Messages",new mxGeometry(166,0,116,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;align\x3dcenter;fillColor\x3d#ffffff;strokeColor\x3dnone;rSize\x3d5;fontColor\x3d#3D8BCD;spacingRight\x3d30;whiteSpace\x3dwrap;");
e.vertex=!0;var g=new mxCell("24",new mxGeometry(1,0.5,25,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d8;fillColor\x3d#999999;strokeColor\x3dnone;fontColor\x3d#ffffff;perimeter\x3dnone;whiteSpace\x3dwrap;");g.geometry.relative=!0;g.geometry.offset=new mxPoint(-36,-8);g.vertex=!0;e.insert(g);g=new mxCell("Action Logs",new mxGeometry(286,0,106,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;fillColor\x3d#ffffff;strokeColor\x3dnone;rSize\x3d5;fontColor\x3d#3D8BCD;spacingRight\x3d20;whiteSpace\x3dwrap;");
g.vertex=!0;var k=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#3D8BCD;strokeColor\x3dnone;perimeter\x3dnone;");k.geometry.relative=!0;k.geometry.offset=new mxPoint(-21,-2.5);k.vertex=!0;g.insert(k);return b.createVertexTemplateFromCells([c,a,e,g,d],460,45,"Tabs")}),this.addEntry("bootstrap pills",function(){var c=new mxCell("Home",new mxGeometry(0,0,58,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#3D8BCD;fontColor\x3d#ffffff;rSize\x3d5;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("Disabled Link",new mxGeometry(62,0,100,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;align\x3dcenter;rSize\x3d5;;strokeColor\x3dnone;rSize\x3d5;fontColor\x3d#dddddd;whiteSpace\x3dwrap;");d.vertex=!0;var a=new mxCell("Messages",new mxGeometry(166,0,116,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#ffffff;align\x3dcenter;strokeColor\x3dnone;rSize\x3d5;fontColor\x3d#3D8BCD;spacingRight\x3d30;whiteSpace\x3dwrap;");
a.vertex=!0;var e=new mxCell("24",new mxGeometry(1,0.5,25,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d8;fillColor\x3d#999999;strokeColor\x3dnone;fontColor\x3d#ffffff;perimeter\x3dnone;whiteSpace\x3dwrap;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-36,-8);e.vertex=!0;a.insert(e);e=new mxCell("Action Logs",new mxGeometry(286,0,106,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#ffffff;align\x3dcenter;strokeColor\x3dnone;rSize\x3d5;fontColor\x3d#3D8BCD;spacingRight\x3d20;whiteSpace\x3dwrap;");
e.vertex=!0;var g=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#3D8BCD;strokeColor\x3dnone;perimeter\x3dnone;");g.geometry.relative=!0;g.geometry.offset=new mxPoint(-21,-2.5);g.vertex=!0;e.insert(g);return b.createVertexTemplateFromCells([c,d,a,e],392,45,"Pills")}),this.addEntry("bootstrap breadcrumb",function(){var c=new mxCell("",new mxGeometry(0,0,460,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#f6f6f6;");
c.vertex=!0;var d=new mxCell("Home",new mxGeometry(0,0,50,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;perimeter\x3dnone;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#3D8BCD;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("/",new mxGeometry(0,0,20,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;perimeter\x3dnone;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#dddddd;whiteSpace\x3dwrap;resizeHeight\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(50,0);d.vertex=!0;c.insert(d);d=new mxCell("Library",new mxGeometry(0,0,50,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;perimeter\x3dnone;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(70,0);d.vertex=!0;c.insert(d);d=new mxCell("/",new mxGeometry(0,0,20,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;perimeter\x3dnone;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#dddddd;whiteSpace\x3dwrap;resizeHeight\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(120,0);d.vertex=!0;c.insert(d);d=new mxCell("Data",new mxGeometry(0,0,50,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;perimeter\x3dnone;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#dddddd;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(140,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Breadcrumb")}),this.addEntry("bootstrap pills vertical",
function(){var c=new mxCell("",new mxGeometry(0,0,200,158),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize5\x3d;strokeColor\x3dnone;fillColor\x3d#ffffff;");c.vertex=!0;var d=new mxCell("Home",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#3D8BCD;fontColor\x3d#ffffff;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);
var a=new mxCell("42",new mxGeometry(1,0.5,25,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d8;fillColor\x3d#ffffff;strokeColor\x3dnone;fontColor\x3d#3D8BCD;whiteSpace\x3dwrap;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-33,-8);a.vertex=!0;d.insert(a);d=new mxCell("Profile",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3dnone;fontColor\x3d#3D8BCD;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,32);d.vertex=!0;c.insert(d);d=new mxCell("Messages",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3dnone;fontColor\x3d#3D8BCD;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,64);d.vertex=!0;c.insert(d);a=new mxCell("24",new mxGeometry(1,0.5,25,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d8;fillColor\x3d#999999;strokeColor\x3dnone;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-33,-8);a.vertex=!0;d.insert(a);d=new mxCell("Disabled Link",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3dnone;fontColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,96);d.vertex=!0;c.insert(d);d=new mxCell("System Settings",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3dnone;fontColor\x3d#3D8BCD;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,128);d.vertex=!0;c.insert(d);a=new mxCell("1",new mxGeometry(1,0.5,25,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d8;fillColor\x3d#999999;strokeColor\x3dnone;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-33,-8);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],200,158,"Pills (Vertical)")}),this.addEntry("bootstrap navbar",function(){var c=new mxCell("",
new mxGeometry(0,0,720,100),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#f6f6f6;strokeColor\x3d#dddddd;recursiveResize\x3d0;");c.vertex=!0;var d=new mxCell("Brand",new mxGeometry(0,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;fontSize\x3d14;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Link",new mxGeometry(80,0,60,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#dddddd;strokeColor\x3dnone;fontColor\x3d#999999;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);d=new mxCell("Link",new mxGeometry(140,0,60,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Dropdown",new mxGeometry(200,0,100,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;spacingRight\x3d10;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);var a=new mxCell("",
new mxGeometry(1,0.5,8,5),"shape\x3dtriangle;fillColor\x3d#999999;strokeColor\x3dnone;direction\x3dsouth;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-19,-3);a.vertex=!0;d.insert(a);d=new mxCell("Search...",new mxGeometry(305,5,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fontColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Submit",new mxGeometry(510,
5,80,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Link",new mxGeometry(1,1,60,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontColor\x3d#999999;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-180,-40);d.vertex=!0;c.insert(d);d=new mxCell("Dropdown",new mxGeometry(1,1,100,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontColor\x3d#999999;spacingRight\x3d10;whiteSpace\x3dwrap;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-120,-40);d.vertex=!0;c.insert(d);a=new mxCell("",new mxGeometry(1,0.5,8,5),"shape\x3dtriangle;fillColor\x3d#999999;strokeColor\x3dnone;direction\x3dsouth;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-19,-3);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Navbar")}),this.addEntry("bootstrap navbar form",function(){var c=new mxCell("",new mxGeometry(0,0,720,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#f6f6f6;strokeColor\x3d#dddddd;");
c.vertex=!0;var d=new mxCell("Brand",new mxGeometry(0,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Search...",new mxGeometry(0,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fontColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeHeight\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(85,5);d.vertex=!0;c.insert(d);d=new mxCell("Submit",new mxGeometry(0,0,80,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(290,5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Navbar Form")}),this.addEntry("bootstrap navbar button",function(){var c=
new mxCell("",new mxGeometry(0,0,720,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#f6f6f6;strokeColor\x3d#dddddd;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Brand",new mxGeometry(0,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontColor\x3d#999999;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Sign in",new mxGeometry(0,0,60,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;whiteSpace\x3dwrap;resizeHeight\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(80,5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Navbar Button")}),this.addEntry("bootstrap navbar text",function(){var c=new mxCell("",new mxGeometry(0,0,720,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#f6f6f6;strokeColor\x3d#dddddd;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Brand",new mxGeometry(0,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontColor\x3d#999999;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");
d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Signed in as Mark Otto",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(80,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Navbar Text")}),this.addEntry("bootstrap non nav link",
function(){var c=new mxCell("",new mxGeometry(0,0,720,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#f6f6f6;strokeColor\x3d#dddddd;");c.vertex=!0;var d=new mxCell("Brand",new mxGeometry(0,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontColor\x3d#999999;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Signed in as Mark Otto",new mxGeometry(1,0,160,40),
"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontColor\x3d#999999;align\x3dright;spacingRight\x3d20;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-160,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Non-nav Link")}),this.addEntry("bootstrap navbar",function(){var c=new mxCell("",new mxGeometry(0,0,720,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;strokeColor\x3dnone;rSize\x3d5;fillColor\x3d#222222;");
c.vertex=!0;var d=new mxCell("Brand",new mxGeometry(0,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Home",new mxGeometry(0,0,60,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3d#000000;strokeColor\x3dnone;fontColor\x3d#ffffff;whiteSpace\x3dwrap;resizeHeight\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(80,0);d.vertex=!0;c.insert(d);d=new mxCell("Link",new mxGeometry(0,0,60,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;whiteSpace\x3dwrap;resizeHeight\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(140,0);d.vertex=!0;c.insert(d);d=new mxCell("Link",new mxGeometry(0,0,60,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;whiteSpace\x3dwrap;resizeHeight\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,0);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Navbar")}),this.addEntry("bootstrap jumbotron",function(){var c=new mxCell("",new mxGeometry(0,0,800,500),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#f0f0f0;strokeColor\x3dnone;");c.vertex=!0;var d=new mxCell("Hello, world!",new mxGeometry(60,80,680,80),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d80;align\x3dleft;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);d=new mxCell("This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.",new mxGeometry(60,180,660,100),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d24;whiteSpace\x3dwrap;align\x3dleft;");d.vertex=!0;c.insert(d);d=new mxCell("Learn more",new mxGeometry(0.075,0.6,180,60),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fontColor\x3d#FFFFFF;fillColor\x3d#3D8BCD;strokeColor\x3dnone;fontSize\x3d24;whiteSpace\x3dwrap;");
d.geometry.relative=!0;d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Jumbotron")}),this.addEntry("bootstrap page header",function(){var c=new mxCell("Example page header",new mxGeometry(0,0,360,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d35;align\x3dleft;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Subtext for header",new mxGeometry(360,10,300,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d24;align\x3dleft;fontColor\x3d#999999;whiteSpace\x3dwrap;");
d.vertex=!0;var a=new mxCell("",new mxGeometry(0,50,750,10),"shape\x3dline;strokeColor\x3d#dddddd;");a.vertex=!0;return b.createVertexTemplateFromCells([c,d,a],700,80,"Page header")}),this.addEntry("bootstrap thumbnail custom content",function(){var c=new mxCell("",new mxGeometry(0,0,330,400),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3d#dddddd;");c.vertex=!0;var d=new mxCell("320x200",new mxGeometry(5,5,320,200),"shape\x3drect;fontSize\x3d24;fillColor\x3d#f0f0f0;strokeColor\x3dnone;fontColor\x3d#999999;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);d=new mxCell("Thumbnail label",new mxGeometry(15,220,300,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d26;align\x3dleft;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.",new mxGeometry(15,260,300,80),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;strokeColor\x3d#dddddd;whiteSpace\x3dwrap;align\x3dleft;verticalAlign\x3dtop;fontSize\x3d14;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);d=new mxCell("Button",new mxGeometry(0,1,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fontSize\x3d16;fillColor\x3d#3D8BCD;strokeColor\x3dnone;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(15,-60);d.vertex=!0;c.insert(d);d=new mxCell("Button",new mxGeometry(0,1,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fontSize\x3d16;strokeColor\x3d#dddddd;whiteSpace\x3dwrap;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(100,-60);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Thumbnail with custom content")}),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#999999;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;",60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap",
"","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#0D5B9D;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;",60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#58B957;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;",
60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#55BFE0;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;",60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#EFAC43;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;",
60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#DB524C;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;",60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#999999;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;fontSize\x3d10;",
40,20,"Label","Label (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#0D5B9D;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;fontSize\x3d10;",40,20,"Label","Label (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#58B957;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;fontSize\x3d10;",
40,20,"Label","Label (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#55BFE0;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;fontSize\x3d10;",40,20,"Label","Label (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#EFAC43;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;fontSize\x3d10;",
40,20,"Label","Label (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#DB524C;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;fontSize\x3d10;",40,20,"Label","Label (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d30;align\x3dleft;spacingLeft\x3d10;",
250,40,"Header Text","Header Text (30)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d25;align\x3dleft;spacingLeft\x3d10;",250,35,"Header Text","Header Text (25)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d20;align\x3dleft;spacingLeft\x3d10;",
250,30,"Header Text","Header Text (20)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d16;align\x3dleft;spacingLeft\x3d10;",250,26,"Header Text","Header Text (16)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d12;align\x3dleft;spacingLeft\x3d10;",
250,22,"Header Text","Header Text (12)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d10;align\x3dleft;spacingLeft\x3d10;",250,20,"Header Text","Header Text (10)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.image;align\x3dcenter;rSize\x3d5;strokeColor\x3d#f6f6f6;fillColor\x3d#f6f6f6;fontColor\x3d#999999;strokeWidth\x3d2;whiteSpace\x3dwrap;",
150,150,"Image","Image",null,null,this.getTagsForStencil("mxgraph.bootstrap","image","bootstrap ").join(" ")),this.addEntry("bootstrap image",function(){var c=new mxCell("Image",new mxGeometry(0,0,150,70),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.image;align\x3dcenter;rSize\x3d5;strokeColor\x3d#f6f6f6;fillColor\x3d#f6f6f6;fontColor\x3d#999999;strokeWidth\x3d2;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Image",new mxGeometry(0,80,70,70),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.image;align\x3dcenter;rSize\x3d5;strokeColor\x3d#f6f6f6;fillColor\x3d#f6f6f6;fontColor\x3d#999999;strokeWidth\x3d2;whiteSpace\x3dwrap;");
d.vertex=!0;var a=new mxCell("Image",new mxGeometry(80,80,70,70),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.image;align\x3dcenter;rSize\x3d5;strokeColor\x3d#f6f6f6;fillColor\x3d#f6f6f6;fontColor\x3d#999999;strokeWidth\x3d2;whiteSpace\x3dwrap;");a.vertex=!0;return b.createVertexTemplateFromCells([c,d,a],150,150,"Images")}),this.addEntry("bootstrap dismissible alert",function(){var c=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;margin-left:14px;"\x3e\x3ctbody\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"middle" width\x3d"50%"\x3e\x3cb\x3eWell done!\x3c/b\x3e You successfully read \x3cu\x3ethis important alert message.\x3c/u\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e',
new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#E0F0D6;fontColor\x3d#59B958;overflow\x3dfill;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,10),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.x;strokeColor\x3d#59B958;strokeWidth\x3d2;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-25,-5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],
c.geometry.width,c.geometry.height,"Dismissible Alert")}),this.addEntry("bootstrap dismissible alert",function(){var c=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;margin-left:14px;"\x3e\x3ctbody\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"middle" width\x3d"50%"\x3e\x3cb\x3eHeads up!\x3c/b\x3e This \x3cu\x3ealert needs you attention\x3c/u\x3e, but it\'s not super important.\x3c/td\x3e\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e',new mxGeometry(0,0,800,
40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#D9EDF8;fontColor\x3d#55C0E0;overflow\x3dfill;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,10),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.x;strokeColor\x3d#55C0E0;strokeWidth\x3d2;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-25,-5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,
"Dismissible Alert")}),this.addEntry("bootstrap dismissible alert",function(){var c=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;margin-left:14px;"\x3e\x3ctbody\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"middle" width\x3d"50%"\x3e\x3cb\x3eWarning!\x3c/b\x3e Better check yourself, \x3cu\x3eyou\'re not looking too good.\x3c/u\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e',new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#FDF8E4;fontColor\x3d#F2AE43;overflow\x3dfill;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,10),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.x;strokeColor\x3d#F2AE43;strokeWidth\x3d2;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-25,-5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Dismissible Alert")}),this.addEntry("bootstrap dismissible alert",function(){var c=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;margin-left:14px;"\x3e\x3ctbody\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"middle" width\x3d"50%"\x3e\x3cb\x3eOh snap!\x3c/b\x3e \x3cu\x3eChange a few things up\x3c/u\x3e and try submitting again.\x3c/td\x3e\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e',
new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#F2DEDF;fontColor\x3d#DB524C;overflow\x3dfill;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,0.5,10,10),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.x;strokeColor\x3d#DB524C;strokeWidth\x3d2;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-25,-5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],
c.geometry.width,c.geometry.height,"Dismissible Alert")}),this.addEntry("bootstrap progress bar",function(){var c=new mxCell("",new mxGeometry(0,0,800,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#f6f6f6;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#59B958;fontColor\x3d#FFFFFF;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar",function(){var c=new mxCell("",new mxGeometry(0,0,800,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#f6f6f6;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#55C0E0;fontColor\x3d#FFFFFF;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar",function(){var c=new mxCell("",new mxGeometry(0,0,800,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#f6f6f6;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#F2AE43;fontColor\x3d#FFFFFF;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar",function(){var c=new mxCell("",new mxGeometry(0,0,800,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#f6f6f6;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#DB524C;fontColor\x3d#FFFFFF;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar low percentage",function(){var c=new mxCell("0%",new mxGeometry(0,0,800,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#f6f6f6;fontColor\x3d#000000;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");c.vertex=!0;return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,
"Progress Bar (Low percentage)")}),this.addEntry("bootstrap progress bar low percentage",function(){var c=new mxCell("",new mxGeometry(0,0,800,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#f6f6f6;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("2%",new mxGeometry(0,0,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#55C0E0;fontColor\x3d#FFFFFF;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Progress Bar (Low percentage)")}),this.addEntry("bootstrap progress bar striped",function(){var c=new mxCell("",new mxGeometry(0,0,800,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#f6f6f6;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButtonStriped;fillColor\x3d#59B958;fontColor\x3d#FFFFFF;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar striped",function(){var c=new mxCell("",new mxGeometry(0,0,800,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#f6f6f6;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButtonStriped;fillColor\x3d#55BFE0;fontColor\x3d#FFFFFF;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar striped",function(){var c=new mxCell("",new mxGeometry(0,0,800,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#f6f6f6;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButtonStriped;fillColor\x3d#EFAC43;fontColor\x3d#FFFFFF;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar striped",function(){var c=new mxCell("",new mxGeometry(0,0,800,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#f6f6f6;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButtonStriped;fillColor\x3d#DB524C;fontColor\x3d#FFFFFF;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar",function(){var c=new mxCell("",new mxGeometry(0,0,800,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#f6f6f6;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,150,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#DB524C;whiteSpace\x3dwrap;");
d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(150,0,200,20),"rect;strokeColor\x3dnone;fillColor\x3d#F2AE43;html\x3d1;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(350,0,50,20),"rect;strokeColor\x3dnone;fillColor\x3d#59B958;html\x3d1;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(400,0,150,20),"rect;strokeColor\x3dnone;fillColor\x3d#55C0E0;html\x3d1;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],
c.geometry.width,c.geometry.height,"Progress Bar")}),this.addEntry("bootstrap default media",function(){var c=new mxCell("64x64",new mxGeometry(0,0,64,64),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;align\x3dcenter;strokeColor\x3dnone;fillColor\x3d#f6f6f6;fontColor\x3d#999999;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Media heading",new mxGeometry(70,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d24;align\x3dleft;whiteSpace\x3dwrap;");
d.vertex=!0;var a=new mxCell("Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.",new mxGeometry(70,30,630,60),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;align\x3dleft;verticalAlign\x3dtop;whiteSpace\x3dwrap;fontSize\x3d14;whiteSpace\x3dwrap;");a.vertex=!0;var e=new mxCell("64x64",
new mxGeometry(0,100,64,64),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;align\x3dcenter;strokeColor\x3dnone;fillColor\x3d#f6f6f6;fontColor\x3d#999999;whiteSpace\x3dwrap;");e.vertex=!0;var g=new mxCell("Media heading",new mxGeometry(70,100,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d24;align\x3dleft;whiteSpace\x3dwrap;");g.vertex=!0;var k=new mxCell("Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.",
new mxGeometry(70,130,630,60),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;align\x3dleft;verticalAlign\x3dtop;whiteSpace\x3dwrap;fontSize\x3d14;whiteSpace\x3dwrap;");k.vertex=!0;var l=new mxCell("64x64",new mxGeometry(70,200,64,64),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;align\x3dcenter;strokeColor\x3dnone;fillColor\x3d#f6f6f6;fontColor\x3d#999999;whiteSpace\x3dwrap;");l.vertex=!0;var m=new mxCell("Nested media heading",new mxGeometry(140,200,300,
30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d24;align\x3dleft;whiteSpace\x3dwrap;");m.vertex=!0;var n=new mxCell("Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.",new mxGeometry(140,230,560,60),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;align\x3dleft;verticalAlign\x3dtop;whiteSpace\x3dwrap;fontSize\x3d14;whiteSpace\x3dwrap;");
n.vertex=!0;return b.createVertexTemplateFromCells([c,d,a,e,g,k,l,m,n],700,290,"Default Media")}),this.addEntry("bootstrap media list",function(){var c=new mxCell("64x64",new mxGeometry(0,0,64,64),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;align\x3dcenter;strokeColor\x3dnone;fillColor\x3d#f6f6f6;fontColor\x3d#999999;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Media heading",new mxGeometry(70,0,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d24;align\x3dleft;whiteSpace\x3dwrap;");
d.vertex=!0;var a=new mxCell("Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.",new mxGeometry(70,30,630,60),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;align\x3dleft;verticalAlign\x3dtop;whiteSpace\x3dwrap;fontSize\x3d14;whiteSpace\x3dwrap;");a.vertex=!0;var e=new mxCell("64x64",new mxGeometry(70,90,64,64),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;align\x3dcenter;strokeColor\x3dnone;fillColor\x3d#f6f6f6;fontColor\x3d#999999;whiteSpace\x3dwrap;");
e.vertex=!0;var g=new mxCell("Nested Media heading",new mxGeometry(140,90,300,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d24;align\x3dleft;whiteSpace\x3dwrap;");g.vertex=!0;var k=new mxCell("Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.",new mxGeometry(140,120,560,60),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;align\x3dleft;verticalAlign\x3dtop;whiteSpace\x3dwrap;fontSize\x3d14;whiteSpace\x3dwrap;");
k.vertex=!0;var l=new mxCell("64x64",new mxGeometry(140,180,64,64),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;align\x3dcenter;strokeColor\x3dnone;fillColor\x3d#f6f6f6;fontColor\x3d#999999;whiteSpace\x3dwrap;");l.vertex=!0;var m=new mxCell("Nested media heading",new mxGeometry(210,180,300,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d24;align\x3dleft;whiteSpace\x3dwrap;");m.vertex=!0;var n=new mxCell("Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.",
new mxGeometry(210,210,490,60),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;align\x3dleft;verticalAlign\x3dtop;whiteSpace\x3dwrap;fontSize\x3d14;whiteSpace\x3dwrap;");n.vertex=!0;var p=new mxCell("64x64",new mxGeometry(70,280,64,64),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;align\x3dcenter;strokeColor\x3dnone;fillColor\x3d#f6f6f6;fontColor\x3d#999999;whiteSpace\x3dwrap;");p.vertex=!0;var r=new mxCell("Nested Media heading",new mxGeometry(140,280,300,
30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d24;align\x3dleft;whiteSpace\x3dwrap;");r.vertex=!0;var s=new mxCell("Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.",new mxGeometry(140,310,560,60),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;align\x3dleft;verticalAlign\x3dtop;whiteSpace\x3dwrap;fontSize\x3d14;whiteSpace\x3dwrap;");
s.vertex=!0;var q=new mxCell("64x64",new mxGeometry(636,370,64,64),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;align\x3dcenter;strokeColor\x3dnone;fillColor\x3d#f6f6f6;fontColor\x3d#999999;whiteSpace\x3dwrap;");q.vertex=!0;var t=new mxCell("Media heading",new mxGeometry(0,370,200,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontSize\x3d24;align\x3dleft;whiteSpace\x3dwrap;");t.vertex=!0;var u=new mxCell("Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.",
new mxGeometry(0,400,630,60),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;align\x3dleft;verticalAlign\x3dtop;whiteSpace\x3dwrap;fontSize\x3d14;whiteSpace\x3dwrap;");u.vertex=!0;return b.createVertexTemplateFromCells([c,d,a,e,g,k,l,m,n,p,r,s,q,t,u],700,460,"Media List")}),this.addEntry("bootstrap linked item custom content",function(){var c=new mxCell("",new mxGeometry(0,0,400,240),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fillColor\x3d#ffffff;strokeColor\x3d#dddddd;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("Donec id elit non mi porta gravida at eget metus.\nMaecenas sed diam eget risus varius blandit.",new mxGeometry(0,0,400,80),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;fillColor\x3dnone;strokeColor\x3d#dddddd;perimeter\x3dnone;spacingLeft\x3d10;align\x3dleft;fontSize\x3d14;whiteSpace\x3dwrap;verticalAlign\x3dbottom;spacingBottom\x3d10;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,80);d.vertex=!0;c.insert(d);var a=new mxCell("List group item heading",
new mxGeometry(0,0,400,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;spacingLeft\x3d10;align\x3dleft;fontSize\x3d18;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;d.insert(a);d=new mxCell("Donec id elit non mi porta gravida at eget metus.\nMaecenas sed diam eget risus varius blandit.",new mxGeometry(0,1,400,80),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.bottomButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#dddddd;spacingLeft\x3d10;align\x3dleft;fontSize\x3d14;perimeter\x3dnone;whiteSpace\x3dwrap;verticalAlign\x3dbottom;spacingBottom\x3d13;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-80);d.vertex=!0;c.insert(d);a=new mxCell("List group item heading",new mxGeometry(0,0,400,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;spacingLeft\x3d10;align\x3dleft;fontSize\x3d18;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;d.insert(a);d=new mxCell("Donec id elit non mi porta gravida at eget metus.\nMaecenas sed diam eget risus varius blandit.",new mxGeometry(0,0,400,80),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;rSize\x3d5;fillColor\x3d#3D8BCD;strokeColor\x3d#3D8BCD;fontColor\x3d#ffffff;spacingLeft\x3d10;align\x3dleft;fontSize\x3d14;perimeter\x3dnone;whiteSpace\x3dwrap;verticalAlign\x3dbottom;spacingBottom\x3d13;resizeWidth\x3d1;");
d.geometry.relative=!0;d.vertex=!0;c.insert(d);a=new mxCell("List group item heading",new mxGeometry(0,0,400,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.anchor;fontColor\x3d#ffffff;spacingLeft\x3d10;align\x3dleft;fontSize\x3d18;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Linked Items (Custom Content)")}),this.addEntry("bootstrap panel",function(){var c=new mxCell("Panel content",
new mxGeometry(0,0,150,200),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3d#E0F0D6;fillColor\x3d#ffffff;fontColor\x3d#f0f0f0;spacingTop\x3d30;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#E0F0D6;fontColor\x3d#59B958;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var c=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3d#D9EDF8;fillColor\x3d#ffffff;fontColor\x3d#f0f0f0;spacingTop\x3d30;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,
150,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#D9EDF8;fontColor\x3d#55C0E0;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var c=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3d#FDF8E4;fillColor\x3d#ffffff;fontColor\x3d#f0f0f0;spacingTop\x3d30;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#FDF8E4;fontColor\x3d#F2AE43;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var c=
new mxCell("Panel content",new mxGeometry(0,0,150,200),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3d#F2DEDF;fillColor\x3d#ffffff;fontColor\x3d#f0f0f0;spacingTop\x3d30;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#F2DEDF;fontColor\x3d#DB524C;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var c=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3d#3D8BCD;fillColor\x3d#ffffff;fontColor\x3d#f0f0f0;spacingTop\x3d30;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,
150,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#3D8BCD;fontColor\x3d#ffffff;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Panel")}),this.addEntry("bootstrap panel footer",function(){var c=new mxCell("Panel content",new mxGeometry(0,0,150,200),
"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3d#E0F0D6;fillColor\x3d#ffffff;fontColor\x3d#f0f0f0;spacingBottom\x3d30;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,1,150,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.bottomButton;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#E0F0D6;fontColor\x3d#59B958;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-30);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Panel (Footer)")}),this.addEntry("bootstrap table",function(){var c=new mxCell("",new mxGeometry(0,0,800,280),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#fdfdfd;fontColor\x3d#999999;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula. ",new mxGeometry(0,0,800,80),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3d#fdfdfd;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,120);d.vertex=!0;c.insert(d);var a=new mxCell("#",new mxGeometry(0,0,50,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.vertex=!0;d.insert(a);a=new mxCell("First Name",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(80,0);a.vertex=!0;d.insert(a);a=new mxCell("Last Name",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell("Username",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(380,0);a.vertex=!0;d.insert(a);a=new mxCell("Active",new mxGeometry(0,0,100,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(560,0);a.vertex=!0;d.insert(a);a=new mxCell("Boss",new mxGeometry(0,0,100,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(700,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,160);d.vertex=!0;c.insert(d);a=new mxCell("1",new mxGeometry(0,0,50,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.vertex=!0;d.insert(a);a=new mxCell("John",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(80,0);a.vertex=!0;d.insert(a);a=new mxCell("Boo",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell("johnny81",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(380,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.checkbox;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(560,-10);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3d#666666;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(700,-10);a.vertex=!0;d.insert(a);d=new mxCell("",
new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,200);d.vertex=!0;c.insert(d);a=new mxCell("2",new mxGeometry(0,0,50,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.vertex=!0;d.insert(a);
a=new mxCell("Mary",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(80,0);a.vertex=!0;d.insert(a);a=new mxCell("Brown",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell("missmary",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(380,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.checkbox;strokeColor\x3d#666666;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(560,-10);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.radioButton;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(700,-10);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.bottomButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3dnone;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,240);d.vertex=!0;c.insert(d);a=new mxCell("3",new mxGeometry(0,0,50,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.vertex=!0;d.insert(a);a=new mxCell("James",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(80,0);a.vertex=!0;d.insert(a);a=new mxCell("Mooray",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell("jijames",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(380,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(560,-10);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3d#666666;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(700,-10);a.vertex=!0;d.insert(a);
return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Table")}),this.addEntry("bootstrap panel list group",function(){var c=new mxCell("",new mxGeometry(0,0,600,320),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;");c.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,600,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.topButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#fdfdfd;fontColor\x3d#999999;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula. ",new mxGeometry(0,0,600,80),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;fontSize\x3d14;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);d=new mxCell("Cras justo odio",new mxGeometry(0,0,600,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;spacingLeft\x3d10;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,120);d.vertex=!0;c.insert(d);d=new mxCell("Dapibus ac facilisis in",new mxGeometry(0,0,600,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;spacingLeft\x3d10;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,160);d.vertex=!0;c.insert(d);d=new mxCell("Morbi leo risus",new mxGeometry(0,0,600,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;spacingLeft\x3d10;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,200);d.vertex=!0;c.insert(d);d=new mxCell("Porta ac consectetur ac",new mxGeometry(0,0,600,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#dddddd;fillColor\x3dnone;spacingLeft\x3d10;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,240);d.vertex=!0;c.insert(d);d=new mxCell("Vestibulum at eros",new mxGeometry(0,1,600,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.bottomButton;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3dnone;spacingLeft\x3d10;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-40);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,
c.geometry.height,"Panel (List Group)")}),this.addEntry("bootstrap table",function(){var c=new mxCell("",new mxGeometry(0,0,800,160),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3d#ffffff;");c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3d#fdfdfd;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("#",
new mxGeometry(0,0,50,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.vertex=!0;d.insert(a);a=new mxCell("First Name",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(80,0);a.vertex=!0;d.insert(a);a=new mxCell("Last Name",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell("Username",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(380,0);a.vertex=!0;d.insert(a);a=new mxCell("Active",new mxGeometry(0,0,100,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(560,0);a.vertex=!0;d.insert(a);a=new mxCell("Boss",new mxGeometry(0,0,100,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(700,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);a=new mxCell("1",new mxGeometry(0,0,50,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.vertex=!0;d.insert(a);a=new mxCell("John",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(80,0);a.vertex=!0;d.insert(a);a=new mxCell("Boo",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell("johnny81",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(380,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.checkbox;strokeColor\x3d#666666;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(560,-10);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3d#666666;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(700,-10);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,80);
d.vertex=!0;c.insert(d);a=new mxCell("2",new mxGeometry(0,0,50,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.vertex=!0;d.insert(a);a=new mxCell("Mary",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(80,0);a.vertex=!0;d.insert(a);a=new mxCell("Brown",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell("missmary",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(380,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.checkbox;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(560,-10);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.radioButton;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(700,
-10);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,120);d.vertex=!0;c.insert(d);a=new mxCell("3",new mxGeometry(0,0,50,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=
!0;a.vertex=!0;d.insert(a);a=new mxCell("James",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(80,0);a.vertex=!0;d.insert(a);a=new mxCell("Mooray",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell("jijames",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(380,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#666666;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(560,-10);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3d#666666;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(700,-10);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Table")}),this.addEntry("bootstrap table",function(){var c=new mxCell("",new mxGeometry(0,0,800,360),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3d#fdfdfd;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("Name",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(50,0);a.vertex=!0;d.insert(a);a=new mxCell("Double-Line\nHeader",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(250,0);a.vertex=!0;d.insert(a);a=new mxCell("Rating",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(450,0);a.vertex=!0;d.insert(a);a=new mxCell("Signed Up",new mxGeometry(0,0,100,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;strokeColor\x3dnone;fillColor\x3d#000000;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-25,-2.5);d.vertex=!0;a.insert(d);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(15,-10);a.vertex=!0;d.insert(a);var e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);e.vertex=!0;a.insert(e);a=new mxCell("John Boo",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(50,0);a.vertex=!0;d.insert(a);a=new mxCell("ok",new mxGeometry(0,0.5,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(250,-10);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,150,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rating;strokeColor\x3dnone;fillColor\x3d#EFAC43;emptyFillColor\x3d#dddddd;grade\x3d3;ratingScale\x3d5;ratingStyle\x3dstar;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(450,-7);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 8:56 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',new mxGeometry(0,0,160,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,80);d.vertex=!0;c.insert(d);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(15,
-10);a.vertex=!0;d.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);e.vertex=!0;a.insert(e);a=new mxCell("Michael Robinson",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(50,0);a.vertex=!0;d.insert(a);a=new mxCell("ok",new mxGeometry(0,0.5,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(250,-10);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,150,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rating;strokeColor\x3dnone;fillColor\x3d#EFAC43;emptyFillColor\x3d#dddddd;grade\x3d5;ratingScale\x3d5;ratingStyle\x3dstar;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(450,-7);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 7:12 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',new mxGeometry(0,0,160,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,120);d.vertex=!0;c.insert(d);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(15,
-10);a.vertex=!0;d.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);e.vertex=!0;a.insert(e);a=new mxCell("Alexander Robson",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(50,0);a.vertex=!0;d.insert(a);a=new mxCell("Blocked",new mxGeometry(0,0.5,70,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#999999;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(250,-10);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 4:32 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
new mxGeometry(0,0,160,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=
new mxPoint(0,160);d.vertex=!0;c.insert(d);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(15,-10);a.vertex=!0;d.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);e.vertex=!0;a.insert(e);a=new mxCell("Jennifer Pinsker",
new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(50,0);a.vertex=!0;d.insert(a);a=new mxCell("Blocked 24h",new mxGeometry(0,0.5,90,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#999999;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(250,-10);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 2:08 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',new mxGeometry(0,0,160,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,200);d.vertex=!0;c.insert(d);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(15,
-10);a.vertex=!0;d.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);e.vertex=!0;a.insert(e);a=new mxCell("Bob Robson",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(50,0);a.vertex=!0;d.insert(a);a=new mxCell("ok",new mxGeometry(0,0.5,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(250,-10);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,150,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rating;strokeColor\x3dnone;fillColor\x3d#EFAC43;emptyFillColor\x3d#dddddd;grade\x3d1;ratingScale\x3d5;ratingStyle\x3dstar;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(450,-7);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 8:56 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',new mxGeometry(0,0,160,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,240);d.vertex=!0;c.insert(d);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(15,
-10);a.vertex=!0;d.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);e.vertex=!0;a.insert(e);a=new mxCell("Michael Robinson",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(50,0);a.vertex=!0;d.insert(a);a=new mxCell("Suspect",new mxGeometry(0,0.5,70,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#55BFE0;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(250,-10);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,150,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rating;strokeColor\x3dnone;fillColor\x3d#EFAC43;emptyFillColor\x3d#dddddd;grade\x3d4;ratingScale\x3d5;ratingStyle\x3dstar;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(450,-7);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 7:12 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',new mxGeometry(0,0,160,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,280);d.vertex=!0;c.insert(d);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(15,
-10);a.vertex=!0;d.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);e.vertex=!0;a.insert(e);a=new mxCell("Jennifer Pinsker",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(50,0);a.vertex=!0;d.insert(a);a=new mxCell("ok",new mxGeometry(0,0.5,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(250,-10);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 4:34 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
new mxGeometry(0,0,160,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=
new mxPoint(0,320);d.vertex=!0;c.insert(d);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(15,-10);a.vertex=!0;d.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);e.vertex=!0;a.insert(e);a=new mxCell("John Boo",
new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(50,0);a.vertex=!0;d.insert(a);a=new mxCell("Violation",new mxGeometry(0,0.5,70,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#DB524C;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(250,-10);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,150,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rating;strokeColor\x3dnone;fillColor\x3d#EFAC43;emptyFillColor\x3d#dddddd;grade\x3d2;ratingScale\x3d5;ratingStyle\x3dstar;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(450,-7);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 2:08 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
new mxGeometry(0,0,160,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Table")}),this.addEntry("bootstrap table",function(){var c=new mxCell("",new mxGeometry(0,0,800,340),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3d#fdfdfd;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("Admin Name",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(10,0);a.vertex=!0;d.insert(a);a=new mxCell("Object",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(200,0);a.vertex=!0;d.insert(a);a=new mxCell("Action",new mxGeometry(0,0,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(400,0);a.vertex=!0;d.insert(a);a=new mxCell("Date",new mxGeometry(0,0,100,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;strokeColor\x3dnone;fillColor\x3d#000000;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(665,-2.5);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);a=new mxCell("Jennifer Pinsker\n",new mxGeometry(0,0,150,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(200,-15);a.vertex=!0;d.insert(a);var e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,
-6);e.vertex=!0;a.insert(e);a=new mxCell("John Boo\n",new mxGeometry(0,0,150,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"middle" width\x3d"50%"\x3eProfile Updated\x3cbr/\x3e\x3cfont color\x3d"#dddddd"\x3eFirst Name is set to Bobby\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
new mxGeometry(0,0,210,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(400,0);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 8:56 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3cbr\x3e\x3cbr\x3e\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
new mxGeometry(0,0,160,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=
new mxPoint(0,90);d.vertex=!0;c.insert(d);a=new mxCell("Bob Robson\n",new mxGeometry(0,0,150,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(200,-15);a.vertex=!0;d.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);e.vertex=!0;a.insert(e);a=new mxCell("Michael Robinson\n",new mxGeometry(0,0,150,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"middle" width\x3d"50%"\x3eViolation Resolved\x3cbr/\x3e\x3cfont color\x3d"#dddddd"\x3eFake Person Violation resolved\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',new mxGeometry(0,0,210,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(400,0);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 7:12 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3cbr\x3e\x3cbr\x3e\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',new mxGeometry(0,0,160,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,140);d.vertex=!0;c.insert(d);a=new mxCell("Michael Robinson\n",new mxGeometry(0,0,150,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(200,-15);a.vertex=!0;d.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);
e.vertex=!0;a.insert(e);a=new mxCell("Alexander Robson\n",new mxGeometry(0,0,150,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1");a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"middle" width\x3d"50%"\x3eSuspect Resolved\x3cbr/\x3e\x3cfont color\x3d"#dddddd"\x3eMass Friending Suspect resolved\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
new mxGeometry(0,0,210,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(400,0);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 4:34 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3cbr\x3e\x3cbr\x3e\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
new mxGeometry(0,0,160,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=
new mxPoint(0,190);d.vertex=!0;c.insert(d);a=new mxCell("Jennifer Pinsker\n",new mxGeometry(0,0,150,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(200,-15);a.vertex=!0;d.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);e.vertex=!0;a.insert(e);a=new mxCell("Jennifer Pinsker\n",new mxGeometry(0,0,150,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"middle" width\x3d"50%"\x3eProfile Violation Detected\x3cbr/\x3e\x3cfont color\x3d"#dddddd"\x3eFirst Name is marked as Violation\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',new mxGeometry(0,0,210,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(400,0);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 2:08 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3cbr\x3e\x3cbr\x3e\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',new mxGeometry(0,0,160,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,240);d.vertex=!0;c.insert(d);a=new mxCell("John Boo\n",new mxGeometry(0,0,150,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(200,-15);a.vertex=!0;d.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);
e.vertex=!0;a.insert(e);a=new mxCell("Bob Robson\n",new mxGeometry(0,0,150,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"middle" width\x3d"50%"\x3eProfile Updated\x3cbr/\x3e\x3cfont color\x3d"#dddddd"\x3eFirst Name is set to Bobby\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
new mxGeometry(0,0,210,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(400,0);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 8:56 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3cbr\x3e\x3cbr\x3e\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
new mxGeometry(0,0,160,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=
new mxPoint(0,290);d.vertex=!0;c.insert(d);a=new mxCell("Michael Robinson\n",new mxGeometry(0,0,150,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,0);a.vertex=!0;d.insert(a);a=new mxCell("",new mxGeometry(0,0.5,20,20),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#dddddd;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(200,-15);a.vertex=!0;d.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-6);e.vertex=!0;a.insert(e);a=new mxCell("Michael Robinson\n",new mxGeometry(0,0,150,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(230,0);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"left" valign\x3d"middle" width\x3d"50%"\x3eUser Blocked\x3cbr/\x3e\x3cfont color\x3d"#dddddd"\x3eBlocked for 24 hours\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',new mxGeometry(0,0,210,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(400,0);a.vertex=!0;d.insert(a);a=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3e15 Sep, 7:12 AM \x3cfont color\x3d"#dddddd"\x3e(2013)\x3cbr\x3e\x3cbr\x3e\x3c/font\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',new mxGeometry(0,0,160,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;align\x3dleft;overflow\x3dfill;whiteSpace\x3dwrap;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(620,0);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Table")}),this.addEntry("bootstrap table",function(){var c=new mxCell("",new mxGeometry(0,0,800,430),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3d#ffffff;");c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3d#fdfdfd;resizeWidth\x3d1;");
d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("Template Name",new mxGeometry(0,0,200,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeHeight\x3d1;");a.geometry.relative=!0;a.vertex=!0;d.insert(a);a=new mxCell("Message",new mxGeometry(0,0,200,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d14;fontStyle\x3d1;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;resizeWidth\x3d1;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(200,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,130),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;c.insert(d);a=new mxCell("Uncompleted Profile",new mxGeometry(0,0,200,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;");
a.geometry.relative=!0;a.vertex=!0;d.insert(a);a=new mxCell("Hello! At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium deleniti atque corrupti quos doloreset quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id estlaborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Name libero tempore, cum soluta nobis est eligendioptio cumque nihil impedit quo.",new mxGeometry(0,
0,400,130),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;valign\x3dtop;spacingLeft\x3d10;verticalAlign\x3dtop;spacingTop\x3d6;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(200,0);a.vertex=!0;d.insert(a);a=new mxCell("Edit",new mxGeometry(1,0,50,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-140,15);a.vertex=!0;d.insert(a);a=new mxCell("Delete",new mxGeometry(1,0,60,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-80,15);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,100),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,170);d.vertex=!0;c.insert(d);a=new mxCell("Spam Suspect",new mxGeometry(0,0,200,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;");a.geometry.relative=!0;a.vertex=!0;d.insert(a);a=new mxCell("Hello, deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa quiofficia deserunt mollitia animi, id est fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam nobis est eligendi optio cumquenihil impedit quo minus id quod maxime placeat.",
new mxGeometry(0,0,400,100),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;valign\x3dtop;spacingLeft\x3d10;verticalAlign\x3dtop;spacingTop\x3d6;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(200,0);a.vertex=!0;d.insert(a);a=new mxCell("Edit",new mxGeometry(1,0,50,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-140,15);a.vertex=!0;d.insert(a);a=new mxCell("Delete",new mxGeometry(1,0,60,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-80,15);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0,0,800,160),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3dnone;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,270);d.vertex=!0;c.insert(d);a=new mxCell("Profile Blocked",new mxGeometry(0,0,200,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;spacingLeft\x3d10;whiteSpace\x3dwrap;");a.vertex=!0;d.insert(a);a=new mxCell("Hello! Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsaquae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sitaspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est,qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et doloremagnam aliquam quaerat voluptarem.",
new mxGeometry(0,0,400,160),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;valign\x3dtop;spacingLeft\x3d10;verticalAlign\x3dtop;spacingTop\x3d6;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(200,0);a.vertex=!0;d.insert(a);a=new mxCell("Edit",new mxGeometry(1,0,50,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-140,15);a.vertex=!0;d.insert(a);a=new mxCell("Delete",new mxGeometry(1,0,60,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-80,15);a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Table")}),this.addEntry("bootstrap table",function(){var c=
new mxCell("",new mxGeometry(0,0,800,80),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3d#fdfdfd;");c.vertex=!0;var d=new mxCell("Group Name",new mxGeometry(20,20,500,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;align\x3dleft;spacingLeft\x3d10;fontSize\x3d18;fontColor\x3d#999999;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);d=new mxCell("Create Templates Group",
new mxGeometry(540,20,240,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#3D8BCD;fontSize\x3d18;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Table")}),this.addEntry("bootstrap edit template",function(){var c=new mxCell("Template name",new mxGeometry(0,0,200,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("Uncompleted Profile",new mxGeometry(0,20,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;;fillColor\x3d#ffffff;align\x3dleft;spacingLeft\x3d10;fontSize\x3d16;whiteSpace\x3dwrap;");d.vertex=!0;var a=new mxCell("Subject",new mxGeometry(0,80,200,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");
a.vertex=!0;var e=new mxCell("Hello, %USER_FULL_NAME%",new mxGeometry(0,100,800,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;;fillColor\x3d#ffffff;align\x3dleft;spacingLeft\x3d10;fontSize\x3d16;whiteSpace\x3dwrap;");e.vertex=!0;var g=new mxCell("Insert System Variable",new mxGeometry(650,80,120,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dright;fontSize\x3d10;whiteSpace\x3dwrap;");
g.vertex=!0;var k=new mxCell("",new mxGeometry(772,87,8,4),"shape\x3dtriangle;strokeColor\x3dnone;fillColor\x3d#000000;direction\x3dsouth;");k.vertex=!0;var l=new mxCell("Message",new mxGeometry(0,160,200,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");l.vertex=!0;var m=new mxCell("Hello %USER_FULL_NAME%!\n\nAt vero eos et accusamus et iusto odio dignissimos ducimus, qui blanditiis praesentium voluptatum deleniti atque corrupti, quosdolores et quas molestias excepturi sint, obcaecati cupiditate non provident, similique sunt in culpa, qui officia deserunt mollitiaanimi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum solutanobis est eligendi optio, cumque nihil impedit, quo minus id, quod maxime placeat, facere possimus, omnis voluptas assumendaest, omnis dolor repellendus.",
new mxGeometry(0,180,800,240),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;fontSize\x3d12;strokeColor\x3d#dddddd;;fillColor\x3d#ffffff;align\x3dleft;spacing\x3d10;verticalAlign\x3dtop;whiteSpace\x3dwrap;");m.vertex=!0;var n=new mxCell("Insert System Variable",new mxGeometry(650,160,120,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dright;fontSize\x3d10;whiteSpace\x3dwrap;");n.vertex=!0;var p=new mxCell("",
new mxGeometry(772,167,8,4),"shape\x3dtriangle;strokeColor\x3dnone;fillColor\x3d#000000;direction\x3dsouth;");p.vertex=!0;var r=new mxCell("%USER_FULL_NAME%\n%USER_EMAIL%\n%USER_PROFILE_COMPLETENESS%\n%USER_NUM_SUCCESS_TRADES%\n%USER_FULL_NAME%\n%USER_EMAIL%\n%USER_PROFILE_COMPLETENESS%\n%USER_NUM_SUCCESS_SELLS%",new mxGeometry(550,175,240,140),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fontSize\x3d12;rSize\x3d2;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d10;shadow\x3d1;whiteSpace\x3dwrap;");
r.vertex=!0;var s=new mxCell("Message Type",new mxGeometry(0,440,200,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");s.vertex=!0;var q=new mxCell("Email + Push",new mxGeometry(0,460,390,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;;fillColor\x3d#ffffff;align\x3dleft;spacingLeft\x3d10;fontSize\x3d16;whiteSpace\x3dwrap;");
q.vertex=!0;var t=new mxCell("",new mxGeometry(370,477,10,5),"shape\x3dtriangle;strokeColor\x3dnone;fillColor\x3d#000000;direction\x3dsouth;");t.vertex=!0;var u=new mxCell("Tap target",new mxGeometry(410,440,200,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");u.vertex=!0;var v=new mxCell("Profile Screen",new mxGeometry(410,460,390,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;;fillColor\x3d#ffffff;align\x3dleft;spacingLeft\x3d10;fontSize\x3d16;whiteSpace\x3dwrap;");
v.vertex=!0;var z=new mxCell("",new mxGeometry(780,477,10,5),"shape\x3dtriangle;strokeColor\x3dnone;fillColor\x3d#000000;direction\x3dsouth;");z.vertex=!0;var y=new mxCell("Send to Group",new mxGeometry(0,520,200,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");y.vertex=!0;var x=new mxCell("Top Management",new mxGeometry(10,543,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.checkbox;fontSize\x3d12;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;labelPosition\x3dright;spacingLeft\x3d5;");
x.vertex=!0;var D=new mxCell("Marketing Department",new mxGeometry(10,563,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fontSize\x3d12;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;labelPosition\x3dright;spacingLeft\x3d5;");D.vertex=!0;var A=new mxCell("Design Department",new mxGeometry(10,583,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.checkbox;fontSize\x3d12;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;labelPosition\x3dright;spacingLeft\x3d5;");
A.vertex=!0;var B=new mxCell("Financial Department",new mxGeometry(10,603,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fontSize\x3d12;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;labelPosition\x3dright;spacingLeft\x3d5;");B.vertex=!0;var E=new mxCell("Supply Department",new mxGeometry(10,623,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fontSize\x3d12;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;labelPosition\x3dright;spacingLeft\x3d5;");
E.vertex=!0;var F=new mxCell("Set Type",new mxGeometry(410,520,200,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");F.vertex=!0;var G=new mxCell("",new mxGeometry(420,543,14,14),"shape\x3dellipse;dashed\x3d0;strokeColor\x3d#999999;fillColor\x3d#ffffff;html\x3d1;");G.vertex=!0;var H=new mxCell("News",new mxGeometry(440,543,40,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#58B957;fontColor\x3d#ffffff;fontStyle\x3d1;fontSize\x3d10;whiteSpace\x3dwrap;");
H.vertex=!0;var I=new mxCell("",new mxGeometry(420,563,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.radioButton;strokeColor\x3d#999999;fillColor\x3d#ffffff;");I.vertex=!0;var L=new mxCell("Reports",new mxGeometry(440,563,50,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#55BFE0;fontColor\x3d#ffffff;fontStyle\x3d1;fontSize\x3d10;whiteSpace\x3dwrap;");L.vertex=!0;var O=new mxCell("",new mxGeometry(420,
583,14,14),"shape\x3dellipse;dashed\x3d0;strokeColor\x3d#999999;fillColor\x3d#ffffff;html\x3d1;");O.vertex=!0;var S=new mxCell("Documents",new mxGeometry(440,583,70,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#EFAC43;fontColor\x3d#ffffff;fontStyle\x3d1;fontSize\x3d10;whiteSpace\x3dwrap;");S.vertex=!0;var W=new mxCell("",new mxGeometry(420,603,14,14),"shape\x3dellipse;dashed\x3d0;strokeColor\x3d#999999;fillColor\x3d#ffffff;html\x3d1;");
W.vertex=!0;var Q=new mxCell("Media",new mxGeometry(440,603,40,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#3D8BCD;fontColor\x3d#ffffff;fontStyle\x3d1;fontSize\x3d10;whiteSpace\x3dwrap;");Q.vertex=!0;var C=new mxCell("",new mxGeometry(420,623,14,14),"shape\x3dellipse;dashed\x3d0;strokeColor\x3d#999999;fillColor\x3d#ffffff;html\x3d1;");C.vertex=!0;var N=new mxCell("Text",new mxGeometry(440,623,30,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#999999;fontColor\x3d#ffffff;fontStyle\x3d1;fontSize\x3d10;whiteSpace\x3dwrap;");
N.vertex=!0;var P=new mxCell("Save Template",new mxGeometry(0,680,150,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#3D8BCD;fontColor\x3d#ffffff;fontSize\x3d16;whiteSpace\x3dwrap;");P.vertex=!0;var M=new mxCell("Cancel",new mxGeometry(170,680,100,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;align\x3dcenter;rSize\x3d5;strokeColor\x3d#dddddd;fontSize\x3d16;whiteSpace\x3dwrap;");
M.vertex=!0;var V=new mxCell("Delete Template",new mxGeometry(630,680,170,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#DB524C;fontColor\x3d#ffffff;fontSize\x3d16;whiteSpace\x3dwrap;");V.vertex=!0;return b.createVertexTemplateFromCells([c,d,a,e,g,k,l,m,n,p,r,s,q,t,u,v,z,y,x,D,A,B,E,F,G,H,I,L,O,S,W,Q,C,N,P,M,V],800,720,"Edit Template")}),this.addEntry("bootstrap business contact",function(){var c=new mxCell("",new mxGeometry(0,
0,800,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3d#fdfdfd;");c.vertex=!0;var d=new mxCell("2 fields selected",new mxGeometry(0,0.5,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.checkbox;strokeColor\x3d#dddddd;fillColor\x3dnone;align\x3dleft;labelPosition\x3dright;spacingLeft\x3d10;fontStyle\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(13,-7);d.vertex=!0;c.insert(d);d=new mxCell("Mark as OK",new mxGeometry(0,
0.5,90,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(150,-15);d.vertex=!0;c.insert(d);d=new mxCell("Mark as Violation",new mxGeometry(0,0.5,120,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(250,
-15);d.vertex=!0;c.insert(d);d=new mxCell("Mark all as OK",new mxGeometry(1,0.5,100,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-110,-15);d.vertex=!0;c.insert(d);d=new mxCell("Phone",new mxGeometry(40,70,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");
d.vertex=!0;var a=new mxCell("",new mxGeometry(13,103,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.checkbox;strokeColor\x3d#999999;fillColor\x3d#ffffff;");a.vertex=!0;var e=new mxCell("+38 (066) 875 67 97",new mxGeometry(40,90,640,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");e.vertex=!0;var g=new mxCell("ok",new mxGeometry(700,
100,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");g.vertex=!0;var k=new mxCell("Business email",new mxGeometry(40,140,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");k.vertex=!0;var l=new mxCell("",
new mxGeometry(13,173,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.checkbox;strokeColor\x3d#999999;fillColor\x3d#ffffff;");l.vertex=!0;var m=new mxCell("seo@apple.com",new mxGeometry(40,160,640,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#FDF8E4;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");m.vertex=!0;var n=new mxCell("To Moderate",new mxGeometry(700,170,90,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#EFAC43;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");
n.vertex=!0;var p=new mxCell("Skype",new mxGeometry(40,210,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");p.vertex=!0;var r=new mxCell("",new mxGeometry(13,243,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;");r.vertex=!0;var s=new mxCell("alex.robby",new mxGeometry(40,230,640,
40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");s.vertex=!0;var q=new mxCell("ok",new mxGeometry(700,240,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;align\x3dcenter;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");q.vertex=!0;return b.createVertexTemplateFromCells([c,
d,a,e,g,k,l,m,n,p,r,s,q],800,270,"Business Contacts")}),this.addEntry("bootstrap experience",function(){var c=new mxCell("",new mxGeometry(0,0,800,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3d#fdfdfd;");c.vertex=!0;var d=new mxCell("Select fields to update status",new mxGeometry(0,0.5,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;align\x3dleft;labelPosition\x3dright;spacingLeft\x3d10;fontStyle\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(13,-7);d.vertex=!0;c.insert(d);d=new mxCell("Position",new mxGeometry(40,70,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");d.vertex=!0;var a=new mxCell("",new mxGeometry(13,103,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;");
a.vertex=!0;var e=new mxCell("Senior Engineer",new mxGeometry(40,90,640,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");e.vertex=!0;var g=new mxCell("ok",new mxGeometry(700,100,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;align\x3dcenter;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");
g.vertex=!0;var k=new mxCell("Company",new mxGeometry(40,140,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");k.vertex=!0;var l=new mxCell("",new mxGeometry(13,173,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");l.vertex=!0;var m=new mxCell("Tesla Motors",new mxGeometry(40,
160,640,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");m.vertex=!0;var n=new mxCell("ok",new mxGeometry(700,170,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;align\x3dcenter;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");n.vertex=!0;var p=new mxCell("Working from",
new mxGeometry(40,210,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");p.vertex=!0;var r=new mxCell("",new mxGeometry(13,243,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;");r.vertex=!0;var s=new mxCell("October",new mxGeometry(40,230,130,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");
s.vertex=!0;var q=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(-30,-3);q.vertex=!0;s.insert(q);q=new mxCell("2011",new mxGeometry(190,230,130,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");
q.vertex=!0;var t=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;whiteSpace\x3dwrap;");t.geometry.relative=!0;t.geometry.offset=new mxPoint(-30,-3);t.vertex=!0;q.insert(t);t=new mxCell("Working to",new mxGeometry(400,210,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#999999;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;");t.vertex=
!0;var u=new mxCell("Current time",new mxGeometry(580,210,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dright;spacingRight\x3d5;fontColor\x3d#55C0E0;whiteSpace\x3dwrap;");u.vertex=!0;var v=new mxCell("",new mxGeometry(340,240,40,20),"shape\x3dline;strokeWidth\x3d2;shadow\x3d0;dashed\x3d0;");v.vertex=!0;var z=new mxCell("December",new mxGeometry(400,230,130,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");
z.vertex=!0;var y=new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");y.geometry.relative=!0;y.geometry.offset=new mxPoint(-30,-3);y.vertex=!0;z.insert(y);y=new mxCell("2012",new mxGeometry(550,230,130,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");y.vertex=!0;var x=
new mxCell("",new mxGeometry(1,0.5,10,5),"shape\x3dtriangle;direction\x3dsouth;fillColor\x3d#000000;strokeColor\x3dnone;perimeter\x3dnone;");x.geometry.relative=!0;x.geometry.offset=new mxPoint(-30,-3);x.vertex=!0;y.insert(x);x=new mxCell("ok",new mxGeometry(700,240,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;align\x3dcenter;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");x.vertex=!0;return b.createVertexTemplateFromCells([c,
d,a,e,g,k,l,m,n,p,r,s,q,t,u,v,z,y,x],800,270,"Experience")}),this.addEntry("bootstrap skills",function(){var c=new mxCell("",new mxGeometry(0,0,800,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.horLines;strokeColor\x3d#dddddd;fillColor\x3d#fdfdfd;");c.vertex=!0;var d=new mxCell("Select fields to update status",new mxGeometry(0,0.5,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#dddddd;fillColor\x3d#ffffff;align\x3dleft;labelPosition\x3dright;spacingLeft\x3d10;fontStyle\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(13,-7);d.vertex=!0;c.insert(d);d=new mxCell("Mark all as OK",new mxGeometry(1,0.5,100,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#dddddd;fillColor\x3d#fdfdfd;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-120,-15);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(13,103,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;");
d.vertex=!0;var a=new mxCell("Engineering",new mxGeometry(40,90,640,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");a.vertex=!0;var e=new mxCell("ok",new mxGeometry(700,100,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");
e.vertex=!0;var g=new mxCell("",new mxGeometry(13,173,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;");g.vertex=!0;var k=new mxCell("Thinking",new mxGeometry(40,160,640,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#FDF8E4;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");k.vertex=!0;var l=new mxCell("To Moderate",new mxGeometry(700,
170,90,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#EFAC43;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");l.vertex=!0;var m=new mxCell("",new mxGeometry(13,243,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;");m.vertex=!0;var n=new mxCell("Working",new mxGeometry(40,230,640,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");
n.vertex=!0;var p=new mxCell("ok",new mxGeometry(700,240,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");p.vertex=!0;var r=new mxCell("",new mxGeometry(13,313,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;");r.vertex=!0;var s=new mxCell("Sleeping",new mxGeometry(40,
300,640,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");s.vertex=!0;var q=new mxCell("ok",new mxGeometry(700,310,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");q.vertex=!0;var t=new mxCell("",
new mxGeometry(13,383,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;");t.vertex=!0;var u=new mxCell("Eating",new mxGeometry(40,370,640,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");u.vertex=!0;var v=new mxCell("ok",new mxGeometry(700,380,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");
v.vertex=!0;var z=new mxCell("",new mxGeometry(13,453,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d3;strokeColor\x3d#999999;fillColor\x3d#ffffff;");z.vertex=!0;var y=new mxCell("Walking",new mxGeometry(40,440,640,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;align\x3dleft;fontSize\x3d16;spacingLeft\x3d10;whiteSpace\x3dwrap;");y.vertex=!0;var x=new mxCell("ok",new mxGeometry(700,
450,30,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;align\x3dcenter;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#58B957;fontSize\x3d12;fontStyle\x3d1;fontColor\x3d#ffffff;whiteSpace\x3dwrap;");x.vertex=!0;return b.createVertexTemplateFromCells([c,d,a,e,g,k,l,m,n,p,r,s,q,t,u,v,z,y,x],800,480,"Skills")}),this.addEntry("bootstrap chat",function(){var c=new mxCell("",new mxGeometry(0,0,400,660),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#333333;fillColor\x3d#ffffff;whiteSpace\x3dwrap;");
c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,400,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3d#333333;fillColor\x3d#333333;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);var a=new mxCell("John Boo",new mxGeometry(0,0.5,30,30),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#f0f0f0;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d10;fontColor\x3d#f0f0f0;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(15,-15);a.vertex=!0;d.insert(a);var e=new mxCell("",new mxGeometry(0.5,0.5,20,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-10,-10);e.vertex=!0;a.insert(e);a=new mxCell("Michael Robinson",new mxGeometry(1,0.5,30,30),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#f0f0f0;labelPosition\x3dleft;align\x3dright;spacingRight\x3d10;fontColor\x3d#f0f0f0;html\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(-45,-15);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0.5,0.5,20,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.user;strokeColor\x3dnone;fillColor\x3d#999999;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-10,-10);d.vertex=!0;a.insert(d);d=new mxCell("15 September 2013",new mxGeometry(0,0,400,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#fdfdfd;fontColor\x3d#999999;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,75);d.vertex=!0;c.insert(d);d=new mxCell("Hi man!",new mxGeometry(0,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#E0F0D6;align\x3dleft;spacingLeft\x3d15;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(20,135);d.vertex=!0;c.insert(d);d=new mxCell("8:56:14 AM",new mxGeometry(0,0,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#dddddd;fontSize\x3d10;align\x3dleft;whiteSpace\x3dwrap;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(20,175);d.vertex=!0;c.insert(d);d=new mxCell("Hello there...",new mxGeometry(1,0,100,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#D9EDF8;align\x3dright;spacingRight\x3d15;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-120,195);d.vertex=!0;c.insert(d);d=new mxCell("8:56:14 AM",new mxGeometry(1,0,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#dddddd;fontSize\x3d10;align\x3dright;whiteSpace\x3dwrap;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-120,235);d.vertex=!0;c.insert(d);d=new mxCell("Duis aute inure dolor in reprehenderit in voluptate velit esse cilium dolore eu fugiat nulla pariatur.",new mxGeometry(0,0,240,80),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#E0F0D6;align\x3dleft;spacing\x3d15;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(20,255);d.vertex=!0;c.insert(d);d=new mxCell("8:56:14 AM",
new mxGeometry(0,0,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#dddddd;fontSize\x3d10;align\x3dleft;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(20,335);d.vertex=!0;c.insert(d);d=new mxCell("Really?! Can't believe that, man!",new mxGeometry(1,0,200,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#D9EDF8;align\x3dright;spacing\x3d15;whiteSpace\x3dwrap;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-220,355);d.vertex=!0;c.insert(d);d=new mxCell("8:56:14 AM",new mxGeometry(1,0,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#dddddd;fontSize\x3d10;align\x3dright;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-120,395);d.vertex=!0;c.insert(d);d=new mxCell("And even nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptasassumenda est, omnis dolor!",
new mxGeometry(0,0,240,100),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#E0F0D6;align\x3dleft;spacing\x3d15;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(20,415);d.vertex=!0;c.insert(d);d=new mxCell("8:56:14 AM",new mxGeometry(0,0,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#dddddd;fontSize\x3d10;align\x3dleft;whiteSpace\x3dwrap;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(20,515);d.vertex=!0;c.insert(d);d=new mxCell("Ok. Deal!",new mxGeometry(1,0,80,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#D9EDF8;align\x3dright;spacing\x3d15;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-100,535);d.vertex=!0;c.insert(d);d=new mxCell("8:56:14 AM",new mxGeometry(1,0,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#dddddd;fontSize\x3d10;align\x3dright;whiteSpace\x3dwrap;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-120,575);d.vertex=!0;c.insert(d);d=new mxCell("Huh..",new mxGeometry(0,0,60,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#E0F0D6;align\x3dleft;spacing\x3d15;whiteSpace\x3dwrap;whiteSpace\x3dwrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(20,595);d.vertex=!0;c.insert(d);d=new mxCell("8:56:14 AM",new mxGeometry(0,0,100,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#dddddd;fontSize\x3d10;align\x3dleft;whiteSpace\x3dwrap;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(20,635);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],400,660,"Chat")}),this.addEntry("bootstrap log in",function(){var c=new mxCell("Control Panel",new mxGeometry(0,0,240,220),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;align\x3dcenter;rSize\x3d5;strokeColor\x3d#000000;verticalAlign\x3dtop;spacingTop\x3d20;fontSize\x3d14;fontStyle\x3d1;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell("Email",
new mxGeometry(0,0,190,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;fontSize\x3d14;fontColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d40;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(30,60);d.vertex=!0;c.insert(d);var a=new mxCell("",new mxGeometry(0,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#fdfdfd;resizeHeight\x3d1;");
a.geometry.relative=!0;a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0.5,0.5,16,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.mail;strokeColor\x3d#fdfdfd;fillColor\x3d#999999;strokeWidth\x3d1.3;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-8,-6);d.vertex=!0;a.insert(d);d=new mxCell("Password",new mxGeometry(0,0,190,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;rSize\x3d5;strokeColor\x3d#999999;fontSize\x3d14;fontColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d40;whiteSpace\x3dwrap;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(30,100);d.vertex=!0;c.insert(d);a=new mxCell("",new mxGeometry(0,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#fdfdfd;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,0);a.vertex=!0;d.insert(a);d=new mxCell("",new mxGeometry(0.5,0.5,16,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.password;strokeColor\x3d#999999;strokeWidth\x3d3;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-8,-8);d.vertex=!0;a.insert(d);a=new mxCell("Remember me",new mxGeometry(0,0,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.checkbox;rSize\x3d3;strokeColor\x3d#666666;fillColor\x3d#ffffff;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d5;fontSize\x3d10;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(73,148);a.vertex=!0;c.insert(a);a=new mxCell("Log In",new mxGeometry(0,1,190,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#58B957;fontColor\x3d#ffffff;fontSize\x3d14;fontStyle\x3d1;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(30,-50);a.vertex=!0;c.insert(a);return b.createVertexTemplateFromCells([c],240,220,"Log in")}),this.addEntry("bootstrap log in",function(){var c=new mxCell("Control Panel",new mxGeometry(0,0,240,260),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;fillColor\x3d#ffffff;align\x3dcenter;rSize\x3d5;strokeColor\x3d#000000;verticalAlign\x3dtop;spacingTop\x3d20;fontSize\x3d14;fontStyle\x3d1;whiteSpace\x3dwrap;");c.vertex=!0;var d=new mxCell('\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle" width\x3d"50%"\x3eIncorrect \x3cb\x3eEmail\x3c/b\x3e or \x3cb\x3ePassword\x3c/b\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
new mxGeometry(0,0,190,40),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#F2DEDF;fontColor\x3d#DB524C;overflow\x3dfill;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(30,50);d.vertex=!0;c.insert(d);var a=new mxCell("john@gmail.com",new mxGeometry(0,0,190,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#fdfdfd;fontSize\x3d14;align\x3dleft;spacingLeft\x3d40;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(30,100);a.vertex=!0;c.insert(a);d=new mxCell("",new mxGeometry(0,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;resizeHeight\x3d1;");d.geometry.relative=!0;d.vertex=!0;a.insert(d);a=new mxCell("",new mxGeometry(0.5,0.5,16,12),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.mail;strokeColor\x3d#fdfdfd;fillColor\x3d#999999;strokeWidth\x3d1.3;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-8,-6);a.vertex=!0;d.insert(a);a=new mxCell("********",new mxGeometry(0,0,190,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#fdfdfd;fontSize\x3d14;align\x3dleft;spacingLeft\x3d40;whiteSpace\x3dwrap;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(30,140);a.vertex=!0;c.insert(a);d=new mxCell("",new mxGeometry(0,0,30,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.leftButton;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;resizeHeight\x3d1;");
d.geometry.relative=!0;d.vertex=!0;a.insert(d);a=new mxCell("",new mxGeometry(0.5,0.5,16,16),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.password;strokeColor\x3d#999999;strokeWidth\x3d3;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-8,-8);a.vertex=!0;d.insert(a);d=new mxCell("Remember me",new mxGeometry(0,1,14,14),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.checkbox;rSize\x3d3;strokeColor\x3d#666666;fillColor\x3d#ffffff;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d5;fontSize\x3d10;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(73,-72);d.vertex=!0;c.insert(d);d=new mxCell("Log In",new mxGeometry(0,1,190,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.bootstrap.rrect;rSize\x3d5;strokeColor\x3dnone;fillColor\x3d#58B957;fontColor\x3d#ffffff;fontSize\x3d14;fontStyle\x3d1;whiteSpace\x3dwrap;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(30,-50);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([c],240,260,"Log in")})];this.addPalette("bootstrap",
mxResources.get("bootstrap"),!1,mxUtils.bind(this,function(b){for(var d=0;d<c.length;d++)b.appendChild(c[d](b))}))}})();
(function(){var b=Sidebar.prototype.addBpmnPalette;Sidebar.prototype.addBpmnPalette=function(c,f){b.apply(this,arguments);var d="shape\x3dmxgraph.bpmn.shape;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;perimeter\x3drhombusPerimeter;background\x3dgateway;",a="bpmn business process model gateway ";this.addPaletteFunctions("bpmnGateways","BPMN Gateways",!1,[this.createVertexTemplateEntry(d+"outline\x3dnone;symbol\x3dexclusiveGw;",50,50,"","Exclusive Gateway",
null,null,a+"exclusive"),this.createVertexTemplateEntry(d+"outline\x3dnone;symbol\x3dparallelGw;",50,50,"","Parallel Gateway",null,null,a+"parallel"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dgeneral;",50,50,"","Inclusive Gateway",null,null,a+"inclusive"),this.createVertexTemplateEntry(d+"outline\x3dnone;symbol\x3dcomplexGw;",50,50,"","Complex Gateway",null,null,a+"complex"),this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dgeneral;",50,50,"","General Start Gateway",
null,null,a+"general start"),this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3dgeneral;",50,50,"","General Intermediate Gateway",null,null,a+"general intermediate"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dgeneral;",50,50,"","General End Gateway",null,null,a+"general end"),this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dmessage;",50,50,"","Message Standard Gateway",null,null,a+"message standard"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dmessage;",
50,50,"","Message Interrupting Gateway",null,null,a+"message interrupting"),this.createVertexTemplateEntry(d+"outline\x3deventNonint;symbol\x3dmessage;",50,50,"","Message Non-Interrupting Gateway",null,null,a+"message non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dmessage;",50,50,"","Message Catching Gateway",null,null,a+"message catching"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dmessage;",50,50,"","Message Boundary Interrupting Gateway",
null,null,a+"message boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundNonint;symbol\x3dmessage;",50,50,"","Message Boundary Non-Interrupting Gateway",null,null,a+"message boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3dmessage;",50,50,"","Message Throwing Gateway",null,null,a+"message throwing"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dmessage;",50,50,"","Message End Gateway",null,null,a+"message end"),
this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dtimer;",50,50,"","Timer Standard Gateway",null,null,a+"timer standard"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dtimer;",50,50,"","Timer Interrupting Gateway",null,null,a+"timer interrupting"),this.createVertexTemplateEntry(d+"outline\x3deventNonint;symbol\x3dtimer;",50,50,"","Timer Non-Interrupting Gateway",null,null,a+"timer non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dtimer;",
50,50,"","Timer Catching Gateway",null,null,a+"timer catching"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dtimer;",50,50,"","Timer Boundary Interrupting Gateway",null,null,a+"timer boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundNonint;symbol\x3dtimer;",50,50,"","Timer Boundary Non-Interrupting Gateway",null,null,a+"timer boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3descalation;",50,50,"",
"Escalation Interrupting Gateway",null,null,a+"escalation interrupting"),this.createVertexTemplateEntry(d+"outline\x3deventNonint;symbol\x3descalation;",50,50,"","Escalation Non-Interrupting Gateway",null,null,a+"escalation non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3descalation;",50,50,"","Escalation Boundary Interrupting Gateway",null,null,a+"escalation boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundNonint;symbol\x3descalation;",
50,50,"","Escalation Boundary Non-Interrupting Gateway",null,null,a+"escalation boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3descalation;",50,50,"","Escalation Throwing Gateway",null,null,a+"escalation throwing"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3descalation;",50,50,"","Escalation End Gateway",null,null,a+"escalation end"),this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dconditional;",50,50,"","Conditional Standard Gateway",
null,null,a+"conditional standard"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dconditional;",50,50,"","Conditional Interrupting Gateway",null,null,a+"conditional interrupting"),this.createVertexTemplateEntry(d+"outline\x3deventNonint;symbol\x3dconditional;",50,50,"","Conditional Non-Interrupting Gateway",null,null,a+"conditional non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dconditional;",50,50,"","Conditional Catching Gateway",
null,null,a+"conditional catching"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dconditional;",50,50,"","Conditional Boundary Interrupting Gateway",null,null,a+"conditional boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundNonint;symbol\x3dconditional;",50,50,"","Conditional Boundary Non-Interrupting Gateway",null,null,a+"conditional boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dlink;",50,50,"",
"Link Catching Gateway",null,null,a+"link catching"),this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3dlink;",50,50,"","Link Throwing Gateway",null,null,a+"link throwing"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3derror;",50,50,"","Error Interrupting Gateway",null,null,a+"error interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3derror;",50,50,"","Error Boundary Interrupting Gateway",null,null,a+"error boundary interrupting"),this.createVertexTemplateEntry(d+
"outline\x3dend;symbol\x3derror;",50,50,"","Error End Gateway",null,null,a+"error end"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dcancel;",50,50,"","Cancel Boundary Interrupting Gateway",null,null,a+"cancel boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dcancel;",50,50,"","Cancel End Gateway",null,null,a+"cancel end"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dcompensation;",50,50,"","Compensation Interrupting Gateway",
null,null,a+"compensation interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dcompensation;",50,50,"","Compensation Boundary Interrupting Gateway",null,null,a+"compensation boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3dcompensation;",50,50,"","Compensation Throwing Gateway",null,null,a+"compensation throwing"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dcompensation;",50,50,"","Compensation End Gateway",null,null,
a+"compensation end"),this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dsignal;",50,50,"","Signal Standard Gateway",null,null,a+"signal standard"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dsignal;",50,50,"","Signal Interrupting Gateway",null,null,a+"signal interrupting"),this.createVertexTemplateEntry(d+"outline\x3deventNonint;symbol\x3dsignal;",50,50,"","Signal Non-Interrupting Gateway",null,null,a+"signal non interrupting noninterrupting"),this.createVertexTemplateEntry(d+
"outline\x3dcatching;symbol\x3dsignal;",50,50,"","Signal Catching Gateway",null,null,a+"signal catching"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dsignal;",50,50,"","Signal Boundary Interrupting Gateway",null,null,a+"signal boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundNonint;symbol\x3dsignal;",50,50,"","Signal Boundary Non-Interrupting Gateway",null,null,a+"signal boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3dsignal;",
50,50,"","Signal Throwing Gateway",null,null,a+"signal throwing"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dsignal;",50,50,"","Signal End Gateway",null,null,a+"signal end"),this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dmultiple;",50,50,"","Multiple Standard Gateway",null,null,a+"multiple standard"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dmultiple;",50,50,"","Multiple Interrupting Gateway",null,null,a+"multiple interrupting"),this.createVertexTemplateEntry(d+
"outline\x3deventNonint;symbol\x3dmultiple;",50,50,"","Multiple Non-Interrupting Gateway",null,null,a+"multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dmultiple;",50,50,"","Multiple Catching Gateway",null,null,a+"multiple catching"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dmultiple;",50,50,"","Multiple Boundary Interrupting Gateway",null,null,a+"multiple boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundNonint;symbol\x3dmultiple;",
50,50,"","Multiple Boundary Non-Interrupting Gateway",null,null,a+"multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3dmultiple;",50,50,"","Multiple Throwing Gateway",null,null,a+"multiple throwing"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dmultiple;",50,50,"","Multiple End Gateway",null,null,a+"multiple end"),this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dparallelMultiple;",50,50,"","Parallel Multiple Standard Gateway",
null,null,a+"parallel multiple standard"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dparallelMultiple;",50,50,"","Parallel Multiple Interrupting Gateway",null,null,a+"parallel multiple interrupting"),this.createVertexTemplateEntry(d+"outline\x3deventNonint;symbol\x3dparallelMultiple;",50,50,"","Parallel Multiple Non-Interrupting Gateway",null,null,a+"parallel multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dparallelMultiple;",
50,50,"","Parallel Multiple Catching Gateway",null,null,a+"parallel multiple catching"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dparallelMultiple;",50,50,"","Parallel Multiple Boundary Interrupting Gateway",null,null,a+"parallel multiple boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundNonint;symbol\x3dparallelMultiple;",50,50,"","Parallel Multiple Boundary Non-Interrupting Gateway",null,null,a+"parallel multiple boundary non interrupting noninterrupting"),
this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dterminate;",50,50,"","Terminate Gateway",null,null,a+"terminate")]);d="shape\x3dmxgraph.bpmn.shape;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;perimeter\x3dellipsePerimeter;";a="bpmn business process model event ";this.addPaletteFunctions("bpmnEvents","BPMN Events",!1,[this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dgeneral;",50,50,"","General Start",null,null,a+"general start"),
this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3dgeneral;",50,50,"","General Intermediate",null,null,a+"general intermediate"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dgeneral;",50,50,"","General End",null,null,a+"general end"),this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dmessage;",50,50,"","Message Standard",null,null,a+"message standard"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dmessage;",50,50,"","Message Interrupting",
null,null,a+"message interrupting"),this.createVertexTemplateEntry(d+"outline\x3deventNonint;symbol\x3dmessage;",50,50,"","Message Non-Interrupting",null,null,a+"message non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dmessage;",50,50,"","Message Catching",null,null,a+"message catching"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dmessage;",50,50,"","Message Boundary Interrupting",null,null,a+"message boundary interrupting"),this.createVertexTemplateEntry(d+
"outline\x3dboundNonint;symbol\x3dmessage;",50,50,"","Message Boundary Non-Interrupting",null,null,a+"message boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3dmessage;",50,50,"","Message Throwing",null,null,a+"message throwing"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dmessage;",50,50,"","Message End",null,null,a+"message end"),this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dtimer;",50,50,"","Timer Standard",
null,null,a+"timer standard"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dtimer;",50,50,"","Timer Interrupting",null,null,a+"timer interrupting"),this.createVertexTemplateEntry(d+"outline\x3deventNonint;symbol\x3dtimer;",50,50,"","Timer Non-Interrupting",null,null,a+"timer non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dtimer;",50,50,"","Timer Catching",null,null,a+"timer catching"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dtimer;",
50,50,"","Timer Boundary Interrupting",null,null,a+"timer boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundNonint;symbol\x3dtimer;",50,50,"","Timer Boundary Non-Interrupting",null,null,a+"timer boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3descalation;",50,50,"","Escalation Interrupting",null,null,a+"escalation interrupting"),this.createVertexTemplateEntry(d+"outline\x3deventNonint;symbol\x3descalation;",50,50,"",
"Escalation Non-Interrupting",null,null,a+"escalation non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3descalation;",50,50,"","Escalation Boundary Interrupting",null,null,a+"escalation boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundNonint;symbol\x3descalation;",50,50,"","Escalation Boundary Non-Interrupting",null,null,a+"escalation boundary non interrupting nonimpterrupting"),this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3descalation;",
50,50,"","Escalation Throwing",null,null,a+"escalation throwing"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3descalation;",50,50,"","Escalation End",null,null,a+"escalation end"),this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dconditional;",50,50,"","Conditional Standard",null,null,a+"conditional standard"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dconditional;",50,50,"","Conditional Interrupting",null,null,a+"conditional interrupting"),this.createVertexTemplateEntry(d+
"outline\x3deventNonint;symbol\x3dconditional;",50,50,"","Conditional Non-Interrupting",null,null,a+"conditional non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dconditional;",50,50,"","Conditional Catching",null,null,a+"conditional catching"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dconditional;",50,50,"","Conditional Boundary Interrupting",null,null,a+"conditional boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundNonint;symbol\x3dconditional;",
50,50,"","Conditional Boundary Non-Interrupting",null,null,a+"conditional boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dlink;",50,50,"","Link Catching",null,null,a+"link catching"),this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3dlink;",50,50,"","Link Throwing",null,null,a+"link throwing"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3derror;",50,50,"","Error Interrupting",null,null,a+"error interrupting"),
this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3derror;",50,50,"","Error Boundary Interrupting",null,null,a+"error boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3derror;",50,50,"","Error End",null,null,a+"error end"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dcancel;",50,50,"","Cancel Boundary Interrupting",null,null,a+"cancel boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dcancel;",50,50,"",
"Cancel End",null,null,a+"cancel end"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dcompensation;",50,50,"","Compensation Interrupting",null,null,a+"compensation interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dcompensation;",50,50,"","Compensation Boundary Interrupting",null,null,a+"compensation boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3dcompensation;",50,50,"","Compensation Throwing",null,null,a+"compensation throwing"),
this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dcompensation;",50,50,"","Compensation End",null,null,a+"compensation end"),this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dsignal;",50,50,"","Signal Standard",null,null,a+"signal standard"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dsignal;",50,50,"","Signal Interrupting",null,null,a+"signal interrupting"),this.createVertexTemplateEntry(d+"outline\x3deventNonint;symbol\x3dsignal;",50,50,"","Signal Non-Interrupting",
null,null,a+"signal non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dsignal;",50,50,"","Signal Catching",null,null,a+"signal catching"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dsignal;",50,50,"","Signal Boundary Interrupting",null,null,a+"signal boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundNonint;symbol\x3dsignal;",50,50,"","Signal Boundary Non-Interrupting",null,null,a+"signal boundary non interrupting noninterrupting"),
this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3dsignal;",50,50,"","Signal Throwing",null,null,a+"signal throwing"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dsignal;",50,50,"","Signal End",null,null,a+"signal end"),this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dmultiple;",50,50,"","Multiple Standard",null,null,a+"multiple standard"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dmultiple;",50,50,"","Multiple Interrupting",null,null,
a+"multiple interrupting"),this.createVertexTemplateEntry(d+"outline\x3deventNonint;symbol\x3dmultiple;",50,50,"","Multiple Non-Interrupting",null,null,a+"multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dmultiple;",50,50,"","Multiple Catching",null,null,a+"multiple catching"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dmultiple;",50,50,"","Multiple Boundary Interrupting",null,null,a+"multiple boundary interrupting"),this.createVertexTemplateEntry(d+
"outline\x3dboundNonint;symbol\x3dmultiple;",50,50,"","Multiple Boundary Non-Interrupting",null,null,a+"multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dthrowing;symbol\x3dmultiple;",50,50,"","Multiple Throwing",null,null,a+"multiple throwing"),this.createVertexTemplateEntry(d+"outline\x3dend;symbol\x3dmultiple;",50,50,"","Multiple End",null,null,a+"multiple end"),this.createVertexTemplateEntry(d+"outline\x3dstandard;symbol\x3dparallelMultiple;",50,
50,"","Parallel Multiple Standard",null,null,a+"parallel multiple standard"),this.createVertexTemplateEntry(d+"outline\x3deventInt;symbol\x3dparallelMultiple;",50,50,"","Parallel Multiple Interrupting",null,null,a+"parallel multiple interrupting"),this.createVertexTemplateEntry(d+"outline\x3deventNonint;symbol\x3dparallelMultiple;",50,50,"","Parallel Multiple Non-Interrupting",null,null,a+"parallel multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline\x3dcatching;symbol\x3dparallelMultiple;",
50,50,"","Parallel Multiple Catching",null,null,a+"parallel multiple catching"),this.createVertexTemplateEntry(d+"outline\x3dboundInt;symbol\x3dparallelMultiple;",50,50,"","Parallel Multiple Boundary Interrupting",null,null,a+"parallel multiple boundary interrupting"),this.createVertexTemplateEntry(d+"outline\x3dboundNonint;symbol\x3dparallelMultiple;",50,50,"","Parallel Multiple Boundary Non-Interrupting",null,null,a+"parallel multiple boundary non interrupting"),this.createVertexTemplateEntry(d+
"outline\x3dend;symbol\x3dterminate;",50,50,"","Terminate",null,null,a+"terminate")])}})();
(function(){Sidebar.prototype.addCabinetsPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;dashed\x3d0;shadow\x3d0;strokeColor\x3d#000000;fillColor\x3d#ffffff;html\x3d1;align\x3dcenter;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;"+mxConstants.STYLE_STROKEWIDTH+"\x3d1;shape\x3dmxgraph.cabinets.",c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dmiddle;dashed\x3d0;shadow\x3d0;strokeColor\x3d#000000;fillColor\x3d#ffffff;html\x3d1;"+mxConstants.STYLE_STROKEWIDTH+"\x3d1;shape\x3dmxgraph.cabinets.",
f=this,d=[this.createVertexTemplateEntry(b+"cabinet;hasStand\x3d1",250,500,"","Cabinet",null,null,this.getTagsForStencil("mxgraph.cabinets","cabinet","cabinet ").join(" ")),this.createVertexTemplateEntry(c+"dimension;verticalAlign\x3dtop;align\x3dcenter;",250,40,"100","Dimension",null,null,this.getTagsForStencil("mxgraph.cabinets","dimension","cabinet ").join(" ")),this.createVertexTemplateEntry(c+"dimensionBottom;verticalAlign\x3dbottom;align\x3dcenter;",250,40,"100","Dimension",null,null,this.getTagsForStencil("mxgraph.cabinets",
"dimensionBottom","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"coverPlate",50*4.4,125,"","Cover Plate",null,null,this.getTagsForStencil("mxgraph.cabinets","coverPlate","cabinet ").join(" ")),this.createVertexTemplateEntry("shape\x3drect;dashed\x3d0;shadow\x3d0;html\x3d1;whiteSpace\x3dwrap;",50*4.4,12.5,"25x40","Panel Wiring System 25x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape\x3drect;dashed\x3d0;shadow\x3d0;html\x3d1;whiteSpace\x3dwrap;",
50*4.4,20,"40x40","Panel Wiring System 40x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape\x3drect;dashed\x3d0;shadow\x3d0;html\x3d1;whiteSpace\x3dwrap;",50*4.4,30,"60x40","Panel Wiring System 60x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape\x3drect;dashed\x3d0;shadow\x3d0;html\x3d1;whiteSpace\x3dwrap;",50*4.4,40,
"80x40","Panel Wiring System 80x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape\x3drect;dashed\x3d0;shadow\x3d0;html\x3d1;whiteSpace\x3dwrap;",50*4.4,50,"100x40","Panel Wiring System 100x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape\x3drect;dashed\x3d0;shadow\x3d0;html\x3d1;whiteSpace\x3dwrap;rotation\x3d270",350,
12.5,"25x40","Panel Wiring System 25x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape\x3drect;dashed\x3d0;shadow\x3d0;html\x3d1;whiteSpace\x3dwrap;rotation\x3d270",350,20,"40x40","Panel Wiring System 40x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape\x3drect;dashed\x3d0;shadow\x3d0;html\x3d1;whiteSpace\x3dwrap;rotation\x3d270",
350,30,"60x40","Panel Wiring System 60x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape\x3drect;dashed\x3d0;shadow\x3d0;html\x3d1;whiteSpace\x3dwrap;rotation\x3d270",350,40,"80x40","Panel Wiring System 80x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape\x3drect;dashed\x3d0;shadow\x3d0;html\x3d1;whiteSpace\x3dwrap;rotation\x3d270",
350,50,"100x40","Panel Wiring System 100x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry(b+"cb_1p;",9,50,"","Circuit Breaker (1P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_1p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row",function(){var a=new mxCell("",new mxGeometry(0,0,9,50),b+"cb_1p;");a.vertex=!0;var d=new mxCell("",new mxGeometry(9,0,9,50),b+"cb_1p;");d.vertex=
!0;var c=new mxCell("",new mxGeometry(18,0,9,50),b+"cb_1p;");c.vertex=!0;var k=new mxCell("",new mxGeometry(27,0,9,50),b+"cb_1p;");k.vertex=!0;var l=new mxCell("",new mxGeometry(36,0,9,50),b+"cb_1p;");l.vertex=!0;var m=new mxCell("",new mxGeometry(45,0,9,50),b+"cb_1p;");m.vertex=!0;var n=new mxCell("",new mxGeometry(54,0,9,50),b+"cb_1p;");n.vertex=!0;var p=new mxCell("",new mxGeometry(63,0,9,50),b+"cb_1p;");p.vertex=!0;var r=new mxCell("",new mxGeometry(72,0,9,50),b+"cb_1p;");r.vertex=!0;var s=new mxCell("",
new mxGeometry(81,0,9,50),b+"cb_1p;");s.vertex=!0;return f.createVertexTemplateFromCells([a,d,c,k,l,m,n,p,r,s],90,50,"Circuit Breaker (1P x 10)")}),this.createVertexTemplateEntry(b+"cb_2p;",18,50,"","Circuit Breaker (2P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_2p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row",function(){var a=new mxCell("",new mxGeometry(0,0,18,50),b+"cb_2p;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,0,18,50),b+"cb_2p;");d.vertex=!0;
var c=new mxCell("",new mxGeometry(36,0,18,50),b+"cb_2p;");c.vertex=!0;var k=new mxCell("",new mxGeometry(54,0,18,50),b+"cb_2p;");k.vertex=!0;var l=new mxCell("",new mxGeometry(72,0,18,50),b+"cb_2p;");l.vertex=!0;var m=new mxCell("",new mxGeometry(90,0,18,50),b+"cb_2p;");m.vertex=!0;var n=new mxCell("",new mxGeometry(108,0,18,50),b+"cb_2p;");n.vertex=!0;var p=new mxCell("",new mxGeometry(126,0,18,50),b+"cb_2p;");p.vertex=!0;var r=new mxCell("",new mxGeometry(144,0,18,50),b+"cb_2p;");r.vertex=!0;var s=
new mxCell("",new mxGeometry(162,0,18,50),b+"cb_2p;");s.vertex=!0;return f.createVertexTemplateFromCells([a,d,c,k,l,m,n,p,r,s],180,50,"Circuit Breaker (2P x 10)")}),this.createVertexTemplateEntry(b+"cb_3p;",27,50,"","Circuit Breaker (3P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_3p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row",function(){var a=new mxCell("",new mxGeometry(0,0,27,50),b+"cb_3p;");a.vertex=!0;var d=new mxCell("",new mxGeometry(27,0,27,50),b+"cb_3p;");
d.vertex=!0;var c=new mxCell("",new mxGeometry(54,0,27,50),b+"cb_3p;");c.vertex=!0;var k=new mxCell("",new mxGeometry(81,0,27,50),b+"cb_3p;");k.vertex=!0;var l=new mxCell("",new mxGeometry(108,0,27,50),b+"cb_3p;");l.vertex=!0;return f.createVertexTemplateFromCells([a,d,c,k,l],135,50,"Circuit Breaker (3P x 5)")}),this.createVertexTemplateEntry(b+"cb_4p;",36,50,"","Circuit Breaker (4P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_4p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row",
function(){var a=new mxCell("",new mxGeometry(0,0,36,50),b+"cb_4p;");a.vertex=!0;var d=new mxCell("",new mxGeometry(36,0,36,50),b+"cb_4p;");d.vertex=!0;var c=new mxCell("",new mxGeometry(72,0,36,50),b+"cb_4p;");c.vertex=!0;var k=new mxCell("",new mxGeometry(108,0,36,50),b+"cb_4p;");k.vertex=!0;var l=new mxCell("",new mxGeometry(144,0,36,50),b+"cb_4p;");l.vertex=!0;return f.createVertexTemplateFromCells([a,d,c,k,l],180,50,"Circuit Breaker (4P x 5)")}),this.createVertexTemplateEntry(b+"cb_auxiliary_contact;",
4.5,50,"","Auxiliary Contact (Circuit Breaker)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_auxiliary_contact","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"contactor_1_32a;",27,43,"","Contactor (1-32A)",null,null,this.getTagsForStencil("mxgraph.cabinets","contactor_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"auxiliary_contact_contactor_1_32a;",4.5,43,"","Auxiliary Contact (Contactor 1-32A)",null,null,this.getTagsForStencil("mxgraph.cabinets","auxiliary_contact_contactor_1_32a",
"cabinet ").join(" ")),this.createVertexTemplateEntry(b+"contactor_32_125a;",30,50,"","Contactor 32 to 125A",null,null,this.getTagsForStencil("mxgraph.cabinets","contactor_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"auxiliary_contact_contactor_32_125a;",4.5,50,"","Auxiliary Contact (Contactor 32-125A)",null,null,this.getTagsForStencil("mxgraph.cabinets","auxiliary_contact_contactor_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"contactor_125_400a;",50*1.1,
90,"","Contactor 125 to 400A",null,null,this.getTagsForStencil("mxgraph.cabinets","contactor_125_400a","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"distribution_block_4p_125a_11_connections;",100,60,"","Distribution Block 4P 125A 11 Connections",null,null,this.getTagsForStencil("mxgraph.cabinets","distribution_block_4p_125a_11_connections","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"distribution_block_4p_125a_11_connections_2;",100,50,"","Distribution Block 4P 125A 11 Connections",
null,null,this.getTagsForStencil("mxgraph.cabinets","distribution_block_4p_125a_11_connections_2","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"mccb_25_63a_3p;",60,90,"","MCCB 25-63A 3P",null,null,this.getTagsForStencil("mxgraph.cabinets","mccb_25_63a_3p","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"mccb_25_63a_4p;",80,90,"","MCCB 25-63A 4P",null,null,this.getTagsForStencil("mxgraph.cabinets","mccb_25_63a_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"mccb_63_250a_3p;",
70,105,"","MCCB 63-250A 3P",null,null,this.getTagsForStencil("mxgraph.cabinets","mccb_63_250a_3p","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"mccb_63_250a_4p;",95,105,"","MCCB 63-250A 4P",null,null,this.getTagsForStencil("mxgraph.cabinets","mccb_63_250a_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"motorized_switch_3p;",85,70,"","Motorized Switch 3P",null,null,this.getTagsForStencil("mxgraph.cabinets","motorized_switch_3p","cabinet ").join(" ")),this.createVertexTemplateEntry(b+
"motorized_switch_4p;",100,70,"","Motorized Switch 4P",null,null,this.getTagsForStencil("mxgraph.cabinets","motorized_switch_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"motor_cb_1_32a;",27,43,"","Motor Circuit Breaker 1-32A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_cb_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"motor_cb_32_125a;",30,50,"","Motor Circuit Breaker 32-125A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_cb_32_125a","cabinet ").join(" ")),
this.createVertexTemplateEntry(b+"motor_cb_125_400a;",50*1.1,90,"","Motor Circuit Breaker 125-400A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_cb_125_400a","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"motor_protection_cb;",27,50,"","Motor Protection CB",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_protection_cb","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"motor_starter_1_32a;",27,43,"","Motor Circuit Breaker 1-32A",null,null,this.getTagsForStencil("mxgraph.cabinets",
"motor_starter_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"motor_starter_32_125a;",30,50,"","Motor Circuit Breaker 32-125A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_starter_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"motor_starter_125_400a;",50*1.1,90,"","Motor Circuit Breaker 125-400A",null,null,this.getTagsForStencil("mxgraph.cabinets","motor_starter_125_400a","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"overcurrent_relay_1_32a;",
27,15,"","Overcurrent Relay 1-32A",null,null,this.getTagsForStencil("mxgraph.cabinets","overcurrent_relay_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"overcurrent_relay_32_125a;",30,16.5,"","Overcurrent Relay 32-125A",null,null,this.getTagsForStencil("mxgraph.cabinets","overcurrent_relay_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"overcurrent_relay_125_400a;",50*1.1,30,"","Overcurrent Relay 125-400A",null,null,this.getTagsForStencil("mxgraph.cabinets","overcurrent_relay_125_400a",
"cabinet ").join(" ")),this.createVertexTemplateEntry(b+"plugin_relay_1;",3,40,"","Plugin Relay",null,null,this.getTagsForStencil("mxgraph.cabinets","plugin_relay_1","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"plugin_relay_2;",12,40,"","Plugin Relay",null,null,this.getTagsForStencil("mxgraph.cabinets","plugin_relay_2","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"din_rail;",500,25,"","DIN Rail",null,null,this.getTagsForStencil("mxgraph.cabinets","din_rail","cabinet ").join(" ")),
this.createVertexTemplateEntry(b+"residual_current_device_2p;",18,50,"","Residual Current Device 2p",null,null,this.getTagsForStencil("mxgraph.cabinets","residual_current_device_2p","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"residual_current_device_4p;",36,50,"","Residual Current Device 4p",null,null,this.getTagsForStencil("mxgraph.cabinets","residual_current_device_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"surge_protection_1p;",9,50,"","Surge Protection 1p",null,
null,this.getTagsForStencil("mxgraph.cabinets","surge_protection_1p","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"surge_protection_2p;",18,50,"","Surge Protection 2p",null,null,this.getTagsForStencil("mxgraph.cabinets","surge_protection_2p","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"surge_protection_3p;",27,50,"","Surge Protection 3p",null,null,this.getTagsForStencil("mxgraph.cabinets","surge_protection_3p","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"surge_protection_4p;",
36,50,"","Surge Protection 4p",null,null,this.getTagsForStencil("mxgraph.cabinets","surge_protection_4p","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"terminal_4mm2;",2.5,25,"","Terminal 4mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"terminal_4mm2_x10;",25,25,"","Terminal 4mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(b+
"terminal_4_6mm2;",2.5,30,"","Terminal 4-6mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4_6mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"terminal_4_6mm2_x10;",25,30,"","Terminal 4-6mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4_6mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"terminal_6_25mm2;",5,37.5,"","Terminal 6-25mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_6_25mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(b+
"terminal_6_25mm2_x10;",50,37.5,"","Terminal 6-25mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_6_25mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"terminal_40mm2;",11,50,"","Terminal 40mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_40mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"terminal_40mm2_x10;",50*2.2,50,"","Terminal 40mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_40mm2_x10","cabinet ").join(" ")),
this.createVertexTemplateEntry(b+"terminal_50mm2;",12.5,50*1.1,"","Terminal 50mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_50mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"terminal_50mm2_x10;",125,50*1.1,"","Terminal 50mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_50mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"terminal_75mm2;",15,70,"","Terminal 75mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_75mm2",
"cabinet ").join(" ")),this.createVertexTemplateEntry(b+"terminal_75mm2_x10;",150,70,"","Terminal 75mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_75mm2_x10","cabinet ").join(" "))];this.addPalette("cabinets",mxResources.get("cabinets"),!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}})();
(function(){Sidebar.prototype.addCitrixPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;aspect\x3dfixed;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;strokeColor\x3dnone;shape\x3dmxgraph.citrix.";this.addPaletteFunctions("citrix","Citrix",!1,[this.createVertexTemplateEntry(b+"1u_2u_server;",100,39.1,"","1U 2U Server",null,null,this.getTagsForStencil("mxgraph.citrix","1U 2U Server","").join(" ")),this.createVertexTemplateEntry(b+"access_card;",55.5,75,"","Access Card",
null,null,this.getTagsForStencil("mxgraph.citrix","Access Card","").join(" ")),this.createVertexTemplateEntry(b+"branch_repeater;",100,39,"","Branch Repeater",null,null,this.getTagsForStencil("mxgraph.citrix","Branch Repeater","").join(" ")),this.createVertexTemplateEntry(b+"browser;",47.5,72.5,"","Browser",null,null,this.getTagsForStencil("mxgraph.citrix","Browser","").join(" ")),this.createVertexTemplateEntry(b+"cache_server;",71,97.5,"","Cache Server",null,null,this.getTagsForStencil("mxgraph.citrix",
"Cache Server","").join(" ")),this.createVertexTemplateEntry(b+"calendar;",75,100,"","Calendar",null,null,this.getTagsForStencil("mxgraph.citrix","Calendar","").join(" ")),this.createVertexTemplateEntry(b+"cell_phone;",25,60,"","Cell Phone",null,null,this.getTagsForStencil("mxgraph.citrix","Cell Phone","").join(" ")),this.createVertexTemplateEntry(b+"chassis;",137.5,177.5,"","Chassis",null,null,this.getTagsForStencil("mxgraph.citrix","Chassis","").join(" ")),this.createVertexTemplateEntry(b+"citrix_hdx;",
77.5,41,"","Citrix HDX",null,null,this.getTagsForStencil("mxgraph.citrix","Citrix HDX","").join(" ")),this.createVertexTemplateEntry(b+"citrix_logo;fillColor\x3d#4E4F53;",160,62.5,"","Citrix Logo",null,null,this.getTagsForStencil("mxgraph.citrix","Citrix Logo","").join(" ")),this.createVertexTemplateEntry(b+"cloud;",95,62,"","Cloud",null,null,this.getTagsForStencil("mxgraph.citrix","Cloud","").join(" ")),this.createVertexTemplateEntry(b+"command_center;",75.5,96,"","Command Center",null,null,this.getTagsForStencil("mxgraph.citrix",
"Command Center","").join(" ")),this.createVertexTemplateEntry(b+"database;",42.5,50,"","Database",null,null,this.getTagsForStencil("mxgraph.citrix","Database","").join(" ")),this.createVertexTemplateEntry(b+"database_server;",80,90,"","Database Server",null,null,this.getTagsForStencil("mxgraph.citrix","Database Server","").join(" ")),this.createVertexTemplateEntry(b+"datacenter;",127.5,135,"","Datacenter",null,null,this.getTagsForStencil("mxgraph.citrix","Datacenter","").join(" ")),this.createVertexTemplateEntry(b+
"desktop;",89,98,"","Desktop",null,null,this.getTagsForStencil("mxgraph.citrix","Desktop","").join(" ")),this.createVertexTemplateEntry(b+"desktop_web;",76.5,90,"","Desktop Web",null,null,this.getTagsForStencil("mxgraph.citrix","Desktop Web","").join(" ")),this.createVertexTemplateEntry(b+"dhcp_server;",76,90,"","DHCP Server",null,null,this.getTagsForStencil("mxgraph.citrix","DHCP Server","").join(" ")),this.createVertexTemplateEntry(b+"directory_server;",65,88.5,"","Directory Server",null,null,this.getTagsForStencil("mxgraph.citrix",
"Directory Server","").join(" ")),this.createVertexTemplateEntry(b+"dns_server;",76.5,92.5,"","DNS Server",null,null,this.getTagsForStencil("mxgraph.citrix","DNS Server","").join(" ")),this.createVertexTemplateEntry(b+"document;",47,72,"","Document",null,null,this.getTagsForStencil("mxgraph.citrix","Document","").join(" ")),this.createVertexTemplateEntry(b+"edgesight_server;",76.5,90,"","EdgeSight Server",null,null,this.getTagsForStencil("mxgraph.citrix","EdgeSight Server","").join(" ")),this.createVertexTemplateEntry(b+
"file_server;",71,97,"","File Server",null,null,this.getTagsForStencil("mxgraph.citrix","File Server","").join(" ")),this.createVertexTemplateEntry(b+"firewall;",75,93,"","Firewall",null,null,this.getTagsForStencil("mxgraph.citrix","Firewall","").join(" ")),this.createVertexTemplateEntry(b+"ftp_server;",71,97,"","FTP Server",null,null,this.getTagsForStencil("mxgraph.citrix","FTP Server","").join(" ")),this.createVertexTemplateEntry(b+"geolocation_database;",53,49,"","Geolocation Database",null,null,
this.getTagsForStencil("mxgraph.citrix","Geolocation Database","").join(" ")),this.createVertexTemplateEntry(b+"globe;",78.5,75,"","Globe",null,null,this.getTagsForStencil("mxgraph.citrix","Globe","").join(" ")),this.createVertexTemplateEntry(b+"goto_meeting;fillColor\x3d#FAB616;gradientColor\x3d#E12800;gradientDirection\x3dnorth;",37,37,"","GoTo Meeting",null,null,this.getTagsForStencil("mxgraph.citrix","GoTo Meeting","").join(" ")),this.createVertexTemplateEntry(b+"government;",119,52,"","Government",
null,null,this.getTagsForStencil("mxgraph.citrix","Government","").join(" ")),this.createVertexTemplateEntry(b+"home_office;",80,55.5,"","Home Office",null,null,this.getTagsForStencil("mxgraph.citrix","Home Office","").join(" ")),this.createVertexTemplateEntry(b+"hq_enterprise;",92,88,"","HQ / Enterprise",null,null,this.getTagsForStencil("mxgraph.citrix","HQ Enterprise","").join(" ")),this.createVertexTemplateEntry(b+"inspection;",70,65,"","Inspection",null,null,this.getTagsForStencil("mxgraph.citrix",
"Inspection","").join(" ")),this.createVertexTemplateEntry(b+"ip_phone;",76.5,37,"","IP Phone",null,null,this.getTagsForStencil("mxgraph.citrix","IP Phone","").join(" ")),this.createVertexTemplateEntry(b+"kiosk;",65,85,"","Kiosk",null,null,this.getTagsForStencil("mxgraph.citrix","Kiosk","").join(" ")),this.createVertexTemplateEntry(b+"laptop_1;",91,77,"","Laptop",null,null,this.getTagsForStencil("mxgraph.citrix","Laptop","").join(" ")),this.createVertexTemplateEntry(b+"laptop_2;",116,86.5,"","Laptop",
null,null,this.getTagsForStencil("mxgraph.citrix","Laptop","").join(" ")),this.createVertexTemplateEntry(b+"license_server;",65,85,"","License Server",null,null,this.getTagsForStencil("mxgraph.citrix","License Server","").join(" ")),this.createVertexTemplateEntry(b+"merchandising_server;",75,90,"","Merchandising Server",null,null,this.getTagsForStencil("mxgraph.citrix","Merchandising Server","").join(" ")),this.createVertexTemplateEntry(b+"middleware;",114,68,"","Middleware",null,null,this.getTagsForStencil("mxgraph.citrix",
"Middleware","").join(" ")),this.createVertexTemplateEntry(b+"netscaler_gateway;",100,39,"","NetScaler Gateway",null,null,this.getTagsForStencil("mxgraph.citrix","NetScaler Gateway","").join(" ")),this.createVertexTemplateEntry(b+"netscaler_mpx;",100,39,"","NetScaler MPX",null,null,this.getTagsForStencil("mxgraph.citrix","NetScaler MPX","").join(" ")),this.createVertexTemplateEntry(b+"netscaler_sdx;",100,47.5,"","NetScaler SDX",null,null,this.getTagsForStencil("mxgraph.citrix","NetScaler SDX","").join(" ")),
this.createVertexTemplateEntry(b+"netscaler_vpx;",97,36,"","NetScaler VPX",null,null,this.getTagsForStencil("mxgraph.citrix","NetScaler VPX","").join(" ")),this.createVertexTemplateEntry(b+"pbx_server;",65,85,"","PBX Server",null,null,this.getTagsForStencil("mxgraph.citrix","PBX Server","").join(" ")),this.createVertexTemplateEntry(b+"pda;",30,61,"","PDA",null,null,this.getTagsForStencil("mxgraph.citrix","PDA","").join(" ")),this.createVertexTemplateEntry(b+"podio;fillColor\x3d#72B8DE;gradientColor\x3d#186BA2;gradientDirection\x3dsouth;",
37,37,"","Podio",null,null,this.getTagsForStencil("mxgraph.citrix","Podio","").join(" ")),this.createVertexTemplateEntry(b+"printer;",70,70,"","Printer",null,null,this.getTagsForStencil("mxgraph.citrix","Printer","").join(" ")),this.createVertexTemplateEntry(b+"process;",52,62,"","Process",null,null,this.getTagsForStencil("mxgraph.citrix","Process","").join(" ")),this.createVertexTemplateEntry(b+"provisioning_server;",76,87,"","Provisioning Server",null,null,this.getTagsForStencil("mxgraph.citrix",
"Provisioning Server","").join(" ")),this.createVertexTemplateEntry(b+"proxy_server;",76.5,90,"","Proxy Server",null,null,this.getTagsForStencil("mxgraph.citrix","Proxy Server","").join(" ")),this.createVertexTemplateEntry(b+"radius_server;",75.5,91,"","Radius Server",null,null,this.getTagsForStencil("mxgraph.citrix","Radius Server","").join(" ")),this.createVertexTemplateEntry(b+"remote_office;",92,41.5,"","Remote Office",null,null,this.getTagsForStencil("mxgraph.citrix","Remote Office","").join(" ")),
this.createVertexTemplateEntry(b+"reporting;",61.5,69,"","Reporting",null,null,this.getTagsForStencil("mxgraph.citrix","Reporting","").join(" ")),this.createVertexTemplateEntry(b+"role_appcontroller;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",38,38,"","Role AppController",null,null,this.getTagsForStencil("mxgraph.citrix","Role AppController","").join(" ")),this.createVertexTemplateEntry(b+"role_applications;",38,38,"","Role Applications",null,null,this.getTagsForStencil("mxgraph.citrix",
"Role Applications","").join(" ")),this.createVertexTemplateEntry(b+"role_cloudbridge;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",38,38,"","Role CloudBridge",null,null,this.getTagsForStencil("mxgraph.citrix","Role CloudBridge","").join(" ")),this.createVertexTemplateEntry(b+"role_desktops;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",38,38,"","Role Desktops",null,null,this.getTagsForStencil("mxgraph.citrix","Role Desktops","").join(" ")),
this.createVertexTemplateEntry(b+"role_load_testing_controller;",24,24,"","Role Load Testing Controller",null,null,this.getTagsForStencil("mxgraph.citrix","Role Load Testing Controller","").join(" ")),this.createVertexTemplateEntry(b+"role_load_testing_launcher;",41,38,"","Role Load Testing Launcher",null,null,this.getTagsForStencil("mxgraph.citrix","Role Load Testing Launcher","").join(" ")),this.createVertexTemplateEntry(b+"role_receiver;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",
38,38,"","Role Receiver",null,null,this.getTagsForStencil("mxgraph.citrix","Role Receiver","").join(" ")),this.createVertexTemplateEntry(b+"role_repeater;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",38,38,"","Role Repeater",null,null,this.getTagsForStencil("mxgraph.citrix","Role Repeater","").join(" ")),this.createVertexTemplateEntry(b+"role_secure_access;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",38,38,"","Role Secure Access",null,null,
this.getTagsForStencil("mxgraph.citrix","Role Secure Access","").join(" ")),this.createVertexTemplateEntry(b+"role_security;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",38,38,"","Role Security",null,null,this.getTagsForStencil("mxgraph.citrix","Role Security","").join(" ")),this.createVertexTemplateEntry(b+"role_services;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",38,38,"","Role Services",null,null,this.getTagsForStencil("mxgraph.citrix",
"Role Services","").join(" ")),this.createVertexTemplateEntry(b+"role_storefront;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",38,38,"","Role StoreFront",null,null,this.getTagsForStencil("mxgraph.citrix","Role StoreFront","").join(" ")),this.createVertexTemplateEntry(b+"role_storefront_services;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",38,38,"","Role StoreFront Services",null,null,this.getTagsForStencil("mxgraph.citrix","Role StoreFront Services",
"").join(" ")),this.createVertexTemplateEntry(b+"role_synchronizer;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",38,38,"","Role Synchronizer",null,null,this.getTagsForStencil("mxgraph.citrix","Role Synchronizer","").join(" ")),this.createVertexTemplateEntry(b+"role_xenmobile;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",38,38,"","Role XenMobile",null,null,this.getTagsForStencil("mxgraph.citrix","Role XenMobile","").join(" ")),this.createVertexTemplateEntry(b+
"role_xenmobile_device_manager;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",35,38,"","Role XenMobile Device Manager",null,null,this.getTagsForStencil("mxgraph.citrix","Role XenMobile Device Manager","").join(" ")),this.createVertexTemplateEntry(b+"router;",55,36.5,"","Router",null,null,this.getTagsForStencil("mxgraph.citrix","Router","").join(" ")),this.createVertexTemplateEntry(b+"security;",40.5,71,"","Security",null,null,this.getTagsForStencil("mxgraph.citrix","Security",
"").join(" ")),this.createVertexTemplateEntry(b+"sharefile;fillColor\x3d#386510;gradientColor\x3d#C6CF2B;gradientDirection\x3dsouth;",38,38,"","ShareFile",null,null,this.getTagsForStencil("mxgraph.citrix","ShareFile","").join(" ")),this.createVertexTemplateEntry(b+"site;",107,101,"","Site",null,null,this.getTagsForStencil("mxgraph.citrix","Site","").join(" ")),this.createVertexTemplateEntry(b+"smtp_server;",76,92,"","SMTP Server",null,null,this.getTagsForStencil("mxgraph.citrix","SMTP Server","").join(" ")),
this.createVertexTemplateEntry(b+"storefront_services;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",76,91,"","Storefront Services",null,null,this.getTagsForStencil("mxgraph.citrix","Storefront Services","").join(" ")),this.createVertexTemplateEntry(b+"switch;",92,41.5,"","Switch",null,null,this.getTagsForStencil("mxgraph.citrix","Switch","").join(" ")),this.createVertexTemplateEntry(b+"tablet_1;",61,79,"","Tablet",null,null,this.getTagsForStencil("mxgraph.citrix","Tablet",
"").join(" ")),this.createVertexTemplateEntry(b+"tablet_2;",82,86,"","Tablet",null,null,this.getTagsForStencil("mxgraph.citrix","Tablet","").join(" ")),this.createVertexTemplateEntry(b+"thin_client;",71,71,"","Thin Client",null,null,this.getTagsForStencil("mxgraph.citrix","Thin Client","").join(" ")),this.createVertexTemplateEntry(b+"tower_server;",65,85,"","Tower Server",null,null,this.getTagsForStencil("mxgraph.citrix","Tower Server","").join(" ")),this.createVertexTemplateEntry(b+"users;",64.5,
55,"","Users",null,null,this.getTagsForStencil("mxgraph.citrix","Users","").join(" ")),this.createVertexTemplateEntry(b+"user_control;",103,84,"","User Control",null,null,this.getTagsForStencil("mxgraph.citrix","User Control","").join(" ")),this.createVertexTemplateEntry(b+"web_server;",76.5,90,"","Web Server",null,null,this.getTagsForStencil("mxgraph.citrix","Web Server","").join(" ")),this.createVertexTemplateEntry(b+"web_service;",63,60,"","Web Service",null,null,this.getTagsForStencil("mxgraph.citrix",
"Web Service","").join(" ")),this.createVertexTemplateEntry(b+"worxenroll;fillColor\x3d#386510;gradientColor\x3d#C6CF2B;gradientDirection\x3dsouth;",38,38,"","WorxEnroll",null,null,this.getTagsForStencil("mxgraph.citrix","WorxEnroll","").join(" ")),this.createVertexTemplateEntry(b+"worxhome;fillColor\x3d#DB9EFF;gradientColor\x3d#712FA2;gradientDirection\x3dsouth;",38,38,"","WorxHome",null,null,this.getTagsForStencil("mxgraph.citrix","WorxHome","").join(" ")),this.createVertexTemplateEntry(b+"worxmail;fillColor\x3d#112356;gradientColor\x3d#63AFC6;gradientDirection\x3dsouth;",
38,38,"","WorxMail",null,null,this.getTagsForStencil("mxgraph.citrix","WorxMail","").join(" ")),this.createVertexTemplateEntry(b+"worxweb;fillColor\x3d#2A3437;gradientColor\x3d#B8B9B9;gradientDirection\x3dsouth;",38,38,"","WorxWeb",null,null,this.getTagsForStencil("mxgraph.citrix","WorxWeb","").join(" ")),this.createVertexTemplateEntry(b+"xenapp_server;",76,89,"","XenApp Server",null,null,this.getTagsForStencil("mxgraph.citrix","XenApp Server","").join(" ")),this.createVertexTemplateEntry(b+"xenapp_services;",
76,90,"","XenApp Services",null,null,this.getTagsForStencil("mxgraph.citrix","XenApp Services","").join(" ")),this.createVertexTemplateEntry(b+"xenapp_web;",76,90,"","XenApp Web",null,null,this.getTagsForStencil("mxgraph.citrix","XenApp Web","").join(" ")),this.createVertexTemplateEntry(b+"xencenter;",76,89,"","XenCenter",null,null,this.getTagsForStencil("mxgraph.citrix","XenCenter","").join(" ")),this.createVertexTemplateEntry(b+"xenclient;",91,77,"","XenClient",null,null,this.getTagsForStencil("mxgraph.citrix",
"XenClient","").join(" ")),this.createVertexTemplateEntry(b+"xenclient_synchronizer;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",76,91,"","XenClient Synchronizer",null,null,this.getTagsForStencil("mxgraph.citrix","Synchronizer","").join(" ")),this.createVertexTemplateEntry(b+"xendesktop_server;",75,91,"","XenDesktop Server",null,null,this.getTagsForStencil("mxgraph.citrix","XenDesktop Server","").join(" ")),this.createVertexTemplateEntry(b+"xenmobile;fillColor\x3d#CCCCCC;gradientColor\x3d#000000;gradientDirection\x3dsouth;",
70,89,"","XenMobile",null,null,this.getTagsForStencil("mxgraph.citrix","XenMobile","").join(" ")),this.createVertexTemplateEntry(b+"xenserver;",76.5,90,"","XenServer",null,null,this.getTagsForStencil("mxgraph.citrix","XenServer","").join(" "))])}})();
(function(){Sidebar.prototype.addEipMessageConstructionPalette=function(b){var c=this,f=[this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;strokeColor\x3d#808080;endArrow\x3dblock;endSize\x3d10;dashed\x3d0;verticalAlign\x3dbottom;strokeWidth\x3d2;",160,0,"","Pipe",null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction pipe").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;",
150,90,"","Filter",null,null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction filter").join(" ")),this.addEntry("eip enterprise integration pattern message construction edge",function(){var b=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dellipse;fillColor\x3d#808080;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("C",new mxGeometry(16,18,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#FF8080;strokeColor\x3d#000000;fontStyle\x3d1;");
a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);a.insertEdge(e,!0);return c.createVertexTemplateFromCells([e,b,a],28,30,"Command Message")}),this.addEntry("eip enterprise integration pattern message construction correlation identifier",function(){var b=new mxCell("",new mxGeometry(0,0,12,
12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dellipse;fillColor\x3d#808080;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("A",new mxGeometry(16,18,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#FF9238;strokeColor\x3d#000000;fontStyle\x3d1;fontColor\x3d#ffffff;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");
e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);a.insertEdge(e,!0);var f=new mxCell("",new mxGeometry(50,0,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dellipse;fillColor\x3d#808080;strokeColor\x3dnone;");f.vertex=!0;var k=new mxCell("B",new mxGeometry(66,18,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#FF9238;strokeColor\x3d#000000;fontStyle\x3d1;fontColor\x3d#ffffff;");k.vertex=!0;var l=new mxCell("",new mxGeometry(0,
0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");l.geometry.relative=!0;l.edge=!0;f.insertEdge(l,!1);k.insertEdge(l,!0);var m=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dblock;html\x3d1;endFill\x3d1;strokeWidth\x3d2;strokeColor\x3d#FF9238");m.geometry.setTerminalPoint(new mxPoint(45,6),!0);m.geometry.setTerminalPoint(new mxPoint(17,6),!1);m.geometry.relative=!0;m.edge=!0;return c.createVertexTemplateFromCells([e,
l,m,b,a,f,k],78,30,"Correlation Identifier")}),this.addEntry("eip enterprise integration pattern message construction document message",function(){var b=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dellipse;fillColor\x3d#808080;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("D",new mxGeometry(16,18,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#C7A0FF;strokeColor\x3d#000000;fontStyle\x3d1;");
a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);a.insertEdge(e,!0);return c.createVertexTemplateFromCells([e,b,a],28,30,"Document Message")}),this.addEntry("eip enterprise integration pattern message construction event message",function(){var b=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dellipse;fillColor\x3d#808080;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("E",new mxGeometry(16,18,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#83BEFF;strokeColor\x3d#000000;fontStyle\x3d1;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);a.insertEdge(e,!0);return c.createVertexTemplateFromCells([e,
b,a],28,30,"Event Message")}),this.createVertexTemplateEntry("strokeWidth\x3d3;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dmxgraph.eip.messExp;html\x3d1;verticalLabelPosition\x3dbottom;strokeColor\x3d#000000;verticalAlign\x3dtop",48,48,"","Message Expiration",null,null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction message expiration").join(" ")),this.addEntry("eip enterprise integration pattern message construction message sequence",function(){var b=
new mxCell("1",new mxGeometry(0,12,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#80FF6C;strokeColor\x3d#000000;fontStyle\x3d1;");b.vertex=!0;var a=new mxCell("2",new mxGeometry(24,12,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#80FF6C;strokeColor\x3d#000000;fontStyle\x3d1;");a.vertex=!0;var e=new mxCell("3",new mxGeometry(48,12,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#80FF6C;strokeColor\x3d#000000;fontStyle\x3d1;");
e.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"curved\x3d1;endArrow\x3dblock;html\x3d1;strokeColor\x3d#1CCF00;strokeWidth\x3d2;endSize\x3d3;");b.insertEdge(f,!1);a.insertEdge(f,!0);f.geometry.points=[new mxPoint(18,0)];f.geometry.relative=!0;f.edge=!0;var k=new mxCell("",new mxGeometry(0,0,0,0),"curved\x3d1;endArrow\x3dblock;html\x3d1;strokeColor\x3d#1CCF00;strokeWidth\x3d2;endSize\x3d3;");a.insertEdge(k,!1);e.insertEdge(k,!0);k.geometry.points=[new mxPoint(42,0)];k.geometry.relative=!0;
k.edge=!0;return c.createVertexTemplateFromCells([f,k,b,a,e],60,24,"Message Sequence")}),this.createVertexTemplateEntry("strokeWidth\x3d3;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dmxgraph.eip.retAddr;html\x3d1;verticalLabelPosition\x3dbottom;fillColor\x3d#FFE040;strokeColor\x3d#000000;verticalAlign\x3dtop;",78,48,"","Return Address",null,null,this.getTagsForStencil("mxgraph.eip","retAddr","eip enterprise integration pattern message construction return address").join(" "))];this.addPalette("eipMessage Construction",
"EIP / Message Construction",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addEipMessageRoutingPalette=function(b){var c=this,f=[this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.aggregator;",150,90,"","Aggregator",null,null,this.getTagsForStencil("mxgraph.eip","aggregator","eip enterprise integration pattern message routing ").join(" ")),
this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.composed_message_processor;",150,90,"","Composed Message Processor",null,null,this.getTagsForStencil("mxgraph.eip","composed_message_processor","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.content_based_router;",
150,90,"","Content Based Router",null,null,this.getTagsForStencil("mxgraph.eip","content_based_router","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.dynamic_router;",150,90,"","Dynamic Router",null,null,this.getTagsForStencil("mxgraph.eip","dynamic_router","eip enterprise integration pattern message routing ").join(" ")),
this.addEntry("eip enterprise integration pattern message routing message broker",function(){var b=new mxCell("",new mxGeometry(47,0,26,18),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#fffbc0;strokeColor\x3d#000000;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,18,26,18),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#fffbc0;strokeColor\x3d#000000;");a.vertex=!0;var e=new mxCell("",new mxGeometry(94,18,26,18),
"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#fffbc0;strokeColor\x3d#000000;");e.vertex=!0;var f=new mxCell("",new mxGeometry(0,54,26,18),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#fffbc0;strokeColor\x3d#000000;");f.vertex=!0;var k=new mxCell("",new mxGeometry(94,54,26,18),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#fffbc0;strokeColor\x3d#000000;");k.vertex=!0;var l=new mxCell("",
new mxGeometry(47,72,26,18),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#fffbc0;strokeColor\x3d#000000;");l.vertex=!0;var m=new mxCell("",new mxGeometry(47,36,26,18),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;");m.vertex=!0;var n=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeWidth\x3d2;");n.geometry.relative=!0;n.edge=!0;b.insertEdge(n,
!1);m.insertEdge(n,!0);var p=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeWidth\x3d2;");p.geometry.relative=!0;p.edge=!0;a.insertEdge(p,!1);m.insertEdge(p,!0);var r=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeWidth\x3d2;");r.geometry.relative=!0;r.edge=!0;e.insertEdge(r,!1);m.insertEdge(r,!0);var s=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeWidth\x3d2;");
s.geometry.relative=!0;s.edge=!0;f.insertEdge(s,!1);m.insertEdge(s,!0);var q=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeWidth\x3d2;");q.geometry.relative=!0;q.edge=!0;k.insertEdge(q,!1);m.insertEdge(q,!0);var t=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeWidth\x3d2;");t.geometry.relative=!0;t.edge=!0;l.insertEdge(t,!1);m.insertEdge(t,!0);return c.createVertexTemplateFromCells([b,a,
e,f,k,l,m,n,p,r,s,q,t],120,90,"Message Broker")}),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.message_filter;",150,90,"","Message Filter",null,null,this.getTagsForStencil("mxgraph.eip","message_filter","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.process_manager;",
150,90,"","Process Manager",null,null,this.getTagsForStencil("mxgraph.eip","process_manager","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.recipient_list;",150,90,"","Recipient List",null,null,this.getTagsForStencil("mxgraph.eip","recipient_list","eip enterprise integration pattern message routing ").join(" ")),
this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.resequencer;",150,90,"","Resequencer",null,null,this.getTagsForStencil("mxgraph.eip","resequencer","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.routing_slip;",
150,90,"","Routing Slip",null,null,this.getTagsForStencil("mxgraph.eip","routing_slip","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.splitter;",150,90,"","Splitter",null,null,this.getTagsForStencil("mxgraph.eip","splitter","eip enterprise integration pattern message routing ").join(" "))];
this.addPalette("eipMessage Routing","EIP / Message Routing",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addEipMessageTransformationPalette=function(b){this.addPaletteFunctions("eipMessage Transformation","EIP / Message Transformation",!1,[this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.claim_check;",
150,90,"","Claim Check",null,null,this.getTagsForStencil("mxgraph.eip","claim_check","eip enterprise integration pattern message transformation ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.content_enricher;",150,90,"","Content Enricher",null,null,this.getTagsForStencil("mxgraph.eip","content_enricher","eip enterprise integration pattern message transformation ").join(" ")),
this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.content_filter;",150,90,"","Content Filter",null,null,this.getTagsForStencil("mxgraph.eip","content_filter","eip enterprise integration pattern message transformation ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.envelope_wrapper;",
150,90,"","Envelope Wrapper",null,null,this.getTagsForStencil("mxgraph.eip","envelope_wrapper","eip enterprise integration pattern message transformation ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;fillColor\x3d#c0f5a9;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;strokeColor\x3d#000000;shape\x3dmxgraph.eip.normalizer;",150,90,"","Normalizer",null,null,this.getTagsForStencil("mxgraph.eip","normalizer","eip enterprise integration pattern message transformation ").join(" "))])};
Sidebar.prototype.addEipMessagingChannelsPalette=function(b){var c=this,f=[this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;strokeColor\x3d#808080;endArrow\x3dblock;endSize\x3d10;dashed\x3d0;verticalAlign\x3dbottom;strokeWidth\x3d2;",160,0,"","Point to Point Channel",null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern messaging channel message point").join(" ")),this.addEntry("eip enterprise integration pattern messaging channel message publish subscribe",function(){var b=
new mxCell("",new mxGeometry(40,120,0,0),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;html\x3d1;shape\x3drect;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"rounded\x3d0;endArrow\x3dnone;endSize\x3d10;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");a.geometry.setTerminalPoint(new mxPoint(40,0),!0);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!1);var e=new mxCell("",new mxGeometry(0,0,0,0),"rounded\x3d0;edgeStyle\x3dorthogonalEdgeStyle;endArrow\x3dblock;endSize\x3d10;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");
e.geometry.setTerminalPoint(new mxPoint(0,160),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);var f=new mxCell("",new mxGeometry(0,0,0,0),"rounded\x3d0;edgeStyle\x3dorthogonalEdgeStyle;endArrow\x3dblock;endSize\x3d10;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");f.geometry.setTerminalPoint(new mxPoint(40,160),!1);f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);var k=new mxCell("",new mxGeometry(0,0,0,0),"rounded\x3d0;edgeStyle\x3dorthogonalEdgeStyle;endArrow\x3dblock;endSize\x3d10;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");
k.geometry.setTerminalPoint(new mxPoint(80,160),!1);k.geometry.relative=!0;k.edge=!0;b.insertEdge(k,!0);return c.createVertexTemplateFromCells([b,a,e,f,k],80,160,"Publish Subscribe Channel")}),this.createVertexTemplateEntry("strokeWidth\x3d2;strokeColor\x3d#000000;dashed\x3d0;align\x3dcenter;html\x3d1;fontSize\x3d8;shape\x3dmxgraph.eip.channel_adapter;fillColor\x3d#9ddbef;",45,90,"","Channel Adapter",null,null,this.getTagsForStencil("mxgraph.eip","channel_adapter","eip enterprise integration pattern messaging channel message ").join(" ")),
this.createVertexTemplateEntry("strokeWidth\x3d1;strokeColor\x3d#000000;dashed\x3d0;align\x3dcenter;html\x3d1;fontSize\x3d8;shape\x3dmxgraph.eip.messageChannel;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;",100,20,"","Message Channel",null,null,this.getTagsForStencil("mxgraph.eip","messageChannel","eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d1;strokeColor\x3d#000000;dashed\x3d0;align\x3dcenter;html\x3d1;fontSize\x3d8;shape\x3dmxgraph.eip.dataChannel;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;",
100,20,"","Datatype Channel",null,null,this.getTagsForStencil("mxgraph.eip","dataChannel","eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d1;strokeColor\x3d#000000;dashed\x3d0;align\x3dcenter;html\x3d1;fontSize\x3d8;shape\x3dmxgraph.eip.deadLetterChannel;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;",100,20,"","Dead Letter Channel",null,null,this.getTagsForStencil("mxgraph.eip","deadLetterChannel",
"eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d1;strokeColor\x3d#000000;dashed\x3d0;align\x3dcenter;html\x3d1;fontSize\x3d8;shape\x3dmxgraph.eip.invalidMessageChannel;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;",100,20,"","Invalid Message Channel",null,null,this.getTagsForStencil("mxgraph.eip","invalidMessageChannel","eip enterprise integration pattern messaging channel message ").join(" ")),
this.createVertexTemplateEntry("strokeWidth\x3d2;strokeColor\x3d#000000;dashed\x3d0;align\x3dcenter;html\x3d1;fontSize\x3d8;shape\x3dmxgraph.eip.messaging_bridge;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;fillColor\x3d#c0f5a9;",150,90,"","Messaging Bridge",null,null,this.getTagsForStencil("mxgraph.eip","messaging_bridge","eip enterprise integration pattern messaging channel message ").join(" ")),this.addEntry("eip enterprise integration pattern messaging channel message message bus",function(){var b=
new mxCell("",new mxGeometry(0,60,120,20),"strokeWidth\x3d2;strokeColor\x3d#000000;dashed\x3d0;align\x3dcenter;html\x3d1;fontSize\x3d8;shape\x3dmxgraph.eip.messageChannel;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;strokeWidth\x3d2;rounded\x3d0;endArrow\x3dblock;startArrow\x3dblock;startSize\x3d10;endSize\x3d10;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;");a.geometry.setTerminalPoint(new mxPoint(60,140),!0);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,
!1);var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;strokeWidth\x3d2;rounded\x3d0;endArrow\x3dblock;startArrow\x3dblock;startSize\x3d10;endSize\x3d10;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;");e.geometry.setTerminalPoint(new mxPoint(20,0),!0);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;strokeWidth\x3d2;rounded\x3d0;endArrow\x3dblock;startArrow\x3dblock;startSize\x3d10;endSize\x3d10;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;");
f.geometry.setTerminalPoint(new mxPoint(60,0),!0);f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!1);var k=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;strokeWidth\x3d2;rounded\x3d0;endArrow\x3dblock;startArrow\x3dblock;startSize\x3d10;endSize\x3d10;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;");k.geometry.setTerminalPoint(new mxPoint(100,0),!0);k.geometry.relative=!0;k.edge=!0;b.insertEdge(k,!1);return c.createVertexTemplateFromCells([b,a,e,f,k],120,140,"Message Bus")})];
this.addPalette("eipMessaging Channels","EIP / Messaging Channels",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addEipMessagingEndpointsPalette=function(b){this.addPaletteFunctions("eipMessaging Endpoints","EIP / Messaging Endpoints",!1,[this.createVertexTemplateEntry("fillColor\x3d#c0f5a9;dashed\x3d0;strokeWidth\x3d2;strokeColor\x3d#000000;html\x3d1;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.competing_consumers;",
150,90,"","Competing Consumers",null,null,this.getTagsForStencil("mxgraph.eip","competing_consumers","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;strokeWidth\x3d2;strokeColor\x3d#000000;html\x3d1;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.durable_subscriber;fillColor\x3d#a0a0a0;",30,35,"","Durable Subscriber",null,null,this.getTagsForStencil("mxgraph.eip","durable_subscriber",
"eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor\x3d#c0f5a9;dashed\x3d0;strokeWidth\x3d2;strokeColor\x3d#000000;html\x3d1;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.event_driven_consumer;",150,90,"","Event Driven Consumer",null,null,this.getTagsForStencil("mxgraph.eip","event_driven_consumer","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor\x3d#c0f5a9;dashed\x3d0;strokeWidth\x3d2;strokeColor\x3d#000000;html\x3d1;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.message_dispatcher;",
150,90,"","Message Dispatcher",null,null,this.getTagsForStencil("mxgraph.eip","message_dispatcher","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor\x3d#c0f5a9;dashed\x3d0;strokeWidth\x3d2;strokeColor\x3d#000000;html\x3d1;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.messaging_gateway;",150,90,"","Messaging Gateway",null,null,this.getTagsForStencil("mxgraph.eip","messaging_gateway",
"eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor\x3d#c0f5a9;dashed\x3d0;strokeWidth\x3d2;strokeColor\x3d#000000;html\x3d1;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.polling_consumer;",150,90,"","Polling Consumer",null,null,this.getTagsForStencil("mxgraph.eip","polling_consumer","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor\x3d#c0f5a9;dashed\x3d0;strokeWidth\x3d2;strokeColor\x3d#000000;html\x3d1;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.selective_consumer;",
150,90,"","Selective Consumer",null,null,this.getTagsForStencil("mxgraph.eip","selective_consumer","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor\x3d#c0f5a9;dashed\x3d0;strokeWidth\x3d2;strokeColor\x3d#000000;html\x3d1;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.service_activator;",150,90,"","Service Activator",null,null,this.getTagsForStencil("mxgraph.eip","service_activator",
"eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor\x3d#c0f5a9;dashed\x3d0;strokeWidth\x3d2;strokeColor\x3d#000000;html\x3d1;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.transactional_client;",150,90,"","Transactional Client",null,null,this.getTagsForStencil("mxgraph.eip","transactional_client","eip enterprise integration pattern messaging endpoint ").join(" "))])};Sidebar.prototype.addEipMessagingSystemsPalette=
function(b){var c=this,f=[this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dmxgraph.eip.content_based_router;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;",150,90,"","Message Router",null,null,this.getTagsForStencil("mxgraph.eip","content_based_router","eip enterprise integration pattern messaging system ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d1;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dmxgraph.eip.messageChannel;html\x3d1;verticalLabelPosition\x3dbottom;strokeColor\x3d#000000;verticalAlign\x3dtop;",
100,20,"","Message Channel",null,null,this.getTagsForStencil("mxgraph.eip","messageChannel","eip enterprise integration pattern messaging system ").join(" ")),this.addEntry("eip enterprise integration pattern messaging system message endpoint",function(){var b=new mxCell("",new mxGeometry(0,0,150,90),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;");b.vertex=!0;var a=new mxCell("",
new mxGeometry(85,25,40,40),"strokeWidth\x3d1;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#000000;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Message Endpoint")}),this.addEntry("eip enterprise integration pattern messaging system message endpoint",function(){var b=new mxCell("",new mxGeometry(0,0,150,90),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(25,25,40,40),"strokeWidth\x3d1;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#000000;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Message Endpoint")}),this.addEntry("eip enterprise integration pattern messaging system message endpoint",function(){var b=new mxCell("",new mxGeometry(0,0,150,90),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(25,25,40,40),"strokeWidth\x3d1;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#000000;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;");a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(250,0,150,90),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;");e.vertex=!0;var f=new mxCell("",new mxGeometry(85,25,40,40),"strokeWidth\x3d1;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#000000;");
f.vertex=!0;e.insert(f);var k=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;strokeWidth\x3d2;rounded\x3d0;endArrow\x3dblock;startArrow\x3dnone;startSize\x3d10;endSize\x3d10;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");k.geometry.relative=!0;k.edge=!0;a.insertEdge(k,!0);f.insertEdge(k,!1);return c.createVertexTemplateFromCells([b,e,k],400,90,"Message Endpoint")}),this.addEntry("eip enterprise integration pattern messaging system message",function(){var b=new mxCell("",
new mxGeometry(0,0,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dellipse;fillColor\x3d#808080;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#80FF6C;strokeColor\x3d#000000;fontStyle\x3d1;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");
e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);a.insertEdge(e,!0);var f=new mxCell("",new mxGeometry(16,36,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#ff9900;strokeColor\x3d#000000;fontStyle\x3d1;");f.vertex=!0;var k=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");k.geometry.relative=!0;k.edge=!0;b.insertEdge(k,
!1);f.insertEdge(k,!0);return c.createVertexTemplateFromCells([e,k,b,a,f],28,48,"Message")}),this.addEntry("eip enterprise integration pattern messaging system message",function(){var b=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dellipse;fillColor\x3d#808080;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#80FF6C;strokeColor\x3d#000000;fontStyle\x3d1;");
a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);a.insertEdge(e,!0);return c.createVertexTemplateFromCells([e,b,a],28,30,"Message")}),this.addEntry("eip enterprise integration pattern messaging system message",function(){var b=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dellipse;fillColor\x3d#808080;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3drect;fillColor\x3d#ff9900;strokeColor\x3d#000000;fontStyle\x3d1;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);a.insertEdge(e,!0);return c.createVertexTemplateFromCells([e,
b,a],28,30,"Message")}),this.addEntry("eip enterprise integration pattern messaging system message",function(){var b=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dellipse;fillColor\x3d#808080;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dmxgraph.eip.message_2;fillColor\x3d#00cc00;strokeColor\x3d#000000;fontStyle\x3d1;");a.vertex=!0;
var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);a.insertEdge(e,!0);var f=new mxCell("",new mxGeometry(16,36,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dmxgraph.eip.message_1;fillColor\x3d#ff5500;strokeColor\x3d#000000;fontStyle\x3d1;");f.vertex=!0;var k=new mxCell("",
new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");k.geometry.relative=!0;k.edge=!0;b.insertEdge(k,!1);f.insertEdge(k,!0);return c.createVertexTemplateFromCells([e,k,b,a,f],28,48,"Message")}),this.addEntry("eip enterprise integration pattern messaging system message",function(){var b=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dellipse;fillColor\x3d#808080;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dmxgraph.eip.message_1;fillColor\x3d#ff5500;strokeColor\x3d#000000;fontStyle\x3d1;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);a.insertEdge(e,!0);return c.createVertexTemplateFromCells([e,
b,a],28,30,"Message")}),this.addEntry("eip enterprise integration pattern messaging system message",function(){var b=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dellipse;fillColor\x3d#808080;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dmxgraph.eip.message_2;fillColor\x3d#00cc00;strokeColor\x3d#000000;fontStyle\x3d1;");a.vertex=!0;
var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dorthogonalEdgeStyle;rounded\x3d0;exitX\x3d0;exitY\x3d0.5;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeColor\x3d#808080;strokeWidth\x3d2;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);a.insertEdge(e,!0);return c.createVertexTemplateFromCells([e,b,a],28,30,"Message")}),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;shape\x3dmxgraph.eip.message_translator;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;",
150,90,"","Message-Translator",null,null,this.getTagsForStencil("mxgraph.eip","message_translator","eip enterprise integration pattern messaging system ").join(" "))];this.addPalette("eipMessaging Systems","EIP / Messaging Systems",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addEipSystemManagementPalette=function(b){this.addPaletteFunctions("eipSystem Management","EIP / System Management",!1,[this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.channel_purger;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;",
150,90,"","Channel Purger",null,null,this.getTagsForStencil("mxgraph.eip","channel_purger","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.control_bus;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;",60,40,"","Control Bus",null,null,this.getTagsForStencil("mxgraph.eip","control_bus","eip enterprise integration pattern system management ").join(" ")),
this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.detour;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;",150,90,"","Detour",null,null,this.getTagsForStencil("mxgraph.eip","detour","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.message_store;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;",
150,90,"","Message Store",null,null,this.getTagsForStencil("mxgraph.eip","message_store","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.smart_proxy;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;",70,90,"","Smart Proxy",null,null,this.getTagsForStencil("mxgraph.eip","smart_proxy","eip enterprise integration pattern system management ").join(" ")),
this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.test_message;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;",150,90,"","Test Message",null,null,this.getTagsForStencil("mxgraph.eip","test_message","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;dashed\x3d0;align\x3dcenter;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.eip.wire_tap;fillColor\x3d#c0f5a9;strokeColor\x3d#000000;",
150,90,"","Wire Tap",null,null,this.getTagsForStencil("mxgraph.eip","wire_tap","eip enterprise integration pattern system management ").join(" "))])}})();
(function(){Sidebar.prototype.addElectricalPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;shadow\x3d0;dashed\x3d0;align\x3dcenter;fillColor\x3d#ffffff;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;strokeWidth\x3d1;"+mxConstants.STYLE_SHAPE,c=b+"\x3dmxgraph.electrical.abstract.",f=b+"\x3dmxgraph.electrical.capacitors.",d="fillColor\x3d#000000;"+b+"\x3dmxgraph.electrical.diodes.",a=b+"\x3dmxgraph.electrical.inductors.",e=b+"\x3dmxgraph.electrical.miscellaneous.",
g=b+"\x3dmxgraph.electrical.electro-mechanical.",k=b+"\x3dmxgraph.electrical.logic_gates.",l=b+"\x3dmxgraph.electrical.mosfets1.",m=b+"\x3dmxgraph.electrical.transistors.",n=b+"\x3dmxgraph.electrical.opto_electronics.",p=b+"\x3dmxgraph.electrical.plc_ladder.",r=b+"\x3dmxgraph.electrical.radio.",s=b+"\x3dmxgraph.electrical.resistors.",q=b+"\x3dmxgraph.electrical.signal_sources.",t=b+"\x3dmxgraph.electrical.thermionic_devices.",u=b+"\x3dmxgraph.electrical.waveforms.",v="perimeter\x3dellipsePerimeter;"+
b+"\x3dmxgraph.electrical.instruments.",z=b+"\x3dmxgraph.electrical.iec_logic_gates.";this.addPaletteFunctions("eeLogicGates","Electrical / Logic Gates",!1,[this.createVertexTemplateEntry(k+"and;",100,60,"","AND",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","and","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"buffer;",100,60,"","Buffer",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","buffer","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+
"d_type_flip-flop;",100,80,"","D Type Flip-Flop",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","d_type_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"d_type_flip-flop_with_clear;",100,90,"","D Type Flip-Flop With Clear",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","d_type_flip-flop_with_clear","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"d_type_rs_flip-flop;",100,100,"","D Type RS Flip-Flop",null,
null,this.getTagsForStencil("mxgraph.electrical.logic_gates","d_type_rs_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"inverter;",100,60,"","Inverter",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","inverter","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"inverting_contact;",5,5,"","Inverting Contact",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","inverting_contact","electrical logic gate ").join(" ")),
this.createVertexTemplateEntry(k+"jk_flip-flop;",100,80,"","JK Flip-Flop",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","jk_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"jk_flip-flop_with_clear;",100,90,"","JK Flip-Flop With Clear",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","jk_flip-flop_with_clear","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"jk_flip-flop_with_sr;",100,100,"","JK Flip-Flop With SR",
null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","jk_flip-flop_with_sr","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"nand;",100,60,"","NAND",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","nand","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"nor;",100,60,"","NOR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","nor","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"or;",100,
60,"","OR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","or","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"rs_latch;",100,80,"","RS Latch",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","rs_latch","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"synchronous_rs_latch;",100,80,"","RS Latch (Synchronous)",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","synchronous_rs_latch","electrical logic gate ").join(" ")),
this.createVertexTemplateEntry(k+"schmitt_trigger;",100,60,"","Schmitt Trigger",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","schmitt_trigger","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"t_type_flip-flop;",100,80,"","T Type Flip-Flop",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","t_type_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"xnor;",100,60,"","XNOR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates",
"xnor","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(k+"xor;",100,60,"","XOR",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","xor","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(z+"and;",60,80,"","AND (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates","and","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(z+"nand;",66,80,"","NAND (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates",
"nand","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(z+"or;",60,80,"","OR (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates","or","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(z+"nor;",66,80,"","NOR (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates","nor","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(z+"not;",66,80,"","NOT (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates",
"xor","electrical iec logic gate ").join(" ")),this.createVertexTemplateEntry(z+"xor;",60,80,"","XOR (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.iec_logic_gates","xor","electrical iec logic gate ").join(" "))]);this.addPaletteFunctions("eeResistors","Electrical / Resistors",!1,[this.createVertexTemplateEntry(s+"resistor_1;",100,20,"","Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+
"resistor_2;",100,20,"","Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"potentiometer_1;",100,40,"","Potentiometer",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","potentiometer_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"potentiometer_2;",100,40,"","Potentiometer",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","potentiometer_2",
"electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"trimmer_pot_1;",100,40,"","Potentiometer (Trimmer)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","trimmer_pot_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"trimmer_pot_2;",100,40,"","Potentiometer (Trimmer)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","trimmer_pot_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"trimmer_resistor_1;",100,65.5,
"","Resistor (Trimmer)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","trimmer_resistor_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"trimmer_resistor_2;",100,65.5,"","Resistor (Trimmer)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","trimmer_resistor_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"variable_resistor_1;",100,60,"","Resistor (Variable)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors",
"variable_resistor_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"variable_resistor_2;",100,60,"","Resistor (Variable)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","variable_resistor_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"resistor_with_instrument_or_relay_shunt;",100,20,"","Resistor (Instrument/Relay Shunt)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor_with_instrument_or_relay_shunt","electrical resistor ").join(" ")),
this.createVertexTemplateEntry(s+"resistor,_adjustable_contact;",100,40,"","Resistor (Adjustable Contact)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor,_adjustable_contact","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"resistor,_shunt;",100,45,"","Resistor (Shunt)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","resistor,_shunt","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"symmetrical_varistor;",100,60,"",
"Varistor (Symmetrical)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","symmetrical_varistor","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"tapped_resistor;",100,40,"","Resistor (Tapped)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","tapped_resistor","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"nonlinear_resistor;",100,60,"","Resistor (Nonlinear)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","nonlinear_resistor",
"electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"memristor_1;",100,20,"","Memristor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","memristor_1","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"memristor_2;",100,24,"","Memristor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","memristor_2","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"magnetoresistor;",100,60,"","Magnetoresistor",null,null,this.getTagsForStencil("mxgraph.electrical.resistors",
"magnetoresistor","electrical resistor ").join(" ")),this.createVertexTemplateEntry(s+"symmetrical_photoconductive_transducer;",100,40,"","Photoconductive Transducer (Symmetrical)",null,null,this.getTagsForStencil("mxgraph.electrical.resistors","symmetrical_photoconductive_transducer","electrical resistor ").join(" "))]);this.addPaletteFunctions("eeCapacitors","Electrical / Capacitors",!1,[this.createVertexTemplateEntry(f+"capacitor_1;",100,60,"","Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors",
"capacitor_1","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"capacitor_2;",100,60,"","Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_2","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"capacitor_3;",100,60,"","Electrolytic Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_3","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"capacitor_4;",100,60,"",
"Capacitor (UK)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_4","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"capacitor_5;",100,60,"","Electrolytic Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_5","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"capacitor_6;",100,60,"","Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","capacitor_6","electrical capacitor ").join(" ")),
this.createVertexTemplateEntry(f+"differential_capacitor;",100,80,"","Differential Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","differential_capacitor","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"trimmer_capacitor_1;",100,65.5,"","Tuning Variable Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","trimmer_capacitor_1","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"trimmer_capacitor_2;",100,
65.5,"","Tuning Variable Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","trimmer_capacitor_2","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"variable_capacitor_1;",100,60,"","Trimmer Variable Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","variable_capacitor_1","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"variable_capacitor_2;",100,60,"","Trimmer Variable Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors",
"variable_capacitor_2","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"feed_through_capacitor;",100,90,"","Feed Through Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","feed_through_capacitor","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"ganged_capacitor;",100,130,"","Ganged Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","ganged_capacitor","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+
"multiple_capacitor;",100,130,"","Multiple Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","multiple_capacitor","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"multiple_electrolytic_capacitor_comm_neg;",100,130,"","Multiple Electrolytic Capacitor (Common Negative)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","multiple_electrolytic_capacitor_comm_neg","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(f+"multiple_electrolytic_capacitor_comm_pos;",
100,130,"","Multiple Electrolytic Capacitor (Common Positive)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","multiple_electrolytic_capacitor_comm_pos","electrical capacitor ").join(" "))]);this.addPaletteFunctions("eeInductors","Electrical / Inductors",!1,[this.createVertexTemplateEntry(a+"inductor_3;",100,8,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor_3","electrical inductor ").join(" ")),this.createVertexTemplateEntry(a+"inductor_5;",
100,14,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor_5","electrical inductor ").join(" ")),this.createVertexTemplateEntry(a+"inductor_1;",100,15,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor_1","electrical inductor ").join(" ")),this.createVertexTemplateEntry(a+"variable_inductor;",100,60,"","Variable",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","variable_inductor","electrical inductor ").join(" ")),
this.createVertexTemplateEntry(a+"ferrite_core;",64,4,"","Ferrite Core",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","ferrite_core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(a+"iron_core;",64,4,"","Iron Core",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","iron_core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(a+"transformer_1;",64,60,"","Transformer (Iron Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors",
"transformer_1","electrical inductor ").join(" ")),this.createVertexTemplateEntry(a+"transformer_2;",64,60,"","Transformer (Iron Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transformer_2","electrical inductor ").join(" "))]);this.addPaletteFunctions("eeSwitchesRelays","Electrical / Switches and Relays",!1,[this.createVertexTemplateEntry(g+"2-way_switch;",75,26,"","SPDT",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","2-way_switch","electrical switch relay ").join(" ")),
this.createVertexTemplateEntry(g+"push_switch_nc;",75,10,"","Pushbutton NC",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","push_switch_nc","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"push_switch_no;",75,19,"","Pushbutton NO",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","push_switch_no","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"reed_switch;",75,20,"","Reed Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical",
"reed_switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"relay_coil;",70,35,"","Relay Coil",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay_coil","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"resonator;",100,50,"","Resonator",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","resonator","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"simple_switch;",75,32,"","SPST",
null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","simple_switch","electrical switch relay ").join(" "))]);this.addPaletteFunctions("eeDiodes","Electrical / Diodes",!1,[this.createVertexTemplateEntry(d+"diode;",100,60,"","PN Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"gunn_diode;",100,60,"","Gunn Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","gunn_diode","electrical diode ").join(" ")),
this.createVertexTemplateEntry(d+"schottky_diode;",100,60,"","Schottky Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","schottky_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"zener_diode_2;",100,60,"","Breakdown",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_2","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"tunnel_diode;",100,60,"","Tunnel Diode 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes",
"tunnel_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"tunnel_diode_2;",100,80,"","Tunnel Diode 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","tunnel_diode_2","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"field_effect_diode;",100,60,"","Field Effect Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","field_effect_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"varactor_-_varicap;",100,60,"","Varactor - Varicap",
null,null,this.getTagsForStencil("mxgraph.electrical.diodes","varactor_-_varicap","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"zener_diode_1;",100,60,"","Zener Diode 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_1","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"zener_diode_3;",100,60,"","Zener Diode 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_3","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+
"four_layer_diode;",100,80,"","Four Layer Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","four_layer_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"transorb_1;",100,60,"","Transorb 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","transorb_1","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"transorb_2;",100,60,"","Transorb 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","transorb_2","electrical diode ").join(" "))]);
this.addPaletteFunctions("eeSources","Electrical / Sources",!1,[this.createVertexTemplateEntry(q+"ac_source;",60,60,"","AC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","ac_source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(q+"current_source;",40,60,"","Current",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","current_source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(q+"dc_source_1;",70,75,"","DC",
null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dc_source_1","electrical signal source ").join(" ")),this.createVertexTemplateEntry(q+"dc_source_2;",60,60,"","DC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dc_source_2","electrical signal source ").join(" ")),this.createVertexTemplateEntry(q+"dc_source_3;",60,60,"","DC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dc_source_3","electrical signal source ").join(" ")),this.createVertexTemplateEntry(q+
"dependent_source_1;",60,60,"","Dependent",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dependent_source_1","electrical signal source ").join(" ")),this.createVertexTemplateEntry(q+"dependent_source_2;",60,60,"","Dependent",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dependent_source_2","electrical signal source ").join(" ")),this.createVertexTemplateEntry(q+"dependent_source_3;",60,60,"","Dependent",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources",
"dependent_source_3","electrical signal source ").join(" ")),this.createVertexTemplateEntry(q+"noise_source;",60,60,"","Noise",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","noise_source","electrical signal source ").join(" "))]);this.addPaletteFunctions("eeTransistors","Electrical / Transistors",!1,[this.createVertexTemplateEntry(m+"npn_transistor_1;",95,100,"","BJT (NPN)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","npn_transistor_1","electrical transistor ").join(" ")),
this.createVertexTemplateEntry(m+"pnp_transistor_1;",95,100,"","BJT (PNP)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","pnp_transistor_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(m+"n-channel_jfet_1;",95,100,"","JFET (NPN)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","n-channel_jfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(m+"p-channel_jfet_1;",95,100,"","JFET (PNP)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors",
"p-channel_jfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"n-channel_mosfet_1;",95,100,"","MOSFET (N)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","n-channel_mosfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"p-channel_mosfet_1;",95,100,"","MOSFET (P)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","p-channel_mosfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"mosfet_ic_n;",
95,100,"","MOSFET Inductive Channel (N)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","mosfet_ic_n","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"mosfet_ic_p;",95,100,"","MOSFET Inductive Channel (P)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","mosfet_ic_p","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"mosfet_n_no_bulk;",95,100,"","MOSFET No Bulk (N)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors",
"mosfet_n_no_bulk","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"mosfet_p_no_bulk;",95,100,"","MOSFET No Bulk (P)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","mosfet_p_no_bulk","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"p-channel_mosfet_1;",95,100,"","MOSFET (P)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","p-channel_mosfet_1","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"dual_gate_mosfet_n;",
95,100,"","Dual Gate MOSFET (N)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","dual_gate_mosfet_n","electrical transistor ").join(" ")),this.createVertexTemplateEntry(l+"dual_gate_mosfet_p;",95,100,"","Dual Gate MOSFET (P)",null,null,this.getTagsForStencil("mxgraph.electrical.transistors","dual_gate_mosfet_p","electrical transistor ").join(" "))]);this.addPaletteFunctions("eeInstruments","Electrical / Instruments",!1,[this.createVertexTemplateEntry(v+"ampermeter;",90,90,"","Ampermeter",
null,null,this.getTagsForStencil("mxgraph.electrical.instruments","ampermeter","electrical instrument ").join(" ")),this.createVertexTemplateEntry(v+"galvanometer;",90,90,"","Galvanometer",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","galvanometer","electrical instrument ").join(" ")),this.createVertexTemplateEntry(v+"oscilloscope;",90,90,"","Oscilloscope",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","oscilloscope","electrical instrument ").join(" ")),this.createVertexTemplateEntry(v+
"signal_generator;",90,90,"","Signal Generator",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","signal_generator","electrical instrument ").join(" ")),this.createVertexTemplateEntry(v+"voltmeter;",90,90,"","Voltmeter",null,null,this.getTagsForStencil("mxgraph.electrical.instruments","voltmeter","electrical instrument ").join(" "))]);this.addPaletteFunctions("eeMisc","Electrical / Misc",!1,[this.createVertexTemplateEntry(r+"aerial_-_antenna_1;",80,100,"","Antenna",null,null,this.getTagsForStencil("mxgraph.electrical.radio",
"aerial_-_antenna_1","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(r+"aerial_-_antenna_2;",79,100,"","Antenna",null,null,this.getTagsForStencil("mxgraph.electrical.radio","aerial_-_antenna_2","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(r+"loop_antenna;",64.8,69.78,"","Loop Antenna",null,null,this.getTagsForStencil("mxgraph.electrical.radio","loop_antenna","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"\x3dmxgraph.electrical.electro-mechanical.motor_1;html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;align\x3dcenter;fontSize\x3d30;strokeColor\x3d#000000;strokeWidth\x3d1;",
100,60,"M","Electrical Motor",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","motor_1","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"\x3dmxgraph.electrical.electro-mechanical.motor_2;html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;align\x3dcenter;fontSize\x3d30;strokeColor\x3d#000000;strokeWidth\x3d1;",100,60,"","Motor Armature",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","motor_2","electrical switch relay ").join(" ")),
this.createVertexTemplateEntry(e+"co-ax;",40,60,"","Co-Ax",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","co-ax","electrical ").join(" ")),this.createVertexTemplateEntry(e+"crystal_1;",100,40,"","Crystal",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","crystal_1","electrical ").join(" ")),this.createVertexTemplateEntry(e+"fuse_1;",100,20,"","Fuse (IEC)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","fuse_1","electrical ").join(" ")),
this.createVertexTemplateEntry(e+"fuse_2;",100,20,"","Fuse (IEEE)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","fuse_2","electrical ").join(" ")),this.createVertexTemplateEntry(e+"fuse_3;",100,12,"","Fuse (obsolete)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","fuse_3","electrical ").join(" ")),this.createVertexTemplateEntry(e+"fuse_4;",100,32,"","Fuse (IEEE)",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","fuse_4","electrical ").join(" ")),
this.createVertexTemplateEntry(e+"light_bulb;",60,50,"","Light Bulb",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","light_bulb","electrical ").join(" ")),this.createVertexTemplateEntry(e+"illuminating_bulb;",60,50,"","Illuminating Bulb",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","illuminating_bulb","electrical ").join(" ")),this.createVertexTemplateEntry(e+"light_bulb;",60,50,"","Pilot Light",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous",
"light_bulb","electrical ").join(" ")),this.createVertexTemplateEntry(e+"neon_lamp_2;",60,50,"","Neon Lamp",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","neon_lamp_2","electrical ").join(" ")),this.createVertexTemplateEntry(e+"thermocouple;",80,81,"","Thermocouple",null,null,this.getTagsForStencil("mxgraph.electrical.miscellaneous","thermocouple","electrical ").join(" ")),this.createVertexTemplateEntry(c+"amplifier;",90,100,"","Amplifier",null,null,this.getTagsForStencil("mxgraph.electrical.abstract",
"amplifier","electrical ").join(" ")),this.createVertexTemplateEntry(c+"controlled_amplifier;",100,90,"","Controlled Amplifier",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","controlled_amplifier","electrical ").join(" ")),this.createVertexTemplateEntry(c+"dac;",70,46,"","DAC",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","dac","electrical ").join(" ")),this.createVertexTemplateEntry(c+"mux;",60,90,"","Mux",null,null,this.getTagsForStencil("mxgraph.electrical.abstract",
"mux","electrical ").join(" ")),this.createVertexTemplateEntry(c+"demux;",60,90,"","Demux",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","demux","electrical ").join(" ")),this.createVertexTemplateEntry(c+"mux-demux;",60,90,"","Mux-Demux",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","mux-demux","electrical ").join(" ")),this.createVertexTemplateEntry(c+"operational_amp_1;",98,90,"","Operational Amp",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","operational_amp_1",
"electrical ").join(" ")),this.createVertexTemplateEntry(c+"operational_amp_2;",98,90,"","Operational Amp",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","operational_amp_2","electrical ").join(" ")),this.createVertexTemplateEntry(c+"ota_1;",100,90,"","OTA",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","ota_1","electrical ").join(" ")),this.createVertexTemplateEntry(c+"ota_2;",100,90,"","OTA",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","ota_2","electrical ").join(" ")),
this.createVertexTemplateEntry(c+"ota_3;",100,90,"","OTA",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","ota_3","electrical ").join(" ")),this.createVertexTemplateEntry(c+"quantizer;",52,46,"","Quantizer",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","quantizer","electrical ").join(" ")),this.createVertexTemplateEntry(c+"delta;",50,50,"","Delta",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","delta","electrical ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+
"\x3dmxgraph.electrical.abstract.function;html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;align\x3dcenter;strokeColor\x3d#000000;strokeWidth\x3d1;fontSize\x3d24",50,50,"fn","Function",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","function","electrical ").join(" ")),this.createVertexTemplateEntry(c+"integrator;",50,50,"","Integrator",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","integrator","electrical ").join(" ")),this.createVertexTemplateEntry(c+"multiplier;",
50,50,"","Multiplier",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","multiplier","electrical ").join(" ")),this.createVertexTemplateEntry(c+"sum;",50,50,"","Sum",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","sum","electrical ").join(" ")),this.createVertexTemplateEntry(c+"summation_point;",50,50,"","Summation Point",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","summation_point","electrical ").join(" ")),this.createVertexTemplateEntry(c+"filter;",
52,46,"","Filter",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","filter","electrical ").join(" ")),this.createVertexTemplateEntry(b+"\x3dmxgraph.electrical.logic_gates.bandpass_filter;",52,46,"","Bandpass Filter",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","bandpass_filter","").join(" ")),this.createVertexTemplateEntry(b+"\x3dmxgraph.electrical.logic_gates.highpass_filter;",52,46,"","Highpass Filter",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates",
"highpass_filter","").join(" ")),this.createVertexTemplateEntry(b+"\x3dmxgraph.electrical.logic_gates.lowpass_filter;",52,46,"","Lowpass Filter",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","lowpass_filter","").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"\x3dmxgraph.electrical.abstract.thermistor_with_independent_integral_heater;html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3d#000000;strokeWidth\x3d1;align\x3dcenter;overflow\x3dfill;",
100,94.25,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr height\x3d"45%"\x3e\x3ctd align\x3d"center"\x3e\\temp\\\x3c/td\x3e\x3c/tr\x3e\x3ctr height\x3d"55%"\x3e\x3ctd\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',"Thermistor With Independent Integral Heater",null,null,this.getTagsForStencil("mxgraph.electrical.abstract","thermistor_with_independent_integral_heater","electrical ").join(" ")),this.createVertexTemplateEntry(c+"voltage_regulator;",70,58,"","Voltage Regulator",
null,null,this.getTagsForStencil("mxgraph.electrical.abstract","voltage_regulator","electrical ").join(" ")),this.createVertexTemplateEntry(q+"vdd;fontSize\x3d24;",60,40,"V\x3csub\x3edd\x3c/sub\x3e","Vdd",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","vdd","electrical signal source ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dtop;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dbottom;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.electrical.signal_sources.vss2;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;align\x3dcenter;strokeColor\x3d#000000;strokeWidth\x3d1;fontSize\x3d24;html\x3d1;",
60,40,"V\x3csub\x3ess\x3c/sub\x3e","Vss",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","vss2","electrical signal source ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dtop;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dbottom;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.electrical.signal_sources.current_flow;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;align\x3dcenter;strokeColor\x3d#000000;strokeWidth\x3d1;fontSize\x3d10;html\x3d1;",70,10,"5 mA",
"Current Flow",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","current_flow","electrical signal source ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_LABEL_POSITION+"\x3dright;"+mxConstants.STYLE_ALIGN+"\x3dleft;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.electrical.signal_sources.voltage;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3d#000000;strokeWidth\x3d1;fontSize\x3d10;html\x3d1;",10,70,"1.2 V","Voltage",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources",
"voltage","electrical signal source ").join(" ")),this.createVertexTemplateEntry(q+"equipotential;",90,90,"","Equipotential",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","equipotential","electrical signal source ").join(" ")),this.createVertexTemplateEntry(q+"protective_earth;",50,40,"","Protective Earth",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","protective_earth","electrical signal source ").join(" ")),this.createVertexTemplateEntry(q+"signal_ground;",
90,60,"","Signal Ground",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","signal_ground","electrical signal source ").join(" "))]);this.addPaletteFunctions("eeAudio","Electrical / Audio",!1,[this.createVertexTemplateEntry(r+"dipole;",100,40,"","Dipole",null,null,this.getTagsForStencil("mxgraph.electrical.radio","dipole","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(r+"electret_microphone;",70,70,"","Electret Microphone",null,null,this.getTagsForStencil("mxgraph.electrical.radio",
"electret_microphone","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(r+"microphone_1;",70,70,"","Microphone",null,null,this.getTagsForStencil("mxgraph.electrical.radio","microphone_1","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(r+"microphone_2;",42,70,"","Microphone",null,null,this.getTagsForStencil("mxgraph.electrical.radio","microphone_2","electrical radio audio ").join(" ")),this.createVertexTemplateEntry(g+"piezo_sounder;",100,40,"","Piezo Sounder",
null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","piezo_sounder","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"buzzer;",45,60,"","Buzzer",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","buzzer","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"loudspeaker;",25,50,"","Loudspeaker",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","loudspeaker","electrical switch relay ").join(" ")),
this.createVertexTemplateEntry(r+"headphones;",66,56,"","Headphones",null,null,this.getTagsForStencil("mxgraph.electrical.radio","headphones","electrical radio audio ").join(" "))]);this.addPaletteFunctions("eePlcLadder","Electrical / PLC Ladder",!1,[this.createVertexTemplateEntry(p+"contact;",50,25,"","Contact",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","contact","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(p+"not_contact;",
50,25,"","Contact (N)",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","not_contact","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(p+"not_output_1;",50,25,"","Output (N)",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","not_output_1;","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(p+"not_output_2;",50,25,"","Output (N)",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder",
"not_output_2","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(p+"output_1;",50,25,"","Output",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","output_1","electrical plc ladder programmable logic logical controller").join(" ")),this.createVertexTemplateEntry(p+"output_2;",50,25,"","Output",null,null,this.getTagsForStencil("mxgraph.electrical.plc_ladder","output_2","electrical plc ladder programmable logic logical controller").join(" "))]);
this.addPaletteFunctions("eeOptical","Electrical / Optical",!1,[this.createVertexTemplateEntry(n+"7_segment_display;",74.7,96.1,"","7 Segment Display",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","7_segment_display","electrical optical ").join(" ")),this.createVertexTemplateEntry(n+"7_segment_display_with_dp;",79.8,96.9,"","7 Segment Display with DP",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","7_segment_display_with_dp","electrical optical ").join(" ")),
this.createVertexTemplateEntry(n+"9_segment_display;",74.7,96.1,"","9 Segment Display",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","9_segment_display","electrical optical ").join(" ")),this.createVertexTemplateEntry(n+"9_segment_display_with_dp;",79.8,96.9,"","9 Segment Display with DP",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","9_segment_display_with_dp","electrical optical ").join(" ")),this.createVertexTemplateEntry(n+"led_1;",100,65,"","LED",
null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","led_1","electrical optical ").join(" ")),this.createVertexTemplateEntry(n+"led_2;",100,70,"","LED",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","led_2","electrical optical ").join(" ")),this.createVertexTemplateEntry(n+"light-activated_scr;",100,70,"","Light Activated SCR",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","light-activated_scr","electrical optical ").join(" ")),this.createVertexTemplateEntry(n+
"opto-coupler;",99,60,"","Opto-coupler",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","opto-coupler","electrical optical ").join(" ")),this.createVertexTemplateEntry(n+"opto-transistor;",100,110,"","Opto-transistor",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","opto-transistor","electrical optical ").join(" ")),this.createVertexTemplateEntry(n+"photodiode;",100,70,"","Photodiode",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics",
"photodiode","electrical optical ").join(" ")),this.createVertexTemplateEntry(n+"photo_resistor_1;",100,90,"","Photo Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","photo_resistor_1","electrical optical ").join(" ")),this.createVertexTemplateEntry(n+"photo_resistor_2;",100,50,"","Photo Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","photo_resistor_2","electrical optical ").join(" ")),this.createVertexTemplateEntry(n+"photo_resistor_3;",
100,90,"","Photo Resistor",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","photo_resistor_3","electrical optical ").join(" ")),this.createVertexTemplateEntry(n+"solar_cell;",100,70,"","Solar Cell",null,null,this.getTagsForStencil("mxgraph.electrical.opto_electronics","solar_cell","electrical optical ").join(" "))]);this.addPaletteFunctions("eeVacuumTubes","Electrical / Vacuum Tubes",!1,[this.createVertexTemplateEntry(t+"diode;",70,77,"","Diode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices",
"diode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(t+"double_diode;",70,77,"","Double Diode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","double_diode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(t+"triode;",70,77,"","Triode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","triode","electrical thermionic thermo device vacuum tube ").join(" ")),
this.createVertexTemplateEntry(t+"double_triode;",70,77,"","Double Triode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","double_triode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(t+"tetrode;",70,77,"","Tetrode",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","tetrode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(t+"pentode;",70,77,"","Pentode",null,
null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","pentode","electrical thermionic thermo device vacuum tube ").join(" ")),this.createVertexTemplateEntry(t+"photocell;",70,87,"","Photocell",null,null,this.getTagsForStencil("mxgraph.electrical.thermionic_devices","photocell","electrical thermionic thermo device vacuum tube ").join(" "))]);this.addPaletteFunctions("eeWaveforms","Electrical / Waveforms",!1,[this.createVertexTemplateEntry(u+"pulse_1;",90,90,"","Pulse",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms",
"pulse_1","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(u+"pulse_2;",90,90,"","Pulse",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","pulse_2","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(u+"sawtooth;",90,40,"","Sawtooth",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","sawtooth","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(u+"sine_wave;",90,66.18,"","Sine Wave",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms",
"sine_wave","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(u+"slow_square_wave;",90,80,"","Chopped Square Wave",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","slow_square_wave","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(u+"square_wave;",90,80,"","square_wave",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","square_wave","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(u+"step_1;",90,90,
"","Step",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","step_1","electrical waveform signal ").join(" ")),this.createVertexTemplateEntry(u+"step_2;",90,90,"","Step",null,null,this.getTagsForStencil("mxgraph.electrical.waveforms","step_2","electrical waveform signal ").join(" "))])}})();
(function(){Sidebar.prototype.addErPalette=function(){var b=this,c=new mxCell("Row",new mxGeometry(0,0,40,26),"text;html\x3d1;strokeColor\x3dnone;fillColor\x3dnone;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;");c.vertex=!0;var f=[this.addEntry("er entity relation table",function(){var d=new mxCell("Table",new mxGeometry(0,0,160,110),"swimlane;html\x3d1;fontStyle\x3d0;childLayout\x3dstackLayout;horizontal\x3d1;startSize\x3d26;fillColor\x3d#e0e0e0;horizontalStack\x3d0;resizeParent\x3d1;resizeLast\x3d0;collapsible\x3d1;marginBottom\x3d0;swimlaneFillColor\x3d#ffffff;align\x3dcenter;");
d.vertex=!0;d.insert(b.cloneCell(c,"Row 1"));d.insert(b.cloneCell(c,"Row 2"));d.insert(b.cloneCell(c,"Row 3"));return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Table")}),this.addEntry("er entity relation table section subsection",function(){var d=new mxCell("Section",new mxGeometry(0,0,140,110),"swimlane;html\x3d1;fontStyle\x3d0;childLayout\x3dstackLayout;horizontal\x3d1;startSize\x3d22;fillColor\x3dnone;horizontalStack\x3d0;resizeParent\x3d1;resizeLast\x3d0;collapsible\x3d1;marginBottom\x3d0;swimlaneFillColor\x3d#ffffff;align\x3dcenter;");
d.vertex=!0;d.insert(b.cloneCell(c,"Row 1"));d.insert(b.cloneCell(c,"Row 2"));d.insert(b.cloneCell(c,"Row 3"));return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Section")}),this.addEntry("er entity relation table section subsection",function(){var d=new mxCell("Table",new mxGeometry(0,0,160,144),"swimlane;html\x3d1;fontStyle\x3d0;childLayout\x3dstackLayout;horizontal\x3d1;startSize\x3d26;fillColor\x3d#e0e0e0;horizontalStack\x3d0;resizeParent\x3d1;resizeLast\x3d0;collapsible\x3d1;marginBottom\x3d0;swimlaneFillColor\x3d#ffffff;align\x3dcenter;");
d.vertex=!0;var a=new mxCell("uniqueId",new mxGeometry(0,0,90,30),"shape\x3dpartialRectangle;top\x3d0;left\x3d0;right\x3d0;bottom\x3d1;html\x3d1;align\x3dleft;verticalAlign\x3dmiddle;fillColor\x3dnone;spacingLeft\x3d34;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;dropTarget\x3d0;fontStyle\x3d5;");a.vertex=!0;var e=b.cloneCell(c,"PK");e.connectable=!1;e.style="shape\x3dpartialRectangle;top\x3d0;left\x3d0;bottom\x3d0;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[];portConstraint\x3deastwest;part\x3d1;";
e.geometry.width=30;e.geometry.height=30;a.insert(e);d.insert(a);a=new mxCell("row 1",new mxGeometry(0,0,90,26),"shape\x3dpartialRectangle;top\x3d0;left\x3d0;right\x3d0;bottom\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;fillColor\x3dnone;spacingLeft\x3d34;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;dropTarget\x3d0;");a.vertex=!0;e=b.cloneCell(c,"");e.connectable=!1;e.style="shape\x3dpartialRectangle;top\x3d0;left\x3d0;bottom\x3d0;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[];portConstraint\x3deastwest;part\x3d1;";
e.geometry.width=30;a.insert(e);d.insert(a);a=b.graph.cloneCells([a])[0];a.value="row 2";d.insert(a);a=b.graph.cloneCells([a])[0];a.value="row 3";d.insert(a);a=b.graph.cloneCells([a])[0];a.value="";a.children[0].geometry.height=10;a.geometry.height=10;d.insert(a);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"ER Table 1")}),this.addEntry("er entity relation table section subsection",function(){var d=new mxCell("Table",new mxGeometry(0,0,160,112),"swimlane;html\x3d1;fontStyle\x3d0;childLayout\x3dstackLayout;horizontal\x3d1;startSize\x3d26;fillColor\x3d#e0e0e0;horizontalStack\x3d0;resizeParent\x3d1;resizeLast\x3d0;collapsible\x3d1;marginBottom\x3d0;swimlaneFillColor\x3d#ffffff;align\x3dcenter;");
d.vertex=!0;var a=new mxCell("row 1",new mxGeometry(0,0,90,30),"shape\x3dpartialRectangle;top\x3d0;left\x3d0;right\x3d0;bottom\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dmiddle;fillColor\x3dnone;spacingLeft\x3d60;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;dropTarget\x3d0;fontStyle\x3d5;");a.vertex=!0;var e=b.cloneCell(c,"PK,FK1");e.connectable=!1;e.style="shape\x3dpartialRectangle;fontStyle\x3d1;top\x3d0;left\x3d0;bottom\x3d0;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[];portConstraint\x3deastwest;part\x3d1;";
e.geometry.width=56;e.geometry.height=30;a.insert(e);d.insert(a);a=new mxCell("row 2",new mxGeometry(0,0,90,30),"shape\x3dpartialRectangle;top\x3d0;left\x3d0;right\x3d0;bottom\x3d1;html\x3d1;align\x3dleft;verticalAlign\x3dmiddle;fillColor\x3dnone;spacingLeft\x3d60;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;dropTarget\x3d0;fontStyle\x3d5;");a.vertex=!0;e=b.cloneCell(c,"PK,FK2");e.connectable=!1;e.style="shape\x3dpartialRectangle;fontStyle\x3d1;top\x3d0;left\x3d0;bottom\x3d0;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[];portConstraint\x3deastwest;part\x3d1;";
e.geometry.width=56;e.geometry.height=30;a.insert(e);d.insert(a);a=new mxCell("row 1",new mxGeometry(0,0,90,26),"shape\x3dpartialRectangle;top\x3d0;left\x3d0;right\x3d0;bottom\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;fillColor\x3dnone;spacingLeft\x3d60;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;dropTarget\x3d0;");a.vertex=!0;e=b.cloneCell(c,"");e.connectable=!1;e.style="shape\x3dpartialRectangle;top\x3d0;left\x3d0;bottom\x3d0;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[];portConstraint\x3deastwest;part\x3d1;";
e.geometry.width=56;a.insert(e);d.insert(a);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"ER Table 2")}),this.addEntry("er entity relation table row",function(){return b.createVertexTemplateFromCells([c.clone()],c.geometry.width,c.geometry.height,"Row 1")}),this.addEntry("er entity relation table row",function(){var d=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape\x3dpartialRectangle;top\x3d0;left\x3d0;right\x3d0;bottom\x3d0;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dtop;fillColor\x3dnone;spacingLeft\x3d34;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;dropTarget\x3d0;");
d.vertex=!0;var a=b.cloneCell(c,"PK");a.connectable=!1;a.style="shape\x3dpartialRectangle;top\x3d0;left\x3d0;bottom\x3d0;right\x3d0;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[];portConstraint\x3deastwest;part\x3d1;";a.geometry.width=30;d.insert(a);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Row 2")}),this.addEntry("er entity relation table row",
function(){var d=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape\x3dpartialRectangle;top\x3d0;left\x3d0;right\x3d0;bottom\x3d1;html\x3d1;align\x3dleft;verticalAlign\x3dtop;fillColor\x3dnone;spacingLeft\x3d34;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;dropTarget\x3d0;");d.vertex=!0;var a=b.cloneCell(c,"PK");a.connectable=!1;a.style="shape\x3dpartialRectangle;top\x3d0;left\x3d0;bottom\x3d0;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[];portConstraint\x3deastwest;part\x3d1;";
a.geometry.width=30;d.insert(a);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Row 3")}),this.addEntry("er entity relation table row",function(){var d=new mxCell("row",new mxGeometry(0,0,120,26),"shape\x3dpartialRectangle;top\x3d0;left\x3d0;right\x3d0;bottom\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;fillColor\x3dnone;spacingLeft\x3d60;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;dropTarget\x3d0;");
d.vertex=!0;var a=b.cloneCell(c,"");a.connectable=!1;a.style="shape\x3dpartialRectangle;fontStyle\x3d1;top\x3d0;left\x3d0;bottom\x3d0;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[];portConstraint\x3deastwest;part\x3d1;";a.geometry.width=56;d.insert(a);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Row 4")}),this.addEntry("er entity relation table row",
function(){var d=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape\x3dpartialRectangle;top\x3d0;left\x3d0;right\x3d0;bottom\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;fillColor\x3dnone;spacingLeft\x3d34;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;dropTarget\x3d0;");d.vertex=!0;var a=b.cloneCell(c,"PK");a.connectable=!1;a.style="shape\x3dpartialRectangle;top\x3d0;left\x3d0;bottom\x3d0;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[];portConstraint\x3deastwest;part\x3d1;";
a.geometry.width=30;d.insert(a);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Row 5")}),this.addEntry("er entity relation table row",function(){var d=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape\x3dpartialRectangle;top\x3d0;left\x3d0;right\x3d0;bottom\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;fillColor\x3dnone;spacingLeft\x3d34;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;dropTarget\x3d0;");
d.vertex=!0;var a=b.cloneCell(c,"");a.connectable=!1;a.style="shape\x3dpartialRectangle;top\x3d0;left\x3d0;bottom\x3d0;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[];portConstraint\x3deastwest;part\x3d1;";a.geometry.width=30;d.insert(a);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Row 6")}),this.addEntry("er entity relation table row",function(){var d=
new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape\x3dpartialRectangle;top\x3d0;left\x3d0;right\x3d0;bottom\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;fillColor\x3dnone;spacingLeft\x3d34;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;dropTarget\x3d0;");d.vertex=!0;var a=b.cloneCell(c,"");a.connectable=!1;a.style="shape\x3dpartialRectangle;top\x3d0;left\x3d0;bottom\x3d0;right\x3d0;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d4;spacingRight\x3d4;whiteSpace\x3dwrap;overflow\x3dhidden;rotatable\x3d0;points\x3d[];portConstraint\x3deastwest;part\x3d1;";
a.geometry.width=30;d.insert(a);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Row 7")}),this.addEntry("er entity relation table row divider hline line separator",function(){var d=new mxCell("",new mxGeometry(0,0,40,8),"line;html\x3d1;strokeWidth\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dmiddle;spacingTop\x3d-1;spacingLeft\x3d3;spacingRight\x3d3;rotatable\x3d0;labelPosition\x3dright;points\x3d[];portConstraint\x3deastwest;");d.vertex=!0;return b.createVertexTemplateFromCells([d],
d.geometry.width,d.geometry.height,"Divider")}),this.addEntry("er entity relation table row spacer space gap separator",function(){var d=new mxCell("",new mxGeometry(0,0,20,14),"text;html\x3d1;fillColor\x3dnone;align\x3dleft;verticalAlign\x3dmiddle;spacingTop\x3d-1;spacingLeft\x3d4;spacingRight\x3d4;rotatable\x3d0;labelPosition\x3dright;points\x3d[];portConstraint\x3deastwest;");d.vertex=!0;return b.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Spacer")}),this.createVertexTemplateEntry("text;html\x3d1;align\x3dcenter;verticalAlign\x3dmiddle;spacingLeft\x3d4;spacingRight\x3d4;strokeColor\x3d#000000;fillColor\x3d#e0e0e0;rotatable\x3d0;points\x3d[[0,0.5],[1,0.5]];portConstraint\x3deastwest;",
80,26,"Title","Title",null,null,"er entity relation table title label"),this.addEntry("er entity relation table",function(){var d=new mxCell("Entity",new mxGeometry(0,0,160,120),"swimlane;html\x3d1;childLayout\x3dstackLayout;horizontal\x3d1;startSize\x3d30;horizontalStack\x3d0;fillColor\x3d#008cff;fontColor\x3d#FFFFFF;rounded\x3d1;fontSize\x3d17;fontStyle\x3d0;strokeWidth\x3d2;resizeParent\x3d0;resizeLast\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;");d.vertex=!0;var a=new mxCell("+Attribute1\n+Attribute2\n+Attribute3",
new mxGeometry(0,30,160,90),"whiteSpace\x3dwrap;html\x3d1;align\x3dleft;strokeColor\x3dnone;fillColor\x3dnone;spacingLeft\x3d4;fontSize\x3d17;verticalAlign\x3dtop;resizable\x3d0;rotatable\x3d0;part\x3d1;");a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Entity 2")}),this.createVertexTemplateEntry("ellipse;shape\x3ddoubleEllipse;margin\x3d10;strokeWidth\x3d2;fontSize\x3d17;whiteSpace\x3dwrap;html\x3d1;align\x3dcenter;",100,100,"Attribute","Attribute",
null,null,"er entity relation attribute"),this.createVertexTemplateEntry("ellipse;shape\x3dcloud;strokeWidth\x3d2;fontSize\x3d17;whiteSpace\x3dwrap;html\x3d1;align\x3dcenter;",100,100,"Cloud","Cloud",null,null,"er entity relation cloud"),this.createVertexTemplateEntry("strokeWidth\x3d2;rounded\x3d1;arcSize\x3d10;whiteSpace\x3dwrap;html\x3d1;align\x3dcenter;",100,100,"Entity","Entity 3",null,null,"er entity relation "),this.createVertexTemplateEntry("strokeWidth\x3d2;whiteSpace\x3dwrap;html\x3d1;align\x3dcenter;",
100,100,"Entity","Entity 4",null,null,"er entity relation "),this.createVertexTemplateEntry("shape\x3dext;strokeWidth\x3d2;margin\x3d10;double\x3d1;whiteSpace\x3dwrap;html\x3d1;align\x3dcenter;",100,100,"Entity","Entity 5",null,null,"er entity relation "),this.createVertexTemplateEntry("shape\x3drhombus;strokeWidth\x3d2;fontSize\x3d17;perimeter\x3drhombusPerimeter;whiteSpace\x3dwrap;html\x3d1;align\x3dcenter;",100,100,"Has","Has",null,null,"er entity relation has"),this.createVertexTemplateEntry("shape\x3drhombus;double\x3d1;strokeWidth\x3d2;fontSize\x3d17;perimeter\x3drhombusPerimeter;whiteSpace\x3dwrap;html\x3d1;align\x3dcenter;",
100,100,"Has","Has",null,null,"er entity relation has"),this.addEntry("er entity relation hierarchy",function(){var d=new mxCell("",new mxGeometry(0,0,100,100),"html\x3d1;strokeWidth\x3d2;shape\x3dmxgraph.er.rrect;rSize\x3d5;");d.vertex=!0;var a=new mxCell("main",new mxGeometry(0,0,50,100),"html\x3d1;strokeWidth\x3d2;shape\x3dmxgraph.er.anchor;fontSize\x3d17;whiteSpace\x3dwrap;");a.vertex=!0;d.insert(a);a=new mxCell("sub",new mxGeometry(50,5,45,90),"html\x3d1;strokeWidth\x3d2;shape\x3dmxgraph.er.rrect;rSize\x3d5;fontSize\x3d17;whiteSpace\x3dwrap;points\x3d[];");
a.vertex=!0;d.insert(a);return b.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Hierarchy")}),this.createVertexTemplateEntry("shape\x3dnote;strokeWidth\x3d2;fontSize\x3d17;size\x3d20;whiteSpace\x3dwrap;html\x3d1;",100,100,"Note","Note",null,null,"er entity relation note"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERzeroToMany;endFill\x3d1;",100,100,"","0 to Many Optional",null,"er entity relation zero many optional"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERoneToMany;",
100,100,"","1 to Many",null,"er entity relation one many"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERmandOne;",100,100,"","1 Mandatory",null,"er entity relation one mandatory"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERmandOne;startArrow\x3dERmandOne;",100,100,"","1 to 1",null,"er entity relation one"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERone;endFill\x3d1;",
100,100,"","1",null,"er entity relation one"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERzeroToOne;endFill\x3d1;",100,100,"","0 to 1",null,"er entity relation zero one"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERmany;",100,100,"","Many",null,"er entity relation many"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERmany;startArrow\x3dERmany;",100,100,"","Many to Many",
null,"er entity relation many"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERzeroToMany;startArrow\x3dERzeroToOne;",100,100,"","1 Optional to Many Optional",null,"er entity relation one optional many"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERzeroToMany;startArrow\x3dERmandOne;",100,100,"","1 Mandatory to Many Optional",null,"er entity relation one mandatory many optional"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERzeroToOne;startArrow\x3dERmandOne;",
100,100,"","1 Mandatory to 1 Optional",null,"er entity relation one mandatory optional"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERoneToMany;startArrow\x3dERmandOne;",100,100,"","1 Mandatory to Many Mandatory",null,"er entity relation one mandatory many"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERoneToMany;startArrow\x3dERzeroToOne;",100,100,"","1 Optional to Many Mandatory",null,"er entity relation one optional mandatory many"),
this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERoneToMany;startArrow\x3dERoneToMany;",100,100,"","Many Mandatory to Many Mandatory",null,"er entity relation mandatory many"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERoneToMany;startArrow\x3dERzeroToMany;",100,100,"","Many Optional to Many Mandatory",null,"er entity relation mandatory many optional"),this.createEdgeTemplateEntry("edgeStyle\x3dentityRelationEdgeStyle;html\x3d1;endArrow\x3dERzeroToMany;endFill\x3d1;startArrow\x3dERzeroToMany;",
100,100,"","Many Optional to Many Optional",null,"er entity relation many optional")];this.addPaletteFunctions("er",mxResources.get("entityRelation"),!1,f)}})();
(function(){Sidebar.prototype.addFloorplanPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;align\x3dcenter;"+mxConstants.STYLE_STROKEWIDTH+"\x3d1;shape\x3dmxgraph.floorplan.",c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dcenter;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;align\x3dcenter;"+mxConstants.STYLE_STROKEWIDTH+"\x3d1;shape\x3dmxgraph.floorplan.",f=[this.createVertexTemplateEntry(b+"wall;fillColor\x3d#000000;",
100,10,"","Wall (Horizontal)",null,null,this.getTagsForStencil("mxgraph.floorplan","wall","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"wall;fillColor\x3d#000000;direction\x3dsouth;",10,100,"","Wall (Vertical)",null,null,this.getTagsForStencil("mxgraph.floorplan","wall","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"wallCorner;fillColor\x3d#000000;",100,100,"","Wall (Corner NW)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),this.createVertexTemplateEntry(b+
"wallCorner;fillColor\x3d#000000;direction\x3dsouth;",100,100,"","Wall (Corner NE)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"wallCorner;fillColor\x3d#000000;direction\x3dwest",100,100,"","Wall (Corner SE)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"wallCorner;fillColor\x3d#000000;direction\x3dnorth",100,100,"","Wall (Corner SW)",null,
null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"wallU;fillColor\x3d#000000;",100,100,"","Wall (U)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallU","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"room;fillColor\x3d#000000;",100,100,"","Room",null,null,this.getTagsForStencil("mxgraph.floorplan","room","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"window;fillColor\x3d#ffffff;",100,10,"","Window",
null,null,this.getTagsForStencil("mxgraph.floorplan","window","floorplan ").join(" ")),this.createVertexTemplateEntry(c+"dimension;verticalAlign\x3dtop;",200,40,"100","Dimension",null,null,this.getTagsForStencil("mxgraph.floorplan","dimension","floorplan ").join(" ")),this.createVertexTemplateEntry(c+"dimensionBottom;verticalAlign\x3dbottom;",200,40,"100","Dimension",null,null,this.getTagsForStencil("mxgraph.floorplan","dimensionBottom","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"stairs;",
300,100,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"stairs;direction\x3dsouth;",100,300,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"stairsRest;",300,200,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","stairsRest","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"doorLeft;",80,85,"","Door",null,null,
this.getTagsForStencil("mxgraph.floorplan","doorLeft","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"doorRight;",80,85,"","Door",null,null,this.getTagsForStencil("mxgraph.floorplan","doorRight","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"doorDouble;",160,85,"","Door, Double",null,null,this.getTagsForStencil("mxgraph.floorplan","doorDouble","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"bathtub;",180,60,"","Bathtub",null,null,this.getTagsForStencil("mxgraph.floorplan",
"bathtub","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"bed_double;",200,180,"","Bed, Double",null,null,this.getTagsForStencil("mxgraph.floorplan","bed_double","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"bed_single;",100,180,"","Bed Single",null,null,this.getTagsForStencil("mxgraph.floorplan","bed_single","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"bookcase;",120,30,"","Bookcase",null,null,this.getTagsForStencil("mxgraph.floorplan","bookcase","floorplan ").join(" ")),
this.createVertexTemplateEntry(b+"chair;",41,52,"","Chair",null,null,this.getTagsForStencil("mxgraph.floorplan","chair","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"copier;",110,60,"","Copier",null,null,this.getTagsForStencil("mxgraph.floorplan","copier","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"couch;",150,80,"","Couch",null,null,this.getTagsForStencil("mxgraph.floorplan","couch","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"crt_tv;",60,40,"","CRT TV",
null,null,this.getTagsForStencil("mxgraph.floorplan","crt_tv","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"desk_corner;",150,150,"","Desk Corner",null,null,this.getTagsForStencil("mxgraph.floorplan","desk_corner","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"desk_corner_2;",150,120,"","Desk Corner 2",null,null,this.getTagsForStencil("mxgraph.floorplan","desk_corner_2","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"dresser;",100,65,"","Dresser",null,null,this.getTagsForStencil("mxgraph.floorplan",
"dresser","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"elevator;",100,100,"","Elevator",null,null,this.getTagsForStencil("mxgraph.floorplan","elevator","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"fireplace;",304,200,"","Fireplace",null,null,this.getTagsForStencil("mxgraph.floorplan","fireplace","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"flat_tv;",70,10,"","Flat TV",null,null,this.getTagsForStencil("mxgraph.floorplan","flat_tv","floorplan ").join(" ")),
this.createVertexTemplateEntry(b+"floor_lamp;",50,50,"","Floor Lamp",null,null,this.getTagsForStencil("mxgraph.floorplan","floor_lamp","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"laptop;",40,35,"","Laptop",null,null,this.getTagsForStencil("mxgraph.floorplan","laptop","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"office_chair;",40,43,"","Office Chair",null,null,this.getTagsForStencil("mxgraph.floorplan","office_chair","floorplan ").join(" ")),this.createVertexTemplateEntry(b+
"piano;",135,143,"","Piano",null,null,this.getTagsForStencil("mxgraph.floorplan","piano","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"plant;",47,51,"","Plant",null,null,this.getTagsForStencil("mxgraph.floorplan","plant","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"printer;",40,47,"","Printer",null,null,this.getTagsForStencil("mxgraph.floorplan","printer","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"range_1;",50,62,"","Range 1",null,null,this.getTagsForStencil("mxgraph.floorplan",
"range_1","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"range_2;",75,62,"","Range 2",null,null,this.getTagsForStencil("mxgraph.floorplan","range_2","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"refrigerator;",60,62,"","Refrigerator",null,null,this.getTagsForStencil("mxgraph.floorplan","refrigerator","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"shower;",100,100,"","Shower",null,null,this.getTagsForStencil("mxgraph.floorplan","shower","floorplan ").join(" ")),
this.createVertexTemplateEntry(b+"sink_1;",40,35,"","Sink 1",null,null,this.getTagsForStencil("mxgraph.floorplan","sink_1","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"sink_2;",40,35,"","Sink 2",null,null,this.getTagsForStencil("mxgraph.floorplan","sink_2","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"sink_double;",80,35,"","Sink Double",null,null,this.getTagsForStencil("mxgraph.floorplan","sink_double","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"sofa;",90,
80,"","Sofa",null,null,this.getTagsForStencil("mxgraph.floorplan","sofa","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"spiral_stairs;",200,200,"","Spiral Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","spiral_stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"table;",90,50,"","Table",null,null,this.getTagsForStencil("mxgraph.floorplan","table","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"toilet;",50,67,"","Toilet",null,null,this.getTagsForStencil("mxgraph.floorplan",
"toilet","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"water_cooler;",40,40,"","Water Cooler",null,null,this.getTagsForStencil("mxgraph.floorplan","water_cooler","floorplan ").join(" ")),this.createVertexTemplateEntry(b+"workstation;",50,40,"","Workstation",null,null,this.getTagsForStencil("mxgraph.floorplan","workstation","floorplan ").join(" ")),this.addEntry("floorplan kitchen table small",function(){var d=new mxCell("",new mxGeometry(0,20,80,80),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");
d.vertex=!0;var a=new mxCell("",new mxGeometry(20,0,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(20,68,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;rotation\x3d180;");c.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d],80,120,"Small kitchen table")}),this.addEntry("floorplan kitchen table",function(){var d=new mxCell("",new mxGeometry(20,20,100,100),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");
d.vertex=!0;var a=new mxCell("",new mxGeometry(50,0,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(50,88,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dnorth;");f.vertex=!0;var k=new mxCell("",new mxGeometry(88,50,52,40),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dsouth");
k.vertex=!0;return sb.createVertexTemplateFromCells([a,c,f,k,d],140,140,"Kitchen table")}),this.addEntry("floorplan kitchen table",function(){var d=new mxCell("",new mxGeometry(20,20,100,100),"shape\x3dellipse;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");d.vertex=!0;var a=new mxCell("",new mxGeometry(50,0,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(50,88,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");
c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dnorth;");f.vertex=!0;var k=new mxCell("",new mxGeometry(88,50,52,40),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dsouth");k.vertex=!0;return sb.createVertexTemplateFromCells([a,c,f,k,d],140,140,"Round kitchen table")}),this.addEntry("floorplan kitchen table large",function(){var d=new mxCell("",new mxGeometry(20,20,160,100),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");
d.vertex=!0;var a=new mxCell("",new mxGeometry(50,0,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(50,88,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dnorth;");f.vertex=!0;var k=new mxCell("",new mxGeometry(148,50,52,40),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dsouth");
k.vertex=!0;var l=new mxCell("",new mxGeometry(110,0,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");l.vertex=!0;var m=new mxCell("",new mxGeometry(110,88,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");m.vertex=!0;return sb.createVertexTemplateFromCells([a,c,f,k,l,m,d],200,140,"Large kitchen table")}),this.addEntry("floorplan kitchen table large",function(){var d=new mxCell("",new mxGeometry(20,20,160,100),"shape\x3dellipse;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");
d.vertex=!0;var a=new mxCell("",new mxGeometry(50,0,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(50,88,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dnorth;");f.vertex=!0;var k=new mxCell("",new mxGeometry(148,50,52,40),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dsouth");
k.vertex=!0;var l=new mxCell("",new mxGeometry(110,0,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");l.vertex=!0;var m=new mxCell("",new mxGeometry(110,88,40,52),b+"chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");m.vertex=!0;return sb.createVertexTemplateFromCells([a,c,f,k,l,m,d],200,140,"Large kitchen table")}),this.addEntry("floorplan office table",function(){var d=new mxCell("",new mxGeometry(0,20,80,50),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");
d.vertex=!0;var a=new mxCell("",new mxGeometry(20,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(15,30,50,40),b+"workstation;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;flipV\x3d1;");c.vertex=!0;return sb.createVertexTemplateFromCells([a,d,c],80,70,"Office table")}),this.addEntry("floorplan office table",function(){var d=new mxCell("",new mxGeometry(20,20,100,100),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");
d.vertex=!0;var a=new mxCell("",new mxGeometry(50,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(50,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dnorth;");f.vertex=!0;var k=new mxCell("",new mxGeometry(97,50,43,40),b+
"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dsouth");k.vertex=!0;return sb.createVertexTemplateFromCells([a,c,f,k,d],140,140,"Office table")}),this.addEntry("floorplan office table large",function(){var d=new mxCell("",new mxGeometry(20,20,160,100),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");d.vertex=!0;var a=new mxCell("",new mxGeometry(50,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");a.vertex=
!0;var c=new mxCell("",new mxGeometry(50,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dnorth;");f.vertex=!0;var k=new mxCell("",new mxGeometry(157,50,43,40),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dsouth");k.vertex=!0;var l=new mxCell("",new mxGeometry(110,
0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");l.vertex=!0;var m=new mxCell("",new mxGeometry(110,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");m.vertex=!0;return sb.createVertexTemplateFromCells([a,c,f,k,l,m,d],200,140,"Large office table")}),this.addEntry("floorplan office table large",function(){var d=new mxCell("",new mxGeometry(20,20,160,100),"shape\x3dellipse;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");
d.vertex=!0;var a=new mxCell("",new mxGeometry(50,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(50,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dnorth;");f.vertex=!0;var k=new mxCell("",new mxGeometry(157,50,43,40),
b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dsouth");k.vertex=!0;var l=new mxCell("",new mxGeometry(110,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");l.vertex=!0;var m=new mxCell("",new mxGeometry(110,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");m.vertex=!0;return sb.createVertexTemplateFromCells([a,c,f,k,l,m,d],200,140,"Large office table")}),this.addEntry("floorplan office table large",
function(){var d=new mxCell("",new mxGeometry(20,20,280,100),"shape\x3dellipse;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");d.vertex=!0;var a=new mxCell("",new mxGeometry(50,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(50,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dnorth;");
f.vertex=!0;var k=new mxCell("",new mxGeometry(277,50,43,40),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dsouth");k.vertex=!0;var l=new mxCell("",new mxGeometry(110,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");l.vertex=!0;var m=new mxCell("",new mxGeometry(110,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");m.vertex=!0;var n=new mxCell("",new mxGeometry(170,0,40,43),
b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");n.vertex=!0;var p=new mxCell("",new mxGeometry(170,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");p.vertex=!0;var r=new mxCell("",new mxGeometry(230,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");r.vertex=!0;var s=new mxCell("",new mxGeometry(230,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");
s.vertex=!0;return sb.createVertexTemplateFromCells([a,c,f,k,l,m,n,p,r,s,d],320,140,"Large office table")}),this.addEntry("floorplan office table conference large huge",function(){var d=new mxCell("",new mxGeometry(20,20,520,100),"shape\x3dellipse;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");d.vertex=!0;var a=new mxCell("",new mxGeometry(50,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(50,97,40,43),
b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dnorth;");f.vertex=!0;var k=new mxCell("",new mxGeometry(517,50,43,40),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dsouth");k.vertex=!0;var l=new mxCell("",new mxGeometry(110,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");
l.vertex=!0;var m=new mxCell("",new mxGeometry(110,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");m.vertex=!0;var n=new mxCell("",new mxGeometry(170,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");n.vertex=!0;var p=new mxCell("",new mxGeometry(170,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");p.vertex=!0;var r=new mxCell("",new mxGeometry(230,0,40,43),
b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");r.vertex=!0;var s=new mxCell("",new mxGeometry(230,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");s.vertex=!0;var q=new mxCell("",new mxGeometry(290,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");q.vertex=!0;var t=new mxCell("",new mxGeometry(290,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");
t.vertex=!0;var u=new mxCell("",new mxGeometry(350,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");u.vertex=!0;var v=new mxCell("",new mxGeometry(350,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");v.vertex=!0;var z=new mxCell("",new mxGeometry(410,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");z.vertex=!0;var y=new mxCell("",new mxGeometry(410,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");
y.vertex=!0;var x=new mxCell("",new mxGeometry(470,0,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;");x.vertex=!0;var D=new mxCell("",new mxGeometry(470,97,40,43),b+"office_chair;fillColor\x3d#ffffff;strokeColor\x3d#000000;shadow\x3d0;direction\x3dwest;");D.vertex=!0;return sb.createVertexTemplateFromCells([a,c,f,k,l,m,n,p,r,s,q,t,u,v,z,y,x,D,d],560,140,"Conference table")})];this.addPalette("floorplan",mxResources.get("floorplans"),!1,mxUtils.bind(this,function(b){for(var a=
0;a<f.length;a++)b.appendChild(f[a](b))}))}})();
(function(){Sidebar.prototype.addFlowchartPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;html\x3d1;strokeWidth\x3d2;shape\x3dmxgraph.flowchart.";this.addPaletteFunctions("flowchart",mxResources.get("flowchart"),!1,[this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.annotation_1;align\x3dleft;",50,100,"","Annotation",null,null,this.getTagsForStencil("mxgraph.flowchart","annotation_1","").join(" ")),
this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.annotation_2;align\x3dleft;",50,100,"","Annotation",null,null,this.getTagsForStencil("mxgraph.flowchart","annotation_2","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.card;whiteSpace\x3dwrap;",100,60,"","Card",null,null,this.getTagsForStencil("mxgraph.flowchart","card","").join(" ")),this.createVertexTemplateEntry(b+"collate;",100,100,"","Collate",null,null,this.getTagsForStencil("mxgraph.flowchart",
"collate","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.data;whiteSpace\x3dwrap;",100,60,"","Data",null,null,this.getTagsForStencil("mxgraph.flowchart","data","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.database;whiteSpace\x3dwrap;",60,60,"","Database",null,null,this.getTagsForStencil("mxgraph.flowchart","database","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.decision;whiteSpace\x3dwrap;",
100,100,"","Decision",null,null,this.getTagsForStencil("mxgraph.flowchart","decision","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.delay;whiteSpace\x3dwrap;",100,60,"","Delay",null,null,this.getTagsForStencil("mxgraph.flowchart","delay","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.direct_data;whiteSpace\x3dwrap;",100,60,"","Direct Data",null,null,this.getTagsForStencil("mxgraph.flowchart",
"direct_data","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.display;whiteSpace\x3dwrap;",100,60,"","Display",null,null,this.getTagsForStencil("mxgraph.flowchart","display","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.document;whiteSpace\x3dwrap;",100,60,"","Document",null,null,this.getTagsForStencil("mxgraph.flowchart","document","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.extract_or_measurement;whiteSpace\x3dwrap;",
95,60,"","Extract or Measurement",null,null,this.getTagsForStencil("mxgraph.flowchart","extract_or_measurement","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.internal_storage;whiteSpace\x3dwrap;",70,70,"","Internal Storage",null,null,this.getTagsForStencil("mxgraph.flowchart","internal_storage","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.loop_limit;whiteSpace\x3dwrap;",100,60,"","Loop Limit",
null,null,this.getTagsForStencil("mxgraph.flowchart","loop_limit","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.manual_input;whiteSpace\x3dwrap;",100,60,"","Manual Input",null,null,this.getTagsForStencil("mxgraph.flowchart","manual_input","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.manual_operation;whiteSpace\x3dwrap;",100,60,"","Manual Operation",null,null,this.getTagsForStencil("mxgraph.flowchart",
"manual_operation","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.merge_or_storage;whiteSpace\x3dwrap;",95,60,"","Merge or Storage",null,null,this.getTagsForStencil("mxgraph.flowchart","merge_or_storage","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.multi-document;whiteSpace\x3dwrap;",88,60,"","Multi-Document",null,null,this.getTagsForStencil("mxgraph.flowchart","multi-document","").join(" ")),
this.createVertexTemplateEntry(b+"off-page_reference;",60,60,"","Off-Page Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","off-page_reference","").join(" ")),this.createVertexTemplateEntry(b+"on-page_reference;",60,60,"","On-Page Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","on-page_reference","").join(" ")),this.createVertexTemplateEntry(b+"summing_function;",70,70,"","Or",null,null,this.getTagsForStencil("mxgraph.flowchart","summing_function","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.paper_tape;whiteSpace\x3dwrap;",
100,65,"","Paper Tape",null,null,this.getTagsForStencil("mxgraph.flowchart","paper_tape","").join(" ")),this.createVertexTemplateEntry(b+"parallel_mode;",95,40,"","Parallel Mode",null,null,this.getTagsForStencil("mxgraph.flowchart","parallel_mode","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.predefined_process;whiteSpace\x3dwrap;",100,60,"","Predefined Process",null,null,this.getTagsForStencil("mxgraph.flowchart","predefined_process","").join(" ")),
this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.preparation;whiteSpace\x3dwrap;",100,60,"","Preparation",null,null,this.getTagsForStencil("mxgraph.flowchart","preparation","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.process;whiteSpace\x3dwrap;",100,100,"","Process",null,null,this.getTagsForStencil("mxgraph.flowchart","process","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.sequential_data;whiteSpace\x3dwrap;",
100,100,"","Sequential Data",null,null,this.getTagsForStencil("mxgraph.flowchart","sequential_data","").join(" ")),this.createVertexTemplateEntry(b+"sort;",100,100,"","Sort",null,null,this.getTagsForStencil("mxgraph.flowchart","sort","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.start_1;whiteSpace\x3dwrap;",100,60,"","Start",null,null,this.getTagsForStencil("mxgraph.flowchart","start_1","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.start_2;whiteSpace\x3dwrap;",
100,100,"","Start",null,null,this.getTagsForStencil("mxgraph.flowchart","start_2","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.stored_data;whiteSpace\x3dwrap;",100,60,"","Stored Data",null,null,this.getTagsForStencil("mxgraph.flowchart","stored_data","").join(" ")),this.createVertexTemplateEntry(b+"or;",70,70,"","Summing Junction",null,null,this.getTagsForStencil("mxgraph.flowchart","or","").join(" ")),this.createVertexTemplateEntry("strokeWidth\x3d2;html\x3d1;shape\x3dmxgraph.flowchart.terminator;whiteSpace\x3dwrap;",
100,60,"","Terminator",null,null,this.getTagsForStencil("mxgraph.flowchart","terminator","").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;html\x3d1;strokeWidth\x3d2;shape\x3dmxgraph.arrows2.arrow;dy\x3d0.6;dx\x3d40;notch\x3d0;",100,70,"","Transfer",null,null,this.getTagsForStencil("mxgraph.flowchart","transfer","").join(" "))])}})();
(function(){Sidebar.prototype.addGMDLBottomNavigationPalette=function(b){var c=this,f=[this.addEntry("gmdl google media design library bottom navigation bottom navigation",function(){var b=new mxCell("",new mxGeometry(0,0,358,48),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d0;");b.vertex=!0;var a=new mxCell("Recents",new mxGeometry(0.15,0.5,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.recents;fillColor\x3d#808080;strokeColor\x3dnone;fontColor\x3d#808080;verticalAlign\x3dtop;spacingLeft\x3d0;fontSize\x3d10;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;spacingBottom\x3d0;spacingTop\x3d-6;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-10,-15);a.vertex=!0;b.insert(a);a=new mxCell("Favorites",new mxGeometry(0.5,0.5,20,18),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.heart;fillColor\x3d#00796B;strokeColor\x3dnone;fontColor\x3d#00796B;verticalAlign\x3dtop;spacingLeft\x3d0;fontSize\x3d10;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;spacingBottom\x3d0;spacingTop\x3d-5;");a.geometry.offset=new mxPoint(-10,-14);a.geometry.relative=!0;a.vertex=!0;b.insert(a);
a=new mxCell("Nearby",new mxGeometry(0.85,0.5,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.nearby;fillColor\x3d#808080;strokeColor\x3dnone;fontColor\x3d#808080;verticalAlign\x3dtop;spacingLeft\x3d0;fontSize\x3d10;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;spacingBottom\x3d0;spacingTop\x3d-6;");a.geometry.offset=new mxPoint(-10,-15);a.geometry.relative=!0;a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Bottom Navigation")}),
this.addEntry("gmdl google media design library bottom navigation dropdown menu",function(){var b=new mxCell("",new mxGeometry(0,0,358,48),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#00796B;strokeColor\x3dnone;shadow\x3d0;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0.15,0.5,20,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.video_2;fillColor\x3d#ffffff;strokeColor\x3dnone;fontColor\x3d#ffffff;verticalAlign\x3dtop;spacingLeft\x3d0;fontSize\x3d10;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;spacingBottom\x3d0;spacingTop\x3d-6;opacity\x3d60;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-10,-8);a.vertex=!0;b.insert(a);a=new mxCell("Music",new mxGeometry(0.38,0.5,14,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.music;fillColor\x3d#ffffff;strokeColor\x3dnone;fontColor\x3d#ffffff;verticalAlign\x3dtop;spacingLeft\x3d0;fontSize\x3d10;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;spacingBottom\x3d0;spacingTop\x3d-5;");a.geometry.offset=new mxPoint(-10,-14);a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=
new mxCell("",new mxGeometry(0.62,0.5,16,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.book;fillColor\x3d#ffffff;strokeColor\x3dnone;fontColor\x3d#ffffff;verticalAlign\x3dtop;spacingLeft\x3d0;fontSize\x3d10;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;spacingBottom\x3d0;spacingTop\x3d-6;opacity\x3d60;");a.geometry.offset=new mxPoint(-8,-10);a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.85,0.5,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.webpage;fillColor\x3d#ffffff;strokeColor\x3dnone;fontColor\x3d#ffffff;verticalAlign\x3dtop;spacingLeft\x3d0;fontSize\x3d10;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;spacingBottom\x3d0;spacingTop\x3d-6;opacity\x3d60;");
a.geometry.offset=new mxPoint(-10,-15);a.geometry.relative=!0;a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Bottom Navigation")})];this.addPalette("gmdlBottom Navigation","GMDL / Bottom Navigation",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLBottomSheetsPalette=function(b){var c=this,f=[this.addEntry("gmdl google media design library bottom sheets bottom sheet",function(){var b=
new mxCell("",new mxGeometry(0,0,358,320),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d0;recursiveResize\x3d0;");b.vertex=!0;var a=new mxCell("Open in",new mxGeometry(10,15,200,20),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontColor\x3d#808080;fontSize\x3d14;");a.vertex=!0;b.insert(a);a=new mxCell("Keep",new mxGeometry(10,60,20,20),"shape\x3dmxgraph.gmdl.keep;strokeColor\x3dnone;fillColor\x3d#F4B70B;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");
a.vertex=!0;b.insert(a);a=new mxCell("Inbox",new mxGeometry(10,110,22,20),"shape\x3dmxgraph.gmdl.inbox;strokeColor\x3dnone;fillColor\x3d#F4B70B;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");a.vertex=!0;b.insert(a);a=new mxCell("Hangouts",new mxGeometry(10,160,20,22),"shape\x3dmxgraph.gmdl.hangout;strokeColor\x3dnone;fillColor\x3d#0F9755;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");
a.vertex=!0;b.insert(a);a=new mxCell("Messenger",new mxGeometry(10,210,22,20),"shape\x3dmxgraph.gmdl.messenger;strokeColor\x3dnone;fillColor\x3d#F4B70B;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");a.vertex=!0;b.insert(a);a=new mxCell("Google+",new mxGeometry(10,260,20,20),"shape\x3dmxgraph.gmdl.google_plus;strokeColor\x3dnone;fillColor\x3d#D14235;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");
a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Bottom Sheet")}),this.addEntry("gmdl google media design library bottom sheets grid style options",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;align\x3dright;fillColor\x3d#2D3986;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Ali Connors",new mxGeometry(0,0,358,57),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#394797;resizeWidth\x3d1;fontSize\x3d22;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.left;strokeColor\x3d#ffffff;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.edit;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,-8);
e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-20,-8);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);
e=new mxCell("",new mxGeometry(0,0.5,20,24),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.telephone;strokeColor\x3dnone;fillColor\x3d#3F51B5;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-12);e.vertex=!0;a.insert(e);e=new mxCell("(650) 555-1234",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-21);e.vertex=!0;a.insert(e);e=new mxCell("Mobile",
new mxGeometry(0,0.5,150,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,17,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.hangout;strokeColor\x3dnone;fillColor\x3d#BDBDBD;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-40,-10);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);e=new mxCell("(323) 555-6789",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-21);e.vertex=!0;a.insert(e);e=new mxCell("Work",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");
e.geometry.relative=!0;e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,17,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.hangout;strokeColor\x3dnone;fillColor\x3d#BDBDBD;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-40,-10);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,20),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
211);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.2011,0.5,286,10),"shape\x3dline;strokeColor\x3d#000000;strokeWidth\x3d1;opacity\x3d20;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-5);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,231);a.vertex=!0;b.insert(a);
e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.mail;strokeColor\x3d#ffffff;fillColor\x3d#3F51B5;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(24,-8);e.vertex=!0;a.insert(e);e=new mxCell("aliconnors@example.com",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-21);e.vertex=!0;a.insert(e);
e=new mxCell("Personal",new mxGeometry(0,0.5,150,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,296);a.vertex=!0;b.insert(a);e=new mxCell("ali_connors@example.com",
new mxGeometry(0,0.5,150,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-21);e.vertex=!0;a.insert(e);e=new mxCell("Work",new mxGeometry(0,0.5,150,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,10),"shape\x3dline;strokeColor\x3d#000000;strokeWidth\x3d1;opacity\x3d20;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,356);a.vertex=!0;b.insert(a);e=new mxCell("Gmail",new mxGeometry(0.148,0,46,34),"dashed\x3d0;fontSize\x3d10;shape\x3dmxgraph.gmdl.gmail;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d6;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-23,392);e.vertex=!0;b.insert(e);a=new mxCell("Hangout",new mxGeometry(0.5,0,40,46),"dashed\x3d0;fontSize\x3d10;shape\x3dmxgraph.gmdl.hangout;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d1;fillColor\x3d#19A05E;strokeColor\x3dnone;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,386);a.vertex=!0;b.insert(a);a=new mxCell("Google+",new mxGeometry(0.8547,0,46,46),"dashed\x3d0;fontSize\x3d10;shape\x3dmxgraph.gmdl.google_plus;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d1;strokeColor\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-23,386);a.vertex=!0;b.insert(a);e=new mxCell("Mail",new mxGeometry(0.148,0,40,32),"dashed\x3d0;fontSize\x3d10;shape\x3dmxgraph.gmdl.mail;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d4;fillColor\x3d#BDBDBD;strokeColor\x3d#ffffff;strokeWidth\x3d3;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-20,494);e.vertex=!0;b.insert(e);e=new mxCell("Message",new mxGeometry(0.5,0,44,42),"dashed\x3d0;fontSize\x3d10;shape\x3dmxgraph.gmdl.message;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d-1;fillColor\x3d#BDBDBD;strokeColor\x3d#ffffff;strokeWidth\x3d4;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-22,489);e.vertex=!0;b.insert(e);e=new mxCell("More",new mxGeometry(0.8547,
0,40,12),"dashed\x3d0;fontSize\x3d10;shape\x3dmxgraph.gmdl.more;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d16;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-20,504);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=
!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Grid Style With Some Options")}),this.addEntry("gmdl google media design library bottom sheets grid style all options",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;align\x3dright;fillColor\x3d#2D3986;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#2D3986;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Ali Connors",new mxGeometry(0,0,358,57),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#394797;resizeWidth\x3d1;fontSize\x3d22;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.left;strokeColor\x3d#ffffff;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.edit;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-20,
-8);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,20,24),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.telephone;strokeColor\x3dnone;fillColor\x3d#3F51B5;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-12);e.vertex=!0;
a.insert(e);e=new mxCell("(650) 555-1234",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-21);e.vertex=!0;a.insert(e);e=new mxCell("Mobile",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,
0.5,17,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.hangout;strokeColor\x3dnone;fillColor\x3d#BDBDBD;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-40,-10);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);e=new mxCell("(323) 555-6789",new mxGeometry(0,
0.5,358,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-21);e.vertex=!0;a.insert(e);e=new mxCell("Work",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,17,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.hangout;strokeColor\x3dnone;fillColor\x3d#BDBDBD;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-40,-10);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,20),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,211);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.2011,0.5,286,10),"shape\x3dline;strokeColor\x3d#000000;strokeWidth\x3d1;opacity\x3d20;resizeWidth\x3d1;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(0,-5);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,231);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.mail;strokeColor\x3d#ffffff;fillColor\x3d#3F51B5;strokeWidth\x3d2;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(24,-8);e.vertex=!0;a.insert(e);e=new mxCell("aliconnors@example.com",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-21);e.vertex=!0;a.insert(e);e=new mxCell("Personal",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");
e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,10),"shape\x3dline;strokeColor\x3d#000000;strokeWidth\x3d1;opacity\x3d20;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,291);a.vertex=!0;b.insert(a);e=new mxCell("Gmail",new mxGeometry(0.148,0,46,34),"dashed\x3d0;fontSize\x3d12;shape\x3dmxgraph.gmdl.gmail;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d6;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-23,327);e.vertex=!0;b.insert(e);a=new mxCell("Hangout",new mxGeometry(0.5,0,40,46),"dashed\x3d0;fontSize\x3d12;shape\x3dmxgraph.gmdl.hangout;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d1;fillColor\x3d#19A05E;strokeColor\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,321);a.vertex=!0;b.insert(a);a=new mxCell("Google+",new mxGeometry(0.8547,0,
46,46),"dashed\x3d0;fontSize\x3d12;shape\x3dmxgraph.gmdl.google_plus;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d1;strokeColor\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-23,321);a.vertex=!0;b.insert(a);e=new mxCell("Mail",new mxGeometry(0.148,0,40,32),"dashed\x3d0;fontSize\x3d12;shape\x3dmxgraph.gmdl.mail;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d4;fillColor\x3d#BDBDBD;strokeColor\x3d#ffffff;strokeWidth\x3d3;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-20,422);e.vertex=!0;b.insert(e);e=new mxCell("Message",new mxGeometry(0.5,0,44,42),"dashed\x3d0;fontSize\x3d12;shape\x3dmxgraph.gmdl.message;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d-1;fillColor\x3d#BDBDBD;strokeColor\x3d#ffffff;strokeWidth\x3d4;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-22,417);e.vertex=!0;b.insert(e);e=new mxCell("Copy",new mxGeometry(0.8547,
0,34,40),"dashed\x3d0;fontSize\x3d12;shape\x3dmxgraph.gmdl.copy;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d2;fillColor\x3dnone;strokeColor\x3d#BDBDBD;strokeWidth\x3d4;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-17,418);e.vertex=!0;b.insert(e);a=new mxCell("Facebook",new mxGeometry(0.148,0,46,46),"dashed\x3d0;fontSize\x3d12;shape\x3dmxgraph.gmdl.facebook;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d1;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-23,513);a.vertex=!0;b.insert(a);a=new mxCell("Twitter",new mxGeometry(0.5,0,46,46),"dashed\x3d0;fontSize\x3d12;shape\x3dmxgraph.gmdl.twitter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;fontColor\x3d#504F4F;spacingTop\x3d1;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-23,513);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,
-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Grid Style With All Options")}),this.addEntry("gmdl google media design library bottom sheets list style",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;align\x3dright;fillColor\x3d#2D3986;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#2D3986;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("All",new mxGeometry(0,0,358,57),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#394797;resizeWidth\x3d1;fontSize\x3d22;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0.5,10,5),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(104,-3);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(-65,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,-8);e.vertex=!0;a.insert(e);a=new mxCell("Janet Perkins",new mxGeometry(0,0,358,55),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,23,21),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.star;strokeColor\x3dnone;fillColor\x3d#D3396E;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-10);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,
-18);e.vertex=!0;a.insert(e);a=new mxCell("Mary Johnson",new mxGeometry(0,0,358,55),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,136);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Peter Carlsson",new mxGeometry(0,0,358,55),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,191);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Trevor Hansen",new mxGeometry(0,0,358,55),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,246);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,18),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,301);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.2011,0.5,286,8),"shape\x3dline;strokeColor\x3d#000000;strokeWidth\x3d1;opacity\x3d20;resizeWidth\x3d1;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(0,-4);e.vertex=!0;a.insert(e);a=new mxCell("Aaron Bennett",new mxGeometry(0,0,358,55),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,319);a.vertex=!0;b.insert(a);e=new mxCell("A",new mxGeometry(0,0.5,24,24),"text;fontSize\x3d24;fontColor\x3d#D3396E;verticalAlign\x3dmiddle;fontStyle\x3d0;align\x3dcenter;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-12);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Share",new mxGeometry(0,0,358,55),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,374);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,17,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.share;strokeColor\x3d#666666;fillColor\x3d#666666;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(21,-10);e.vertex=!0;a.insert(e);a=new mxCell("Upload",new mxGeometry(0,0,358,55),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,429);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.upload;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);a=new mxCell("Copy",new mxGeometry(0,0,358,55),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,484);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,17,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.copy;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(21,-10);e.vertex=!0;a.insert(e);a=new mxCell("Print this page",new mxGeometry(0,0,358,55),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,539);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,18,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.print;strokeColor\x3d#666666;fillColor\x3d#666666;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(20,-8);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=
!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"List Style")}),this.addEntry("gmdl google media design library bottom sheets bottom sheet menu items subtext",function(){var b=new mxCell("",new mxGeometry(0,0,358,360),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d0;recursiveResize\x3d0;");
b.vertex=!0;var a=new mxCell('Caribbean vacation\x3cdiv\x3e\x3cfont style\x3d"font-size: 12px" color\x3d"#999999"\x3eAugust 13 - 22\x3c/font\x3e\x3c/div\x3e',new mxGeometry(15,25,40,40),"shape\x3dmxgraph.gmdl.image;strokeColor\x3d#000000;fillColor\x3d#ffffff;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d10;fontSize\x3d14;html\x3d1;");a.vertex=!0;b.insert(a);a=new mxCell('Pablo at the beach house\x3cdiv\x3e\x3cfont style\x3d"font-size: 12px" color\x3d"#999999"\x3eJuly 19 - 24\x3c/font\x3e\x3c/div\x3e',
new mxGeometry(15,95,40,40),"shape\x3dmxgraph.gmdl.image;strokeColor\x3d#000000;fillColor\x3d#ffffff;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d10;fontSize\x3d14;html\x3d1;");a.vertex=!0;b.insert(a);a=new mxCell('July 4th weekend at Joey\'s\x3cdiv\x3e\x3cfont style\x3d"font-size: 12px" color\x3d"#999999"\x3eJuly 4th, 2015\x3c/font\x3e\x3c/div\x3e',new mxGeometry(15,165,40,40),"shape\x3dmxgraph.gmdl.image;strokeColor\x3d#000000;fillColor\x3d#ffffff;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d10;fontSize\x3d14;html\x3d1;");
a.vertex=!0;b.insert(a);a=new mxCell('Meg\'s Birthday\x3cdiv\x3e\x3cfont style\x3d"font-size: 12px" color\x3d"#999999"\x3eJune 29, 2015\x3c/font\x3e\x3c/div\x3e',new mxGeometry(15,235,40,40),"shape\x3dmxgraph.gmdl.image;strokeColor\x3d#000000;fillColor\x3d#ffffff;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d10;fontSize\x3d14;html\x3d1;");a.vertex=!0;b.insert(a);a=new mxCell('Mike \x26 Kristin\'s wedding\x3cdiv\x3e\x3cfont style\x3d"font-size: 12px" color\x3d"#999999"\x3eJune 3, 2015\x3c/font\x3e\x3c/div\x3e',
new mxGeometry(15,305,40,40),"shape\x3dmxgraph.gmdl.image;strokeColor\x3d#000000;fillColor\x3d#ffffff;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d10;fontSize\x3d14;html\x3d1;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Bottom Sheet (menu items with subtext)")}),this.addEntry("gmdl google media design library bottom sheets grid style options",function(){var b=new mxCell("",new mxGeometry(0,
0,358,642),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;align\x3dright;fillColor\x3d#2D3986;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#2D3986;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Mary had liked to look at her mother from a distance and she had thought her very pretty, but as she knew very little of her she could scarcely have been expected to love her or to miss her very much when she was gone. She did not miss her at all, in fact, and as she was a self-absorbed child she gave her entire thought to herself, as she had always done. If she had been older she would no doubt have been very anxious at being left alone in the world, but she was very young, and as she had always been taken care of, she supposed she always would be. What she thought was that she would like to know if she was going to nice people, who would be polite to her and give her her own way as her Ayah and the other native servants had done.\n\n She knew that she was not going to stay at the English clergyman's house where she was taken at first. She did not want to stay. The English clergyman was poor and he had five children nearly all the same age and they wore shabby clothes and were always quarreling and snatching toys from each other. Mary hated their untidy bungalow and was so disagreeable to them that after the first day or two nobody would play with her. By the second day they had given her a nickname which made her furious.",
new mxGeometry(0,0,358,370),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#CFCECE;resizeWidth\x3d1;whiteSpace\x3dwrap;spacing\x3d10;verticalAlign\x3dtop;align\x3dleft;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);a=new mxCell('fer\u00b7vor\x3cdiv\x3e\x3cfont color\x3d"#808080" style\x3d"font-size: 16px"\x3e/\'f\x26#601;rv\x26#601;r/\x3c/font\x3e\x3c/div\x3e',new mxGeometry(0,1,358,110),"dashed\x3d0;align\x3dleft;fontSize\x3d24;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#FFC107;resizeWidth\x3d1;spacingLeft\x3d15;spacingTop\x3d10;html\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-338);a.vertex=!0;b.insert(a);e=new mxCell('\x3cfont color\x3d"#808080" style\x3d"font-size: 14px;"\x3enoun\x3c/font\x3e\x3cdiv\x3e\n\x3c/div\x3e\x3cdiv\x3eintense and passionate feeling.\x3c/div\x3e\x3cdiv\x3e"he talked with all the fervor of a new convert"\x3c/div\x3e\x3cdiv\x3e\n\x3c/div\x3e\x3cdiv\x3e\x3cfont color\x3d"#808080" style\x3d"font-size: 14px;"\x3esynonyms: passion, ardor, intensity, zeal, vehemerence, emotion, warmth, earnestness, avidity, eagerness, keenness, enthusiasm, excitement, animation, vigor, energy, fire, spirit, zest, fervency\x3c/font\x3e\x3c/div\x3e',
new mxGeometry(0,1,358,180),"dashed\x3d0;align\x3dleft;fontSize\x3d14;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;spacingTop\x3d0;spacing\x3d15;verticalAlign\x3dtop;html\x3d1;whiteSpace\x3dwrap;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-228);e.vertex=!0;b.insert(e);e=new mxCell("",new mxGeometry(1,0.5,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.volume;strokeColor\x3dnone;fillColor\x3d#856504;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-80,
-10);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,20,18),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.star;strokeColor\x3dnone;strokeColor\x3d#856504;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-40,-9);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",
new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Deep-linked modal bottom sheet")}),this.addEntry("gmdl google media design library bottom sheets long list",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;align\x3dright;fillColor\x3d#0973AE;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#0973AE;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,60),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#098DCA;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#084560;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=
!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#084560;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-73,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,18,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.rects;strokeColor\x3dnone;fillColor\x3d#084560;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,20);e.vertex=!0;a.insert(e);a=new mxCell("Open in",new mxGeometry(0,
0,200,20),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontColor\x3d#808080;fontSize\x3d14;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,99);a.vertex=!0;b.insert(a);a=new mxCell("Keep",new mxGeometry(0,0,20,20),"shape\x3dmxgraph.gmdl.keep;strokeColor\x3dnone;fillColor\x3d#F4B70B;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,144);
a.vertex=!0;b.insert(a);a=new mxCell("Inbox",new mxGeometry(0,0,22,20),"shape\x3dmxgraph.gmdl.inbox;strokeColor\x3dnone;fillColor\x3d#F4B70B;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,194);a.vertex=!0;b.insert(a);a=new mxCell("Hangouts",new mxGeometry(0,0,20,22),"shape\x3dmxgraph.gmdl.hangout;strokeColor\x3dnone;fillColor\x3d#0F9755;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,244);a.vertex=!0;b.insert(a);a=new mxCell("Messenger",new mxGeometry(0,0,22,20),"shape\x3dmxgraph.gmdl.messenger;strokeColor\x3dnone;fillColor\x3d#F4B70B;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,294);a.vertex=!0;b.insert(a);a=new mxCell("Google+",new mxGeometry(0,0,20,20),"shape\x3dmxgraph.gmdl.google_plus;strokeColor\x3dnone;fillColor\x3d#D14235;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,344);a.vertex=!0;b.insert(a);a=new mxCell("Sheets",new mxGeometry(0,0,16,20),"shape\x3dmxgraph.gmdl.sheets;strokeColor\x3dnone;fillColor\x3d#21A464;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(12,394);a.vertex=!0;b.insert(a);a=new mxCell("Docs",new mxGeometry(0,0,16,20),"shape\x3dmxgraph.gmdl.docs;strokeColor\x3dnone;fillColor\x3d#4F8EF5;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(12,444);a.vertex=!0;b.insert(a);a=new mxCell("Slides",new mxGeometry(0,0,16,20),"shape\x3dmxgraph.gmdl.slides;strokeColor\x3dnone;fillColor\x3d#F5B910;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(12,494);a.vertex=!0;b.insert(a);a=new mxCell("Photos",new mxGeometry(0,0,20,20),"shape\x3dmxgraph.gmdl.photos;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingLeft\x3d20;fontSize\x3d14;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(10,544);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],
358,642,"Long list")})];this.addPalette("gmdlBottom Sheets","GMDL / Bottom Sheets",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLButtonsPalette=function(b){var c=this,f=[this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#e0e0e0;strokeColor\x3dnone;fontStyle\x3d1;shadow\x3d1;fontColor\x3d#000000;",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl",
"button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#e0e0e0;strokeColor\x3dnone;fontStyle\x3d1;shadow\x3d1;fontColor\x3d#000000;",100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#e0e0e0;strokeColor\x3dnone;fontStyle\x3d1;shadow\x3d1;",
100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#e0e0e0;strokeColor\x3dnone;fontStyle\x3d1;shadow\x3d1;fontColor\x3d#000000;",100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#000000;strokeColor\x3dnone;fontStyle\x3d1;opacity\x3d12;fontColor\x3d#BDBDBD;",
100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#2196F3;strokeColor\x3dnone;fontStyle\x3d1;shadow\x3d1;fontColor\x3d#ffffff;",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#2196F3;strokeColor\x3dnone;fontStyle\x3d1;shadow\x3d1;fontColor\x3d#ffffff;",
100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#2196F3;strokeColor\x3dnone;fontStyle\x3d1;shadow\x3d1;fontColor\x3d#ffffff;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#2196F3;strokeColor\x3dnone;fontStyle\x3d1;shadow\x3d1;fontColor\x3d#ffffff;",
100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;fontStyle\x3d1;opacity\x3d12;fontColor\x3d#BDBDBD;shadow\x3d0;",100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),
this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3dnone;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#000000;shadow\x3d0;",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#999999;opacity\x3d20;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#000000;shadow\x3d0;",
100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#999999;opacity\x3d20;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#000000;shadow\x3d0;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#999999;opacity\x3d40;strokeColor\x3dnone;fontStyle\x3d1;",
100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;opacity\x3d26;strokeColor\x3dnone;fontStyle\x3d1;opacity\x3d12;fontColor\x3d#BDBDBD;shadow\x3d0;",100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),
this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3dnone;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#ffffff;shadow\x3d0;",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#cccccc;opacity\x3d15;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#ffffff;shadow\x3d0;",
100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#cccccc;opacity\x3d15;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#ffffff;shadow\x3d0;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#cccccc;opacity\x3d25;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#ffffff;shadow\x3d0;",
100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3dnone;strokeColor\x3dnone;fontStyle\x3d1;opacity\x3d12;fontColor\x3d#BDBDBD;shadow\x3d1;",100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),
this.addEntry("gmdl google media design library button dropdown menu",function(){var b=new mxCell("",new mxGeometry(0,0,100,180),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("State 1",new mxGeometry(0,0,100,45),"text;fontColor\x3d#FF4081;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("State 2",new mxGeometry(0,
0,100,45),"text;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;fillColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.offset=new mxPoint(0,45);a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("State 3",new mxGeometry(0,0,100,45),"text;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;resizeWidth\x3d1;");a.geometry.offset=new mxPoint(0,90);a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("State 4",new mxGeometry(0,0,100,
45),"text;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;resizeWidth\x3d1;");a.geometry.offset=new mxPoint(0,135);a.geometry.relative=!0;a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],100,180,"Dropdown Menu")}),this.addEntry("gmdl google media design library button dropdown button",function(){var b=new mxCell("",new mxGeometry(0,0,100,40),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#cccccc;");b.vertex=
!0;var a=new mxCell("Arial",new mxGeometry(0,0,100,40),"text;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0.5,10,5),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.triangle;fillColor\x3d#cccccc;strokeColor\x3dnone;");a.geometry.offset=new mxPoint(-25,-2.5);a.geometry.relative=!0;a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],100,30,"Dropdown Button")}),this.addEntry("gmdl google media design library button dropdown button",
function(){var b=new mxCell("",new mxGeometry(0,0,100,40),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#cccccc;");b.vertex=!0;var a=new mxCell("Arial",new mxGeometry(0,0,100,40),"text;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,40,40),"shape\x3drect;fillColor\x3dnone;strokeColor\x3d#cccccc;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-40,
0);a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(0.5,0.5,10,5),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.triangle;fillColor\x3d#cccccc;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-5,-2.5);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],100,40,"Dropdown Button (Editable)")}),this.addEntry("gmdl google media design library button dropdown button",function(){var b=new mxCell("",new mxGeometry(0,0,100,150),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#cccccc;shadow\x3d1;");
b.vertex=!0;var a=new mxCell("Arial",new mxGeometry(0,0,100,40),"shape\x3drect;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;strokeColor\x3d#cccccc;align\x3dleft;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,10,5),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.triangle;fillColor\x3d#cccccc;strokeColor\x3dnone;");e.geometry.offset=new mxPoint(-25,-2.5);e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("Calibri",
new mxGeometry(0,0,100,30),"shape\x3drect;align\x3dleft;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;fillColor\x3d#eeeeee;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.offset=new mxPoint(0,50);a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("Courier",new mxGeometry(0,0,100,30),"text;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;resizeWidth\x3d1;");a.geometry.offset=new mxPoint(0,80);a.geometry.relative=!0;a.vertex=!0;
b.insert(a);a=new mxCell("Verdana",new mxGeometry(0,0,100,30),"text;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;resizeWidth\x3d1;");a.geometry.offset=new mxPoint(0,110);a.geometry.relative=!0;a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],100,150,"Dropdown Button (Selected)")}),this.addEntry("gmdl google media design library button dropdown button",function(){var b=new mxCell("",new mxGeometry(0,0,100,150),"dashed\x3d0;align\x3dcenter;fontSize\x3d12;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#cccccc;shadow\x3d1;");
b.vertex=!0;var a=new mxCell("Arial",new mxGeometry(0,0,100,40),"shape\x3drect;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;strokeColor\x3d#cccccc;align\x3dleft;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0,40,40),"shape\x3drect;fillColor\x3dnone;strokeColor\x3d#cccccc;resizeHeight\x3d1;");e.geometry.offset=new mxPoint(-40,0);e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0.5,
0.5,10,5),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.triangle;fillColor\x3d#cccccc;strokeColor\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-5,-2.5);a.vertex=!0;e.insert(a);e=new mxCell("Calibri",new mxGeometry(0,0,100,30),"text;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;resizeWidth\x3d1;");e.geometry.offset=new mxPoint(0,50);e.geometry.relative=!0;e.vertex=!0;b.insert(e);e=new mxCell("Courier",new mxGeometry(0,0,100,30),"text;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;resizeWidth\x3d1;");
e.geometry.offset=new mxPoint(0,80);e.geometry.relative=!0;e.vertex=!0;b.insert(e);e=new mxCell("Verdana",new mxGeometry(0,0,100,30),"text;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d13;fontSize\x3d14;resizeWidth\x3d1;");e.geometry.offset=new mxPoint(0,110);e.geometry.relative=!0;e.vertex=!0;b.insert(e);return c.createVertexTemplateFromCells([b],100,150,"Dropdown Button (Selected, Editable)")}),this.addEntry("gmdl google media design library button persistent footer button",function(){var b=
new mxCell("",new mxGeometry(0,0,300,40),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d0;");b.vertex=!0;var a=new mxCell("BUTTON",new mxGeometry(0,0,75,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d12;fontColor\x3d#2196F3;dashed\x3d0;");a.vertex=!0;b.insert(a);a=new mxCell("BUTTON",new mxGeometry(75,0,75,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d12;fontColor\x3d#2196F3;dashed\x3d0;");a.vertex=!0;b.insert(a);a=new mxCell("BUTTON",
new mxGeometry(150,0,75,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d12;fontColor\x3d#2196F3;dashed\x3d0;");a.vertex=!0;b.insert(a);a=new mxCell("BUTTON",new mxGeometry(225,0,75,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d12;fontColor\x3d#2196F3;dashed\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],300,40,"Persistent Footer Buttons")}),this.addEntry("gmdl google media design library button persistent footer button",function(){var b=
new mxCell("",new mxGeometry(0,0,300,40),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d0;");b.vertex=!0;var a=new mxCell("BUTTON",new mxGeometry(0,0,75,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d12;fontColor\x3d#2196F3;dashed\x3d0;resizeHeight\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("BUTTON",new mxGeometry(0,0,75,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d12;fontColor\x3d#2196F3;dashed\x3d0;resizeHeight\x3d1;");
a.geometry.offset=new mxPoint(75,0);a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("BUTTON",new mxGeometry(0,0,75,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d12;fontColor\x3d#2196F3;dashed\x3d0;resizeHeight\x3d1;");a.geometry.offset=new mxPoint(150,0);a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("BUTTON",new mxGeometry(0,0,75,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d12;fontColor\x3d#2196F3;dashed\x3d0;resizeHeight\x3d1;");
a.geometry.offset=new mxPoint(225,0);a.geometry.relative=!0;a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],300,40,"Persistent Footer Buttons (fixed)")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;fillColor\x3d#FF4081;strokeColor\x3dnone;shadow\x3d1;aspect\x3dfixed;");b.vertex=!0;var a=new mxCell("",new mxGeometry(20,20,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.plus;strokeColor\x3d#ffffff;strokeWidth\x3d2;shadow\x3d0;");
a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");b.vertex=!0;var a=new mxCell("",
new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.edit;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.star;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,19,20,18),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.heart;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,19,20,18),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.reply;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,20,24,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.users;strokeColor\x3d#ffffff;fillColor\x3d#737373;strokeWidth\x3d2;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.gps;strokeColor\x3d#737373;fillColor\x3d#737373;strokeWidth\x3d2;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.share2;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.navigate;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.chat;strokeColor\x3d#737373;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(22,18,12,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.voice;strokeColor\x3d#737373;fillColor\x3d#737373;strokeWidth\x3d2;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(20,16,16,24),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.google;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(16,20,24,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.video;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(16,17,24,22),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.gallery;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(16,17,24,22),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.birthday;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(16,20,24,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.cloud;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(20,20,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.x;strokeColor\x3d#737373;strokeWidth\x3d2;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(22,18,12,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.bookmark;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.calendar;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(17,20,22,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.attractions;strokeColor\x3d#ffffff;fillColor\x3d#737373;strokeWidth\x3d1;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(20,18,16,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.dining;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.education;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.family;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,19,20,18),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.health;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.office;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.promotions;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.radio;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.recipes;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.sports;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(0,0,56,56),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(18,18,20,20),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.travel;strokeColor\x3dnone;fillColor\x3d#737373;direction\x3dsouth;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button mini",function(){var b=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;dashed\x3d0;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d13;fontColor\x3d#000000;align\x3dcenter;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;html\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(12,12,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.plus;strokeColor\x3d#737373;strokeWidth\x3d2;shadow\x3d0;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],40,40,"Floating Action Button (Mini)")}),this.addEntry("gmdl google media design library button toolbar",function(){var b=new mxCell("",new mxGeometry(0,0,358,64),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;graientColor\x3dnone;");b.vertex=!0;var a=new mxCell("",
new mxGeometry(0.25,0.5,24,18),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.camera;strokeColor\x3d#ffffff;fillColor\x3d#737373;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-12,-9);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.5,0.5,24,18),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.video;strokeColor\x3dnone;fillColor\x3d#737373;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-12,-9);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.75,
0.5,20,22),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.gallery;strokeColor\x3dnone;fillColor\x3d#737373;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-10,-11);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Toolbar")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(8,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#D1D3D4;shadow\x3d1;gradientColor\x3dnone;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0.5,0.5,12,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.copy;strokeColor\x3d#666666;fillColor\x3d#666666;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-6,-8);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(8,50,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#D1D3D4;shadow\x3d1;gradientColor\x3dnone;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0.5,0.5,18,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.print;strokeColor\x3dnone;fillColor\x3d#666666;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-9,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,100,56,56),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#FF4081;shadow\x3d1;gradientColor\x3dnone;");e.vertex=!0;var f=new mxCell("",new mxGeometry(0.5,0.5,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.x;strokeColor\x3d#ffffff;strokeWidth\x3d2;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-8,-8);f.vertex=!0;e.insert(f);return c.createVertexTemplateFromCells([b,
a,e],50,156,"Floating action buttons")}),this.addEntry("gmdl google media design library button related actions",function(){var b=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#ffffff;shadow\x3d1;gradientColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0.5,0.5,14,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.doc;strokeColor\x3d#ffffff;fillColor\x3d#737373;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-7,-8);
a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(80,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#ffffff;shadow\x3d1;gradientColor\x3dnone;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0.5,0.5,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.spreadsheet;strokeColor\x3d#ffffff;fillColor\x3d#737373;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-9,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(160,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#ffffff;shadow\x3d1;gradientColor\x3dnone;");
e.vertex=!0;var f=new mxCell("",new mxGeometry(0.5,0.5,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.sheet;strokeColor\x3dnone;fillColor\x3d#737373;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-8,-8);f.vertex=!0;e.insert(f);return c.createVertexTemplateFromCells([b,a,e],200,40,"Related actions")}),this.addEntry("gmdl google media design library button floating action button",function(){var b=new mxCell("",new mxGeometry(8,0,40,40),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;shadow\x3d1;gradientColor\x3dnone;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(8,80,40,40),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;shadow\x3d1;gradientColor\x3dnone;");a.vertex=!0;var e=new mxCell("",new mxGeometry(8,160,40,40),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;shadow\x3d1;gradientColor\x3dnone;");e.vertex=!0;var f=new mxCell("",new mxGeometry(8,240,40,40),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;shadow\x3d1;gradientColor\x3dnone;");
f.vertex=!0;var k=new mxCell("",new mxGeometry(8,320,40,40),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;shadow\x3d1;gradientColor\x3dnone;");k.vertex=!0;var l=new mxCell("",new mxGeometry(0,400,56,56),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#ffffff;shadow\x3d1;gradientColor\x3dnone;");l.vertex=!0;var m=new mxCell("",new mxGeometry(0.5,0.5,16,16),"dashed\x3d0;html\x3d1;shape\x3dmxgraph.gmdl.x;strokeColor\x3d#737373;strokeWidth\x3d2;");m.geometry.relative=
!0;m.geometry.offset=new mxPoint(-8,-8);m.vertex=!0;l.insert(m);return c.createVertexTemplateFromCells([b,a,e,f,k,l],50,456,"Floating action buttons")})];this.addPalette("gmdlButtons","GMDL / Buttons",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLCardsPalette=function(b){var c=this,f=[this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,342,356),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,342,196),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#BDBDBD;whiteSpace\x3dwrap;");a.vertex=!0;b.insert(a);a=new mxCell("Kangaroo Valley Safari",new mxGeometry(0,0.5506,342,45),"text;verticalAlign\x3dbottom;fontSize\x3d23;spacingLeft\x3d16;spacing\x3d0;spacingBottom\x3d-5;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("Located two hours south of Sydney in the Southern Highlands of New Sout Wales, ...",new mxGeometry(0,
0.5506,342,76),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d14;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=1;a.geometry.offset=new mxPoint(0,50);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,356,0,0),"shape\x3drect;fillColor\x3dnone;strokeColor\x3dnone;");a.vertex=!0;b.insert(a);var e=new mxCell("SHARE",new mxGeometry(0,-44,80,44),"text;fontSize\x3d12;fontColor\x3d#FFA534;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-44);e.vertex=!0;a.insert(e);e=new mxCell("EXPLORE",new mxGeometry(80,-44,80,44),"text;fontSize\x3d12;fontColor\x3d#FFA534;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(80,-44);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,356,"Card")}),this.addEntry("gmdl google media design library card card collection",function(){var b=
new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#455A64;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#2D3986;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Travel stream",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#607D8B;resizeWidth\x3d1;fontSize\x3d22;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;spacingLeft\x3d72;align\x3dleft;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-30,-8);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,366),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d8;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;resizeWidth\x3d1;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("Top 10 Australian beaches",new mxGeometry(0,0,358,204),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d8;rectMarginBottom\x3d-8;strokeColor\x3dnone;fillColor\x3d#BDBDBD;whiteSpace\x3dwrap;fontColor\x3d#FFFFFF;verticalAlign\x3dbottom;align\x3dleft;fontSize\x3d24;spacing\x3d16;");e.vertex=!0;a.insert(e);e=new mxCell("Number 10",new mxGeometry(0,0.555,358,34),"text;verticalAlign\x3dmiddle;fontSize\x3d14;spacingLeft\x3d24;spacing\x3d0;spacingBottom\x3d-5;fontColor\x3d#999999;resizeWidth\x3d1;");
e.geometry.relative=!0;e.vertex=!0;a.insert(e);e=new mxCell("Whiteheaven Beach\nWhitsunday Island, Whitsunday Islands",new mxGeometry(0,0.555,358,50),"text;whiteSpace\x3dwrap;spacingLeft\x3d24;spacingRight\x3d16;spacing\x3d0;fontSize\x3d14;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,34);e.vertex=!0;a.insert(e);e=new mxCell("SHARE",new mxGeometry(0,1,80,44),"text;fontSize\x3d12;fontColor\x3d#FFA534;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(8,-52);e.vertex=!0;a.insert(e);e=new mxCell("EXPLORE",new mxGeometry(0,1,80,44),"text;fontSize\x3d12;fontColor\x3d#FFA534;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(88,-52);e.vertex=!0;a.insert(e);a=new mxCell("Kangaroo Valley Safari",new mxGeometry(0,0.695,358,180),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d8;strokeColor\x3dnone;fillColor\x3d#BDBDBD;whiteSpace\x3dwrap;fontColor\x3d#FFFFFF;verticalAlign\x3dbottom;align\x3dleft;fontSize\x3d24;spacing\x3d16;spacingBottom\x3d24;resizeWidth\x3d1;resizeHeight\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",
new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Card Collection")}),this.addEntry("gmdl google media design library card card collection",
function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#C2185B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("My music",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#E91E63;resizeWidth\x3d1;fontSize\x3d22;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;spacingLeft\x3d72;align\x3dleft;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#6F0E2F;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#2D566B;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-30,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,358,172),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d8;rectMarginBottom\x3d-4;fillColor\x3d#2D566B;strokeColor\x3dnone;shadow\x3d1;resizeWidth\x3d1;resizeHeight\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,81);e.vertex=!0;b.insert(e);a=new mxCell("Unlimited music now",new mxGeometry(0,0,342,60),"text;whiteSpace\x3dwrap;fontColor\x3d#FFFFFF;verticalAlign\x3dbottom;align\x3dleft;fontSize\x3d24;spacing\x3d16;spacingBottom\x3d-8;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("Listen to your favorite artists and albums whenever wherever online and offline.",new mxGeometry(0,0,342,50),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d14;fontColor\x3d#FFFFFF;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,55);a.vertex=!0;e.insert(a);a=new mxCell("LISTEN NOW",new mxGeometry(0,1,120,52),"text;verticalAlign\x3dmiddle;fontSize\x3d13;spacingLeft\x3d0;spacing\x3d0;spacingBottom\x3d0;fontColor\x3d#FFFFFF;align\x3dcenter;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(8,-52);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,255,358,156),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d8;rectMarginTop\x3d-4;rectMarginBottom\x3d-4;fillColor\x3d#227586;strokeColor\x3dnone;shadow\x3d1;");
e.vertex=!0;b.insert(e);a=new mxCell("Supermodel",new mxGeometry(0,0,342,60),"text;whiteSpace\x3dwrap;fontColor\x3d#FFFFFF;verticalAlign\x3dbottom;align\x3dleft;fontSize\x3d24;spacing\x3d16;spacingBottom\x3d-8;");a.vertex=!0;e.insert(a);a=new mxCell("Foster the People",new mxGeometry(0,55,342,50),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d14;fontColor\x3d#FFFFFF;");a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(194,0,164,156),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d24;rectMarginRight\x3d8;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");
a.geometry.offset=new mxPoint(-160,0);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,411,358,156),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d8;rectMarginTop\x3d-4;rectMarginBottom\x3d-4;fillColor\x3d#871E6A;strokeColor\x3dnone;shadow\x3d1;");e.vertex=!0;b.insert(e);a=new mxCell("Halcyon Days",new mxGeometry(0,0,342,60),"text;whiteSpace\x3dwrap;fontColor\x3d#FFFFFF;verticalAlign\x3dbottom;align\x3dleft;fontSize\x3d24;spacing\x3d16;spacingBottom\x3d-8;");a.vertex=!0;e.insert(a);
a=new mxCell("Ellie Goulding",new mxGeometry(0,55,342,50),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d14;fontColor\x3d#FFFFFF;");a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(194,0,164,156),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d24;rectMarginRight\x3d8;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");a.geometry.offset=new mxPoint(-160,0);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,567,358,35),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d8;rectMarginTop\x3d-4;rectMarginBottom\x3d-4;fillColor\x3d#AB1656;strokeColor\x3dnone;shadow\x3d1;");
e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(194,0,164,35),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d24;rectMarginRight\x3d8;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");a.geometry.offset=new mxPoint(-160,0);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,
0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Card Collection")}),this.addEntry("gmdl google media design library card card collection varied layouts",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#303F9F;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Discover",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#3F51B5;;resizeWidth\x3d1;fontSize\x3d22;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;spacingLeft\x3d72;align\x3dleft;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-30,-8);e.vertex=!0;
a.insert(e);e=new mxCell("Pre-fab homes",new mxGeometry(0,0,358,233),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d6;rectMarginBottom\x3d-3;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d1;fontColor\x3d#FFFFFF;fontSize\x3d24;verticalAlign\x3dbottom;spacingBottom\x3d54;spacing\x3d22;align\x3dleft;resizeWidth\x3d1;resizeHeight\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,81);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(0,1,358,51),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d6;rectMarginBottom\x3d-3;fillColor\x3d#ffffff;strokeColor\x3dnone;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-51);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(1,0.5,18,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.heart;fillColor\x3d#BDBDBD;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-155,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.bookmark;fillColor\x3d#BDBDBD;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-102,-10);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.share;fillColor\x3d#BDBDBD;strokeColor\x3d#BDBDBD;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-49,-10);e.vertex=!0;a.insert(e);e=new mxCell("Favorite\nroad trips",new mxGeometry(0,0.3656,179,222),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d3;rectMarginLeft\x3d3;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d1;fontColor\x3d#ffffff;fontSize\x3d24;whiteSpace\x3dwrap;spacing\x3d16;verticalAlign\x3dbottom;align\x3dleft;spacingBottom\x3d48;resizeWidth\x3d1;resizeHeight\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,81);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(0,1,179,51),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d6;rectMarginBottom\x3d-3;rectMarginRight\x3d-3;fillColor\x3d#ffffff;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-51);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(1,0.5,18,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.heart;fillColor\x3d#BDBDBD;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-155,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.bookmark;fillColor\x3d#BDBDBD;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-102,-10);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.share;fillColor\x3d#BDBDBD;strokeColor\x3d#BDBDBD;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-49,-10);e.vertex=!0;a.insert(e);e=new mxCell("Best\nairlines",new mxGeometry(0.5,0.3656,179,222),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d3;rectMarginRight\x3d3;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d1;fontColor\x3d#ffffff;fontSize\x3d24;whiteSpace\x3dwrap;spacing\x3d16;verticalAlign\x3dbottom;align\x3dleft;spacingBottom\x3d48;resizeWidth\x3d1;resizeHeight\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,
81);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(0,1,179,51),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d6;rectMarginBottom\x3d-3;rectMarginLeft\x3d-3;fillColor\x3d#ffffff;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-51);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(1,0.5,18,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.heart;fillColor\x3d#BDBDBD;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-155,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.bookmark;fillColor\x3d#BDBDBD;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-102,-10);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.share;fillColor\x3d#BDBDBD;strokeColor\x3d#BDBDBD;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-49,-10);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0.71,358,60),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d6;rectMarginBottom\x3d-3;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d1;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,
-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Card collection with varied layouts")}),this.addEntry("gmdl google media design library card card collection",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00796B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Feed reader",
new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#009688;;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;spacingLeft\x3d72;align\x3dleft;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#00423B;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);
e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.refresh;strokeColor\x3d#00423B;fillColor\x3d#00423B;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#00423B;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,-8);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,
0,358,272),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d8;rectMarginBottom\x3d-4;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;resizeHeight\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0,76,76),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-96,20);e.vertex=!0;a.insert(e);e=new mxCell("Travel",new mxGeometry(0,0,250,
40),"text;verticalAlign\x3dbottom;spacingLeft\x3d24;fontSize\x3d13;fontColor\x3d#999999;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,8);e.vertex=!0;a.insert(e);e=new mxCell("New York City",new mxGeometry(0,0,250,40),"text;verticalAlign\x3dmiddle;spacingLeft\x3d24;fontSize\x3d22;fontColor\x3d#000000;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,42);e.vertex=!0;a.insert(e);e=new mxCell("Day reappeared. The tempest still raged with undiminished fury; but the window returned to the south-east. It was a favourable change and the Tankadere again.",
new mxGeometry(0,0,342,88),"text;whitespace\x3dwrap;whiteSpace\x3dwrap;spacing\x3d16;fontSize\x3d14;verticalAlign\x3dtop;spacingBottom\x3d0;spacingTop\x3d-10;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,108);e.vertex=!0;a.insert(e);e=new mxCell("ACTION 1",new mxGeometry(0,1,98,48),"text;verticalAlign\x3dmiddle;spacingLeft\x3d0;fontSize\x3d13;fontColor\x3d#4C5DBA;align\x3dcenter;spacing\x3d0;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-52);
e.vertex=!0;a.insert(e);e=new mxCell("ACTION 2",new mxGeometry(0,1,90,48),"text;verticalAlign\x3dmiddle;spacingLeft\x3d8;fontSize\x3d13;fontColor\x3d#4C5DBA;align\x3dcenter;spacing\x3d0;fontStyle\x3d1");e.geometry.relative=!0;e.geometry.offset=new mxPoint(98,-52);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0.425,358,222),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d8;rectMarginTop\x3d-4;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;resizeHeight\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0,76,76),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-96,20);e.vertex=!0;a.insert(e);e=new mxCell("Recreation",new mxGeometry(0,0,250,40),"text;verticalAlign\x3dbottom;spacingLeft\x3d24;fontSize\x3d13;fontColor\x3d#999999;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,8);e.vertex=!0;a.insert(e);
e=new mxCell("Fun at the Beach",new mxGeometry(0,0,250,40),"text;verticalAlign\x3dmiddle;spacingLeft\x3d24;fontSize\x3d22;fontColor\x3d#000000;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,42);e.vertex=!0;a.insert(e);e=new mxCell("There were some signs of a calm at noon and these became more distinct as the sun.",new mxGeometry(0,0,342,88),"text;whitespace\x3dwrap;whiteSpace\x3dwrap;spacing\x3d16;fontSize\x3d14;verticalAlign\x3dtop;spacingBottom\x3d0;spacingTop\x3d-10;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,108);e.vertex=!0;a.insert(e);e=new mxCell("ACTION 1",new mxGeometry(0,1,98,48),"text;verticalAlign\x3dmiddle;spacingLeft\x3d0;fontSize\x3d13;fontColor\x3d#4C5DBA;align\x3dcenter;spacing\x3d0;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-52);e.vertex=!0;a.insert(e);e=new mxCell("ACTION 2",new mxGeometry(0,1,90,48),"text;verticalAlign\x3dmiddle;spacingLeft\x3d8;fontSize\x3d13;fontColor\x3d#4C5DBA;align\x3dcenter;spacing\x3d0;fontStyle\x3d1");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(98,-52);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0.76,358,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d8;;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;resizeHeight\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,
-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Card collection")}),this.addEntry("gmdl google media design library card card collection",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ECECEC;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#B4B4B4;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Notes",
new mxGeometry(0,0,358,57),"text;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#333333;spacingTop\x3d-3;verticalAlign\x3dmiddle;spacingLeft\x3d72;align\x3dleft;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#333333;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);
e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#333333;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-30,-8);e.vertex=!0;a.insert(e);a=new mxCell("Call\nJennifer",new mxGeometry(0,0,179,140),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d4;rectMarginTop\x3d4;rectMarginLeft\x3d4;fillColor\x3d#00BCD4;strokeColor\x3dnone;shadow\x3d1;fontColor\x3d#FFFFFF;align\x3dleft;verticalAlign\x3dtop;fontSize\x3d24;spacingLeft\x3d24;spacingTop\x3d14;resizeHeight\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,1,167,20),"shape\x3dline;strokeColor\x3d#00AEC4;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(8,-54);e.vertex=!0;a.insert(e);e=new mxCell("May 24, 2017",new mxGeometry(0,1,179,40),"text;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;spacingLeft\x3d24;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-44);e.vertex=!0;a.insert(e);e=new mxCell("",
new mxGeometry(1,1,20,24),"dashed\x3d0;shape\x3dmxgraph.gmdl.telephone;fillColor\x3d#ffffff;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-33,-36);e.vertex=!0;a.insert(e);a=new mxCell("To bring:\n\n- camping gear\n- lantern\n- smores\n- extra blankets\n- towel for pup\n- warm socks\n- first aid kit",new mxGeometry(0,0.217,179,196),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d4;rectMarginLeft\x3d4;fillColor\x3d#3F51B5;strokeColor\x3dnone;shadow\x3d1;fontColor\x3d#FFFFFF;align\x3dleft;verticalAlign\x3dtop;fontSize\x3d13;spacingLeft\x3d24;spacingTop\x3d10;resizeHeight\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);a=new mxCell("Yuna\ntickets on\nsale 6/24",new mxGeometry(0,0.52,179,168),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d4;rectMarginLeft\x3d4;fillColor\x3d#607D8B;strokeColor\x3dnone;shadow\x3d1;fontColor\x3d#FFFFFF;align\x3dleft;verticalAlign\x3dtop;fontSize\x3d24;spacingLeft\x3d24;spacingTop\x3d10;resizeHeight\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=
!0;b.insert(a);e=new mxCell("",new mxGeometry(0,1,167,20),"shape\x3dline;strokeColor\x3d#597481;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(8,-54);e.vertex=!0;a.insert(e);e=new mxCell("Marh 24, 2017",new mxGeometry(0,1,179,40),"text;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;spacingLeft\x3d16;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-44);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,1,18,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.calendar;fillColor\x3d#ffffff;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-34);e.vertex=!0;a.insert(e);a=new mxCell("To bring:\n\n- camping gear\n- lantern\n- smores\n- extra blankets\n- towel for pup\n- warm socks\n- first aid kit",new mxGeometry(0,0.78,179,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d4;rectMarginLeft\x3d4;fillColor\x3d#FFEB3B;strokeColor\x3dnone;shadow\x3d1;fontColor\x3d#FFFFFF;align\x3dleft;verticalAlign\x3dtop;fontSize\x3d13;spacingLeft\x3d16;spacingTop\x3d6;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);a=new mxCell("Groceries",new mxGeometry(0.5,0,179,236),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d4;rectMarginTop\x3d4;rectMarginRight\x3d4;fillColor\x3d#455A64;strokeColor\x3dnone;shadow\x3d1;fontColor\x3d#bbbbbb;align\x3dleft;verticalAlign\x3dtop;fontSize\x3d13;spacingLeft\x3d20;spacingTop\x3d14;resizeHeight\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=
!0;b.insert(a);e=new mxCell("",new mxGeometry(0,1,168,20),"shape\x3dline;strokeColor\x3d#597481;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(4,-54);e.vertex=!0;a.insert(e);e=new mxCell("almond milk",new mxGeometry(0,0,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#ffffff;shadow\x3d0;fontColor\x3d#FFFFFF;fillColor\x3dnone;strokeWidth\x3d2;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d10;fontSize\x3d13;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(20,52);e.vertex=!0;a.insert(e);var f=new mxCell("coconut water",new mxGeometry(0,0,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#ffffff;shadow\x3d0;fontColor\x3d#FFFFFF;fillColor\x3dnone;strokeWidth\x3d2;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d10;fontSize\x3d13;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(20,86);f.vertex=!0;a.insert(f);e=new mxCell("cucumber",
new mxGeometry(0,0,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3dnone;shadow\x3d0;fontColor\x3d#FFFFFF;fillColor\x3d#089953;strokeWidth\x3d2;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d10;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(20,120);e.vertex=!0;a.insert(e);e=new mxCell("green apples",new mxGeometry(0,0,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#ffffff;shadow\x3d0;fontColor\x3d#FFFFFF;fillColor\x3dnone;strokeWidth\x3d2;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d10;fontSize\x3d13;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(20,154);e.vertex=!0;a.insert(e);e=new mxCell("Campbell",new mxGeometry(0,1,168,40),"text;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;spacingLeft\x3d20;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-44);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,1,14,22),"dashed\x3d0;shape\x3dmxgraph.gmdl.location;fillColor\x3d#ffffff;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-36,-35);e.vertex=!0;a.insert(e);
a=new mxCell("Clean desk",new mxGeometry(0.5,0.365,179,62),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d4;rectMarginRight\x3d4;fillColor\x3d#607D8B;strokeColor\x3dnone;shadow\x3d1;fontColor\x3d#FFFFFF;fontSize\x3d24;align\x3dleft;spacingLeft\x3d20;spacingTop\x3d-2;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.5,0.46,179,230),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d4;rectMarginRight\x3d4;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d1;resizeWidth\x3d1;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell('New exhibition at Dan\n"Food to Love"\n6.25.14-6.26-14\n740 Valencia St.',new mxGeometry(0,126,179,104),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d4;rectMarginRight\x3d4;strokeColor\x3d#FF7043;fillColor\x3d#FF7043;shadow\x3d0;fontColor\x3d#FFFFFF;align\x3dleft;fontSize\x3d10;spacingLeft\x3d20;");e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,1,56,56),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#EEFF41;shadow\x3d0;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-75,-128);e.vertex=!0;b.insert(e);f=new mxCell("",new mxGeometry(21,21,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.plus;strokeColor\x3d#767E1F;strokeWidth\x3d2;shadow\x3d0;");f.vertex=!0;e.insert(f);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,
0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Card collection")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,344,254),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3d#BDBDBD;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Greyhound divisively hello couldly wonderfully marginally far upon excluding.",new mxGeometry(0,172,344,82),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;;whiteSpace\x3dwrap;align\x3dleft;spacingLeft\x3d16;fontColor\x3d#666666;fontSize\x3d14;");
a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],300,230,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,342,378),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,342,70),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(0,0,
40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(15,15);e.vertex=!0;a.insert(e);e=new mxCell("Title",new mxGeometry(0,0,235,20),"text;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(65,15);e.vertex=!0;a.insert(e);e=new mxCell("Subhead",new mxGeometry(0,0,235,20),"text;fontColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(65,35);e.vertex=!0;a.insert(e);a=new mxCell("Greyhound divisively hello couldly wonderfully marginally far upon excluding.",
new mxGeometry(0,250,342,128),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;;whiteSpace\x3dwrap;align\x3dleft;spacingLeft\x3d16;fontColor\x3d#666666;verticalAlign\x3dtop;spacingTop\x3d10;fontSize\x3d13;spacingRight\x3d16;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,342,48),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;;whiteSpace\x3dwrap;align\x3dleft;spacingLeft\x3d14;fontColor\x3d#BDBDBD;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,1,24,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F27CC2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(15,-38);e.vertex=!0;a.insert(e);var f=new mxCell("",new mxGeometry(3,4,18,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.heart;strokeColor\x3dnone;fillColor\x3d#B53E85;");f.vertex=!0;e.insert(f);e=new mxCell("",new mxGeometry(0,1,24,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F6BBDE;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(63,-38);e.vertex=!0;a.insert(e);f=new mxCell("",new mxGeometry(3,4,18,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.reply;strokeColor\x3dnone;fillColor\x3d#995E81;");f.vertex=!0;e.insert(f);e=new mxCell("ACTION",new mxGeometry(1,1,70,36),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F6BBDE;fontColor\x3d#6A2F52;fontStyle\x3d1;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-152,-42);e.vertex=!0;a.insert(e);e=new mxCell("ACTION",new mxGeometry(1,1,70,36),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F37DC3;fontColor\x3d#8C155C;fontStyle\x3d1;fontSize\x3d13;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-75,-42);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,378,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,344,420),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#999999;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(15,
15);a.vertex=!0;b.insert(a);a=new mxCell("Title",new mxGeometry(0,0,235,20),"text;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(65,15);a.vertex=!0;b.insert(a);a=new mxCell("Subhead",new mxGeometry(0,0,235,20),"text;fontColor\x3d#999999;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(65,35);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.0116,0,81,81),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#666666;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.2587,0,81,81),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#666666;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.5058,0,81,81),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#666666;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("",
new mxGeometry(0.7529,0,81,81),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#666666;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.0116,0.2024,81,81),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#666666;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.2587,0.2024,81,81),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#666666;resizeWidth\x3d1;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.5058,0.2024,81,81),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#666666;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.7529,0.2024,81,81),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#666666;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
70);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.0116,0.4048,81,81),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#666666;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.2587,0.4048,81,81),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#666666;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("",
new mxGeometry(0.5058,0.4048,81,81),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#666666;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.7529,0.4048,81,81),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#666666;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;a.vertex=!0;b.insert(a);a=new mxCell("ACTION",new mxGeometry(0,1,344,48),
"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;;whiteSpace\x3dwrap;align\x3dleft;spacingLeft\x3d14;fontColor\x3d#737373;fontStyle\x3d1;fontSize\x3d14;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-96);a.vertex=!0;b.insert(a);a=new mxCell("ACTION",new mxGeometry(0,1,344,48),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;;whiteSpace\x3dwrap;align\x3dleft;spacingLeft\x3d14;fontColor\x3d#737373;fontStyle\x3d1;fontSize\x3d14;resizeWidth\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],344,420,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,344,162),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,1,344,48),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
-48);a.vertex=!0;b.insert(a);a=new mxCell("Action area 3",new mxGeometry(248,0,96,162),"shape\x3drect;fillColor\x3d#F37DC3;strokeColor\x3dnone;fontColor\x3d#EC1996;opacity\x3d30;fontSize\x3d10;fontStyle\x3d1");a.vertex=!0;b.insert(a);a=new mxCell("Title",new mxGeometry(0,0,248,40),"text;fontSize\x3d20;fontColor\x3d#666666;spacingTop\x3d10;verticalAlign\x3dmiddle;spacingLeft\x3d10;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("Subhead",new mxGeometry(0,0,248,20),"text;fontSize\x3d12;fontColor\x3d#666666;spacingTop\x3d0;verticalAlign\x3dmiddle;spacingLeft\x3d10;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,40);a.vertex=!0;b.insert(a);a=new mxCell("Greyhound divisively hello",new mxGeometry(0,0,248,20),"text;fontSize\x3d13;fontColor\x3d#3C3C3C;spacingTop\x3d0;verticalAlign\x3dmiddle;spacingLeft\x3d10;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,65);a.vertex=!0;b.insert(a);a=new mxCell("ACTION",new mxGeometry(0,1,70,36),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F37DC3;fontColor\x3d#8C155C;fontStyle\x3d1;fontSize\x3d12;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(5,-42);a.vertex=!0;b.insert(a);a=new mxCell("ACTION",new mxGeometry(0,1,70,36),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F6BBDE;fontColor\x3d#6A2F52;fontStyle\x3d1;fontSize\x3d12;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(85,-42);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],344,162,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,344,
162),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,1,344,48),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(248,0,96,162),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3d#eeeeee;");a.vertex=!0;b.insert(a);a=new mxCell("Rate this album",new mxGeometry(0,0,248,40),"text;fontSize\x3d23;fontColor\x3d#666666;spacingTop\x3d10;verticalAlign\x3dmiddle;spacingLeft\x3d16;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("Mac Miller",new mxGeometry(0,0,248,20),"text;fontSize\x3d12;fontColor\x3d#666666;spacingTop\x3d0;verticalAlign\x3dmiddle;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,44);a.vertex=!0;b.insert(a);a=new mxCell("Live From Space",new mxGeometry(0,0,248,20),"text;fontSize\x3d13;fontColor\x3d#3C3C3C;spacingTop\x3d0;verticalAlign\x3dmiddle;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,65);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#666666;fillColor\x3d#ffffff;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(11,-33);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#666666;fillColor\x3d#ffffff;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(45,-33);a.vertex=!0;b.insert(a);a=new mxCell("",
new mxGeometry(0,1,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#666666;fillColor\x3d#ffffff;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(79,-33);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#666666;fillColor\x3d#ffffff;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(113,-33);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#666666;fillColor\x3d#ffffff;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(147,-33);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],344,162,"Card with UI controls")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,342,522),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,1,342,328),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;fontColor\x3d#666666;fontSize\x3d10;fontStyle\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-328);a.vertex=!0;b.insert(a);var e=new mxCell("Basilico",new mxGeometry(0,0,260,50),"text;fontColor\x3d#000000;fontSize\x3d26;fontStyle\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d10;resizeWidth\x3d1;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);e=new mxCell("250ft",new mxGeometry(1,0,10,15),"dashed\x3d0;shape\x3dmxgraph.gmdl.location;strokeColor\x3dnone;fillColor\x3d#C8C8C8;fontColor\x3d#999999;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d10;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-72,25);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,13,13),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3dnone;fillColor\x3d#FACB43;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(10,61);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,13,13),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3dnone;fillColor\x3d#FACB43;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(27,61);e.vertex=!0;a.insert(e);
e=new mxCell("",new mxGeometry(0,0,13,13),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3dnone;fillColor\x3d#FACB43;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(44,61);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,13,13),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3dnone;fillColor\x3d#FACB43;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(61,61);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,13,13),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3dnone;fillColor\x3d#FACB43;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(78,61);e.vertex=!0;a.insert(e);e=new mxCell("4.7 (51)",new mxGeometry(0,0,50,20),"text;fontColor\x3d#999999;verticalAlign\x3dmiddle;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(100,58);e.vertex=!0;a.insert(e);e=new mxCell("$$$ - Italian Restaurant",new mxGeometry(0,0,342,20),"text;fontColor\x3d#000000;verticalAlign\x3dmiddle;fontSize\x3d15;spacingLeft\x3d10;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,90);
e.vertex=!0;a.insert(e);e=new mxCell("Creative Italian dishes offered with signature pasta \x26 a robust wine list in a cozy, rustic setting",new mxGeometry(0,0,340,60),"text;fontColor\x3d#999999;verticalAlign\x3dmiddle;fontSize\x3d13;spacingLeft\x3d16;whiteSpace\x3dwrap;spacingRight\x3d16;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,111);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,1,342,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(0,-154);e.vertex=!0;a.insert(e);e=new mxCell("Tonight's availability",new mxGeometry(0,1,342,40),"text;fontColor\x3d#000000;verticalAlign\x3dmiddle;fontSize\x3d14;spacingLeft\x3d10;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-144);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,1,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.clock;strokeColor\x3d#999999;fillColor\x3d#ffffff;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(16,-94);e.vertex=!0;a.insert(e);e=new mxCell("5:30PM",new mxGeometry(0.117,1,100,40),"text;fontColor\x3d#999999;verticalAlign\x3dmiddle;fontSize\x3d13;spacingLeft\x3d0;fontStyle\x3d1;align\x3dcenter;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-104);e.vertex=!0;a.insert(e);a=new mxCell("7:30PM",new mxGeometry(0.4094,1,100,40),"shape\x3drect;fontColor\x3d#000000;verticalAlign\x3dmiddle;fontSize\x3d13;spacingLeft\x3d0;strokeColor\x3dnone;fillColor\x3d#D3D3D3;fontStyle\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-104);a.vertex=!0;b.insert(a);a=new mxCell("9:00PM",new mxGeometry(0.7018,1,100,40),"text;fontColor\x3d#999999;verticalAlign\x3dmiddle;fontSize\x3d13;spacingLeft\x3d0;fontStyle\x3d1;align\x3dcenter;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-104);a.vertex=!0;b.insert(a);a=new mxCell("RESERVE",new mxGeometry(0,1,110,48),"text;fontColor\x3d#2E78F2;verticalAlign\x3dmiddle;fontSize\x3d13;spacingLeft\x3d0;fontStyle\x3d1;align\x3dcenter;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],342,522,"Card with segmented buttons")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,342,570),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("San Francisco",new mxGeometry(0,0,342,70),"text;fontColor\x3d#000000;fontSize\x3d25;fontStyle\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d10;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("Mon, 12:30 PM, Mostly sunny",new mxGeometry(0,0,300,40),"text;fontColor\x3d#000000;fontSize\x3d14;fontStyle\x3d0;verticalAlign\x3dmiddle;spacingBottom\x3d2;spacingLeft\x3d10;align\x3dleft;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("66",new mxGeometry(0,110,100,100),"text;fontColor\x3d#757575;fontSize\x3d90;fontStyle\x3d0;verticalAlign\x3dtop;spacingBottom\x3d2;spacingLeft\x3d10;align\x3dleft;spacingTop\x3d-15;");
a.vertex=!0;b.insert(a);a=new mxCell(String.fromCharCode(176)+"F",new mxGeometry(0,0.193,70,70),"text;fontColor\x3d#757575;fontSize\x3d45;fontStyle\x3d0;verticalAlign\x3dmiddle;spacingBottom\x3d2;spacingLeft\x3d10;align\x3dleft;spacingTop\x3d-15;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(100,0);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0.2105,80,70),"dashed\x3d0;shape\x3dmxgraph.gmdl.mostly_sunny;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-102,0);a.vertex=
!0;b.insert(a);a=new mxCell("10mph",new mxGeometry(0,0.2105,20,15),"dashed\x3d0;shape\x3dmxgraph.gmdl.wind;strokeWidth\x3d2;strokeColor\x3d#757575;fontColor\x3d#757575;fontSize\x3d14;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dleft;labelPosition\x3dright;spacingLeft\x3d30;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(20,110);a.vertex=!0;b.insert(a);a=new mxCell("3%",new mxGeometry(0,0.2105,20,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.mostly_cloudy;strokeWidth\x3d2;fontColor\x3d#757575;fontSize\x3d14;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dleft;labelPosition\x3dright;spacingLeft\x3d30;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(20,150);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0.5263,342,60),"shape\x3drect;fillColor\x3dnone;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,0);a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(16,15,310,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.scale;strokeWidth\x3d2;strokeColor\x3d#cccccc;");e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.365,0.25,30,30),"dashed\x3d0;shape\x3dmxgraph.gmdl.handle;fillColor\x3d#666666;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-15);e.vertex=!0;a.insert(e);e=new mxCell("8 AM",new mxGeometry(21,35,50,20),"text;fontColor\x3d#666666;fontSize\x3d10;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;");e.vertex=!0;a.insert(e);e=new mxCell("11 AM",new mxGeometry(82,35,50,20),"text;fontColor\x3d#666666;fontSize\x3d10;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;");e.vertex=!0;a.insert(e);e=new mxCell("2 PM",new mxGeometry(145,35,50,20),"text;fontColor\x3d#666666;fontSize\x3d10;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;");
e.vertex=!0;a.insert(e);e=new mxCell("5 PM",new mxGeometry(206,35,50,20),"text;fontColor\x3d#666666;fontSize\x3d10;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;");e.vertex=!0;a.insert(e);e=new mxCell("8 PM",new mxGeometry(269,35,50,20),"text;fontColor\x3d#666666;fontSize\x3d10;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;");e.vertex=!0;a.insert(e);a=new mxCell("Tuesday",new mxGeometry(0,1,220,20),"text;fontColor\x3d#666666;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d16;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-190);a.vertex=!0;b.insert(a);a=new mxCell('75\u00b0\x3cfont color\x3d"#999999"\x3e/52\u00b0\x3c/font\x3e',new mxGeometry(1,1,20,20),"shape\x3dellipse;fillColor\x3d#FFD85D;strokeColor\x3dnone;fontColor\x3d#666666;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;spacingLeft\x3d30;html\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-115,-190);a.vertex=!0;b.insert(a);
a=new mxCell("Wednesday",new mxGeometry(0,1,220,20),"text;fontColor\x3d#666666;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-143);a.vertex=!0;b.insert(a);a=new mxCell('73\u00b0\x3cfont color\x3d"#999999"\x3e/50\u00b0\x3c/font\x3e',new mxGeometry(1,1,20,20),"shape\x3dellipse;fillColor\x3d#FFD85D;strokeColor\x3dnone;fontColor\x3d#666666;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;spacingLeft\x3d30;html\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-115,-143);a.vertex=!0;b.insert(a);a=new mxCell("Thursday",new mxGeometry(0,1,220,20),"text;fontColor\x3d#666666;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-96);a.vertex=!0;b.insert(a);a=new mxCell('64\u00b0\x3cfont color\x3d"#999999"\x3e/52\u00b0\x3c/font\x3e',new mxGeometry(1,1,22,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.mostly_sunny;fillColor\x3d#FFD85D;strokeColor\x3dnone;fontColor\x3d#666666;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;align\x3dleft;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;spacingLeft\x3d30;html\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-115,-96);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,342,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-53);a.vertex=!0;b.insert(a);a=new mxCell("FULL REPORT",new mxGeometry(0,1,342,48),"text;fontColor\x3d#999999;fontSize\x3d14;fontStyle\x3d1;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
-48);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],342,570,"Card with slider")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,342,236),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Word of the Day",new mxGeometry(0,0,342,40),"text;fontColor\x3d#999999;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d16;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("be\u00b7nev\u00b7o\u00b7lent",new mxGeometry(0,0,342,40),"text;fontColor\x3d#444444;fontSize\x3d22;fontStyle\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,44);a.vertex=!0;b.insert(a);a=new mxCell("adjective",new mxGeometry(0,0,342,30),"text;fontColor\x3d#999999;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d16;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,80);a.vertex=!0;b.insert(a);a=new mxCell('well meaning and kindly\n"a benevolent smile"',new mxGeometry(0,0,342,40),"text;fontColor\x3d#444444;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;spacingBottom\x3d2;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,130);a.vertex=!0;b.insert(a);a=new mxCell("LEARN MORE",new mxGeometry(0,1,342,48),"text;fontColor\x3d#444444;fontSize\x3d14;fontStyle\x3d1;verticalAlign\x3dmiddle;spacingBottom\x3d2;spacingLeft\x3d16;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],342,236,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,342,530),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Title goes here",new mxGeometry(0,1,342,338),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;fontSize\x3d23;fontStyle\x3d0;verticalAlign\x3dtop;spacingBottom\x3d0;spacingLeft\x3d16;spacingTop\x3d16;resizeWidth\x3d1;align\x3dleft;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-338);a.vertex=!0;b.insert(a);var e=new mxCell("Subtitle here",new mxGeometry(0,0,342,20),"text;fontColor\x3d#999999;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;spacingBottom\x3d0;spacingLeft\x3d16;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,60);e.vertex=!0;a.insert(e);e=new mxCell("ACTION 1",new mxGeometry(0,0,85,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;fontSize\x3d13;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,100);e.vertex=!0;a.insert(e);e=new mxCell("ACTION 2",new mxGeometry(0,0,85,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(85,100);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,20,10),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeWidth\x3d2;strokeColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-40,
115);e.vertex=!0;a.insert(e);e=new mxCell("I'm a thing. But, like most politicians, he promised more than he could deliver. You won't have time for sleeping, soldier, not with all the bed making you'll be doing. Then we'll go with that data file! Hey, you add a one and two zeros to that or we walk! You're going to do his laundry? I've got to find a way to escape.",new mxGeometry(0,0,342,196),"text;whiteSpace\x3dwrap;fontSize\x3d14;spacing\x3d16;spacingTop\x3d-4;resizeWidth\x3d1;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(0,142);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,530,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,342,386),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,342,72),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);
a=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#BDBDBD;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,16);a.vertex=!0;b.insert(a);a=new mxCell("Title",new mxGeometry(0,0,240,20),"text;spacingLeft\x3d10;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(56,16);a.vertex=!0;b.insert(a);a=new mxCell("Subhead",new mxGeometry(0,0,240,20),"text;spacingLeft\x3d10;fontColor\x3d#999999;resizeWidth\x3d1;");a.geometry.relative=!0;
a.geometry.offset=new mxPoint(56,36);a.vertex=!0;b.insert(a);a=new mxCell("Greyhound divisively hello coldly wonderfully marginally far upon excluding.",new mxGeometry(0,1,342,122),"dashed\x3d0;shape\x3drect;whiteSpace\x3dwrap;align\x3dleft;spacingLeft\x3d0;fontColor\x3d#444444;spacing\x3d16;fontSize\x3d13;resizeWidth\x3d1;fillColor\x3d#ffffff;strokeColor\x3dnone;verticalAlign\x3dtop;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-122);a.vertex=!0;b.insert(a);var e=new mxCell("ACTION 1",
new mxGeometry(0,1,70,32),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(8,-40);e.vertex=!0;a.insert(e);e=new mxCell("ACTION 2",new mxGeometry(0,1,70,32),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(86,-40);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,386,"Card")}),this.addEntry("gmdl google media design library card card",
function(){var b=new mxCell("",new mxGeometry(0,0,342,356),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,342,72),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#BDBDBD;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,16);a.vertex=!0;
b.insert(a);a=new mxCell("Title",new mxGeometry(0,0,240,20),"text;spacingLeft\x3d10;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(56,16);a.vertex=!0;b.insert(a);a=new mxCell("Subhead",new mxGeometry(0,0,240,20),"text;spacingLeft\x3d10;fontColor\x3d#999999;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(56,36);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,342,92),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-92);a.vertex=!0;b.insert(a);var e=new mxCell("ACTION 1",new mxGeometry(0,1,70,32),"shape\x3drect;fontSize\x3d13;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(8,-76);e.vertex=!0;a.insert(e);e=new mxCell("ACTION 2",new mxGeometry(0,1,70,32),"shape\x3drect;fontSize\x3d13;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(8,-40);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,356,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,342,334),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Title goes here",new mxGeometry(0,1,342,142),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;fontSize\x3d23;fontStyle\x3d0;verticalAlign\x3dtop;spacingBottom\x3d0;spacingLeft\x3d16;spacingTop\x3d16;resizeWidth\x3d1;align\x3dleft;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-142);a.vertex=!0;b.insert(a);var e=new mxCell("Subtitle here",new mxGeometry(0,0,342,20),"text;fontColor\x3d#999999;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;spacingBottom\x3d0;spacingLeft\x3d16;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,58);e.vertex=!0;a.insert(e);e=new mxCell("ACTION 1",new mxGeometry(0,1,70,32),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;fontSize\x3d13;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(8,-40);e.vertex=!0;a.insert(e);e=new mxCell("ACTION 2",new mxGeometry(0,1,70,32),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(86,-40);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,1,16,8),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeWidth\x3d3;strokeColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-38,
-25);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,334,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("Title goes here",new mxGeometry(0,0,300,266),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;fontColor\x3d#000000;fontSize\x3d23;fontStyle\x3d0;verticalAlign\x3dtop;spacingBottom\x3d0;spacingLeft\x3d16;spacingTop\x3d20;align\x3dleft;");b.vertex=!0;var a=new mxCell("Subtitle here",new mxGeometry(0,0,
300,20),"text;fontColor\x3d#999999;fontSize\x3d12;fontStyle\x3d0;verticalAlign\x3dmiddle;spacingBottom\x3d0;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,59);a.vertex=!0;b.insert(a);a=new mxCell("I'm a thing. But, like most politicians, he promised more than he could deliver. You won't have time for sleeping, soldier, not with all the bed making you'll be doing. Then we'll go with that data file! Hey, you add a one and two zeros to that or we walk! You're going to do his laundry? I've got to find a way to escape",
new mxGeometry(0,0,300,148),"text;whiteSpace\x3dwrap;fontSize\x3d13;spacing\x3d16;spacingTop\x3d-4;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("ACTION 1",new mxGeometry(0,1,70,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(8,-48);a.vertex=!0;b.insert(a);a=new mxCell("ACTION 2",new mxGeometry(0,1,70,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(86,-48);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],300,266,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,342,246),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,1,342,54),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,-54);a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,1,20,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.heart;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-147,-36);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,1,14,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.bookmark;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-37);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,
1,20,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.reply;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-49,-36);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,246,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,342,342),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;fontColor\x3d#000000;fontSize\x3d12;fontStyle\x3d0;verticalAlign\x3dmiddle;spacingBottom\x3d0;spacingLeft\x3d0;shadow\x3d1;");
b.vertex=!0;var a=new mxCell("Title goes here",new mxGeometry(0,1,342,138),"shape\x3drect;fillColor\x3d#000000;strokeColor\x3dnone;opacity\x3d25;fontColor\x3d#FFFFFF;fontSize\x3d23;fontStyle\x3d0;verticalAlign\x3dtop;spacingBottom\x3d0;spacingLeft\x3d16;spacingTop\x3d17;align\x3dleft;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-138);a.vertex=!0;b.insert(a);var e=new mxCell("Subtitle here",new mxGeometry(0,0,342,20),"text;fontColor\x3d#FFFFFF;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;spacingBottom\x3d0;spacingLeft\x3d16;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,54);e.vertex=!0;a.insert(e);e=new mxCell("ACTION 1",new mxGeometry(0,1,80,32),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#FFFFFF;fontStyle\x3d1;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(8,-40);e.vertex=!0;a.insert(e);e=new mxCell("ACTION 2",new mxGeometry(0,1,80,32),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#FFFFFF;fontStyle\x3d1;fontSize\x3d13;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(96,-40);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,342,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("Title",new mxGeometry(0,0,168,216),"dashed\x3d0;shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;fontColor\x3d#FFFFFF;fontSize\x3d22;fontStyle\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d48;spacingLeft\x3d0;align\x3dleft;spacing\x3d12;gradientColor\x3d#606060;shadow\x3d1;");b.vertex=
!0;var a=new mxCell("",new mxGeometry(0,1,168,48),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,1,20,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.heart;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-146,-33);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,1,14,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.bookmark;strokeColor\x3dnone;fillColor\x3d#666666;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-91,-34);e.vertex=!0;e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,1,20,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.reply;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-42,-33);e.vertex=!0;e.vertex=!0;a.insert(e);var f=new mxCell("Title",new mxGeometry(174,0,168,216),"dashed\x3d0;shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;fontColor\x3d#FFFFFF;fontSize\x3d22;fontStyle\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d48;spacingLeft\x3d0;align\x3dleft;spacing\x3d12;gradientColor\x3d#606060;shadow\x3d1;");
f.vertex=!0;a=new mxCell("",new mxGeometry(0,1,168,48),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;f.insert(a);e=new mxCell("",new mxGeometry(1,1,20,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.heart;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-146,-33);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,1,14,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.bookmark;strokeColor\x3dnone;fillColor\x3d#666666;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-91,-34);e.vertex=!0;e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,1,20,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.reply;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-42,-33);e.vertex=!0;e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b,f],342,216,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("Title here",new mxGeometry(0,
0,342,146),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;fontColor\x3d#000000;fontSize\x3d24;fontStyle\x3d0;verticalAlign\x3dtop;spacingBottom\x3d0;spacingLeft\x3d16;spacingTop\x3d15;align\x3dleft;");b.vertex=!0;var a=new mxCell("Subtitle here",new mxGeometry(0,0,246,20),"text;fontColor\x3d#999999;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;spacingBottom\x3d0;spacingLeft\x3d16;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,59);a.vertex=!0;
b.insert(a);a=new mxCell("",new mxGeometry(1,0,80,80),"shape\x3drect;fillColor\x3d#bbbbbb;strokeColor\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-96,16);a.vertex=!0;b.insert(a);a=new mxCell("ACTION 1",new mxGeometry(0,1,80,32),"shape\x3drect;fontSize\x3d13;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(8,-40);a.vertex=!0;b.insert(a);a=new mxCell("ACTION 2",new mxGeometry(0,1,80,32),"shape\x3drect;fontSize\x3d13;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(96,-40);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],342,146,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("Title here",new mxGeometry(0,0,342,176),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;fontColor\x3d#000000;fontSize\x3d24;fontStyle\x3d0;verticalAlign\x3dtop;spacingBottom\x3d0;spacingLeft\x3d16;spacingTop\x3d15;align\x3dleft;");b.vertex=
!0;var a=new mxCell("Subtitle here",new mxGeometry(0,0,246,20),"text;fontColor\x3d#999999;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;spacingBottom\x3d0;spacingLeft\x3d16;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,59);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,112,112),"shape\x3drect;fillColor\x3d#bbbbbb;strokeColor\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-128,16);a.vertex=!0;b.insert(a);a=new mxCell("ACTION 1",new mxGeometry(0,1,80,
32),"shape\x3drect;fontSize\x3d13;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(8,-40);a.vertex=!0;b.insert(a);a=new mxCell("ACTION 2",new mxGeometry(0,1,80,32),"shape\x3drect;fontSize\x3d13;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(96,-40);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],300,176,"Card")}),
this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("Title here",new mxGeometry(0,0,342,228),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;fontColor\x3d#000000;fontSize\x3d24;fontStyle\x3d0;verticalAlign\x3dtop;spacingBottom\x3d0;spacingLeft\x3d16;spacingTop\x3d15;align\x3dleft;");b.vertex=!0;var a=new mxCell("Subtitle here",new mxGeometry(0,0,246,20),"text;fontColor\x3d#999999;fontSize\x3d13;fontStyle\x3d0;verticalAlign\x3dmiddle;spacingBottom\x3d0;spacingLeft\x3d16;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,59);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,152,152),"shape\x3drect;fillColor\x3d#bbbbbb;strokeColor\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-168,16);a.vertex=!0;b.insert(a);a=new mxCell("ACTION 1",new mxGeometry(0,1,80,32),"shape\x3drect;fontSize\x3d13;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(8,-40);a.vertex=
!0;b.insert(a);a=new mxCell("ACTION 2",new mxGeometry(0,1,80,32),"shape\x3drect;fontSize\x3d13;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#444444;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(96,-40);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],300,224,"Card")}),this.addEntry("gmdl google media design library card card",function(){var b=new mxCell("",new mxGeometry(0,0,342,272),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,240,240),"shape\x3drect;fillColor\x3d#bbbbbb;strokeColor\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,16);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,20,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.heart;strokeColor\x3dnone;fillColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-53,38);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,14,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.bookmark;strokeColor\x3dnone;fillColor\x3d#666666;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-51,86);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,20,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.reply;strokeColor\x3dnone;fillColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-53,135);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],342,272,"Card")})];this.addPalette("gmdlCards","GMDL / Cards",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLChipsPalette=
function(b){var c=this,f=[this.addEntry("gmdl google media design library chip chip",function(){var b=new mxCell("Trevor Hansen",new mxGeometry(0,0,170,32),"shape\x3drect;arcSize\x3d50;strokeColor\x3dnone;fillColor\x3d#eeeeee;rounded\x3d1;spacingLeft\x3d24;fontSize\x3d13;align\x3dcenter;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,32,32),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#666666;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,
0.5,16,16),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#A5A5A5;aspect\x3dfixed;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-24,-8);a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(5,5,6,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.x;strokeColor\x3d#ffffff;strokeWidth\x3d2;");e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Chip with text and icon")}),this.addEntry("gmdl google media design library chip chip",function(){var b=
new mxCell("ANZ Bank",new mxGeometry(0,0,170,32),"shape\x3drect;arcSize\x3d50;strokeColor\x3dnone;fillColor\x3d#eeeeee;rounded\x3d1;spacingLeft\x3d24;fontSize\x3d13;align\x3dcenter;");b.vertex=!0;var a=new mxCell("A",new mxGeometry(0,0,32,32),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#009587;fontColor\x3d#ffffff;fontSize\x3d14;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Chip with text and icon")}),this.addEntry("gmdl google media design library chip list style",
function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;fontSize\x3d13;align\x3dright;fillColor\x3d#C2185B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Compose",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#E91E63;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d-3;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.left;strokeColor\x3d#ffffff;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,22,22),"dashed\x3d0;shape\x3dmxgraph.gmdl.send;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-35,-11);e.vertex=!0;a.insert(e);a=new mxCell("To",new mxGeometry(0,0,358,54),"dashed\x3d0;shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d16;fontColor\x3d#999999;spacingTop\x3d-3;align\x3dleft;spacingLeft\x3d16;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("Trevor Hansen",new mxGeometry(0,0.5,130,32),"shape\x3drect;arcSize\x3d50;strokeColor\x3dnone;fillColor\x3d#eeeeee;rounded\x3d1;spacingLeft\x3d24;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(70,-16);e.vertex=!0;a.insert(e);var f=new mxCell("",new mxGeometry(0,0,32,32),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#666666;aspect\x3dfixed;");f.vertex=!0;
e.insert(f);e=new mxCell("Alex Nelson",new mxGeometry(0,0.5,120,32),"shape\x3drect;arcSize\x3d50;strokeColor\x3dnone;fillColor\x3d#eeeeee;rounded\x3d1;spacingLeft\x3d24;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(208,-16);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,32,32),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#666666;aspect\x3dfixed");a.vertex=!0;e.insert(a);a=new mxCell("Plans for the weekend",new mxGeometry(0,0,358,54),
"shape\x3drect;fontSize\x3d13;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,135);a.vertex=!0;b.insert(a);a=new mxCell("Hi,\nI just wanted to check in and see if you had any plans this upcoming weekend. We are thinking of heading up to Napa. Let us know if you'd like to go and we'll make reservations.",new mxGeometry(0,0,358,400),"shape\x3drect;fontSize\x3d14;strokeColor\x3dnone;fillColor\x3dnone;whiteSpace\x3dwrap;verticalAlign\x3dtop;align\x3dleft;spacing\x3d16;resizeWidth\x3d1;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,189);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,
-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,
"List Style")}),this.addEntry("gmdl google media design library chip list style",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;fontSize\x3d13;align\x3dright;fillColor\x3d#C2185B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);
var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Compose",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#E91E63;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d-3;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);
e=new mxCell("",new mxGeometry(0,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.left;strokeColor\x3d#ffffff;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,22,22),"dashed\x3d0;shape\x3dmxgraph.gmdl.send;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-35,-11);e.vertex=!0;a.insert(e);a=new mxCell("To",new mxGeometry(0,0,358,54),"dashed\x3d0;shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d16;fontColor\x3d#999999;spacingTop\x3d-3;align\x3dleft;spacingLeft\x3d16;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("Trevor Hansen",new mxGeometry(0,0.5,130,32),"shape\x3drect;arcSize\x3d50;strokeColor\x3dnone;fillColor\x3d#eeeeee;rounded\x3d1;spacingLeft\x3d24;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(70,-16);e.vertex=!0;a.insert(e);var f=new mxCell("",new mxGeometry(0,0,32,32),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#666666;aspect\x3dfixed;");f.vertex=!0;
e.insert(f);e=new mxCell("Alex Nelson",new mxGeometry(0,0.5,120,32),"shape\x3drect;arcSize\x3d50;strokeColor\x3dnone;fillColor\x3d#eeeeee;rounded\x3d1;spacingLeft\x3d24;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(208,-16);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,32,32),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#666666;aspect\x3dfixed");a.vertex=!0;e.insert(a);a=new mxCell("Plans for the weekend",new mxGeometry(0,0,358,54),
"shape\x3drect;fontSize\x3d13;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,135);a.vertex=!0;b.insert(a);a=new mxCell("Hi,\nI just wanted to check in and see if you had any plans this upcoming weekend. We are thinking of heading up to Napa. Let us know if you'd like to go and we'll make reservations.",new mxGeometry(0,0,358,400),"shape\x3drect;fontSize\x3d14;strokeColor\x3dnone;fillColor\x3dnone;whiteSpace\x3dwrap;verticalAlign\x3dtop;align\x3dleft;spacing\x3d16;resizeWidth\x3d1;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,189);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,294,184),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;shadow\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(56,88);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,294,72),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00B8D4;");e.vertex=!0;a.insert(e);f=new mxCell("",new mxGeometry(0,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#666666;");
f.geometry.relative=!0;f.geometry.offset=new mxPoint(10,-18);f.vertex=!0;e.insert(f);f=new mxCell("Contact name",new mxGeometry(0,4,294,30),"text;fontSize\x3d16;fontColor\x3d#ffffff;spacingTop\x3d-3;verticalAlign\x3dbottom;spacingLeft\x3d55;");f.vertex=!0;e.insert(f);f=new mxCell("trevor_h@example.com",new mxGeometry(0,34,294,30),"text;fontSize\x3d14;fontColor\x3d#ffffff;spacingTop\x3d-3;verticalAlign\x3dtop;textOpacity\x3d60;spacingLeft\x3d55;");f.vertex=!0;e.insert(f);f=new mxCell("",new mxGeometry(1,
0.5,20,20),"dashed\x3d0;shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#ffffff;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-32,-10);f.vertex=!0;e.insert(f);e=new mxCell("",new mxGeometry(6,6,8,8),"dashed\x3d0;shape\x3dmxgraph.gmdl.x;strokeColor\x3d#00B8D4;strokeWidth\x3d2;");e.vertex=!0;f.insert(e);e=new mxCell("",new mxGeometry(0,0.535,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(10,
-18);e.vertex=!0;a.insert(e);e=new mxCell("trevorh@example.com",new mxGeometry(0,85,294,30),"text;fontSize\x3d13;fontColor\x3d#999999;spacingTop\x3d0;verticalAlign\x3dmiddle;spacingLeft\x3d55;");e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0.84,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(10,-18);e.vertex=!0;a.insert(e);e=new mxCell("hansen_t@example.com",new mxGeometry(0,140,294,30),"text;fontSize\x3d13;fontColor\x3d#999999;spacingTop\x3d0;verticalAlign\x3dmiddle;spacingLeft\x3d55;");
e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,
0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"List Style")})];this.addPalette("gmdlChips","GMDL / Chips",b||
!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLDialogsPalette=function(b){var c=this,f=[this.addEntry("gmdl google media design library dialog dialog persistent footer",function(){var b=new mxCell("",new mxGeometry(0,0,280,472),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Google Wi-Fi",new mxGeometry(0,0,280,60),"text;verticalAlign\x3dmiddle;spacing\x3d16;fontSize\x3d20;fontStyle\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("Signal strength",new mxGeometry(0,0,280,30),"text;spacingLeft\x3d16;fontColor\x3d#808080;fontSize\x3d11;spacingTop\x3d6;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,60);a.vertex=!0;b.insert(a);a=new mxCell("Excellent",new mxGeometry(0,0,280,30),"text;fontSize\x3d15;spacing\x3d2;spacingLeft\x3d16;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,90);a.vertex=!0;b.insert(a);
a=new mxCell("Security",new mxGeometry(0,0,280,50),"text;verticalAlign\x3dbottom;spacingLeft\x3d16;spacingBottom\x3d5;fontSize\x3d11;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,120);a.vertex=!0;b.insert(a);a=new mxCell("802.1x EAP",new mxGeometry(0,0,280,40),"text;spacingLeft\x3d16;fontSize\x3d15;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,170);a.vertex=!0;b.insert(a);a=new mxCell("Password",new mxGeometry(0,
0,280,30),"text;verticalAlign\x3dmiddle;spacingLeft\x3d16;fontColor\x3d#009688;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,210);a.vertex=!0;b.insert(a);a=new mxCell("|",new mxGeometry(0,0,280,30),"text;verticalAlign\x3dbottom;spacingBottom\x3d0;spacingLeft\x3d16;fontSize\x3d20;fontColor\x3d#009688;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,235);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.0571,0,248,30),"shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#009688;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,260);a.vertex=!0;b.insert(a);a=new mxCell("Show password",new mxGeometry(0,0,20,20),"shape\x3drect;strokeWidth\x3d2;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d16;fontColor\x3d#000000;strokeColor\x3d#666666;fontSize\x3d14;rounded\x3d1;size\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(20,305);a.vertex=!0;b.insert(a);a=new mxCell("Show advanced options",new mxGeometry(0,
0,20,20),"shape\x3drect;strokeWidth\x3d2;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d16;fontColor\x3d#000000;strokeColor\x3d#666666;fontSize\x3d14;rounded\x3d1;size\x3d2;resizeWidht\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(20,350);a.vertex=!0;b.insert(a);a=new mxCell("CANCEL",new mxGeometry(1,1,75,42),"text;fontSize\x3d13;fontStyle\x3d1;fontColor\x3d#009688;verticalAlign\x3dmiddle;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(-160,-42);a.vertex=!0;b.insert(a);a=new mxCell("CONNECT",new mxGeometry(1,1,85,42),"text;fontSize\x3d13;fontStyle\x3d1;fontColor\x3d#009688;verticalAlign\x3dmiddle;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-85,-42);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],280,472,"Dialog with persistent footer button")}),this.addEntry("gmdl google media design library dialog scrollable dialog persistent footer",function(){var b=new mxCell("",new mxGeometry(0,0,280,
345),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Google Wi-Fi",new mxGeometry(0,0,280,60),"text;verticalAlign\x3dmiddle;spacing\x3d16;fontSize\x3d20;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("Signal strength",new mxGeometry(0,0,280,30),"text;spacingLeft\x3d16;fontColor\x3d#808080;fontSize\x3d11;spacingTop\x3d6;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
60);a.vertex=!0;b.insert(a);a=new mxCell("Excellent",new mxGeometry(0,0,280,30),"text;fontSize\x3d15;spacing\x3d2;spacingLeft\x3d16;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,90);a.vertex=!0;b.insert(a);a=new mxCell("Security",new mxGeometry(0,0,280,50),"text;verticalAlign\x3dbottom;spacingLeft\x3d16;spacingBottom\x3d5;fontSize\x3d11;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,120);a.vertex=!0;b.insert(a);
a=new mxCell("802.1x EAP",new mxGeometry(0,0,280,40),"text;spacingLeft\x3d16;fontSize\x3d15;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,170);a.vertex=!0;b.insert(a);a=new mxCell("Password",new mxGeometry(0,0,280,30),"text;verticalAlign\x3dmiddle;spacingLeft\x3d16;fontColor\x3d#009688;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,210);a.vertex=!0;b.insert(a);a=new mxCell("|",new mxGeometry(0,0,280,30),"text;verticalAlign\x3dbottom;spacingBottom\x3d0;spacingLeft\x3d16;fontSize\x3d20;fontColor\x3d#009688;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,235);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.0571,0,248,30),"shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#009688;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,260);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.0571,1,248,30),"shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-56);a.vertex=
!0;b.insert(a);a=new mxCell("CANCEL",new mxGeometry(1,1,75,42),"text;fontSize\x3d13;fontStyle\x3d1;fontColor\x3d#009688;verticalAlign\x3dmiddle;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-160,-42);a.vertex=!0;b.insert(a);a=new mxCell("CONNECT",new mxGeometry(1,1,85,42),"text;fontSize\x3d13;fontStyle\x3d1;fontColor\x3d#009688;verticalAlign\x3dmiddle;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-85,-42);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],280,345,
"Scrollable dialog with persistent footer button")}),this.addEntry("gmdl google media design library dialog message dialog",function(){var b=new mxCell("",new mxGeometry(0,0,480,480),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("New message",new mxGeometry(0,0,480,48),"dashed\x3d0;shape\x3drect;verticalAlign\x3dmiddle;spacing\x3d16;fontSize\x3d13;fontStyle\x3d1;resizeWidth\x3d1;fillColor\x3dnone;strokeColor\x3d#eeeeee;align\x3dleft;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.x;strokeWidth\x3d2;strokeColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,-7);e.vertex=!0;a.insert(e);a=new mxCell("To",new mxGeometry(0,0,480,30),"text;spacingLeft\x3d16;fontColor\x3d#808080;fontSize\x3d13;spacingTop\x3d6;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,60);a.vertex=!0;b.insert(a);a=new mxCell("Subject",
new mxGeometry(0,0,480,30),"text;fontSize\x3d13;spacing\x3d2;spacingLeft\x3d16;fontStyle\x3d0;fontColor\x3d#808080;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,105);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,480,65),"dashed\x3d0;shape\x3dmxgraph.gmdl.rect;strokeWidth\x3d1;strokeColor\x3d#eeeeee;fillColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-65);a.vertex=!0;b.insert(a);e=new mxCell("A",new mxGeometry(0,1,24,4),"shape\x3drect;strokeWidth\x3d2;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dtop;align\x3dcenter;verticalAlign\x3dbottom;fontSize\x3d20;spacingBottom\x3d-3;fontColor\x3d#666666;fillColor\x3d#cccccc;fontStyle\x3d0;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-24);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,1,9,24),"dashed\x3d0;shape\x3dmxgraph.gmdl.attachment;strokeWidth\x3d2;strokeColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(74,-44);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,1,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.plus;strokeWidth\x3d2;strokeColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(110,-39);e.vertex=!0;a.insert(e);
a=new mxCell("SEND",new mxGeometry(1,1,90,65),"text;fontSize\x3d13;fontStyle\x3d1;fontColor\x3d#2E78F2;spacingTop\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-90,-65);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],480,480,"Message dialog")}),this.addEntry("gmdl google media design library dialog dialog",function(){var b=new mxCell("Use Google's location service?",new mxGeometry(0,0,280,273),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;shadow\x3d1;fontSize\x3d19;fontColor\x3d#000000;spacingTop\x3d-6;whiteSpace\x3dwrap;spacing\x3d16;align\x3dleft;verticalAlign\x3dtop;");
b.vertex=!0;var a=new mxCell("Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running.",new mxGeometry(0,0,280,160),"text;fontSize\x3d16;fontColor\x3d#999999;spacingTop\x3d-6;whiteSpace\x3dwrap;spacing\x3d16;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;b.insert(a);a=new mxCell("DISAGREE",new mxGeometry(1,1,80,48),"text;fontSize\x3d13;fontColor\x3d#2E78F2;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-160,-48);a.vertex=!0;b.insert(a);a=new mxCell("AGREE",new mxGeometry(1,1,80,48),"text;fontSize\x3d13;fontColor\x3d#2E78F2;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-80,-48);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],280,273,"Dialog")}),this.addEntry("gmdl google media design library dialog fullscreen dialog",
function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00796B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("New event",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#009688;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d-8;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d60;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.x;strokeColor\x3d#ffffff;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(20,-9);e.vertex=!0;a.insert(e);e=new mxCell("SAVE",new mxGeometry(1,1,60,42),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;spacingTop\x3d0;verticalAlign\x3dmiddle;spacingBottom\x3d0;spacingLeft\x3d8;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-61,-42);e.vertex=!0;a.insert(e);a=new mxCell("heyfromjonathan@gmail.com",new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;rect;strokeColor\x3d#eeeeee;align\x3dleft;spacing\x3d16;fontSize\x3d14;resizeWidth\x3d1;verticalAlign\x3dmiddle;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,10,5),"dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#999999;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-27,-4);e.vertex=!0;a.insert(e);a=new mxCell("Event name",new mxGeometry(0,0,358,86),"text;fontSize\x3d31;fontColor\x3d#bbbbbb;spacingTop\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d8;spacing\x3d8;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,137);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.0419,0,327,10),"dashed\x3d0;shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,218);a.vertex=!0;b.insert(a);a=new mxCell("Location",new mxGeometry(0,0,358,70),"text;fontSize\x3d14;fontColor\x3d#bbbbbb;spacingTop\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d10;spacing\x3d8;resizeWidth\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,223);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.0419,0,328,10),"dashed\x3d0;shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,288);a.vertex=!0;b.insert(a);a=new mxCell("From",new mxGeometry(0,0,358,40),"text;fontSize\x3d11;fontColor\x3d#666666;spacingTop\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d10;spacing\x3d8;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,293);a.vertex=!0;b.insert(a);a=new mxCell("Fri, May 12 2017",new mxGeometry(0,0,200,40),"text;fontSize\x3d15;fontColor\x3d#000000;spacingTop\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d10;spacing\x3d8;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,323);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,10,5),"dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#999999;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(-118,341);a.vertex=!0;b.insert(a);a=new mxCell("4:30 PM",new mxGeometry(1,0,70,40),"text;fontSize\x3d15;fontColor\x3d#000000;spacingTop\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d0;spacing\x3d8;fontStyle\x3d0");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-98,323);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,10,5),"dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#999999;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-27,
341);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.0419,0,328,10),"dashed\x3d0;shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,358);a.vertex=!0;b.insert(a);a=new mxCell("To",new mxGeometry(0,0,358,40),"text;fontSize\x3d11;fontColor\x3d#666666;spacingTop\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d10;spacing\x3d8;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,368);a.vertex=!0;b.insert(a);
a=new mxCell("Fri, May 12 2017",new mxGeometry(0,0,200,40),"text;fontSize\x3d15;fontColor\x3d#000000;spacingTop\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d10;spacing\x3d8;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,393);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,10,5),"dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#999999;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-118,410);a.vertex=!0;b.insert(a);
a=new mxCell("5:30 PM",new mxGeometry(1,0,70,40),"text;fontSize\x3d15;fontColor\x3d#000000;spacingTop\x3d0;verticalAlign\x3dbottom;spacingBottom\x3d2;spacingLeft\x3d0;spacing\x3d8;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-98,393);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,10,5),"dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#999999;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-27,410);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.0419,
0,328,10),"dashed\x3d0;shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,428);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.0419,0,328,10),"dashed\x3d0;shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,560);a.vertex=!0;b.insert(a);a=new mxCell("All-Day",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d30;fontSize\x3d15;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,456);a.vertex=!0;b.insert(a);a=new mxCell("Pacific Standard Time",new mxGeometry(0,0,358,15),"text;fontSize\x3d17;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,536);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,10,5),"dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#999999;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(-27,539);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",
new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Fullscreen dialog")}),this.addEntry("gmdl google media design library dialog dialog scrollable list",
function(){var b=new mxCell("",new mxGeometry(0,0,280,270),"shape\x3drect;fontSize\x3d18;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("None",new mxGeometry(0,0,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;fontSize\x3d15;fontColor\x3d#000000;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d20;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;
a.geometry.offset=new mxPoint(16,55);a.vertex=!0;b.insert(a);a=new mxCell("Callisto",new mxGeometry(0,0,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;fontSize\x3d15;fontColor\x3d#000000;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d20;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,102);a.vertex=!0;b.insert(a);a=new mxCell("Ganymede",new mxGeometry(0,
0,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;fontSize\x3d15;fontColor\x3d#000000;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d20;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,157);a.vertex=!0;b.insert(a);a=new mxCell("Luna",new mxGeometry(0,0,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;fontSize\x3d15;fontColor\x3d#000000;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d20;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;strokeWidth\x3d2;strokeColor\x3d#009688;fillColor\x3d#009688;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,202);a.vertex=!0;b.insert(a);a=new mxCell("Phone Ringtone",new mxGeometry(0,0,280,58),"shape\x3drect;fontSize\x3d17;fontColor\x3d#000000;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;spacing\x3d16;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,280,52),"shape\x3drect;fontSize\x3d17;fontColor\x3d#000000;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;spacing\x3d16;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-52);a.vertex=!0;b.insert(a);a=new mxCell("CANCEL",new mxGeometry(1,1,60,52),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-140,-52);a.vertex=!0;b.insert(a);a=new mxCell("OK",new mxGeometry(1,1,80,52),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-80,-52);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],280,270,"Dialog with scrollable list")}),this.addEntry("gmdl google media design library dialog dialog scrollable list",function(){var b=new mxCell("Discard draft?",new mxGeometry(0,0,280,112),"shape\x3drect;fontSize\x3d18;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;fontSize\x3d17;fontColor\x3d#666666;align\x3dleft;spacing\x3d16;align\x3dleft;verticalAlign\x3dtop;");
b.vertex=!0;var a=new mxCell("CANCEL",new mxGeometry(1,1,70,52),"text;fontSize\x3d13;fontColor\x3d#0083F1;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-160,-52);a.vertex=!0;b.insert(a);a=new mxCell("DISCARD",new mxGeometry(1,1,90,52),"text;fontSize\x3d13;fontColor\x3d#0083F1;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(-90,-52);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],280,112,"Dialog with scrollable list")}),this.addEntry("gmdl google media design library dialog simple dialog",function(){var b=new mxCell("Set backup account",new mxGeometry(0,0,280,250),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;fontSize\x3d20;fontColor\x3d#000000;align\x3dleft;spacing\x3d16;verticalAlign\x3dtop;fontStyle\x3d0;spacingTop\x3d-5;recursiveResize\x3d0");
b.vertex=!0;var a=new mxCell("username@gmail.com",new mxGeometry(15,65,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;fontSize\x3d15;fontColor\x3d#000000;align\x3dleft;spacing\x3d16;verticalAlign\x3dmiddle;fillColor\x3d#5E97F6;strokeColor\x3dnone;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;");a.vertex=!0;b.insert(a);a=new mxCell("user02@gmail.com",new mxGeometry(15,130,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;fontSize\x3d15;fontColor\x3d#000000;align\x3dleft;spacing\x3d16;verticalAlign\x3dmiddle;fillColor\x3d#5E97F6;strokeColor\x3dnone;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;");
a.vertex=!0;b.insert(a);a=new mxCell("add account",new mxGeometry(15,195,40,40),"shape\x3dellipse;fontSize\x3d15;fontColor\x3d#000000;align\x3dleft;spacing\x3d16;verticalAlign\x3dmiddle;fillColor\x3d#bdbdbd;strokeColor\x3dnone;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;");a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(12,12,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.plus;strokeColor\x3d#ffffff;strokeWidth\x3d2;");e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],
280,250,"Simple dialog")}),this.addEntry("gmdl google media design library dialog confirmation dialog",function(){var b=new mxCell("Phone ringtone",new mxGeometry(0,0,280,520),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;fontSize\x3d20;fontColor\x3d#000000;spacingTop\x3d-7;spacing\x3d20;labelPosition\x3dcenter;align\x3dleft;verticalAlign\x3dtop;");b.vertex=!0;var a=new mxCell("None",new mxGeometry(0,0,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;fontSize\x3d16;fontColor\x3d#000000;spacingTop\x3d0;spacing\x3d20;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;strokeWidth\x3d2;strokeColor\x3d#666666;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,71);a.vertex=!0;b.insert(a);a=new mxCell("Callisto",new mxGeometry(0,0,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;fontSize\x3d16;fontColor\x3d#000000;spacingTop\x3d0;spacing\x3d20;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,122);a.vertex=!0;b.insert(a);a=new mxCell("Dione",new mxGeometry(0,
0,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;fontSize\x3d16;fontColor\x3d#000000;spacingTop\x3d0;spacing\x3d20;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,173);a.vertex=!0;b.insert(a);a=new mxCell("Ganymede",new mxGeometry(0,0,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;fontSize\x3d16;fontColor\x3d#000000;spacingTop\x3d0;spacing\x3d20;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;strokeWidth\x3d2;strokeColor\x3d#666666;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,224);a.vertex=!0;b.insert(a);a=new mxCell("Hangouts Call",new mxGeometry(0,0,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;fontSize\x3d16;fontColor\x3d#000000;spacingTop\x3d0;spacing\x3d20;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,275);a.vertex=!0;b.insert(a);a=new mxCell("Luna",new mxGeometry(0,
0,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;fontSize\x3d16;fontColor\x3d#000000;spacingTop\x3d0;spacing\x3d20;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;strokeWidth\x3d2;strokeColor\x3d#009688;fillColor\x3d#009688;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,326);a.vertex=!0;b.insert(a);a=new mxCell("Oberon",new mxGeometry(0,0,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;fontSize\x3d16;fontColor\x3d#000000;spacingTop\x3d0;spacing\x3d20;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;strokeWidth\x3d2;strokeColor\x3d#666666;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,377);a.vertex=!0;b.insert(a);a=new mxCell("Phobos",new mxGeometry(0,0,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;fontSize\x3d16;fontColor\x3d#000000;spacingTop\x3d0;spacing\x3d20;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,428);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,
280,52),"shape\x3drect;fontSize\x3d17;fontColor\x3d#000000;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-52);a.vertex=!0;b.insert(a);a=new mxCell("CANCEL",new mxGeometry(1,1,70,52),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-160,-52);a.vertex=
!0;b.insert(a);a=new mxCell("OK",new mxGeometry(1,1,90,52),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-90,-52);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],280,520,"Confirmation dialog")})];this.addPalette("gmdlDialogs","GMDL / Dialogs",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};
Sidebar.prototype.addGMDLDividersPalette=function(b){var c=this,f=[this.addEntry("gmdl google media design library divider email list full bleed divider",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;fontSize\x3d13;align\x3dright;fillColor\x3d#C2185B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Inbox",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#E91E63;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;spacingTop\x3d-4;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3d#ffffff;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-78,-8);e.vertex=!0;
a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,20,20),"ellipse;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-37,-10);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(5,6,12,8),"dashed\x3d0;shape\x3dmxgraph.gmdl.check;strokeColor\x3d#E91E63;fillColor\x3dnone;strokeWidth\x3d2;");a.vertex=!0;e.insert(a);e=new mxCell("Ali Connors",new mxGeometry(0,0,358,86),"shape\x3drect;fontSize\x3d16;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d16;spacingTop\x3d-10;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,81);e.vertex=!0;b.insert(e);a=new mxCell("Brunch this weekend?",new mxGeometry(0,0,300,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,31);a.vertex=!0;e.insert(a);a=new mxCell("I'll be in your neighbourheed doing errands ...",new mxGeometry(0,0,300,20),"text;fontSize\x3d13;verticalAlign\x3dtop;spacingLeft\x3d16;fontColor\x3d#999999;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,50);a.vertex=!0;e.insert(a);a=new mxCell("15 min",new mxGeometry(1,0,80,20),"text;fontSize\x3d12;verticalAlign\x3dtop;spacingLeft\x3d16;align\x3dright;spacingTop\x3d2;spacingRight\x3d16;fontColor\x3d#999999;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-80,0);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0,17,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#B3B3B3;fillColor\x3d#ffffff;strokeWidth\x3d2;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(-39,50);a.vertex=!0;e.insert(a);e=new mxCell("me, Scott, Jennifer",new mxGeometry(0,0,358,86),"shape\x3drect;fontSize\x3d16;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d16;spacingTop\x3d-10;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,167);e.vertex=!0;b.insert(e);a=new mxCell("Summer BBQ",new mxGeometry(0,0,300,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;spacingLeft\x3d16;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,31);a.vertex=!0;e.insert(a);a=new mxCell("Wish I could come, but I'm out of town this ...",new mxGeometry(0,0,300,20),"text;fontSize\x3d13;verticalAlign\x3dtop;spacingLeft\x3d16;fontColor\x3d#999999;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,50);a.vertex=!0;e.insert(a);a=new mxCell("2 hr",new mxGeometry(1,0,80,20),"text;fontSize\x3d12;verticalAlign\x3dtop;spacingLeft\x3d16;align\x3dright;spacingTop\x3d2;spacingRight\x3d16;fontColor\x3d#999999;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-80,0);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0,17,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#B3B3B3;fillColor\x3d#ffffff;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-39,50);a.vertex=!0;e.insert(a);e=new mxCell("Sandra Adams",new mxGeometry(0,0,358,86),"shape\x3drect;fontSize\x3d16;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d16;spacingTop\x3d-10;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,253);e.vertex=!0;b.insert(e);a=new mxCell("Oui oui",new mxGeometry(0,0,300,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,31);a.vertex=!0;e.insert(a);a=new mxCell("Do you have any recommendations? Have ...",new mxGeometry(0,0,300,20),"text;fontSize\x3d13;verticalAlign\x3dtop;spacingLeft\x3d16;fontColor\x3d#999999;resizeWidth\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,50);a.vertex=!0;e.insert(a);a=new mxCell("6 hr",new mxGeometry(1,0,80,20),"text;fontSize\x3d12;verticalAlign\x3dtop;spacingLeft\x3d16;align\x3dright;spacingTop\x3d2;spacingRight\x3d16;fontColor\x3d#999999;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-80,0);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0,17,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#B3B3B3;fillColor\x3d#ffffff;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(-39,50);a.vertex=!0;e.insert(a);e=new mxCell("Trevor Hansen",new mxGeometry(0,0,358,86),"shape\x3drect;fontSize\x3d16;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d16;spacingTop\x3d-10;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,339);e.vertex=!0;b.insert(e);a=new mxCell("Birthday gift",new mxGeometry(0,0,300,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,31);a.vertex=!0;e.insert(a);a=new mxCell("Have any ideas about what to get Heidi for ...",new mxGeometry(0,0,300,20),"text;fontSize\x3d13;verticalAlign\x3dtop;spacingLeft\x3d16;fontColor\x3d#999999;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,50);a.vertex=!0;e.insert(a);a=new mxCell("12 hr",new mxGeometry(1,0,80,20),"text;fontSize\x3d12;verticalAlign\x3dtop;spacingLeft\x3d16;align\x3dright;spacingTop\x3d2;spacingRight\x3d16;fontColor\x3d#999999;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-80,0);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0,17,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#B3B3B3;fillColor\x3d#ffffff;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-39,50);a.vertex=!0;e.insert(a);e=new mxCell("Britta Holt",new mxGeometry(0,0,358,86),"shape\x3drect;fontSize\x3d16;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d16;spacingTop\x3d-10;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,425);e.vertex=!0;b.insert(e);a=new mxCell("Recipe to try",new mxGeometry(0,0,300,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,31);a.vertex=!0;e.insert(a);a=new mxCell("We should eat this: grated squash, corn and ...",new mxGeometry(0,0,300,20),"text;fontSize\x3d13;verticalAlign\x3dtop;spacingLeft\x3d16;fontColor\x3d#999999;resizeWidth\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,50);a.vertex=!0;e.insert(a);a=new mxCell("18 hr",new mxGeometry(1,0,80,20),"text;fontSize\x3d12;verticalAlign\x3dtop;spacingLeft\x3d16;align\x3dright;spacingTop\x3d2;spacingRight\x3d16;fontColor\x3d#999999;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-80,0);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0,17,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#B3B3B3;fillColor\x3d#ffffff;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(-39,50);a.vertex=!0;e.insert(a);e=new mxCell("David Park",new mxGeometry(0,0,358,86),"shape\x3drect;fontSize\x3d16;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d16;spacingTop\x3d-10;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,511);e.vertex=!0;b.insert(e);a=new mxCell("Giants game",new mxGeometry(0,0,300,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;
a.geometry.offset=new mxPoint(0,31);a.vertex=!0;e.insert(a);a=new mxCell("Any interest in seeing the Giants play next ...",new mxGeometry(0,0,300,20),"text;fontSize\x3d13;verticalAlign\x3dtop;spacingLeft\x3d16;fontColor\x3d#999999;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,50);a.vertex=!0;e.insert(a);a=new mxCell("23 hr",new mxGeometry(1,0,80,20),"text;fontSize\x3d12;verticalAlign\x3dtop;spacingLeft\x3d16;align\x3dright;spacingTop\x3d2;spacingRight\x3d16;fontColor\x3d#999999;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-80,0);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0,17,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#B3B3B3;fillColor\x3d#ffffff;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-39,50);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,1,56,56),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#18FFFF;shadow\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-78,-129);a.vertex=
!0;b.insert(a);e=new mxCell("",new mxGeometry(20,20,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.plus;strokeColor\x3d#084560;strokeWidth\x3d2;");e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);
return c.createVertexTemplateFromCells([b],358,642,"Full-bleed dividers")}),this.addEntry("gmdl google media design library divider full bleed divider compose email",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;fontSize\x3d13;align\x3dright;fillColor\x3d#C2185B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Compose",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#E91E63;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d-3;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.left;strokeColor\x3d#ffffff;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,22,22),"dashed\x3d0;shape\x3dmxgraph.gmdl.send;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-35,-11);e.vertex=!0;a.insert(e);a=new mxCell("heyfromjonathan@gmail.com",
new mxGeometry(0,0,358,54),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;spacing\x3d16;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,10,5),"dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-30,-3);e.vertex=!0;a.insert(e);a=new mxCell("To",new mxGeometry(0,0,358,54),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;spacing\x3d16;fontSize\x3d13;fontColor\x3d#bbbbbb;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,135);a.vertex=!0;b.insert(a);a=new mxCell("Subject",new mxGeometry(0,0,358,54),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;spacing\x3d16;fontSize\x3d13;fontColor\x3d#bbbbbb;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,189);a.vertex=!0;b.insert(a);a=new mxCell("Message",new mxGeometry(0,0,358,54),"text;align\x3dleft;spacing\x3d16;fontSize\x3d13;fontColor\x3d#bbbbbb;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,243);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,
-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,
"Full-bleed dividers")}),this.addEntry("gmdl google media design library divider image based content divider",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;fontSize\x3d13;align\x3dright;fillColor\x3d#757575;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;resizeWidth\x3d1;");a.geometry.relative=
!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Albums",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;spacingTop\x3d-4;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.left;strokeColor\x3d#757575;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(24,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,20,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeWidth\x3d2;fillColor\x3dnone;strokeColor\x3d#757575;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-37,-10);e.vertex=!0;a.insert(e);
a=new mxCell("May",new mxGeometry(0,78,358,50),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#757575;align\x3dleft;spacingLeft\x3d10;fontSize\x3d14;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(4,128,115,115),"dashed\x3d0;shape\x3dmxgraph.gmdl.image;strokeColor\x3d#bbbbbb;fillColor\x3d#ffffff;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(122,128,115,115),"dashed\x3d0;shape\x3dmxgraph.gmdl.image;strokeColor\x3d#bbbbbb;fillColor\x3d#ffffff;");a.vertex=!0;
b.insert(a);a=new mxCell("",new mxGeometry(240,128,115,115),"dashed\x3d0;shape\x3dmxgraph.gmdl.image;strokeColor\x3d#bbbbbb;fillColor\x3d#ffffff;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(4,247,115,115),"dashed\x3d0;shape\x3dmxgraph.gmdl.image;strokeColor\x3d#bbbbbb;fillColor\x3d#ffffff;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(122,247,115,115),"dashed\x3d0;shape\x3dmxgraph.gmdl.image;strokeColor\x3d#bbbbbb;fillColor\x3d#ffffff;");a.vertex=!0;b.insert(a);a=new mxCell("",
new mxGeometry(240,247,115,115),"dashed\x3d0;shape\x3dmxgraph.gmdl.image;strokeColor\x3d#bbbbbb;fillColor\x3d#ffffff;");a.vertex=!0;b.insert(a);a=new mxCell("June",new mxGeometry(0,362,358,50),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#757575;align\x3dleft;spacingLeft\x3d10;fontSize\x3d14;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(4,412,115,115),"dashed\x3d0;shape\x3dmxgraph.gmdl.image;strokeColor\x3d#bbbbbb;fillColor\x3d#ffffff;");a.vertex=!0;b.insert(a);a=
new mxCell("",new mxGeometry(122,412,115,115),"dashed\x3d0;shape\x3dmxgraph.gmdl.image;strokeColor\x3d#bbbbbb;fillColor\x3d#ffffff;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(240,412,115,115),"dashed\x3d0;shape\x3dmxgraph.gmdl.image;strokeColor\x3d#bbbbbb;fillColor\x3d#ffffff;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(4,531,115,115),"dashed\x3d0;shape\x3dmxgraph.gmdl.image;strokeColor\x3d#bbbbbb;fillColor\x3d#ffffff;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(122,
531,115,115),"dashed\x3d0;shape\x3dmxgraph.gmdl.image;strokeColor\x3d#bbbbbb;fillColor\x3d#ffffff;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(240,531,115,115),"dashed\x3d0;shape\x3dmxgraph.gmdl.image;strokeColor\x3d#bbbbbb;fillColor\x3d#ffffff;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=
new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Image based content dividers")}),this.addEntry("gmdl google media design library divider full bleed divider",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00796B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#2D3986;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Feed reader",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#009688;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#00423B;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.refresh;strokeColor\x3d#00423B;fillColor\x3d#00423B;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,
-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#00423B;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,358,103),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,81);e.vertex=!0;b.insert(e);a=new mxCell("Day reappeared. The tempest still raged with undiminished",
new mxGeometry(0,0,244,60),"text;whiteSpace\x3dwrap;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-12;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("Corned beef prosciutto ground...",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d13;fontColor\x3d#000000;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,48);a.vertex=!0;e.insert(a);a=new mxCell("10 min",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d12;fontColor\x3d#999999;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,72);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(244,0,112,103),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d12;rectMarginLeft\x3d-12;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");
a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,103),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,184);e.vertex=!0;b.insert(e);a=new mxCell("There were some signs of a calm at noon",new mxGeometry(0,0,244,60),"text;whiteSpace\x3dwrap;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-12;resizeWidth\x3d1;");a.geometry.relative=
!0;a.vertex=!0;e.insert(a);a=new mxCell("Things to enjoy",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d13;fontColor\x3d#000000;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,48);a.vertex=!0;e.insert(a);a=new mxCell("1 hr",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d12;fontColor\x3d#999999;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,72);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(244,0,112,103),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d12;rectMarginLeft\x3d-12;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,103),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,287);e.vertex=!0;b.insert(e);
a=new mxCell("Fun tropical escapes",new mxGeometry(0,0,244,60),"text;whiteSpace\x3dwrap;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-12;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("The night was comparatively quiet. Some of the sails were again.",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d13;fontColor\x3d#000000;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,30);a.vertex=!0;e.insert(a);a=new mxCell("1 hr",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d12;fontColor\x3d#999999;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,72);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(244,0,112,103),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d12;rectMarginLeft\x3d-12;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");
a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,103),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,390);e.vertex=!0;b.insert(e);a=new mxCell("Pork loin sausage shankle, kielbasa bacon beef ribs",new mxGeometry(0,0,244,60),"text;whiteSpace\x3dwrap;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-12;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("Drumstick turkey shoulder square...",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d13;fontColor\x3d#000000;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,48);a.vertex=!0;e.insert(a);a=new mxCell("2 hr",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d12;fontColor\x3d#999999;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,72);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(244,0,112,103),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d12;rectMarginLeft\x3d-12;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,101),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,493);e.vertex=!0;b.insert(e);
a=new mxCell("Cherry blossoms in bloom",new mxGeometry(0,0,244,60),"text;whiteSpace\x3dwrap;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-12;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("Spring is here and we all know...",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d13;fontColor\x3d#000000;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,30);a.vertex=!0;e.insert(a);a=new mxCell("3 hr",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d12;fontColor\x3d#999999;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,72);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(244,0,112,103),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d12;rectMarginLeft\x3d-12;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");
a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,
0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Full-bleed dividers")}),this.addEntry("gmdl google media design library divider inset divider",
function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#2D3986;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#2D3986;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("All",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#394797;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d-3;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0.5,10,5),"dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(104,-3);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,
-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,-8);e.vertex=!0;a.insert(e);a=new mxCell("Janet Perkins",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;spacingLeft\x3d72;align\x3dleft;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,23,21),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3dnone;fillColor\x3d#D3396E;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-11);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Mary Johnson",new mxGeometry(0,0,
358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,136);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Peter Carlsson",new mxGeometry(0,
0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,191);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Trevor Hansen",new mxGeometry(0,
0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,246);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0.2011,
0,286,8),"shape\x3dline;strokeColor\x3d#eeeeee;strokeWidth\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("Aaron Bennett",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,319);a.vertex=!0;b.insert(a);e=new mxCell("A",new mxGeometry(0,
0.5,24,24),"text;fontSize\x3d24;fontColor\x3d#D3396E;verticalAlign\x3dmiddle;fontStyle\x3d0;align\x3dcenter;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-12);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Abbey Christensen",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,374);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Ali Connors",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,429);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Alex Nelson",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,484);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Anthony Stevens",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,539);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;
b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,
14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Inset dividers")})];this.addPalette("gmdlDividers","GMDL / Dividers",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLGridListsPalette=function(b){var c=this,f=[this.addEntry("gmdl google media design library grid list grid titles",
function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#0288D1;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#0973AE;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,126),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#03A9F4;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.left;strokeColor\x3d#084560;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,20);e.vertex=!0;a.insert(e);
e=new mxCell("tos \x3e",new mxGeometry(0,1,56,24),"text;fontSize\x3d22;fontColor\x3d#57C4F5;spacingTop\x3d-3;verticalAlign\x3dmiddle;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-50);e.vertex=!0;a.insert(e);e=new mxCell("Beach",new mxGeometry(0,1,250,24),"text;fontSize\x3d22;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(56,-50);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#084560;fillColor\x3dnone;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-73,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,18,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.menu;strokeColor\x3dnone;fillColor\x3d#084560;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,17);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,179,179),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d4;rectMarginBottom\x3d-2;rectMarginRight\x3d-2;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,150);e.vertex=!0;b.insert(e);a=new mxCell("IMG_4130.jpg",new mxGeometry(0,1,179,50),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMarginLeft\x3d4;rectMarginRight\x3d2;rectMarginBottom\x3d2;strokeColor\x3dnone;whiteSpace\x3dwrap;fontColor\x3d#ffffff;verticalAlign\x3dmiddle;align\x3dleft;fontSize\x3d15;spacing\x3d20;spacingBottom\x3d0;spacingTop\x3d0;fillColor\x3d#000000;opacity\x3d25;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,-50);a.vertex=!0;e.insert(a);e=new mxCell("i",new mxGeometry(1,0.5,16,16),"shape\x3dellipse;fillColor\x3d#cccccc;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,-8);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#1AD2D2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(18,130);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.5,
0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.plus;strokeColor\x3d#084560;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0,179,179),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d2;rectMarginTop\x3d2;rectMarginRight\x3d2;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,150);e.vertex=!0;b.insert(e);
a=new mxCell("IMG_4131.jpg",new mxGeometry(0,1,179,50),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMarginLeft\x3d2;rectMarginBottom\x3d2;rectMarginRight\x3d4;whiteSpace\x3dwrap;strokeColor\x3dnone;fontColor\x3d#ffffff;verticalAlign\x3dmiddle;align\x3dleft;fontSize\x3d15;spacing\x3d20;spacingBottom\x3d0;spacingTop\x3d0;fillColor\x3d#000000;opacity\x3d25;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-50);a.vertex=!0;e.insert(a);e=new mxCell("i",new mxGeometry(1,0.5,
16,16),"shape\x3dellipse;fillColor\x3d#cccccc;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0.2788,179,179),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d2;rectMarginLeft\x3d2;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,150);e.vertex=!0;b.insert(e);
a=new mxCell("IMG_4132.jpg",new mxGeometry(0,1,179,50),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d2;rectMarginLeft\x3d2;whiteSpace\x3dwrap;strokeColor\x3dnone;fontColor\x3d#ffffff;verticalAlign\x3dmiddle;align\x3dleft;fontSize\x3d15;spacing\x3d20;spacingBottom\x3d0;spacingTop\x3d0;fillColor\x3d#000000;opacity\x3d25;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-50);a.vertex=!0;e.insert(a);e=new mxCell("i",new mxGeometry(1,0.5,16,16),"shape\x3dellipse;fillColor\x3d#cccccc;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.2788,179,179),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d2;rectMarginRight\x3d2;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,150);e.vertex=!0;b.insert(e);a=new mxCell("IMG_4133.jpg",new mxGeometry(0,1,179,50),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMarginLeft\x3d2;rectMarginBottom\x3d2;rectMarginRight\x3d4;whiteSpace\x3dwrap;strokeColor\x3dnone;fontColor\x3d#ffffff;verticalAlign\x3dmiddle;align\x3dleft;fontSize\x3d15;spacing\x3d20;spacingBottom\x3d0;spacingTop\x3d0;fillColor\x3d#000000;opacity\x3d25;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-50);a.vertex=!0;e.insert(a);e=new mxCell("i",new mxGeometry(1,0.5,16,16),"shape\x3dellipse;fillColor\x3d#cccccc;strokeColor\x3dnone;fontStyle\x3d1;fontColor\x3d#999999;fontSize\x3d12;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,-8);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0.5576,179,100),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d2;rectMarginLeft\x3d2;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,150);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.5,0.5576,179,100),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d2;rectMarginRight\x3d2;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeHeight\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,150);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,
-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Grid titles")}),this.addEntry("gmdl google media design library grid list grid style",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#2D3986;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#2D3986;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=
!0;a.insert(e);a=new mxCell("Favorites",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#394797;resizeWidth\x3d1;fontSize\x3d22;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,-8);e.vertex=!0;a.insert(e);
a=new mxCell("Aaron Bennett",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;resizeWidth\x3d1;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,30),"shape\x3dactor;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-15);e.vertex=
!0;a.insert(e);a=new mxCell("Abbey Christensen",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;resizeWidth\x3d1;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,136);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,30),"shape\x3dactor;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,
-15);e.vertex=!0;a.insert(e);a=new mxCell("Ali Connors",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;resizeWidth\x3d1;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,191);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,30),"shape\x3dactor;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(25,-15);e.vertex=!0;a.insert(e);a=new mxCell("Alex Nelson",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;resizeWidth\x3d1;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,246);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,30),"shape\x3dactor;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;
e.geometry.offset=new mxPoint(25,-15);e.vertex=!0;a.insert(e);a=new mxCell("Anthony Stevens",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;resizeWidth\x3d1;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,301);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,30),"shape\x3dactor;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-15);e.vertex=!0;a.insert(e);a=new mxCell("Ali Connors",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;resizeWidth\x3d1;strokeColor\x3dnone;fillColor\x3d#ffffff;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,356);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,30),"shape\x3dactor;strokeColor\x3dnone;fillColor\x3d#BDBDBD;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-15);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,411);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,20,24),"dashed\x3d0;shape\x3dmxgraph.gmdl.telephone;strokeColor\x3dnone;fillColor\x3d#3F51B5;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-12);e.vertex=
!0;a.insert(e);e=new mxCell("(650) 555-1234",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-21);e.vertex=!0;a.insert(e);e=new mxCell("Mobile",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);e=new mxCell("",
new mxGeometry(1,0.5,17,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.hangout;strokeColor\x3dnone;fillColor\x3d#BDBDBD;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-40,-10);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,476);a.vertex=!0;b.insert(a);e=new mxCell("(323) 555-6789",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-21);e.vertex=!0;a.insert(e);e=new mxCell("Work",new mxGeometry(0,0.5,150,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,17,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.hangout;strokeColor\x3dnone;fillColor\x3d#BDBDBD;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-40,-10);e.vertex=!0;
a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,
14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Grid Style")}),this.addEntry("gmdl google media design library grid list grid style",
function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#2D3986;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#2D3986;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Favorites",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#394797;resizeWidth\x3d1;fontSize\x3d22;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,
-8);e.vertex=!0;a.insert(e);a=new mxCell("Aaron Bennett",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;resizeWidth\x3d1;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,30),"shape\x3dactor;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(25,-15);e.vertex=!0;a.insert(e);a=new mxCell("Abbey Christensen",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,136);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,30),"shape\x3dactor;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(25,-15);e.vertex=!0;a.insert(e);a=new mxCell("Ali Connors",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,191);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,30),"shape\x3dactor;strokeColor\x3dnone;fillColor\x3d#BDBDBD;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(25,-15);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,246);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,20,24),"dashed\x3d0;shape\x3dmxgraph.gmdl.telephone;strokeColor\x3dnone;fillColor\x3d#3F51B5;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-12);e.vertex=!0;a.insert(e);e=new mxCell("(650) 555-1234",
new mxGeometry(0,0.5,358,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-21);e.vertex=!0;a.insert(e);e=new mxCell("Mobile",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,17,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.hangout;strokeColor\x3dnone;fillColor\x3d#BDBDBD;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-40,-10);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,311);a.vertex=!0;b.insert(a);e=new mxCell("(323) 555-6789",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;
e.geometry.offset=new mxPoint(0,-21);e.vertex=!0;a.insert(e);e=new mxCell("Work",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,17,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.hangout;strokeColor\x3dnone;fillColor\x3d#BDBDBD;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-40,-10);e.vertex=!0;a.insert(e);a=new mxCell("",
new mxGeometry(0.2011,0,286,20),"shape\x3dline;strokeColor\x3d#000000;strokeWidth\x3d1;opacity\x3d20;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,376);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,396);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.mail;strokeColor\x3d#ffffff;fillColor\x3d#3F51B5;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(24,-8);e.vertex=!0;a.insert(e);e=new mxCell("aliconnors@example.com",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-21);e.vertex=!0;a.insert(e);e=new mxCell("Personal",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");
e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,65),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,451);a.vertex=!0;b.insert(a);e=new mxCell("ali_connors@example.com",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,
-21);e.vertex=!0;a.insert(e);e=new mxCell("Work",new mxGeometry(0,0.5,358,20),"text;fontSize\x3d13;fontColor\x3d#504F4F;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,
14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Grid Style")}),this.addEntry("gmdl google media design library grid list two line grid list",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#000000;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#000000;strokeColor\x3dnone;fontColor\x3d#ffffff;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Browse",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#222222;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.left;strokeColor\x3d#ffffff;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(25,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,179,183),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d2;rectMarginTop\x3d2;rectMarginLeft\x3d-2;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,81);e.vertex=!0;b.insert(e);a=new mxCell("Top Lists",new mxGeometry(0,0,179,71),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMarginTop\x3d4;rectMarginRight\x3d2;whiteSpace\x3dwrap;fontColor\x3d#ffffff;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-6;fillColor\x3d#000000;opacity\x3d25;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("Anthony Freeman, Zen",
new mxGeometry(0,0,177,20),"text;whiteSpace\x3dwrap;fontColor\x3d#ffffff;spacingLeft\x3d16;verticalAlign\x3dmiddle;fontSize\x3d11;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0.5,0,179,183),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d2;rectMarginTop\x3d2;rectMarginRight\x3d-2;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(0,81);e.vertex=!0;b.insert(e);a=new mxCell("Alternative",new mxGeometry(0,0,179,71),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMarginTop\x3d4;rectMarginLeft\x3d2;whiteSpace\x3dwrap;fontColor\x3d#ffffff;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d18;spacingBottom\x3d0;spacingTop\x3d-6;fillColor\x3d#000000;opacity\x3d25;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("Hellhounds, Felix White and ...",new mxGeometry(0,
0,177,20),"text;whiteSpace\x3dwrap;fontColor\x3d#ffffff;spacingLeft\x3d18;verticalAlign\x3dmiddle;fontSize\x3d11;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0.285,179,181),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d2;rectMarginLeft\x3d-2;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,81);e.vertex=
!0;b.insert(e);a=new mxCell("Dance",new mxGeometry(0,0,179,69),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMarginTop\x3d2;rectMarginRight\x3d2;whiteSpace\x3dwrap;fontColor\x3d#ffffff;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-8;fillColor\x3d#000000;opacity\x3d25;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("Mirah McNeil, Paul Nixon",new mxGeometry(0,0,177,20),"text;whiteSpace\x3dwrap;fontColor\x3d#ffffff;spacingLeft\x3d16;verticalAlign\x3dmiddle;fontSize\x3d11;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0.5,0.285,179,181),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d2;rectMarginRight\x3d-2;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,81);e.vertex=!0;b.insert(e);a=new mxCell("Electronic",new mxGeometry(0,0,179,69),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMarginTop\x3d2;rectMarginLeftt\x3d2;whiteSpace\x3dwrap;fontColor\x3d#ffffff;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d18;spacingBottom\x3d0;spacingTop\x3d-8;fillColor\x3d#000000;opacity\x3d25;strokeColor\x3dnone;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("Tronixx, Astral Revival",new mxGeometry(0,0,177,20),"text;whiteSpace\x3dwrap;fontColor\x3d#ffffff;spacingLeft\x3d18;verticalAlign\x3dmiddle;fontSize\x3d11;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0.567,179,181),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d2;rectMarginLeft\x3d-2;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,81);e.vertex=!0;b.insert(e);a=new mxCell("Pop",new mxGeometry(0,0,179,69),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMarginTop\x3d2;rectMarginRight\x3d2;whiteSpace\x3dwrap;fontColor\x3d#ffffff;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-8;fillColor\x3d#000000;opacity\x3d25;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("Sun, Bad Joke",
new mxGeometry(0,0,177,20),"text;whiteSpace\x3dwrap;fontColor\x3d#ffffff;spacingLeft\x3d16;verticalAlign\x3dmiddle;fontSize\x3d11;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0.5,0.567,179,181),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d2;rectMarginRight\x3d-2;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,
81);e.vertex=!0;b.insert(e);a=new mxCell("R \x26 B",new mxGeometry(0,0,179,69),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMarginTop\x3d2;rectMarginLeft\x3d2;whiteSpace\x3dwrap;fontColor\x3d#ffffff;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d18;spacingBottom\x3d0;spacingTop\x3d-8;fillColor\x3d#000000;opacity\x3d25;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("Brooklyn All Stars, Kelly ...",new mxGeometry(0,0,177,20),"text;whiteSpace\x3dwrap;fontColor\x3d#ffffff;spacingLeft\x3d18;verticalAlign\x3dmiddle;fontSize\x3d11;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;e.insert(a);a=new mxCell('Lights and Camera \x3cfont color\x3d"#999999" style\x3d"font-weight: normal"\x3eYuna\x3c/font\x3e',new mxGeometry(0.162,1,300,50),"dashed\x3d0;shape\x3dmxgraph.gmdl.player;fontColor\x3d#666666;fontSize\x3d13;fontStyle\x3d1;align\x3dleft;spacingLeft\x3d16;html\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-98);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,
358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Two-line grid list")}),this.addEntry("gmdl google media design library grid list two line grid list",function(){var b=new mxCell("",new mxGeometry(0,0,358,
642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#1976D2;strokeColor\x3dnone;fontColor\x3d#ffffff;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,110),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#2196F3;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("Search People \x26 Places",new mxGeometry(0,0,358,60),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d6;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#B3B3B3;fontSize\x3d13;spacingRight\x3d50;resizeWidth\x3d1;");
e.geometry.relative=!0;e.vertex=!0;a.insert(e);var f=new mxCell("",new mxGeometry(0,0.5,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(22,-9);f.vertex=!0;e.insert(f);f=new mxCell("",new mxGeometry(1,0.5,11,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.voice;strokeColor\x3d#666666;fillColor\x3d#666666;strokeWidth\x3d2;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-70,-10);f.vertex=
!0;e.insert(f);f=new mxCell("",new mxGeometry(1,0.5,6,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#666666;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-31,-9);f.vertex=!0;e.insert(f);e=new mxCell("SPEED DIAL",new mxGeometry(0,1,119,48),"text;align\x3dcenter;fontColor\x3d#FFFFFF;fontStyle\x3d0;verticalAlign\x3dmiddle;fontSize\x3d14;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("RECENTS",
new mxGeometry(0.3333,1,119,48),"text;align\x3dcenter;fontColor\x3d#FFFFFF;fontStyle\x3d0;verticalAlign\x3dmiddle;fontSize\x3d14;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("CONTACTS",new mxGeometry(0.6667,1,119,48),"text;align\x3dcenter;fontColor\x3d#FFFFFF;fontStyle\x3d0;verticalAlign\x3dmiddle;fontSize\x3d14;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);a=new mxCell("Mobile",
new mxGeometry(0,0,178,136),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;align\x3dleft;verticalAlign\x3dbottom;spacing\x3d0;spacingLeft\x3d16;spacingBottom\x3d8;fontColor\x3d#FFFFFF;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,135);a.vertex=!0;b.insert(a);e=new mxCell("Ali Connors \x26#9733;",new mxGeometry(0,1,178,20),"text;whiteSpace\x3dwrap;fontColor\x3d#ffffff;spacingLeft\x3d16;verticalAlign\x3dmiddle;fontSize\x3d14;html\x3d1;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-44);e.vertex=!0;a.insert(e);a=new mxCell("Mobile",new mxGeometry(0.5,0,179,136),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;align\x3dleft;verticalAlign\x3dbottom;spacing\x3d0;spacingLeft\x3d16;spacingBottom\x3d8;fontColor\x3d#FFFFFF;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,135);a.vertex=!0;b.insert(a);e=new mxCell("Abbey Christensen \x26#9733;",new mxGeometry(0,1,179,
20),"text;whiteSpace\x3dwrap;fontColor\x3d#ffffff;spacingLeft\x3d16;verticalAlign\x3dmiddle;fontSize\x3d14;html\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-44);e.vertex=!0;a.insert(e);a=new mxCell("Mobile",new mxGeometry(0,0.2134,178,136),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;align\x3dleft;verticalAlign\x3dbottom;spacing\x3d0;spacingLeft\x3d16;spacingBottom\x3d8;fontColor\x3d#FFFFFF;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,135);a.vertex=!0;b.insert(a);e=new mxCell("Mary Johnson \x26#9733;",new mxGeometry(0,1,178,20),"text;whiteSpace\x3dwrap;fontColor\x3d#ffffff;spacingLeft\x3d16;verticalAlign\x3dmiddle;fontSize\x3d14;html\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-44);e.vertex=!0;a.insert(e);a=new mxCell("Mobile",new mxGeometry(0.5,0.2134,179,136),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;align\x3dleft;verticalAlign\x3dbottom;spacing\x3d0;spacingLeft\x3d16;spacingBottom\x3d8;fontColor\x3d#FFFFFF;resizeWidth\x3d1;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,135);a.vertex=!0;b.insert(a);e=new mxCell("Britta Holt \x26#9733;",new mxGeometry(0,1,179,20),"text;whiteSpace\x3dwrap;fontColor\x3d#ffffff;spacingLeft\x3d16;verticalAlign\x3dmiddle;fontSize\x3d14;html\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-44);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0.4268,178,136),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,135);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.5,0.4268,179,136),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,135);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0.6402,178,70),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;
a.geometry.offset=new mxPoint(0,135);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.5,0.6402,179,70),"shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;shadow\x3d0;resizeWidth\x3d1;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,135);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.5,1,56,56),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#2196F3;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-28,-119);a.vertex=!0;b.insert(a);e=new mxCell("",
new mxGeometry(20,18,16,22),"dashed\x3d0;shape\x3dmxgraph.gmdl.more2;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);
return c.createVertexTemplateFromCells([b],358,642,"Two-line grid list")})];this.addPalette("gmdlGrid Lists","GMDL / Grid Lists",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLIconsPalette=function(b){var c=[this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.edit;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",20,20,"","Edit",null,null,this.getTagsForStencil("mxgraph.gmdl","edit","gmdl google media design library icon ").join(" ")),
this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.star;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",20,20,"","Star",null,null,this.getTagsForStencil("mxgraph.gmdl","star","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.heart;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",20,18,"","Heart",null,null,this.getTagsForStencil("mxgraph.gmdl","heart","gmdl google media design library icon ").join(" ")),
this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.reply;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",20,18,"","Reply",null,null,this.getTagsForStencil("mxgraph.gmdl","reply","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.users;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",24,16,"","Users",null,null,this.getTagsForStencil("mxgraph.gmdl","users","gmdl google media design library icon ").join(" ")),
this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.gps;strokeColor\x3d#737373;fillColor\x3d#737373;shadow\x3d0;strokeWidth\x3d2;",20,20,"","GPS",null,null,this.getTagsForStencil("mxgraph.gmdl","gps","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.share2;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",20,20,"","Share",null,null,this.getTagsForStencil("mxgraph.gmdl","share","gmdl google media design library icon ").join(" ")),
this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.navigate;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",20,20,"","Navigate",null,null,this.getTagsForStencil("mxgraph.gmdl","navigate","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.chat;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",20,20,"","Chat",null,null,this.getTagsForStencil("mxgraph.gmdl","chat","gmdl google media design library icon ").join(" ")),
this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.voice;strokeColor\x3d#737373;fillColor\x3d#737373;shadow\x3d0;strokeWidth\x3d2;",12,20,"","Voice",null,null,this.getTagsForStencil("mxgraph.gmdl","voice","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.google;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",16,24,"","Google",null,null,this.getTagsForStencil("mxgraph.gmdl","google",
"gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.video;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",24,16,"","Video",null,null,this.getTagsForStencil("mxgraph.gmdl","video","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.gallery;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",24,22,"","Gallery",null,null,this.getTagsForStencil("mxgraph.gmdl",
"gallery","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.birthday;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",24,22,"","Birthday",null,null,this.getTagsForStencil("mxgraph.gmdl","birthday","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.cloud;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",24,16,"","Cloud",
null,null,this.getTagsForStencil("mxgraph.gmdl","cloud","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.x;strokeColor\x3d#737373;fillColor\x3d#737373;shadow\x3d0;strokeWidth\x3d2;",16,16,"","X",null,null,this.getTagsForStencil("mxgraph.gmdl","x","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.bookmark;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",
12,20,"","Bookmark",null,null,this.getTagsForStencil("mxgraph.gmdl","bookmark","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.calendar;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",20,20,"","Calendar",null,null,this.getTagsForStencil("mxgraph.gmdl","calendar","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.attractions;strokeColor\x3d#ffffff;fillColor\x3d#737373;shadow\x3d0;strokeWidth\x3d1;",
22,18,"","Attraction",null,null,this.getTagsForStencil("mxgraph.gmdl","attraction","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.dining;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",18,20,"","Dining",null,null,this.getTagsForStencil("mxgraph.gmdl","dining","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.education;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",
20,20,"","Education",null,null,this.getTagsForStencil("mxgraph.gmdl","education","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.family;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",20,20,"","Family",null,null,this.getTagsForStencil("mxgraph.gmdl","family","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.health;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",
20,18,"","Health",null,null,this.getTagsForStencil("mxgraph.gmdl","health","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.office;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",20,20,"","Office",null,null,this.getTagsForStencil("mxgraph.gmdl","office","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.promotions;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",
20,20,"","Promotion",null,null,this.getTagsForStencil("mxgraph.gmdl","promotion","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.radio;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",20,20,"","Radio",null,null,this.getTagsForStencil("mxgraph.gmdl","radio","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.recipes;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",
20,20,"","Recipe",null,null,this.getTagsForStencil("mxgraph.gmdl","recipe","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.sports;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;",20,20,"","Sports",null,null,this.getTagsForStencil("mxgraph.gmdl","sports","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;aspect\x3dfixed;shape\x3dmxgraph.gmdl.travel;strokeColor\x3dnone;fillColor\x3d#737373;shadow\x3d0;direction\x3dsouth;",
20,20,"","Travel",null,null,this.getTagsForStencil("mxgraph.gmdl","travel","gmdl google media design library icon ").join(" "))];this.addPalette("gmdlIcons","GMDL / Icons",b||!1,mxUtils.bind(this,function(b){for(var d=0;d<c.length;d++)b.appendChild(c[d](b))}))};Sidebar.prototype.addGMDLListsPalette=function(b){var c=this,f=[this.addEntry("gmdl google media design library list scannable list",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00796B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#2D3986;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=
!0;a.insert(e);a=new mxCell("Feed reader",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#009688;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#00423B;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.refresh;strokeColor\x3d#00423B;fillColor\x3d#00423B;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#00423B;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,-8);e.vertex=
!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,358,103),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,81);e.vertex=!0;b.insert(e);a=new mxCell("Day reappeared. The tempest still raged with undiminished",new mxGeometry(0,0,244,60),"text;whiteSpace\x3dwrap;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-12;resizeWidth\x3d1;");a.geometry.relative=
!0;a.vertex=!0;e.insert(a);a=new mxCell("Corned beef prosciutto ground...",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d13;fontColor\x3d#000000;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,48);a.vertex=!0;e.insert(a);a=new mxCell("10 min",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d12;fontColor\x3d#999999;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,72);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(244,0,112,103),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d12;rectMarginLeft\x3d-12;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,103),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,184);e.vertex=!0;b.insert(e);
a=new mxCell("There were some signs of a calm at noon",new mxGeometry(0,0,244,60),"text;whiteSpace\x3dwrap;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-12;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("Things to enjoy",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d13;fontColor\x3d#000000;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,48);a.vertex=!0;e.insert(a);a=new mxCell("1 hr",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d12;fontColor\x3d#999999;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,72);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(244,0,112,103),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d12;rectMarginLeft\x3d-12;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");
a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,103),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,287);e.vertex=!0;b.insert(e);a=new mxCell("Fun tropical escapes",new mxGeometry(0,0,244,60),"text;whiteSpace\x3dwrap;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-12;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=
!0;e.insert(a);a=new mxCell("The night was comparatively quiet. Some of the sails were again.",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d13;fontColor\x3d#000000;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,30);a.vertex=!0;e.insert(a);a=new mxCell("1 hr",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d12;fontColor\x3d#999999;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,72);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(244,0,112,103),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d12;rectMarginLeft\x3d-12;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,103),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,390);e.vertex=!0;b.insert(e);
a=new mxCell("Pork loin sausage shankle, kielbasa bacon beef ribs",new mxGeometry(0,0,244,60),"text;whiteSpace\x3dwrap;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-12;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("Drumstick turkey shoulder square...",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d13;fontColor\x3d#000000;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,48);a.vertex=!0;e.insert(a);a=new mxCell("2 hr",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d12;fontColor\x3d#999999;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,72);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(244,0,112,103),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d12;rectMarginLeft\x3d-12;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");
a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,101),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d0;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,493);e.vertex=!0;b.insert(e);a=new mxCell("Cherry blossoms in bloom",new mxGeometry(0,0,244,60),"text;whiteSpace\x3dwrap;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;fontSize\x3d15;spacing\x3d16;spacingBottom\x3d0;spacingTop\x3d-12;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=
!0;e.insert(a);a=new mxCell("Spring is here and we all know...",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d13;fontColor\x3d#000000;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,30);a.vertex=!0;e.insert(a);a=new mxCell("3 hr",new mxGeometry(0,0,244,20),"text;whiteSpace\x3dwrap;spacingLeft\x3d16;spacingRight\x3d16;spacing\x3d0;fontSize\x3d12;fontColor\x3d#999999;spacingBottom\x3d0;spacingTop\x3d-5;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,72);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(244,0,112,103),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d12;rectMarginLeft\x3d-12;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",
new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Scannable list")}),this.addEntry("gmdl google media design library list item list",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#2D3986;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#2D3986;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#394797;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,
0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,-8);e.vertex=!0;a.insert(e);a=new mxCell("Janet Perkins",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,23,21),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3dnone;fillColor\x3d#D3396E;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-11);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Mary Johnson",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,136);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Peter Carlsson",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,191);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Trevor Hansen",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,246);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0.2011,0,286,8),"shape\x3dline;strokeColor\x3d#eeeeee;strokeWidth\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);
a=new mxCell("Aaron Bennett",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,319);a.vertex=!0;b.insert(a);e=new mxCell("A",new mxGeometry(0,0.5,24,24),"text;fontSize\x3d24;fontColor\x3d#D3396E;verticalAlign\x3dmiddle;fontStyle\x3d0;align\x3dcenter;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-12);
e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Abbey Christensen",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
374);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Ali Connors",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
429);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Alex Nelson",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
484);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Anthony Stevens",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,539);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,
0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Item list")}),this.addEntry("gmdl google media design library list item list",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#2D3986;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#2D3986;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#394797;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,
0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,-8);e.vertex=!0;a.insert(e);a=new mxCell("Janet Perkins",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,23,21),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3dnone;fillColor\x3d#D3396E;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-11);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Mary Johnson",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,136);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Peter Carlsson",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,191);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Trevor Hansen",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,246);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0.2011,0,286,8),"shape\x3dline;strokeColor\x3d#eeeeee;strokeWidth\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);
a=new mxCell("Aaron Bennett",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,319);a.vertex=!0;b.insert(a);e=new mxCell("A",new mxGeometry(0,0.5,24,24),"text;fontSize\x3d24;fontColor\x3d#D3396E;verticalAlign\x3dmiddle;fontStyle\x3d0;align\x3dcenter;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-12);
e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Abbey Christensen",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
374);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Ali Connors",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
429);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Alex Nelson",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
484);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("Anthony Stevens",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;resizeWidth\x3d1;fontSize\x3d14;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,539);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,36,36),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-50,-18);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(1,0,168,208),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;shadow\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-178,30);a.vertex=!0;b.insert(a);e=new mxCell("Refresh",new mxGeometry(0,
0,168,52),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);e=new mxCell("Help \x26 feedback",new mxGeometry(0,0,168,52),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,52);e.vertex=!0;a.insert(e);e=new mxCell("Settings",new mxGeometry(0,0,168,52),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,104);e.vertex=!0;a.insert(e);e=new mxCell("Sign out",new mxGeometry(0,0,168,52),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,156);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,
0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Item list")}),this.addEntry("gmdl google media design library list item list",function(){var b=new mxCell("",new mxGeometry(0,0,152,631),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Roboto",new mxGeometry(0,0,152,55),
"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,152,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,50);a.vertex=!0;b.insert(a);a=new mxCell("Arial",new mxGeometry(0,0,152,48),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,55);a.vertex=!0;b.insert(a);a=new mxCell("Calibri",new mxGeometry(0,0,152,48),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,103);a.vertex=!0;b.insert(a);a=new mxCell("Cambria",new mxGeometry(0,0,152,48),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,151);a.vertex=!0;b.insert(a);
a=new mxCell("Comic sans",new mxGeometry(0,0,152,48),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,199);a.vertex=!0;b.insert(a);a=new mxCell("Consolas",new mxGeometry(0,0,152,48),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,247);a.vertex=!0;b.insert(a);a=new mxCell("Corsiva",new mxGeometry(0,
0,152,48),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,295);a.vertex=!0;b.insert(a);a=new mxCell("Courier New",new mxGeometry(0,0,152,48),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,343);a.vertex=!0;b.insert(a);a=new mxCell("Droid Sans",new mxGeometry(0,0,152,48),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,391);a.vertex=!0;b.insert(a);a=new mxCell("Droid Serif",new mxGeometry(0,0,152,48),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,439);a.vertex=!0;b.insert(a);a=new mxCell("Georgia",new mxGeometry(0,0,152,48),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,487);a.vertex=!0;b.insert(a);a=new mxCell("Helvetica Neue",new mxGeometry(0,0,152,48),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,535);a.vertex=!0;b.insert(a);a=new mxCell("Impact",new mxGeometry(0,0,152,48),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,583);a.vertex=!0;b.insert(a);
a=new mxCell("",new mxGeometry(1,0,4,40),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#B3B3B3;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-11,75);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],152,631,"Item list")}),this.addEntry("gmdl google media design library list list style",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,
358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#0973AE;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#0973AE;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,
126),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#098DCA;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#084560;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);e=new mxCell("My Files",new mxGeometry(0,0,358,24),"text;fontSize\x3d22;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,60);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#084560;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-73,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,18,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.rects;strokeColor\x3dnone;fillColor\x3d#084560;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,20);
e.vertex=!0;a.insert(e);a=new mxCell("Folders",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;align\x3dleft;verticalAlign\x3dtop;spacingTop\x3d6;fontSize\x3d13;fontColor\x3d#666666;fontStyle\x3d1;resizeWidth\x3d1;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,150);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#1AD2D2;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(18,130);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.plus;strokeColor\x3d#084560;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);a=new mxCell("Photos",new mxGeometry(0,0,358,65),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;opacity\x3d20;resizeWidth\x3d1;fontSize\x3d17;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;spacingTop\x3d-1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,205);a.vertex=!0;b.insert(a);e=new mxCell("Jan 9, 2014",new mxGeometry(0,0,358,30),"text;fontSize\x3d14;fontColor\x3d#959595;verticalAlign\x3dmiddle;spacingBottom\x3d12;spacingTop\x3d2;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,25);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#959595;");e.geometry.relative=!0;
e.geometry.offset=new mxPoint(18,9);e.vertex=!0;a.insert(e);var f=new mxCell("",new mxGeometry(0.5,0.5,24,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.folder;fillColor\x3d#CFCECE;strokeColor\x3dnone;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-12,-10);f.vertex=!0;e.insert(f);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.info;fillColor\x3d#959595;strokeColor\x3d#CFCECE;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,14);e.vertex=!0;a.insert(e);
a=new mxCell("Create",new mxGeometry(0,0,358,48),"shape\x3drect;dashed\x3d0;strokeColor\x3dnone;fillColor\x3d#ffffff;fontSize\x3d16;fontColor\x3d#959595;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d14;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,270);a.vertex=!0;b.insert(a);a=new mxCell("Document",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d16;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,318);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.doc;fillColor\x3d#4285F4;strokeColor\x3d#FFFFFF;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-9);e.vertex=!0;a.insert(e);a=new mxCell("Spreadsheet",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d16;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,366);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.spreadsheet;fillColor\x3d#0F9D58;strokeColor\x3d#FFFFFF;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-9);e.vertex=!0;a.insert(e);a=new mxCell("Folder",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d16;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,414);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.folder;fillColor\x3d#BDBDBD;strokeColor\x3d#FFFFFF;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-9);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,8),"shape\x3dline;strokeColor\x3d#bbbbbb;strokeWidth\x3d1;opacity\x3d20;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
467);a.vertex=!0;b.insert(a);a=new mxCell("Upload photos or videos",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d16;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,480);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.upload;fillColor\x3d#BDBDBD;strokeColor\x3d#FFFFFF;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(17,-9);e.vertex=!0;a.insert(e);a=new mxCell("Use Camera",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;fontSize\x3d16;fontColor\x3d#000000;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,528);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,17),"dashed\x3d0;shape\x3dmxgraph.gmdl.camera;fillColor\x3d#BDBDBD;strokeColor\x3d#FFFFFF;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(17,-9);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,
-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,
"List Style")}),this.addEntry("gmdl google media design library list avatar text icon",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#0288D1;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=
!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;fillColor\x3d#0973AE;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,126),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#03A9F4;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#084560;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);e=new mxCell("My Files",new mxGeometry(0,0,358,24),"text;fontSize\x3d22;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,60);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#084560;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(-73,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,18,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.rects;strokeColor\x3dnone;fillColor\x3d#084560;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,20);e.vertex=!0;a.insert(e);a=new mxCell("Folders",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;align\x3dleft;verticalAlign\x3dtop;spacingTop\x3d6;fontSize\x3d13;fontColor\x3d#666666;fontStyle\x3d1;resizeWidth\x3d1;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,150);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#18FFFF;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(18,130);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.plus;strokeColor\x3d#0B7676;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);a=new mxCell("Photos",
new mxGeometry(0,0,358,65),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;fontSize\x3d17;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;spacingTop\x3d-1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,205);a.vertex=!0;b.insert(a);e=new mxCell("Jan 9, 2014",new mxGeometry(0,0,358,30),"text;fontSize\x3d14;fontColor\x3d#959595;verticalAlign\x3dmiddle;spacingBottom\x3d12;spacingTop\x3d2;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,25);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#B2B2B2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(18,9);e.vertex=!0;a.insert(e);var f=new mxCell("",new mxGeometry(0.5,0.5,24,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.folder;fillColor\x3d#ffffff;strokeColor\x3dnone;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-12,-10);f.vertex=!0;e.insert(f);e=new mxCell("",
new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.info;fillColor\x3d#B2B2B2;strokeColor\x3d#CFCECE;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,14);e.vertex=!0;a.insert(e);a=new mxCell("Recipes",new mxGeometry(0,0,358,65),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;fontSize\x3d17;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;spacingTop\x3d-1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
270);a.vertex=!0;b.insert(a);e=new mxCell("Jan 17, 2014",new mxGeometry(0,0,358,30),"text;fontSize\x3d14;fontColor\x3d#959595;verticalAlign\x3dmiddle;spacingBottom\x3d12;spacingTop\x3d2;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,25);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#B2B2B2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(18,9);e.vertex=!0;a.insert(e);
f=new mxCell("",new mxGeometry(0.5,0.5,24,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.folder;fillColor\x3d#ffffff;strokeColor\x3dnone;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-12,-10);f.vertex=!0;e.insert(f);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.info;fillColor\x3d#B2B2B2;strokeColor\x3d#CFCECE;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,14);e.vertex=!0;a.insert(e);a=new mxCell("Work",new mxGeometry(0,0,358,65),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;fontSize\x3d17;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;spacingTop\x3d-1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,335);a.vertex=!0;b.insert(a);e=new mxCell("Jan 28, 2014",new mxGeometry(0,0,358,30),"text;fontSize\x3d14;fontColor\x3d#959595;verticalAlign\x3dmiddle;spacingBottom\x3d12;spacingTop\x3d2;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,25);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#B2B2B2;");e.geometry.relative=!0;
e.geometry.offset=new mxPoint(18,9);e.vertex=!0;a.insert(e);f=new mxCell("",new mxGeometry(0.5,0.5,24,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.folder;fillColor\x3d#ffffff;strokeColor\x3dnone;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-12,-10);f.vertex=!0;e.insert(f);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.info;fillColor\x3d#B2B2B2;strokeColor\x3d#CFCECE;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,14);e.vertex=!0;a.insert(e);
a=new mxCell("",new mxGeometry(70,400,288,10),"shape\x3dline;strokeColor\x3d#E6E6E6;");a.vertex=!0;b.insert(a);a=new mxCell("Files",new mxGeometry(0,0,358,55),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;align\x3dleft;verticalAlign\x3dtop;spacingTop\x3d6;fontSize\x3d13;fontColor\x3d#666666;fontStyle\x3d1;resizeWidth\x3d1;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,410);a.vertex=!0;b.insert(a);a=new mxCell("Vacation itinerary",new mxGeometry(0,
0,358,65),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;fontSize\x3d17;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;spacingTop\x3d-1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,465);a.vertex=!0;b.insert(a);e=new mxCell("Jan 20, 2014",new mxGeometry(0,0,358,30),"text;fontSize\x3d14;fontColor\x3d#959595;verticalAlign\x3dmiddle;spacingBottom\x3d12;spacingTop\x3d2;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(0,25);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#2196F3;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(18,9);e.vertex=!0;a.insert(e);f=new mxCell("",new mxGeometry(0.5,0.5,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.doc;fillColor\x3d#ffffff;strokeColor\x3d#2196F3;strokeWidth\x3d2;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-9,-9);f.vertex=!0;e.insert(f);e=new mxCell("",new mxGeometry(1,
0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.info;fillColor\x3d#B2B2B2;strokeColor\x3d#CFCECE;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,14);e.vertex=!0;a.insert(e);a=new mxCell("Kitchen remodel",new mxGeometry(0,0,358,65),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;fontSize\x3d17;fontColor\x3d#000000;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;spacingTop\x3d-1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,530);
a.vertex=!0;b.insert(a);e=new mxCell("Jan 10, 2014",new mxGeometry(0,0,358,30),"text;fontSize\x3d14;fontColor\x3d#959595;verticalAlign\x3dmiddle;spacingBottom\x3d12;spacingTop\x3d2;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,25);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,0,40,40),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#F9CE1D;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(18,9);e.vertex=!0;a.insert(e);
f=new mxCell("",new mxGeometry(0.5,0.5,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.sheet;fillColor\x3d#ffffff;strokeColor\x3dnone;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-9,-9);f.vertex=!0;e.insert(f);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.info;fillColor\x3d#B2B2B2;strokeColor\x3d#CFCECE;fontSize\x3d13;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,14);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);f=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,
-7);f.vertex=!0;a.insert(f);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Avatar with text and icon")}),this.addEntry("gmdl google media design library list three line list",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;fontSize\x3d13;align\x3dright;fillColor\x3d#0097A7;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Inbox",
new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00BAD2;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d-3;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;fillColor\x3d#005864;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,
0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#005864;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-8);e.vertex=!0;a.insert(e);var f=new mxCell("Brunch this weekend?",new mxGeometry(0,0,358,136),"text;fontSize\x3d16;align\x3dleft;verticalAlign\x3dtop;spacingTop\x3d57;resizeWidth\x3d1;spacingLeft\x3d72;resizeWidth\x3d1;strokeColor\x3d#eeeeee;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(0,81);f.vertex=!0;b.insert(f);
e=new mxCell("",new mxGeometry(0,0,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,64);e.vertex=!0;f.insert(e);a=new mxCell('\x3cfont color\x3d"#000000" style\x3d"font-size: 14px"\x3eAli Connors\x3c/font\x3e - I\'ll be in your neighborhood doing errands this weekend. Do you want ...',new mxGeometry(0,0,358,66),"text;fontSize\x3d13;verticalAlign\x3dmiddle;spacingLeft\x3d72;whiteSpace\x3dwrap;fontColor\x3d#666666;html\x3d1;spacingRight\x3d14;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,70);a.vertex=!0;f.insert(a);a=new mxCell("Today",new mxGeometry(0,0,358,40),"text;spacingLeft\x3d16;spacing\x3d2;spacingTop\x3d8;fontSize\x3d14;fontColor\x3d#666666;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);f=new mxCell('Summer BBQ \x3cfont color\x3d"#999999"\x3e4\x3c/font\x3e',new mxGeometry(0,0,358,86),"text;fontSize\x3d16;align\x3dleft;verticalAlign\x3dtop;spacing\x3d16;spacingTop\x3d-6;html\x3d1;spacingLeft\x3d56;resizeWidth\x3d1;strokeColor\x3d#eeeeee;");
f.geometry.relative=!0;f.geometry.offset=new mxPoint(0,217);f.vertex=!0;b.insert(f);e=new mxCell("",new mxGeometry(0,0,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,13);e.vertex=!0;f.insert(e);a=new mxCell('\x3cfont color\x3d"#000000" style\x3d"font-size: 14px"\x3eto Alex, Scott, Jennifer\x3c/font\x3e - Wish I could come, but I\'m out of town this weekend.',new mxGeometry(0,0,358,66),"text;fontSize\x3d13;verticalAlign\x3dtop;whiteSpace\x3dwrap;spacingRight\x3d16;fontColor\x3d#666666;html\x3d1;resizeWidth\x3d1;spacingLeft\x3d72;spacingTop\x3d2;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,30);a.vertex=!0;f.insert(a);e=new mxCell("Oui Oui",new mxGeometry(0,0,358,86),"text;fontSize\x3d16;align\x3dleft;verticalAlign\x3dtop;spacing\x3d16;spacingTop\x3d-6;html\x3d1;spacingLeft\x3d56;resizeWidth\x3d1;strokeColor\x3d#eeeeee;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,303);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(0,0,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,13);a.vertex=!0;e.insert(a);a=new mxCell('\x3cfont color\x3d"#000000" style\x3d"font-size: 14px"\x3eSandra Adams\x3c/font\x3e - Do you have Paris recommendations? Have you ever been?',new mxGeometry(0,0,358,66),"text;fontSize\x3d13;verticalAlign\x3dtop;whiteSpace\x3dwrap;spacingRight\x3d16;fontColor\x3d#666666;html\x3d1;resizeWidth\x3d1;spacingLeft\x3d72;spacingTop\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,30);a.vertex=!0;
e.insert(a);e=new mxCell("Birthday gift",new mxGeometry(0,0,358,86),"text;fontSize\x3d16;align\x3dleft;verticalAlign\x3dtop;spacing\x3d16;spacingTop\x3d-6;html\x3d1;spacingLeft\x3d56;resizeWidth\x3d1;strokeColor\x3d#eeeeee;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,389);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(0,0,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,13);a.vertex=
!0;e.insert(a);a=new mxCell('\x3cfont color\x3d"#000000" style\x3d"font-size: 14px"\x3eTrevor Hansen\x3c/font\x3e - Have any ideas about what to get Heidi for her birthday?',new mxGeometry(0,0,358,66),"text;fontSize\x3d13;verticalAlign\x3dtop;whiteSpace\x3dwrap;spacingRight\x3d16;fontColor\x3d#666666;html\x3d1;resizeWidth\x3d1;spacingLeft\x3d72;spacingTop\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,30);a.vertex=!0;e.insert(a);e=new mxCell("Recipe to try",new mxGeometry(0,0,358,
86),"text;fontSize\x3d16;align\x3dleft;verticalAlign\x3dtop;spacing\x3d16;spacingTop\x3d-6;html\x3d1;spacingLeft\x3d56;resizeWidth\x3d1;strokeColor\x3d#eeeeee;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,475);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(0,0,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,13);a.vertex=!0;e.insert(a);a=new mxCell('\x3cfont color\x3d"#000000" style\x3d"font-size: 14px"\x3eBritta Holt\x3c/font\x3e - We should eat this: Grated Squash, Corn and tomatillo Tacos ...',
new mxGeometry(0,0,358,66),"text;fontSize\x3d13;verticalAlign\x3dtop;whiteSpace\x3dwrap;spacingRight\x3d16;fontColor\x3d#666666;html\x3d1;resizeWidth\x3d1;spacingLeft\x3d72;spacingTop\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,30);a.vertex=!0;e.insert(a);a=new mxCell("Giants game",new mxGeometry(0,0,358,86),"text;fontSize\x3d16;align\x3dleft;verticalAlign\x3dtop;spacing\x3d16;spacingTop\x3d-6;html\x3d1;spacingLeft\x3d56;resizeWidth\x3d1;strokeColor\x3d#eeeeee;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,561);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,13);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(1,1,56,56),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#EEFF41;shadow\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-78,-130);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.5,
0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.plus;strokeColor\x3d#6D751E;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-8,-8);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);
return c.createVertexTemplateFromCells([b],358,642,"Three-line list")}),this.addEntry("gmdl google media design library list single line item avatar",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00796B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("New chat",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#009688;resizeWidth\x3d1;fontSize\x3d21;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#004840;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#004840;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,-8);e.vertex=!0;
a.insert(e);a=new mxCell("Recent chat",new mxGeometry(0,0,358,40),"text;fontSize\x3d13;fontColor\x3d#666666;spacingLeft\x3d16;spacingTop\x3d8;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,358,58),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,141);e.vertex=!0;b.insert(e);a=new mxCell("Abbey Christensen",new mxGeometry(0,
0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d16;fontSize\x3d16;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,-20);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0.5,18,17),"dashed\x3d0;shape\x3dmxgraph.gmdl.chat2;strokeColor\x3dnone;fillColor\x3d#4DB6AC;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-39,-9);a.vertex=
!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,58),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,199);e.vertex=!0;b.insert(e);a=new mxCell("Alex Nelson",new mxGeometry(0,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d16;fontSize\x3d16;");a.geometry.relative=!0;
a.geometry.offset=new mxPoint(16,-20);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0.5,18,17),"dashed\x3d0;shape\x3dmxgraph.gmdl.chat2;strokeColor\x3dnone;fillColor\x3d#4DB6AC;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-39,-9);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,58),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,257);e.vertex=!0;b.insert(e);a=new mxCell("Mary Johnson",
new mxGeometry(0,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d16;fontSize\x3d16;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,-20);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0.5,18,17),"dashed\x3d0;shape\x3dmxgraph.gmdl.chat2;strokeColor\x3dnone;fillColor\x3d#bdbdbd;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-39,
-9);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,58),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,315);e.vertex=!0;b.insert(e);a=new mxCell("Peter Carlsson",new mxGeometry(0,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d16;fontSize\x3d16;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(16,-10);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0.5,18,17),"dashed\x3d0;shape\x3dmxgraph.gmdl.chat2;strokeColor\x3dnone;fillColor\x3d#bdbdbd;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-39,-9);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,58),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,373);e.vertex=!0;b.insert(e);a=new mxCell("Trevor Hansen",
new mxGeometry(0,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d16;fontSize\x3d16;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,-20);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0.5,18,17),"dashed\x3d0;shape\x3dmxgraph.gmdl.chat2;strokeColor\x3dnone;fillColor\x3d#bdbdbd;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-39,
-9);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,358,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,426);e.vertex=!0;b.insert(e);a=new mxCell("Previous chats",new mxGeometry(0,0,358,40),"text;fontSize\x3d13;fontColor\x3d#666666;spacingLeft\x3d16;spacingTop\x3d8;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,431);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,358,
58),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,479);e.vertex=!0;b.insert(e);a=new mxCell("Britta Holt",new mxGeometry(0,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d16;fontSize\x3d16;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,-20);a.vertex=!0;e.insert(a);
e=new mxCell("",new mxGeometry(0,0,358,58),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,537);e.vertex=!0;b.insert(e);a=new mxCell("Sandra Adams",new mxGeometry(0,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d16;fontSize\x3d16;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(16,-20);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,1,56,56),"shape\x3dellipse;fillColor\x3d#18FFFF;strokeColor\x3dnone;shadow\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-73,-120);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.plus;strokeColor\x3d#0C7F7F;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-8,-8);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),
"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Single-line item with avatar")}),this.addEntry("gmdl google media design library list two line item list",function(){var b=new mxCell("",new mxGeometry(0,0,
358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00796B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Settings",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#009688;resizeWidth\x3d1;fontSize\x3d21;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#004840;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);a=new mxCell("General",new mxGeometry(0,0,358,40),"text;fontSize\x3d13;fontColor\x3d#666666;spacingLeft\x3d16;spacingTop\x3d8;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);a=new mxCell("Profile photo",new mxGeometry(0,0,358,30),"text;fontSize\x3d16;fontStyle\x3d0;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
141);a.vertex=!0;b.insert(a);a=new mxCell("Change your Google+ profile photo",new mxGeometry(0,0,358,30),"text;fontSize\x3d14;fontStyle\x3d0;spacingLeft\x3d16;fontColor\x3d#999999;verticalAlign\x3dtop;spacingTop\x3d-6;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,171);a.vertex=!0;b.insert(a);a=new mxCell("Show your status",new mxGeometry(0,0,358,30),"text;fontSize\x3d16;fontStyle\x3d0;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
221);a.vertex=!0;b.insert(a);a=new mxCell("Your status is visible to everyone you use with",new mxGeometry(0,0,358,30),"text;fontSize\x3d14;fontStyle\x3d0;spacingLeft\x3d16;fontColor\x3d#999999;verticalAlign\x3dtop;spacingTop\x3d-6;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,251);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,358,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,276);a.vertex=
!0;b.insert(a);a=new mxCell("Hangout notifications",new mxGeometry(0,0,358,40),"text;fontSize\x3d13;fontColor\x3d#666666;spacingLeft\x3d16;spacingTop\x3d8;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,281);a.vertex=!0;b.insert(a);a=new mxCell('Notifications\n\x3cfont style\x3d"font-size: 14px" color\x3d"#999999"\x3eAllow notifications\x3c/font\x3e',new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;html\x3d1;strokeColor\x3d#666666;strokeWidth\x3d2;fillColor\x3dnone;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d32;spacingTop\x3d-18;fontSize\x3d17;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,351);a.vertex=!0;b.insert(a);a=new mxCell('Sound\n\x3cfont style\x3d"font-size: 14px" color\x3d"#999999"\x3eHangouts message\x3c/font\x3e',new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;html\x3d1;strokeColor\x3d#666666;strokeWidth\x3d2;fillColor\x3dnone;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d32;spacingTop\x3d-18;fontSize\x3d17;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(16,423);a.vertex=!0;b.insert(a);a=new mxCell('Video sounds\n\x3cfont style\x3d"font-size: 14px" color\x3d"#999999"\x3eHangouts video call\x3c/font\x3e',new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;html\x3d1;strokeColor\x3d#666666;strokeWidth\x3d2;fillColor\x3dnone;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d32;spacingTop\x3d-18;fontSize\x3d17;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,
495);a.vertex=!0;b.insert(a);a=new mxCell('Invites\n\x3cfont style\x3d"font-size: 14px" color\x3d"#999999"\x3eAlso notify when receiving invites\x3c/font\x3e',new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;html\x3d1;strokeColor\x3d#666666;strokeWidth\x3d2;fillColor\x3dnone;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d32;spacingTop\x3d-18;fontSize\x3d17;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,567);
a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,
0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Two-line item list")}),this.addEntry("gmdl google media design library list three line list icon",
function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#7B1FA2;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Settings",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#9C27B0;resizeWidth\x3d1;fontSize\x3d21;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-34,-8);e.vertex=!0;a.insert(e);a=new mxCell("User controls",new mxGeometry(0,0,358,40),"text;fontSize\x3d13;fontColor\x3d#666666;spacingLeft\x3d16;spacingTop\x3d8;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);a=new mxCell("Content filtering",new mxGeometry(0,0,358,30),"text;fontSize\x3d16;fontStyle\x3d0;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,141);a.vertex=!0;b.insert(a);a=new mxCell("Set the content filtering level to restrict apps that can be downloaded",new mxGeometry(0,0,358,30),"text;fontSize\x3d14;fontStyle\x3d0;spacingLeft\x3d16;fontColor\x3d#999999;verticalAlign\x3dtop;spacingTop\x3d-8;whiteSpace\x3dwrap;spacingRight\x3d16;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,172);a.vertex=!0;b.insert(a);a=new mxCell("Password",new mxGeometry(0,0,358,30),"text;fontSize\x3d16;fontStyle\x3d0;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,215);a.vertex=!0;b.insert(a);a=new mxCell("Require password for purchase or use password to restrict purchase",new mxGeometry(0,0,358,30),"text;fontSize\x3d13;fontStyle\x3d0;spacingLeft\x3d16;fontColor\x3d#999999;verticalAlign\x3dtop;spacingTop\x3d-6;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,244);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,358,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,310);a.vertex=!0;b.insert(a);a=new mxCell("General",new mxGeometry(0,0,358,40),"text;fontSize\x3d13;fontColor\x3d#666666;spacingLeft\x3d16;spacingTop\x3d8;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,315);a.vertex=!0;
b.insert(a);a=new mxCell('Notifications\n\x3cfont style\x3d"font-size: 14px" color\x3d"#999999"\x3eNotify me about updates to apps or games\x3cbr\x3ethat I download\x3c/font\x3e',new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;html\x3d1;strokeColor\x3d#666666;strokeWidth\x3d2;fillColor\x3dnone;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d32;spacingTop\x3d-18;fontSize\x3d17;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(16,380);a.vertex=!0;b.insert(a);a=new mxCell('Sound\n\x3cfont style\x3d"font-size: 14px" color\x3d"#999999"\x3eAuto-update apps at anytime. Data charges\x3cbr\x3emay apply\x3c/font\x3e',new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;html\x3d1;strokeColor\x3d#666666;strokeWidth\x3d2;fillColor\x3dnone;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d32;spacingTop\x3d-18;fontSize\x3d17;");a.geometry.relative=!0;
a.geometry.offset=new mxPoint(16,472);a.vertex=!0;b.insert(a);a=new mxCell('Auto-add widgets\n\x3cfont style\x3d"font-size: 14px" color\x3d"#999999"\x3eAutomatically add home screen widgets\x3c/font\x3e',new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;html\x3d1;strokeColor\x3d#666666;strokeWidth\x3d2;fillColor\x3dnone;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d32;spacingTop\x3d-18;fontSize\x3d17;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(16,562);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;
a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Three-line list with icon")}),
this.addEntry("gmdl google media design library list three line list avatar icon",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;fontSize\x3d13;align\x3dright;fillColor\x3d#C2185B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);
var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Inbox",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#E91E63;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d-3;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);
e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3d#ffffff;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-78,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,20,20),"ellipse;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-37,-10);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0.5,0.5,12,8),"dashed\x3d0;shape\x3dmxgraph.gmdl.check;strokeColor\x3d#E91E63;fillColor\x3dnone;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-6,-4);a.vertex=!0;e.insert(a);e=new mxCell("Ali Connors",new mxGeometry(0,0,358,86),"shape\x3drect;fontSize\x3d16;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d0;spacingTop\x3d5;spacingLeft\x3d72;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,81);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(0,0,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,16);a.vertex=!0;e.insert(a);a=new mxCell("Brunch this weekend?",new mxGeometry(0,0,358,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
31);a.vertex=!0;e.insert(a);a=new mxCell("I'll be in your neighbourheed doing errands ...",new mxGeometry(0,0,358,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;fontColor\x3d#999999;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,54);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0,17,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#B3B3B3;fillColor\x3d#ffffff;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(-39,20);a.vertex=!0;e.insert(a);e=new mxCell("me, Scott, Jennifer",new mxGeometry(0,0,358,86),"shape\x3drect;fontSize\x3d16;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d0;spacingTop\x3d5;spacingLeft\x3d72;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,167);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(0,0,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(16,16);a.vertex=!0;e.insert(a);a=new mxCell("Summer BBQ",new mxGeometry(0,0,358,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;resizeWidth\x3d1;fontSize\x3d13;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,31);a.vertex=!0;e.insert(a);a=new mxCell("Wish I could come, but I'm out of town ...",new mxGeometry(0,0,358,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;fontColor\x3d#999999;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,54);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0,17,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#B3B3B3;fillColor\x3d#ffffff;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-39,20);a.vertex=!0;e.insert(a);e=new mxCell("Sandra Adams",new mxGeometry(0,0,358,86),"shape\x3drect;fontSize\x3d16;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d0;spacingTop\x3d5;spacingLeft\x3d72;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,253);e.vertex=!0;b.insert(e);var f=new mxCell("",new mxGeometry(0,0,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(16,16);f.vertex=!0;e.insert(f);a=new mxCell("Oui oui",new mxGeometry(0,0,358,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,31);
a.vertex=!0;e.insert(a);a=new mxCell("Do you have Paris recommendations ...",new mxGeometry(0,0,358,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;fontColor\x3d#999999;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,54);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0,17,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#B3B3B3;fillColor\x3d#ffffff;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-39,
20);a.vertex=!0;e.insert(a);e=new mxCell("Trevor Hansen",new mxGeometry(0,0,358,86),"shape\x3drect;fontSize\x3d16;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d0;spacingTop\x3d5;resizeWidth\x3d1;spacingLeft\x3d72;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,339);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(0,0,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(16,16);a.vertex=!0;e.insert(a);a=new mxCell("Order confirmation",new mxGeometry(0,0,358,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,31);a.vertex=!0;e.insert(a);a=new mxCell("Thank you for your recent order from ...",new mxGeometry(0,0,230,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;fontColor\x3d#999999;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,54);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0,17,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#B3B3B3;fillColor\x3d#ffffff;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-39,20);a.vertex=!0;e.insert(a);e=new mxCell("Britta Holt",new mxGeometry(0,0,358,86),"shape\x3drect;fontSize\x3d16;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d0;spacingTop\x3d5;spacingLeft\x3d72;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,425);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(0,0,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,16);a.vertex=!0;e.insert(a);a=new mxCell("Recipe to try",new mxGeometry(0,0,358,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
31);a.vertex=!0;e.insert(a);a=new mxCell("We should eat this: grated squash, corn ...",new mxGeometry(0,0,358,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;fontColor\x3d#999999;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");a.geometry.offset=new mxPoint(0,54);a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0,17,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#B3B3B3;fillColor\x3d#ffffff;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(-39,20);a.vertex=!0;e.insert(a);e=new mxCell("David Park",new mxGeometry(0,0,358,86),"shape\x3drect;fontSize\x3d16;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;align\x3dleft;verticalAlign\x3dtop;spacing\x3d0;spacingTop\x3d5;spacingLeft\x3d72;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,511);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(0,0,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(16,16);a.vertex=!0;e.insert(a);a=new mxCell("Giants game",new mxGeometry(0,0,358,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,31);a.vertex=!0;e.insert(a);a=new mxCell("Any interest in seeing the Giants play ...",new mxGeometry(0,0,358,20),"text;fontSize\x3d13;verticalAlign\x3dmiddle;fontColor\x3d#999999;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,54);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,0,17,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.star;strokeColor\x3d#B3B3B3;fillColor\x3d#ffffff;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-39,20);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(1,1,56,56),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#18FFFF;shadow\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-78,-129);a.vertex=
!0;b.insert(a);f=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.plus;strokeColor\x3d#084560;strokeWidth\x3d2;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(20,20);f.vertex=!0;a.insert(f);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);
return c.createVertexTemplateFromCells([b],358,642,"Three-line list with avatar and icons")}),this.addEntry("gmdl google media design library list line item checkbox",function(){var b=new mxCell("Line item selected",new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;spacingLeft\x3d72;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3dnone;fillColor\x3d#089953;strokeWidth\x3d2;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,-9);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0.5,20,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.message;strokeColor\x3d#ffffff;fillColor\x3d#666666;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-36,-9);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],358,56,"Line item with primary checkbox")}),this.addEntry("gmdl google media design library list line item checkbox",function(){var b=new mxCell("Line item unselected",
new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;spacingLeft\x3d72;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,-9);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0.5,20,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.message;strokeColor\x3d#ffffff;fillColor\x3d#666666;strokeWidth\x3d2;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-36,-9);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],358,56,"Line item with primary checkbox")}),this.addEntry("gmdl google media design library list line item checkbox",function(){var b=new mxCell("Line item selected",new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;spacingLeft\x3d72;");b.vertex=
!0;var a=new mxCell("",new mxGeometry(0,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,-20);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0.5,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3dnone;fillColor\x3d#089953;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-36,-9);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],358,
56,"Line item with primary checkbox")}),this.addEntry("gmdl google media design library list line item checkbox",function(){var b=new mxCell("Line item unselected",new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;spacingLeft\x3d72;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,-20);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0.5,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-36,-9);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],358,56,"Line item with primary checkbox")}),this.addEntry("gmdl google media design library list item list",function(){var b=new mxCell("Wi-Fi",
new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;spacingLeft\x3d72;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,24,22),"dashed\x3d0;shape\x3dmxgraph.gmdl.wifi;strokeColor\x3dnone;fillColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,-11);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0.5,36,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.switch;aspect\x3dfixed;switchState\x3don;strokeColor\x3dnone;fillColor\x3d#0E9D57;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-51,-10);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],358,56,"Item list")}),this.addEntry("gmdl google media design library list item list",function(){var b=new mxCell("Bluetooth",new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;spacingLeft\x3d72;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,
0.5,10,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.bluetooth;strokeColor\x3d#666666;strokeWidth\x3d2;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(21,-9);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0.5,36,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.switch;aspect\x3dfixed;switchState\x3doff;strokeColor\x3d#bbbbbb;fillColor\x3d#0E9D57;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-51,-10);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],358,56,"Item list")}),
this.addEntry("gmdl google media design library list item list",function(){var b=new mxCell("Data usage",new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;spacingLeft\x3d72;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,22,22),"dashed\x3d0;shape\x3dmxgraph.gmdl.data_usage;strokeColor\x3d#666666;strokeWidth\x3d3;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(17,
-11);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],358,56,"Item list")}),this.addEntry("gmdl google media design library list line item checkbox",function(){var b=new mxCell("Janet Perkins",new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;spacingLeft\x3d72;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#808080;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,-20);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0.5,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-36,-9);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],358,56,"Line item with primary checkbox")}),this.addEntry("gmdl google media design library list item list",function(){var b=new mxCell("",new mxGeometry(0,
0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00796B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Topics",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#009688;resizeWidth\x3d1;fontSize\x3d21;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,-8);e.vertex=!0;a.insert(e);a=new mxCell("Attractions",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;strokeWidth\x3d1;fontSize\x3d17;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.attractions;strokeColor\x3d#FFFFFF;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-9);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);
e.vertex=!0;a.insert(e);a=new mxCell("Dining",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,129);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,15,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.dining;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;
e.geometry.offset=new mxPoint(20,-9);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=!0;a.insert(e);a=new mxCell("Education",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,177);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.education;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-9);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=
!0;a.insert(e);a=new mxCell("Family",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,225);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.family;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(17,-9);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=!0;a.insert(e);a=new mxCell("Health",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,273);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.health;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(17,-9);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=
!0;a.insert(e);a=new mxCell("Office",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,321);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,20,22),"dashed\x3d0;shape\x3dmxgraph.gmdl.office;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(18,-11);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=!0;a.insert(e);a=new mxCell("Promotions",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,369);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,24),"dashed\x3d0;shape\x3dmxgraph.gmdl.promotions;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-12);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=
!0;a.insert(e);a=new mxCell("Radio",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,417);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,24),"dashed\x3d0;shape\x3dmxgraph.gmdl.radio;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(18,-12);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=!0;a.insert(e);a=new mxCell("Recipes",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,465);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,24),"dashed\x3d0;shape\x3dmxgraph.gmdl.recipes;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-12);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=
!0;a.insert(e);a=new mxCell("Sports",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,513);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,22),"dashed\x3d0;shape\x3dmxgraph.gmdl.sports;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(17,-11);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=!0;a.insert(e);a=new mxCell("Travel",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,561);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.travel;strokeColor\x3dnone;fillColor\x3d#737373;direction\x3dsouth;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-10);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,
-3);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,
0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Item list")}),this.addEntry("gmdl google media design library list item list expanded",
function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00796B;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Topics",new mxGeometry(0,0,358,57),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#009688;resizeWidth\x3d1;fontSize\x3d21;fontColor\x3d#FFFFFF;spacingTop\x3d-3;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-8);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,-8);e.vertex=!0;a.insert(e);a=new mxCell("Attractions",new mxGeometry(0,0,358,62),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,81);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.attractions;strokeColor\x3d#FFFFFF;fillColor\x3d#737373;strokeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-9);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,
-3);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,10),"dashed\x3d0;shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,138);a.vertex=!0;b.insert(a);a=new mxCell("Dining",new mxGeometry(0,0,358,62),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;fontColor\x3d#009688;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,143);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,15,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.dining;strokeColor\x3dnone;fillColor\x3d#009688;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(27,-9);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=!0;a.insert(e);a=new mxCell("Breakfast \x26 brunch",
new mxGeometry(0,0,358,48),"text;verticalAlign\x3dmiddle;spacingLeft\x3d70;fontSize\x3d17;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,205);a.vertex=!0;b.insert(a);a=new mxCell("New American",new mxGeometry(0,0,358,48),"text;verticalAlign\x3dmiddle;spacingLeft\x3d70;fontSize\x3d17;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,253);a.vertex=!0;b.insert(a);a=new mxCell("Sushi bars",new mxGeometry(0,0,358,48),"text;verticalAlign\x3dmiddle;spacingLeft\x3d70;fontSize\x3d17;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,301);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,358,10),"dashed\x3d0;shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,344);a.vertex=!0;b.insert(a);a=new mxCell("Education",new mxGeometry(0,0,358,62),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,349);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.education;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(17,-9);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=
!0;a.insert(e);a=new mxCell("Family",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,406);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.family;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(17,-9);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=!0;a.insert(e);a=new mxCell("Health",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,456);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,22,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.health;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(17,-9);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=
!0;a.insert(e);a=new mxCell("Office",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,502);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,20,22),"dashed\x3d0;shape\x3dmxgraph.gmdl.office;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(18,-11);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=!0;a.insert(e);a=new mxCell("Promotions",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;resizeWidth\x3d1;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;spacingLeft\x3d72;fontSize\x3d17;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,550);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0.5,24,24),"dashed\x3d0;shape\x3dmxgraph.gmdl.promotions;strokeColor\x3dnone;fillColor\x3d#737373;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,-12);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,6),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#737373;strokeWidth\x3d2;flipV\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-32,-3);e.vertex=
!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,
14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Item list (expanded)")})];this.addPalette("gmdlLists","GMDL / Lists",
b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLMenusPalette=function(b){var c=this,f=[this.addEntry("gmdl google media design library menu menu simple",function(){var b=new mxCell("",new mxGeometry(0,0,170,168),"perimeter\x3dnone;dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Refresh",new mxGeometry(0,0,170,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,0);a.vertex=!0;b.insert(a);a=new mxCell("Help \x26 feedback",new mxGeometry(0,0,170,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,42);a.vertex=!0;b.insert(a);a=new mxCell("Settings",new mxGeometry(0,0,170,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,84);a.vertex=
!0;b.insert(a);a=new mxCell("Sign out",new mxGeometry(0,0,170,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,126);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Menu")}),this.addEntry("gmdl google media design library menu menu simple",function(){var b=new mxCell("",new mxGeometry(0,0,170,272),"perimeter\x3dnone;dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");
b.vertex=!0;var a=new mxCell("Preview",new mxGeometry(0,0,16,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.preview;verticalAlign\x3dmiddle;align\x3dleft;labelPosition\x3dright;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;strokeColor\x3dnone;fillColor\x3d#747474;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(17,16);a.vertex=!0;b.insert(a);a=new mxCell("Share",new mxGeometry(0,0,18,14),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.share3;verticalAlign\x3dmiddle;align\x3dleft;labelPosition\x3dright;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;strokeColor\x3dnone;fillColor\x3d#747474;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,57);a.vertex=!0;b.insert(a);a=new mxCell("Get link",new mxGeometry(0,0,18,10),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.link;verticalAlign\x3dmiddle;align\x3dleft;labelPosition\x3dright;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;strokeColor\x3dnone;fillColor\x3d#747474;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,101);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,b.geometry.width,10),"shape\x3dline;resizeWidth\x3d1;perimeter\x3dnone;strokeColor\x3d#eeeeee;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,126);a.vertex=!0;b.insert(a);a=new mxCell("Make a copy",new mxGeometry(0,0,12,16),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.copy;verticalAlign\x3dmiddle;align\x3dleft;labelPosition\x3dright;strokeWidth\x3d2;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;strokeColor\x3d#747474;fillColor\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(20,150);a.vertex=!0;b.insert(a);a=new mxCell("Download",new mxGeometry(0,0,12,16),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.download;verticalAlign\x3dmiddle;align\x3dleft;labelPosition\x3dright;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;strokeColor\x3dnone;fillColor\x3d#747474;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,192);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,b.geometry.width,10),"shape\x3dline;resizeWidth\x3d1;perimeter\x3dnone;strokeColor\x3d#eeeeee;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,220);a.vertex=!0;b.insert(a);a=new mxCell("Remove",new mxGeometry(0,0,12,16),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.remove;verticalAlign\x3dmiddle;align\x3dleft;labelPosition\x3dright;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;strokeColor\x3dnone;fillColor\x3d#747474;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(16,242);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Menu")}),this.addEntry("gmdl google media design library menu simple menu",function(){var b=new mxCell("",new mxGeometry(0,0,280,160),"shape\x3drect;fillColor\x3d#FAFAFA;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Show all notification content",new mxGeometry(0,0,280,50),"text;fontSize\x3d13;fontColor\x3d#000000;align\x3dleft;spacing\x3d16;fillColor\x3d#eeeeee;verticalAlign\x3dmiddle;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,10);a.vertex=!0;b.insert(a);a=new mxCell("Hide sensitive notification content",new mxGeometry(0,0,280,50),"text;fontSize\x3d13;fontColor\x3d#000000;align\x3dleft;spacing\x3d16;verticalAlign\x3dmiddle;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,60);a.vertex=!0;b.insert(a);a=new mxCell("Hide all notification content",new mxGeometry(0,0,280,50),"text;fontSize\x3d13;fontColor\x3d#000000;align\x3dleft;spacing\x3d16;verticalAlign\x3dmiddle;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,110);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],280,160,"Simple menu")}),this.addEntry("gmdl google media design library menu simple menu multi line",function(){var b=new mxCell("",new mxGeometry(0,0,280,328),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Title goes here",new mxGeometry(0,0,280,68),"text;fontSize\x3d19;fontColor\x3d#000000;align\x3dleft;spacing\x3d16;verticalAlign\x3dmiddle;fontStyle\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("Single line text goes here",new mxGeometry(0,0,280,50),"text;fontSize\x3d15;fontColor\x3d#000000;align\x3dleft;spacing\x3d16;fillColor\x3d#e0e0e0;verticalAlign\x3dmiddle;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,68);a.vertex=!0;b.insert(a);a=new mxCell("Two line wrapped text goes here making it wrap to next line",new mxGeometry(0,0,280,70),"text;fontSize\x3d15;fontColor\x3d#000000;align\x3dleft;spacing\x3d16;verticalAlign\x3dmiddle;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,118);a.vertex=!0;b.insert(a);a=new mxCell("Single line text goes here",new mxGeometry(0,0,280,50),"text;fontSize\x3d15;fontColor\x3d#000000;align\x3dleft;spacing\x3d16;verticalAlign\x3dmiddle;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,188);a.vertex=!0;b.insert(a);a=new mxCell("Three line wrapped text goes here making it wrap to next line and continues longer to be here",new mxGeometry(0,0,280,90),"text;fontSize\x3d15;fontColor\x3d#000000;align\x3dleft;spacing\x3d16;verticalAlign\x3dmiddle;whiteSpace\x3dwrap;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,238);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],280,328,"Simple menu (multi-line)")}),this.addEntry("gmdl google media design library menu menu items",function(){var b=new mxCell("",new mxGeometry(0,0,318,126),"perimeter\x3dnone;dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Menu item one",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dtop;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,5,10),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dnorth;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-27,0);e.vertex=!0;a.insert(e);a=new mxCell("Menu item two",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,42);a.vertex=
!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,5,10),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dnorth;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-27,-5);e.vertex=!0;a.insert(e);a=new mxCell("Menu item three",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dbottom;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,84);a.vertex=!0;b.insert(a);e=new mxCell("",
new mxGeometry(1,0.5,5,10),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dnorth;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-27,-10);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],318,126,"Menu items")}),this.addEntry("gmdl google media design library menu menu",function(){var b=new mxCell("",new mxGeometry(0,0,318,126),"perimeter\x3dnone;dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");
b.vertex=!0;var a=new mxCell("Open",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("Cmnd+O",new mxGeometry(1,0.5,106,20),"text;labelPosition\x3dcenter;verticalLabelPosition\x3dmiddle;align\x3dright;verticalAlign\x3dmiddle;fontSize\x3d15;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-120,-10);e.vertex=!0;a.insert(e);a=new mxCell("Paste in place",new mxGeometry(0,
0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,42);a.vertex=!0;b.insert(a);e=new mxCell("Shift + V",new mxGeometry(1,0.5,106,20),"text;labelPosition\x3dcenter;verticalLabelPosition\x3dmiddle;align\x3dright;verticalAlign\x3dmiddle;fontSize\x3d15;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-120,-10);e.vertex=!0;a.insert(e);a=new mxCell("Research",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,84);a.vertex=!0;b.insert(a);e=new mxCell("Opt + Shift + Cmnd + I",new mxGeometry(1,0.5,106,20),"text;labelPosition\x3dcenter;verticalLabelPosition\x3dmiddle;align\x3dright;verticalAlign\x3dmiddle;fontSize\x3d15;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-120,-10);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Menu")}),this.addEntry("gmdl google media design library menu menu",
function(){var b=new mxCell("",new mxGeometry(0,0,318,126),"perimeter\x3dnone;dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Open",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("O",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-41,-6);e.vertex=!0;a.insert(e);a=new mxCell("Paste in place",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,42);a.vertex=!0;b.insert(a);e=new mxCell("V",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-41,-6);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,12),"shape\x3dmxgraph.arrows2.arrow;direction\x3dnorth;dy\x3d0.6;dx\x3d4.8;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-57,-6);e.vertex=!0;a.insert(e);a=new mxCell("Research",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,84);a.vertex=!0;b.insert(a);e=new mxCell("I",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-33,-6);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,12),"shape\x3dmxgraph.arrows2.arrow;direction\x3dnorth;dy\x3d0.6;dx\x3d4.8;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-49,-6);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.opt;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,-6);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Menu")}),this.addEntry("gmdl google media design library menu cascading menu",
function(){var b=new mxCell("",new mxGeometry(0,0,318,524),"perimeter\x3dnone;dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Bold",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("B",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-41,-6);e.vertex=!0;a.insert(e);a=new mxCell("Italic",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,42);a.vertex=!0;b.insert(a);e=new mxCell("I",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-41,-6);e.vertex=!0;a.insert(e);a=new mxCell("Underline",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,84);a.vertex=!0;b.insert(a);e=new mxCell("U",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-41,-6);e.vertex=!0;a.insert(e);a=new mxCell("Striketrough",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,126);a.vertex=!0;b.insert(a);e=new mxCell("Alt+Shift+5",new mxGeometry(1,0.5,106,20),"text;labelPosition\x3dcenter;verticalLabelPosition\x3dmiddle;align\x3dright;verticalAlign\x3dmiddle;fontSize\x3d15;perimeter\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-120,-10);e.vertex=!0;a.insert(e);var f=new mxCell("Superscript",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;perimeter\x3dnone;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(0,168);f.vertex=!0;b.insert(f);e=new mxCell(".",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-41,-6);e.vertex=!0;f.insert(e);f=new mxCell("Subscript",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;perimeter\x3dnone;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(0,210);f.vertex=!0;b.insert(f);e=new mxCell(",",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-41,-6);e.vertex=!0;f.insert(e);a=new mxCell("",new mxGeometry(0,0,318,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,252);a.vertex=!0;b.insert(a);a=new mxCell("Paragraph styles",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,262);
a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,5,10),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dnorth;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-38,-5);e.vertex=!0;a.insert(e);a=new mxCell("Align",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,304);a.vertex=!0;b.insert(a);
e=new mxCell("",new mxGeometry(1,0.5,5,10),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dnorth;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-38,-5);e.vertex=!0;a.insert(e);a=new mxCell("Line Spacing",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;fillColor\x3d#eeeeee;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);
e=new mxCell("",new mxGeometry(1,0.5,5,10),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dnorth;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-38,-5);e.vertex=!0;a.insert(e);e=new mxCell("Numbered List",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;perimeter\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,388);e.vertex=!0;b.insert(e);a=new mxCell("",
new mxGeometry(1,0.5,5,10),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dnorth;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-38,-5);a.vertex=!0;e.insert(a);e=new mxCell("List options",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;perimeter\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,430);e.vertex=!0;b.insert(e);a=new mxCell("",new mxGeometry(1,
0.5,5,10),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dnorth;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-38,-5);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(0,0,318,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;perimeter\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,472);e.vertex=!0;b.insert(e);e=new mxCell("Clear formatting",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;perimeter\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,482);e.vertex=!0;b.insert(e);a=new mxCell("/",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-41,-6);a.vertex=!0;e.insert(a);e=new mxCell("",new mxGeometry(318,346,318,286),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;shadow\x3d1;perimeter\x3dnone;");
e.vertex=!0;a=new mxCell("Single",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d72;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("1.15",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d72;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,42);a.vertex=!0;e.insert(a);a=new mxCell("Double",new mxGeometry(0,
0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d72;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,84);a.vertex=!0;e.insert(a);a=new mxCell("Custom: 1.2",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d72;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,126);a.vertex=!0;e.insert(a);f=new mxCell("",new mxGeometry(0,0.5,18,
14),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.check;fillColor\x3dnone;strokeWidth\x3d2;strokeColor\x3d#666666;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(36,-7);f.vertex=!0;a.insert(f);f=new mxCell("",new mxGeometry(1,0.5,5,10),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dnorth;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-38,-5);f.vertex=!0;a.insert(f);a=new mxCell("",new mxGeometry(0,0,318,10),
"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,168);a.vertex=!0;e.insert(a);a=new mxCell("Add space before paragraph",new mxGeometry(0,0,318,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d16;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,178);a.vertex=!0;e.insert(a);a=new mxCell("Add space after paragraph",new mxGeometry(0,0,318,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d16;resizeWidth\x3d1;perimeter\x3dnone;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,210);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(0,0,318,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,242);a.vertex=!0;e.insert(a);a=new mxCell("Custom spacing...",new mxGeometry(0,0,318,34),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d16;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,252);a.vertex=!0;e.insert(a);return c.createVertexTemplateFromCells([b,e],636,632,"Cascading menu")}),this.addEntry("gmdl google media design library menu cascading menu",function(){var b=new mxCell("",new mxGeometry(0,0,192,146),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;shadow\x3d1;perimeter\x3dnone;");b.vertex=!0;var a=new mxCell("Show",new mxGeometry(0,0,192,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d16;resizeWidth\x3d1;perimeter\x3dnone;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("Grid lines",new mxGeometry(0,0,192,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacingLeft\x3d72;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,42);a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(0,0.5,18,14),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.check;fillColor\x3dnone;strokeWidth\x3d2;strokeColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(36,
-7);e.vertex=!0;a.insert(e);a=new mxCell("Page breaks",new mxGeometry(0,0,192,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacingLeft\x3d72;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,74);a.vertex=!0;b.insert(a);a=new mxCell("Rules",new mxGeometry(0,0,192,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacingLeft\x3d72;resizeWidth\x3d1;perimeter\x3dnone;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,106);a.vertex=!0;b.insert(a);e=
new mxCell("",new mxGeometry(0,0.5,18,14),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.check;fillColor\x3dnone;strokeWidth\x3d2;strokeColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(36,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Cascading menu")}),this.addEntry("gmdl google media design library menu menu disabled actions",function(){var b=new mxCell("",new mxGeometry(0,0,85,190),"perimeter\x3dnone;dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");
b.vertex=!0;var a=new mxCell("Undo",new mxGeometry(0,0,85,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,10);a.vertex=!0;b.insert(a);a=new mxCell("Redo",new mxGeometry(0,0,85,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;fontColor\x3d#b3b3b3;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,42);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,85,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,74);a.vertex=!0;b.insert(a);a=new mxCell("Cut",new mxGeometry(0,0,85,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;fontColor\x3d#b3b3b3;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,84);a.vertex=!0;b.insert(a);a=new mxCell("Copy",new mxGeometry(0,0,85,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;fontColor\x3d#b3b3b3;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
116);a.vertex=!0;b.insert(a);a=new mxCell("Paste",new mxGeometry(0,0,85,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,148);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Menu with disabled actions")}),this.addEntry("gmdl google media design library menu menu disabled actions",function(){var b=new mxCell("",new mxGeometry(0,0,170,222),"perimeter\x3dnone;dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");
b.vertex=!0;var a=new mxCell("Home",new mxGeometry(0,0,170,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,10);a.vertex=!0;b.insert(a);a=new mxCell("Back",new mxGeometry(0,0,170,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,42);a.vertex=!0;b.insert(a);a=new mxCell("Forward",new mxGeometry(0,0,170,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;fontColor\x3d#b3b3b3;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,74);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,170,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,106);a.vertex=!0;b.insert(a);a=new mxCell("Recently closed",new mxGeometry(0,0,170,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;fontColor\x3d#b3b3b3;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,116);a.vertex=!0;b.insert(a);
a=new mxCell("Google",new mxGeometry(0,0,170,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,148);a.vertex=!0;b.insert(a);a=new mxCell("Youtube",new mxGeometry(0,0,170,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,180);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,
"Menu with disabled actions")}),this.addEntry("gmdl google media design library menu scrollable menu",function(){var b=new mxCell("",new mxGeometry(0,0,272,420),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Option item 1",new mxGeometry(0,0,b.geometry.width,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("Option item 2",new mxGeometry(0,
0,b.geometry.width,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,42);a.vertex=!0;b.insert(a);a=new mxCell("Option item 3",new mxGeometry(0,0,b.geometry.width,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,84);a.vertex=!0;b.insert(a);a=new mxCell("Option item 4",new mxGeometry(0,0,b.geometry.width,
42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,126);a.vertex=!0;b.insert(a);a=new mxCell("Option item 5",new mxGeometry(0,0,b.geometry.width,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,168);a.vertex=!0;b.insert(a);a=new mxCell("Option item 6",new mxGeometry(0,0,b.geometry.width,42),
"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,210);a.vertex=!0;b.insert(a);a=new mxCell("Option item 7",new mxGeometry(0,0,b.geometry.width,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,252);a.vertex=!0;b.insert(a);a=new mxCell("Option item 8",new mxGeometry(0,0,b.geometry.width,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,294);a.vertex=!0;b.insert(a);a=new mxCell("Option item 9",new mxGeometry(0,0,b.geometry.width,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;fillColor\x3d#eeeeee;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,336);a.vertex=!0;b.insert(a);a=new mxCell("Option item 10",new mxGeometry(0,0,b.geometry.width,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,378);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,4,190),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#dddddd;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-4,125);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Scrollable menu")}),this.addEntry("gmdl google media design library menu cascading menu",function(){var b=new mxCell("",new mxGeometry(116,0,318,436),"perimeter\x3dnone;dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");
b.vertex=!0;var a=new mxCell("Bold",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("B",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-41,-6);e.vertex=!0;a.insert(e);
a=new mxCell("Italic",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,42);a.vertex=!0;b.insert(a);e=new mxCell("I",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-41,
-6);e.vertex=!0;a.insert(e);a=new mxCell("Underline",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,84);a.vertex=!0;b.insert(a);e=new mxCell("U",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(-41,-6);e.vertex=!0;a.insert(e);a=new mxCell("Striketrough",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,126);a.vertex=!0;b.insert(a);e=new mxCell("Alt+Shift+5",new mxGeometry(1,0.5,106,20),"text;labelPosition\x3dcenter;verticalLabelPosition\x3dmiddle;align\x3dright;verticalAlign\x3dmiddle;fontSize\x3d15;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-120,
-10);e.vertex=!0;a.insert(e);var f=new mxCell("Superscript",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(0,168);f.vertex=!0;b.insert(f);e=new mxCell(".",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(-41,-6);e.vertex=!0;f.insert(e);f=new mxCell("Subscript",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;spacing\x3d0;spacingLeft\x3d16;fontSize\x3d15;resizeWidth\x3d1;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(0,210);f.vertex=!0;b.insert(f);e=new mxCell(",",new mxGeometry(1,0.5,12,12),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.command;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d15;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-41,-6);e.vertex=!0;f.insert(e);a=new mxCell("",new mxGeometry(0,0,318,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,252);a.vertex=!0;b.insert(a);a=new mxCell("Paragraph styles",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,262);a.vertex=!0;b.insert(a);e=new mxCell("",
new mxGeometry(1,0.5,5,10),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dnorth;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-38,-5);e.vertex=!0;a.insert(e);a=new mxCell("Line spacing",new mxGeometry(0,0,318,42),"text;fillColor\x3d#eeeeee;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,304);a.vertex=!0;b.insert(a);a=new mxCell("Numbered list",
new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);e=new mxCell("List options",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,388);e.vertex=!0;b.insert(e);e=new mxCell("",new mxGeometry(0,0,318,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,420);e.vertex=!0;b.insert(e);e=new mxCell("",new mxGeometry(286,304,318,286),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;shadow\x3d1;");e.vertex=!0;a=new mxCell("Single",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d72;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;e.insert(a);a=new mxCell("1.15",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d72;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,42);a.vertex=!0;e.insert(a);a=new mxCell("Double",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d72;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,84);a.vertex=!0;e.insert(a);a=new mxCell("Custom: 1.2",new mxGeometry(0,0,318,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d72;fillColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,126);a.vertex=!0;e.insert(a);f=new mxCell("",new mxGeometry(0,0.5,18,14),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.check;fillColor\x3dnone;strokeWidth\x3d2;strokeColor\x3d#666666;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(36,-7);f.vertex=!0;a.insert(f);f=new mxCell("",new mxGeometry(1,0.5,5,10),"perimeter\x3dnone;dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dnorth;");f.geometry.relative=!0;
f.geometry.offset=new mxPoint(-38,-5);f.vertex=!0;a.insert(f);a=new mxCell("",new mxGeometry(0,0,318,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,168);a.vertex=!0;e.insert(a);a=new mxCell("Add space before paragraph",new mxGeometry(0,0,318,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,178);a.vertex=!0;e.insert(a);a=new mxCell("Add space after paragraph",
new mxGeometry(0,0,318,32),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d16;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,210);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(0,0,318,10),"shape\x3dline;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,242);a.vertex=!0;e.insert(a);a=new mxCell("Custom spacing...",new mxGeometry(0,0,318,34),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d16;spacingLeft\x3d16;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,252);a.vertex=!0;e.insert(a);a=new mxCell("",new mxGeometry(0,428,286,128),"shape\x3drect;strokeColor\x3d#eeeeee;fillColor\x3d#ffffff;shadow\x3d1;");a.vertex=!0;f=new mxCell("Line spacing",new mxGeometry(0,0,220,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d0;spacingLeft\x3d16;resizeWidth\x3d1;");f.geometry.relative=!0;f.vertex=!0;a.insert(f);f=new mxCell("1.2",new mxGeometry(1,0,66,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d0;spacingRight\x3d16;align\x3dright;");
f.geometry.relative=!0;f.geometry.offset=new mxPoint(-66,0);f.vertex=!0;a.insert(f);f=new mxCell("Paragraph spacing before",new mxGeometry(0,0,220,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d0;spacingLeft\x3d16;resizeWidth\x3d1;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(0,42);f.vertex=!0;a.insert(f);f=new mxCell("1.2",new mxGeometry(1,0,66,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d0;spacingRight\x3d16;align\x3dright;");f.geometry.relative=!0;f.geometry.offset=
new mxPoint(-66,42);f.vertex=!0;a.insert(f);f=new mxCell("Paragraph spacing after",new mxGeometry(0,0,220,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d0;spacingLeft\x3d16;resizeWidth\x3d1;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(0,84);f.vertex=!0;a.insert(f);f=new mxCell("1.5",new mxGeometry(1,0,66,42),"text;verticalAlign\x3dmiddle;fontSize\x3d15;spacing\x3d0;spacingRight\x3d16;align\x3dright;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-66,84);f.vertex=!0;
a.insert(f);return c.createVertexTemplateFromCells([b,e,a],604,590,"Cascading menu")})];this.addPalette("gmdlMenus","GMDL / Menus",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLMiscPalette=function(b){var c=this,f=[this.createVertexTemplateEntry("shape\x3drect;fillColor\x3d#eeeeee;strokeColor\x3dnone;",358,642,"","Background (Light)",null,null,this.getTagsForStencil("mxgraph.gmdl","background","gmdl google media design library misc ").join(" ")),
this.createVertexTemplateEntry("shape\x3drect;fillColor\x3d#333333;strokeColor\x3dnone;",358,642,"","Background (Dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","background","gmdl google media design library misc ").join(" ")),this.addEntry("gmdl google media design library misc keyboard",function(){var b=new mxCell("",new mxGeometry(0,0,358,224),"dashed\x3d0;shape\x3drect;fillColor\x3d#263238;strokeColor\x3dnone;aspect\x3dfixed;");b.vertex=!0;var a=new mxCell("q",new mxGeometry(12,22,30,30),
"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("w",new mxGeometry(46,22,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("e",new mxGeometry(80,22,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("r",new mxGeometry(114,22,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");
a.vertex=!0;b.insert(a);a=new mxCell("t",new mxGeometry(148,22,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("y",new mxGeometry(182,22,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("u",new mxGeometry(216,22,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("i",
new mxGeometry(250,22,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("o",new mxGeometry(284,22,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("p",new mxGeometry(318,22,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("a",new mxGeometry(27,75,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");
a.vertex=!0;b.insert(a);a=new mxCell("s",new mxGeometry(61,75,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("d",new mxGeometry(95,75,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("f",new mxGeometry(129,75,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("g",
new mxGeometry(163,75,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("h",new mxGeometry(197,75,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("j",new mxGeometry(231,75,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("k",new mxGeometry(265,75,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");
a.vertex=!0;b.insert(a);a=new mxCell("l",new mxGeometry(299,75,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("z",new mxGeometry(61,126,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("x",new mxGeometry(95,126,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("c",
new mxGeometry(129,126,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("v",new mxGeometry(163,126,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("b",new mxGeometry(197,126,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("n",new mxGeometry(231,126,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");
a.vertex=!0;b.insert(a);a=new mxCell("m",new mxGeometry(265,126,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("1",new mxGeometry(22,12,30,30),"text;fontColor\x3d#999999;fontSize\x3d10;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("2",new mxGeometry(56,12,30,30),"text;fontColor\x3d#999999;fontSize\x3d10;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("3",
new mxGeometry(90,12,30,30),"text;fontColor\x3d#999999;fontSize\x3d10;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("4",new mxGeometry(124,12,30,30),"text;fontColor\x3d#999999;fontSize\x3d10;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("5",new mxGeometry(158,12,30,30),"text;fontColor\x3d#999999;fontSize\x3d10;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("6",new mxGeometry(192,12,30,30),"text;fontColor\x3d#999999;fontSize\x3d10;verticalAlign\x3dmiddle;align\x3dcenter;");
a.vertex=!0;b.insert(a);a=new mxCell("7",new mxGeometry(226,12,30,30),"text;fontColor\x3d#999999;fontSize\x3d10;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("8",new mxGeometry(260,12,30,30),"text;fontColor\x3d#999999;fontSize\x3d10;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("9",new mxGeometry(294,12,30,30),"text;fontColor\x3d#999999;fontSize\x3d10;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("0",
new mxGeometry(328,12,30,30),"text;fontColor\x3d#999999;fontSize\x3d10;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(21,135,22,22),"dashed\x3d0;shape\x3dmxgraph.gmdl.shift;strokeColor\x3dnone;fillColor\x3d#A1A7A9;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(310,132,26,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.backspace;strokeColor\x3dnone;fillColor\x3d#A1A7A9;");a.vertex=!0;b.insert(a);a=new mxCell("?123",new mxGeometry(17,177,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d14;verticalAlign\x3dmiddle;align\x3dcenter;");
a.vertex=!0;b.insert(a);a=new mxCell(",",new mxGeometry(62,174,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell(".",new mxGeometry(265,170,30,30),"text;fontColor\x3d#bbbbbb;fontSize\x3d24;verticalAlign\x3dmiddle;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(308,167,36,36),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#4CB5AB;");a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(10,
12,16,12),"dashed\x3d0;shape\x3dmxgraph.gmdl.check;strokeColor\x3d#ffffff;strokeWidth\x3d2;");e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(105,174,145,25),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#3C474C;rounded\x3d1;size\x3d3;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],358,224,"Keyboard")}),this.addEntry("gmdl google media design library misc snackbar",function(){var b=new mxCell("Archived",new mxGeometry(0,0,358,48),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#333333;fontColor\x3d#FFFFFF;align\x3dleft;spacing\x3d16;fontSize\x3d13;spacingLeft\x3d8;");
b.vertex=!0;var a=new mxCell("UNDO",new mxGeometry(1,0,88,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#EEFF41;fontSize\x3d14;resizeHeight\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-88,0);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],358,48,"Snackbar")})];this.addPalette("gmdlMisc","GMDL / Misc",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLPickersPalette=function(b){var c=
this,f=[this.addEntry("gmdl google media design library picker date picker portrait",function(){var b=new mxCell("",new mxGeometry(0,0,328,484),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Thu, Apr 13",new mxGeometry(0,0,328,96),"shape\x3drect;fillColor\x3d#009688;fontColor\x3d#ffffff;strokeColor\x3dnone;align\x3dleft;spacing\x3d16;fontSize\x3d33;verticalAlign\x3dbottom;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=
new mxCell("2017",new mxGeometry(0,0,328,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#FFFFFF;spacingTop\x3d6;spacing\x3d16;fontSize\x3d15;textOpacity\x3d70;resizeWidth\x3d1;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("\x3c",new mxGeometry(0,0,48,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#4D4D4D;spacingTop\x3d6;spacing\x3d16;fontSize\x3d20;align\x3dcenter;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,96);a.vertex=!0;b.insert(a);a=new mxCell("April 2017",
new mxGeometry(0.1463,0,232,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#4D4D4D;spacingTop\x3d6;spacing\x3d16;fontSize\x3d13;align\x3dcenter;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,96);a.vertex=!0;b.insert(a);a=new mxCell("\x3e",new mxGeometry(0.8537,0,48,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#4D4D4D;spacingTop\x3d6;spacing\x3d16;fontSize\x3d20;align\x3dcenter;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,96);
a.vertex=!0;b.insert(a);a=new mxCell("S",new mxGeometry(0,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=new mxCell("M",new mxGeometry(0.1463,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=new mxCell("T",new mxGeometry(0.2896,0,46,
40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=new mxCell("W",new mxGeometry(0.4299,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=new mxCell("T",new mxGeometry(0.5701,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=new mxCell("F",new mxGeometry(0.7104,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=new mxCell("S",new mxGeometry(0.8506,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=
!0;b.insert(a);a=new mxCell("1",new mxGeometry(0.8506,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,186);a.vertex=!0;b.insert(a);a=new mxCell("2",new mxGeometry(0,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("3",new mxGeometry(0.1463,
0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("4",new mxGeometry(0.2896,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("5",new mxGeometry(0.4299,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("6",new mxGeometry(0.5701,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("7",new mxGeometry(0.7104,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#009688;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("8",new mxGeometry(0.8506,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("9",new mxGeometry(0,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,266);a.vertex=!0;b.insert(a);
a=new mxCell("10",new mxGeometry(0.1463,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,266);a.vertex=!0;b.insert(a);a=new mxCell("11",new mxGeometry(0.2896,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,266);a.vertex=!0;b.insert(a);a=new mxCell("12",new mxGeometry(0.4299,
0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,266);a.vertex=!0;b.insert(a);a=new mxCell("13",new mxGeometry(0.6402,0,40,40),"shape\x3dellipse;fillColor\x3d#009688;strokeColor\x3dnone;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,266);a.vertex=!0;b.insert(a);a=new mxCell("14",new mxGeometry(0.7104,
0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,266);a.vertex=!0;b.insert(a);a=new mxCell("15",new mxGeometry(0.8506,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,266);a.vertex=!0;b.insert(a);a=new mxCell("16",new mxGeometry(0,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("17",new mxGeometry(0.1463,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("18",new mxGeometry(0.2896,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("19",new mxGeometry(0.4299,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("20",new mxGeometry(0.5701,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;
b.insert(a);a=new mxCell("21",new mxGeometry(0.7104,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("22",new mxGeometry(0.8506,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("23",new mxGeometry(0,
0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);a=new mxCell("24",new mxGeometry(0.1463,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);a=new mxCell("25",new mxGeometry(0.2896,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);a=new mxCell("26",new mxGeometry(0.4299,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);a=new mxCell("27",new mxGeometry(0.5701,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,346);a.vertex=!0;b.insert(a);a=new mxCell("28",new mxGeometry(0.7104,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);a=new mxCell("29",new mxGeometry(0.8506,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;
b.insert(a);a=new mxCell("30",new mxGeometry(0,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,386);a.vertex=!0;b.insert(a);e=new mxCell("CANCEL",new mxGeometry(1,1,70,50),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-160,-50);
e.vertex=!0;b.insert(e);a=new mxCell("OK",new mxGeometry(1,1,90,50),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(-90,-50);b.insert(a);return c.createVertexTemplateFromCells([b],328,484,"Date picker (portrait)")}),this.addEntry("gmdl google media design library picker date picker portrait dark",function(){var b=new mxCell("",new mxGeometry(0,
0,328,484),"shape\x3drect;fillColor\x3d#424242;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Thu, Apr 13",new mxGeometry(0,0,328,96),"shape\x3drect;fillColor\x3d#555555;fontColor\x3d#ffffff;strokeColor\x3dnone;align\x3dleft;spacing\x3d16;fontSize\x3d33;verticalAlign\x3dbottom;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("2017",new mxGeometry(0,0,328,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#FFFFFF;spacingTop\x3d6;spacing\x3d16;fontSize\x3d15;textOpacity\x3d70;resizeWidth\x3d1;");
e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("\x3c",new mxGeometry(0,0,48,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#ffffff;spacingTop\x3d6;spacing\x3d16;fontSize\x3d20;align\x3dcenter;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,96);a.vertex=!0;b.insert(a);a=new mxCell("April 2017",new mxGeometry(0.1463,0,232,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#ffffff;spacingTop\x3d6;spacing\x3d16;fontSize\x3d13;align\x3dcenter;fontStyle\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,96);a.vertex=!0;b.insert(a);a=new mxCell("\x3e",new mxGeometry(0.8537,0,48,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#ffffff;spacingTop\x3d6;spacing\x3d16;fontSize\x3d20;align\x3dcenter;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,96);a.vertex=!0;b.insert(a);a=new mxCell("S",new mxGeometry(0,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");a.geometry.relative=!0;
a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=new mxCell("M",new mxGeometry(0.1463,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=new mxCell("T",new mxGeometry(0.2896,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=
new mxCell("W",new mxGeometry(0.4299,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=new mxCell("T",new mxGeometry(0.5701,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=new mxCell("F",new mxGeometry(0.7104,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=new mxCell("S",new mxGeometry(0.8506,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,146);a.vertex=!0;b.insert(a);a=new mxCell("1",new mxGeometry(0.8506,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,186);a.vertex=
!0;b.insert(a);a=new mxCell("2",new mxGeometry(0,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("3",new mxGeometry(0.1463,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("4",new mxGeometry(0.2896,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("5",new mxGeometry(0.4299,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("6",new mxGeometry(0.5701,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=
!0;b.insert(a);a=new mxCell("7",new mxGeometry(0.7104,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#80CBC4;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("8",new mxGeometry(0.8506,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,226);a.vertex=!0;b.insert(a);a=new mxCell("9",new mxGeometry(0,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,266);a.vertex=!0;b.insert(a);a=new mxCell("10",new mxGeometry(0.1463,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,266);a.vertex=!0;b.insert(a);a=new mxCell("11",new mxGeometry(0.2896,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,266);a.vertex=
!0;b.insert(a);a=new mxCell("12",new mxGeometry(0.4299,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,266);a.vertex=!0;b.insert(a);a=new mxCell("13",new mxGeometry(0.6402,0,40,40),"shape\x3dellipse;fillColor\x3d#80CBC4;strokeColor\x3dnone;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#424242;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-20,266);a.vertex=!0;b.insert(a);
a=new mxCell("14",new mxGeometry(0.7104,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,266);a.vertex=!0;b.insert(a);a=new mxCell("15",new mxGeometry(0.8506,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,266);a.vertex=!0;b.insert(a);a=new mxCell("16",new mxGeometry(0,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("17",new mxGeometry(0.1463,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("18",new mxGeometry(0.2896,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=
!0;b.insert(a);a=new mxCell("19",new mxGeometry(0.4299,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("20",new mxGeometry(0.5701,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("21",new mxGeometry(0.7104,0,46,40),
"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("22",new mxGeometry(0.8506,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,306);a.vertex=!0;b.insert(a);a=new mxCell("23",new mxGeometry(0,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);a=new mxCell("24",new mxGeometry(0.1463,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);a=new mxCell("25",new mxGeometry(0.2896,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=
!0;b.insert(a);a=new mxCell("26",new mxGeometry(0.4299,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);a=new mxCell("27",new mxGeometry(0.5701,0,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);a=new mxCell("28",new mxGeometry(0.7104,0,46,40),
"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);a=new mxCell("29",new mxGeometry(0.8506,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,346);a.vertex=!0;b.insert(a);a=new mxCell("30",new mxGeometry(0,0,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,386);a.vertex=!0;b.insert(a);e=new mxCell("CANCEL",new mxGeometry(1,1,70,50),"text;fontSize\x3d13;fontColor\x3d#80CBC4;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-160,-50);e.vertex=!0;b.insert(e);a=new mxCell("OK",new mxGeometry(1,1,90,50),"text;fontSize\x3d13;fontColor\x3d#80CBC4;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");
a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(-90,-50);b.insert(a);return c.createVertexTemplateFromCells([b],328,484,"Date picker (portrait, dark)")}),this.addEntry("gmdl google media design library picker date picker landscape",function(){var b=new mxCell("",new mxGeometry(0,0,512,304),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Thu,\nApr 13",new mxGeometry(0,0,168,304),"shape\x3drect;fillColor\x3d#009688;fontColor\x3d#ffffff;strokeColor\x3dnone;align\x3dleft;spacing\x3d16;fontSize\x3d33;verticalAlign\x3dtop;spacingTop\x3d14;");
a.vertex=!0;b.insert(a);var e=new mxCell("2017",new mxGeometry(0,0,168,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#FFFFFF;spacingTop\x3d6;spacing\x3d16;fontSize\x3d15;textOpacity\x3d70;resizeWidth\x3d1;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("\x3c",new mxGeometry(0.3262,0,50,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#4D4D4D;spacingTop\x3d6;spacing\x3d16;fontSize\x3d20;align\x3dcenter;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("April 2017",
new mxGeometry(0.4297,0,242,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#4D4D4D;spacingTop\x3d6;spacing\x3d16;fontSize\x3d13;align\x3dcenter;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("\x3e",new mxGeometry(0.9023,0,50,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#4D4D4D;spacingTop\x3d6;spacing\x3d16;fontSize\x3d20;align\x3dcenter;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("S",new mxGeometry(0.3262,0,52,32),
"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("M",new mxGeometry(0.4297,0,48,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("T",new mxGeometry(0.5234,0,48,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("W",new mxGeometry(0.6172,0,48,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("T",new mxGeometry(0.7109,0,48,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=
!0;b.insert(a);a=new mxCell("F",new mxGeometry(0.8047,0,48,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("S",new mxGeometry(0.8984,0,52,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#808080;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("1",new mxGeometry(0.8984,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,68);a.vertex=!0;b.insert(a);a=new mxCell("2",new mxGeometry(0.3262,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=!0;b.insert(a);a=new mxCell("3",new mxGeometry(0.4297,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,100);a.vertex=!0;b.insert(a);a=new mxCell("4",new mxGeometry(0.5234,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=!0;b.insert(a);a=new mxCell("5",new mxGeometry(0.6172,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=!0;b.insert(a);
a=new mxCell("6",new mxGeometry(0.7109,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=!0;b.insert(a);a=new mxCell("7",new mxGeometry(0.8047,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#009688;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=!0;b.insert(a);a=new mxCell("8",new mxGeometry(0.8984,
0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=!0;b.insert(a);a=new mxCell("9",new mxGeometry(0.3262,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,132);a.vertex=!0;b.insert(a);a=new mxCell("10",new mxGeometry(0.4297,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,132);a.vertex=!0;b.insert(a);a=new mxCell("11",new mxGeometry(0.5234,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,132);a.vertex=!0;b.insert(a);a=new mxCell("12",new mxGeometry(0.6172,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,132);a.vertex=!0;b.insert(a);a=new mxCell("13",new mxGeometry(0.755,0,32,32),"shape\x3dellipse;fillColor\x3d#009688;strokeColor\x3dnone;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-16,132);a.vertex=!0;b.insert(a);a=new mxCell("14",new mxGeometry(0.8047,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,132);a.vertex=!0;b.insert(a);a=new mxCell("15",new mxGeometry(0.8984,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,132);a.vertex=!0;b.insert(a);a=new mxCell("16",new mxGeometry(0.3262,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;
b.insert(a);a=new mxCell("17",new mxGeometry(0.4297,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;b.insert(a);a=new mxCell("18",new mxGeometry(0.5234,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;b.insert(a);a=new mxCell("19",new mxGeometry(0.6172,
0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;b.insert(a);a=new mxCell("20",new mxGeometry(0.7109,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;b.insert(a);a=new mxCell("21",new mxGeometry(0.8047,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;b.insert(a);a=new mxCell("22",new mxGeometry(0.8984,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;b.insert(a);a=new mxCell("23",new mxGeometry(0.3262,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,196);a.vertex=!0;b.insert(a);a=new mxCell("24",new mxGeometry(0.4297,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=!0;b.insert(a);a=new mxCell("25",new mxGeometry(0.5234,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=!0;
b.insert(a);a=new mxCell("26",new mxGeometry(0.6172,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=!0;b.insert(a);a=new mxCell("27",new mxGeometry(0.7109,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=!0;b.insert(a);a=new mxCell("28",new mxGeometry(0.8047,
0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=!0;b.insert(a);a=new mxCell("29",new mxGeometry(0.8984,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=!0;b.insert(a);a=new mxCell("30",new mxGeometry(0.3262,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontStyle\x3d1;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,228);a.vertex=!0;b.insert(a);e=new mxCell("CANCEL",new mxGeometry(1,1,70,50),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-160,-50);e.vertex=!0;b.insert(e);a=new mxCell("OK",new mxGeometry(1,1,90,50),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-90,-50);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],512,304,"Date picker (landscape)")}),this.addEntry("gmdl google media design library picker date picker landscape dark",function(){var b=new mxCell("",new mxGeometry(0,0,512,304),"shape\x3drect;fillColor\x3d#424242;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Thu,\nApr 13",new mxGeometry(0,0,168,304),"shape\x3drect;fillColor\x3d#555555;fontColor\x3d#ffffff;strokeColor\x3dnone;align\x3dleft;spacing\x3d16;fontSize\x3d33;verticalAlign\x3dtop;spacingTop\x3d14;");
a.vertex=!0;b.insert(a);var e=new mxCell("2017",new mxGeometry(0,0,168,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#FFFFFF;spacingTop\x3d6;spacing\x3d16;fontSize\x3d15;textOpacity\x3d70;resizeWidth\x3d1;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("\x3c",new mxGeometry(0.3262,0,50,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#ffffff;spacingTop\x3d6;spacing\x3d16;fontSize\x3d20;align\x3dcenter;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("April 2017",
new mxGeometry(0.4297,0,242,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#ffffff;spacingTop\x3d6;spacing\x3d16;fontSize\x3d13;align\x3dcenter;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("\x3e",new mxGeometry(0.9023,0,50,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#ffffff;spacingTop\x3d6;spacing\x3d16;fontSize\x3d20;align\x3dcenter;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("S",new mxGeometry(0.3262,0,52,32),
"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("M",new mxGeometry(0.4297,0,48,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("T",new mxGeometry(0.5234,0,48,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("W",new mxGeometry(0.6172,0,48,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("T",new mxGeometry(0.7109,0,48,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=
!0;b.insert(a);a=new mxCell("F",new mxGeometry(0.8047,0,48,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("S",new mxGeometry(0.8984,0,52,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#cccccc;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("1",new mxGeometry(0.8984,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,68);a.vertex=!0;b.insert(a);a=new mxCell("2",new mxGeometry(0.3262,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=!0;b.insert(a);a=new mxCell("3",new mxGeometry(0.4297,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=
!0;b.insert(a);a=new mxCell("4",new mxGeometry(0.5234,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=!0;b.insert(a);a=new mxCell("5",new mxGeometry(0.6172,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=!0;b.insert(a);a=new mxCell("6",new mxGeometry(0.7109,0,46,32),
"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=!0;b.insert(a);a=new mxCell("7",new mxGeometry(0.8047,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#80CBC4;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=!0;b.insert(a);a=new mxCell("8",new mxGeometry(0.8984,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,100);a.vertex=!0;b.insert(a);a=new mxCell("9",new mxGeometry(0.3262,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,132);a.vertex=!0;b.insert(a);a=new mxCell("10",new mxGeometry(0.4297,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,132);a.vertex=
!0;b.insert(a);a=new mxCell("11",new mxGeometry(0.5234,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,132);a.vertex=!0;b.insert(a);a=new mxCell("12",new mxGeometry(0.6172,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,132);a.vertex=!0;b.insert(a);a=new mxCell("13",new mxGeometry(0.755,0,32,32),
"shape\x3dellipse;fillColor\x3d#80CBC4;strokeColor\x3dnone;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#424242;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-16,132);a.vertex=!0;b.insert(a);a=new mxCell("14",new mxGeometry(0.8047,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,132);a.vertex=!0;b.insert(a);a=new mxCell("15",new mxGeometry(0.8984,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,132);a.vertex=!0;b.insert(a);a=new mxCell("16",new mxGeometry(0.3262,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;b.insert(a);a=new mxCell("17",new mxGeometry(0.4297,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=
!0;b.insert(a);a=new mxCell("18",new mxGeometry(0.5234,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;b.insert(a);a=new mxCell("19",new mxGeometry(0.6172,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;b.insert(a);a=new mxCell("20",new mxGeometry(0.7109,0,46,32),
"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;b.insert(a);a=new mxCell("21",new mxGeometry(0.8047,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;b.insert(a);a=new mxCell("22",new mxGeometry(0.8984,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,164);a.vertex=!0;b.insert(a);a=new mxCell("23",new mxGeometry(0.3262,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=!0;b.insert(a);a=new mxCell("24",new mxGeometry(0.4297,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=
!0;b.insert(a);a=new mxCell("25",new mxGeometry(0.5234,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=!0;b.insert(a);a=new mxCell("26",new mxGeometry(0.6172,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=!0;b.insert(a);a=new mxCell("27",new mxGeometry(0.7109,0,46,32),
"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=!0;b.insert(a);a=new mxCell("28",new mxGeometry(0.8047,0,46,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=!0;b.insert(a);a=new mxCell("29",new mxGeometry(0.8984,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,196);a.vertex=!0;b.insert(a);a=new mxCell("30",new mxGeometry(0.3262,0,49,32),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,228);a.vertex=!0;b.insert(a);e=new mxCell("CANCEL",new mxGeometry(1,1,70,50),"text;fontSize\x3d13;fontColor\x3d#80CBC4;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(-160,-50);e.vertex=!0;b.insert(e);a=new mxCell("OK",new mxGeometry(1,1,90,50),"text;fontSize\x3d13;fontColor\x3d#80CBC4;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-90,-50);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],512,304,"Date picker (landscape, dark)")}),this.addEntry("gmdl google media design library picker time picker",function(){var b=
new mxCell("",new mxGeometry(0,0,328,484),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;aspect\x3dfixed;");b.vertex=!0;var a=new mxCell("3:30",new mxGeometry(0,0,328,96),"shape\x3drect;fillColor\x3d#009688;fontColor\x3d#ffffff;strokeColor\x3dnone;align\x3dcenter;spacing\x3d0;fontSize\x3d58;verticalAlign\x3dmiddle;spacingBottom\x3d10;spacingLeft\x3d34;");a.vertex=!0;b.insert(a);var e=new mxCell("AM",new mxGeometry(248,18,40,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d17;fontStyle\x3d0;textOpacity\x3d70;");
e.vertex=!0;a.insert(e);e=new mxCell("PM",new mxGeometry(248,42,40,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d17;");e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(16,130,296,296),"shape\x3dellipse;fillColor\x3d#eeeeee;strokeColor\x3dnone;");a.vertex=!0;b.insert(a);e=new mxCell("1",new mxGeometry(200,147,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");e.vertex=!0;b.insert(e);e=new mxCell("2",new mxGeometry(246,
190,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");e.vertex=!0;b.insert(e);e=new mxCell("3",new mxGeometry(145,128,145,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.time_picker;fillColor\x3d#009688;strokeColor\x3d#009688;verticalAlign\x3dmiddle;align\x3dright;fontColor\x3d#ffffff;strokeWidth\x3d2;spacingRight\x3d13;fontSize\x3d15;");e.vertex=!0;a.insert(e);a=new mxCell("4",new mxGeometry(246,319,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");
a.vertex=!0;b.insert(a);a=new mxCell("5",new mxGeometry(200,366,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("6",new mxGeometry(140,383,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("7",new mxGeometry(78,366,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("8",
new mxGeometry(33,319,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("9",new mxGeometry(15,258,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("10",new mxGeometry(33,190,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("11",new mxGeometry(78,147,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");
a.vertex=!0;b.insert(a);a=new mxCell("12",new mxGeometry(140,134,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);e=new mxCell("CANCEL",new mxGeometry(1,1,70,50),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-160,-50);e.vertex=!0;b.insert(e);e=new mxCell("OK",new mxGeometry(1,1,
90,50),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-90,-50);e.vertex=!0;b.insert(e);return c.createVertexTemplateFromCells([b],328,484,"Time picker")}),this.addEntry("gmdl google media design library picker time picker dark",function(){var b=new mxCell("",new mxGeometry(0,0,328,484),"shape\x3drect;fillColor\x3d#424242;strokeColor\x3dnone;shadow\x3d1;aspect\x3dfixed;");
b.vertex=!0;var a=new mxCell("3:30",new mxGeometry(0,0,328,96),"shape\x3drect;fillColor\x3d#555555;fontColor\x3d#ffffff;strokeColor\x3dnone;align\x3dcenter;spacing\x3d0;fontSize\x3d58;verticalAlign\x3dmiddle;spacingBottom\x3d10;spacingLeft\x3d34;");a.vertex=!0;b.insert(a);var e=new mxCell("AM",new mxGeometry(248,18,40,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d17;fontStyle\x3d0;textOpacity\x3d70;");e.vertex=!0;a.insert(e);e=new mxCell("PM",new mxGeometry(248,
42,40,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d17;");e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(16,130,296,296),"shape\x3dellipse;fillColor\x3d#555555;strokeColor\x3dnone;");a.vertex=!0;b.insert(a);e=new mxCell("1",new mxGeometry(200,147,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");e.vertex=!0;b.insert(e);e=new mxCell("2",new mxGeometry(246,190,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");
e.vertex=!0;b.insert(e);e=new mxCell("3",new mxGeometry(145,128,145,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.time_picker;fillColor\x3d#80CBC4;strokeColor\x3d#80CBC4;verticalAlign\x3dmiddle;align\x3dright;fontColor\x3d#ffffff;strokeWidth\x3d2;spacingRight\x3d13;fontSize\x3d15;");e.vertex=!0;a.insert(e);a=new mxCell("4",new mxGeometry(246,319,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("5",new mxGeometry(200,366,46,40),
"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("6",new mxGeometry(140,383,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("7",new mxGeometry(78,366,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("8",new mxGeometry(33,319,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");
a.vertex=!0;b.insert(a);a=new mxCell("9",new mxGeometry(15,258,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("10",new mxGeometry(33,190,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("11",new mxGeometry(78,147,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("12",
new mxGeometry(140,134,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);e=new mxCell("CANCEL",new mxGeometry(1,1,70,50),"text;fontSize\x3d13;fontColor\x3d#80CBC4;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-160,-50);e.vertex=!0;b.insert(e);e=new mxCell("OK",new mxGeometry(1,1,90,50),"text;fontSize\x3d13;fontColor\x3d#80CBC4;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-90,-50);e.vertex=!0;b.insert(e);return c.createVertexTemplateFromCells([b],328,484,"Time picker (dark)")}),this.addEntry("gmdl google media design library picker time picker landscape light",function(){var b=new mxCell("",new mxGeometry(0,0,512,304),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;aspect\x3dfixed;");b.vertex=!0;var a=new mxCell("3:30",new mxGeometry(0,0,168,304),"shape\x3drect;fillColor\x3d#009688;fontColor\x3d#ffffff;strokeColor\x3dnone;align\x3dcenter;spacing\x3d0;fontSize\x3d52;verticalAlign\x3dmiddle;spacingBottom\x3d60;spacingLeft\x3d16;");
a.vertex=!0;b.insert(a);var e=new mxCell("AM",new mxGeometry(0,146,168,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d17;fontStyle\x3d0;textOpacity\x3d70;");e.vertex=!0;a.insert(e);e=new mxCell("PM",new mxGeometry(0,170,168,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d17;");e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(228,16,224,224),"shape\x3dellipse;fillColor\x3d#eeeeee;strokeColor\x3dnone;");a.vertex=!0;b.insert(a);
e=new mxCell("1",new mxGeometry(355,30,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");e.vertex=!0;b.insert(e);e=new mxCell("2",new mxGeometry(392,63,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");e.vertex=!0;b.insert(e);e=new mxCell("3",new mxGeometry(110,100,108,30),"dashed\x3d0;shape\x3dmxgraph.gmdl.time_picker;fillColor\x3d#009688;strokeColor\x3d#009688;verticalAlign\x3dmiddle;align\x3dright;fontColor\x3d#ffffff;strokeWidth\x3d2;spacingRight\x3d9;fontSize\x3d15;fontStyle\x3d1;");
e.vertex=!0;a.insert(e);a=new mxCell("4",new mxGeometry(394,150,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("5",new mxGeometry(358,186,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("6",new mxGeometry(315,200,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("7",
new mxGeometry(271,186,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("8",new mxGeometry(236,150,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("9",new mxGeometry(221,108,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("10",new mxGeometry(238,63,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");
a.vertex=!0;b.insert(a);a=new mxCell("11",new mxGeometry(271,30,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("12",new mxGeometry(315,16,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;");a.vertex=!0;b.insert(a);e=new mxCell("CANCEL",new mxGeometry(1,1,70,50),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-160,-50);e.vertex=!0;b.insert(e);e=new mxCell("OK",new mxGeometry(1,1,90,50),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-90,-50);e.vertex=!0;b.insert(e);return c.createVertexTemplateFromCells([b],512,304,"Time picker (landscape, light)")}),this.addEntry("gmdl google media design library picker time picker landscape dark",
function(){var b=new mxCell("",new mxGeometry(0,0,512,304),"shape\x3drect;fillColor\x3d#424242;strokeColor\x3dnone;shadow\x3d1;aspect\x3dfixed;");b.vertex=!0;var a=new mxCell("3:30",new mxGeometry(0,0,168,304),"shape\x3drect;fillColor\x3d#555555;fontColor\x3d#ffffff;strokeColor\x3dnone;align\x3dcenter;spacing\x3d0;fontSize\x3d52;verticalAlign\x3dmiddle;spacingBottom\x3d60;spacingLeft\x3d16;");a.vertex=!0;b.insert(a);var e=new mxCell("AM",new mxGeometry(0,146,168,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d17;fontStyle\x3d0;textOpacity\x3d70;");
e.vertex=!0;a.insert(e);e=new mxCell("PM",new mxGeometry(0,170,168,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d17;");e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(228,16,224,224),"shape\x3dellipse;fillColor\x3d#555555;strokeColor\x3dnone;");a.vertex=!0;b.insert(a);e=new mxCell("1",new mxGeometry(355,30,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");e.vertex=!0;b.insert(e);e=new mxCell("2",new mxGeometry(392,
63,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");e.vertex=!0;b.insert(e);e=new mxCell("3",new mxGeometry(110,100,108,30),"dashed\x3d0;shape\x3dmxgraph.gmdl.time_picker;fillColor\x3d#80CBC4;strokeColor\x3d#80CBC4;verticalAlign\x3dmiddle;align\x3dright;fontColor\x3d#555555;strokeWidth\x3d2;spacingRight\x3d9;fontSize\x3d15;fontStyle\x3d1;");e.vertex=!0;a.insert(e);a=new mxCell("4",new mxGeometry(394,150,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");
a.vertex=!0;b.insert(a);a=new mxCell("5",new mxGeometry(358,186,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("6",new mxGeometry(315,200,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("7",new mxGeometry(271,186,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("8",
new mxGeometry(236,150,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("9",new mxGeometry(221,108,49,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("10",new mxGeometry(238,63,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);a=new mxCell("11",new mxGeometry(271,30,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");
a.vertex=!0;b.insert(a);a=new mxCell("12",new mxGeometry(315,16,46,40),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;");a.vertex=!0;b.insert(a);e=new mxCell("CANCEL",new mxGeometry(1,1,70,50),"text;fontSize\x3d13;fontColor\x3d#80CBC4;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-160,-50);e.vertex=!0;b.insert(e);e=new mxCell("OK",new mxGeometry(1,1,90,
50),"text;fontSize\x3d13;fontColor\x3d#80CBC4;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-90,-50);e.vertex=!0;b.insert(e);return c.createVertexTemplateFromCells([b],512,304,"Time picker (landscape, dark)")}),this.addEntry("gmdl google media design library picker year picker light",function(){var b=new mxCell("",new mxGeometry(0,0,328,484),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");
b.vertex=!0;var a=new mxCell("Thu, Apr 13",new mxGeometry(0,0,328,96),"shape\x3drect;fillColor\x3d#009688;fontColor\x3d#ffffff;strokeColor\x3dnone;align\x3dleft;spacing\x3d16;fontSize\x3d33;verticalAlign\x3dbottom;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("2017",new mxGeometry(0,0,328,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#FFFFFF;spacingTop\x3d6;spacing\x3d16;fontSize\x3d15;textOpacity\x3d70;resizeWidth\x3d1;");e.geometry.relative=!0;e.vertex=!0;
a.insert(e);a=new mxCell("2014",new mxGeometry(0,0,328,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,96);a.vertex=!0;b.insert(a);a=new mxCell("2015",new mxGeometry(0,0,328,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,144);a.vertex=!0;b.insert(a);a=new mxCell("2016",new mxGeometry(0,
0,328,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,192);a.vertex=!0;b.insert(a);a=new mxCell("2017",new mxGeometry(0,0,328,56),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#009688;fontSize\x3d29;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,240);a.vertex=!0;b.insert(a);a=new mxCell("2018",new mxGeometry(0,0,328,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,296);a.vertex=!0;b.insert(a);a=new mxCell("2019",new mxGeometry(0,0,328,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,344);a.vertex=!0;b.insert(a);a=new mxCell("2020",new mxGeometry(0,0,328,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,392);a.vertex=!0;b.insert(a);a=new mxCell("CANCEL",new mxGeometry(1,1,70,50),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-160,-50);a.vertex=!0;b.insert(a);a=new mxCell("OK",new mxGeometry(1,1,90,50),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-90,-50);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],328,484,"Year picker (light)")}),this.addEntry("gmdl google media design library picker year picker dark",function(){var b=new mxCell("",new mxGeometry(0,0,328,484),"shape\x3drect;fillColor\x3d#424242;strokeColor\x3dnone;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Thu, Apr 13",new mxGeometry(0,0,328,96),"shape\x3drect;fillColor\x3d#555555;fontColor\x3d#ffffff;strokeColor\x3dnone;align\x3dleft;spacing\x3d16;fontSize\x3d33;verticalAlign\x3dbottom;textOpacity\x3d70;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("2017",new mxGeometry(0,0,328,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#ffffff;spacingTop\x3d6;spacing\x3d16;fontSize\x3d15;fontOpacity\x3d70;resizeWidth\x3d1;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("2014",new mxGeometry(0,0,328,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,96);a.vertex=!0;b.insert(a);
a=new mxCell("2015",new mxGeometry(0,0,328,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,144);a.vertex=!0;b.insert(a);a=new mxCell("2016",new mxGeometry(0,0,328,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,192);a.vertex=!0;b.insert(a);a=new mxCell("2017",new mxGeometry(0,
0,328,56),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#80CBC4;fontSize\x3d29;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,240);a.vertex=!0;b.insert(a);a=new mxCell("2018",new mxGeometry(0,0,328,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,296);a.vertex=!0;b.insert(a);a=new mxCell("2019",new mxGeometry(0,0,328,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,344);a.vertex=!0;b.insert(a);a=new mxCell("2020",new mxGeometry(0,0,328,48),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,392);a.vertex=!0;b.insert(a);a=new mxCell("CANCEL",new mxGeometry(1,1,70,50),"text;fontSize\x3d13;fontColor\x3d#80CBC4;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-160,-50);a.vertex=!0;b.insert(a);a=new mxCell("OK",new mxGeometry(1,1,90,50),"text;fontSize\x3d13;fontColor\x3d#80CBC4;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-90,-50);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],328,484,"Year picker (dark)")}),this.addEntry("gmdl google media design library picker date picker landscape light",
function(){var b=new mxCell("",new mxGeometry(0,0,512,304),"shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Thu,\nApr 13",new mxGeometry(0,0,168,304),"shape\x3drect;fillColor\x3d#009688;fontColor\x3d#ffffff;strokeColor\x3dnone;align\x3dleft;spacing\x3d16;fontSize\x3d33;verticalAlign\x3dtop;spacingTop\x3d14;");a.vertex=!0;b.insert(a);var e=new mxCell("2017",new mxGeometry(0,0,168,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#FFFFFF;spacingTop\x3d6;spacing\x3d16;fontSize\x3d15;textOpacity\x3d70;resizeWidth\x3d1;");
e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("2014",new mxGeometry(0.3281,0,344,36),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("2015",new mxGeometry(0.3281,0,344,36),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("2016",
new mxGeometry(0.3281,0,344,36),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,72);a.vertex=!0;b.insert(a);a=new mxCell("2017",new mxGeometry(0.3281,0,344,44),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#009688;fontSize\x3d29;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,108);a.vertex=!0;b.insert(a);a=new mxCell("2018",new mxGeometry(0.3281,0,344,
36),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,152);a.vertex=!0;b.insert(a);a=new mxCell("2019",new mxGeometry(0.3281,0,344,36),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,188);a.vertex=!0;b.insert(a);a=new mxCell("2020",new mxGeometry(0.3281,0,344,36),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#4D4D4D;fontSize\x3d15;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,224);a.vertex=!0;b.insert(a);a=new mxCell("CANCEL",new mxGeometry(1,1,70,50),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-160,-50);a.vertex=!0;b.insert(a);a=new mxCell("OK",new mxGeometry(1,1,90,50),"text;fontSize\x3d13;fontColor\x3d#009688;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-90,-50);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],512,304,"Date picker (landscape, light)")}),this.addEntry("gmdl google media design library picker date picker landscape light",function(){var b=new mxCell("",new mxGeometry(0,0,512,304),"shape\x3drect;fillColor\x3d#424242;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Thu,\nApr 13",new mxGeometry(0,0,168,304),"shape\x3drect;fillColor\x3d#555555;fontColor\x3d#ffffff;strokeColor\x3dnone;align\x3dleft;spacing\x3d16;fontSize\x3d33;verticalAlign\x3dtop;spacingTop\x3d14;");
a.vertex=!0;b.insert(a);var e=new mxCell("2017",new mxGeometry(0,0,168,40),"text;verticalAlign\x3dmiddle;fontColor\x3d#FFFFFF;spacingTop\x3d6;spacing\x3d16;fontSize\x3d15;textOpacity\x3d70;resizeWidth\x3d1;");e.geometry.relative=!0;e.vertex=!0;a.insert(e);a=new mxCell("2014",new mxGeometry(0.3281,0,344,36),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("2015",new mxGeometry(0.3281,0,
344,36),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,36);a.vertex=!0;b.insert(a);a=new mxCell("2016",new mxGeometry(0.3281,0,344,36),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,72);a.vertex=!0;b.insert(a);a=new mxCell("2017",new mxGeometry(0.3281,0,344,44),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#80CBC4;fontSize\x3d29;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,108);a.vertex=!0;b.insert(a);a=new mxCell("2018",new mxGeometry(0.3281,0,344,36),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,152);a.vertex=!0;b.insert(a);a=new mxCell("2019",new mxGeometry(0.3281,0,344,36),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,188);a.vertex=!0;b.insert(a);a=new mxCell("2020",new mxGeometry(0.3281,0,344,36),"text;verticalAlign\x3dmiddle;align\x3dcenter;fontColor\x3d#ffffff;fontSize\x3d15;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,224);a.vertex=!0;b.insert(a);a=new mxCell("CANCEL",new mxGeometry(1,1,70,50),"text;fontSize\x3d13;fontColor\x3d#80CBC4;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(-160,-50);a.vertex=!0;b.insert(a);a=new mxCell("OK",new mxGeometry(1,1,90,50),"text;fontSize\x3d13;fontColor\x3d#80CBC4;spacingTop\x3d0;whiteSpace\x3dwrap;spacing\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;fontStyle\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-90,-50);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],512,304,"Date picker (landscape, dark)")})];this.addPalette("gmdlPickers","GMDL / Pickers",b||!1,mxUtils.bind(this,function(b){for(var a=
0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLSelectionControlsPalette=function(b){var c=this,f=[this.addEntry("gmdl google media design library selection control checkbox on hover light dark",function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3dnone;fillColor\x3d#009587;strokeWidth\x3d2;aspect\x3dfixed;");b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Checkbox (on, hover))")}),this.addEntry("gmdl google media design library selection control checkbox on focused pressed light dark",
function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#009587;opacity\x3d10;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3dnone;fillColor\x3d#009587;strokeWidth\x3d2;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Checkbox (on, focused or pressed))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled light",
function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3dnone;fillColor\x3d#B0B0B0;strokeWidth\x3d2;aspect\x3dfixed;");b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Checkbox (on, disabled, light))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled focused light",function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#B0B0B0;opacity\x3d10;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3dnone;fillColor\x3d#B0B0B0;strokeWidth\x3d2;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Checkbox (on, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control checkbox off hover light",function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;aspect\x3dfixed;");
b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Checkbox (off, hover, light))")}),this.addEntry("gmdl google media design library selection control checkbox off focused pressed light",function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#666666;opacity\x3d10;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;");a.vertex=
!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Checkbox (off, focused or pressed, light))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled light",function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#B0B0B0;fillColor\x3dnone;strokeWidth\x3d2;aspect\x3dfixed;");b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Checkbox (off, disabled, light))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled focused light",
function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#666666;opacity\x3d10;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#B0B0B0;fillColor\x3dnone;strokeWidth\x3d2;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Checkbox (off, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled dark",
function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3dnone;fillColor\x3d#676767;strokeWidth\x3d2;aspect\x3dfixed;");b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Checkbox (on, disabled, dark))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled focused dark",function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#B0B0B0;opacity\x3d10;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3dnone;fillColor\x3d#676767;strokeWidth\x3d2;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Checkbox (on, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off hover dark",function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;aspect\x3dfixed;");
b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Checkbox (off, hover, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off focused pressed dark",function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#666666;opacity\x3d10;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");a.vertex=
!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Checkbox (off, focused or pressed, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled dark",function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;aspect\x3dfixed;");b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Checkbox (off, disabled, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled focused dark",
function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#666666;opacity\x3d10;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.checkbox;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Checkbox (off, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control radio button on hover light dark",
function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#009587;fillColor\x3d#009587;strokeWidth\x3d2;aspect\x3dfixed;");b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Radio button (on, hover))")}),this.addEntry("gmdl google media design library selection control radio button on focused pressed light dark",function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#009587;opacity\x3d10;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#009587;fillColor\x3d#009587;strokeWidth\x3d2;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Radio button (on, focused or pressed))")}),this.addEntry("gmdl google media design library selection control radio button on disabled light",function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#B0B0B0;fillColor\x3d#B0B0B0;strokeWidth\x3d2;aspect\x3dfixed;");
b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Radio button (on, disabled, light))")}),this.addEntry("gmdl google media design library selection control radio button on disabled focused light",function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#B0B0B0;opacity\x3d10;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#B0B0B0;fillColor\x3d#B0B0B0;strokeWidth\x3d2;");
a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Radio button (on, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control radio button off hover light",function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;aspect\x3dfixed;");b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Radio button (off, hover, light))")}),this.addEntry("gmdl google media design library selection control radio button off focused pressed light",
function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#666666;opacity\x3d10;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Radio button (off, focused or pressed, light))")}),this.addEntry("gmdl google media design library selection control radio button off disabled light",
function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#B0B0B0;fillColor\x3dnone;strokeWidth\x3d2;aspect\x3dfixed;");b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Radio button (off, disabled, light))")}),this.addEntry("gmdl google media design library selection control radio button off disabled focused light",function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#666666;opacity\x3d10;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#B0B0B0;fillColor\x3dnone;strokeWidth\x3d2;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Radio button (off, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control radio button on disabled dark",function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#676767;fillColor\x3d#676767;strokeWidth\x3d2;aspect\x3dfixed;");
b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Radio button (on, disabled, dark))")}),this.addEntry("gmdl google media design library selection control radio button on disabled focused dark",function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#B0B0B0;opacity\x3d10;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#676767;fillColor\x3d#676767;strokeWidth\x3d2;");
a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Radio button (on, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control radio button off hover dark",function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;aspect\x3dfixed;");b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Radio button (off, hover, dark))")}),this.addEntry("gmdl google media design library selection control radio button off focused pressed dark",
function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#666666;opacity\x3d10;");b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Radio button (off, focused or pressed, dark))")}),this.addEntry("gmdl google media design library selection control radio button off disabled dark",
function(){var b=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;aspect\x3dfixed;");b.vertex=!0;return c.createVertexTemplateFromCells([b],16,16,"Radio button (off, disabled, dark))")}),this.addEntry("gmdl google media design library selection control radio button off disabled focused dark",function(){var b=new mxCell("",new mxGeometry(0,0,48,48),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#666666;opacity\x3d10;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(16,16,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.radiobutton;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],48,48,"Radio button (off, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control switch on light",function(){var b=new mxCell("",new mxGeometry(0,0,36,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.switch;aspect\x3dfixed;switchState\x3don;strokeColor\x3dnone;fillColor\x3d#0E9D57;");
b.vertex=!0;return c.createVertexTemplateFromCells([b],36,20,"Switch (on, light)")}),this.addEntry("gmdl google media design library selection control switch on dark",function(){var b=new mxCell("",new mxGeometry(0,0,36,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.switch;aspect\x3dfixed;switchState\x3don;strokeColor\x3dnone;fillColor\x3d#80CBC4;");b.vertex=!0;return c.createVertexTemplateFromCells([b],36,20,"Switch (on, dark)")}),this.addEntry("gmdl google media design library selection control switch off light dark",
function(){var b=new mxCell("",new mxGeometry(0,0,36,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.switch;aspect\x3dfixed;switchState\x3doff;strokeColor\x3dnone;fillColor\x3d#0E9D57;");b.vertex=!0;return c.createVertexTemplateFromCells([b],36,20,"Switch (off)")})];this.addPalette("gmdlSelection Controls","GMDL / Selection Controls",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLSlidersPalette=function(b){var c=[this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.slider2;barPos\x3d0;strokeColor\x3d#bbbbbb;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#ffffff;handleSize\x3d10;shadow\x3d0;",
200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.slider2;barPos\x3d50;strokeColor\x3d#3F51B5;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#3F51B5;handleSize\x3d10;shadow\x3d0;",200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.slider2;barPos\x3d100;strokeColor\x3d#3F51B5;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#3F51B5;handleSize\x3d10;shadow\x3d0;",
200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderFocused;barPos\x3d0;strokeColor\x3d#bbbbbb;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#ffffff;handleSize\x3d30;shadow\x3d0;",200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderFocused;barPos\x3d50;strokeColor\x3d#3F51B5;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#3F51B5;handleSize\x3d30;shadow\x3d0;",
200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderFocused;barPos\x3d100;strokeColor\x3d#3F51B5;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#3F51B5;handleSize\x3d30;shadow\x3d0;",200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.slider2;barPos\x3d0;strokeColor\x3d#bbbbbb;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#ffffff;handleSize\x3d20;shadow\x3d0;",
200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.slider2;barPos\x3d50;strokeColor\x3d#3F51B5;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#3F51B5;handleSize\x3d20;shadow\x3d0;",200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.slider2;barPos\x3d100;strokeColor\x3d#3F51B5;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#3F51B5;handleSize\x3d20;shadow\x3d0;",
200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDisabled2;strokeColor\x3d#b0b0b0;strokeWidth\x3d2;fillColor\x3dnone;handleSize\x3d6;shadow\x3d0;hPos\x3d0;",210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDisabled2;strokeColor\x3d#b0b0b0;strokeWidth\x3d2;fillColor\x3d#b0b0b0;handleSize\x3d6;shadow\x3d0;hPos\x3d50;",
210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDisabled2;strokeColor\x3d#b0b0b0;strokeWidth\x3d2;fillColor\x3d#b0b0b0;handleSize\x3d6;shadow\x3d0;hPos\x3d100;",210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.slider2;barPos\x3d0;strokeColor\x3d#000000;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#000000;handleSize\x3d10;shadow\x3d0;",
200,10,"","Discrete slider (normal, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider normal light","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.slider2;barPos\x3d60;strokeColor\x3d#0F9D58;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#0F9D58;handleSize\x3d10;shadow\x3d0;",200,10,"","Discrete slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),
this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.slider2;barPos\x3d100;strokeColor\x3d#0F9D58;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#0F9D58;handleSize\x3d10;shadow\x3d0;",200,10,"","Discrete slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDiscrete;barPos\x3d1;strokeColor\x3d#BEBEBE;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#BEBEBE;handleSize\x3d10;shadow\x3d0;fontSize\x3d12;fontColor\x3d#ffffff;",
200,45,"","Discrete slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDiscrete;barPos\x3d60;strokeColor\x3d#0F9D58;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#0F9D58;handleSize\x3d10;shadow\x3d0;fontSize\x3d12;fontColor\x3d#ffffff;",200,45,"","Discrete slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),
this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDiscrete;barPos\x3d100;strokeColor\x3d#0F9D58;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#0F9D58;handleSize\x3d10;shadow\x3d0;fontSize\x3d12;fontColor\x3d#ffffff;",200,45,"","Discrete slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDiscreteDots;barPos\x3d0;bright\x3d1;strokeColor\x3d#0F9D58;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#0F9D58;handleSize\x3d10;shadow\x3d0;fontSize\x3d12;fontColor\x3d#ffffff;",
200,45,"","Discrete slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDiscreteDots;barPos\x3d60;bright\x3d1;strokeColor\x3d#0F9D58;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#0F9D58;handleSize\x3d10;shadow\x3d0;fontSize\x3d12;fontColor\x3d#ffffff;",200,45,"","Discrete slider (click, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click light",
"gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDiscreteDots;barPos\x3d100;bright\x3d1;strokeColor\x3d#0F9D58;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#0F9D58;handleSize\x3d10;shadow\x3d0;fontSize\x3d12;fontColor\x3d#ffffff;",200,45,"","Discrete slider (click, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click light","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDisabled2;strokeColor\x3d#b0b0b0;strokeWidth\x3d2;fillColor\x3d#b0b0b0;handleSize\x3d6;shadow\x3d0;hPos\x3d0;",
200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDisabled2;strokeColor\x3d#b0b0b0;strokeWidth\x3d2;fillColor\x3d#b0b0b0;handleSize\x3d6;shadow\x3d0;hPos\x3d50;",200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled","gmdl google media design library slider ").join(" ")),
this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDisabled2;strokeColor\x3d#b0b0b0;strokeWidth\x3d2;fillColor\x3d#b0b0b0;handleSize\x3d6;shadow\x3d0;hPos\x3d100;",200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.slider2;barPos\x3d0;strokeColor\x3d#ffffff;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#ffffff;handleSize\x3d10;shadow\x3d0;",
200,10,"","Discrete slider (normal, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider normal dark","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDiscreteDots;barPos\x3d0;bright\x3d0;strokeColor\x3d#0F9D58;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#0F9D58;handleSize\x3d10;shadow\x3d0;fontSize\x3d12;fontColor\x3d#ffffff;",200,45,"","Discrete slider (click, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl",
"discrete slider click dark","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDiscreteDots;barPos\x3d60;bright\x3d0;strokeColor\x3d#0F9D58;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#0F9D58;handleSize\x3d10;shadow\x3d0;fontSize\x3d12;fontColor\x3d#ffffff;",200,45,"","Discrete slider (click, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider click dark","gmdl google media design library slider ").join(" ")),
this.createVertexTemplateEntry("dashed\x3d0;shape\x3dmxgraph.gmdl.sliderDiscreteDots;barPos\x3d100;bright\x3d0;strokeColor\x3d#0F9D58;opacity\x3d100;strokeWidth\x3d2;fillColor\x3d#0F9D58;handleSize\x3d10;shadow\x3d0;fontSize\x3d12;fontColor\x3d#ffffff;",200,45,"","Discrete slider (click, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider click dark","gmdl google media design library slider ").join(" "))];this.addPalette("gmdlSliders","GMDL / Sliders",b||!1,mxUtils.bind(this,function(b){for(var d=
0;d<c.length;d++)b.appendChild(c[d](b))}))};Sidebar.prototype.addGMDLSteppersPalette=function(b){var c=this,f=[this.addEntry("gmdl google media design library tab stepper",function(){var b=new mxCell("",new mxGeometry(0,0,704,478),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;");b.vertex=!0;var a=new mxCell("1",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#4285F4;fontColor\x3d#ffffff;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(24,24);
b.insert(a);a=new mxCell("Name of step 1",new mxGeometry(0,0,200,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontStyle\x3d1;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(56,24);b.insert(a);a=new mxCell("",new mxGeometry(0,0,10,296),"shape\x3dline;direction\x3dnorth;strokeColor\x3d#b3b3b3;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(31,54);b.insert(a);a=new mxCell("",new mxGeometry(0,0,596,190),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#bdbdbd;");
a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(60,58);b.insert(a);a=new mxCell("CONTINUE",new mxGeometry(0,0,102,36),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#4285f4;fontColor\x3d#ffffff;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(60,272);b.insert(a);a=new mxCell("CANCEL",new mxGeometry(0,0,102,36),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#808080;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(172,272);
b.insert(a);a=new mxCell("2",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#ffffff;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(24,356);b.insert(a);a=new mxCell("Name of step 2",new mxGeometry(0,0,200,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontColor\x3d#aaaaaa;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(56,356);b.insert(a);a=new mxCell("3",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#ffffff;");
a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(24,422);b.insert(a);a=new mxCell("Name of step 3",new mxGeometry(0,0,200,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontColor\x3d#aaaaaa;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(56,422);b.insert(a);a=new mxCell("",new mxGeometry(0,0,10,25),"shape\x3dline;direction\x3dnorth;strokeColor\x3d#b3b3b3;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(31,390);b.insert(a);
return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Stepper")}),this.addEntry("gmdl google media design library tab editable steps",function(){var b=new mxCell("",new mxGeometry(0,0,704,72),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;");b.vertex=!0;var a=new mxCell("Select campaign settings",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#4285F4;fontColor\x3d#000000;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d10;fontStyle\x3d1;");
a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(24,24);b.insert(a);var e=new mxCell("",new mxGeometry(0.5,0.5,10,10),"dashed\x3d0;shape\x3dmxgraph.gmdl.edit;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.vertex=!0;e.geometry.relative=!0;e.geometry.offset=new mxPoint(-5,-5);a.insert(e);a=new mxCell("",new mxGeometry(0,0,90,10),"shape\x3dline;strokeColor\x3d#b3b3b3;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(206,31);b.insert(a);a=new mxCell("Create an ad group",
new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#000000;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d10;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(306,24);b.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,12,10),"dashed\x3d0;shape\x3dmxgraph.gmdl.check;strokeColor\x3d#ffffff;strokeWidth\x3d2;");e.vertex=!0;e.geometry.relative=!0;e.geometry.offset=new mxPoint(-6,-5);a.insert(e);a=new mxCell("",new mxGeometry(0,0,90,
10),"shape\x3dline;strokeColor\x3d#b3b3b3;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(460,31);b.insert(a);a=new mxCell("3",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#ffffff;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(568,24);b.insert(a);a=new mxCell("Create an ad",new mxGeometry(0,0,110,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;spacingLeft\x3d10;fontColor\x3d#808080;");
a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(592,24);b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Editable Steps")}),this.addEntry("gmdl google media design library tab noneditable non editable steps",function(){var b=new mxCell("",new mxGeometry(0,0,704,72),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;");b.vertex=!0;var a=new mxCell("Select campaign settings",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#4285F4;fontColor\x3d#000000;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d10;");
a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(24,24);b.insert(a);var e=new mxCell("",new mxGeometry(0.5,0.5,12,10),"dashed\x3d0;shape\x3dmxgraph.gmdl.check;strokeColor\x3d#ffffff;strokeWidth\x3d2;");e.vertex=!0;e.geometry.relative=!0;e.geometry.offset=new mxPoint(-6,-5);a.insert(e);a=new mxCell("",new mxGeometry(0,0,90,10),"shape\x3dline;strokeColor\x3d#b3b3b3;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(206,31);b.insert(a);a=new mxCell("2",new mxGeometry(0,
0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#4285F4;fontColor\x3d#ffffff;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(306,24);b.insert(a);a=new mxCell("Create an ad group",new mxGeometry(0,0,200,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#000000;align\x3dleft;spacingLeft\x3d10;fontStyle\x3d1;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(330,24);b.insert(a);a=new mxCell("",new mxGeometry(0,0,90,10),"shape\x3dline;strokeColor\x3d#b3b3b3;");
a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(460,31);b.insert(a);a=new mxCell("3",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#ffffff;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(568,24);b.insert(a);a=new mxCell("Create an ad",new mxGeometry(0,0,110,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;spacingLeft\x3d10;fontColor\x3d#808080;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=
new mxPoint(592,24);b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Non-editable Steps")}),this.addEntry("gmdl google media design library tab mobile step text",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#3367D6;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");
a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Create",new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#4285F4;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);a=new mxCell("Step 4 of 6",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#f5f5f5;resizeWidth\x3d1;fontSize\x3d13;fontColor\x3d#000000;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d16;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,80);a.vertex=!0;b.insert(a);a=new mxCell("\x3c BACK",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#f5f5f5;resizeWidth\x3d1;fontSize\x3d13;fontColor\x3d#666666;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d16;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-96);a.vertex=!0;b.insert(a);e=new mxCell("NEXT \x3e",new mxGeometry(1,0,100,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;resizeWidth\x3d1;fontSize\x3d13;fontColor\x3d#666666;verticalAlign\x3dmiddle;align\x3dright;spacingRight\x3d16;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-100,0);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,
-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,
"Mobile step (text)")}),this.addEntry("gmdl google media design library tab mobile step dots",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#3367D6;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=
!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Create",new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#4285F4;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);a=new mxCell("\x3c BACK",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#f5f5f5;resizeWidth\x3d1;fontSize\x3d13;fontColor\x3d#666666;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d16;");a.geometry.relative=!0;
a.geometry.offset=new mxPoint(0,-96);a.vertex=!0;b.insert(a);e=new mxCell("NEXT \x3e",new mxGeometry(1,0,100,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d13;fontColor\x3d#666666;verticalAlign\x3dmiddle;align\x3dright;spacingRight\x3d16;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-100,0);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0,6,6),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#aaaaaa;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(-43,21);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0,6,6),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#aaaaaa;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-28,21);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0,6,6),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#aaaaaa;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-13,21);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0,8,8),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#4285F4;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(1,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0,6,6),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#aaaaaa;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(17,21);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0,6,6),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#aaaaaa;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(32,21);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),
"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Mobile step (dots)")}),this.addEntry("gmdl google media design library tab mobile step progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,358,
642),"dashed\x3d0;shape\x3drect;fillColor\x3d#BDBDBD;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#3367D6;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Create",new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#4285F4;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);a=new mxCell("\x3c BACK",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#f5f5f5;resizeWidth\x3d1;fontSize\x3d13;fontColor\x3d#666666;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d16;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-96);a.vertex=!0;b.insert(a);e=new mxCell("NEXT \x3e",new mxGeometry(1,0,100,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontSize\x3d13;fontColor\x3d#666666;verticalAlign\x3dmiddle;align\x3dright;spacingRight\x3d16;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-100,0);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,112,10),"dashed\x3d0;shape\x3dmxgraph.gmdl.progressBar;strokeColor\x3d#4285F4;strokeWidth\x3d3;dx1\x3d0.7;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-66,-5);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,
0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Mobile step (progress bar)")}),this.addEntry("gmdl google media design library tab editable steps optional",function(){var b=new mxCell("",new mxGeometry(0,0,704,72),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;");b.vertex=!0;var a=new mxCell("Select campaign settings",
new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#4285F4;fontColor\x3d#000000;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d10;fontStyle\x3d1;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(24,24);b.insert(a);var e=new mxCell("",new mxGeometry(0.5,0.5,10,10),"dashed\x3d0;shape\x3dmxgraph.gmdl.edit;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.vertex=!0;e.geometry.relative=!0;e.geometry.offset=new mxPoint(-5,-5);a.insert(e);a=new mxCell("",new mxGeometry(0,
0,90,10),"shape\x3dline;strokeColor\x3d#b3b3b3;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(206,31);b.insert(a);a=new mxCell('Create an ad group\x3cdiv\x3e\x3cfont style\x3d"font-size: 11px" color\x3d"#b3b3b3"\x3eOptional\x3c/font\x3e\x3c/div\x3e',new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#000000;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d10;html\x3d1;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(306,
24);b.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,12,10),"dashed\x3d0;shape\x3dmxgraph.gmdl.check;strokeColor\x3d#ffffff;strokeWidth\x3d2;");e.vertex=!0;e.geometry.relative=!0;e.geometry.offset=new mxPoint(-6,-5);a.insert(e);a=new mxCell("",new mxGeometry(0,0,90,10),"shape\x3dline;strokeColor\x3d#b3b3b3;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(460,31);b.insert(a);a=new mxCell("3",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#ffffff;");
a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(568,24);b.insert(a);a=new mxCell("Create an ad",new mxGeometry(0,0,110,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;spacingLeft\x3d10;fontColor\x3d#808080;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(592,24);b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Editable Steps (with optional steps)")}),this.addEntry("gmdl google media design library tab noneditable non editable steps optional",
function(){var b=new mxCell("",new mxGeometry(0,0,704,72),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;");b.vertex=!0;var a=new mxCell("Select campaign settings",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#4285F4;fontColor\x3d#000000;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d10;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(24,24);b.insert(a);var e=new mxCell("",new mxGeometry(0.5,0.5,12,10),"dashed\x3d0;shape\x3dmxgraph.gmdl.check;strokeColor\x3d#ffffff;strokeWidth\x3d2;");
e.vertex=!0;e.geometry.relative=!0;e.geometry.offset=new mxPoint(-6,-5);a.insert(e);a=new mxCell("",new mxGeometry(0,0,90,10),"shape\x3dline;strokeColor\x3d#b3b3b3;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(206,31);b.insert(a);a=new mxCell("2",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#4285F4;fontColor\x3d#ffffff;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(306,24);b.insert(a);a=new mxCell('Create an ad group\x3cdiv\x3e\x3cfont color\x3d"#b3b3b3" style\x3d"font-weight: normal ; font-size: 11px"\x3eOptional\x3c/font\x3e\x3c/div\x3e',
new mxGeometry(0,0,200,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;fontColor\x3d#000000;align\x3dleft;spacingLeft\x3d10;fontStyle\x3d1;html\x3d1;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(330,24);b.insert(a);a=new mxCell("",new mxGeometry(0,0,90,10),"shape\x3dline;strokeColor\x3d#b3b3b3;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(460,31);b.insert(a);a=new mxCell("3",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#ffffff;");
a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(568,24);b.insert(a);a=new mxCell("Create an ad",new mxGeometry(0,0,110,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;spacingLeft\x3d10;fontColor\x3d#808080;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(592,24);b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Non-editable Steps (with optional steps)")}),this.addEntry("gmdl google media design library tab mobile vertical stepper",
function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#3367D6;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Create",new mxGeometry(0,0,358,56),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#4285F4;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);a=new mxCell('Select an app\n\x3cfont color\x3d"#999999"\x3eSummarize if needed\x3c/font\x3e',new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#4285F4;fontColor\x3d#000000;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d10;html\x3d1;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(24,102);b.insert(a);e=new mxCell("",new mxGeometry(0.5,0.5,12,10),"dashed\x3d0;shape\x3dmxgraph.gmdl.check;strokeColor\x3d#ffffff;strokeWidth\x3d2;");
e.vertex=!0;e.geometry.relative=!0;e.geometry.offset=new mxPoint(-6,-5);a.insert(e);a=new mxCell("",new mxGeometry(0,0,10,30),"shape\x3dline;direction\x3dnorth;strokeColor\x3d#b3b3b3;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(31,134);b.insert(a);a=new mxCell("2",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#4285F4;fontColor\x3d#ffffff;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(24,172);b.insert(a);a=new mxCell("Configure analytics for this app",
new mxGeometry(0,0,200,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontStyle\x3d1;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(56,172);b.insert(a);a=new mxCell("",new mxGeometry(0,0,10,278),"shape\x3dline;direction\x3dnorth;strokeColor\x3d#b3b3b3;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(31,204);b.insert(a);a=new mxCell("",new mxGeometry(0,0,276,178),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#bdbdbd;");a.vertex=!0;a.geometry.relative=
!0;a.geometry.offset=new mxPoint(60,208);b.insert(a);a=new mxCell("CONTINUE",new mxGeometry(0,0,102,36),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#4285f4;fontColor\x3d#ffffff;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(60,400);b.insert(a);a=new mxCell("CANCEL",new mxGeometry(0,0,102,36),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;fontColor\x3d#808080;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(172,400);b.insert(a);a=new mxCell("3",
new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#ffffff;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(24,488);b.insert(a);a=new mxCell("Select an ad format and name ad unit",new mxGeometry(0,0,200,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontColor\x3d#4d4d4d;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(56,488);b.insert(a);a=new mxCell("4",new mxGeometry(0,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#ffffff;");
a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(24,542);b.insert(a);a=new mxCell("View setup instructions",new mxGeometry(0,0,200,24),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontColor\x3d#4d4d4d;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(56,542);b.insert(a);a=new mxCell("",new mxGeometry(0,0,10,20),"shape\x3dline;direction\x3dnorth;strokeColor\x3d#b3b3b3;");a.vertex=!0;a.geometry.relative=!0;a.geometry.offset=new mxPoint(31,516);
b.insert(a);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,
14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Mobile vertical stepper")}),this.addEntry("gmdl google media design library tab stepper alternative label placing",
function(){var b=new mxCell("1",new mxGeometry(38,0,24,24),"shape\x3dellipse;fontSize\x3d12;strokeColor\x3dnone;fillColor\x3d#4285F4;fontColor\x3d#ffffff;align\x3dcenter;verticalAlign\x3dmiddle;");b.vertex=!0;var a=new mxCell("Ad unit details",new mxGeometry(0,30,100,20),"shape\x3drect;fontColor\x3d#4d4d4dlfontSize\x3d13;strokeColor\x3dnone;fillColor\x3dnone;");a.vertex=!0;var e=new mxCell("",new mxGeometry(70,7,110,10),"shape\x3dline;strokeColor\x3d#b3b3b3;");e.vertex=!0;var f=new mxCell("2",new mxGeometry(190,
0,24,24),"shape\x3dellipse;fontSize\x3d12;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#ffffff;align\x3dcenter;verticalAlign\x3dmiddle;");f.vertex=!0;var k=new mxCell("Ad sizes",new mxGeometry(152,30,100,20),"shape\x3drect;fontColor\x3d#4d4d4dlfontSize\x3d13;strokeColor\x3dnone;fillColor\x3dnone;");k.vertex=!0;var l=new mxCell("",new mxGeometry(222,7,110,10),"shape\x3dline;strokeColor\x3d#b3b3b3;");l.vertex=!0;var m=new mxCell("3",new mxGeometry(342,0,24,24),"shape\x3dellipse;fontSize\x3d12;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#ffffff;");
m.vertex=!0;var n=new mxCell("Create an ad",new mxGeometry(304,30,100,20),"shape\x3drect;fontColor\x3d#4d4d4dlfontSize\x3d13;strokeColor\x3dnone;fillColor\x3dnone;align\x3dcenter;verticalAlign\x3dmiddle;");n.vertex=!0;return c.createVertexTemplateFromCells([b,a,e,f,k,l,m,n],404,50,"Stepper with alternative label placing")}),this.addEntry("gmdl google media design library tab stepper alternative label placing optional",function(){var b=new mxCell("1",new mxGeometry(38,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#4285F4;fontColor\x3d#ffffff;fontSize\x3d12;align\x3dcenter;verticalAlign\x3dmiddle;");
b.vertex=!0;var a=new mxCell("Ad unit details",new mxGeometry(0,30,100,20),"shape\x3drect;fontColor\x3d#4d4d4dlfontSize\x3d13;strokeColor\x3dnone;fillColor\x3dnone;");a.vertex=!0;var e=new mxCell("",new mxGeometry(70,7,110,10),"shape\x3dline;strokeColor\x3d#b3b3b3;");e.vertex=!0;var f=new mxCell("2",new mxGeometry(190,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontColor\x3d#ffffff;fontSize\x3d12;align\x3dcenter;verticalAlign\x3dmiddle;");f.vertex=!0;var k=new mxCell('Ad sizes\n\x3cfont style\x3d"font-size: 11px" color\x3d"#b3b3b3"\x3eoptional\x3c/font\x3e',
new mxGeometry(152,30,100,20),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;html\x3d1;verticalAlign\x3dtop;fontColor\x3d#4d4d4dlfontSize\x3d13;spacingTop\x3d-4;");k.vertex=!0;var l=new mxCell("",new mxGeometry(222,7,110,10),"shape\x3dline;strokeColor\x3d#b3b3b3;");l.vertex=!0;var m=new mxCell("3",new mxGeometry(342,0,24,24),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#9e9e9e;fontSize\x3d12;fontColor\x3d#ffffff;");m.vertex=!0;var n=new mxCell("Create an ad",new mxGeometry(304,30,100,
20),"shape\x3drect;fontColor\x3d#4d4d4dlfontSize\x3d13;strokeColor\x3dnone;fillColor\x3dnone;align\x3dcenter;verticalAlign\x3dmiddle;");n.vertex=!0;return c.createVertexTemplateFromCells([b,a,e,f,k,l,m,n],404,50,"Stepper with alternative optional label placing")})];this.addPalette("gmdlSteppers","GMDL / Steppers",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLTabsPalette=function(b){var c=this,f=[this.addEntry("gmdl google media design library tab fixed tab bar",
function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00A0B4;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Page title",new mxGeometry(0,0,358,104),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00BCD4;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);e=new mxCell("ITEM ONE",new mxGeometry(0,1,119,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM TWO",new mxGeometry(0.33,1,120,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;resizeWidth\x3d1;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM THREE",new mxGeometry(0.67,1,119,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,1,119,4),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F1FB8F;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,
-3);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,20);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,
1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Fixed tab bar")}),this.addEntry("gmdl google media design library tab fixed tab bar",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00A0B4;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Page title",
new mxGeometry(0,0,358,160),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00BCD4;resizeWidth\x3d1;fontSize\x3d34;fontColor\x3d#FFFFFF;spacingTop\x3d-14;verticalAlign\x3dmiddle;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);
e.vertex=!0;a.insert(e);e=new mxCell("ITEM ONE",new mxGeometry(0,1,119,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM TWO",new mxGeometry(0.33,1,120,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=
!0;a.insert(e);e=new mxCell("ITEM THREE",new mxGeometry(0.67,1,119,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,1,119,4),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F1FB8F;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-3);e.vertex=!0;a.insert(e);e=new mxCell("",
new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,20);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,
-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Fixed tab bar")}),this.addEntry("gmdl google media design library tab fixed tab bar",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00BCD4;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("ITEM ONE",new mxGeometry(0,1,119,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM TWO",new mxGeometry(0.33,1,120,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM THREE",new mxGeometry(0.67,1,119,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,1,119,4),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F1FB8F;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(0,-3);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",
new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Fixed tab bar")}),this.addEntry("gmdl google media design library tab fixed tab bar",
function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00A0B4;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,0,358,104),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00BCD4;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("Search People \x26 Places",new mxGeometry(0,0,358,64),"dashed\x3d0;shape\x3dmxgraph.gmdl.marginRect;rectMargin\x3d8;strokeColor\x3dnone;fillColor\x3d#ffffff;shadow\x3d1;fontColor\x3d#CCCCCC;fontSize\x3d14;align\x3dleft;spacingLeft\x3d72;resizeWidth\x3d1;");
e.geometry.relative=!0;e.vertex=!0;a.insert(e);var f=new mxCell("",new mxGeometry(0,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ADADAD;fillColor\x3dnone;strokeWidth\x3d2;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(28,-8);f.vertex=!0;e.insert(f);f=new mxCell("",new mxGeometry(1,0.5,10,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.voice;strokeColor\x3d#ADADAD;fillColor\x3d#ADADAD;strokeWidth\x3d2;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-40,-8);f.vertex=
!0;e.insert(f);e=new mxCell("ITEM ONE",new mxGeometry(0,1,119,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM TWO",new mxGeometry(0.33,1,120,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);
e=new mxCell("ITEM THREE",new mxGeometry(0.67,1,119,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,1,119,4),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F1FB8F;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-3);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,
1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Fixed tab bar")}),this.addEntry("gmdl google media design library tab scrollable tab bar",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00A0B4;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Page title",
new mxGeometry(0,0,358,104),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00BCD4;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=
!0;a.insert(e);e=new mxCell("ITEM ONE",new mxGeometry(0.1899,1,90,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM TWO",new mxGeometry(0.4413,1,90,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;
a.insert(e);e=new mxCell("THE THIRD",new mxGeometry(0.6927,1,90,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("FO",new mxGeometry(1,1,20,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-20,-48);e.vertex=!0;a.insert(e);
e=new mxCell("",new mxGeometry(0.1899,1,90,4),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F1FB8F;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-3);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,20);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,
-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,
"Scrollable tab bar")}),this.addEntry("gmdl google media design library tab scrollable tab bar",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#757575;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;
a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Page title",new mxGeometry(0,0,358,104),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#FAFAFA;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#000000;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#757575;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);e=new mxCell("ITEM ONE",new mxGeometry(0,1,119,48),"text;fontSize\x3d13;fontColor\x3d#01BCD4;verticalAlign\x3dmiddle;align\x3dcenter;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM TWO",
new mxGeometry(0.33,1,120,48),"text;fontSize\x3d13;fontColor\x3d#757575;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM THREE",new mxGeometry(0.67,1,119,48),"text;fontSize\x3d13;fontColor\x3d#757575;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-48);e.vertex=!0;a.insert(e);e=new mxCell("",
new mxGeometry(0,1,119,4),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#01BCD4;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-3);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#757575;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#757575;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,20);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,
-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,
"Scrollable tab bar")}),this.addEntry("gmdl google media design library tab fixed tab bar icons",function(){var b=new mxCell("",new mxGeometry(0,0,358,642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#00A0B4;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;
a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Page title",new mxGeometry(0,0,358,128),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00BCD4;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=
new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);e=new mxCell("RECENTS",new mxGeometry(0.1648,1,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.telephone;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dtop;align\x3dcenter;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-9,-48);e.vertex=!0;a.insert(e);e=new mxCell("FAVORITES",new mxGeometry(0.5,1,18,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.heart;fontSize\x3d12;fontColor\x3d#FFFFFF;verticalAlign\x3dtop;align\x3dcenter;textOpacity\x3d80;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;opacity\x3d70;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-9,-47);e.vertex=!0;a.insert(e);e=new mxCell("NEARBY",new mxGeometry(0.8268,1,18,20),
"dashed\x3d0;shape\x3dmxgraph.gmdl.chat;fontSize\x3d12;fontColor\x3d#FFFFFF;verticalAlign\x3dtop;align\x3dcenter;textOpacity\x3d80;strokeColor\x3dnone;opacity\x3d70;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-9,-51);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,1,119,4),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F1FB8F;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-3);e.vertex=
!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,20);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),
"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Fixed tab bar with icons")}),this.addEntry("gmdl google media design library tab fixed tab bar icons",function(){var b=new mxCell("",new mxGeometry(0,0,358,
642),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("12:30",new mxGeometry(0,0,358,24),"dashed\x3d0;shape\x3drect;align\x3dright;fillColor\x3d#757575;strokeColor\x3dnone;fontColor\x3d#FFFFFF;spacingRight\x3d4;spacingTop\x3d1;fontStyle\x3d0;fontSize\x3d13;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,46,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.top_bar;strokeColor\x3dnone;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(-92,-7);e.vertex=!0;a.insert(e);a=new mxCell("Page title",new mxGeometry(0,0,358,108),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#FAFAFA;resizeWidth\x3d1;fontSize\x3d20;fontColor\x3d#000000;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,24);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#666666;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.1648,1,18,18),"dashed\x3d0;shape\x3dmxgraph.gmdl.telephone;strokeColor\x3dnone;fillColor\x3d#00B9D2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-9,-28);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,1,18,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.heart;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-9,-27);e.vertex=
!0;a.insert(e);e=new mxCell("",new mxGeometry(0.8268,1,18,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.chat;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-9,-31);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,1,119,4),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00B9D2;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-3);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#666666;fillColor\x3dnone;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-65,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-24,20);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0,1,358,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-48);a.vertex=!0;
b.insert(a);e=new mxCell("",new mxGeometry(0.25,0.5,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.back;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.5,0.5,14,14),"shape\x3dellipse;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0.75,0.5,14,
14),"shape\x3drect;strokeColor\x3d#ffffff;fillColor\x3d#000000;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-7,-7);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],358,642,"Fixed tab bar with icons")}),this.addEntry("gmdl google media design library tab desktop tab bar",function(){var b=new mxCell("",new mxGeometry(0,0,758,152),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,758,
32),"dashed\x3d0;shape\x3drect;fillColor\x3d#00A0B4;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0,12,12),"dashed\x3d0;shape\x3dmxgraph.gmdl.x;strokeColor\x3d#ABDFE6;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-27,11);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,13,10),"shape\x3drect;strokeColor\x3d#ABDFE6;strokeWidth\x3d2;fillColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(-59,13);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,14,2),"shape\x3dline;strokeColor\x3d#ABDFE6;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-91,21);e.vertex=!0;a.insert(e);a=new mxCell("Page title",new mxGeometry(0,0,758,120),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00BCD4;resizeWidth\x3d1;resizeHeight\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(0,32);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);e=new mxCell("ITEM ONE",new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(68,-48);e.vertex=!0;a.insert(e);
e=new mxCell("ITEM TWO",new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(174,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM THREE",new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(280,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM FOUR",
new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(386,-48);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,1,106,4),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F1FB8F;resizeWidth\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(68,-3);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-75,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-28,20);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],758,152,"Desktop tab bar")}),this.addEntry("gmdl google media design library tab desktop tab bar",function(){var b=new mxCell("",new mxGeometry(0,0,758,152),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,758,32),"dashed\x3d0;shape\x3drect;fillColor\x3d#00A0B4;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0,12,12),"dashed\x3d0;shape\x3dmxgraph.gmdl.x;strokeColor\x3d#ABDFE6;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-27,11);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,13,10),"shape\x3drect;strokeColor\x3d#ABDFE6;strokeWidth\x3d2;fillColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-59,13);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,14,2),"shape\x3dline;strokeColor\x3d#ABDFE6;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-91,21);e.vertex=!0;a.insert(e);a=new mxCell("Page title",new mxGeometry(0,0,758,120),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00BCD4;resizeWidth\x3d1;resizeHeight\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,32);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);e=new mxCell("WEB",new mxGeometry(0,1,74,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(68,-48);e.vertex=!0;
a.insert(e);e=new mxCell("SHOPPING",new mxGeometry(0,1,108,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(142,-48);e.vertex=!0;a.insert(e);e=new mxCell("VIDEOS",new mxGeometry(0,1,98,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(250,-48);e.vertex=!0;a.insert(e);e=new mxCell("IMAGES",
new mxGeometry(0,1,74,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(348,-48);e.vertex=!0;a.insert(e);e=new mxCell("NEWS",new mxGeometry(0,1,86,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(422,-48);e.vertex=!0;a.insert(e);var f=new mxCell("MORE",new mxGeometry(0,1,74,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");
f.geometry.relative=!0;f.geometry.offset=new mxPoint(508,-48);f.vertex=!0;a.insert(f);e=new mxCell("",new mxGeometry(1,0.5,10,5),"dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#ffffff;opacity\x3d70;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-10,-3);e.vertex=!0;f.insert(e);e=new mxCell("",new mxGeometry(0,1,72,4),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F1FB8F;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(68,-3);e.vertex=!0;a.insert(e);
e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-75,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-28,20);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],758,152,"Desktop tab bar")}),
this.addEntry("gmdl google media design library tab desktop tab bar overflow",function(){var b=new mxCell("",new mxGeometry(0,0,758,152),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,758,32),"dashed\x3d0;shape\x3drect;fillColor\x3d#00A0B4;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0,12,12),"dashed\x3d0;shape\x3dmxgraph.gmdl.x;strokeColor\x3d#ABDFE6;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-27,11);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,13,10),"shape\x3drect;strokeColor\x3d#ABDFE6;strokeWidth\x3d2;fillColor\x3dnone;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-59,13);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,14,2),"shape\x3dline;strokeColor\x3d#ABDFE6;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-91,21);e.vertex=!0;a.insert(e);a=new mxCell("Page title",new mxGeometry(0,
0,758,120),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00BCD4;resizeWidth\x3d1;resizeHeight\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,32);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=
!0;a.insert(e);e=new mxCell("ITEM ONE",new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(68,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM TWO",new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(174,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM THREE",
new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(280,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM FOUR",new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(386,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM FIVE",new mxGeometry(0,1,
106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(492,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM SIX",new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(598,-48);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,1,6,12),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#ffffff;direction\x3dsouth;strokeWidth\x3d2;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-42,-30);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,1,106,4),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#F1FB8F;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(68,-3);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-75,20);e.vertex=!0;
a.insert(e);e=new mxCell("",new mxGeometry(1,0,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-28,20);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],758,152,"Desktop tab bar with overflow")}),this.addEntry("gmdl google media design library tab desktop tab bar overflow scrolled",function(){var b=new mxCell("",new mxGeometry(0,0,758,152),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3dnone;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,758,32),"dashed\x3d0;shape\x3drect;fillColor\x3d#00A0B4;strokeColor\x3dnone;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0,12,12),"dashed\x3d0;shape\x3dmxgraph.gmdl.x;strokeColor\x3d#ABDFE6;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-27,11);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,13,10),"shape\x3drect;strokeColor\x3d#ABDFE6;strokeWidth\x3d2;fillColor\x3dnone;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-59,13);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,14,2),"shape\x3dline;strokeColor\x3d#ABDFE6;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-91,21);e.vertex=!0;a.insert(e);a=new mxCell("Page title",new mxGeometry(0,0,758,120),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3d#00BCD4;resizeWidth\x3d1;resizeHeight\x3d1;fontSize\x3d20;fontColor\x3d#FFFFFF;spacingTop\x3d9;verticalAlign\x3dtop;align\x3dleft;spacingLeft\x3d72;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,32);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(0,0,24,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.preferences;strokeColor\x3dnone;fillColor\x3d#ffffff;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(16,20);e.vertex=!0;a.insert(e);e=new mxCell("ITEM SEVEN",new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(68,
-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM EIGHT",new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(174,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM NINE",new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(280,-48);e.vertex=!0;a.insert(e);
e=new mxCell("ITEM TEN",new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(386,-48);e.vertex=!0;a.insert(e);e=new mxCell("ITEM ELEVEN",new mxGeometry(0,1,106,48),"text;fontSize\x3d13;fontColor\x3d#FFFFFF;verticalAlign\x3dmiddle;align\x3dcenter;textOpacity\x3d80;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(492,-48);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(0,
1,6,12),"dashed\x3d0;shape\x3dmxgraph.gmdl.up;strokeColor\x3d#ffffff;direction\x3dnorth;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(36,-30);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeColor\x3d#ffffff;fillColor\x3dnone;strokeWidth\x3d2;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-75,20);e.vertex=!0;a.insert(e);e=new mxCell("",new mxGeometry(1,0,5,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.settings;strokeColor\x3dnone;fillColor\x3d#ffffff;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-28,20);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],758,152,"Desktop tab bar with overflow scrolled")})];this.addPalette("gmdlTabs","GMDL / Tabs",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addGMDLTextFieldsPalette=function(b){var c=this,f=[this.addEntry("gmdl google media design library text field single line text field",function(){var b=new mxCell("",new mxGeometry(0,
0,346,360),"dashed\x3d0;shape\x3drect;fillColor\x3d#ffffff;strokeColor\x3d#eeeeee;shadow\x3d1;");b.vertex=!0;var a=new mxCell("Bookmark added!",new mxGeometry(0,0,346,60),"text;verticalAlign\x3dmiddle;spacing\x3d16;fontSize\x3d21;fontStyle\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.vertex=!0;b.insert(a);a=new mxCell("Name",new mxGeometry(0,0,346,30),"text;spacingLeft\x3d16;fontColor\x3d#808080;fontSize\x3d13;spacingTop\x3d6;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,
88);a.vertex=!0;b.insert(a);a=new mxCell("100 Days of Ice Cream",new mxGeometry(0,0,346,30),"text;fontSize\x3d16;spacing\x3d2;spacingLeft\x3d16;fontStyle\x3d0;fontColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,115);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0.0462,0,314,20),"shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,140);a.vertex=!0;b.insert(a);
a=new mxCell("Folder",new mxGeometry(0,0,346,30),"text;spacingLeft\x3d16;fontColor\x3d#808080;fontSize\x3d13;spacingTop\x3d6;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,166);a.vertex=!0;b.insert(a);a=new mxCell("Bookmarks bar",new mxGeometry(0,0,346,30),"text;fontSize\x3d16;spacing\x3d2;spacingLeft\x3d16;fontStyle\x3d0;fontColor\x3d#000000;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,193);a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,
0,10,5),"dashed\x3d0;shape\x3dmxgraph.gmdl.triangle;strokeColor\x3dnone;fillColor\x3d#707070;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-26,13);e.vertex=!0;a.insert(e);a=new mxCell("",new mxGeometry(0.0462,0,314,20),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,218);a.vertex=!0;b.insert(a);a=new mxCell("REMOVE",new mxGeometry(0,1,90,60),"text;fontSize\x3d13;fontStyle\x3d1;fontColor\x3d#138FF2;spacingTop\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-60);a.vertex=!0;b.insert(a);a=new mxCell("EDIT",new mxGeometry(1,1,90,60),"text;fontSize\x3d13;fontStyle\x3d1;fontColor\x3d#138FF2;spacingTop\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-180,-60);a.vertex=!0;b.insert(a);a=new mxCell("DONE",new mxGeometry(1,1,90,60),"text;fontSize\x3d13;fontStyle\x3d1;fontColor\x3d#138FF2;spacingTop\x3d0;verticalAlign\x3dmiddle;align\x3dcenter;");a.geometry.relative=
!0;a.geometry.offset=new mxPoint(-90,-60);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],346,360,"Single-line text field")}),this.addEntry("gmdl google media design library text field single line text field normal light dark",function(){var b=new mxCell("Hint text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#808080;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,25,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#eeeeee;opacity\x3d50;");
a.vertex=!0;return c.createVertexTemplateFromCells([b,a],346,35,"Single-line text field (normal)")}),this.addEntry("gmdl google media design library text field single line text field hover light dark",function(){var b=new mxCell("Hint text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#808080;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,25,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#cccccc;opacity\x3d50;");
a.vertex=!0;return c.createVertexTemplateFromCells([b,a],346,35,"Single-line text field (hover)")}),this.addEntry("gmdl google media design library text field single line text field press light dark",function(){var b=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#808080;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;opacity\x3d50;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,25,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#0C8CF2;opacity\x3d50;");
a.vertex=!0;return c.createVertexTemplateFromCells([b,a],346,35,"Single-line text field (press)")}),this.addEntry("gmdl google media design library text field single line text field focus light",function(){var b=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#000000;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,25,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#0C8CF2;opacity\x3d50;");
a.vertex=!0;return c.createVertexTemplateFromCells([b,a],346,35,"Single-line text field (focus, light)")}),this.addEntry("gmdl google media design library text field single line text field normal light",function(){var b=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#000000;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,25,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#eeeeee;");
a.vertex=!0;return c.createVertexTemplateFromCells([b,a],346,35,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field error light",function(){var b=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#000000;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,25,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#ff0000;");
a.vertex=!0;var e=new mxCell("Username or Password is incorrect",new mxGeometry(0,30,346,25),"text;fontColor\x3d#ff0000;fontSize\x3d12;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");e.vertex=!0;return c.createVertexTemplateFromCells([b,a,e],346,55,"Single-line text field (error, light)")}),this.addEntry("gmdl google media design library text field single line text field disabled",function(){var b=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#808080;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,25,346,10),"shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#B3B3B3;dashed\x3d1;dashPattern\x3d1 4;");a.vertex=!0;return c.createVertexTemplateFromCells([b,a],346,35,"Single-line text field (disabled)")}),this.addEntry("gmdl google media design library text field single line text field focus dark",function(){var b=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#ffffff;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,25,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#0C8CF2;opacity\x3d50;");a.vertex=!0;return c.createVertexTemplateFromCells([b,a],346,35,"Single-line text field (focus, dark)")}),this.addEntry("gmdl google media design library text field single line text field normal dark",function(){var b=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#999999;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,25,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#cccccc;opacity\x3d50;");a.vertex=!0;return c.createVertexTemplateFromCells([b,a],346,35,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design library text field single line text field error dark",function(){var b=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#ffffff;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,25,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#ff0000;");a.vertex=!0;var e=new mxCell("Username or Password is incorrect",new mxGeometry(0,30,346,25),"text;fontColor\x3d#ff0000;fontSize\x3d12;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");e.vertex=!0;return c.createVertexTemplateFromCells([b,a,e],346,55,"Single-line text field (error, dark)")}),this.addEntry("gmdl google media design library text field single line text field icon normal light",
function(){var b=new mxCell("",new mxGeometry(0,0,342,35),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,16,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.telephone;strokeColor\x3dnone;fillColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-10);a.vertex=!0;b.insert(a);a=new mxCell("Phone",new mxGeometry(54,0,168,30),"text;fontColor\x3d#666666;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;textOpacity\x3d50;");
a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(54,25,168,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#E6E6E6;");a.vertex=!0;b.insert(a);a=new mxCell("Mobile",new mxGeometry(252,0,90,30),"text;fontColor\x3d#666666;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;opacity\x3d50;");a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(252,25,90,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#E6E6E6;");
e.vertex=!0;b.insert(e);e=new mxCell("",new mxGeometry(1,0.5,10,5),"dashed\x3d0;shape\x3dtriangle;noLabel\x3d1;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dsouth;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-14,-3);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,35,"Single-line text field with icon (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field icon focus light",function(){var b=new mxCell("",new mxGeometry(0,
0,342,35),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,16,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.telephone;strokeColor\x3dnone;fillColor\x3d#1F9BFD;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-10);a.vertex=!0;b.insert(a);a=new mxCell("650",new mxGeometry(54,0,168,30),"text;fontColor\x3d#000000;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(54,
25,168,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#1F9BFD;");a.vertex=!0;b.insert(a);a=new mxCell("Mobile",new mxGeometry(252,0,90,30),"text;fontColor\x3d#B3B3B3;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(252,25,90,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#E6E6E6;");e.vertex=!0;b.insert(e);e=new mxCell("",new mxGeometry(1,0.5,10,5),"dashed\x3d0;shape\x3dtriangle;noLabel\x3d1;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dsouth;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-14,-3);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,35,"Single-line text field with icon (focus, light)")}),this.addEntry("gmdl google media design library text field single line text field icon normal light",function(){var b=new mxCell("",new mxGeometry(0,0,342,35),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,16,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.telephone;strokeColor\x3dnone;fillColor\x3d#666666;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-10);a.vertex=!0;b.insert(a);a=new mxCell("650-555-1234",new mxGeometry(54,0,168,30),"text;fontColor\x3d#000000;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(54,25,168,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#E6E6E6;");a.vertex=!0;b.insert(a);a=new mxCell("Mobile",new mxGeometry(252,0,90,30),"text;fontColor\x3d#000000;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");
a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(252,25,90,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#E6E6E6;");e.vertex=!0;b.insert(e);e=new mxCell("",new mxGeometry(1,0.5,10,5),"dashed\x3d0;shape\x3dtriangle;noLabel\x3d1;strokeColor\x3dnone;fillColor\x3d#666666;direction\x3dsouth;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-14,-3);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,35,"Single-line text field with icon (normal, light)")}),
this.addEntry("gmdl google media design library text field single line text field icon normal dark",function(){var b=new mxCell("",new mxGeometry(0,0,342,35),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,16,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.telephone;strokeColor\x3dnone;fillColor\x3d#cccccc;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-10);a.vertex=!0;b.insert(a);a=new mxCell("Phone",new mxGeometry(54,0,168,30),"text;fontColor\x3d#777777;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");
a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(54,25,168,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#555555;");a.vertex=!0;b.insert(a);a=new mxCell("Mobile",new mxGeometry(252,0,90,30),"text;fontColor\x3d#777777;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;opacity\x3d50;");a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(252,25,90,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#555555;");
e.vertex=!0;b.insert(e);e=new mxCell("",new mxGeometry(1,0.5,10,5),"dashed\x3d0;shape\x3dtriangle;noLabel\x3d1;strokeColor\x3dnone;fillColor\x3d#cccccc;direction\x3dsouth;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-14,-3);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,35,"Single-line text field with icon (normal, dark)")}),this.addEntry("gmdl google media design library text field single line text field icon focus dark",function(){var b=new mxCell("",new mxGeometry(0,
0,342,35),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,16,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.telephone;strokeColor\x3dnone;fillColor\x3d#1F9BFD;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-10);a.vertex=!0;b.insert(a);a=new mxCell("650",new mxGeometry(54,0,168,30),"text;fontColor\x3d#ffffff;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(54,
25,168,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#1F9BFD;");a.vertex=!0;b.insert(a);a=new mxCell("Mobile",new mxGeometry(252,0,90,30),"text;fontColor\x3d#777777;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(252,25,90,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#555555;");e.vertex=!0;b.insert(e);e=new mxCell("",new mxGeometry(1,0.5,10,5),"dashed\x3d0;shape\x3dtriangle;noLabel\x3d1;strokeColor\x3dnone;fillColor\x3d#cccccc;direction\x3dsouth;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(-14,-3);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,35,"Single-line text field with icon (focus, dark)")}),this.addEntry("gmdl google media design library text field single line text field icon normal dark",function(){var b=new mxCell("",new mxGeometry(0,0,342,35),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,16,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.telephone;strokeColor\x3dnone;fillColor\x3d#cccccc;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,-10);a.vertex=!0;b.insert(a);a=new mxCell("650-555-1234",new mxGeometry(54,0,168,30),"text;fontColor\x3d#ffffff;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(54,25,168,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#555555;");a.vertex=!0;b.insert(a);a=new mxCell("Mobile",new mxGeometry(252,0,90,30),"text;fontColor\x3d#ffffff;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");
a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(252,25,90,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#555555;");e.vertex=!0;b.insert(e);e=new mxCell("",new mxGeometry(1,0.5,10,5),"dashed\x3d0;shape\x3dtriangle;noLabel\x3d1;strokeColor\x3dnone;fillColor\x3d#cccccc;direction\x3dsouth;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-14,-3);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],342,35,"Single-line text field with icon (normal, dark)")}),
this.addEntry("gmdl google media design library text field single line text field normal light dark",function(){var b=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#808080;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,25,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#999999;opacity\x3d80;");a.vertex=!0;return c.createVertexTemplateFromCells([b,a],346,35,"Single-line text field (normal)")}),
this.addEntry("gmdl google media design library text field single line text field focus light",function(){var b=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#1F9BFD;fontSize\x3d12;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor\x3d#000000;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,45,346,
10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#1F9BFD;");e.vertex=!0;return c.createVertexTemplateFromCells([b,a,e],346,55,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field focus light",function(){var b=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#cccccc;fontSize\x3d12;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("Input text",
new mxGeometry(0,20,346,30),"text;fontColor\x3d#000000;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,45,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#eeeeee;");e.vertex=!0;return c.createVertexTemplateFromCells([b,a,e],346,55,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field focus light dark",function(){var b=
new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#999999;fontSize\x3d12;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;textOpacity\x3d80;");b.vertex=!0;var a=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor\x3d#999999;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;textOpacity\x3d80;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,45,346,10),"shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#999999;dashed\x3d1;dashPattern\x3d1 4;opacity\x3d80;");
e.vertex=!0;return c.createVertexTemplateFromCells([b,a,e],346,55,"Single-line text field (normal)")}),this.addEntry("gmdl google media design library text field single line text field focus dark",function(){var b=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#1F9BFD;fontSize\x3d12;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;var a=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor\x3d#ffffff;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");
a.vertex=!0;var e=new mxCell("",new mxGeometry(0,45,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d2;noLabel\x3d1;strokeColor\x3d#1F9BFD;");e.vertex=!0;return c.createVertexTemplateFromCells([b,a,e],346,55,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design library text field single line text field focus dark",function(){var b=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor\x3d#999999;fontSize\x3d12;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");
b.vertex=!0;var a=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor\x3d#cccccc;fontSize\x3d16;verticalAlign\x3dmiddle;strokeColor\x3dnone;fillColor\x3dnone;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,45,346,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;noLabel\x3d1;strokeColor\x3d#999999;");e.vertex=!0;return c.createVertexTemplateFromCells([b,a,e],346,55,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design library text field full text field",
function(){var b=new mxCell("Search",new mxGeometry(0,0,362,56),"dashed\x3d0;shape\x3drect;shadow\x3d1;strokeColor\x3d#eeeeee;strokeWidth\x3d1;fillColor\x3d#ffffff;fontSize\x3d22;fontColor\x3d#CCCCCC;align\x3dleft;spacingLeft\x3d65;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.left;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(22,-8);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0.5,14,
14),"dashed\x3d0;shape\x3dmxgraph.gmdl.x;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-35,-7);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],362,56,"Full text field")}),this.addEntry("gmdl google media design library text field full text field",function(){var b=new mxCell("a",new mxGeometry(0,0,362,294),"dashed\x3d0;shape\x3drect;shadow\x3d1;strokeColor\x3d#eeeeee;strokeWidth\x3d1;fillColor\x3d#ffffff;fontSize\x3d22;fontColor\x3d#000000;align\x3dleft;spacingLeft\x3d65;dashPattern\x3d1 4;verticalAlign\x3dtop;spacingTop\x3d6;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.left;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(22,20);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.x;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-35,22);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,362,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,49);a.vertex=!0;b.insert(a);a=new mxCell("Aaron Bennett",new mxGeometry(0,0,362,60),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontSize\x3d16;spacingLeft\x3d65;html\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,54);a.vertex=!0;b.insert(a);var e=new mxCell("",new mxGeometry(1,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=
!0;e.geometry.offset=new mxPoint(-60,-20);e.vertex=!0;a.insert(e);a=new mxCell("Abbey Christensen",new mxGeometry(0,0,362,60),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontSize\x3d16;spacingLeft\x3d65;html\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,114);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;
e.geometry.offset=new mxPoint(-60,-20);e.vertex=!0;a.insert(e);a=new mxCell("Alli Connors",new mxGeometry(0,0,362,60),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontSize\x3d16;spacingLeft\x3d65;html\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,174);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=
new mxPoint(-60,-20);e.vertex=!0;a.insert(e);a=new mxCell("Alex Nelson",new mxGeometry(0,0,362,60),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontSize\x3d16;spacingLeft\x3d65;html\x3d1;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,234);a.vertex=!0;b.insert(a);e=new mxCell("",new mxGeometry(1,0.5,40,40),"dashed\x3d0;shape\x3dmxgraph.gmdl.user;strokeColor\x3dnone;fillColor\x3d#666666;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-60,
-20);e.vertex=!0;a.insert(e);return c.createVertexTemplateFromCells([b],362,294,"Full text field")}),this.addEntry("gmdl google media design library text field inset text field",function(){var b=new mxCell("Search",new mxGeometry(0,0,362,56),"dashed\x3d0;shape\x3drect;shadow\x3d1;strokeColor\x3d#eeeeee;strokeWidth\x3d1;fillColor\x3d#ffffff;fontSize\x3d22;fontColor\x3d#CCCCCC;align\x3dleft;spacingLeft\x3d65;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0.5,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.search;strokeWidth\x3d2;strokeColor\x3d#666666;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(22,-8);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,0.5,12,20),"dashed\x3d0;shape\x3dmxgraph.gmdl.voice;strokeWidth\x3d2;strokeColor\x3d#666666;fillColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-34,-10);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],362,56,"Inset text field")}),this.addEntry("gmdl google media design library text field focus card suggestion",function(){var b=new mxCell("dessert",
new mxGeometry(0,0,362,246),"dashed\x3d0;shape\x3drect;shadow\x3d1;strokeColor\x3d#eeeeee;strokeWidth\x3d1;fillColor\x3d#ffffff;fontSize\x3d22;fontColor\x3d#000000;align\x3dleft;spacingLeft\x3d65;dashPattern\x3d1 4;verticalAlign\x3dtop;spacingTop\x3d6;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed\x3d0;shape\x3dmxgraph.gmdl.left;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(22,20);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(1,
0,14,14),"dashed\x3d0;shape\x3dmxgraph.gmdl.x;strokeWidth\x3d2;strokeColor\x3d#666666;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-35,22);a.vertex=!0;b.insert(a);a=new mxCell("",new mxGeometry(0,0,362,10),"dashed\x3d0;shape\x3dline;strokeWidth\x3d1;strokeColor\x3d#eeeeee;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,49);a.vertex=!0;b.insert(a);a=new mxCell("dessert",new mxGeometry(0,0,362,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontSize\x3d16;spacingLeft\x3d65;html\x3d1;fontColor\x3d#999999;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,54);a.vertex=!0;b.insert(a);a=new mxCell('dessert \x3cfont color\x3d"#000000"\x3ebar\x3c/font\x3e',new mxGeometry(0,0,362,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontSize\x3d16;spacingLeft\x3d65;html\x3d1;fontColor\x3d#999999;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,102);a.vertex=!0;b.insert(a);a=new mxCell('dessert \x3cfont color\x3d"#000000"\x3eshop\x3c/font\x3e',new mxGeometry(0,
0,362,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontSize\x3d16;spacingLeft\x3d65;html\x3d1;fontColor\x3d#999999;resizeWidth\x3d1;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,150);a.vertex=!0;b.insert(a);a=new mxCell('dessert \x3cfont color\x3d"#000000"\x3erestaurant\x3c/font\x3e',new mxGeometry(0,0,362,48),"dashed\x3d0;shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;align\x3dleft;fontSize\x3d16;spacingLeft\x3d65;html\x3d1;fontColor\x3d#999999;resizeWidth\x3d1;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(0,198);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],362,246,"Focus card suggestions")})];this.addPalette("gmdlText Fields","GMDL / Text Fields",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))}})();
(function(){Sidebar.prototype.addIosPalette=function(){sb=this;var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;html\x3d1;shadow\x3d0;dashed\x3d0;strokeWidth\x3d1;shape\x3dmxgraph.ios.",c=mxConstants.STYLE_STROKEWIDTH+"\x3d1;html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.",f=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dtop;html\x3d1;shadow\x3d0;dashed\x3d0;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dbottom;strokeWidth\x3d1;shape\x3dmxgraph.ios.",
d=[this.createVertexTemplateEntry(b+"iPhone;bgStyle\x3dbgGreen;fillColor\x3d#aaaaaa;",200,400,"","iPhone (portrait)",null,null,null),this.createVertexTemplateEntry(b+"iPhone;direction\x3dnorth;bgStyle\x3dbgGreen;fillColor\x3d#aaaaaa;",400,200,"","iPhone (landscape)",null,null,null),this.createVertexTemplateEntry(b+"iPad;bgStyle\x3dbgGreen;fillColor\x3d#aaaaaa;",200*2.425,625,"","iPad (portrait)",null,null,null),this.createVertexTemplateEntry(b+"iPad;direction\x3dnorth;bgStyle\x3dbgGreen;fillColor\x3d#aaaaaa;",
625,200*2.425,"","iPad (landscape)",null,null,null),this.createVertexTemplateEntry(b+"iBgFlat;strokeColor\x3d#18211b;fillColor\x3d#ffffff;",175,280,"","iPad background (white)",null,null,null),this.createVertexTemplateEntry(b+"iBgFlat;strokeColor\x3d#18211b;fillColor\x3d#1f2923;",175,280,"","iPad background (green)",null,null,null),this.createVertexTemplateEntry(b+"iBgFlat;strokeColor\x3d#18211b;fillColor\x3d#dddddd;",175,280,"","iPad background (gray)",null,null,null),this.createVertexTemplateEntry(b+
"iBgStriped;strokeColor\x3d#18211b;fillColor\x3d#5D7585;strokeColor2\x3d#657E8F;",175,280,"","iPad background (striped)",null,null,null),this.createVertexTemplateEntry(b+"iBgMap;strokeColor\x3d#18211b;fillColor\x3d#ffffff;strokeColor2\x3d#008cff;fillColor2\x3d#96D1FF;",175,280,"","iPad background (map)",null,null,null),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,165,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rrect;rSize\x3d5;strokeColor\x3d#444444;fillColor\x3d#ffffff;gradientColor\x3dnone;");
a.vertex=!0;var b=new mxCell("Item 1",new mxGeometry(0,0,165,12.5),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.topButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#c4c4c4;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#666666;");b.vertex=!0;a.insert(b);var c=new mxCell("\x3e",new mxGeometry(140,1,10,10),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.anchor;fontColor\x3d#c4c4c4;fontStyle\x3d1;");c.vertex=!0;b.insert(c);b=new mxCell("Item 3",new mxGeometry(0,25,165,
12.5),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rrect;rSize\x3d0;fillColor\x3dnone;strokeColor\x3d#c4c4c4;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#666666;");b.vertex=!0;a.insert(b);c=new mxCell("\x3e",new mxGeometry(140,1,10,10),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.anchor;fontColor\x3d#c4c4c4;fontStyle\x3d1;");c.vertex=!0;b.insert(c);b=new mxCell("Item 4",new mxGeometry(0,37.5,165,12.5),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.bottomButton;rSize\x3d5;fillColor\x3dnone;strokeColor\x3d#c4c4c4;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#666666;");
b.vertex=!0;a.insert(b);c=new mxCell("\x3e",new mxGeometry(140,1,10,10),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.anchor;fontColor\x3d#c4c4c4;fontStyle\x3d1;");c.vertex=!0;b.insert(c);b=new mxCell("Item 2",new mxGeometry(0,12.5,165,12.5),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rrect;rSize\x3d0;fillColor\x3d#5D7585;strokeColor\x3dnone;align\x3dleft;spacingLeft\x3d10;fontSize\x3d8;fontColor\x3d#ffffff;gradientColor\x3d#008cff;");b.vertex=!0;a.insert(b);c=new mxCell("\x3e",
new mxGeometry(140,1,10,10),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.anchor;fontColor\x3d#c4c4c4;fontStyle\x3d1;");c.vertex=!0;b.insert(c);b=new mxCell("",new mxGeometry(0,0,165,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rrect;rSize\x3d5;strokeColor\x3d#444444;fillColor\x3dnone;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Button bar")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,
175,15),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.iAppBar;strokeWidth\x3d1;");a.vertex=!0;var b=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.anchor;align\x3dleft;fontSize\x3d8;spacingLeft\x3d18;");b.vertex=!0;a.insert(b);b=new mxCell("11:55PM",new mxGeometry(60,2,50,13),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rect;fontSize\x3d8;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],
a.geometry.width,a.geometry.height,"App bar (portrait)")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,280,15),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.iAppBar;strokeWidth\x3d1;");a.vertex=!0;var b=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.anchor;align\x3dleft;fontSize\x3d8;spacingLeft\x3d18;");b.vertex=!0;a.insert(b);b=new mxCell("11:55PM",new mxGeometry(115,2,50,13),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rect;fontSize\x3d8;strokeColor\x3dnone;fillColor\x3dnone;");
b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"App bar (landscape)")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,175,15),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.iTopBar2;opacity\x3d50;fillColor\x3d#999999;strokeColor\x3d#cccccc;strokeWidth\x3d1;");a.vertex=!0;var b=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rect;align\x3dleft;fontSize\x3d7.5;spacingLeft\x3d18;fontColor\x3d#cccccc;textOpacity\x3d50;strokeColor\x3dnone;fillColor\x3dnone;");
b.vertex=!0;a.insert(b);b=new mxCell("11:15AM",new mxGeometry(60,2,50,13),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rect;fontSize\x3d7.5;fontColor\x3d#cccccc;textOpacity\x3d50;strokeColor\x3dnone;fillColor\x3dnone;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Top bar")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,175,15),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.iTopBarLocked;strokeWidth\x3d1;");
a.vertex=!0;var b=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.anchor;align\x3dleft;fontSize\x3d7.5;spacingLeft\x3d18;fontColor\x3d#cccccc;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Top bar locked")}),this.createVertexTemplateEntry(c+"iButton;strokeColor\x3d#444444;fontColor\x3d#ffffff;buttonText\x3d;fontSize\x3d8;fillColor\x3d#dddddd;fillColor2\x3d#3D5565;whiteSpace\x3dwrap;align\x3dcenter;",
43.5,15,"Button","Button",null,null,null),this.createVertexTemplateEntry(c+"iButtonBack;strokeColor\x3d#444444;fontColor\x3d#ffffff;buttonText\x3d;fontSize\x3d8;fillColor\x3d#dddddd;fillColor2\x3d#3D5565;spacingLeft\x3d10;whiteSpace\x3dwrap;align\x3dcenter;",43.5,15,"Button","Back button",null,null,null),this.createVertexTemplateEntry(c+"iButtonFw;strokeColor\x3d#444444;fontColor\x3d#ffffff;buttonText\x3d;fontSize\x3d8;fillColor\x3d#dddddd;fillColor2\x3d#3D5565;spacingRight\x3d10;whiteSpace\x3dwrap;align\x3dcenter;",
43.5,15,"Button","Forward button",null,null,null),this.createVertexTemplateEntry(b+"iPrevNext;strokeColor\x3d#444444;fillColor\x3d#dddddd;fillColor2\x3d#3D5565;fillColor3\x3d#ffffff;align\x3dcenter;",43.5,15,"","Prev/next button",null,null,null),this.createVertexTemplateEntry(c+"iTextInput;strokeColor\x3d#444444;fontColor\x3d#000000;buttonText\x3d;fontSize\x3d8;fillColor\x3d#ffffff;whiteSpace\x3dwrap;align\x3dleft;",43.5,15,"Default text","Text input",null,null,null),this.addEntry(null,function(){var a=
new mxCell("",new mxGeometry(0,0,165,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rrect;rSize\x3d3;strokeColor\x3d#666666;fillColor\x3d#ffffff;gradientColor\x3dnone;recursiveResize\x3d0");a.vertex=!0;var b=new mxCell("Option 1",new mxGeometry(2.5,3.5,5,5),"shape\x3dellipse;resizable\x3d0;fillColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d2;fontSize\x3d8;fontColor\x3d#666666;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingTop\x3d3;");b.vertex=!0;
a.insert(b);b=new mxCell("Option 2",new mxGeometry(2.5,16,5,5),"shape\x3dellipse;resizable\x3d0;fillColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d2;fontSize\x3d8;fontColor\x3d#666666;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingTop\x3d3;");b.vertex=!0;a.insert(b);b=new mxCell("Option 3",new mxGeometry(2.5,28.5,5,5),"shape\x3dellipse;resizable\x3d0;fillColor\x3d#444444;align\x3dleft;spacingLeft\x3d2;fontSize\x3d8;fontColor\x3d#666666;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingTop\x3d3;");
b.vertex=!0;a.insert(b);b=new mxCell("Option 4",new mxGeometry(2.5,41,5,5),"shape\x3dellipse;resizable\x3d0;fillColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d2;fontSize\x3d8;fontColor\x3d#666666;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingTop\x3d3;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Radio Buttons")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,165,50),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rrect;rSize\x3d3;strokeColor\x3d#666666;fillColor\x3d#ffffff;gradientColor\x3dnone;recursiveResize\x3d0;");
a.vertex=!0;var b=new mxCell("Setting 1",new mxGeometry(2.5,3.5,5,5),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rrect;rSize\x3d0;fillColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d2;fontSize\x3d8;fontColor\x3d#666666;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingTop\x3d3;");b.vertex=!0;a.insert(b);b=new mxCell("Setting 2",new mxGeometry(2.5,16,5,5),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rrect;rSize\x3d0;fillColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d2;fontSize\x3d8;fontColor\x3d#666666;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingTop\x3d3;");
b.vertex=!0;a.insert(b);b=new mxCell("Setting 3",new mxGeometry(2.5,28.5,5,5),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.checkbox;fillColor\x3d#999999;align\x3dleft;spacingLeft\x3d2;fontSize\x3d8;fontColor\x3d#666666;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingTop\x3d3;");b.vertex=!0;a.insert(b);b=new mxCell("Setting 4",new mxGeometry(2.5,41,5,5),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rrect;rSize\x3d0;fillColor\x3d#dddddd;align\x3dleft;spacingLeft\x3d2;fontSize\x3d8;fontColor\x3d#666666;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;spacingTop\x3d3;");
b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Checkboxes")}),this.createVertexTemplateEntry(c+"iComboBox;spacingTop\x3d2;spacingLeft\x3d2;align\x3dleft;strokeColor\x3d#444444;fontColor\x3d#666666;buttonText\x3d;fontSize\x3d8;fillColor\x3d#dddddd;fillColor2\x3d#3D5565;",200*0.29,15,"Option 1","Combobox",null,null,null),this.createVertexTemplateEntry(c+"iOnOffButton;mainText\x3d;strokeColor\x3d#444444;fontSize\x3d9;fontColor\x3d#ffffff;spacingRight\x3d14;buttonState\x3don",
43.5,15,"ON","On-off button",null,null,null),this.createVertexTemplateEntry(c+"iTextInput;strokeColor\x3d#444444;fontColor\x3d#000000;align\x3dleft;buttonText\x3d;fontSize\x3d8;fillColor\x3d#ffffff;",43.5,15,"********","Password field",null,null,null),this.addEntry(null,function(){var a=new mxCell("Alert description text\ndescription text second line",new mxGeometry(0,0,150,100),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.fancyRRect;rSize\x3d8;strokeColor\x3d#dddddd;fillColor\x3d#497198;gradientColor\x3d#193168;opacity\x3d80;fontColor\x3d#ffffff;fontSize\x3d9;whiteSpace\x3dwrap;align\x3dcenter;");
a.vertex=!0;var b=new mxCell("Something happened",new mxGeometry(0,0,150,25),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.anchor;fontSize\x3d13;fontColor\x3d#ffffff;whiteSpace\x3dwrap;resizeWidth\x3d1;");b.geometry.relative=!0;b.vertex=!0;a.insert(b);b=new mxCell("Button",new mxGeometry(0.5,1,80,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rrect;rSize\x3d3;fontSize\x3d9;fontColor\x3d#ffffff;strokeColor\x3d#ffffff;fillColor\x3d#497198;gradientColor\x3d#c5cee1;opacity\x3d80;whiteSpace\x3dwrap;");
b.geometry.relative=!0;b.geometry.offset=new mxPoint(-40,-25);b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Alert Box")}),this.addEntry(null,function(){var a=new mxCell("Dialog question text\nquestion text second line",new mxGeometry(0,0,150,100),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.fancyRRect;rSize\x3d8;strokeColor\x3d#dddddd;fillColor\x3d#497198;gradientColor\x3d#193168;opacity\x3d80;fontColor\x3d#ffffff;fontSize\x3d9;whiteSpace\x3dwrap;align\x3dcenter;");
a.vertex=!0;var b=new mxCell("Something happened",new mxGeometry(0,0,150,25),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.anchor;fontSize\x3d13;fontColor\x3d#ffffff;whiteSpace\x3dwrap;resizeWidth\x3d1;");b.geometry.relative=!0;b.vertex=!0;a.insert(b);b=new mxCell("Cancel",new mxGeometry(0.25,1,65,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rrect;rSize\x3d3;fontSize\x3d9;fontColor\x3d#ffffff;strokeColor\x3d#ffffff;fillColor\x3d#497198;gradientColor\x3d#c5cee1;opacity\x3d80;whiteSpace\x3dwrap;");
b.geometry.relative=!0;b.geometry.offset=new mxPoint(-32.5,-25);b.vertex=!0;a.insert(b);b=new mxCell("OK",new mxGeometry(0.75,1,65,20),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rrect;rSize\x3d3;fontSize\x3d9;fontColor\x3d#ffffff;strokeColor\x3d#ffffff;fillColor\x3d#497198;gradientColor\x3d#c5cee1;opacity\x3d80;whiteSpace\x3dwrap;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(-32.5,-25);b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,
"Dialog Box")}),this.createVertexTemplateEntry(c+"iLockButton;fontColor\x3d#cccccc;fontSize\x3d13;mainText\x3d;spacingLeft\x3d50;spacingRight\x3d10;align\x3dcenter;",174,50,"slide to unlock","Lock button",null,null,null),this.createVertexTemplateEntry(b+"iArrowIcon;fillColor\x3d#8BbEff;fillColor2\x3d#135Ec8;strokeColor\x3d#ffffff;",15,15,"","Arrow",null,null,null),this.createVertexTemplateEntry(b+"iDeleteIcon;fillColor\x3d#e8878E;fillColor2\x3d#BD1421;strokeColor\x3d#ffffff;",15,15,"","Delete",null,
null,null),this.createVertexTemplateEntry(b+"iAddIcon;fillColor\x3d#7AdF78;fillColor2\x3d#1A9917;strokeColor\x3d#ffffff;",15,15,"","Add",null,null,null),this.createVertexTemplateEntry(b+"iInfoIcon;fillColor\x3d#8BbEff;fillColor2\x3d#135Ec8;strokeColor\x3d#ffffff;",15,15,"","Info",null,null,null),this.createVertexTemplateEntry(b+"iSortFindIcon;fillColor\x3d#8BbEff;fillColor2\x3d#135Ec8;strokeColor\x3d#ffffff;",15,15,"","Sort/find",null,null,null),this.createVertexTemplateEntry(b+"iCheckIcon;fillColor\x3d#e8878E;fillColor2\x3d#BD1421;strokeColor\x3d#ffffff;",
15,15,"","Check",null,null,null),this.createVertexTemplateEntry(b+"iKeybLett;",174,100,"","Keyboard (letters)",null,null,null),this.createVertexTemplateEntry(b+"iKeybNumb;",174,100,"","Keyboard (numbers)",null,null,null),this.createVertexTemplateEntry(b+"iKeybSymb;",174,100,"","Keyboard (symbols)",null,null,null),this.createVertexTemplateEntry(b+"iDeleteApp;fillColor\x3d#cccccc;fillColor2\x3d#000000;strokeColor\x3d#ffffff;",15,15,"","Delete app",null,null,null),this.createVertexTemplateEntry(b+"iDir;",
100,100,"","Direction",null,null,null),this.createVertexTemplateEntry(c+"iLocBar;align\x3dleft;spacingLeft\x3d4;spacingBottom\x3d4;fontColor\x3d#ffffff;fontSize\x3d10;barPos\x3d80;pointerPos\x3dbottom;buttonText\x3d",155,32.5,"5th Street Music Store","Location bar",null,null,null),this.createVertexTemplateEntry(b+"iCallDialog;",150,125,"","Call Dialog",null,null,null),this.createVertexTemplateEntry(b+"iCallButtons;",174,400*0.575,"","Call buttons",null,null,null),this.createVertexTemplateEntry(c+
"iOption;barPos\x3d80;pointerPos\x3dbottom;buttonText\x3d;fontSize\x3d10;fontColor\x3d#ffffff;spacingBottom\x3d6;",75,400*0.06875,"Option","Option",null,null,null),this.createVertexTemplateEntry(b+"iAlphaList;fontSize\x3d7.5;",15,225,"","Alphabet list",null,null,null),this.createVertexTemplateEntry(c+"iHorButtonBar;strokeColor\x3d#444444;strokeColor2\x3d#c4c4c4;fillColor2\x3d#ffffff;buttonText\x3d,+,,;overflow\x3dwidth;html\x3d1;fontSize\x3d8;fillColor\x3d#ffffff;fillColor2\x3d#008cff",165,12.5,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1em;color:#666666;width:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" width\x3d"25%"\x3eItem 1\x3c/td\x3e\x3ctd align\x3d"center" style\x3d"color:white;" width\x3d"25%"\x3eItem 2\x3c/td\x3e\x3ctd align\x3d"center" width\x3d"25%"\x3eItem 3\x3c/td\x3e\x3ctd align\x3d"center" width\x3d"25%"\x3eItem 4\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
"Horizontal button bar",null,null,null),this.createVertexTemplateEntry(f+"iPin;fillColor2\x3d#00dd00;fillColor3\x3d#004400;strokeColor\x3d#006600;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(f+"iPin;fillColor2\x3d#dd0000;fillColor3\x3d#440000;strokeColor\x3d#660000;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(f+"iPin;fillColor2\x3d#ccccff;fillColor3\x3d#0000ff;strokeColor\x3d#000066;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(f+"iPin;fillColor2\x3d#ffff00;fillColor3\x3d#888800;strokeColor\x3d#999900;",
10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(f+"iPin;fillColor2\x3d#ffa500;fillColor3\x3d#885000;strokeColor\x3d#997000;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(b+"iVideoControls;barPos\x3d20;",174,50,"","Video controls",null,null,null),this.addEntry(null,function(){var a=new mxCell("Page title",new mxGeometry(0,0,175,30),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.iURLBar;verticalAlign\x3dtop;fontSize\x3d8;spacingTop\x3d-5;align\x3dcenter;");a.vertex=
!0;var b=new mxCell("https://www.draw.io/",new mxGeometry(5,12,115,13),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.anchor;fontSize\x3d8;spacingLeft\x3d3;align\x3dleft;spacingTop\x3d2;");b.vertex=!0;a.insert(b);b=new mxCell("Cancel",new mxGeometry(137,12,32,13),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.anchor;fontSize\x3d8;fontColor\x3d#ffffff;spacingTop\x3d2;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"URL bar")}),
this.createVertexTemplateEntry(b+"iSlider;barPos\x3d20;",150,10,"","Slider",null,null,null),this.createVertexTemplateEntry(b+"iProgressBar;barPos\x3d40;",150,10,"","Progress bar",null,null,null),this.createVertexTemplateEntry(b+"iCloudProgressBar;barPos\x3d20;",150,10,"","Cloud progress bar",null,null,null),this.createVertexTemplateEntry(c+"iDownloadBar;verticalAlign\x3dtop;spacingTop\x3d-4;fontSize\x3d8;fontColor\x3d#ffffff;buttonText\x3d;barPos\x3d30;align\x3dcenter;",174,30,"Downloading 2 of 6",
"Download bar",null,null,null),this.createVertexTemplateEntry(c+"iScreenNameBar;fillColor2\x3d#000000;fillColor3\x3d#ffffff;buttonText\x3d;fontColor\x3d#ffffff;fontSize\x3d10;whiteSpace\x3dwrap;align\x3dcenter;",174,25,"Screen Name","Screen name bar",null,null,null),this.createVertexTemplateEntry(b+"iIconGrid;fillColor\x3d#ffffff;strokeColor\x3d#000000;gridSize\x3d3,3;",150,150,"","Icon grid",null,null,null),this.createVertexTemplateEntry(c+"iCopy;fillColor\x3d#000000;strokeColor\x3d#000000;buttonText\x3d;fontColor\x3d#ffffff;spacingBottom\x3d6;fontSize\x3d9;fillColor2\x3d#000000;fillColor3\x3d#ffffff;align\x3dcenter;",
40,400*0.06875,"Copy","Copy",null,null,null),this.addEntry(null,function(){var a=new mxCell("Copy",new mxGeometry(10,0,40,400*0.06875),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.iCopy;fillColor\x3d#000000;strokeColor\x3d#000000;buttonText\x3d;fontColor\x3d#ffffff;spacingBottom\x3d6;fontSize\x3d9;fillColor2\x3d#000000;fillColor3\x3d#ffffff;align\x3dcenter;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,400*0.06875,60,52.5),"html\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios.rect;fillColor\x3d#2266ff;strokeColor\x3dnone;opacity\x3d30;");
b.vertex=!0;return sb.createVertexTemplateFromCells([a,b],60,80,"Copy Area")}),this.createVertexTemplateEntry(b+"iHomePageControl;fillColor\x3d#666666;strokeColor\x3d#cccccc;",50,5,"","Home page control",null,null,null),this.createVertexTemplateEntry(b+"iPageControl;fillColor\x3d#666666;strokeColor\x3d#cccccc;",50,5,"","Page control",null,null,null)];this.addPalette("ios","iOS6",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}})();
(function(){Sidebar.prototype.addIos7Palette=function(){var b=this,c="ios icon ",f="html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;strokeWidth\x3d2;strokeColor\x3d#0080F0;fillColor\x3d#ffffff;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.icons.",d="mxgraph.ios7.icons";this.addPaletteFunctions("ios7icons","iOS Icons",!1,[this.createVertexTemplateEntry(f+"add;",30,30,"","Add",null,null,this.getTagsForStencil(d,"add",c).join(" ")),this.createVertexTemplateEntry(f+
"alarm_clock;",27,30,"","Alarm Clock",null,null,this.getTagsForStencil(d,"alarm_clock",c).join(" ")),this.createVertexTemplateEntry(f+"back;",30,25.5,"","Back",null,null,this.getTagsForStencil(d,"back",c).join(" ")),this.createVertexTemplateEntry(f+"backward;",30,16.8,"","Backward",null,null,this.getTagsForStencil(d,"backward",c).join(" ")),this.createVertexTemplateEntry(f+"bag;",21,21,"","Bag",null,null,this.getTagsForStencil(d,"bag",c).join(" ")),this.createVertexTemplateEntry(f+"basket_cancel;",
30,12,"","Basket Cancel",null,null,this.getTagsForStencil(d,"basket_cancel",c).join(" ")),this.createVertexTemplateEntry(f+"basketball;",30,30,"","Basketball",null,null,this.getTagsForStencil(d,"basketball",c).join(" ")),this.createVertexTemplateEntry(f+"battery;",30,12,"","Battery",null,null,this.getTagsForStencil(d,"battery",c).join(" ")),this.createVertexTemplateEntry(f+"bell;",24,77*0.3,"","Bell",null,null,this.getTagsForStencil(d,"bell",c).join(" ")),this.createVertexTemplateEntry(f+"bluetooth;",
15,96*0.3,"","Bluetooth",null,null,this.getTagsForStencil(d,"bluetooth",c).join(" ")),this.createVertexTemplateEntry(f+"book;",30,25.5,"","Book",null,null,this.getTagsForStencil(d,"book",c).join(" ")),this.createVertexTemplateEntry(f+"bookmark;",18,24,"","Bookmark",null,null,this.getTagsForStencil(d,"bookmark",c).join(" ")),this.createVertexTemplateEntry(f+"box;",30,30,"","Box",null,null,this.getTagsForStencil(d,"box",c).join(" ")),this.createVertexTemplateEntry(f+"briefcase;",30,67*0.3,"","Briefcase",
null,null,this.getTagsForStencil(d,"briefcase",c).join(" ")),this.createVertexTemplateEntry(f+"calculator;",24,30,"","Calculator",null,null,this.getTagsForStencil(d,"calculator",c).join(" ")),this.createVertexTemplateEntry(f+"calendar;",30,30,"","Calendar",null,null,this.getTagsForStencil(d,"calendar",c).join(" ")),this.createVertexTemplateEntry(f+"camera;",30,17.4,"","Camera",null,null,this.getTagsForStencil(d,"camera",c).join(" ")),this.createVertexTemplateEntry(f+"chat;",30,18,"","Chat",null,null,
this.getTagsForStencil(d,"chat",c).join(" ")),this.createVertexTemplateEntry(f+"clock;",30,30,"","Clock",null,null,this.getTagsForStencil(d,"clock",c).join(" ")),this.createVertexTemplateEntry(f+"cloud;",30,30,"","Cloud",null,null,this.getTagsForStencil(d,"cloud",c).join(" ")),this.createVertexTemplateEntry(f+"compose;",97*0.3,97*0.3,"","Compose",null,null,this.getTagsForStencil(d,"compose",c).join(" ")),this.createVertexTemplateEntry(f+"controls;",27,24,"","Controls",null,null,this.getTagsForStencil(d,
"controls",c).join(" ")),this.createVertexTemplateEntry(f+"credit_card;",30,15,"","Credit Card",null,null,this.getTagsForStencil(d,"credit_card",c).join(" ")),this.createVertexTemplateEntry(f+"crop;",30,30,"","Crop",null,null,this.getTagsForStencil(d,"crop",c).join(" ")),this.createVertexTemplateEntry(f+"cube;",30,30,"","Cube",null,null,this.getTagsForStencil(d,"cube",c).join(" ")),this.createVertexTemplateEntry(f+"cup;",30,30,"","Cup",null,null,this.getTagsForStencil(d,"cup",c).join(" ")),this.createVertexTemplateEntry(f+
"data;",24,97*0.3,"","Data",null,null,this.getTagsForStencil(d,"data",c).join(" ")),this.createVertexTemplateEntry(f+"delete;",30,30,"","Delete",null,null,this.getTagsForStencil(d,"delete",c).join(" ")),this.createVertexTemplateEntry(f+"document;",21,30,"","Document",null,null,this.getTagsForStencil(d,"document",c).join(" ")),this.createVertexTemplateEntry(f+"documents;",22.5,30,"","Documents",null,null,this.getTagsForStencil(d,"documents",c).join(" ")),this.createVertexTemplateEntry(f+"down;",21,
25.5,"","Down",null,null,this.getTagsForStencil(d,"down",c).join(" ")),this.createVertexTemplateEntry(f+"edit;",29.4,29.4,"","Edit",null,null,this.getTagsForStencil(d,"edit",c).join(" ")),this.createVertexTemplateEntry(f+"envelope_(empty);",30,30,"","Envelope (Empty)",null,null,this.getTagsForStencil(d,"envelope_(empty)",c).join(" ")),this.createVertexTemplateEntry(f+"envelope_(message);",30,30,"","Envelope (Message)",null,null,this.getTagsForStencil(d,"envelope_(message)",c).join(" ")),this.createVertexTemplateEntry(f+
"eye;",30,14.1,"","Eye",null,null,this.getTagsForStencil(d,"eye",c).join(" ")),this.createVertexTemplateEntry(f+"flag;",30,30,"","Flag",null,null,this.getTagsForStencil(d,"flag",c).join(" ")),this.createVertexTemplateEntry(f+"flash;",18,30,"","Flash",null,null,this.getTagsForStencil(d,"flash",c).join(" ")),this.createVertexTemplateEntry(f+"flashlight;",15,30,"","Flashlight",null,null,this.getTagsForStencil(d,"flashlight",c).join(" ")),this.createVertexTemplateEntry(f+"folder;",30,19.5,"","Folder",
null,null,this.getTagsForStencil(d,"folder",c).join(" ")),this.createVertexTemplateEntry(f+"folders;",30,25.5,"","Folders",null,null,this.getTagsForStencil(d,"folders",c).join(" ")),this.createVertexTemplateEntry(f+"folders_2;",30,22.5,"","Folders",null,null,this.getTagsForStencil(d,"folders_2",c).join(" ")),this.createVertexTemplateEntry(f+"forward;",30,16.8,"","Forward",null,null,this.getTagsForStencil(d,"forward",c).join(" ")),this.createVertexTemplateEntry(f+"gauge;",32.4,31.5,"","Gauge",null,
null,this.getTagsForStencil(d,"gauge",c).join(" ")),this.createVertexTemplateEntry(f+"glasses;",30,12,"","Glasses",null,null,this.getTagsForStencil(d,"glasses",c).join(" ")),this.createVertexTemplateEntry(f+"globe;",30,30,"","Globe",null,null,this.getTagsForStencil(d,"globe",c).join(" ")),this.createVertexTemplateEntry(f+"heart;",102*0.3,27.3,"","Heart",null,null,this.getTagsForStencil(d,"heart",c).join(" ")),this.createVertexTemplateEntry(f+"help;",30,30,"","Help",null,null,this.getTagsForStencil(d,
"help",c).join(" ")),this.createVertexTemplateEntry(f+"home;",24,25.5,"","Home",null,null,this.getTagsForStencil(d,"home",c).join(" ")),this.createVertexTemplateEntry(f+"info;",30,30,"","Info",null,null,this.getTagsForStencil(d,"info",c).join(" ")),this.createVertexTemplateEntry(f+"keypad;",30,30,"","Keypad",null,null,this.getTagsForStencil(d,"keypad",c).join(" ")),this.createVertexTemplateEntry(f+"lightbulb;",22.8,29.7,"","Lightbulb",null,null,this.getTagsForStencil(d,"lightbulb",c).join(" ")),this.createVertexTemplateEntry(f+
"link;",30,30,"","Link",null,null,this.getTagsForStencil(d,"link",c).join(" ")),this.createVertexTemplateEntry(f+"location;",24,30,"","Location",null,null,this.getTagsForStencil(d,"location",c).join(" ")),this.createVertexTemplateEntry(f+"location_2;",30,30,"","Location",null,null,this.getTagsForStencil(d,"location_2",c).join(" ")),this.createVertexTemplateEntry(f+"locked;",24,30,"","Locked",null,null,this.getTagsForStencil(d,"locked",c).join(" ")),this.createVertexTemplateEntry(f+"looking_glass;",
30,30,"","Looking Glass",null,null,this.getTagsForStencil(d,"looking_glass",c).join(" ")),this.createVertexTemplateEntry(f+"loud;",102*0.3,32.4,"","Loud",null,null,this.getTagsForStencil(d,"loud",c).join(" ")),this.createVertexTemplateEntry(f+"magnet;",24,30,"","Magnet",null,null,this.getTagsForStencil(d,"magnet",c).join(" ")),this.createVertexTemplateEntry(f+"mail;",30,16.5,"","Mail",null,null,this.getTagsForStencil(d,"mail",c).join(" ")),this.createVertexTemplateEntry(f+"map;",30,30,"","Map",null,
null,this.getTagsForStencil(d,"map",c).join(" ")),this.createVertexTemplateEntry(f+"message;",30,19.5,"","Message",null,null,this.getTagsForStencil(d,"message",c).join(" ")),this.createVertexTemplateEntry(f+"messages;",30,25.5,"","Messages",null,null,this.getTagsForStencil(d,"messages",c).join(" ")),this.createVertexTemplateEntry(f+"microphone;",12,30,"","Microphone",null,null,this.getTagsForStencil(d,"microphone",c).join(" ")),this.createVertexTemplateEntry(f+"monitor;",30,19.5,"","Monitor",null,
null,this.getTagsForStencil(d,"monitor",c).join(" ")),this.createVertexTemplateEntry(f+"moon;",29.4,29.4,"","Moon",null,null,this.getTagsForStencil(d,"moon",c).join(" ")),this.createVertexTemplateEntry(f+"most_viewed;",28.2,22.8,"","Most Viewed",null,null,this.getTagsForStencil(d,"most_viewed",c).join(" ")),this.createVertexTemplateEntry(f+"move_to_folder;",30,22.5,"","Move to Folder",null,null,this.getTagsForStencil(d,"move_to_folder",c).join(" ")),this.createVertexTemplateEntry(f+"note;",29.7,29.7,
"","Note",null,null,this.getTagsForStencil(d,"note",c).join(" ")),this.createVertexTemplateEntry(f+"options;",30,15,"","Options",null,null,this.getTagsForStencil(d,"options",c).join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;strokeWidth\x3d2;strokeColor\x3d#0080F0;fillColor\x3d#0080F0;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.icons.orientation_lock;",77*0.3,21,"","Orientation Lock",null,null,this.getTagsForStencil(d,"orientation_lock",c).join(" ")),this.createVertexTemplateEntry(f+
"page_navigation;",30,4.8,"","Page Navigation",null,null,this.getTagsForStencil(d,"page_navigation",c).join(" ")),this.createVertexTemplateEntry(f+"paint;",30,25.5,"","Paint",null,null,this.getTagsForStencil(d,"paint",c).join(" ")),this.createVertexTemplateEntry(f+"pause;",15,24,"","Pause",null,null,this.getTagsForStencil(d,"pause",c).join(" ")),this.createVertexTemplateEntry(f+"pen;",29.4,29.7,"","Pen",null,null,this.getTagsForStencil(d,"pen",c).join(" ")),this.createVertexTemplateEntry(f+"pie_chart;",
30,30,"","Pie Chart",null,null,this.getTagsForStencil(d,"pie_chart",c).join(" ")),this.createVertexTemplateEntry(f+"play;",21,24,"","Play",null,null,this.getTagsForStencil(d,"play",c).join(" ")),this.createVertexTemplateEntry(f+"pointer;",30,30,"","Pointer",null,null,this.getTagsForStencil(d,"pointer",c).join(" ")),this.createVertexTemplateEntry(f+"preferences;",30,24,"","Preferences",null,null,this.getTagsForStencil(d,"preferences",c).join(" ")),this.createVertexTemplateEntry(f+"printer;",30,25.5,
"","Printer",null,null,this.getTagsForStencil(d,"printer",c).join(" ")),this.createVertexTemplateEntry(f+"privacy;",16.8,28.5,"","Privacy",null,null,this.getTagsForStencil(d,"privacy",c).join(" ")),this.createVertexTemplateEntry(f+"radio;",30,22.5,"","Radio",null,null,this.getTagsForStencil(d,"radio",c).join(" ")),this.createVertexTemplateEntry(f+"reload;",24,27,"","Reload",null,null,this.getTagsForStencil(d,"reload",c).join(" ")),this.createVertexTemplateEntry(f+"repeat;",30,24,"","Repeat",null,
null,this.getTagsForStencil(d,"repeat",c).join(" ")),this.createVertexTemplateEntry(f+"retry;",92*0.3,48*0.3,"","Retry",null,null,this.getTagsForStencil(d,"retry",c).join(" ")),this.createVertexTemplateEntry(f+"select;",30,30,"","Select",null,null,this.getTagsForStencil(d,"select",c).join(" ")),this.createVertexTemplateEntry(f+"settings;",30,30,"","Settings",null,null,this.getTagsForStencil(d,"settings",c).join(" ")),this.createVertexTemplateEntry(f+"share;",21,28.5,"","Share",null,null,this.getTagsForStencil(d,
"share",c).join(" ")),this.createVertexTemplateEntry(f+"shopping_cart;",30,25.5,"","Shopping Cart",null,null,this.getTagsForStencil(d,"shopping_cart",c).join(" ")),this.createVertexTemplateEntry(f+"shuffle;",30,21,"","Shuffle",null,null,this.getTagsForStencil(d,"shuffle",c).join(" ")),this.createVertexTemplateEntry(f+"silent;",30,30,"","Silent",null,null,this.getTagsForStencil(d,"silent",c).join(" ")),this.createVertexTemplateEntry(f+"smartphone;",18,30,"","Smartphone",null,null,this.getTagsForStencil(d,
"smartphone",c).join(" ")),this.createVertexTemplateEntry(f+"star;",30,27,"","Star",null,null,this.getTagsForStencil(d,"star",c).join(" ")),this.createVertexTemplateEntry(f+"stopwatch;",27,28.2,"","Stopwatch",null,null,this.getTagsForStencil(d,"stopwatch",c).join(" ")),this.createVertexTemplateEntry(f+"storage;",30,10.5,"","Storage",null,null,this.getTagsForStencil(d,"storage",c).join(" ")),this.createVertexTemplateEntry(f+"sun;",30,30,"","Sun",null,null,this.getTagsForStencil(d,"sun",c).join(" ")),
this.createVertexTemplateEntry(f+"tape;",30,12,"","Tape",null,null,this.getTagsForStencil(d,"tape",c).join(" ")),this.createVertexTemplateEntry(f+"tools;",29.7,29.7,"","Tools",null,null,this.getTagsForStencil(d,"tools",c).join(" ")),this.createVertexTemplateEntry(f+"trashcan;",24,30,"","Trashcan",null,null,this.getTagsForStencil(d,"trashcan",c).join(" ")),this.createVertexTemplateEntry(f+"trophy;",28.5,30,"","Trophy",null,null,this.getTagsForStencil(d,"trophy",c).join(" ")),this.createVertexTemplateEntry(f+
"umbrella;",30,30,"","Umbrella",null,null,this.getTagsForStencil(d,"umbrella",c).join(" ")),this.createVertexTemplateEntry(f+"unlocked;",24,30,"","Unlocked",null,null,this.getTagsForStencil(d,"unlocked",c).join(" ")),this.createVertexTemplateEntry(f+"up;",21,25.5,"","Up",null,null,this.getTagsForStencil(d,"up",c).join(" ")),this.createVertexTemplateEntry(f+"user;",30,30,"","User",null,null,this.getTagsForStencil(d,"user",c).join(" ")),this.createVertexTemplateEntry(f+"video_conversation;",30,15,"",
"Video Conversation",null,null,this.getTagsForStencil(d,"video_conversation",c).join(" ")),this.createVertexTemplateEntry(f+"volume;",30,30,"","Volume",null,null,this.getTagsForStencil(d,"volume",c).join(" ")),this.createVertexTemplateEntry(f+"volume_2;",101*0.3,28.2,"","Volume",null,null,this.getTagsForStencil(d,"volume_2",c).join(" ")),this.createVertexTemplateEntry(f+"wallet;",30,24,"","Wallet",null,null,this.getTagsForStencil(d,"wallet",c).join(" ")),this.createVertexTemplateEntry(f+"wifi;",29.7,
21,"","WiFi",null,null,this.getTagsForStencil(d,"wifi",c).join(" ")),this.createVertexTemplateEntry(f+"window;",30,30,"","Window",null,null,this.getTagsForStencil(d,"window",c).join(" "))]);var f="html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d1;shape\x3dmxgraph.ios7ui.",a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;html\x3d1;shadow\x3d0;dashed\x3d0;strokeWidth\x3d1;shape\x3dmxgraph.ios.",
c="ios ui ",d="mxgraph.ios7ui",e=[this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d1;shape\x3dmxgraph.ios7.misc.iphone;fillColor\x3d#ffffff;strokeColor\x3d#c0c0c0;",200,400,"","iPhone (Portrait)",null,null,this.getTagsForStencil(d,"phone",c+"portrait").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d1;shape\x3dmxgraph.ios7.misc.ipad7inch;fillColor\x3d#ffffff;strokeColor\x3d#c0c0c0;",
366,549,"","iPad (7'')",null,null,this.getTagsForStencil(d,"tablet tab 7",c+"portrait").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d1;shape\x3dmxgraph.ios7.misc.ipad10inch;fillColor\x3d#ffffff;strokeColor\x3d#c0c0c0;",488,693,"","iPad (10'')",null,null,this.getTagsForStencil(d,"tablet tab 10",c+"portrait").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d1;shape\x3dmxgraph.ios7.misc.ipad13inch;fillColor\x3d#ffffff;strokeColor\x3d#c0c0c0;",
572,400*2.0325,"","iPad (13'')",null,null,this.getTagsForStencil(d,"tablet tab 10",c+"portrait").join(" ")),this.addEntry(c+"app bar portrait",function(){var a=new mxCell("",new mxGeometry(0,0,175,15),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.appBar;fillColor\x3d#ffffff;gradientColor\x3dnone;");a.vertex=!0;var c=new mxCell("CARRIER",new mxGeometry(0,0.5,50,13),"shape\x3drect;align\x3dleft;fontSize\x3d8;spacingLeft\x3d24;fontSize\x3d4;fontColor\x3d#aaaaaa;strokeColor\x3dnone;fillColor\x3dnone;spacingTop\x3d4;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-6.5);c.vertex=!0;a.insert(c);c=new mxCell("11:55PM",new mxGeometry(0.5,0.5,50,13),"shape\x3drect;fontSize\x3d8;fontColor\x3d#aaaaaa;strokeColor\x3dnone;fillColor\x3dnone;spacingTop\x3d4;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,-6.5);c.vertex=!0;a.insert(c);c=new mxCell("98%",new mxGeometry(1,0.5,45,13),"shape\x3drect;align\x3dright;fontSize\x3d8;spacingRight\x3d19;fontSize\x3d6;fontColor\x3d#aaaaaa;strokeColor\x3dnone;fillColor\x3dnone;spacingTop\x3d4;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(-45,-6.5);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"App Bar (Portrait)")}),this.addEntry(c+"app bar landscape",function(){var a=new mxCell("",new mxGeometry(0,0,280,15),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.appBar;fillColor\x3d#ffffff;gradientColor\x3dnone;");a.vertex=!0;var c=new mxCell("CARRIER",new mxGeometry(0,0.5,50,13),"shape\x3drect;align\x3dleft;fontSize\x3d8;spacingLeft\x3d24;fontSize\x3d4;fontColor\x3d#aaaaaa;strokeColor\x3dnone;fillColor\x3dnone;spacingTop\x3d4;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-6.5);c.vertex=!0;a.insert(c);c=new mxCell("11:55PM",new mxGeometry(0.5,0.5,50,13),"shape\x3drect;fontSize\x3d8;fontColor\x3d#aaaaaa;strokeColor\x3dnone;fillColor\x3dnone;spacingTop\x3d4;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-25,-6.5);c.vertex=!0;a.insert(c);c=new mxCell("98%",new mxGeometry(1,0.5,45,13),"shape\x3drect;align\x3dright;fontSize\x3d8;spacingRight\x3d19;fontSize\x3d6;fontColor\x3d#aaaaaa;strokeColor\x3dnone;fillColor\x3dnone;spacingTop\x3d4;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(-45,-6.5);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"App Bar (landscape)")}),this.createVertexTemplateEntry(f+"slider;barPos\x3d20;strokeColor\x3d#0080f0;fillColor\x3d#ffffff;strokeColor2\x3d#a0a0a0;",150,15,"","Slider",null,null,this.getTagsForStencil(d,c+"slider",null).join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.downloadBar;verticalAlign\x3dmiddle;fontSize\x3d8;fontColor\x3d#000000;buttonText\x3d;barPos\x3d30;fillColor\x3d#aaaaaa;strokeColor\x3d#0080f0;align\x3dcenter;",
150,30,"Downloading 2 of 6\n\n","Download bar",null,null,this.getTagsForStencil(d,"downloadBar",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.adjust;fillColor\x3d#ffffff;gradientColor\x3dnone;",80,20,"","Adjust",null,null,this.getTagsForStencil(d,"adjust",c+"").join(" ")),this.addEntry(c+"horizontal button bar",function(){var a=new mxCell("",
new mxGeometry(0,0,164,12.5),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.rrect;rSize\x3d3;strokeColor\x3d#0080F0;fillColor\x3d#ffffff;gradientColor\x3dnone;");a.vertex=!0;var c=new mxCell("Item 1",new mxGeometry(0,0,41,12.5),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.leftButton;rSize\x3d3;strokeColor\x3d#0080F0;fontSize\x3d8;fillColor\x3dnone;");c.vertex=!0;a.insert(c);c=new mxCell("Item 2",new mxGeometry(41,0,41,12.5),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.rrect;rSize\x3d0;strokeColor\x3d#0080F0;fillColor\x3d#0080F0;fontColor\x3d#ffffff;fontSize\x3d8;");
c.vertex=!0;a.insert(c);c=new mxCell("Item 3",new mxGeometry(82,0,41,12.5),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.rrect;rSize\x3d0;strokeColor\x3d#0080F0;fontSize\x3d8;fillColor\x3dnone;");c.vertex=!0;a.insert(c);c=new mxCell("Item 4",new mxGeometry(123,0,41,12.5),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.rightButton;rSize\x3d3;strokeColor\x3d#0080F0;fontSize\x3d8;fillColor\x3dnone;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],
a.geometry.width,a.geometry.height,"Horizontal button bar")}),this.addEntry(c+"select bar",function(){var a=new mxCell("",new mxGeometry(0,0,165,27),"html\x3d1;strokeWidth\x3d2;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.selectBar;dx\x3d120;dy\x3d5;dx2\x3d75;size\x3d5;strokeColor\x3d#ffffff;fillColor\x3d#222222;gradientColor\x3dnone;");a.vertex=!0;var c=new mxCell("Select",new mxGeometry(0,0,75,27),"shape\x3drect;fillColor\x3dnone;strokeColor\x3dnone;fontColor\x3d#ffffff;fontSize\x3d12;fontFamily\x3dHelvetica;perimeter\x3dnone;resizeHeight\x3d1;");
c.geometry.relative=!0;c.vertex=!0;a.insert(c);c=new mxCell("Select All",new mxGeometry(0,0,75,27),"shape\x3drect;fillColor\x3dnone;strokeColor\x3dnone;fontColor\x3d#ffffff;fontSize\x3d12;fontFamily\x3dHelvetica;perimeter\x3dnone;resizeHeight\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(75,0);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Select Bar")}),this.addEntry(c+"select bar",function(){var a=new mxCell("",new mxGeometry(0,
0,165,27),"html\x3d1;strokeWidth\x3d2;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.selectBar;dx\x3d120;dy\x3d5;dx2\x3d50;size\x3d5;strokeColor\x3d#ffffff;fillColor\x3d#222222;gradientColor\x3dnone;");a.vertex=!0;var c=new mxCell("Select",new mxGeometry(0,0,50,27),"shape\x3drect;fillColor\x3dnone;strokeColor\x3dnone;fontColor\x3d#ffffff;fontSize\x3d10;fontFamily\x3dHelvetica;perimeter\x3dnone;resizeHeight\x3d1;");c.geometry.relative=!0;c.vertex=!0;a.insert(c);c=new mxCell("Select All",new mxGeometry(0,
0,50,27),"shape\x3drect;fillColor\x3dnone;strokeColor\x3dnone;fontColor\x3d#ffffff;fontSize\x3d10;fontFamily\x3dHelvetica;perimeter\x3dnone;resizeHeight\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(50,0);c.vertex=!0;a.insert(c);c=new mxCell("Paste",new mxGeometry(0,0,50,27),"shape\x3drect;fillColor\x3dnone;strokeColor\x3dnone;fontColor\x3d#ffffff;fontSize\x3d10;fontFamily\x3dHelvetica;perimeter\x3dnone;resizeHeight\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(100,0);
c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Select Bar")}),this.addEntry(c+"labels",function(){var a=new mxCell("",new mxGeometry(0,0,164,20),"shape\x3drect;fillColor\x3d#F6F6F8;strokeColor\x3dnone;");a.vertex=!0;var c=new mxCell("Label",new mxGeometry(55,0,54,20),"text;fontColor\x3d#000000;fontSize\x3d10;verticalAlign\x3dmiddle;align\x3dcenter;spacingTop\x3d2;");c.vertex=!0;a.insert(c);c=new mxCell("Label",new mxGeometry(109,0,55,20),"text;fontColor\x3d#0080f0;fontSize\x3d10;verticalAlign\x3dmiddle;align\x3dright;spacingTop\x3d2;spacingRight\x3d4;");
c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Labels")}),this.addEntry(c+"search box",function(){var a=new mxCell("",new mxGeometry(0,0,164,20),"shape\x3drect;fillColor\x3d#e0e0e0;strokeColor\x3dnone;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,164,20),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.marginRect;rx\x3d3;ry\x3d3;rectMargin\x3d5;fillColor\x3d#ffffff;strokeColor\x3dnone;");c.vertex=!0;a.insert(c);
c=new mxCell("Search",new mxGeometry(0.5,0.5,6,6),"shape\x3dmxgraph.ios7.icons.looking_glass;strokeColor\x3d#e0e0e0;fillColor\x3dnone;fontColor\x3d#e0e0e0;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d6;fontStyle\x3d0;spacingTop\x3d2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-3);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Search Box")}),this.addEntry(c+"search box",
function(){var a=new mxCell("",new mxGeometry(0,0,164,20),"shape\x3drect;fillColor\x3d#F6F6F6;strokeColor\x3dnone;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,164,20),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.marginRect;rx\x3d3;ry\x3d3;rectMargin\x3d5;fillColor\x3d#E4E4E4;strokeColor\x3dnone;");c.vertex=!0;a.insert(c);c=new mxCell("Search",new mxGeometry(0.5,0.5,6,6),"shape\x3dmxgraph.ios7.icons.looking_glass;strokeColor\x3d#878789;fillColor\x3dnone;fontColor\x3d#878789;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d6;fontStyle\x3d0;spacingTop\x3d2;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-3);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Search Box")}),this.addEntry(c+"status",function(){var a=new mxCell("",new mxGeometry(0,0,164,25),"shape\x3drect;fillColor\x3d#F6F6F6;strokeColor\x3dnone;");a.vertex=!0;var c=new mxCell("Updated Just Now",new mxGeometry(0,0,164,20),"text;fontColor\x3d#000000;fontSize\x3d5;verticalAlign\x3dtop;align\x3dcenter;spacingTop\x3d-2;");c.vertex=
!0;a.insert(c);c=new mxCell("2 Unread",new mxGeometry(0,5,164,20),"text;fontColor\x3d#bbbbbb;fontSize\x3d5;verticalAlign\x3dmiddle;align\x3dcenter;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(1,0.5,15,15),"shape\x3dmxgraph.ios7.icons.compose;strokeColor\x3d#0080f0;fillColor\x3dnone;");c.geometry.offset=new mxPoint(-20,-7.5);c.geometry.relative=!0;c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Status")}),this.addEntry(c+"message",
function(){var a=new mxCell("",new mxGeometry(0,0,164,20),"shape\x3drect;fillColor\x3d#F7F7F7;strokeColor\x3dnone;");a.vertex=!0;var c=new mxCell("iMessage",new mxGeometry(0,0,164,20),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.marginRect;rx\x3d3;ry\x3d3;rectMarginLeft\x3d25;rectMarginRight\x3d25;rectMarginTop\x3d3;rectMarginBottom\x3d3;fillColor\x3d#FBFBFB;strokeColor\x3d#B3B3B3;fontColor\x3d#B3B3B3;align\x3dleft;spacingLeft\x3d29;fontSize\x3d8;");c.vertex=!0;a.insert(c);
c=new mxCell("",new mxGeometry(0,0.5,15,9),"strokeWidth\x3d1;strokeColor\x3d#F7F7F7;fillColor\x3d#666666;shape\x3dmxgraph.ios7.icons.camera;");c.geometry.offset=new mxPoint(5,-4.5);c.geometry.relative=!0;c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(1,0.5,14,14),"strokeColor\x3dnone;fillColor\x3d#666666;shape\x3dellipse;");c.geometry.offset=new mxPoint(-19,-7);c.geometry.relative=!0;c.vertex=!0;a.insert(c);var d=new mxCell("",new mxGeometry(0.5,0.5,4,10),"strokeColor\x3d#F7F7F7;fillColor\x3dnone;shape\x3dmxgraph.ios7.icons.microphone;strokeWidth\x3d1;");
d.geometry.offset=new mxPoint(-2,-5);d.geometry.relative=!0;d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Message")}),this.addEntry(c+"action sheet",function(){var a=new mxCell("",new mxGeometry(0,0,164,115),"shape\x3drect;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#D2D3D5;gradientColor\x3dnone;shadow\x3d0;");a.vertex=!0;var c=new mxCell("Label",new mxGeometry(0,0,154,20),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.topButton;rSize\x3d3;strokeColor\x3d#D2D3D5;fontSize\x3d8;fillColor\x3d#F1F1F1;fontColor\x3d#0080F0;resizeWidth\x3d1;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,5);c.vertex=!0;a.insert(c);c=new mxCell("Label",new mxGeometry(0,0,154,20),"shape\x3drect;html\x3d1;strokeColor\x3d#D2D3D5;fontSize\x3d8;fillColor\x3d#F1F1F1;fontColor\x3d#0080F0;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,25);c.vertex=!0;a.insert(c);c=new mxCell("Label",new mxGeometry(0,0,154,20),"shape\x3drect;html\x3d1;strokeColor\x3d#D2D3D5;fontSize\x3d8;fillColor\x3d#F1F1F1;fontColor\x3d#0080F0;resizeWidth\x3d1;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,45);c.vertex=!0;a.insert(c);c=new mxCell("Label",new mxGeometry(0,0,154,20),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.bottomButton;rSize\x3d3;strokeColor\x3d#D2D3D5;fontSize\x3d8;fillColor\x3d#F1F1F1;fontColor\x3d#0080F0;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,65);c.vertex=!0;a.insert(c);c=new mxCell("Cancel",new mxGeometry(0,1,164,30),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.marginRect;rx\x3d5;ry\x3d5;rectMargin\x3d5;strokeColor\x3d#D2D3D5;fontSize\x3d8;fillColor\x3d#ffffff;fontColor\x3d#0080F0;resizeWidth\x3d1;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Action Sheet")}),this.addEntry(c+"action sheet",function(){var a=new mxCell("",new mxGeometry(0,0,164,115),"shape\x3drect;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#D2D3D5;gradientColor\x3dnone;shadow\x3d0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,154,40),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.topButton;rSize\x3d3;strokeColor\x3d#D2D3D5;fontSize\x3d8;fillColor\x3d#F1F1F1;fontColor\x3d#0080F0;resizeWidth\x3d1;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,5);c.vertex=!0;a.insert(c);var d=new mxCell("",new mxGeometry(0,0,154,40),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.bottomButton;rSize\x3d3;strokeColor\x3d#D2D3D5;fontSize\x3d8;fillColor\x3d#F1F1F1;fontColor\x3d#0080F0;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,45);d.vertex=!0;a.insert(d);var e=new mxCell("Cancel",new mxGeometry(0,1,164,30),"shape\x3dmxgraph.ios7ui.marginRect;rx\x3d3;ry\x3d3;rectMargin\x3d5;strokeColor\x3d#D2D3D5;fontSize\x3d8;fillColor\x3d#ffffff;fontColor\x3d#0080F0;resizeWidth\x3d1;");
e.geometry.relative=!0;e.geometry.offset=new mxPoint(0,-30);e.vertex=!0;a.insert(e);e=new mxCell("Message",new mxGeometry(0,0.5,22,22),"shape\x3drect;rounded\x3d1;strokeColor\x3dnone;fontSize\x3d5;fillColor\x3d#68F783;fontColor\x3d#000000;gradientColor\x3d#05B61E;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;spacingTop\x3d-4;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(5,-15);e.vertex=!0;c.insert(e);var f=new mxCell("",new mxGeometry(2,3,18,
16),"shape\x3dmxgraph.basic.oval_callout;strokeColor\x3dnone;fillColor\x3d#ffffff;");f.vertex=!0;e.insert(f);e=new mxCell("Mail",new mxGeometry(0,0.5,22,22),"shape\x3drect;rounded\x3d1;strokeColor\x3dnone;fontSize\x3d5;fillColor\x3d#1960EC;fontColor\x3d#000000;gradientColor\x3d#1FDCFF;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;spacingTop\x3d-4;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(37,-15);e.vertex=!0;c.insert(e);c=new mxCell("",new mxGeometry(3,
6,16,10),"shape\x3dmxgraph.ios7.icons.mail;strokeColor\x3d#2299F3;fillColor\x3d#ffffff;");c.vertex=!0;e.insert(c);c=new mxCell("Open in App",new mxGeometry(0,0.5,22,22),"shape\x3drect;rounded\x3d1;strokeColor\x3dnone;fontSize\x3d5;fillColor\x3d#ffffff;fontColor\x3d#000000;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;spacingTop\x3d-7;whiteSpace\x3dwrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,-15);c.vertex=!0;d.insert(c);c=new mxCell("Open Link",
new mxGeometry(0,0.5,22,22),"shape\x3drect;rounded\x3d1;strokeColor\x3dnone;fontSize\x3d5;fillColor\x3d#ffffff;fontColor\x3d#000000;verticalAlign\x3dtop;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;align\x3dcenter;spacingTop\x3d-7;whiteSpace\x3dwrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(37,-15);c.vertex=!0;d.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Action Sheet")}),this.addEntry(c+"cell list",function(){var a=new mxCell("",
new mxGeometry(0,0,164,120),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;gradientColor\x3dnone;shadow\x3d0;");a.vertex=!0;var c=new mxCell("Label",new mxGeometry(0,0,164,20),"shape\x3drect;strokeColor\x3dnone;fontSize\x3d10;fontColor\x3d#000000;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d25;spacingTop\x3d2;");c.geometry.relative=!0;c.vertex=!0;a.insert(c);var d=new mxCell("",new mxGeometry(0,0.5,15,15),"shape\x3drect;rounded\x3d1;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#FF9501;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-7.5);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(1,0.5,5,10),"shape\x3dmxgraph.ios7.misc.right;strokeColor\x3d#666666;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-15,-5);d.vertex=!0;c.insert(d);c=new mxCell("Label",new mxGeometry(0,0,164,20),"shape\x3drect;strokeColor\x3dnone;fontSize\x3d10;fontColor\x3d#000000;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d25;spacingTop\x3d2;");c.geometry.offset=new mxPoint(0,20);c.geometry.relative=
!0;c.vertex=!0;a.insert(c);d=new mxCell("",new mxGeometry(0,0.5,15,15),"shape\x3drect;rounded\x3d1;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#FF3B2F;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-7.5);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(1,0.5,5,10),"shape\x3dmxgraph.ios7.misc.right;strokeColor\x3d#666666;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-15,-5);d.vertex=!0;c.insert(d);c=new mxCell("Label",new mxGeometry(0,0,164,20),"shape\x3drect;strokeColor\x3dnone;fontSize\x3d10;fontColor\x3d#000000;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d25;spacingTop\x3d2;");
c.geometry.offset=new mxPoint(0,40);c.geometry.relative=!0;c.vertex=!0;a.insert(c);d=new mxCell("",new mxGeometry(0,0.5,15,15),"shape\x3drect;rounded\x3d1;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#4CDA64;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-7.5);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(1,0.5,5,10),"shape\x3dmxgraph.ios7.misc.right;strokeColor\x3d#666666;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-15,-5);d.vertex=!0;c.insert(d);c=new mxCell("Label",
new mxGeometry(0,0,164,20),"shape\x3drect;strokeColor\x3dnone;fontSize\x3d10;fontColor\x3d#000000;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d25;spacingTop\x3d2;");c.geometry.offset=new mxPoint(0,60);c.geometry.relative=!0;c.vertex=!0;a.insert(c);d=new mxCell("",new mxGeometry(0,0.5,15,15),"shape\x3drect;rounded\x3d1;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#007AFF;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-7.5);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(1,0.5,5,10),
"shape\x3dmxgraph.ios7.misc.right;strokeColor\x3d#666666;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-15,-5);d.vertex=!0;c.insert(d);c=new mxCell("Label",new mxGeometry(0,0,164,20),"shape\x3drect;strokeColor\x3dnone;fontSize\x3d10;fontColor\x3d#000000;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d25;spacingTop\x3d2;");c.geometry.offset=new mxPoint(0,80);c.geometry.relative=!0;c.vertex=!0;a.insert(c);d=new mxCell("",new mxGeometry(0,0.5,15,15),"shape\x3drect;rounded\x3d1;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#5855D6;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-7.5);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(1,0.5,5,10),"shape\x3dmxgraph.ios7.misc.right;strokeColor\x3d#666666;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-15,-5);d.vertex=!0;c.insert(d);c=new mxCell("Label",new mxGeometry(0,0,164,20),"shape\x3drect;strokeColor\x3dnone;fontSize\x3d10;fontColor\x3d#000000;resizeWidth\x3d1;align\x3dleft;spacingLeft\x3d25;spacingTop\x3d2;");c.geometry.offset=new mxPoint(0,100);c.geometry.relative=
!0;c.vertex=!0;a.insert(c);d=new mxCell("",new mxGeometry(0,0.5,15,15),"shape\x3drect;rounded\x3d1;rSize\x3d3;strokeColor\x3dnone;fillColor\x3d#8F8E94;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-7.5);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(1,0.5,5,10),"shape\x3dmxgraph.ios7.misc.right;strokeColor\x3d#666666;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-15,-5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,
"Cell List")}),this.addEntry(c+"cell list",function(){var a=new mxCell("",new mxGeometry(0,0,164,60),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;gradientColor\x3dnone;shadow\x3d0;");a.vertex=!0;var c=new mxCell("Label",new mxGeometry(0,0,164,20),"shape\x3drect;strokeColor\x3dnone;fontSize\x3d10;fontColor\x3d#000000;resizeWidth\x3d1;align\x3dleft;spacingTop\x3d2;spacingLeft\x3d5;");c.geometry.relative=!0;c.vertex=!0;a.insert(c);var d=new mxCell("Label",new mxGeometry(1,0.5,5,10),"shape\x3dmxgraph.ios7.misc.right;strokeColor\x3d#666666;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;align\x3dright;verticalAlign\x3dmiddle;fontSize\x3d10;spacingRight\x3d4;fontColor\x3d#999999;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-15,-5);d.vertex=!0;c.insert(d);c=new mxCell("Label",new mxGeometry(0,0,164,20),"shape\x3drect;strokeColor\x3dnone;fontSize\x3d10;fontColor\x3d#000000;resizeWidth\x3d1;align\x3dleft;spacingTop\x3d2;spacingLeft\x3d5;");c.geometry.offset=new mxPoint(0,20);c.geometry.relative=!0;c.vertex=!0;a.insert(c);d=new mxCell("Label",new mxGeometry(1,0.5,5,10),"shape\x3dmxgraph.ios7.misc.right;strokeColor\x3d#666666;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;align\x3dright;verticalAlign\x3dmiddle;fontSize\x3d10;spacingRight\x3d4;fontColor\x3d#999999;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-15,-5);d.vertex=!0;c.insert(d);c=new mxCell("Label",new mxGeometry(0,0,164,20),"shape\x3drect;strokeColor\x3dnone;fontSize\x3d10;fontColor\x3d#000000;resizeWidth\x3d1;align\x3dleft;spacingTop\x3d2;spacingLeft\x3d5;");c.geometry.offset=new mxPoint(0,40);c.geometry.relative=!0;c.vertex=!0;a.insert(c);d=new mxCell("Label",new mxGeometry(1,0.5,5,10),"shape\x3dmxgraph.ios7.misc.right;strokeColor\x3d#666666;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;align\x3dright;verticalAlign\x3dmiddle;fontSize\x3d10;spacingRight\x3d4;fontColor\x3d#999999;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-15,-5);d.vertex=!0;c.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Cell List")}),this.addEntry(c+"message",function(){var a=new mxCell("",new mxGeometry(0,0,164,35),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;gradientColor\x3dnone;shadow\x3d0;");a.vertex=!0;var c=new mxCell("Peter Gilles",new mxGeometry(0,0,10,10),"shape\x3dellipse;strokeColor\x3dnone;fillColor\x3d#007FF8;fontSize\x3d8;fontColor\x3d#000000;align\x3dleft;spacingTop\x3d1;spacingLeft\x3d2;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;verticalAlign\x3dmiddle;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,5);c.vertex=!0;a.insert(c);c=new mxCell("22:45",new mxGeometry(1,0,5,10),"shape\x3dmxgraph.ios7.misc.right;strokeColor\x3d#666666;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;align\x3dright;verticalAlign\x3dmiddle;fontSize\x3d8;spacingRight\x3d4;fontColor\x3d#999999;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-15,5);c.vertex=!0;a.insert(c);c=new mxCell("I just got a new friend",new mxGeometry(0,0,164,10),"shape\x3dtext;strokeColor\x3dnone;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d7;spacingLeft\x3d17;fontColor\x3d#000000;spacingTop\x3d2;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,15);c.vertex=!0;a.insert(c);c=new mxCell("You know I wanted a dog. Yesterday I got a puppy ...",new mxGeometry(0,0,164,10),"shape\x3dtext;strokeColor\x3dnone;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d6;spacingLeft\x3d17;fontColor\x3d#808080;spacingTop\x3d2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,25);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Message")}),this.addEntry(c+
"message",function(){var a=new mxCell("",new mxGeometry(0,0,164,100),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#ffffff;gradientColor\x3dnone;shadow\x3d0;");a.vertex=!0;var c=new mxCell("Saturday 10:12 AM",new mxGeometry(0,0,164,10),"shape\x3dtext;align\x3dcenter;verticalAlign\x3dmiddle;fontSize\x3d5;fontColor\x3d#999999;strokeColor\x3dnone;fillColor\x3dnone;spacingTop\x3d3;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,0);c.vertex=!0;a.insert(c);c=new mxCell("Hey man, got a sec?",
new mxGeometry(0,0,90,20),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.callout;strokeColor\x3dnone;fillColor\x3d#E7E6EC;align\x3dleft;verticalAlign\x3dmiddle;fontSize\x3d7;spacingLeft\x3d17;fontColor\x3d#000000;spacingTop\x3d2;whiteSpace\x3dwrap;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,15);c.vertex=!0;a.insert(c);c=new mxCell("Hi Tim, of course, just give me a couple minutes to finish breakfast.",new mxGeometry(0.35,0,100,35),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.callout;strokeColor\x3dnone;fillColor\x3d#0680FF;flipH\x3d1;align\x3dleft;verticalAlign\x3dtop;fontSize\x3d7;spacingLeft\x3d2;fontColor\x3d#ffffff;spacingTop\x3d-2;whiteSpace\x3dwrap;spacingRight\x3d12;resizeWidth\x3d1;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;a.insert(c);c=new mxCell("Read Friday",new mxGeometry(0,0,164,10),"shape\x3dtext;align\x3dright;verticalAlign\x3dmiddle;fontSize\x3d5;fontColor\x3d#999999;strokeColor\x3dnone;fillColor\x3dnone;spacingTop\x3d3;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,80);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Message")}),this.addEntry(c+"alert",function(){var a=
new mxCell("A dialog text that notifies you of something of which you don't need to make a decision, just to acknowledge it by pressing the close button.",new mxGeometry(0,0,120,70),"shape\x3drect;rounded\x3d1;strokeColor\x3dnone;fillColor\x3d#F6F6F8;gradientColor\x3dnone;shadow\x3d0;glass\x3d0;dashed\x3d1;fontFamily\x3dHelvetica;fontSize\x3d7;fontColor\x3d#333333;align\x3dcenter;html\x3d0;verticalAlign\x3dtop;whiteSpace\x3dwrap;spacing\x3d8;spacingTop\x3d0;");a.vertex=!0;var c=new mxCell("Close",
new mxGeometry(0,1,120,20),"shape\x3dtext;align\x3dcenter;verticalAlign\x3dmiddle;fontSize\x3d8;fontColor\x3d#0680FF;strokeColor\x3dnone;fillColor\x3dnone;spacingTop\x3d3;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-20);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Alert")}),this.addEntry(c+"dialog",function(){var a=new mxCell("A dialog title",new mxGeometry(0,0,120,70),"shape\x3drect;rounded\x3d1;strokeColor\x3dnone;fillColor\x3d#F6F6F8;gradientColor\x3dnone;shadow\x3d0;glass\x3d0;dashed\x3d1;fontFamily\x3dHelvetica;fontSize\x3d8;fontColor\x3d#333333;align\x3dcenter;html\x3d0;verticalAlign\x3dtop;whiteSpace\x3dwrap;spacing\x3d8;spacingTop\x3d0;");
a.vertex=!0;var c=new mxCell("A dialog text that notifies you of something and you need to decide which action to take.",new mxGeometry(0,0,120,30),"shape\x3dtext;align\x3dcenter;verticalAlign\x3dmiddle;fontSize\x3d7;fontColor\x3d#333333;strokeColor\x3dnone;fillColor\x3dnone;spacingTop\x3d-8;resizeWidth\x3d1;whiteSpace\x3dwrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,20);c.vertex=!0;a.insert(c);c=new mxCell("Action 1",new mxGeometry(0,1,60,20),"shape\x3dtext;align\x3dcenter;verticalAlign\x3dmiddle;fontSize\x3d8;fontColor\x3d#0680FF;strokeColor\x3dnone;fillColor\x3dnone;spacingTop\x3d3;resizeWidth\x3d1;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-20);c.vertex=!0;a.insert(c);c=new mxCell("Action 2",new mxGeometry(0.5,1,60,20),"shape\x3dtext;align\x3dcenter;verticalAlign\x3dmiddle;fontSize\x3d8;fontColor\x3d#0680FF;strokeColor\x3dnone;fillColor\x3dnone;spacingTop\x3d3;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-20);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Dialog")}),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.misc.bluetooth;fillColor\x3d#007AFF;strokeColor\x3dnone;buttonText\x3d;strokeColor2\x3d#222222;fontColor\x3d#222222;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",
15,15,"","Bluetooth",null,null,this.getTagsForStencil(d,"bluetooth",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.misc.broadcast;fillColor\x3d#4CDA64;strokeColor\x3dnone;buttonText\x3d;strokeColor2\x3d#222222;fontColor\x3d#222222;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",15,15,"","Broadcast",null,null,this.getTagsForStencil(d,"broadcast",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.misc.link;fillColor\x3d#4CDA64;strokeColor\x3dnone;buttonText\x3d;strokeColor2\x3d#222222;fontColor\x3d#222222;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",
15,15,"","Link",null,null,this.getTagsForStencil(d,"link",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.misc.night;fillColor\x3d#5855D6;strokeColor\x3dnone;buttonText\x3d;strokeColor2\x3d#222222;fontColor\x3d#222222;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",15,15,"","Night",null,null,this.getTagsForStencil(d,"night",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.misc.notification;fillColor\x3d#FF3B2F;strokeColor\x3dnone;buttonText\x3d;strokeColor2\x3d#222222;fontColor\x3d#222222;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",
15,15,"","Notification",null,null,this.getTagsForStencil(d,"notification",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.misc.settings;fillColor\x3d#8F8E94;strokeColor\x3dnone;buttonText\x3d;strokeColor2\x3d#222222;fontColor\x3d#222222;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",15,15,"","Settings",null,null,this.getTagsForStencil(d,"settings",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.misc.switch;fillColor\x3d#8F8E94;strokeColor\x3dnone;buttonText\x3d;strokeColor2\x3d#222222;fontColor\x3d#222222;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",
15,15,"","Switch",null,null,this.getTagsForStencil(d,"switch",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.misc.text_size;fillColor\x3d#007AFF;strokeColor\x3dnone;buttonText\x3d;strokeColor2\x3d#222222;fontColor\x3d#222222;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",15,15,"","Text Size",null,null,this.getTagsForStencil(d,"text size",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.misc.travel;fillColor\x3d#FF9501;strokeColor\x3dnone;buttonText\x3d;strokeColor2\x3d#222222;fontColor\x3d#222222;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",
15,15,"","Travel",null,null,this.getTagsForStencil(d,"travel",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.misc.vpn;fillColor\x3d#007AFF;strokeColor\x3dnone;buttonText\x3d;strokeColor2\x3d#222222;fontColor\x3d#222222;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",15,15,"","VPN",null,null,this.getTagsForStencil(d,"vpn virtual private network",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7.misc.wifi;fillColor\x3d#007AFF;strokeColor\x3dnone;buttonText\x3d;strokeColor2\x3d#222222;fontColor\x3d#222222;fontSize\x3d8;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",
15,15,"","WiFi",null,null,this.getTagsForStencil(d,"wifi",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.url;fillColor\x3d#e0e0e0;strokeColor\x3d#c0c0c0;buttonText\x3d;strokeColor2\x3d#222222;fontColor\x3d#222222;fontSize\x3d8;spacingTop\x3d2;align\x3dcenter;",165,12.5,"draw.io","URL",null,null,this.getTagsForStencil(d,"url",c+"url").join(" ")),this.createVertexTemplateEntry(f+"iconGrid;fillColor\x3d#c0c0c0;gridSize\x3d3,3;",
175,280,"","Icon grid",null,null,this.getTagsForStencil(d,"iconGrid",c+"icon grid").join(" ")),this.addEntry(c+"action dialog",function(){var a=new mxCell("",new mxGeometry(0,0,164,60),"shape\x3drect;fillColor\x3d#a0a0a0;strokeColor\x3dnone;shadow\x3d0;");a.vertex=!0;var c=new mxCell("Action",new mxGeometry(8,6,148,21),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.rrect;rSize\x3d3;fontColor\x3d#0080F0;fontSize\x3d7;fontSize\x3d14;fillColor\x3d#e0e0e0;strokeColor\x3dnone;fontStyle\x3d1;");
c.vertex=!0;a.insert(c);c=new mxCell("Cancel",new mxGeometry(8,33,148,21),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.rrect;rSize\x3d3;fontColor\x3d#0080F0;fontSize\x3d7;fontSize\x3d14;fillColor\x3d#e0e0e0;strokeColor\x3dnone;fontStyle\x3d1;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Action Dialog")}),this.createVertexTemplateEntry(a+"iKeybLett;",174,100,"","iPhone Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc",
"keyboard letters",c+"").join(" ")),this.createVertexTemplateEntry(a+"iKeybNumb;",174,100,"","iPhone Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",c+"").join(" ")),this.createVertexTemplateEntry(a+"iKeybSymb;",174,100,"","iPhone Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",c+"").join(" ")),this.createVertexTemplateEntry(a+"iKeybLett;",332,144,"","iPad 7''Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc",
"keyboard letters",c+"").join(" ")),this.createVertexTemplateEntry(a+"iKeybNumb;",332,144,"","iPad 7'' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",c+"").join(" ")),this.createVertexTemplateEntry(a+"iKeybSymb;",332,144,"","iPad 7'' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",c+"").join(" ")),this.createVertexTemplateEntry(a+"iKeybLett;",442,192,"","iPad 10''Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc",
"keyboard letters",c+"").join(" ")),this.createVertexTemplateEntry(a+"iKeybNumb;",442,192,"","iPad 10'' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",c+"").join(" ")),this.createVertexTemplateEntry(a+"iKeybSymb;",442,192,"","iPad 10'' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",c+"").join(" ")),this.createVertexTemplateEntry(a+"iKeybLett;",200*2.53,400*0.55,"","iPad 13''Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc",
"keyboard letters",c+"").join(" ")),this.createVertexTemplateEntry(a+"iKeybNumb;",200*2.53,400*0.55,"","iPad 13'' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",c+"").join(" ")),this.createVertexTemplateEntry(a+"iKeybSymb;",200*2.53,400*0.55,"","iPad 13'' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.call_pad;",
140,160,"","Call Pad",null,null,this.getTagsForStencil("mxgraph.ios7.misc","call_pad",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.number_pad;strokeWidth\x3d1;",140,160,"","Number Pad",null,null,this.getTagsForStencil("mxgraph.ios7.misc","number_pad",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.keyboard_(letters);",
175,120,"","Keyboard",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard_(letters)",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.scroll_(horizontal);fillColor\x3d#a0a0a0;",80,6,"","Scroll (Horizontal)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","scroll_(horizontal)",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.scroll_(vertical);fillColor\x3d#a0a0a0;",
6,80,"","Scroll (Vertical)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","scroll_(vertical)",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.add;fillColor\x3d#00dd00;strokeColor\x3d#ffffff;",12,12,"","Add",null,null,this.getTagsForStencil("mxgraph.ios7.misc","add",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.delete;fillColor\x3d#ff0000;strokeColor\x3d#ffffff;",
12,12,"","Delete",null,null,this.getTagsForStencil("mxgraph.ios7.misc","delete",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.select;fillColor\x3d#0080f0;strokeColor\x3d#ffffff;",12,12,"","Select",null,null,this.getTagsForStencil("mxgraph.ios7.misc","select",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.remove;fillColor\x3d#0080f0;strokeColor\x3d#ffffff;",
16,12,"","Remove",null,null,this.getTagsForStencil("mxgraph.ios7.misc","remove",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.check;strokeColor\x3d#0080f0;",10,8,"","Check",null,null,this.getTagsForStencil("mxgraph.ios7.misc","check",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.flagged;strokeColor\x3d#0080f0;",
12,12,"","Flagged",null,null,this.getTagsForStencil("mxgraph.ios7.misc","flagged",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.up;strokeColor\x3d#0080f0;",12,6,"","Up",null,null,this.getTagsForStencil("mxgraph.ios7.misc","up",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.down;strokeColor\x3d#0080f0;",
12,6,"","Down",null,null,this.getTagsForStencil("mxgraph.ios7.misc","down",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.left;strokeColor\x3d#0080f0;",6,12,"","Left",null,null,this.getTagsForStencil("mxgraph.ios7.misc","left",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.right;strokeColor\x3d#0080f0;",
6,12,"","Right",null,null,this.getTagsForStencil("mxgraph.ios7.misc","right",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.increase;fillColor\x3d#ffffff;strokeColor\x3d#0080f0;",12,12,"","Increase",null,null,this.getTagsForStencil("mxgraph.ios7.misc","increase",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.info;fillColor\x3d#ffffff;strokeColor\x3d#0080f0;",
12,12,"","Info",null,null,this.getTagsForStencil("mxgraph.ios7.misc","info",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.more_2;strokeColor\x3d#a0a0a0;",6,8,"","More 2",null,null,this.getTagsForStencil("mxgraph.ios7.misc","more_2",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.more;strokeColor\x3d#a0a0a0;",
5,8,"","More",null,null,this.getTagsForStencil("mxgraph.ios7.misc","more",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.options;fillColor\x3d#222222;",12,6,"","Options",null,null,this.getTagsForStencil("mxgraph.ios7.misc","options",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.pause;fillColor\x3d#ffffff;strokeColor\x3d#0080f0;",
12,12,"","Pause",null,null,this.getTagsForStencil("mxgraph.ios7.misc","pause",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.star;fillColor\x3d#0080f0;strokeColor\x3dnone;",12,12,"","Star",null,null,this.getTagsForStencil("mxgraph.ios7.misc","star",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.contacts_bar;strokeColor\x3d#0080F0;fillColor\x3d#e0e0e0",
175,400*0.07,"","Contacts Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","contacts_bar",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.edit_bar;strokeColor\x3d#0080F0;fillColor\x3d#e0e0e0",175,400*0.07,"","Edit Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","edit_bar",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.message_bar;strokeColor\x3d#0080F0;fillColor\x3d#e0e0e0",
175,400*0.07,"","Message Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","message_bar",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.misc_bar;strokeColor\x3d#0080F0;fillColor\x3d#e0e0e0",175,400*0.07,"","Misc Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","misc_bar",c+"").join(" ")),this.createVertexTemplateEntry(f+
"onOffButton;buttonState\x3don;strokeColor\x3d#38D145;strokeColor2\x3d#aaaaaa;fillColor\x3d#38D145;fillColor2\x3d#ffffff;",43.5,15,"","On-off button (On)",null,null,this.getTagsForStencil(d,"onOffButton",c+"").join(" ")),this.createVertexTemplateEntry(f+"onOffButton;buttonState\x3doff;strokeColor\x3d#38D145;strokeColor2\x3d#aaaaaa;fillColor\x3d#38D145;fillColor2\x3d#ffffff;",43.5,15,"","On-off button (Off)",null,null,this.getTagsForStencil(d,"onOffButton",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.icon;fontSize\x3d8;fontColor\x3d#ffffff;buttonText\x3d;whiteSpace\x3dwrap;align\x3dcenter;",
40,36,"Icon","Icon",null,null,this.getTagsForStencil(d,"icon",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.loading_circle;",40,40,"","Loading Circle",null,null,this.getTagsForStencil("mxgraph.ios7.misc","loading_circle",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.circle;strokeColor\x3d#222222;fillColor\x3dnone;",
12,12,"","Circle",null,null,this.getTagsForStencil("mxgraph.ios7.misc","circle",c+"").join(" ")),this.createVertexTemplateEntry(f+"pageControl;fillColor\x3d#222222;strokeColor\x3d#aaaaaa;",50,5,"","Page control",null,null,this.getTagsForStencil(d,"pageControl",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.current_location;strokeColor\x3d#ffffff;fillColor\x3d#0080F0",
60,60,"","Current Location",null,null,this.getTagsForStencil("mxgraph.ios7.misc","current_location",c+"").join(" ")),this.createVertexTemplateEntry("html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;strokeWidth\x3d2;shape\x3dmxgraph.ios7.misc.expand;fillColor\x3d#c0c0c0;",24,6,"","Expand",null,null,this.getTagsForStencil("mxgraph.ios7.misc","expand",c+"").join(" ")),this.addEntry(c+"volume control",function(){var a=new mxCell("",
new mxGeometry(0,0,160,14),"shape\x3drect;strokeColor\x3dnone;fillColor\x3dnone;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,0.5,6,8),"shape\x3dmxgraph.ios7.misc.volume_down;fillColor\x3d#666666;strokeColor\x3dnone;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-4);c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(1,0.5,14,14),"shape\x3dmxgraph.ios7.misc.volume_up;fillColor\x3d#666666;strokeColor\x3dnone;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-14,-7);c.vertex=
!0;a.insert(c);c=new mxCell("",new mxGeometry(18,0,116,14),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.slider;barPos\x3d60;strokeColor\x3d#0680FF;opacity\x3d100;fillColor\x3d#FFFFFF;handleSize\x3d14;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],160,14,"Volume Control")}),this.addEntry(c+"picker",function(){var a=new mxCell("",new mxGeometry(0,0,175,160),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.anchor;");a.vertex=
!0;var c=new mxCell("Item 1",new mxGeometry(0,0,175,32),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.anchor;fontSize\x3d15;fontColor\x3d#a0a0a0;resizeWidth\x3d1;");c.geometry.relative=!0;c.vertex=!0;a.insert(c);c=new mxCell("Item 2",new mxGeometry(0,0,175,32),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.anchor;fontSize\x3d15;fontColor\x3d#a0a0a0;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,32);c.vertex=!0;
a.insert(c);c=new mxCell("Item 3",new mxGeometry(0,0,175,32),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.horLines;fontSize\x3d15;fontColor\x3d#222222;strokeColor\x3d#a0a0a0;fillColor\x3dnone;strokeWidth\x3d2;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,64);c.vertex=!0;a.insert(c);c=new mxCell("Item 4",new mxGeometry(0,0,175,32),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.anchor;fontSize\x3d15;fontColor\x3d#a0a0a0;resizeWidth\x3d1;");
c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,96);c.vertex=!0;a.insert(c);c=new mxCell("Item 5",new mxGeometry(0,0,175,32),"html\x3d1;strokeWidth\x3d1;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.ios7ui.anchor;fontSize\x3d15;fontColor\x3d#a0a0a0;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,128);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Picker")})];this.addPalette("ios7ui","iOS UI",!1,mxUtils.bind(this,
function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))}})();
(function(){Sidebar.prototype.addLeanMappingPalette=function(){var b=mxConstants.STYLE_STROKEWIDTH+"\x3d2;html\x3d1;shape\x3dmxgraph.lean_mapping.",c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;strokeWidth\x3d2;shape\x3dmxgraph.lean_mapping.",f=this,d=[this.createVertexTemplateEntry(c+"boat_shipment;align\x3dcenter;",100,100,"","Boat Shipment",null,null,this.getTagsForStencil("mxgraph.lean_mapping","boat_shipment","value stream lean mapping ").join(" ")),
this.addEntry("value stream lean mapping data box",function(){var a=new mxCell("",new mxGeometry(0,0,60,100),b+"data_box;html\x3d1;");a.vertex=!0;var c=new mxCell("C/T\x3d",new mxGeometry(0,0,60,20),"text;fontSize\x3d8;spacingLeft\x3d2;verticalAlign\x3dmiddle;html\x3d1;");c.vertex=!0;a.insert(c);c=new mxCell("C/O\x3d",new mxGeometry(0,20,60,20),"text;fontSize\x3d8;spacingLeft\x3d2;verticalAlign\x3dmiddle;html\x3d1;");c.vertex=!0;a.insert(c);c=new mxCell("Batch\x3d",new mxGeometry(0,40,60,20),"text;fontSize\x3d8;spacingLeft\x3d2;verticalAlign\x3dmiddle;html\x3d1;");
c.vertex=!0;a.insert(c);c=new mxCell("Avail\x3d",new mxGeometry(0,60,60,20),"text;fontSize\x3d8;spacingLeft\x3d2;verticalAlign\x3dmiddle;html\x3d1;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,80,60,20),"text;fontSize\x3d8;spacingLeft\x3d2;verticalAlign\x3dmiddle;html\x3d1;");c.vertex=!0;a.insert(c);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Data Box")}),this.createVertexTemplateEntry(b+"outside_sources;whiteSpace\x3dwrap;align\x3dcenter;",100,70,
'\x3ctable cellpadding\x3d"5" cellspacing\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd height\x3d"50%"\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center" height\x3d"50%"\x3eXYZ Corp\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',"Customer/Supplier",null,null,this.getTagsForStencil("mxgraph.lean_mapping","outside_sources","value stream lean mapping ").join(" ")),this.addEntry("value stream lean mapping dedicated process manufacturing",function(){var a=new mxCell("\nDescription",
new mxGeometry(0,0,100,70),b+"manufacturing_process;fontSize\x3d12;verticalAlign\x3dmiddle;html\x3d1;align\x3dcenter;whiteSpace\x3dwrap;");a.vertex=!0;var c=new mxCell("Process",new mxGeometry(0,0,100,13),"text;fontSize\x3d12;spacingLeft\x3d2;verticalAlign\x3dtop;html\x3d1;align\x3dcenter;spacingTop\x3d-5;resizeWidth\x3d1;");c.vertex=!0;a.insert(c);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Dedicated Process")}),this.createVertexTemplateEntry(b+"manufacturing_process_shared;spacingTop\x3d-5;align\x3dcenter;"+
mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;",100,70,"Process","Shared Process",null,null,this.getTagsForStencil("mxgraph.lean_mapping","manufacturing_process_shared","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"work_cell;",70,60,"","Workcell",null,null,this.getTagsForStencil("mxgraph.lean_mapping","work_cell","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"inventory_box;",100,90,"","Inventory Box",null,null,this.getTagsForStencil("mxgraph.lean_mapping",
"inventory_box","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"push_arrow;",100,30,"","Push Arrow",null,null,this.getTagsForStencil("mxgraph.lean_mapping","push_arrow","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"supermarket;",60,100,"","Supermarket",null,null,this.getTagsForStencil("mxgraph.lean_mapping","supermarket","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"physical_pull;",100,100,"","Material Pull",null,
null,this.getTagsForStencil("mxgraph.lean_mapping","physical_pull","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"fifo_lane;overflow\x3dfill;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;align\x3dcenter;",100,50,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd height\x3d"0%"\x3eMAX\x3dXX\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center" height\x3d"100%"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',"FIFO Lane",
null,null,this.getTagsForStencil("mxgraph.lean_mapping","fifo_lane","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"buffer_or_safety_stock;",40,100,"","Safety Stock",null,null,this.getTagsForStencil("mxgraph.lean_mapping","buffer_or_safety_stock","value stream lean mapping ").join(" ")),this.addEntry(this.getTagsForStencil("mxgraph.lean_mapping","truck_shipment","value stream lean mapping ").join(" "),function(){var a=new mxCell("",new mxGeometry(0,0,100,100),b+"truck_shipment;");
a.vertex=!0;var c=new mxCell("2x per\nWeek",new mxGeometry(0,0,60,80),"text;fontSize\x3d12;verticalAlign\x3dmiddle;html\x3d1;align\x3dcenter;whiteSpace\x3dwrap;");c.vertex=!0;a.insert(c);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Truck Shipment")}),this.createVertexTemplateEntry(b+"schedule;whiteSpace\x3dwrap;align\x3dcenter;",100,70,"Production\nControl","Production Control",null,null,this.getTagsForStencil("mxgraph.lean_mapping","schedule","value stream lean mapping ").join(" ")),
this.createVertexTemplateEntry(b+"schedule;whiteSpace\x3dwrap;align\x3dcenter;",100,70,"Other\nInformation","Other Information",null,null,this.getTagsForStencil("mxgraph.lean_mapping","schedule","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"go_see_production_scheduling;",92,60,"","Go See Production Scheduling",null,null,this.getTagsForStencil("mxgraph.lean_mapping","go_see_production_scheduling","value stream lean mapping ").join(" ")),this.addEntry(this.getTagsForStencil("mxgraph.lean_mapping",
"kaizen_lightening_burst","value stream lean mapping ").join(" "),function(){var a=new mxCell("",new mxGeometry(0,0,90,40),c+"kaizen_lightening_burst;");a.vertex=!0;var b=new mxCell("",new mxGeometry(8,8,74,24),"rect;fillColor\x3d#000000;strokeColor\x3dnone;");b.vertex=!0;a.insert(b);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Kaizen Lightening Burst")}),this.createVertexTemplateEntry(c+"kanban_post;",50,100,"","Kanban Post",null,null,this.getTagsForStencil("mxgraph.lean_mapping",
"kanban_post","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"load_leveling;",100,30,"","Load Leveling",null,null,this.getTagsForStencil("mxgraph.lean_mapping","load_leveling","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"move_by_forklift;",92,100,"","Move by Forklift",null,null,this.getTagsForStencil("mxgraph.lean_mapping","move_by_forklift","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"mrp_erp;whiteSpace\x3dwrap;",
70,100,"","MRP/ERP",null,null,this.getTagsForStencil("mxgraph.lean_mapping","mrp_erp","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"operator;",100,84,"","Operator",null,null,this.getTagsForStencil("mxgraph.lean_mapping","operator","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"quality_problem;fontSize\x3d24;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",80,100,"Q","Quality Problem",null,null,this.getTagsForStencil("mxgraph.lean_mapping",
"quality_problem","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"verbal;",50,100,"","Verbal Information",null,null,this.getTagsForStencil("mxgraph.lean_mapping","verbal","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"fifo_sequence_flow;fontStyle\x3d0;fontSize\x3d20;align\x3dcenter;",100,50,"FIFO","FIFO Sequence",null,null,this.getTagsForStencil("mxgraph.lean_mapping","fifo_sequence_flow","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+
"production_kanban;overflow\x3dfill;",100,100,'\x3cp style\x3d"font-size:2em;margin-right:35px;margin-top:13px;text-align:right"\x3eP\x3c/p\x3e',"Production Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping","production_kanban","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"withdrawal_kanban;overflow\x3dfill;",100,100,'\x3cp style\x3d"font-size:2em;margin-right:35px;margin-top:13px;text-align:right"\x3eW\x3c/p\x3e',"Withdrawal Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping",
"withdrawal_kanban","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"signal_kanban;overflow\x3dfill;",100,90,'\x3cp style\x3d"font-size:2em;margin-right:35px;margin-top:4px;text-align:right"\x3eS\x3c/p\x3e',"Signal Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping","signal_kanban","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"sequenced_pull_ball;",60,60,"","Sequenced Pull Ball",null,null,this.getTagsForStencil("mxgraph.lean_mapping",
"sequenced_pull_ball","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"rail_shipment;",100,30,"","Rail Shipment",null,null,this.getTagsForStencil("mxgraph.lean_mapping","rail_shipment","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"airplane_7;",100,45,"","Air Freight",null,null,this.getTagsForStencil("mxgraph.lean_mapping","airplane_7","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"warehouse;",100,60,"","Warehouse",
null,null,this.getTagsForStencil("mxgraph.lean_mapping","warehouse","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"timeline2;dx1\x3d0;dy1\x3d1;dx2\x3d30;dy2\x3d0;dx3\x3d160;dy3\x3d1;dx4\x3d230;dy4\x3d0;dx5\x3d310;dy5\x3d1;dy6\x3d0;",400,40,"","Timeline",null,null,this.getTagsForStencil("mxgraph.lean_mapping","timeline","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"crossDock;",100,80,"","Cross-Dock",null,null,this.getTagsForStencil("mxgraph.lean_mapping",
"crossDock","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"orders;overflow\x3dfill;",100,60,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1.5em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd height\x3d"65%"\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center" height\x3d"35%"\x3eIN\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',"Orders",null,null,this.getTagsForStencil("mxgraph.lean_mapping","orders","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+
"batched_kanban;",200,80,"","Batched Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping","batched_kanban","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(c+"control_center;",80,80,"","Control Center",null,null,this.getTagsForStencil("mxgraph.lean_mapping","control_center","value stream lean mapping ").join(" ")),this.createEdgeTemplateEntry("arrow;html\x3d1;",100,100,"","Shipments",null,this.getTagsForStencil("mxgraph.lean_mapping","arrow","value stream lean mapping ").join(" ")),
this.createEdgeTemplateEntry("shape\x3dmxgraph.lean_mapping.manual_info_flow_edge;html\x3d1;",100,100,"Daily","Manual Information",null,this.getTagsForStencil("mxgraph.lean_mapping","manual_info_flow_edge","value stream lean mapping ").join(" ")),this.createEdgeTemplateEntry("shape\x3dmxgraph.lean_mapping.electronic_info_flow_edge;html\x3d1;",100,100,"Monthly","Electronic Information",null,this.getTagsForStencil("mxgraph.lean_mapping","electronic_info_flow_edge","value stream lean mapping ").join(" "))];
this.addPalette("lean_mapping",mxResources.get("leanMapping"),!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}})();
(function(){Sidebar.prototype.addMockupPalette=function(){this.addMockupButtonsPalette();this.addMockupContainersPalette();this.addMockupFormsPalette();this.addMockupGraphicsPalette();this.addMockupMarkupPalette();this.addMockupMiscPalette();this.addMockupNavigationPalette();this.addMockupTextPalette()};Sidebar.prototype.addMockupButtonsPalette=function(){var b=mxConstants.STYLE_STROKEWIDTH+"\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",c=
mxConstants.STYLE_STROKECOLOR+"\x3d#999999;",f=this,d=[this.createVertexTemplateEntry(b+"buttons.button;"+(mxConstants.STYLE_STROKECOLOR+"\x3d#666666;")+"fontColor\x3d#ffffff;mainText\x3d;buttonStyle\x3dround;fontSize\x3d17;fontStyle\x3d1;fillColor\x3d#008cff;whiteSpace\x3dwrap;",150,50,"Button Text","Button",null,null,this.getTagsForStencil("mxgraph.mockup.buttons","button","mockup button ").join(" ")),this.addEntry("mockup button formatted multibutton multi",function(){var a=new mxCell("",new mxGeometry(0,
0,150,50),b+"buttons.multiButton;fillColor\x3d#008cff;strokeColor\x3d#666666;mainText\x3d;subText\x3d;");a.vertex=!0;var c=new mxCell("Main Text",new mxGeometry(0,8,150,20),b+"anchor;fontSize\x3d16;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;");c.vertex=!0;a.insert(c);c=new mxCell("Sub Text",new mxGeometry(0,30,150,10),b+"anchor;fontSize\x3d12;fontColor\x3d#ffffff;fontStyle\x3d1;whiteSpace\x3dwrap;");c.vertex=!0;a.insert(c);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,
"Formatted Button")}),this.addEntry("mockup button horizontal bar",function(){var a=new mxCell("",new mxGeometry(0,0,500,50),b+"rrect;rSize\x3d10;fillColor\x3d#ffffff;strokeColor\x3d#666666;");a.vertex=!0;var c=new mxCell("Button 2",new mxGeometry(0,0,125,50),b+"rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;fillColor\x3dnone;strokeColor\x3d#666666;resizeHeight\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(125,0);c.vertex=!0;a.insert(c);c=new mxCell("Button 3",
new mxGeometry(0,0,125,50),b+"rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;fillColor\x3dnone;strokeColor\x3d#666666;resizeHeight\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(250,0);c.vertex=!0;a.insert(c);c=new mxCell("Button 4",new mxGeometry(1,0,125,50),b+"rightButton;rSize\x3d10;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;fillColor\x3dnone;strokeColor\x3d#666666;resizeHeight\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-125,0);c.vertex=
!0;a.insert(c);c=new mxCell("Button 1",new mxGeometry(0,0,125,50),b+"leftButton;rSize\x3d10;fontSize\x3d17;fontColor\x3d#ffffff;fontStyle\x3d1;fillColor\x3d#008cff;strokeColor\x3dnone;resizeHeight\x3d1;");c.geometry.relative=!0;c.vertex=!0;a.insert(c);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Horizontal Button Bar")}),this.addEntry("mockup button vertical bar",function(){var a=new mxCell("",new mxGeometry(0,0,120,200),b+"rrect;rSize\x3d10;fillColor\x3d#ffffff;strokeColor\x3d#666666;");
a.vertex=!0;var c=new mxCell("Button 2",new mxGeometry(0,0,120,50),b+"rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;fillColor\x3dnone;strokeColor\x3d#666666;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,50);c.vertex=!0;a.insert(c);c=new mxCell("Button 3",new mxGeometry(0,0,120,50),b+"rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;fillColor\x3dnone;strokeColor\x3d#666666;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=
new mxPoint(0,100);c.vertex=!0;a.insert(c);c=new mxCell("Button 4",new mxGeometry(0,1,120,50),b+"bottomButton;rSize\x3d10;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;fillColor\x3dnone;strokeColor\x3d#666666;resizeWidth\x3d1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-50);c.vertex=!0;a.insert(c);c=new mxCell("Button 1",new mxGeometry(0,0,120,50),b+"topButton;rSize\x3d10;fontSize\x3d17;fontColor\x3d#ffffff;fontStyle\x3d1;fillColor\x3d#008cff;strokeColor\x3dnone;resizeWidth\x3d1;");
c.geometry.relative=!0;c.vertex=!0;a.insert(c);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Vertical Button Bar")}),this.createVertexTemplateEntry(b+"buttons.onOffButton;fillColor\x3d#ffffff;gradientColor\x3dnone;"+c+"buttonState\x3don;fillColor2\x3d#008cff;fontColor\x3d#ffffff;fontSize\x3d17;mainText\x3d;spacingRight\x3d40;fontStyle\x3d1;",150,50,"ON","On-off button",null,null,this.getTagsForStencil("mxgraph.mockup.buttons","onOffButton","mockup button on off").join(" "))];
this.addPalette("mockupButtons","Mockup Buttons",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMockupContainersPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;strokeWidth\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",c=mxConstants.STYLE_STROKEWIDTH+"\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+
mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",f=mxConstants.STYLE_STROKECOLOR+"\x3d#666666;",d=mxConstants.STYLE_FILLCOLOR+"\x3d#ffffff;",a=this,e=[this.createVertexTemplateEntry(b+"containers.videoPlayer;"+f+"strokeColor2\x3d#008cff;strokeColor3\x3d#c4c4c4;textColor\x3d#666666;"+d+"fillColor2\x3d#008cff;barHeight\x3d30;barPos\x3d20;",300,200,"","Video Player",null,null,this.getTagsForStencil("mxgraph.mockup.containers","videoPlayer","mockup container ").join(" ")),this.addEntry("mockup container accordion",
function(){var b=new mxCell("",new mxGeometry(0,0,100,220),c+"containers.rrect;rSize\x3d0;fillColor\x3d#ffffff;strokeColor\x3d#666666;");b.vertex=!0;var d=new mxCell("Group 1",new mxGeometry(0,0,100,26),c+"containers.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;fillColor\x3dnone;strokeColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;b.insert(d);d=new mxCell("Group 2",new mxGeometry(0,0,100,26),c+"containers.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;fillColor\x3dnone;strokeColor\x3d#666666;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,26);d.vertex=!0;b.insert(d);d=new mxCell("Group 3",new mxGeometry(0,0,100,26),c+"containers.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#ffffff;fontStyle\x3d1;fillColor\x3d#008cff;strokeColor\x3d#008cff;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,52);d.vertex=!0;b.insert(d);d=new mxCell("Group 4",new mxGeometry(0,1,100,26),c+"containers.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;fillColor\x3dnone;strokeColor\x3d#666666;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-26);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Accordion")}),this.addEntry("mockup container browser window",function(){var b=new mxCell("",new mxGeometry(0,0,550,380),c+"containers.browserWindow;rSize\x3d0;fillColor\x3d#ffffff;strokeColor\x3d#666666;mainText\x3d,;recursiveResize\x3d0;");b.vertex=!0;var d=new mxCell("Page 1",new mxGeometry(60,12,110,26),c+"containers.anchor;fontSize\x3d17;fontColor\x3d#666666;align\x3dleft;");
d.vertex=!0;b.insert(d);d=new mxCell("https:\\\\draw.io",new mxGeometry(130,60,250,26),c+"containers.anchor;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;align\x3dleft;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Browser Window")}),this.createVertexTemplateEntry(b+"containers.userMale;"+f+"strokeColor2\x3d#008cff;"+d,100,100,"","User, Male",null,null,this.getTagsForStencil("mxgraph.mockup.containers","userMale","mockup container ").join(" ")),
this.createVertexTemplateEntry(b+"containers.userFemale;"+f+"strokeColor2\x3d#008cff;"+d,100,100,"","User, Female",null,null,this.getTagsForStencil("mxgraph.mockup.containers","userFemale","mockup container ").join(" ")),this.addEntry("mockup container group",function(){var b=new mxCell("",new mxGeometry(0,0,150,200),"shape\x3dmxgraph.mockup.containers.marginRect;rectMarginTop\x3d10;strokeColor\x3d#666666;fillColor\x3d#ffffff;strokeWidth\x3d1;dashed\x3d0;rounded\x3d1;arcSize\x3d5;recursiveResize\x3d0;");
b.vertex=!0;var c=new mxCell("Group",new mxGeometry(5,0,90,30),"shape\x3drect;strokeColor\x3dnone;fillColor\x3d#008cff;strokeWidth\x3d1;dashed\x3d0;rounded\x3d1;arcSize\x3d20;fontColor\x3d#ffffff;fontSize\x3d17;spacing\x3d2;spacingTop\x3d-2;align\x3dleft;autosize\x3d1;spacingLeft\x3d4;resizeWidth\x3d0;resizeHeight\x3d0;perimeter\x3dnone;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],150,200,"Group")}),this.createVertexTemplateEntry(c+"containers.window;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d8;strokeColor2\x3d#008cff;strokeColor3\x3d#c4c4c4;fontColor\x3d#666666;"+
d+"mainText\x3d;fontSize\x3d17;labelBackgroundColor\x3dnone;",550,380,"Window Title","Window",null,null,this.getTagsForStencil("mxgraph.mockup.containers","window","mockup container ").join(" ")),this.addEntry("mockup container horizontal tab bar",function(){var b=new mxCell("",new mxGeometry(0,0,400,200),c+"containers.marginRect2;rectMarginTop\x3d32;strokeColor\x3d#666666;fillColor\x3d#ffffff;gradientColor\x3dnone;");b.vertex=!0;var d=new mxCell("Tab 1",new mxGeometry(0,0,60,25),c+"containers.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;strokeColor\x3d#666666;fillColor\x3d#ffffff;gradientColor\x3dnone;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,0);d.vertex=!0;b.insert(d);d=new mxCell("Tab 2",new mxGeometry(0,0,60,25),c+"containers.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#ffffff;strokeColor\x3d#008cff;fillColor\x3d#008cff;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(75,0);d.vertex=!0;b.insert(d);d=new mxCell("Tab 3",new mxGeometry(0,0,60,25),c+"containers.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;strokeColor\x3d#666666;fillColor\x3d#ffffff;gradientColor\x3dnone;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(140,0);d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(0,0,400,7),c+"containers.topButton;rSize\x3d5;strokeColor\x3d#008cff;fillColor\x3d#008cff;gradientColor\x3dnone;resizeWidth\x3d1;movable\x3d0;deletable\x3d1;");d.vertex=!0;d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,25);b.insert(d);return a.createVertexTemplateFromCells([b],400,200,"Horizontal Tab Bar")}),this.addEntry("mockup container vertical tab bar",function(){var b=new mxCell("",
new mxGeometry(0,0,400,200),c+"containers.marginRect2;rectMarginLeft\x3d67;strokeColor\x3d#666666;fillColor\x3d#ffffff;gradientColor\x3dnone;");b.vertex=!0;var d=new mxCell("Tab 1",new mxGeometry(0,0,60,25),c+"containers.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;strokeColor\x3d#666666;fillColor\x3d#ffffff;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,10);d.vertex=!0;b.insert(d);d=new mxCell("Tab 2",new mxGeometry(0,0,60,25),c+"containers.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#ffffff;strokeColor\x3d#008cff;fillColor\x3d#008cff;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;b.insert(d);d=new mxCell("Tab 3",new mxGeometry(0,0,60,25),c+"containers.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;strokeColor\x3d#666666;fillColor\x3d#ffffff;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(0,0,7,200),c+"containers.leftButton;rSize\x3d5;strokeColor\x3d#008cff;fillColor\x3d#008cff;resizeHeight\x3d1;movable\x3d0;deletable\x3d0;");d.geometry.relative=
!0;d.geometry.offset=new mxPoint(60,0);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],400,200,"Vertical Tab Bar")}),this.addEntry("mockup container dialog box",function(){var b=new mxCell("Some default\ndialog\ntext.",new mxGeometry(0,0,250,140),c+"containers.rrect;rSize\x3d0;strokeColor\x3d#666666;fontColor\x3d#666666;fontSize\x3d17;verticalAlign\x3dtop;whiteSpace\x3dwrap;fillColor\x3d#ffffff;spacingTop\x3d32;");b.vertex=!0;var d=new mxCell("Dialog Title",new mxGeometry(0,0,250,
30),c+"containers.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;strokeColor\x3d#666666;align\x3dleft;spacingLeft\x3d8;fillColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;b.insert(d);var e=new mxCell("",new mxGeometry(1,0.5,20,20),"shape\x3dellipse;strokeColor\x3d#008cff;resizable\x3d0;fillColor\x3dnone;html\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-25,-10);e.vertex=!0;d.insert(e);d=new mxCell("Cancel",new mxGeometry(0.25,1,90,25),c+"containers.rrect;rSize\x3d0;fontSize\x3d16;fontColor\x3d#666666;strokeColor\x3d#c4c4c4;whiteSpace\x3dwrap;fillColor\x3dnone;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(-45,-33);d.vertex=!0;b.insert(d);d=new mxCell("OK",new mxGeometry(0.75,1,90,25),c+"containers.rrect;rSize\x3d0;fontSize\x3d16;fontColor\x3d#666666;strokeColor\x3d#c4c4c4;whiteSpace\x3dwrap;fillColor\x3dnone;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-45,-33);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dialog Box")}),this.addEntry("mockup container dialog box",function(){var b=
new mxCell("Some default\nmessage\ntext.",new mxGeometry(0,0,250,160),c+"containers.rrect;rSize\x3d0;strokeColor\x3d#666666;fontColor\x3d#666666;fontSize\x3d17;verticalAlign\x3dtop;whiteSpace\x3dwrap;fillColor\x3d#ffffff;spacingTop\x3d32;");b.vertex=!0;var d=new mxCell("Message Title",new mxGeometry(0,0,250,30),c+"containers.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;strokeColor\x3d#666666;align\x3dleft;spacingLeft\x3d8;fillColor\x3d#ffffff;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=
!0;b.insert(d);var e=new mxCell("",new mxGeometry(1,0.5,20,20),"shape\x3dellipse;strokeColor\x3d#008cff;resizable\x3d0;fillColor\x3dnone;html\x3d1;");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-25,-10);e.vertex=!0;d.insert(e);d=new mxCell("OK",new mxGeometry(0.5,1,120,25),c+"containers.rrect;rSize\x3d0;fontSize\x3d16;fontColor\x3d#666666;strokeColor\x3d#c4c4c4;resizable\x3d0;whiteSpace\x3dwrap;fillColor\x3d#ffffff;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-60,-33);d.vertex=
!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dialog Box")})];this.addPalette("mockupContainers","Mockup Containers",!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addMockupFormsPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;strokeWidth\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",
c=mxConstants.STYLE_STROKEWIDTH+"\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",f=mxConstants.STYLE_STROKECOLOR+"\x3d#999999;",d=mxConstants.STYLE_FILLCOLOR+"\x3d#ffffff;",a=this,e=[this.createVertexTemplateEntry(c+"forms.rrect;rSize\x3d0;fillColor\x3d#eeeeee;strokeColor\x3d#999999;gradientColor\x3d#cccccc;align\x3dleft;spacingLeft\x3d4;fontSize\x3d17;fontColor\x3d#666666;labelPosition\x3dright;",15,15,"Option 1","Checkbox",null,null,this.getTagsForStencil("mxgraph.mockup.forms",
"checkbox","mockup form ").join(" ")),this.addEntry("mockup form checkbox checkboxes",function(){var b=new mxCell("",new mxGeometry(0,0,150,120),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fillColor\x3d#ffffff;recursiveResize\x3d0;");b.vertex=!0;var d=new mxCell("Option 1",new mxGeometry(8,7.5,15,15),c+"forms.rrect;rSize\x3d0;fillColor\x3d#eeeeee;strokeColor\x3d#999999;gradientColor\x3d#cccccc;align\x3dleft;spacingLeft\x3d4;fontSize\x3d17;fontColor\x3d#666666;labelPosition\x3dright;");d.vertex=
!0;b.insert(d);d=new mxCell("Option 2",new mxGeometry(8,37.5,15,15),c+"forms.rrect;rSize\x3d0;fillColor\x3d#eeeeee;strokeColor\x3d#999999;gradientColor\x3d#cccccc;align\x3dleft;spacingLeft\x3d4;fontSize\x3d17;fontColor\x3d#666666;labelPosition\x3dright;");d.vertex=!0;b.insert(d);d=new mxCell("Option 3",new mxGeometry(8,67.5,15,15),c+"forms.checkbox;rSize\x3d0;resizable\x3d0;fillColor\x3d#aaaaaa;strokeColor\x3d#444444;gradientColor\x3d#666666;align\x3dleft;spacingLeft\x3d4;fontSize\x3d17;fontColor\x3d#008cff;labelPosition\x3dright;");
d.vertex=!0;b.insert(d);d=new mxCell("Option 4",new mxGeometry(8,97.5,15,15),c+"forms.rrect;rSize\x3d0;fillColor\x3d#eeeeee;strokeColor\x3d#999999;gradientColor\x3d#cccccc;align\x3dleft;spacingLeft\x3d4;fontSize\x3d17;fontColor\x3d#666666;labelPosition\x3dright;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Checkboxes")}),this.createVertexTemplateEntry("shape\x3dellipse;fillColor\x3d#eeeeee;strokeColor\x3d#999999;gradientColor\x3d#cccccc;html\x3d1;align\x3dleft;spacingLeft\x3d4;fontSize\x3d17;fontColor\x3d#666666;labelPosition\x3dright;shadow\x3d0;",
15,15,"Setting 1","Radiobutton",null,null,this.getTagsForStencil("mxgraph.mockup.forms","radiobutton radio button","mockup form ").join(" ")),this.addEntry("mockup form radiobutton radio button group",function(){var b=new mxCell("",new mxGeometry(0,0,150,120),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fillColor\x3d#ffffff;recursiveResize\x3d0;");b.vertex=!0;var d=new mxCell("Setting 1",new mxGeometry(8,7.5,15,15),"shape\x3dellipse;rSize\x3d0;fillColor\x3d#eeeeee;strokeColor\x3d#999999;gradientColor\x3d#cccccc;html\x3d1;align\x3dleft;spacingLeft\x3d4;fontSize\x3d17;fontColor\x3d#666666;labelPosition\x3dright;");
d.vertex=!0;b.insert(d);d=new mxCell("Setting 2",new mxGeometry(8,37.5,15,15),"shape\x3dellipse;rSize\x3d0;fillColor\x3d#eeeeee;strokeColor\x3d#999999;gradientColor\x3d#cccccc;html\x3d1;align\x3dleft;spacingLeft\x3d4;fontSize\x3d17;fontColor\x3d#666666;labelPosition\x3dright;");d.vertex=!0;b.insert(d);d=new mxCell("Setting 3",new mxGeometry(8,67.5,15,15),"shape\x3dellipse;rSize\x3d0;fillColor\x3d#aaaaaa;strokeColor\x3d#444444;gradientColor\x3d#666666;html\x3d1;align\x3dleft;spacingLeft\x3d4;fontSize\x3d17;fontColor\x3d#008cff;labelPosition\x3dright;");
d.vertex=!0;b.insert(d);var e=new mxCell("",new mxGeometry(3,3,9,9),"shape\x3dellipse;fillColor\x3d#444444;strokeColor\x3dnone;html\x3d1;");e.vertex=!0;d.insert(e);d=new mxCell("Setting 4",new mxGeometry(8,97.5,15,15),"shape\x3dellipse;rSize\x3d0;fillColor\x3d#eeeeee;strokeColor\x3d#999999;gradientColor\x3d#cccccc;html\x3d1;align\x3dleft;spacingLeft\x3d4;fontSize\x3d17;fontColor\x3d#666666;labelPosition\x3dright;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,
b.geometry.height,"Radiobutton Group")}),this.createVertexTemplateEntry(b+"forms.colorPicker;chosenColor\x3d#aaddff;fillColor\x3d#ffffff;",40,40,"","Color Picker",null,null,this.getTagsForStencil("mxgraph.mockup.forms","colorPicker","mockup form ").join(" ")),this.createVertexTemplateEntry(c+"forms.comboBox;"+f+mxConstants.STYLE_FILLCOLOR+"\x3d#ddeeff;align\x3dleft;fillColor2\x3d#aaddff;mainText\x3d;fontColor\x3d#666666;fontSize\x3d17;spacingLeft\x3d3;",150,30,"Option 1","Combo Box",null,null,this.getTagsForStencil("mxgraph.mockup.forms",
"comboBox","mockup form ").join(" ")),this.createVertexTemplateEntry(c+"forms.spinner;"+f+"spinLayout\x3dright;spinStyle\x3dnormal;adjStyle\x3dtriangle;fillColor\x3d#aaddff;fontSize\x3d17;fontColor\x3d#666666;mainText\x3d;html\x3d1;overflow\x3dfill;",150,60,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd style\x3d"width:85%"\x3e100\x3c/td\x3e\x3ctd style\x3d"width:15%"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',"Spinner",null,null,this.getTagsForStencil("mxgraph.mockup.forms",
"spinner","mockup form ").join(" ")),this.addEntry("mockup form menu bar",function(){var b=new mxCell("",new mxGeometry(0,0,498,30),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fillColor\x3d#ffffff;");b.vertex=!0;var d=new mxCell("File",new mxGeometry(0,0,83,30),c+"forms.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;strokeColor\x3d#999999;fillColor\x3dnone;");d.vertex=!0;b.insert(d);d=new mxCell("Edit",new mxGeometry(83,0,83,30),c+"forms.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;strokeColor\x3d#999999;fillColor\x3dnone;");
d.vertex=!0;b.insert(d);d=new mxCell("Options",new mxGeometry(166,0,83,30),c+"forms.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;strokeColor\x3d#999999;fillColor\x3dnone;");d.vertex=!0;b.insert(d);d=new mxCell("Tools",new mxGeometry(249,0,83,30),c+"forms.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;strokeColor\x3d#999999;fillColor\x3dnone;");d.vertex=!0;b.insert(d);d=new mxCell("Window",new mxGeometry(332,0,83,30),c+"forms.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;strokeColor\x3d#999999;fillColor\x3dnone;");
d.vertex=!0;b.insert(d);d=new mxCell("Help",new mxGeometry(415,0,83,30),c+"forms.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;strokeColor\x3d#999999;fillColor\x3dnone;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Menu Bar")}),this.createVertexTemplateEntry(b+"forms.horSlider;"+f+d+"sliderStyle\x3dbasic;sliderPos\x3d20;handleStyle\x3dcircle;fillColor2\x3d#ddeeff;",150,30,"","Horizontal Slider",null,null,this.getTagsForStencil("mxgraph.mockup.forms",
"horSlider","mockup form horizontal").join(" ")),this.createVertexTemplateEntry(b+"forms.horSlider;"+f+d+"sliderStyle\x3dbasic;sliderPos\x3d20;handleStyle\x3dcircle;fillColor2\x3d#ddeeff;direction\x3dnorth;",30,150,"","Vertical Slider",null,null,this.getTagsForStencil("mxgraph.mockup.forms","horSlider","mockup form vertical").join(" ")),this.addEntry("mockup form list box",function(){var b=new mxCell("",new mxGeometry(0,0,150,200),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fillColor\x3d#ffffff;");
b.vertex=!0;var d=new mxCell("Title",new mxGeometry(0,0,150,30),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#008cff;fontSize\x3d17;fillColor\x3d#ffffff;resizeWidth\x3d1;");d.geometry.relative=!0;d.vertex=!0;b.insert(d);d=new mxCell("Item 1",new mxGeometry(0,0,150,20),c+"forms.anchor;fontSize\x3d17;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d5;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,30);d.vertex=!0;b.insert(d);d=new mxCell("Item 2",new mxGeometry(0,
0,150,20),c+"forms.anchor;fontSize\x3d17;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d5;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,50);d.vertex=!0;b.insert(d);d=new mxCell("Item 3",new mxGeometry(0,0,150,20),c+"forms.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d5;fillColor\x3d#ddeeff;strokeColor\x3dnone;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,70);d.vertex=!0;b.insert(d);d=new mxCell("Item 4",
new mxGeometry(0,0,150,20),c+"forms.anchor;fontSize\x3d17;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d5;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,90);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],150,200,"List Box")}),this.createVertexTemplateEntry(c+"forms.pwField;"+f+"mainText\x3d;align\x3dleft;fillColor\x3d#ffffff;fontColor\x3d#666666;fontSize\x3d17;spacingLeft\x3d3;",150,30,"********","Password Field",null,null,this.getTagsForStencil("mxgraph.mockup.forms",
"pwField","mockup form ").join(" ")),this.createVertexTemplateEntry(b+"forms.splitter;fillColor\x3d#ffffff;"+f,350,10,"","Horizontal Splitter",null,null,this.getTagsForStencil("mxgraph.mockup.forms","splitter","mockup form ").join(" ")),this.createVertexTemplateEntry(b+"forms.splitter;fillColor\x3d#ffffff;"+f+mxConstants.STYLE_DIRECTION+"\x3d"+mxConstants.DIRECTION_NORTH+";",10,350,"","Vertical Splitter",null,null,this.getTagsForStencil("mxgraph.mockup.forms","splitter","mockup form ").join(" ")),
this.addEntry("mockup form wedge bar",function(){var b=new mxCell("Tab 1",new mxGeometry(10,0,70,30),c+"forms.uRect;fontSize\x3d17;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d5;strokeColor\x3d#666666;fillColor\x3d#ffffff;");b.vertex=!0;var d=new mxCell("Tab 2",new mxGeometry(85,0,70,30),c+"forms.uRect;fontSize\x3d17;fontColor\x3d#ffffff;align\x3dleft;spacingLeft\x3d5;strokeColor\x3d#008cff;fillColor\x3d#008cff;");d.vertex=!0;var e=new mxCell("Tab 3",new mxGeometry(160,0,70,30),c+"forms.uRect;fontSize\x3d17;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d5;strokeColor\x3d#666666;fillColor\x3d#ffffff;");
e.vertex=!0;return a.createVertexTemplateFromCells([b,d,e],230,30,"Wedge Bar")}),this.createVertexTemplateEntry(b+"menus_and_buttons.font_style_selector_1;",136,31,"","Formatting Toolbar 1",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_1","mockup form ").join(" ")),this.createVertexTemplateEntry(b+"menus_and_buttons.font_style_selector_2;",235,31,"","Formatting Toolbar 2",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_2",
"mockup form ").join(" ")),this.createVertexTemplateEntry(b+"menus_and_buttons.font_style_selector_3;",176,38,"","Formatting Toolbar 3",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_3","mockup form ").join(" ")),this.createVertexTemplateEntry(c+"forms.searchBox;"+f+"mainText\x3d;fillColor\x3d#ffffff;strokeColor2\x3d#008cff;fontColor\x3d#666666;fontSize\x3d17;align\x3dleft;spacingLeft\x3d3;",150,30,"Search","Search Box",null,null,this.getTagsForStencil("mxgraph.mockup.forms",
"searchBox","mockup form ").join(" ")),this.addEntry("mockup form sign in",function(){var b=new mxCell("",new mxGeometry(0,0,200,300),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fillColor\x3d#ffffff;");b.vertex=!0;var d=new mxCell("Sign In",new mxGeometry(0,0,100,20),c+"forms.anchor;fontSize\x3d12;fontColor\x3d#666666;align\x3dleft;resizeWidth\x3d1;spacingLeft\x3d0;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,10);d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(0,0,180,10),
"shape\x3dline;strokeColor\x3d#ddeeff;strokeWidth\x3d2;html\x3d1;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,30);d.vertex=!0;b.insert(d);d=new mxCell("User Name:",new mxGeometry(0,0,100,20),c+"forms.anchor;fontSize\x3d12;fontColor\x3d#666666;align\x3dleft;resizeWidth\x3d1;spacingLeft\x3d0;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,40);d.vertex=!0;b.insert(d);d=new mxCell("johndoe",new mxGeometry(0,0,150,25),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d5;resizeWidth\x3d1;");
d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,60);d.vertex=!0;b.insert(d);d=new mxCell("Password:",new mxGeometry(0,0,100,20),c+"forms.anchor;fontSize\x3d12;fontColor\x3d#666666;align\x3dleft;resizeWidth\x3d1;spacingLeft\x3d0;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,95);d.vertex=!0;b.insert(d);d=new mxCell("********",new mxGeometry(0,0,150,25),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d5;resizeWidth\x3d1;");d.geometry.relative=
!0;d.geometry.offset=new mxPoint(10,115);d.vertex=!0;b.insert(d);d=new mxCell("SIGN IN",new mxGeometry(0,1,80,30),c+"forms.rrect;rSize\x3d5;strokeColor\x3dnone;fontColor\x3d#ffffff;fillColor\x3d#66bbff;fontSize\x3d16;fontStyle\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(20,-150);d.vertex=!0;b.insert(d);d=new mxCell("Forgot Password?",new mxGeometry(0,1,150,20),c+"forms.anchor;fontSize\x3d12;fontColor\x3d#9999ff;align\x3dleft;spacingLeft\x3d0;fontStyle\x3d4;resizeWidth\x3d1;");d.geometry.relative=
!0;d.geometry.offset=new mxPoint(10,-110);d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(0,1,180,10),"shape\x3dline;strokeColor\x3d#ddeeff;strokeWidth\x3d2;html\x3d1;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,-90);d.vertex=!0;b.insert(d);d=new mxCell("New User",new mxGeometry(0,1,150,20),c+"forms.anchor;fontSize\x3d12;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d0;resizeWidth\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,-70);d.vertex=
!0;b.insert(d);d=new mxCell("SIGN UP",new mxGeometry(0,1,80,30),c+"forms.rrect;rSize\x3d5;strokeColor\x3dnone;fontColor\x3d#ffffff;fillColor\x3d#66bbff;fontSize\x3d16;fontStyle\x3d1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(20,-50);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Sign In")}),this.addEntry("mockup form calendar date",function(){var b=new mxCell("",new mxGeometry(0,0,160,175),c+"forms.rrect;rSize\x3d5;strokeColor\x3d#999999;fillColor\x3d#ffffff;");
b.vertex=!0;var d=new mxCell("October 2014",new mxGeometry(30,8,100,20),c+"forms.anchor;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("\x3c",new mxGeometry(8,8,25,20),c+"forms.rrect;rSize\x3d4;strokeColor\x3d#999999;fontColor\x3d#008cff;fontSize\x3d19;fontStyle\x3d1;");d.vertex=!0;b.insert(d);d=new mxCell("\x3e",new mxGeometry(127,8,25,20),c+"forms.rrect;rSize\x3d4;strokeColor\x3d#999999;fontColor\x3d#008cff;fontSize\x3d19;fontStyle\x3d1;");d.vertex=!0;b.insert(d);d=new mxCell("Mo",
new mxGeometry(10,28,20,20),c+"forms.anchor;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("Tu",new mxGeometry(30,28,20,20),c+"forms.anchor;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("We",new mxGeometry(50,28,20,20),c+"forms.anchor;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("Th",new mxGeometry(70,28,20,20),c+"forms.anchor;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("Fr",new mxGeometry(90,28,20,20),c+"forms.anchor;fontColor\x3d#999999;");
d.vertex=!0;b.insert(d);d=new mxCell("Sa",new mxGeometry(110,28,20,20),c+"forms.anchor;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("Su",new mxGeometry(130,28,20,20),c+"forms.anchor;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("1",new mxGeometry(10,48,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("2",new mxGeometry(30,48,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");
d.vertex=!0;b.insert(d);d=new mxCell("3",new mxGeometry(50,48,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("4",new mxGeometry(70,48,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("5",new mxGeometry(90,48,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("6",new mxGeometry(110,48,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");
d.vertex=!0;b.insert(d);d=new mxCell("7",new mxGeometry(130,48,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("8",new mxGeometry(10,68,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("9",new mxGeometry(30,68,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("10",new mxGeometry(50,68,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");
d.vertex=!0;b.insert(d);d=new mxCell("11",new mxGeometry(70,68,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("12",new mxGeometry(90,68,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("13",new mxGeometry(110,68,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("14",new mxGeometry(130,68,20,20),
c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("15",new mxGeometry(10,88,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("16",new mxGeometry(30,88,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("17",new mxGeometry(50,88,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");
d.vertex=!0;b.insert(d);d=new mxCell("18",new mxGeometry(70,88,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("19",new mxGeometry(90,88,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("20",new mxGeometry(110,88,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("21",new mxGeometry(130,88,20,20),
c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("22",new mxGeometry(10,108,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("23",new mxGeometry(30,108,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("25",new mxGeometry(70,108,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");
d.vertex=!0;b.insert(d);d=new mxCell("26",new mxGeometry(90,108,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("27",new mxGeometry(110,108,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("28",new mxGeometry(130,108,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("29",new mxGeometry(10,128,20,
20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("30",new mxGeometry(30,128,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("31",new mxGeometry(50,128,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;");d.vertex=!0;b.insert(d);d=new mxCell("1",new mxGeometry(70,128,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;fillColor\x3d#ddeeff;");
d.vertex=!0;b.insert(d);d=new mxCell("2",new mxGeometry(90,128,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;fillColor\x3d#ddeeff;");d.vertex=!0;b.insert(d);d=new mxCell("3",new mxGeometry(110,128,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;fillColor\x3d#ddeeff;");d.vertex=!0;b.insert(d);d=new mxCell("4",new mxGeometry(130,128,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;fillColor\x3d#ddeeff;");d.vertex=
!0;b.insert(d);d=new mxCell("5",new mxGeometry(10,148,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;fillColor\x3d#ddeeff;");d.vertex=!0;b.insert(d);d=new mxCell("6",new mxGeometry(30,148,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;fillColor\x3d#ddeeff;");d.vertex=!0;b.insert(d);d=new mxCell("7",new mxGeometry(50,148,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;fillColor\x3d#ddeeff;");d.vertex=!0;b.insert(d);
d=new mxCell("8",new mxGeometry(70,148,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;fillColor\x3d#ddeeff;");d.vertex=!0;b.insert(d);d=new mxCell("9",new mxGeometry(90,148,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;fillColor\x3d#ddeeff;");d.vertex=!0;b.insert(d);d=new mxCell("10",new mxGeometry(110,148,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;fillColor\x3d#ddeeff;");d.vertex=!0;b.insert(d);d=new mxCell("11",
new mxGeometry(130,148,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#999999;fillColor\x3d#ddeeff;");d.vertex=!0;b.insert(d);d=new mxCell("24",new mxGeometry(50,108,20,20),c+"forms.rrect;rSize\x3d0;strokeColor\x3d#ff0000;fontColor\x3d#ffffff;strokeWidth\x3d2;fillColor\x3d#008cff;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Calendar")}),this.addEntry("mockup form email",function(){var b=new mxCell("From",new mxGeometry(0,
0,50,18),c+"forms.anchor;align\x3dright;spacingRight\x3d2;fontColor\x3d#666666;");b.vertex=!0;var d=new mxCell("john@jgraph.com",new mxGeometry(50,0,350,18),c+"forms.rrect;fillColor\x3d#ffffff;rSize\x3d0;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d3;strokeColor\x3d#999999;");d.vertex=!0;var e=new mxCell("Subject",new mxGeometry(0,35,50,18),c+"forms.anchor;align\x3dright;spacingRight\x3d2;fontColor\x3d#666666;");e.vertex=!0;var f=new mxCell("Greeting",new mxGeometry(50,35,350,18),c+"forms.rrect;fillColor\x3d#ffffff;rSize\x3d0;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d3;strokeColor\x3d#999999;");
f.vertex=!0;var n=new mxCell("To",new mxGeometry(0,70,50,18),c+"forms.anchor;align\x3dright;spacingRight\x3d2;fontColor\x3d#666666;");n.vertex=!0;var p=new mxCell("fred@jgraph.com",new mxGeometry(50,70,350,18),c+"forms.rrect;fillColor\x3d#ffffff;rSize\x3d0;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d3;strokeColor\x3d#999999;");p.vertex=!0;var r=new mxCell("CC",new mxGeometry(0,105,50,18),c+"forms.anchor;align\x3dright;spacingRight\x3d2;fontColor\x3d#666666;");r.vertex=!0;var s=new mxCell("",
new mxGeometry(50,105,350,18),c+"forms.rrect;fillColor\x3d#ffffff;rSize\x3d0;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d3;strokeColor\x3d#999999;");s.vertex=!0;var q=new mxCell("BCC",new mxGeometry(0,140,50,18),c+"forms.anchor;align\x3dright;spacingRight\x3d2;fontColor\x3d#666666;");q.vertex=!0;var t=new mxCell("",new mxGeometry(50,140,350,18),c+"forms.rrect;fillColor\x3d#ffffff;rSize\x3d0;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d3;strokeColor\x3d#999999;");t.vertex=!0;var u=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
new mxGeometry(0,175,400,125),c+"forms.rrect;fillColor\x3d#ffffff;rSize\x3d0;fontColor\x3d#666666;align\x3dleft;spacingLeft\x3d3;strokeColor\x3d#999999;verticalAlign\x3dtop;whiteSpace\x3dwrap;");u.vertex=!0;return a.createVertexTemplateFromCells([b,d,e,f,n,p,r,s,q,t,u],400,300,"Email")})];this.addPalette("mockupForms","Mockup Forms",!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addMockupGraphicsPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+
"\x3dbottom;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;strokeWidth\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",c=mxConstants.STYLE_STROKEWIDTH+"\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",f=mxConstants.STYLE_FILLCOLOR+"\x3d#ffffff;",d=mxConstants.STYLE_STROKECOLOR+"\x3dnone;",a=this,e=[this.createVertexTemplateEntry(b+"graphics.barChart;"+f+d+"strokeColor2\x3dnone;strokeColor3\x3d#666666;fillColor2\x3d#008cff;fillColor3\x3d#dddddd;",
400,200,"","Bar Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","barChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(b+"graphics.columnChart;"+f+d+"strokeColor2\x3dnone;strokeColor3\x3d#666666;fillColor2\x3d#008cff;fillColor3\x3d#dddddd;",400,200,"","Column Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","columnChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(b+"graphics.lineChart;"+f+d+"strokeColor2\x3d#666666;strokeColor3\x3d#008cff;strokeColor4\x3d#dddddd;",
400,200,"","Line Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","lineChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(b+"graphics.pieChart;"+mxConstants.STYLE_STROKECOLOR+"\x3d#008cff;parts\x3d10,20,35;partColors\x3d#e0e0e0,#d0d0d0,#c0c0c0,#b0b0b0,#a0a0a0;strokeWidth\x3d2;",200,200,"","Pie Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","pieChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(b+"graphics.simpleIcon;strokeColor\x3d#999999;fillColor\x3d#ffffff;",
50,50,"","Icon Placeholder",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","simpleIcon","mockup graphics icon placeholder").join(" ")),this.addEntry("mockup graphics icon grid placeholder",function(){var c=new mxCell("",new mxGeometry(0,0,50,50),b+"graphics.simpleIcon;strokeColor\x3d#999999;fillColor\x3d#ffffff;");c.vertex=!0;var d=new mxCell("",new mxGeometry(75,0,50,50),b+"graphics.simpleIcon;strokeColor\x3d#999999;fillColor\x3d#ffffff;");d.vertex=!0;var e=new mxCell("",new mxGeometry(150,
0,50,50),b+"graphics.simpleIcon;strokeColor\x3d#999999;fillColor\x3d#ffffff;");e.vertex=!0;var f=new mxCell("",new mxGeometry(0,75,50,50),b+"graphics.simpleIcon;strokeColor\x3d#999999;fillColor\x3d#ffffff;");f.vertex=!0;var n=new mxCell("",new mxGeometry(75,75,50,50),b+"graphics.simpleIcon;strokeColor\x3d#999999;fillColor\x3d#ffffff;");n.vertex=!0;var p=new mxCell("",new mxGeometry(150,75,50,50),b+"graphics.simpleIcon;strokeColor\x3d#999999;fillColor\x3d#ffffff;");p.vertex=!0;var r=new mxCell("",
new mxGeometry(0,150,50,50),b+"graphics.simpleIcon;strokeColor\x3d#999999;fillColor\x3d#ffffff;");r.vertex=!0;var s=new mxCell("",new mxGeometry(75,150,50,50),b+"graphics.simpleIcon;strokeColor\x3d#999999;fillColor\x3d#ffffff;");s.vertex=!0;var q=new mxCell("",new mxGeometry(150,150,50,50),b+"graphics.simpleIcon;strokeColor\x3d#999999;fillColor\x3d#ffffff;");q.vertex=!0;return a.createVertexTemplateFromCells([c,d,e,f,n,p,r,s,q],200,200,"Icon Grid")}),this.createVertexTemplateEntry(b+"graphics.bubbleChart;"+
f+d+"strokeColor2\x3dnone;strokeColor3\x3d#666666;fillColor2\x3d#008cff;fillColor3\x3d#dddddd;",400,200,"","Bubble Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","bubbleChart","mockup graphics bubble chart").join(" ")),this.addEntry("mockup graphics gauge",function(){var d=new mxCell("",new mxGeometry(0,0,100,100),b+"graphics.gauge;fillColor\x3d#ffffff;strokeColor\x3d#999999;gaugePos\x3d25;scaleColors\x3d#bbddff,#ddeeff,#99ccff;gaugeLabels\x3d,,;needleColor\x3d#008cff;");d.vertex=
!0;var e=new mxCell("CPU[%]",new mxGeometry(25,20,50,20),c+"graphics.anchor;fontColor\x3d#666666;");e.vertex=!0;d.insert(e);e=new mxCell("0",new mxGeometry(20,75,50,20),c+"graphics.anchor;align\x3dleft;fontColor\x3d#666666;");e.vertex=!0;d.insert(e);e=new mxCell("100",new mxGeometry(30,75,50,20),c+"graphics.anchor;align\x3dright;fontColor\x3d#666666;");e.vertex=!0;d.insert(e);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Gauge")}),this.createVertexTemplateEntry(b+
"graphics.plotChart;"+f+mxConstants.STYLE_STROKECOLOR+"\x3dnone;strokeColor2\x3d#aaaaaa;strokeColor3\x3d#666666;fillColor2\x3d#99aaff,#0022ff,#008cff;",400,200,"","Plot Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","plotChart","mockup graphics plot chart").join(" ")),this.addEntry("mockup graphics gantt chart",function(){var b=new mxCell("",new mxGeometry(0,0,600,300),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;");b.vertex=!0;var d=new mxCell("#",new mxGeometry(0,0,20,
40),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("Task",new mxGeometry(20,0,40,40),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("Start",new mxGeometry(60,0,130,40),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("Effort",new mxGeometry(190,0,50,40),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");
d.vertex=!0;b.insert(d);d=new mxCell("20//10//2014",new mxGeometry(240,0,210,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("27//10//2014",new mxGeometry(450,0,150,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("M",new mxGeometry(240,20,30,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("T",
new mxGeometry(270,20,30,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("W",new mxGeometry(300,20,30,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("T",new mxGeometry(330,20,30,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("F",new mxGeometry(360,20,30,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");
d.vertex=!0;b.insert(d);d=new mxCell("S",new mxGeometry(390,20,30,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("S",new mxGeometry(420,20,30,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("M",new mxGeometry(450,20,30,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("T",new mxGeometry(480,20,
30,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("W",new mxGeometry(510,20,30,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("T",new mxGeometry(540,20,30,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("F",new mxGeometry(570,20,30,20),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");
d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(0,40,240,260),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(240,40,60,260),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(300,40,60,260),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(360,40,60,
260),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(420,40,60,260),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(480,40,60,260),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(540,40,60,260),c+"graphics.rrect;rSize\x3d0;strokeColor\x3d#999999;fontColor\x3d#666666;");
d.vertex=!0;b.insert(d);d=new mxCell("1",new mxGeometry(0,40,20,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("Task 1",new mxGeometry(20,40,40,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,40,130,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("40h",new mxGeometry(190,40,50,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=
new mxCell("2",new mxGeometry(0,60,20,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("Task 2",new mxGeometry(20,60,40,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,60,130,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("40h",new mxGeometry(190,60,50,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("3",new mxGeometry(0,
80,20,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("Task 3",new mxGeometry(20,80,40,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,80,130,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("40h",new mxGeometry(190,80,50,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("4",new mxGeometry(0,100,20,20),c+"graphics.anchor;fontColor\x3d#666666;");
d.vertex=!0;b.insert(d);d=new mxCell("Task 4",new mxGeometry(20,100,40,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,100,130,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("40h",new mxGeometry(190,100,50,20),c+"graphics.anchor;fontColor\x3d#666666;");d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(250,45,130,10),c+"graphics.rrect;rSize\x3d0;strokeColor\x3dnone;fillColor\x3d#aaddff;");
d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(250,65,40,10),c+"graphics.rrect;rSize\x3d0;strokeColor\x3dnone;fillColor\x3d#aaddff;");d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(280,85,100,10),c+"graphics.rrect;rSize\x3d0;strokeColor\x3dnone;fillColor\x3d#aaddff;");d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(340,105,70,10),c+"graphics.rrect;rSize\x3d0;strokeColor\x3dnone;fillColor\x3d#aaddff;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,
b.geometry.height,"Gantt Chart")}),this.createVertexTemplateEntry(b+"misc.map;",250,250,"","Map",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","map","mockup graphics ").join(" "))];this.addPalette("mockupGraphics","Mockup Graphics",!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addMockupMarkupPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+
"\x3dtop;strokeWidth\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",c=mxConstants.STYLE_STROKECOLOR+"\x3d#999999;",f=mxConstants.STYLE_STROKECOLOR+"\x3dnone;";this.addPaletteFunctions("mockupMarkup","Mockup Markup",!1,[this.createVertexTemplateEntry(b+"markup.curlyBrace;"+c,100,20,"","Horizontal Curly Brace",null,null,this.getTagsForStencil("mxgraph.mockup.markup","curlyBrace","horizontal").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_LABEL_POSITION+"\x3dright;"+mxConstants.STYLE_ALIGN+
"\x3dleft;strokeWidth\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.markup.curlyBrace;html\x3d1;shadow\x3d0;dashed\x3d0;"+c+mxConstants.STYLE_DIRECTION+"\x3d"+mxConstants.DIRECTION_NORTH+";",20,100,"","Vertical Curly Brace",null,null,this.getTagsForStencil("mxgraph.mockup.markup","curlyBrace","vertical").join(" ")),this.createVertexTemplateEntry(b+"markup.line;"+c,100,20,"","Horizontal Line",null,null,this.getTagsForStencil("mxgraph.mockup.markup","line","horizontal").join(" ")),this.createVertexTemplateEntry(b+
"markup.line;"+c+mxConstants.STYLE_DIRECTION+"\x3d"+mxConstants.DIRECTION_NORTH+";",20,100,"","Vertical Line",null,null,this.getTagsForStencil("mxgraph.mockup.markup","line","vertical").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.markup.scratchOut;shadow\x3d0;dashed\x3d0;html\x3d1;"+c+"strokeWidth\x3d4;",200,100,"","Scratch Out",null,null,this.getTagsForStencil("mxgraph.mockup.markup","scratchOut","scratch out").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+
"\x3dmxgraph.mockup.markup.redX;fillColor\x3d#ff0000;html\x3d1;shadow\x3d0;"+f,200,100,"","Red X",null,null,this.getTagsForStencil("mxgraph.mockup.markup","redX","red").join(" "))])};Sidebar.prototype.addMockupMiscPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;strokeWidth\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",c=mxConstants.STYLE_STROKEWIDTH+"\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+
mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",f=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dtop;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dbottom;strokeWidth\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",d=mxConstants.STYLE_STROKECOLOR+"\x3d#999999;",a=mxConstants.STYLE_STROKECOLOR+"\x3dnone;",e=this,g=d+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;strokeWidth\x3d2;html\x3d1;"+
mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",k=[this.createVertexTemplateEntry(b+"misc.help_icon;",32,32,"","Help Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","help_icon","mockup ").join(" ")),this.createVertexTemplateEntry(b+"misc.playbackControls;fillColor\x3d#ffffff;"+d+"fillColor2\x3d#99ddff;strokeColor2\x3dnone;fillColor3\x3d#ffffff;strokeColor3\x3dnone;",250,30,"","Playback Controls",null,null,this.getTagsForStencil("mxgraph.mockup.misc","playbackControls","mockup ").join(" ")),
this.createVertexTemplateEntry(b+"misc.progressBar;fillColor\x3d#cccccc;"+a+"fillColor2\x3d#99ddff;barPos\x3d80;",200,20,"","Progress Bar",null,null,this.getTagsForStencil("mxgraph.mockup.misc","progress bar","mockup ").join(" ")),this.createVertexTemplateEntry(b+"misc.shoppingCart;"+d,50,50,"","Shopping Cart",null,null,this.getTagsForStencil("mxgraph.mockup.misc","shopping cart","mockup ").join(" ")),this.createVertexTemplateEntry(b+"misc.rating;"+d+mxConstants.STYLE_FILLCOLOR+"\x3d#ffff00;emptyFillColor\x3d#ffffff;grade\x3d4;ratingScale\x3d5;ratingStyle\x3dstar;",
225,30,"","Rating",null,null,this.getTagsForStencil("mxgraph.mockup.misc","rating","mockup ").join(" ")),this.createVertexTemplateEntry(b+"misc.mail2;fillColor\x3d#ffffff;"+d,100,60,"","Mail",null,null,this.getTagsForStencil("mxgraph.mockup.misc","mail","mockup ").join(" ")),this.createVertexTemplateEntry(b+"misc.volumeSlider;barPos\x3d80;fillColor\x3d#cccccc;"+d+"fillColor2\x3d#ddeeff;",250,30,"","Volume Slider",null,null,this.getTagsForStencil("mxgraph.mockup.misc","volume slider","mockup ").join(" ")),
this.createVertexTemplateEntry(g+"misc.editIcon;",50,50,"","Edit Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","editIcon","mockup edit icon").join(" ")),this.createVertexTemplateEntry(g+"misc.printIcon;",50,50,"","Print Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","printIcon","mockup print icon").join(" ")),this.createVertexTemplateEntry(g+"misc.shareIcon;",50,50,"","Share Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","shareIcon","mockup share icon").join(" ")),
this.createVertexTemplateEntry(g+"misc.trashcanIcon;",50,50,"","Trashcan Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","trashcanIcon","mockup trashcan icon").join(" ")),this.createVertexTemplateEntry(g+"misc.copyrightIcon;",25,25,"","Copyright",null,null,this.getTagsForStencil("mxgraph.mockup.misc","copyrightIcon","mockup copyright icon").join(" ")),this.createVertexTemplateEntry(g+"misc.registeredIcon;",25,25,"","Registered",null,null,this.getTagsForStencil("mxgraph.mockup.misc","registeredIcon",
"mockup registered icon").join(" ")),this.createVertexTemplateEntry(g+"misc.volumeIcon;",25,25,"","Volume",null,null,this.getTagsForStencil("mxgraph.mockup.misc","volumeIcon","mockup volume icon").join(" ")),this.createVertexTemplateEntry(c+"misc.ruler2;dx\x3d100;rulerOrient\x3ddown;unitSize\x3d10;fillColor\x3d#ffffff;fontColor\x3d#999999;spacingLeft\x3d96;align\x3dleft;verticalAlign\x3dmiddle;spacingBottom\x3d10;spacingTop\x3d0;spacingRight\x3d0;spacing\x3d0;"+d,350,30,"1","Horizontal Ruler",null,
null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(c+"misc.ruler2;dx\x3d100;rulerOrient\x3dup;unitSize\x3d10;fillColor\x3d#ffffff;fontColor\x3d#999999;spacingLeft\x3d96;align\x3dleft;verticalAlign\x3dmiddle;spacingBottom\x3d0;spacingTop\x3d10;spacingRight\x3d0;spacing\x3d0;"+d,350,30,"1","Horizontal Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(c+
"misc.ruler2;dx\x3d100;rulerOrient\x3ddown;unitSize\x3d10;fillColor\x3d#ffffff;fontColor\x3d#999999;spacingLeft\x3d96;align\x3dleft;verticalAlign\x3dmiddle;spacingBottom\x3d10;spacingTop\x3d0;spacingRight\x3d0;rotation\x3d-90;spacing\x3d0;"+d,350,30,"1","Vertical Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(c+"misc.ruler2;dx\x3d100;rulerOrient\x3dup;unitSize\x3d10;fillColor\x3d#ffffff;fontColor\x3d#999999;spacingLeft\x3d96;align\x3dleft;verticalAlign\x3dmiddle;spacingBottom\x3d0;spacingTop\x3d10;spacingRight\x3d0;rotation\x3d-90;spacing\x3d0;"+
d,350,30,"1","Vertical Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.addEntry("mockup revision table",function(){var a=new mxCell("",new mxGeometry(0,0,400,75),c+"misc.rrect;rSize\x3d0;strokeColor\x3d#666666;");a.vertex=!0;var b=new mxCell("REVISION HISTORY",new mxGeometry(0,0,400,25),c+"misc.rrect;rSize\x3d0;strokeColor\x3d#666666;fontSize\x3d17;fontColor\x3d#999999;");b.vertex=!0;a.insert(b);b=new mxCell("REV",new mxGeometry(0,25,50,25),
c+"misc.rrect;rSize\x3d0;strokeColor\x3d#666666;fontSize\x3d17;fontColor\x3d#999999;");b.vertex=!0;a.insert(b);b=new mxCell("DATE",new mxGeometry(50,25,150,25),c+"misc.rrect;rSize\x3d0;strokeColor\x3d#666666;fontSize\x3d17;fontColor\x3d#999999;");b.vertex=!0;a.insert(b);b=new mxCell("DESCRIPTION",new mxGeometry(200,25,200,25),c+"misc.rrect;rSize\x3d0;strokeColor\x3d#666666;fontSize\x3d17;fontColor\x3d#999999;");b.vertex=!0;a.insert(b);b=new mxCell("A",new mxGeometry(0,50,50,25),c+"misc.rrect;rSize\x3d0;strokeColor\x3d#666666;fontSize\x3d17;fontColor\x3d#999999;");
b.vertex=!0;a.insert(b);b=new mxCell("10/23/2014",new mxGeometry(50,50,150,25),c+"misc.rrect;rSize\x3d0;strokeColor\x3d#666666;fontSize\x3d17;fontColor\x3d#999999;");b.vertex=!0;a.insert(b);b=new mxCell("Design modified",new mxGeometry(200,50,200,25),c+"misc.rrect;rSize\x3d0;strokeColor\x3d#666666;fontSize\x3d17;fontColor\x3d#999999;");b.vertex=!0;a.insert(b);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Revision Table")}),this.addEntry("mockup status bar",function(){var a=
new mxCell("",new mxGeometry(0,0,500,30),c+"misc.rrect;rSize\x3d0;strokeColor\x3d#999999;fillColor\x3d#ffffff;");a.vertex=!0;var b=new mxCell("Status text",new mxGeometry(5,5,195,20),c+"misc.rrect;rSize\x3d5;strokeColor\x3dnone;fontSize\x3d15;fontColor\x3d#999999;fillColor\x3d#ddeeff;align\x3dleft;spacingLeft\x3d5;");b.vertex=!0;a.insert(b);b=new mxCell("Text 2",new mxGeometry(205,5,100,20),c+"misc.rrect;rSize\x3d5;strokeColor\x3dnone;fontSize\x3d15;fontColor\x3d#999999;fillColor\x3d#ddeeff;align\x3dleft;spacingLeft\x3d5;");
b.vertex=!0;a.insert(b);b=new mxCell("Text 3",new mxGeometry(310,5,115,20),c+"misc.rrect;rSize\x3d5;strokeColor\x3dnone;fontSize\x3d15;fontColor\x3d#999999;fillColor\x3d#ddeeff;align\x3dleft;spacingLeft\x3d5;");b.vertex=!0;a.insert(b);b=new mxCell("",new mxGeometry(495,15,0,0),c+"misc.anchor;");b.vertex=!0;a.insert(b);var d=new mxCell("",new mxGeometry(-20,-10,20,20),"shape\x3dellipse;fillColor\x3dnone;strokeColor\x3d#008cff;resizable\x3d0;html\x3d1;");d.vertex=!0;b.insert(d);b=new mxCell("",new mxGeometry(465,
15,0,0),c+"misc.anchor;");b.vertex=!0;a.insert(b);d=new mxCell("",new mxGeometry(-20,5,20,10),"shape\x3dline;strokeColor\x3d#008cff;resizable\x3d0;");d.vertex=!0;b.insert(d);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Status Bar")}),this.createVertexTemplateEntry(f+"misc.pin;fillColor2\x3d#00dd00;fillColor3\x3d#004400;strokeColor\x3d#006600;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(f+
"misc.pin;fillColor2\x3d#dd0000;fillColor3\x3d#440000;strokeColor\x3d#660000;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(f+"misc.pin;fillColor2\x3d#ccccff;fillColor3\x3d#0000ff;strokeColor\x3d#000066;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(f+"misc.pin;fillColor2\x3d#ffff00;fillColor3\x3d#888800;strokeColor\x3d#999900;",10,
25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(f+"misc.pin;fillColor2\x3d#ffa500;fillColor3\x3d#885000;strokeColor\x3d#997000;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" "))];this.addPalette("mockupMisc","Mockup Misc",!1,mxUtils.bind(this,function(a){for(var b=0;b<k.length;b++)a.appendChild(k[b](a))}))};Sidebar.prototype.addMockupNavigationPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+
"\x3dbottom;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;strokeWidth\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",c=mxConstants.STYLE_STROKEWIDTH+"\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",f=mxConstants.STYLE_STROKECOLOR+"\x3d#999999;",d=this,a=[this.addEntry("mockup navigation status bar",function(){var a=new mxCell("Layer 1",new mxGeometry(0,0,60,30),c+"navigation.anchor;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;");
a.vertex=!0;var b=new mxCell("\x3e",new mxGeometry(60,0,20,30),c+"navigation.anchor;fontSize\x3d24;fontColor\x3d#aaaaaa;fontStyle\x3d1;");b.vertex=!0;var f=new mxCell("Layer 2",new mxGeometry(80,0,60,30),c+"navigation.anchor;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;");f.vertex=!0;var l=new mxCell("\x3e",new mxGeometry(140,0,20,30),c+"navigation.anchor;fontSize\x3d24;fontColor\x3d#aaaaaa;fontStyle\x3d1;");l.vertex=!0;var m=new mxCell("Layer 3",new mxGeometry(160,0,60,30),c+"navigation.anchor;fontSize\x3d17;fontColor\x3d#666666;fontStyle\x3d1;");
m.vertex=!0;var n=new mxCell("\x3e",new mxGeometry(220,0,20,30),c+"navigation.anchor;fontSize\x3d24;fontColor\x3d#aaaaaa;fontStyle\x3d1;");n.vertex=!0;var p=new mxCell("Layer 4",new mxGeometry(240,0,60,30),c+"navigation.anchor;fontSize\x3d17;fontColor\x3d#008cff;fontStyle\x3d1;");p.vertex=!0;return d.createVertexTemplateFromCells([a,b,f,l,m,n,p],300,30,"Status Bar")}),this.createVertexTemplateEntry(c+"navigation.stepBar;strokeColor\x3d#c4c4c4;textColor\x3d#666666;textColor2\x3d#008cff;mainText\x3d,,+,;textSize\x3d17;fillColor\x3d#666666;overflow\x3dfill;fontSize\x3d17;fontColor\x3d#666666;",
300,50,'\x3ctable border\x3d"0" cellpadding\x3d"0" cellspacing\x3d"0" width\x3d"100%" height\x3d"100%" style\x3d"font-size:1em;"\x3e\x3ctr height\x3d"0%"\x3e\x3ctd width\x3d"25%"\x3eLayer 1\x3c/td\x3e\x3ctd width\x3d"25%"\x3eLayer 2\x3c/td\x3e\x3ctd width\x3d"25%" style\x3d"color:#008cff;"\x3eLayer 3\x3c/td\x3e\x3ctd width\x3d"25%"\x3eLayer 4\x3c/td\x3e\x3c/tr\x3e\x3ctr height\x3d"100%"\x3e\x3ctd/\x3e\x3c/tr\x3e\x3c/table\x3e',"Step Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation",
"stepBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(b+"navigation.coverFlow;strokeColor\x3d#999999;fillColor\x3d#ffffff;",400,200,"","Cover Flow",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","coverFlow","mockup navigation ").join(" ")),this.createVertexTemplateEntry(b+"navigation.scrollBar;fillColor\x3d#ffffff;"+f+"barPos\x3d20;fillColor2\x3d#99ddff;strokeColor2\x3dnone;",200,20,"","Horizontal Scroll Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation",
"scrollBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(b+"navigation.scrollBar;fillColor\x3d#ffffff;"+f+"barPos\x3d20;fillColor2\x3d#99ddff;strokeColor2\x3dnone;direction\x3dnorth;",20,200,"","Vertical Scroll Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","scrollBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(c+"navigation.pagination;linkText\x3d;fontSize\x3d17;fontColor\x3d#0000ff;fontStyle\x3d4;",350,30,"\x3c\x3c Prev 1 2 3 4 5 6 7 8 9 10 Next \x3e\x3e",
"Pagination",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","pagination","mockup navigation ").join(" ")),this.createVertexTemplateEntry(b+"navigation.pageControl;fillColor\x3d#999999;strokeColor\x3d#ddeeff;",100,30,"","Page Control",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","pageControl","mockup navigation ").join(" ")),this.createVertexTemplateEntry(b+"navigation.mapNavigator;fillColor\x3d#ffffff;fillColor2\x3d#99ddff;strokeColor2\x3dnone;strokeColor3\x3d#ffffff;"+
f,60,100,"","Map Navigator",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","mapNavigator","mockup navigation ").join(" ")),this.createVertexTemplateEntry(b+"misc.loading_circle_1;",90,90,"","Wheel Throbber 1",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","loading_circle_1","mockup navigation ").join(" ")),this.createVertexTemplateEntry(b+"misc.loading_circle_2;",90,90,"","Wheel Throbber 2",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","loading_circle_2",
"mockup navigation ").join(" "))];this.addPalette("mockupNavigation","Mockup Navigation",!1,mxUtils.bind(this,function(b){for(var c=0;c<a.length;c++)b.appendChild(a[c](b))}))};Sidebar.prototype.addMockupTextPalette=function(){var b=mxConstants.STYLE_STROKEWIDTH+"\x3d1;shadow\x3d0;dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.mockup.",c=mxConstants.STYLE_STROKECOLOR+"\x3d#666666;",f=mxConstants.STYLE_STROKECOLOR+"\x3dnone;",d=this,a=[this.createVertexTemplateEntry("shape\x3drectangle;strokeColor\x3dnone;fillColor\x3dnone;linkText\x3d;fontSize\x3d17;fontColor\x3d#0000ff;fontStyle\x3d4;html\x3d1;align\x3dcenter;",
150,30,"Link","Link",null,null,this.getTagsForStencil("mxgraph.mockup.text","link","mockup text ").join(" ")),this.addEntry("mockup text horizontal button bar",function(){var a=new mxCell("",new mxGeometry(0,0,500,25),b+"text.rrect;rSize\x3d0;fillColor\x3d#ffffff;strokeColor\x3d#666666;");a.vertex=!0;var c=new mxCell("Button 2",new mxGeometry(125,0,125,25),b+"text.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#0000ff;fillColor\x3dnone;strokeColor\x3d#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Button 3",
new mxGeometry(250,0,125,25),b+"text.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#0000ff;fillColor\x3dnone;strokeColor\x3d#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Button 4",new mxGeometry(375,0,125,25),b+"text.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#0000ff;fillColor\x3dnone;strokeColor\x3d#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Button 1",new mxGeometry(0,0,125,25),b+"text.rrect;rSize\x3d0;fontSize\x3d17;fontColor\x3d#ffffff;fillColor\x3d#008cff;strokeColor\x3dnone;");c.vertex=
!0;a.insert(c);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Horizontal Button Bar")}),this.createVertexTemplateEntry(b+"text.callout;linkText\x3d;textSize\x3d17;textColor\x3d#666666;callDir\x3dNW;callStyle\x3dline;fontSize\x3d17;fontColor\x3d#666666;align\x3dleft;verticalAlign\x3dtop;"+c,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(b+"text.callout;linkText\x3d;textSize\x3d17;textColor\x3d#666666;callDir\x3dNE;callStyle\x3dline;fontSize\x3d17;fontColor\x3d#666666;align\x3dright;verticalAlign\x3dtop;"+
c,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(b+"text.callout;linkText\x3d;textSize\x3d17;textColor\x3d#666666;callDir\x3dSW;callStyle\x3dline;fontSize\x3d17;fontColor\x3d#666666;align\x3dleft;verticalAlign\x3dbottom;"+c,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(b+"text.callout;linkText\x3d;textSize\x3d17;textColor\x3d#666666;callDir\x3dSE;callStyle\x3dline;fontSize\x3d17;fontColor\x3d#666666;align\x3dright;verticalAlign\x3dbottom;"+
c,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(b+"text.stickyNote;fontColor\x3d#666666;mainText\x3d;fontSize\x3d17;whiteSpace\x3dwrap;",200,200,"Note Line 1\nNote Line 2\nNote Line 3","Sticky Note",null,null,this.getTagsForStencil("mxgraph.mockup.text","stickyNote","mockup text ").join(" ")),this.createVertexTemplateEntry(b+"text.bulletedList;textColor\x3d#666666;mainText\x3d,,,,;textSize\x3d17;bulletStyle\x3dnone;"+
f+mxConstants.STYLE_FILLCOLOR+"\x3dnone;align\x3dleft;verticalAlign\x3dtop;fontSize\x3d17;fontColor\x3d#666666;",150,135,"-Line 1\n-Line 2\n-Line 3\n-Line 4","Bulleted List",null,null,this.getTagsForStencil("mxgraph.mockup.text","bulletedList","mockup text ").join(" ")),this.createVertexTemplateEntry(b+"text.textBox;fillColor\x3d#ffffff;fontColor\x3d#666666;align\x3dleft;fontSize\x3d17;spacingLeft\x3d4;spacingTop\x3d-3;"+c+"mainText\x3d",150,30,"Line 1","Text Box",null,null,this.getTagsForStencil("mxgraph.mockup.text",
"textBox","mockup text ").join(" ")),this.createVertexTemplateEntry(b+"text.captcha;fillColor\x3d#ffffff;fontColor\x3d#666666;fontSize\x3d25;"+c+"mainText\x3d",150,50,"fG2yQ23","Captcha",null,null,this.getTagsForStencil("mxgraph.mockup.text","captcha","mockup text ").join(" ")),this.createVertexTemplateEntry(b+"text.alphanumeric;linkText\x3d;html\x3d1;fontStyle\x3d4;fontSize\x3d17;fontColor\x3d#0000ff;",450,50,"0-9 A B C D E F G H I J K L M N O P Q R S T U V X Y Z","Alphanumeric",null,null,this.getTagsForStencil("mxgraph.mockup.text",
"alphanumeric","mockup text ").join(" ")),this.createVertexTemplateEntry("text;spacingTop\x3d-5;fillColor\x3d#ffffff;whiteSpace\x3dwrap;html\x3d1;align\x3dleft;fontSize\x3d12;fontFamily\x3dHelvetica;fillColor\x3dnone;strokeColor\x3dnone;",250,470,"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\nSed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?",
"Paragraph of Text",null,null,this.getTagsForStencil("mxgraph.mockup.text","peragraph of text","mockup text ").join(" ")),this.addEntry("mockup text table",function(){var a=new mxCell('\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"1" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3cth\x3eHeader 1\x3c/th\x3e\x3cth\x3eHeader 2\x3c/th\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3erow 1, cell 1\x3c/td\x3e\x3ctd\x3erow 1, cell 2\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3erow 2, cell 1\x3c/td\x3e\x3ctd\x3erow 2, cell 2\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e ',
new mxGeometry(0,0,180,80),"verticalAlign\x3dtop;align\x3dleft;overflow\x3dfill;fillColor\x3d#ffffff;fontSize\x3d12;fontFamily\x3dHelvetica;html\x3d1");a.vertex=!0;return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Table")})];this.addPalette("mockupText","Mockup Text",!1,mxUtils.bind(this,function(b){for(var c=0;c<a.length;c++)b.appendChild(a[c](b))}))}})();
(function(){Sidebar.prototype.addMSCAEPalette=function(){this.addMSCAEGeneralPalette();this.addMSCAECloudPalette();this.addMSCAEEnterprisePalette();this.addMSCAEIntunePalette();this.addMSCAEOtherPalette();this.addMSCAESystemCenterPalette();this.addMSCAEDeprecatedPalette()};Sidebar.prototype.addMSCAECloudPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.access_control;",
50,50,"","Access Control",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","access control","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.api_app;fillColor\x3d#0079D6;",45,50,"","API App",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","api app","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.api_management;fillColor\x3d#0079D6;",
50,45,"","API Management",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","api management","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.app_service;fillColor\x3d#0079D6;",50,50,"","App Service",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","app application service","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.application_insights;fillColor\x3d#0079D6;",32,50,"","Application Insights",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","application insights","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.autoscale;",
50,30,"","Autoscaling",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","autoscaling autoscale","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.azure_automatic_load_balancer;fillColor\x3d#0079D6;",50,33,"","Azure Automatic Load Balancer",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","automatic load balancer",
"ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.azure_active_directory;",47,50,"","Azure Active Directory",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure active directory","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.azure_alert;",
50,42,"","Azure Alert",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure alert","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.automation;",50,45,"","Azure Automation",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure automation","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.azure_batch;fillColor\x3d#0079D6;",47,40,"","Azure Batch",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","batch","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.azure_cache;",
45,50,"","Azure Cache including Redis",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure cache including redis","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.certificate;",50,40,"","Azure Certificate",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure certificate","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.azure_dns;fillColor\x3d#0079D6;",50,50,"","Azure DNS",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","dns","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.azure_files_service;fillColor\x3d#0079D6;",
50,43,"","Azure Files Service",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","files service","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.azure_load_balancer_feature;fillColor\x3d#0079D6;",50,50,"","Azure Load Balancer (feature)",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","load balancer feature",
"ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.azure_marketplace;",40,50,"","Azure Marketplace",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure marketplace","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.azure_rights_management_rms;fillColor\x3d#0079D6;",
40,50,"","Azure Rights Management (RMS)",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","rights management rms","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.azure_sdk;",50,47,"","Azure SDK",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure sdk software development kit","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.azure_search;fillColor\x3d#0079D6;",50,35,"","Azure Search",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","search","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.sql_database_sql_azure;",
47,50,"","Azure SQL Database",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure sql database","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.azure_subscription;",50,35,"","Azure Subscription",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","azure subscription","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.azure_storage;fillColor\x3d#0079D6;",50,43,"","Azure Storage",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","storage","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.backup_service;",
50,45,"","Backup Service",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","backup service","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.bitbucket_code_source;",42,50,"","Bitbucket Code Source",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","bitbucket code source","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.biztalk_services;",50,50,"","Biztalk Services",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","biztalk services","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.cloud_office_365;fillColor\x3d#DF3C01;",
50,30,"","Cloud Office 365",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","cloud office 365","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.cloud_service;",50,40,"","Cloud Service",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","cloud service","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.codeplex_code_source;",50,37,"","CodePlex",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","codeplex","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.content_delivery_network;",
50,32,"","Content Delivery Network",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","content delivery network","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.data_factory;fillColor\x3d#0079D6;",47,47,"","Data Factory",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","data factory","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.documentdb;fillColor\x3d#0079D6;",38,50,"","DocumentDB",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","documentdb document db database","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.dropbox_code_source;",
50,47,"","Dropbox Code Source",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","dropbox code source","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.event_hubs;fillColor\x3d#0079D6;",46,47,"","Event Hubs",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","event_hubs","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.express_route;",50,30,"","Express Route",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","express route","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.git_repository;",
50,50,"","Git Repository",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","git repository","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.github_code;",50,50,"","GitHub",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","github code","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.hdinsight;fillColor\x3d#0079D6;",
50,36,"","HDInsight",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","hdisight hd insight","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.health_monitoring;",50,42,"","Health Monitoring",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","health monitoring","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.healthy;",50,45,"","Healthy",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","healthy","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.hybrid_connection_manager;fillColor\x3d#0079D6;",
50,35,"","Hybrid Connection Manager",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","hybrid connection manager","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.hybrid_connections;fillColor\x3d#0079D6;",47,50,"","Hybrid Connections",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","hybrid connections",
"ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.iot;fillColor\x3d#0079D6;",47,47,"","IoT",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","iot internet of things","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.key_vault;fillColor\x3d#0079D6;",
49,50,"","Key Vault",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","key vault","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.logic_app;fillColor\x3d#0079D6;",50,50,"","Logic App",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","logic app application","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.machine_learning;fillColor\x3d#0079D6;",47,50,"","Machine Learning",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","machine_learning","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.media_service;",
45,50,"","Media Services",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","media services","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.microsoft_account;fillColor\x3d#0079D6;",50,50,"","Microsoft Account",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","microsoft account","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.microsoft_azure;fillColor\x3d#000000;",50,32,"","Microsoft Azure",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","microsoft","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.mobile_app;fillColor\x3d#0079D6;",
30,50,"","Mobile App",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","mobile app application","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.mobile_engagement;fillColor\x3d#0079D6;",30,50,"","Mobile Engagement",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","mobile engagement","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.multi_factor_authentication;",25,50,"","Multi-Factor Authentication",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","multi factor authentication","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.mysql_database;",
37,50,"","MySQL Database",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","mysql database","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.notification_hub;",50,50,"","Notification Hub",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","notification hub","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.notification_topic;",50,50,"","Notification Topic",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","notification topic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.office_365;fillColor\x3d#DF3C01;",
41,49,"","Office 365",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","office 365","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.office_365_subscription;fillColor\x3d#DF3C01;",50,34,"","Office 365 Subscription",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","office 365 subscription","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.operational_insights;fillColor\x3d#0079D6;",50,50,"","Operational Insights",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","operational insights","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.operating_system_image;",
50,50,"","OS Image",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","os operating system image","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.rdp_remoting_file;",47,50,"","RDP Remoting File",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","rdp remoting file","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.remoteapp;fillColor\x3d#0079D6;",50,50,"","RemoteApp",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","remoteapp remote app","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.resource_group;fillColor\x3d#0079D6;",
50,41,"","Resource Group",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","resource group","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.scheduler;",40,50,"","Scheduler",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","scheduler","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.service_bus;",
45,50,"","Service Bus",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service bus","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.service_bus_queues;",42,50,"","Service Bus Queue",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service bus queue","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.service_bus_relay;",40,50,"","Service Bus Relay",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service bus relay","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.service_bus_topics_and_subscriptions;",
45,50,"","Service Bus Topic",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service bus topic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.service_endpoint;fillColor\x3d#0079D6;",50,9,"","Service Endpoint",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service endpoint","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.service_fabric;fillColor\x3d#00BEF2;",50,50,"","Service Fabric",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service fabric","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.service_package;fillColor\x3d#0079D6;",
44,50,"","Service Package",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","service package","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.hyper_v_recovery_manager;",50,45,"","Site Recovery",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","site recovery","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.sql_datasync;",37,50,"","SQL DataSync",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","sql datasync","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.sql_database;",
37,50,"","SQL Database",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","sql database","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.startup_task;",47,50,"","Startup Task",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","startup task","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.storage_blob;",
50,45,"","Storage Blob",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","storage blob","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.storage_queue;",50,45,"","Storage Queue",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","storage queue","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.storage_table;",50,45,"","Storage Table",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","storage table","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.storsimple;",
50,45,"","StorSimple",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","storsimple","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.stream_analytics;fillColor\x3d#0079D6;",48,37,"","Stream Analytics",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","stream analytics","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.traffic_manager;",50,50,"","Traffic Manager",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","traffic manager","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.unidentified_code_object;",
50,42,"","Unidentified Feature Object",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","unidentified feature object","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.vhd;",40,50,"","VHD",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","vhd","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.vhd_data_disk;",37,50,"","VHD Data Disk",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","vhd data disk","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.virtual_machine;",
50,40,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","virtual machine","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.virtual_machine_container;fillColor\x3d#0079D6;",49,43,"","Virtual Machine Container",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","virtual machine container",
"ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.virtual_network;",50,27,"","Virtual Network",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","virtual network","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.visual_studio_online;",
50,37,"","Visual Studio Online",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","visual studio online","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.virtual_machine_feature;",50,45,"","Virtual Machine",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","virtual machine","ms microsoft cloud enterprise ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.vpn_gateway;fillColor\x3d#0079D6;",32,50,"","VPN Gateway",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","vpn gateway virtual private network","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.azure_website;",
50,50,"","Web App",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","web app application","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.web_role;",50,40,"","Web Role",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","web role","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.web_roles;",
55,45,"","Web Roles",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","web roles","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.webjobs;fillColor\x3d#0079D6;",51,50,"","WebJobs",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","webjobs web jobs","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.mscae.cloud.work_account;fillColor\x3d#0079D6;",
50,50,"","Work Account",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","work_account","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.worker_role;",50,40,"","Worker Role",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","worker role","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#0079D6;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.azure.worker_roles;",
55,45,"","Worker Roles",null,null,this.getTagsForStencil("mxgraph.mscae.cloud","worker roles","ms microsoft cloud enterprise ").join(" "))];this.addPalette("mscaeCloud","CAE / Cloud",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addMSCAEDeprecatedPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.deprecated.application;fillColor\x3d#00188D;",50,33,"","Application",
null,null,this.getTagsForStencil("mxgraph.mscae.deprecated","application","ms microsoft cloud enterprise deprecated ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.hdinsight;fillColor\x3d#00BEF2;",50,50,"","HDInsight",null,null,this.getTagsForStencil("mxgraph.mscae.deprecated","hdinsight hd insight","ms microsoft cloud enterprise deprecated ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.operating_system_image;fillColor\x3d#0079D6;",
50,50,"","OS Image",null,null,this.getTagsForStencil("mxgraph.mscae.deprecated","os operating system image","ms microsoft cloud enterprise deprecated ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.sql_reporting;fillColor\x3d#0079D6;",40,50,"","SQL Reporting",null,null,this.getTagsForStencil("mxgraph.mscae.deprecated","sql reporting","ms microsoft cloud enterprise deprecated ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.vhd;fillColor\x3d#0079D6;",
40,50,"","VHD",null,null,this.getTagsForStencil("mxgraph.mscae.deprecated","vhd virtual hard drive","ms microsoft cloud enterprise deprecated ").join(" "))];this.addPalette("mscaeDeprecated","CAE / (Deprecated)",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addMSCAEEnterprisePalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.ad_fs;fillColor\x3d#00188D;",
40,50,"","AD FS",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","ad fs","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.android_phone;fillColor\x3d#00188D;",30,50,"","Android Phone",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","android phone mobile","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.app_generic;fillColor\x3d#00188D;",
50,39,"","App (generic)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","app generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.application_blank;fillColor\x3d#00188D;",46,40,"","Application (blank)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","application app blank","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.application_server;fillColor\x3d#00188D;",
38,44,"","Application Server",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","application app server","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.backup_local;fillColor\x3d#00188D;",49,50,"","Backup (local)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","backup local","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.backup_online;fillColor\x3d#00188D;",
51,41,"","Backup (online)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","backup online","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.certificate;fillColor\x3d#7D7D7D;",50,40,"","Certificate",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","certificate","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.client_application;fillColor\x3d#00188D;",
50,32,"","Client Application",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","client application app","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.cloud;fillColor\x3d#7D7D7D;",50,32,"","Cloud",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","cloud","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.cluster_server;fillColor\x3d#00188D;",
40,50,"","Cluster Server",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","cluster server","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.code_file;fillColor\x3d#7D7D7D;",47,50,"","Code File",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","code file","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.connectors;fillColor\x3d#00188D;",
50,34,"","Connectors",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","connectors","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.d;fillColor\x3d#00188D;",40,50,"","D",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","delta diff difference server","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.database_generic;fillColor\x3d#00188D;",
38,51,"","Database (generic)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","db database generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.database_server;fillColor\x3d#00188D;",38,50,"","Database (server)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","db database server","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.database_synchronization;fillColor\x3d#00188D;",
39,50,"","Database Synchronization",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","database synchronization sync db","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.device;fillColor\x3d#00188D;",50,26,"","Device",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","Device","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.direct_access_feature;fillColor\x3d#00188D;",
50,44,"","Direct Access (feature)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","direct access feature","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.document;fillColor\x3d#00188D;",40,50,"","Document",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","document doc","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.domain_controller;fillColor\x3d#00188D;",
36,50,"","Domain Controller",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","domain controller","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.enterprise;fillColor\x3d#00188D;",30,50,"","Enterprise Building",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","enterprise building","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.file;fillColor\x3d#7D7D7D;",
47,50,"","File general",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","file general","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.filter;fillColor\x3d#00188D;",50,45,"","Filter",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","filter","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.firewall;fillColor\x3d#00188D;",
50,44,"","Firewall",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","firewall","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.folder;fillColor\x3d#00188D;",50,43,"","Folder",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","folder","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.gateway;fillColor\x3d#00188D;",
50,50,"","Gateway",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","gateway","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.code_file;fillColor\x3d#00188D;",47,50,"","Generic Code",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","generic code","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.health_monitoring;fillColor\x3d#7D7D7D;",
50,42,"","Health Monitoring",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","health monitoring","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.healthy;fillColor\x3d#7D7D7D;",50,45,"","Healthy",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","healthy","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.import_generic;fillColor\x3d#00188D;",
40,50,"","Import (generic)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","import generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.internet;fillColor\x3d#00188D;",50,31,"","Internet",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","internet","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.internet_hollow;fillColor\x3d#00188D;",
50,31,"","Internet (hollow)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","internet hollow","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.key_permissions;fillColor\x3d#00188D;",26,50,"","Key, Permissions",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","key permissions","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.keyboard;fillColor\x3d#00188D;",
50,30,"","Keyboard",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","keyboard","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.laptop;fillColor\x3d#7D7D7D;",50,30,"","Laptop",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","laptop computer pc","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.load_balancer_generic;fillColor\x3d#00188D;",
37,50,"","Load Balancer (generic)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","load balancer generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.load_balancer_generic;fillColor\x3d#ffffff;",37,50,"","Load Balancer (white)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","load balancer generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.load_testing;fillColor\x3d#00188D;",
48,50,"","Load Testing",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","load testing","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.lock;fillColor\x3d#00188D;",39,50,"","Lock, Protected",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","lock protected","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.lock_unlocked;fillColor\x3d#00188D;",
37,50,"","Lock (unlocked)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","lock unlocked accessible","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.maintenance;fillColor\x3d#00188D;",34,50,"","Maintenance",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","maintenance","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.management_console;fillColor\x3d#00188D;",
50,34,"","Management Console",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","management console","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.message;fillColor\x3d#7D7D7D;",50,37,"","Message",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","message","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.computer;fillColor\x3d#7D7D7D;",
50,45,"","Monitor",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","monitor","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.monitor_running_apps;fillColor\x3d#00188D;",50,39,"","Monitor Running Apps",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","monitor running app application","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.mouse;fillColor\x3d#00188D;",
30,50,"","Mouse",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","mouse","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.network_card;fillColor\x3d#00188D;",50,35,"","Network Card",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","network card","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.performance;fillColor\x3d#00188D;",
50,50,"","Performance",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","performance","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.performance_monitor;fillColor\x3d#00188D;",50,36,"","Performance Monitor",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","performance monitor","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.mobile;fillColor\x3d#7D7D7D;",
35,50,"","Phone",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","mobile phone","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.plug_and_play;fillColor\x3d#00188D;",40,50,"","Plug and Play",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","plug play","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.powershell_file;fillColor\x3d#00188D;",
47,50,"","PowerShell Script File",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","powershell script file","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.protocol_stack;fillColor\x3d#00188D;",50,34,"","Protocol Stack",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","protocol stack","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.queue_generic;fillColor\x3d#00188D;",
50,15,"","Queue (general)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","queue general generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.rms_connector;fillColor\x3d#00188D;",30,40,"","RMS Connector",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","rms connector","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.router;fillColor\x3d#00188D;",
49,38,"","Router",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","router","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.script_file;fillColor\x3d#00188D;",47,50,"","Script File",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","script file","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.secure_virtual_machine;fillColor\x3d#00188D;",
50,38,"","Secure Virtual Machine",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","secure virtual machine","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.server;fillColor\x3d#00188D;",50,15,"","Server (blade)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","server blade","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.server_generic;fillColor\x3d#00188D;",
24,50,"","Server (generic)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","server generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.server_directory;fillColor\x3d#00188D;",36,50,"","Server Directory",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","server directory","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.server_farm;fillColor\x3d#00188D;",
50,32,"","Server Farm",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","server farm","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.server_rack;fillColor\x3d#00188D;",50,50,"","Server Rack",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","server rack","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.settings;fillColor\x3d#00188D;",
50,50,"","Settings",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","settings","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.shared_folder;fillColor\x3d#00188D;",43,50,"","Shared Folder",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","shared folder","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.smartcard;fillColor\x3d#00188D;",
50,32,"","SmartCard",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","smartcard","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.storage;fillColor\x3d#00188D;",50,41,"","Storage",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","storage","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.table;fillColor\x3d#00188D;",
50,50,"","Table",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","table","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.tablet;fillColor\x3d#00188D;",50,37,"","Tablet",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","tablet","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.tool;fillColor\x3d#00188D;",
52,47,"","Tool",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","tool","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.unhealthy;fillColor\x3d#00188D;",52,43,"","Unhealthy",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","unhealthy","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.usb;fillColor\x3d#00188D;",
50,23,"","USB",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","usb","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.web;fillColor\x3d#00188D;",50,50,"","Web",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","web","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.web_server;fillColor\x3d#00188D;",
38,50,"","Web Server",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","web server","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.website_generic;fillColor\x3d#00188D;",47,41,"","Website (generic)",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","website generic","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.windows_server;fillColor\x3d#00188D;",
39,50,"","Windows Server",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","windows server","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.wireless_connection;fillColor\x3d#00188D;",42,50,"","Wireless Connection",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","wireless connection","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.workstation_client;fillColor\x3d#00188D;",
50,50,"","Workstation Client",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","workstation client","ms microsoft cloud enterprise ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.xml_web_service;fillColor\x3d#00188D;",50,50,"","XML Web Service",null,null,this.getTagsForStencil("mxgraph.mscae.enterprise","xml web service","ms microsoft cloud enterprise ").join(" "))];this.addPalette("mscaeEnterprise","CAE / Enterprise",
!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addMSCAEGeneralPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.audio;fillColor\x3d#7D7D7D;",50,50,"","Audio",null,null,this.getTagsForStencil("mxgraph.mscae.general","audio","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.bug;fillColor\x3d#7D7D7D;",
50,50,"","Bug",null,null,this.getTagsForStencil("mxgraph.mscae.general","bug","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.enterprise;fillColor\x3d#7D7D7D;",30,50,"","Building",null,null,this.getTagsForStencil("mxgraph.mscae.general","building enterprise","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;shape\x3dmxgraph.mscae.general.cable_settop_tv_box;strokeColor\x3d#000000;fillColor\x3d#7D7D7D;",
50,24,"","Cable Settop TV Box",null,null,this.getTagsForStencil("mxgraph.mscae.general","cable settop tv television box","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.calendar;fillColor\x3d#7D7D7D;",50,40,"","Calendar",null,null,this.getTagsForStencil("mxgraph.mscae.general","calendar","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.chart;fillColor\x3d#7D7D7D;",
50,48,"","Chart",null,null,this.getTagsForStencil("mxgraph.mscae.general","chart","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.checkmark;fillColor\x3d#91D250;",41,50,"","Checkmark (success)",null,null,this.getTagsForStencil("mxgraph.mscae.general","checkmark success","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.continuous_cycle;fillColor\x3d#7D7D7D;",
48,50,"","Continuous Cycle (circle)",null,null,this.getTagsForStencil("mxgraph.mscae.general","continuous cycle circle","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.crossout;fillColor\x3d#FF0000;",40,50,"","Crossout (failure)",null,null,this.getTagsForStencil("mxgraph.mscae.general","crossout failure","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.cut_and_paste;fillColor\x3d#7D7D7D;",
50,34,"","Cut and Paste",null,null,this.getTagsForStencil("mxgraph.mscae.general","cut and paste","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.filter;fillColor\x3d#7D7D7D;",50,45,"","Filter",null,null,this.getTagsForStencil("mxgraph.mscae.general","filter","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.folder;fillColor\x3d#7D7D7D;",
50,43,"","Folder",null,null,this.getTagsForStencil("mxgraph.mscae.general","folder","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.game_controller;fillColor\x3d#7D7D7D;",50,35,"","Game Controller",null,null,this.getTagsForStencil("mxgraph.mscae.general","game controller gamepad","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.gears;fillColor\x3d#7D7D7D;",
50,42,"","Gears",null,null,this.getTagsForStencil("mxgraph.mscae.general","gears","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.graph;fillColor\x3d#7D7D7D;",50,50,"","Graph",null,null,this.getTagsForStencil("mxgraph.mscae.general","graph","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.like;fillColor\x3d#7D7D7D;",
50,47,"","Like",null,null,this.getTagsForStencil("mxgraph.mscae.general","like","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.not_allowed;fillColor\x3d#DE5900;",50,50,"","Not Allowed",null,null,this.getTagsForStencil("mxgraph.mscae.general","not allowed","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.pointer;fillColor\x3d#91D250;",
50,50,"","Pointer (circle)",null,null,this.getTagsForStencil("mxgraph.mscae.general","pointer circle","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.slider_bar_horizontal;fillColor\x3d#7D7D7D;",50,21,"","Slider Bar (horizontal)",null,null,this.getTagsForStencil("mxgraph.mscae.general","slider bar horizontal hor","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.slider_bar_vertical;fillColor\x3d#7D7D7D;",
22,50,"","Slider Bar (vertical)",null,null,this.getTagsForStencil("mxgraph.mscae.general","slider bar vertical hor","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.task_list;fillColor\x3d#7D7D7D;",38,47,"","Task List (backlog)",null,null,this.getTagsForStencil("mxgraph.mscae.general","task list backlog","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.tasks;fillColor\x3d#7D7D7D;",
38,50,"","Tasks",null,null,this.getTagsForStencil("mxgraph.mscae.general","tasks","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.tunnel;fillColor\x3d#7D7D7D;",50,9,"","Tunnel",null,null,this.getTagsForStencil("mxgraph.mscae.general","tunnel","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.usb;fillColor\x3d#7D7D7D;",
50,23,"","USB",null,null,this.getTagsForStencil("mxgraph.mscae.general","usb","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.azure.user;fillColor\x3d#7D7D7D;",47,50,"","User",null,null,this.getTagsForStencil("mxgraph.mscae.general","user","ms microsoft cloud enterprise general ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.general.video;fillColor\x3d#7D7D7D;",
49,50,"","Video",null,null,this.getTagsForStencil("mxgraph.mscae.general","video","ms microsoft cloud enterprise general ").join(" "))];this.addPalette("mscaeGeneral","CAE / General",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addMSCAEIntunePalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.account_portal;fillColor\x3d#505050;",40,46,"","Account Portal",
null,null,this.getTagsForStencil("mxgraph.mscae.intune","account portal","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.administration;fillColor\x3d#505050;",30,50,"","Administration",null,null,this.getTagsForStencil("mxgraph.mscae.intune","administration","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.alerts;fillColor\x3d#505050;",
50,50,"","Alerts",null,null,this.getTagsForStencil("mxgraph.mscae.intune","alerts","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.apps;fillColor\x3d#505050;",50,50,"","Apps",null,null,this.getTagsForStencil("mxgraph.mscae.intune","apps","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.certificate;fillColor\x3d#505050;",
50,49,"","Certificate (Compliance)",null,null,this.getTagsForStencil("mxgraph.mscae.intune","certificate compliance","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.client_software;fillColor\x3d#505050;",52,47,"","Client Software Deployment Wizard",null,null,this.getTagsForStencil("mxgraph.mscae.intune","client software deployment wizard","ms microsoft cloud enterprise intune").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.company_portal;fillColor\x3d#505050;",47,36,"","Company Portal",null,null,this.getTagsForStencil("mxgraph.mscae.intune","company portal","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.computer_inventory;fillColor\x3d#505050;",50,45,"","Computer Inventory",null,null,
this.getTagsForStencil("mxgraph.mscae.intune","computer inventory","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.conditional_access_exchange;fillColor\x3d#505050;",49,50,"","Conditional Access (Exchange)",null,null,this.getTagsForStencil("mxgraph.mscae.intune","conditional access exchange","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.conditional_access_sharepoint;fillColor\x3d#505050;",
43,49,"","Conditional Access (Sharepoint)",null,null,this.getTagsForStencil("mxgraph.mscae.intune","conditional access sharepoint","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.connector;fillColor\x3d#505050;",46,16,"","Connector",null,null,this.getTagsForStencil("mxgraph.mscae.intune","connector","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.dashboard;fillColor\x3d#505050;",
50,40,"","Dashboard",null,null,this.getTagsForStencil("mxgraph.mscae.intune","dashboard","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.data_migration_wizard;fillColor\x3d#505050;",50,48,"","Data Migration Wizard",null,null,this.getTagsForStencil("mxgraph.mscae.intune","data migration wizard","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.detected_software;fillColor\x3d#505050;",
50,50,"","Detected Software",null,null,this.getTagsForStencil("mxgraph.mscae.intune","detected software","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.device_group;fillColor\x3d#505050;",50,50,"","Device Group",null,null,this.getTagsForStencil("mxgraph.mscae.intune","device group","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.device_health;fillColor\x3d#505050;",
50,31,"","Device Health",null,null,this.getTagsForStencil("mxgraph.mscae.intune","device_health","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.device_history;fillColor\x3d#505050;",45,50,"","Device History",null,null,this.getTagsForStencil("mxgraph.mscae.intune","device history","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.device_os;fillColor\x3d#505050;",
49,50,"","Device OS",null,null,this.getTagsForStencil("mxgraph.mscae.intune","device os operating system","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.end_protection;fillColor\x3d#505050;",48,50,"","End Protection",null,null,this.getTagsForStencil("mxgraph.mscae.intune","end protection","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.exchange_connector;fillColor\x3d#505050;",
50,49,"","Exchange Connector",null,null,this.getTagsForStencil("mxgraph.mscae.intune","exchange connector","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.groups;fillColor\x3d#505050;",50,48,"","Groups",null,null,this.getTagsForStencil("mxgraph.mscae.intune","groups","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.hybrid;fillColor\x3d#505050;",
50,39,"","Hybrid",null,null,this.getTagsForStencil("mxgraph.mscae.intune","hybrid","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.intune_certificate_profiles;fillColor\x3d#505050;",40,50,"","Intune Certificate Profiles",null,null,this.getTagsForStencil("mxgraph.mscae.intune","certificate profiles","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.intune_email_profiles;fillColor\x3d#505050;",
50,50,"","Intune Email Profiles",null,null,this.getTagsForStencil("mxgraph.mscae.intune","email profiles","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.intune_managed_app;fillColor\x3d#505050;",50,38,"","Intune Managed App",null,null,this.getTagsForStencil("mxgraph.mscae.intune","managed app application","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.intune_mobile_application_management;fillColor\x3d#505050;",
49,50,"","Intune Mobile Application Management",null,null,this.getTagsForStencil("mxgraph.mscae.intune","mobile app aplication management","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.intune_vpn_profiles;fillColor\x3d#505050;",42,50,"","Intune VPN Profiles",null,null,this.getTagsForStencil("mxgraph.mscae.intune","vpn virtual private network profiles","ms microsoft cloud enterprise intune").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.intune_wifi_profiles;fillColor\x3d#505050;",44,51,"","Intune WiFi Profiles",null,null,this.getTagsForStencil("mxgraph.mscae.intune","wifi profiles","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.inventory_license;fillColor\x3d#505050;",50,48,"","Inventory License",
null,null,this.getTagsForStencil("mxgraph.mscae.intune","inventory license","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.inventory_software;fillColor\x3d#505050;",50,49,"","Inventory Software",null,null,this.getTagsForStencil("mxgraph.mscae.intune","inventory software","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.license_group;fillColor\x3d#505050;",
50,49,"","License Group",null,null,this.getTagsForStencil("mxgraph.mscae.intune","license group","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.license_installation;fillColor\x3d#505050;",50,43,"","License Installation",null,null,this.getTagsForStencil("mxgraph.mscae.intune","license installation","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.microsoft_intune;fillColor\x3d#505050;",
48,38,"","Microsoft Intune",null,null,this.getTagsForStencil("mxgraph.mscae.intune","microsoft","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.mobile_inventory;fillColor\x3d#505050;",44,50,"","Mobile Inventory",null,null,this.getTagsForStencil("mxgraph.mscae.intune","mobile inventory","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.noncompliant_apps;fillColor\x3d#505050;",
46,50,"","Noncompliant Apps",null,null,this.getTagsForStencil("mxgraph.mscae.intune","noncompliant apps applications","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.policy;fillColor\x3d#505050;",50,50,"","Policy",null,null,this.getTagsForStencil("mxgraph.mscae.intune","policy","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.protection;fillColor\x3d#505050;",
48,50,"","Protection",null,null,this.getTagsForStencil("mxgraph.mscae.intune","protection","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.reports;fillColor\x3d#505050;",46,50,"","Reports",null,null,this.getTagsForStencil("mxgraph.mscae.intune","reports","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.enterprise.settings;fillColor\x3d#505050;",
50,50,"","Settings",null,null,this.getTagsForStencil("mxgraph.mscae.intune","settings","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.subscription_portal;fillColor\x3d#505050;",45,45,"","Subscription Portal",null,null,this.getTagsForStencil("mxgraph.mscae.intune","subscription portal","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.terms_and_conditions;fillColor\x3d#505050;",
37,50,"","Terms and Conditions",null,null,this.getTagsForStencil("mxgraph.mscae.intune","terms and conditions","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.update;fillColor\x3d#505050;",50,52,"","Update",null,null,this.getTagsForStencil("mxgraph.mscae.intune","update","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.user_group;fillColor\x3d#505050;",
50,37,"","User Group",null,null,this.getTagsForStencil("mxgraph.mscae.intune","user group","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.intune.user_management;fillColor\x3d#505050;",50,46,"","User Management",null,null,this.getTagsForStencil("mxgraph.mscae.intune","user management","ms microsoft cloud enterprise intune").join(" "))];this.addPalette("mscaeIntune","CAE / Intune",!1,mxUtils.bind(this,
function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addMSCAEOtherPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.access;fillColor\x3d#BA2024;",50,50,"","Access",null,null,this.getTagsForStencil("mxgraph.mscae.other","access","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.excel;fillColor\x3d#008540;",
50,50,"","Excel",null,null,this.getTagsForStencil("mxgraph.mscae.other","excel","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.exchange;fillColor\x3d#2471BA;",52,50,"","Exchange",null,null,this.getTagsForStencil("mxgraph.mscae.other","exchange","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.lync;fillColor\x3d#2471BA;",
52,50,"","Lync",null,null,this.getTagsForStencil("mxgraph.mscae.other","lync","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.microsoft;",50,50,"","Microsoft",null,null,this.getTagsForStencil("mxgraph.mscae.other","microsoft","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.outlook;fillColor\x3d#2471BA;",
50,50,"","Outlook",null,null,this.getTagsForStencil("mxgraph.mscae.other","outlook","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.powerpoint;fillColor\x3d#DE5D24;",50,50,"","PowerPoint",null,null,this.getTagsForStencil("mxgraph.mscae.other","powerpoint","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.sharepoint;fillColor\x3d#2471BA;",
51,50,"","Sharepoint",null,null,this.getTagsForStencil("mxgraph.mscae.other","sharepoint","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.skype;fillColor\x3d#00AEF2;",45,45,"","Skype",null,null,this.getTagsForStencil("mxgraph.mscae.other","skype","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.windows;fillColor\x3d#00188D;",
48,50,"","Windows",null,null,this.getTagsForStencil("mxgraph.mscae.other","windows","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.word;fillColor\x3d#2C3481;",50,50,"","Word",null,null,this.getTagsForStencil("mxgraph.mscae.other","word","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.xbox;fillColor\x3d#91D250;",
54,52,"","Xbox",null,null,this.getTagsForStencil("mxgraph.mscae.other","xbox","ms microsoft cloud enterprise other").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;strokeColor\x3dnone;html\x3d1;shape\x3dmxgraph.mscae.other.xbox_one;",50,16,"","Xbox One",null,null,this.getTagsForStencil("mxgraph.mscae.other","xbox one","ms microsoft cloud enterprise other").join(" "))];this.addPalette("mscaeOther","CAE / Other",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};
Sidebar.prototype.addMSCAESystemCenterPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.system_center.admin_console;fillColor\x3d#7D7D7D;strokeColor\x3dnone;",50,36,"","Admin Console",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","admin console","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;shape\x3dmxgraph.mscae.enterprise.database_server;fillColor\x3d#7D7D7D;strokeColor\x3dnone;",
38,50,"","Central Administration Site",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","central administration site","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.system_center.central_administration_site_sql;fillColor\x3d#7D7D7D;strokeColor\x3dnone;",38,50,"","Central Administration Site SQL",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","central administration site sql",
"ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.system_center.cloud_distribution_point;fillColor\x3d#7D7D7D;strokeColor\x3dnone;",46,50,"","Cloud Distribution Point",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","cloud distribution point","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.system_center.distribution_point;fillColor\x3d#7D7D7D;strokeColor\x3dnone;",
44,50,"","Distribution Point",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","distribution point","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.system_center.management_point;fillColor\x3d#7D7D7D;strokeColor\x3dnone;",48,50,"","Management Point",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","management point","ms microsoft cloud enterprise system center").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.system_center.primary_site;fillColor\x3d#7D7D7D;strokeColor\x3dnone;",38,50,"","Primary Site",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","primary site","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.system_center.roles;fillColor\x3d#7D7D7D;strokeColor\x3dnone;",
42,50,"","Roles",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","roles","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.system_center.secondary_site;fillColor\x3d#7D7D7D;strokeColor\x3dnone;",41,50,"","Secondary Site",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","secondary site","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;shape\x3dmxgraph.mscae.system_center.software_update_point;fillColor\x3d#7D7D7D;strokeColor\x3dnone;",
50,43,"","Software Update Point",null,null,this.getTagsForStencil("mxgraph.mscae.system_center","software update point","ms microsoft cloud enterprise system center").join(" "))];this.addPalette("mscaeSystem Center","CAE / System Center",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))}})();
(function(){Sidebar.prototype.addNetworkPalette=function(){var b=this;this.addPaletteFunctions("network","Network",!1,[this.addEntry("computer network ring bus",function(){function c(c,g){var k=b.cloneCell(a);k.geometry.setTerminalPoint(new mxPoint(c,g),!0);f.insertEdge(k,!1);d.push(k)}var f=new mxCell("",new mxGeometry(25,25,50,50),"html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;shape\x3dellipse;perimeter\x3dellipsePerimeter;gradientColor\x3dnone;gradientDirection\x3dnorth;fontColor\x3d#ffffff;strokeWidth\x3d2;");
f.vertex=!0;var d=[f],a=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor\x3d#6881B3;edgeStyle\x3dnone;rounded\x3d0;endArrow\x3dnone;dashed\x3d0;html\x3d1;strokeWidth\x3d2;");a.geometry.relative=!0;a.edge=!0;c(50,0);c(85.5,14.5);c(100,50);c(85.5,85.5);c(50,100);c(14.5,85.5);c(0,50);c(14.5,14.5);return b.createVertexTemplateFromCells(d,2*f.geometry.width,2*f.geometry.height,"Ring Bus")}),this.addEntry(this.getTagsForStencil("mxgraph.networks","bus backbone","computer network ").join(" "),function(){var c=
new mxCell("",new mxGeometry(0,60,260,20),"html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.bus;gradientColor\x3dnone;gradientDirection\x3dnorth;fontColor\x3d#ffffff;perimeter\x3dbackbonePerimeter;backboneSize\x3d20;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor\x3d#6881B3;edgeStyle\x3dnone;rounded\x3d0;endArrow\x3dnone;html\x3d1;strokeWidth\x3d2;");f.geometry.setTerminalPoint(new mxPoint(40,
0),!0);f.geometry.relative=!0;f.edge=!0;for(var d=[c],a=0;4>a;a++){var e=b.cloneCell(f);e.geometry.setTerminalPoint(new mxPoint(40+60*a,0),!0);c.insertEdge(e,!1);d.push(e)}for(a=0;4>a;a++)e=b.cloneCell(f),e.geometry.setTerminalPoint(new mxPoint(40+60*a,140),!0),c.insertEdge(e,!1),d.push(e);return b.createVertexTemplateFromCells(d,c.geometry.width,c.geometry.height+120,"Bus")}),this.createVertexTemplateEntry("html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.bus;gradientColor\x3dnone;gradientDirection\x3dnorth;fontColor\x3d#ffffff;perimeter\x3dbackbonePerimeter;backboneSize\x3d20;",
200,20,"","Bus",null,null,this.getTagsForStencil("mxgraph.networks","bus backbone","computer network ").join(" ")),this.createEdgeTemplateEntry("html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.comm_link_edge;html\x3d1;",100,100,"","Comm Link",null,this.getTagsForStencil("mxgraph.networks","comm_link_edge","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.biometric_reader;",
60,100,"","Biometric Reader",null,null,this.getTagsForStencil("mxgraph.networks","biometric_reader","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.business_center;",90,100,"","Business Center",null,null,this.getTagsForStencil("mxgraph.networks",
"business_center","computer network ").join(" ")),this.createVertexTemplateEntry("html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.cloud;fontColor\x3d#ffffff;",90,50,"","Cloud",null,null,this.getTagsForStencil("mxgraph.networks","cloud","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.community;",
95,100,"","Community",null,null,this.getTagsForStencil("mxgraph.networks","community","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.comm_link;",30,100,"","Comm Link (Icon)",null,null,this.getTagsForStencil("mxgraph.networks",
"comm_link","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.copier;",100,100,"","Copier",null,null,this.getTagsForStencil("mxgraph.networks","copier","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.pc;",
100,70,"","PC",null,null,this.getTagsForStencil("mxgraph.networks","pc","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.desktop_pc;",30,60,"","Desktop PC",null,null,this.getTagsForStencil("mxgraph.networks","desktop_pc","computer network ").join(" ")),
this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.external_storage;",90,100,"","External Storage",null,null,this.getTagsForStencil("mxgraph.networks","external_storage","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.firewall;",
100,100,"","Firewall",null,null,this.getTagsForStencil("mxgraph.networks","firewall","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.gamepad;",100,70,"","Gamepad",null,null,this.getTagsForStencil("mxgraph.networks","gamepad",
"computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.hub;",100,30,"","Hub",null,null,this.getTagsForStencil("mxgraph.networks","hub","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.laptop;",
100,55,"","Laptop",null,null,this.getTagsForStencil("mxgraph.networks","laptop","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.load_balancer;",100,30,"","Load Balancer",null,null,this.getTagsForStencil("mxgraph.networks","load_balancer",
"computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.mail_server;",105,105,"","Mail Server",null,null,this.getTagsForStencil("mxgraph.networks","mail_server","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.mainframe;",
80,100,"","Mainframe",null,null,this.getTagsForStencil("mxgraph.networks","mainframe","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.mobile;",50,100,"","Mobile",null,null,this.getTagsForStencil("mxgraph.networks","mobile","computer network ").join(" ")),
this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.modem;",100,30,"","Modem",null,null,this.getTagsForStencil("mxgraph.networks","modem","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.monitor;",
80,65,"","Monitor",null,null,this.getTagsForStencil("mxgraph.networks","monitor","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.nas_filer;",100,35,"","NAS Filer",null,null,this.getTagsForStencil("mxgraph.networks","NAS Filer",
"computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.patch_panel;",100,35,"","Patch Panel",null,null,this.getTagsForStencil("mxgraph.networks","patch_panel","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.pc;",
100,70,"","PC",null,null,this.getTagsForStencil("mxgraph.networks","pc","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.phone_1;",100,70,"","Phone",null,null,this.getTagsForStencil("mxgraph.networks","phone_1","computer network ").join(" ")),
this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.phone_2;",100,90,"","Phone",null,null,this.getTagsForStencil("mxgraph.networks","phone_2","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.printer;",
100,100,"","Printer",null,null,this.getTagsForStencil("mxgraph.networks","printer","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.proxy_server;",105,105,"","Proxy Server",null,null,this.getTagsForStencil("mxgraph.networks","proxy_server",
"computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.rack;",50,100,"","Rack",null,null,this.getTagsForStencil("mxgraph.networks","rack","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.radio_tower;",
55,100,"","Radio Tower",null,null,this.getTagsForStencil("mxgraph.networks","radio_tower","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.router;",100,30,"","Router",null,null,this.getTagsForStencil("mxgraph.networks","router",
"computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.satellite;",100,100,"","Satellite",null,null,this.getTagsForStencil("mxgraph.networks","satellite","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.satellite_dish;",
90,100,"","Satellite Dish",null,null,this.getTagsForStencil("mxgraph.networks","satellite_dish","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.scanner;",100,75,"","Scanner",null,null,this.getTagsForStencil("mxgraph.networks",
"scanner","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.secured;",80,100,"","Secured",null,null,this.getTagsForStencil("mxgraph.networks","secured","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.security_camera;",
100,75,"","Security Camera",null,null,this.getTagsForStencil("mxgraph.networks","security_camera","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.server;",90,100,"","Server",null,null,this.getTagsForStencil("mxgraph.networks",
"server","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.server_storage;",105,105,"","Server Storage",null,null,this.getTagsForStencil("mxgraph.networks","server_storage","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.storage;",
100,100,"","Storage",null,null,this.getTagsForStencil("mxgraph.networks","storage","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.supercomputer;",100,100,"","Supercomputer",null,null,this.getTagsForStencil("mxgraph.networks",
"supercomputer","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.switch;",100,30,"","Switch",null,null,this.getTagsForStencil("mxgraph.networks","switch","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.tablet;",
100,70,"","Tablet",null,null,this.getTagsForStencil("mxgraph.networks","tablet","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.tape_storage;",105,105,"","Tape Storage",null,null,this.getTagsForStencil("mxgraph.networks","tape_storage",
"computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.terminal;",80,65,"","Terminal",null,null,this.getTagsForStencil("mxgraph.networks","terminal","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.unsecure;",
80,100,"","Unsecure",null,null,this.getTagsForStencil("mxgraph.networks","unsecure","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.ups_enterprise;",100,100,"","UPS Enterprise",null,null,this.getTagsForStencil("mxgraph.networks",
"ups_enterprise","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.ups_small;",70,100,"","UPS Small",null,null,this.getTagsForStencil("mxgraph.networks","ups_small","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.usb_stick;",
45,100,"","USB Stick",null,null,this.getTagsForStencil("mxgraph.networks","usb_stick","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.users;",90,100,"","Users",null,null,this.getTagsForStencil("mxgraph.networks","users","computer network ").join(" ")),
this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.user_female;",40,100,"","User Female",null,null,this.getTagsForStencil("mxgraph.networks","user_female","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.user_male;",
40,100,"","User Male",null,null,this.getTagsForStencil("mxgraph.networks","user_male","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.video_projector;",100,35,"","Video Projector",null,null,this.getTagsForStencil("mxgraph.networks",
"video_projector","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.video_projector_screen;",80,100,"","Video Projector Screen",null,null,this.getTagsForStencil("mxgraph.networks","video_projector_screen","computer network ").join(" ")),
this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.virtual_pc;",115,85,"","Virtual PC",null,null,this.getTagsForStencil("mxgraph.networks","virtual_pc","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.virtual_server;",
110,120,"","Virtual Server",null,null,this.getTagsForStencil("mxgraph.networks","virtual_server","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.virus;",100,90,"","Virus",null,null,this.getTagsForStencil("mxgraph.networks","virus",
"computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.web_server;",105,105,"","Web Server",null,null,this.getTagsForStencil("mxgraph.networks","web_server","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.wireless_hub;",
100,85,"","Wireless Hub",null,null,this.getTagsForStencil("mxgraph.networks","wireless_hub","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor\x3d#0066CC;verticalAlign\x3dtop;verticalLabelPosition\x3dbottom;labelPosition\x3dcenter;align\x3dcenter;html\x3d1;fillColor\x3d#CCCCCC;strokeColor\x3d#6881B3;gradientColor\x3dnone;gradientDirection\x3dnorth;strokeWidth\x3d2;shape\x3dmxgraph.networks.wireless_modem;",100,85,"","Wireless Modem",null,null,this.getTagsForStencil("mxgraph.networks",
"wireless_modem","computer network ").join(" "))])}})();
(function(){Sidebar.prototype.addOfficePalette=function(){this.addOfficeCloudsPalette();this.addOfficeCommunicationsPalette();this.addOfficeConceptsPalette();this.addOfficeDatabasesPalette();this.addOfficeDevicesPalette();this.addOfficeSecurityPalette();this.addOfficeServersPalette();this.addOfficeServicesPalette();this.addOfficeSitesPalette();this.addOfficeUsersPalette()};Sidebar.prototype.addOfficeCloudsPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.azure;",103,
66,"","Azure",null,null,this.getTagsForStencil("mxgraph.office.clouds","azure","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.cloud;",94,55,"","Cloud",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.cloud_disaster;",
94,74,"","Cloud Disaster",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud disaster","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.cloud_disaster;fillColor\x3d#ff0000;",94,74,"","Cloud Disaster (Red)",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud disaster","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.cloud_exchange_online;",
100,61,"","Cloud Exchange Online",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud exchange online","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.cloud_service_request;",102,80,"","Cloud Service Request",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud service request","office cloud ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.cloud_sharepoint;",101,61,"","Cloud SharePoint",null,null,this.getTagsForStencil("mxgraph.office.clouds","cloud sharepoint","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.office_365;",
101,61,"","Office 365",null,null,this.getTagsForStencil("mxgraph.office.clouds","office 365","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.online_backup;",94,101,"","Online Backup",null,null,this.getTagsForStencil("mxgraph.office.clouds","online backup","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.online_user;",
93,74,"","Online User",null,null,this.getTagsForStencil("mxgraph.office.clouds","online user","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.private_cloud;",94,55,"","Private Cloud",null,null,this.getTagsForStencil("mxgraph.office.clouds","private cloud","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.public_cloud;",
101,81,"","Public Cloud",null,null,this.getTagsForStencil("mxgraph.office.clouds","public cloud","office cloud ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.clouds.public_im_cloud_service;",102,99,"","Public IM Cloud Service",null,null,this.getTagsForStencil("mxgraph.office.clouds","public im instant message cloud service",
"office cloud ").join(" "))];this.addPalette("officeClouds","Office / Clouds",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addOfficeCommunicationsPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.3rd_party_call_center_solution;",98,101,"","3rd Party Call Center Solution",
null,null,this.getTagsForStencil("mxgraph.office.communications","3rd party call center solution","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.3rd_party_integration;",54,55,"","3rd Party Integration",null,null,this.getTagsForStencil("mxgraph.office.communications","3rd party integration",
"office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.3rd_party_service;",53,54,"","3rd Party Service",null,null,this.getTagsForStencil("mxgraph.office.communications","3rd party service","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.application_sharing_workload;",
57,49,"","Application Sharing Workload",null,null,this.getTagsForStencil("mxgraph.office.communications","application sharing workload","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.audio_conferencing_application;",59,46,"","Audio Conferencing Application",null,null,this.getTagsForStencil("mxgraph.office.communications",
"audio_conferencing_application","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.central_management_service;",52,55,"","Central Management Service",null,null,this.getTagsForStencil("mxgraph.office.communications","central management service","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.chat_room;",
46,48,"","Chat Room",null,null,this.getTagsForStencil("mxgraph.office.communications","chat room","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.conference_announcement_service;",60,60,"","Conference Announcement Service",null,null,this.getTagsForStencil("mxgraph.office.communications","conference announcement service",
"office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.disconnected_mailbox;",60,55,"","Disconnected Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","disconnected mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.discovery_search_mailbox;",
55,49,"","Discovery Search Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","discovery search mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.dynamic_distribution_group;",58,59,"","Dynamic Distribution Group",null,null,this.getTagsForStencil("mxgraph.office.communications",
"dynamic distribution group","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.edge_subscription;",57,59,"","Edge Subscription",null,null,this.getTagsForStencil("mxgraph.office.communications","edge subscription","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.email_workloaad;",
57,47,"","Email Workloaad",null,null,this.getTagsForStencil("mxgraph.office.communications","email workloaad","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.equipment_mailbox;",59,59,"","Equipment Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","equipment mailbox",
"office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.exchange_active_sync;",49,49,"","Exchange Active Sync",null,null,this.getTagsForStencil("mxgraph.office.communications","exchange_active_sync","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.exchange_active_sync;fillColor\x3d#2072B8;",
49,49,"","Exchange Active Sync - Blue",null,null,this.getTagsForStencil("mxgraph.office.communications","exchange_active_sync","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.fax_partner;",45,56,"","Fax Partner",null,null,this.getTagsForStencil("mxgraph.office.communications","fax partner",
"office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.global_address_list;",59,53,"","Global Address List",null,null,this.getTagsForStencil("mxgraph.office.communications","global address list","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.hybrid_voip_gateway;",
59,38,"","Hybrid VOIP Gateway",null,null,this.getTagsForStencil("mxgraph.office.communications","hybrid voip gateway","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.im_workload;",56,54,"","IM Workload",null,null,this.getTagsForStencil("mxgraph.office.communications","im workload instant message",
"office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.journaling_rule;",52,58,"","Journaling Rule",null,null,this.getTagsForStencil("mxgraph.office.communications","journaling rule","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.local_move_request;",
57,57,"","Local Move Request",null,null,this.getTagsForStencil("mxgraph.office.communications","local move request","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.lync_control_panel;",69,58,"","Lync Control Panel",null,null,this.getTagsForStencil("mxgraph.office.communications","lync control panel",
"office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.lync_phone_edition;",80,45,"","Lync Phone Edition",null,null,this.getTagsForStencil("mxgraph.office.communications","lync phone edition","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.lync_room_system;",
80,42,"","Lync Room System",null,null,this.getTagsForStencil("mxgraph.office.communications","lync room system","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.lync_server_management_tool;",75,47,"","Lync Server Management Tool",null,null,this.getTagsForStencil("mxgraph.office.communications",
"lync server management tool","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.lync_storage_service;",66,59,"","Lync Storage Service",null,null,this.getTagsForStencil("mxgraph.office.communications","lync storage service","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.lync_web_app_client;",
83,50,"","Lync Web App Client",null,null,this.getTagsForStencil("mxgraph.office.communications","lync web app client","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.mail_enabled_public_folder;",58,52,"","Mail-Enabled Public Folder",null,null,this.getTagsForStencil("mxgraph.office.communications",
"mail enabled public folder","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.mailbox_assistant;",59,57,"","Mailbox Assistant",null,null,this.getTagsForStencil("mxgraph.office.communications","mailbox assistant","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.messages_queued;",
59,57,"","Messages Queued",null,null,this.getTagsForStencil("mxgraph.office.communications","messages queued","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.offline_address_book;",59,53,"","Offline Address Book",null,null,this.getTagsForStencil("mxgraph.office.communications","offline address book",
"office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.personal_archive_mailbox;",59,58,"","Personal Archive Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","personal archive mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.public_im_cloud_service;",
60,58,"","Public IM Cloud Service",null,null,this.getTagsForStencil("mxgraph.office.communications","public im cloud service instant message","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.push_notification_service;",50,58,"","Push Notification Service",null,null,this.getTagsForStencil("mxgraph.office.communications",
"push notification service","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.queue_viewer;",59,57,"","Queue Viewer",null,null,this.getTagsForStencil("mxgraph.office.communications","queue viewer","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.remote_mailbox;",
59,57,"","Remote Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","remote mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.remote_move_request;",60,57,"","Remote Move Request",null,null,this.getTagsForStencil("mxgraph.office.communications","remote move request",
"office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.response_group;",58,54,"","Response Group",null,null,this.getTagsForStencil("mxgraph.office.communications","response group","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.room_mailbox;",
60,57,"","Room Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","room mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.shared_mailbox;",60,55,"","Shared Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","shared mailbox","office communication ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.sip_uri_um_dial_plan;",55,56,"","SIP URI UM Dial Plan",null,null,this.getTagsForStencil("mxgraph.office.communications","sip uri um dial plan","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.site_mailbox;",
59,54,"","Site Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","site mailbox","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.skype_for_business_control_panel;",65,59,"","Skype for Business Control Panel",null,null,this.getTagsForStencil("mxgraph.office.communications",
"skype for business control panel","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.skype_for_business_phone_edition;",76,45,"","Skype for Business Phone Edition",null,null,this.getTagsForStencil("mxgraph.office.communications","skype for business phone edition","office communication ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.skype_for_business_room_system;",74,41,"","Skype for Business Room System",null,null,this.getTagsForStencil("mxgraph.office.communications","skype for business room system","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.skype_for_business_server_management_tool;",
72,48,"","Skype for Business Server Management Tool",null,null,this.getTagsForStencil("mxgraph.office.communications","skype for business server management tool","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.skype_for_business_storage_service;",62,58,"","Skype for Business Storage Service",
null,null,this.getTagsForStencil("mxgraph.office.communications","skype for business storage service","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.skype_for_business_web_app_client;",80,51,"","Skype for Business Web App Client",null,null,this.getTagsForStencil("mxgraph.office.communications",
"skype for business web app client","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.sms_gateway;",59,37,"","SMS Gateway",null,null,this.getTagsForStencil("mxgraph.office.communications","sms gateway","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.smtp_connector;",
47,49,"","SMTP Connector",null,null,this.getTagsForStencil("mxgraph.office.communications","smtp connector","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.system_mailbox;",58,55,"","System Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","system mailbox","office communication ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.tdm_pbx;",59,46,"","TDM PBX",null,null,this.getTagsForStencil("mxgraph.office.communications","tdm pbx","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.telephone_extension_dial_plan;",
55,56,"","Telephone Extension Dial Plan",null,null,this.getTagsForStencil("mxgraph.office.communications","telephone extension dial plan","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.transport_rule;",56,57,"","Transport Rule",null,null,this.getTagsForStencil("mxgraph.office.communications",
"transport rule","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.ucma_application;",53,40,"","UCMA Application",null,null,this.getTagsForStencil("mxgraph.office.communications","ucma application","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.ucwa_application;",
53,40,"","UCWA Application",null,null,this.getTagsForStencil("mxgraph.office.communications","ucwa application","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.um_auto_attendant;",57,57,"","UM Auto Attendant",null,null,this.getTagsForStencil("mxgraph.office.communications","um auto attendant",
"office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.um_dial_plan_e164;",55,56,"","UM Dial Plan E164",null,null,this.getTagsForStencil("mxgraph.office.communications","um dial plan e164","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.um_dial_plan_secondary;",
55,56,"","UM Dial Plan Secondary",null,null,this.getTagsForStencil("mxgraph.office.communications","um dial plan secondary","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.um_enabled_mailbox;",59,57,"","UM Enabled Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","um enabled mailbox",
"office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.um_hunt_group;",59,48,"","UM Hunt Group",null,null,this.getTagsForStencil("mxgraph.office.communications","um hunt group","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.um_ip_gateway;",
59,38,"","UM IP Gateway",null,null,this.getTagsForStencil("mxgraph.office.communications","um ip gateway internet protocol","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.user_mailbox;",59,55,"","User Mailbox",null,null,this.getTagsForStencil("mxgraph.office.communications","user mailbox",
"office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.video_workload;",57,50,"","Video Workload",null,null,this.getTagsForStencil("mxgraph.office.communications","video workload","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.voice_mail_preview;",
46,56,"","Voice Mail Preview",null,null,this.getTagsForStencil("mxgraph.office.communications","voice mail preview","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.voice_workload;",58,51,"","Voice Workload",null,null,this.getTagsForStencil("mxgraph.office.communications","voice workload","office communication ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.voip_gateway;",51,15,"","VoIP Gateway",null,null,this.getTagsForStencil("mxgraph.office.communications","voip gateway voice over ip internet protocol","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.watcher_node;",
52,56,"","Watcher Node",null,null,this.getTagsForStencil("mxgraph.office.communications","watcher node","office communication ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.communications.xmpp_service;",58,52,"","XMPP Service",null,null,this.getTagsForStencil("mxgraph.office.communications","xmpp service","office communication ").join(" "))];
this.addPalette("officeCommunications","Office / Communications",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addOfficeConceptsPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.address_book;",55,44,"","Address Book",null,null,this.getTagsForStencil("mxgraph.office.concepts",
"address book","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.address_book;",40,31,"","Address Book (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","address book small","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.anti_spam;",
55,47,"","Anti-Spam",null,null,this.getTagsForStencil("mxgraph.office.concepts","anti spam","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.application_android;",60,51,"","Application Android",null,null,this.getTagsForStencil("mxgraph.office.concepts","application android","office concept ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.application_generic;",53,40,"","Application Generic",null,null,this.getTagsForStencil("mxgraph.office.concepts","application generic","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.application_generic;",
40,30,"","Application Generic (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","application generic small","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.application_hybrid;",59,44,"","Application Hybrid",null,null,this.getTagsForStencil("mxgraph.office.concepts","application hybrid",
"office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.application_ios;",59,49,"","Application iOS",null,null,this.getTagsForStencil("mxgraph.office.concepts","application ios","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.application_web;",
56,49,"","Application Web",null,null,this.getTagsForStencil("mxgraph.office.concepts","application web","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.application_windows;",59,47,"","Application Windows",null,null,this.getTagsForStencil("mxgraph.office.concepts","application windows","office concept ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.app_for_office;",53,40,"","App for Office",null,null,this.getTagsForStencil("mxgraph.office.concepts","app for office","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.app_for_sharepoint;",
53,40,"","App For SharePoint",null,null,this.getTagsForStencil("mxgraph.office.concepts","app for sharepoint","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.app_part;",46,45,"","App Part",null,null,this.getTagsForStencil("mxgraph.office.concepts","app part","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.archive;",
35,55,"","Archive",null,null,this.getTagsForStencil("mxgraph.office.concepts","archive","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.attachment;",22,44,"","Attachment",null,null,this.getTagsForStencil("mxgraph.office.concepts","attachment","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.backup_local;",
48,44,"","Backup Local",null,null,this.getTagsForStencil("mxgraph.office.concepts","backup local","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.backup_online;",55,60,"","Backup Online",null,null,this.getTagsForStencil("mxgraph.office.concepts","backup online","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.bandwidth;",
45,45,"","Bandwidth",null,null,this.getTagsForStencil("mxgraph.office.concepts","bandwidth","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.bandwidth_calculator;",49,53,"","Bandwidth Calculator",null,null,this.getTagsForStencil("mxgraph.office.concepts","bandwidth calculator","office concept ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.best_practices;",53,53,"","Best Practices",null,null,this.getTagsForStencil("mxgraph.office.concepts","best practices","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.book_journal;",
41,49,"","Book, Journal",null,null,this.getTagsForStencil("mxgraph.office.concepts","book journal","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.calculator;",32,46,"","Calculator",null,null,this.getTagsForStencil("mxgraph.office.concepts","calculator","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.calendar;",
53,49,"","Calendar",null,null,this.getTagsForStencil("mxgraph.office.concepts","calendar","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.clipboard;",40,52,"","Clipboard",null,null,this.getTagsForStencil("mxgraph.office.concepts","clipboard","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.clipboard;",
30,39,"","Clipboard (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","clipboard small","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.clock;",45,45,"","Clock",null,null,this.getTagsForStencil("mxgraph.office.concepts","clock","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.clock;",
35,35,"","Clock (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","clock small","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.column;",52,43,"","Column",null,null,this.getTagsForStencil("mxgraph.office.concepts","column","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.connector;",
44,32,"","Connector",null,null,this.getTagsForStencil("mxgraph.office.concepts","connector","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.connector;",33,24,"","Connector (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","connector","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.contacts;",
53,39,"","Contacts",null,null,this.getTagsForStencil("mxgraph.office.concepts","contacts","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.content_type;",53,40,"","Content Type",null,null,this.getTagsForStencil("mxgraph.office.concepts","content type","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.credit_card;",
55,36,"","Credit Card",null,null,this.getTagsForStencil("mxgraph.office.concepts","credit card","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.document;",40,47,"","Document",null,null,this.getTagsForStencil("mxgraph.office.concepts","document","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.document;",
30,35,"","Document (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","document","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.documents;",46,54,"","Documents",null,null,this.getTagsForStencil("mxgraph.office.concepts","documents","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.documents_shared;",
58,59,"","Documents Shared",null,null,this.getTagsForStencil("mxgraph.office.concepts","documents shared","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.document_blank;",40,47,"","Document Blank",null,null,this.getTagsForStencil("mxgraph.office.concepts","document blank","office concept ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.document_blank;",30,35,"","Document Blank (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","document blank","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.document_shared;",
52,53,"","Document Shared",null,null,this.getTagsForStencil("mxgraph.office.concepts","document shared","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.download;",48,56,"","Download",null,null,this.getTagsForStencil("mxgraph.office.concepts","download","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.email;",
47,36,"","Email",null,null,this.getTagsForStencil("mxgraph.office.concepts","email","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.email;",31,24,"","Email (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","email","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.email_approved;",
56,46,"","Email Approved",null,null,this.getTagsForStencil("mxgraph.office.concepts","email approved","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.email_expired;",56,46,"","Email Expired",null,null,this.getTagsForStencil("mxgraph.office.concepts","email expired","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.email_rejected;",
55,45,"","Email Rejected",null,null,this.getTagsForStencil("mxgraph.office.concepts","email rejected","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.file_key;",48,53,"","File Key",null,null,this.getTagsForStencil("mxgraph.office.concepts","file key","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.firewall;",
47,43,"","Firewall",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.firewall;fillColor\x3d#2072B8;",47,43,"","Firewall (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.firewall;fillColor\x3d#DA4026;",
47,43,"","Firewall (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.firewall;fillColor\x3d#7FBA42;",47,43,"","Firewall (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.firewall;fillColor\x3d#CCCBCB;",
47,43,"","Firewall (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","firewall","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.folder;",50,45,"","Folder",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.folder;fillColor\x3d#2072B8;",
50,45,"","Folder (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.folder;fillColor\x3d#DA4026;",50,45,"","Folder (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.folder;fillColor\x3d#7FBA42;",
50,45,"","Folder (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.folder;fillColor\x3d#CCCBCB;",50,45,"","Folder (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.folder;",
33,30,"","Folder (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.folders;",57,53,"","Folders",null,null,this.getTagsForStencil("mxgraph.office.concepts","folders","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.folder_open;",
56,43,"","Folder, Open",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder open","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.folder_public;",58,52,"","Folder, Public",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder public","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.folder_shared;",
54,52,"","Folder, Shared",null,null,this.getTagsForStencil("mxgraph.office.concepts","folder shared","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.form;",56,49,"","Form",null,null,this.getTagsForStencil("mxgraph.office.concepts","form","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.get_started;",
42,52,"","Get Started",null,null,this.getTagsForStencil("mxgraph.office.concepts","get started","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.globe_internet;",49,49,"","Globe, Internet",null,null,this.getTagsForStencil("mxgraph.office.concepts","globe internet","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.help;",
49,49,"","Help",null,null,this.getTagsForStencil("mxgraph.office.concepts","help","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.help;",38,38,"","Help (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","help","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.home;",
51,50,"","Home",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.home;fillColor\x3d#2072B8;",51,50,"","Home (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.home;fillColor\x3d#DA4026;",
51,50,"","Home (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.home;fillColor\x3d#7FBA42;",51,50,"","Home (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.home;fillColor\x3d#CCCBCB;",
51,50,"","Home (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.home;",39,38,"","Home (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.home_page;",
53,43,"","Home Page",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.home_page;fillColor\x3d#2072B8;",53,43,"","Home Page (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.home_page;fillColor\x3d#DA4026;",
53,43,"","Home Page (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.home_page;fillColor\x3d#7FBA42;",53,43,"","Home Page (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.home_page;fillColor\x3d#CCCBCB;",
53,43,"","Home Page (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","home page","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.hybrid;",58,52,"","Hybrid",null,null,this.getTagsForStencil("mxgraph.office.concepts","hybrid","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.input_output_filter;",
46,46,"","Input Output Filter",null,null,this.getTagsForStencil("mxgraph.office.concepts","input output filter","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.install;",45,52,"","Install",null,null,this.getTagsForStencil("mxgraph.office.concepts","install","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.integration;",
44,43,"","Integration",null,null,this.getTagsForStencil("mxgraph.office.concepts","integration","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.lab;",47,50,"","Lab",null,null,this.getTagsForStencil("mxgraph.office.concepts","lab","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.learn;",
56,57,"","Learn",null,null,this.getTagsForStencil("mxgraph.office.concepts","learn","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.license;",45,52,"","License",null,null,this.getTagsForStencil("mxgraph.office.concepts","license","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.link;",
61,21,"","Link",null,null,this.getTagsForStencil("mxgraph.office.concepts","link","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.list_library;",52,48,"","List Library",null,null,this.getTagsForStencil("mxgraph.office.concepts","list library","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.mailbox;",
53,49,"","Mailbox",null,null,this.getTagsForStencil("mxgraph.office.concepts","mailbox","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.mailbox;",40,38,"","Mailbox (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","mailbox","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.mailbox2;",
53,49,"","Mailbox",null,null,this.getTagsForStencil("mxgraph.office.concepts","mailbox2","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.mailbox2;",40,38,"","Mailbox (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","mailbox2","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.maintenance;",
39,56,"","Maintenance",null,null,this.getTagsForStencil("mxgraph.office.concepts","maintenance","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.marketplace_shopping_bag;",36,46,"","Marketplace, Shopping Bag",null,null,this.getTagsForStencil("mxgraph.office.concepts","marketplace shopping bag","office concept ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.meets_requirements;",56,53,"","Meets Requirements",null,null,this.getTagsForStencil("mxgraph.office.concepts","meets requirements","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.migration;",
59,34,"","Migration",null,null,this.getTagsForStencil("mxgraph.office.concepts","migration","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.moes;",40,47,"","MOEs",null,null,this.getTagsForStencil("mxgraph.office.concepts","moes","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.navigation;",
53,40,"","Navigation",null,null,this.getTagsForStencil("mxgraph.office.concepts","navigation","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.node_generic;",46,52,"","Node, Generic",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.node_generic;fillColor\x3d#2072B8;",
46,52,"","Node, Generic (blue)",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.node_generic;fillColor\x3d#DA4026;",46,52,"","Node, Generic (orange)",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.node_generic;fillColor\x3d#7FBA42;",46,52,"","Node, Generic (green)",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.node_generic;fillColor\x3d#CCCBCB;",
46,52,"","Node, Generic (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.concepts","node generic","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.office_installed;",58,48,"","Office Installed",null,null,this.getTagsForStencil("mxgraph.office.concepts","office installed","office concept ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.on_premises;",34,55,"","On Premises",null,null,this.getTagsForStencil("mxgraph.office.concepts","on premises","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.on_premises_directory;",
50,59,"","On Premises Directory",null,null,this.getTagsForStencil("mxgraph.office.concepts","on premises directory","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.phishing;",59,47,"","Phishing",null,null,this.getTagsForStencil("mxgraph.office.concepts","phishing","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.pin;",
24,44,"","Pin",null,null,this.getTagsForStencil("mxgraph.office.concepts","pin","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.platform_options;",58,52,"","Platform Options",null,null,this.getTagsForStencil("mxgraph.office.concepts","platform options","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.powershell;",
45,45,"","PowerShell",null,null,this.getTagsForStencil("mxgraph.office.concepts","powershell","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.properties;",50,49,"","Properties",null,null,this.getTagsForStencil("mxgraph.office.concepts","properties","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.publish;",
57,48,"","Publish",null,null,this.getTagsForStencil("mxgraph.office.concepts","publish","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.remote_access;",59,41,"","Remote Access",null,null,this.getTagsForStencil("mxgraph.office.concepts","remote access","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.script;",
53,49,"","Script",null,null,this.getTagsForStencil("mxgraph.office.concepts","script","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.search;",49,49,"","Search",null,null,this.getTagsForStencil("mxgraph.office.concepts","search","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.search;",
35,35,"","Search (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","search","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.service_application;",59,48,"","Service Application",null,null,this.getTagsForStencil("mxgraph.office.concepts","service application","office concept ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.settings;",48,48,"","Settings",null,null,this.getTagsForStencil("mxgraph.office.concepts","settings","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.settings_office_365;",
48,48,"","Settings, Office 365",null,null,this.getTagsForStencil("mxgraph.office.concepts","settings office 365","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.settings_office_365;",31,31,"","Settings, Office 365 (small)",null,null,this.getTagsForStencil("mxgraph.office.concepts","settings office 365",
"office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.sign_up;",51,47,"","Sign Up",null,null,this.getTagsForStencil("mxgraph.office.concepts","sign up","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.sound_file;",
40,50,"","Sound File",null,null,this.getTagsForStencil("mxgraph.office.concepts","sound file","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.tasks;",40,52,"","Tasks",null,null,this.getTagsForStencil("mxgraph.office.concepts","tasks","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.technical_diagram;",
50,56,"","Technical Diagram",null,null,this.getTagsForStencil("mxgraph.office.concepts","technical diagram","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.upgrade_application;",58,42,"","Upgrade Application",null,null,this.getTagsForStencil("mxgraph.office.concepts","upgrade application","office concept ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.upgrade_server;",39,52,"","Upgrade Server",null,null,this.getTagsForStencil("mxgraph.office.concepts","upgrade server","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.upgrade_site;",
59,48,"","Upgrade Site",null,null,this.getTagsForStencil("mxgraph.office.concepts","upgrade site","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.upload;",48,55,"","Upload",null,null,this.getTagsForStencil("mxgraph.office.concepts","upload","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.video_form;",
58,49,"","Video Form",null,null,this.getTagsForStencil("mxgraph.office.concepts","video form","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.video_play;",50,40,"","Video Play",null,null,this.getTagsForStencil("mxgraph.office.concepts","video play","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.voicemail;",
53,34,"","Voicemail",null,null,this.getTagsForStencil("mxgraph.office.concepts","voicemail","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.voicemail_preview;",57,52,"","Voicemail Preview",null,null,this.getTagsForStencil("mxgraph.office.concepts","voicemail preview","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.walkthrough;",
41,58,"","Walkthrough",null,null,this.getTagsForStencil("mxgraph.office.concepts","walkthrough","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.website;",59,49,"","Website",null,null,this.getTagsForStencil("mxgraph.office.concepts","website","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.web_conferencing;",
60,56,"","Web Conferencing",null,null,this.getTagsForStencil("mxgraph.office.concepts","web conferencing","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.web_page;",50,54,"","Web Page",null,null,this.getTagsForStencil("mxgraph.office.concepts","web page","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.web_part;",
45,52,"","Web Part",null,null,this.getTagsForStencil("mxgraph.office.concepts","web part","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.web_services;",60,56,"","Web Services",null,null,this.getTagsForStencil("mxgraph.office.concepts","web services","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.whats_new;",
55,38,"","Whats New",null,null,this.getTagsForStencil("mxgraph.office.concepts","whats new","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.writing_pen;",54,54,"","Writing, Pen",null,null,this.getTagsForStencil("mxgraph.office.concepts","writing pen","office concept ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.concepts.writing_pencil;",
50,50,"","Writing, Pencil",null,null,this.getTagsForStencil("mxgraph.office.concepts","writing pencil","office concept ").join(" "))];this.addPalette("officeConcepts","Office / Concepts",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addOfficeDatabasesPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.address_book_store;",
50,54,"","Address Book Store",null,null,this.getTagsForStencil("mxgraph.office.databases","address_book_store","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.application_store;",49,53,"","Application Store",null,null,this.getTagsForStencil("mxgraph.office.databases","application store","office database db ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database;",35,49,"","Database",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database;fillColor\x3d#2072B8;",
35,49,"","Database (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database;fillColor\x3d#DA4026;",35,49,"","Database (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database;fillColor\x3d#7FBA42;",
35,49,"","Database (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database;fillColor\x3d#CCCBCB;",35,49,"","Database (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database;",
28,38,"","Database (small)",null,null,this.getTagsForStencil("mxgraph.office.databases","","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_availability_group;",59,59,"","Database Availability Group",null,null,this.getTagsForStencil("mxgraph.office.databases","availability group","office database db ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_cube;",47,52,"","Database Cube",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_cube;fillColor\x3d#2072B8;",
47,52,"","Database Cube (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_cube;fillColor\x3d#DA4026;",47,52,"","Database Cube (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_cube;fillColor\x3d#7FBA42;",47,52,"","Database Cube (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_cube;fillColor\x3d#CCCBCB;",
47,52,"","Database Cube (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","cube","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_1;",35,27,"","Database, Mini",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_1;fillColor\x3d#2072B8;",
35,27,"","Database, Mini (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_1;fillColor\x3d#DA4026;",35,27,"","Database, Mini (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_1;fillColor\x3d#7FBA42;",35,27,"","Database, Mini (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_1;fillColor\x3d#CCCBCB;",
35,27,"","Database, Mini (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_2;",35,42,"","Database, Mini",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_2;fillColor\x3d#2072B8;",
35,42,"","Database, Mini (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_2;fillColor\x3d#DA4026;",35,42,"","Database, Mini (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_2;fillColor\x3d#7FBA42;",35,42,"","Database, Mini (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_2;fillColor\x3d#CCCBCB;",
35,42,"","Database, Mini (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_3;",35,57,"","Database, Mini",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_3;fillColor\x3d#2072B8;",
35,57,"","Database, Mini (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_3;fillColor\x3d#DA4026;",35,57,"","Database, Mini (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_3;fillColor\x3d#7FBA42;",35,57,"","Database, Mini (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mini_3;fillColor\x3d#CCCBCB;",
35,57,"","Database, Mini (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","Mini","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mirror;",60,59,"","Database Mirror",null,null,this.getTagsForStencil("mxgraph.office.databases","mirror","office database db ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_mirror_witness_node;",60,59,"","Database Mirror Witness Node",null,null,this.getTagsForStencil("mxgraph.office.databases","mirror witness node","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_partition_2;",
57,59,"","Database Partition",null,null,this.getTagsForStencil("mxgraph.office.databases","partition","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_partition_3;",57,59,"","Database Partition",null,null,this.getTagsForStencil("mxgraph.office.databases","partition","office database db ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_partition_4;",57,59,"","Database Partition",null,null,this.getTagsForStencil("mxgraph.office.databases","partition","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_partition_5;",
57,59,"","Database Partition",null,null,this.getTagsForStencil("mxgraph.office.databases","partition","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_public_folder;",53,54,"","Database Public Folder",null,null,this.getTagsForStencil("mxgraph.office.databases","public folder","office database db ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_server;",43,57,"","Database Server",null,null,this.getTagsForStencil("mxgraph.office.databases","server","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_server_blue;",
43,57,"","Database Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.databases","server blue","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_server_orange;",43,57,"","Database Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.databases","server blue","office database db ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_server_green;",43,57,"","Database Server (green)",null,null,this.getTagsForStencil("mxgraph.office.databases","server blue","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.database_server_ghosted;",
43,57,"","Database Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.databases","server blue","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.mailbox_database;",53,55,"","Mailbox Database",null,null,this.getTagsForStencil("mxgraph.office.databases","mailbox","office database db ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.monitoring_store;",58,58,"","Monitoring Store",null,null,this.getTagsForStencil("mxgraph.office.databases","monitoring store","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.unified_contact_store;",
54,55,"","Unified Contact Store",null,null,this.getTagsForStencil("mxgraph.office.databases","unified contact store","office database db ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.databases.web_store;",50,54,"","Web Store",null,null,this.getTagsForStencil("mxgraph.office.databases","web store","office database db ").join(" "))];
this.addPalette("officeDatabases","Office / Databases",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addOfficeDevicesPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.bluetooth;",56,57,"","Bluetooth",null,null,this.getTagsForStencil("mxgraph.office.devices",
"bluetooth","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.cd_dvd;",49,49,"","CD, DVD",null,null,this.getTagsForStencil("mxgraph.office.devices","cd dvd compact disc digital video drive","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.cell_phone_android_proportional;",
17,31,"","Cell Phone, Android, Proportional",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone android proportional","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.cell_phone_android_standalone;",24,44,"","Cell Phone, Android, Standalone",null,null,this.getTagsForStencil("mxgraph.office.devices",
"cell phone android standalone","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.cell_phone_generic;",26,47,"","Cell Phone, Generic",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone generic","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.cell_phone_generic;",
21,37,"","Cell Phone, Generic (small)",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone generic small","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.cell_phone_iphone_proportional;",17,29,"","Cell Phone, iPhone, Proportional",null,null,this.getTagsForStencil("mxgraph.office.devices",
"cell phone iphone proportional","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.cell_phone_iphone_standalone;",25,42,"","Cell Phone, iPhone, Standalone",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone iphone standalone","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.cell_phone_windows_phone_proportional;",
16,29,"","Cell Phone, Windows Phone, Proportional",null,null,this.getTagsForStencil("mxgraph.office.devices","cell phone windows phone proportional","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.cell_phone_windows_phone_standalone;",24,42,"","Cell Phone, Windows Phone, Standalone",null,null,this.getTagsForStencil("mxgraph.office.devices",
"cell phone windows standalone","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.data_jack;",47,47,"","Data Jack",null,null,this.getTagsForStencil("mxgraph.office.devices","data jack","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.device_update_service;",
50,54,"","Device Update Service",null,null,this.getTagsForStencil("mxgraph.office.devices","device update service","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.fax;",57,47,"","Fax",null,null,this.getTagsForStencil("mxgraph.office.devices","fax","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.hard_disk;",
40,54,"","Hard Disk",null,null,this.getTagsForStencil("mxgraph.office.devices","hard disk hdd drive","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.headset;",36,48,"","Headset",null,null,this.getTagsForStencil("mxgraph.office.devices","headset","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.ipad_mini;",
33,47,"","iPad, Mini",null,null,this.getTagsForStencil("mxgraph.office.devices","ipad mini","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.ip_gateway;",59,40,"","IP Gateway",null,null,this.getTagsForStencil("mxgraph.office.devices","ip gateway","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.ip_pbx;",
59,39,"","IP PBX",null,null,this.getTagsForStencil("mxgraph.office.devices","ip pbx","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.laptop;",58,34,"","Laptop",null,null,this.getTagsForStencil("mxgraph.office.devices","laptop","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.lcd_monitor;",
58,48,"","LCD Monitor",null,null,this.getTagsForStencil("mxgraph.office.devices","lcd monitor","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.lcd_monitor;",39,32,"","LCD Monitor (small)",null,null,this.getTagsForStencil("mxgraph.office.devices","lcd monitor small","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.load_balancer;",
59,39,"","Load Balancer",null,null,this.getTagsForStencil("mxgraph.office.devices","load balancer","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.mac_client;",58,48,"","Mac Client",null,null,this.getTagsForStencil("mxgraph.office.devices","mac client","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.management_console;",
58,48,"","Management Console",null,null,this.getTagsForStencil("mxgraph.office.devices","management console","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.microphone;",53,37,"","Microphone",null,null,this.getTagsForStencil("mxgraph.office.devices","microphone","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.modem;",
54,34,"","Modem",null,null,this.getTagsForStencil("mxgraph.office.devices","modem","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.nic;",57,38,"","NIC",null,null,this.getTagsForStencil("mxgraph.office.devices","nic","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.phone_digital;",
49,42,"","Phone, Digital",null,null,this.getTagsForStencil("mxgraph.office.devices","phone digital","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.phone_traditional;",48,40,"","Phone, Traditional",null,null,this.getTagsForStencil("mxgraph.office.devices","phone traditional","office device ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.phone_usb;",58,51,"","Phone, USB",null,null,this.getTagsForStencil("mxgraph.office.devices","phone usb","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.phone_voip;",
57,51,"","Phone, VoIP",null,null,this.getTagsForStencil("mxgraph.office.devices","phone voip voice over internet protocol","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.printer;",56,47,"","Printer",null,null,this.getTagsForStencil("mxgraph.office.devices","printer","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.roundtable;",
50,58,"","Roundtable",null,null,this.getTagsForStencil("mxgraph.office.devices","roundtable","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.router;",55,56,"","Router",null,null,this.getTagsForStencil("mxgraph.office.devices","router","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.session_border_controller;",
59,52,"","Session Border Controller",null,null,this.getTagsForStencil("mxgraph.office.devices","session border controller","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.shadowed_router;",59,59,"","Shadowed Router",null,null,this.getTagsForStencil("mxgraph.office.devices","shadowed router","office device ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.stylus;",57,57,"","Stylus",null,null,this.getTagsForStencil("mxgraph.office.devices","stylus","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.switch;",
55,18,"","Switch",null,null,this.getTagsForStencil("mxgraph.office.devices","switch","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.tablet_android;",56,37,"","Tablet, Android",null,null,this.getTagsForStencil("mxgraph.office.devices","tablet android","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.tablet_ipad;",
39,52,"","Tablet, iPad",null,null,this.getTagsForStencil("mxgraph.office.devices","tablet ipad","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.tablet_windows_7inch;",34,47,"","Tablet, Windows, 7inch",null,null,this.getTagsForStencil("mxgraph.office.devices","tablet windows seven inch","office device ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.tablet_windows_8;",56,35,"","Tablet, Windows 8",null,null,this.getTagsForStencil("mxgraph.office.devices","tablet windows eight","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.tv;",
59,45,"","TV",null,null,this.getTagsForStencil("mxgraph.office.devices","tv television","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.video_camera;",52,25,"","Video Camera",null,null,this.getTagsForStencil("mxgraph.office.devices","video camera","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.video_gateway;",
59,41,"","Video Gateway",null,null,this.getTagsForStencil("mxgraph.office.devices","video gateway","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.webcam;",40,50,"","Webcam",null,null,this.getTagsForStencil("mxgraph.office.devices","webcam","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.webcam_hd;",
56,59,"","Webcam, HD",null,null,this.getTagsForStencil("mxgraph.office.devices","webcam hd high definition","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.workstation;",53,56,"","Workstation",null,null,this.getTagsForStencil("mxgraph.office.devices","workstation","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.workstation_pc;",
53,59,"","Workstation, PC",null,null,this.getTagsForStencil("mxgraph.office.devices","workstation pc personal computer","office device ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.devices.workstation_visual_studio;",53,59,"","Workstation, Visual Studio",null,null,this.getTagsForStencil("mxgraph.office.devices","workstation visual studio",
"office device ").join(" "))];this.addPalette("officeDevices","Office / Devices",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addOfficeSecurityPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.active_directory;",53,46,"","Active Directory",null,null,
this.getTagsForStencil("mxgraph.office.security","active directory","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.address_book_policies;",55,53,"","Address Book Policies",null,null,this.getTagsForStencil("mxgraph.office.security","address book policies","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.certificate;",
58,50,"","Certificate",null,null,this.getTagsForStencil("mxgraph.office.security","certificate","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.certificate;",39,33,"","Certificate (small)",null,null,this.getTagsForStencil("mxgraph.office.security","certificate small","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.credentials;",
56,58,"","Credentials",null,null,this.getTagsForStencil("mxgraph.office.security","credentials","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.domain;",53,46,"","Domain",null,null,this.getTagsForStencil("mxgraph.office.security","domain","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.domain;",
41,36,"","Domain (small)",null,null,this.getTagsForStencil("mxgraph.office.security","domain","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.email_address_policy;",55,53,"","Email Address Policy",null,null,this.getTagsForStencil("mxgraph.office.security","email address policy","office security ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.federation_service;",58,59,"","Federation Service",null,null,this.getTagsForStencil("mxgraph.office.security","federation service","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.federation_trust;",
58,59,"","Federation Trust",null,null,this.getTagsForStencil("mxgraph.office.security","federation trust","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.irm_protected_message;",56,50,"","IRM-Protected Message",null,null,this.getTagsForStencil("mxgraph.office.security","irm protected message","office security ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.key_permissions;",25,53,"","Key, Permissions",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.key_permissions;fillColor\x3d#2072B8;",
25,53,"","Key, Permissions (blue)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.key_permissions;fillColor\x3d#DA4026;",25,53,"","Key, Permissions (orange)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.key_permissions;fillColor\x3d#7FBA42;",25,53,"","Key, Permissions (green)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.key_permissions;fillColor\x3d#CCCBCB;",
25,53,"","Key, Permissions (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.key_permissions;",19,40,"","Key, Permissions (small)",null,null,this.getTagsForStencil("mxgraph.office.security","key permissions small","office security ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_protected;",38,52,"","Lock, Protected",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_protected;fillColor\x3d#2072B8;",
38,52,"","Lock, Protected (blue)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_protected;fillColor\x3d#DA4026;",38,52,"","Lock, Protected (orange)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_protected;fillColor\x3d#7FBA42;",38,52,"","Lock, Protected (green)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_protected;fillColor\x3d#CCCBCB;",
38,52,"","Lock, Protected (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_protected;",28,37,"","Lock, Protected (small)",null,null,this.getTagsForStencil("mxgraph.office.security","lock protected small","office security ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_unprotected;",38,55,"","Lock, Unprotected",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_unprotected;fillColor\x3d#2072B8;",
38,55,"","Lock, Unprotected (blue)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_unprotected;fillColor\x3d#DA4026;",38,55,"","Lock, Unprotected (orange)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_unprotected;fillColor\x3d#7FBA42;",38,55,"","Lock, Unprotected (green)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_unprotected;fillColor\x3d#CCCBCB;",
38,55,"","Lock, Unprotected (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_unprotected;",28,40,"","Lock, Unprotected (small)",null,null,this.getTagsForStencil("mxgraph.office.security","lock unprotected small",
"office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_with_key_security;",47,58,"","Lock With Key, Security",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_with_key_security_blue;",
47,58,"","Lock With Key, Security (blue)",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_with_key_security_orange;",47,58,"","Lock With Key, Security (orange)",null,null,this.getTagsForStencil("mxgraph.office.security",
"lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_with_key_security_green;",47,58,"","Lock With Key, Security (green)",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.lock_with_key_security_ghosted;",
47,58,"","Lock With Key, Security (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.security","lock with key security","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.management_role;",45,45,"","Management Role",null,null,this.getTagsForStencil("mxgraph.office.security","management role","office security ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.policy;",53,49,"","Policy",null,null,this.getTagsForStencil("mxgraph.office.security","policy","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.policy;",
39,36,"","Policy (small)",null,null,this.getTagsForStencil("mxgraph.office.security","policy small","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.protected_voice_mail;",59,51,"","Protected Voice Mail",null,null,this.getTagsForStencil("mxgraph.office.security","protected voice mail","office security ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.retention_policy;",54,55,"","Retention Policy",null,null,this.getTagsForStencil("mxgraph.office.security","retention policy","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.retention_policy_tag;",
56,58,"","Retention Policy Tag",null,null,this.getTagsForStencil("mxgraph.office.security","retention policy tag","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.role_assignment_policy;",55,54,"","Role Assignment Policy",null,null,this.getTagsForStencil("mxgraph.office.security","role assignment policy",
"office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.role_group;",59,56,"","Role Group",null,null,this.getTagsForStencil("mxgraph.office.security","role group","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.secure_messaging;",
55,46,"","Secure Messaging",null,null,this.getTagsForStencil("mxgraph.office.security","secure messaging","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.security_access_portal;",64,55,"","Security Access Portal",null,null,this.getTagsForStencil("mxgraph.office.security","security access portal","office security ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.sharing_policy;",56,53,"","Sharing Policy",null,null,this.getTagsForStencil("mxgraph.office.security","sharing policy","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.split_domain_user;",
59,55,"","Split-Domain User",null,null,this.getTagsForStencil("mxgraph.office.security","split domain user","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.token;",41,52,"","Token",null,null,this.getTagsForStencil("mxgraph.office.security","token","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.token;",
29,37,"","Token (small)",null,null,this.getTagsForStencil("mxgraph.office.security","token small","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.token_service;",60,56,"","Token Service",null,null,this.getTagsForStencil("mxgraph.office.security","token service","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.trusted_application_server;",
46,57,"","Trusted Application Server",null,null,this.getTagsForStencil("mxgraph.office.security","trusted application server","office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.um_mailbox_policy;",55,53,"","UM Mailbox Policy",null,null,this.getTagsForStencil("mxgraph.office.security","um mailbox policy",
"office security ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.security.universal_security_group;",58,58,"","Universal Security Group",null,null,this.getTagsForStencil("mxgraph.office.security","universal security group","office security ").join(" "))];this.addPalette("officeSecurity","Office / Security",!1,mxUtils.bind(this,
function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addOfficeServersPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.3rd_party_mail_server;",47,59,"","3rd Party Mail Server",null,null,this.getTagsForStencil("mxgraph.office.servers","3rd party mail server","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.active_directory_federation_services_proxy;",44,55,"","Active Directory Federation Services Proxy",null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services proxy","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.active_directory_federation_services_server;",
45,56,"","Active Directory Federation Services Server",null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.active_directory_federation_services_server_blue;",45,56,"","Active Directory Federation Services Server (blue)",
null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.active_directory_federation_services_server_orange;",45,56,"","Active Directory Federation Services Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers",
"active directory federation services server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.active_directory_federation_services_server_green;",45,56,"","Active Directory Federation Services Server (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server",
"office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.active_directory_federation_services_server_ghosted;",45,56,"","Active Directory Federation Services Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","active directory federation services server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.application_server;",
46,56,"","Application Server",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.application_server_blue;",46,56,"","Application Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.application_server_orange;",46,56,"","Application Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.application_server_green;",
46,56,"","Application Server (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","application server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.application_server_ghosted;",46,56,"","Application Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","application server",
"office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.call_admission_control_service;",50,60,"","Call Admission Control Service",null,null,this.getTagsForStencil("mxgraph.office.servers","call admission control service","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.certificate_authority;",
46,59,"","Certificate Authority",null,null,this.getTagsForStencil("mxgraph.office.servers","certificate authority","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.cluster_server;",49,59,"","Cluster Server",null,null,this.getTagsForStencil("mxgraph.office.servers","cluster_server","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.database_server;",43,56,"","Database Server",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.database_server_blue;",
43,56,"","Database Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.database_server_orange;",43,56,"","Database Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.database_server_green;",43,56,"","Database Server (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.database_server_ghosted;",
43,56,"","Database Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","database_server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.datacenter;",53,53,"","Datacenter",null,null,this.getTagsForStencil("mxgraph.office.servers","datacenter","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.dirsync_server;",
47,56,"","DirSync Server",null,null,this.getTagsForStencil("mxgraph.office.servers","dirsync server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.domain_controller;",45,55,"","Domain Controller",null,null,this.getTagsForStencil("mxgraph.office.servers","domain controller","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.excahnge_client_access_server_role;",52,59,"","Excahnge Client Access Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","excahnge client access server role","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.exchange_edge_transport_server_role;",
52,55,"","Exchange Edge Transport Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange edge transport server role","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.exchange_hub_transport_server_role;",52,59,"","Exchange Hub Transport Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers",
"exchange hub transport server role","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.exchange_mailbox_server_role;",52,59,"","Exchange Mailbox Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange mailbox server role","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.exchange_um_server_role;",
52,59,"","Exchange UM Server Role",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange um server role","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.exchange_client_access_server;",57,59,"","Exchange Client Access Server",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange client access server",
"office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.exchange_edge_transport_server;",57,55,"","Exchange Edge Transport Server",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange edge transport server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.exchange_mailbox_server;",
57,59,"","Exchange Mailbox Server",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange mailbox server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.exchange_server;",57,55,"","Exchange Server",null,null,this.getTagsForStencil("mxgraph.office.servers","exchange server","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.file_server;",45,56,"","File Server",null,null,this.getTagsForStencil("mxgraph.office.servers","file server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.hybrid_server;",
59,52,"","Hybrid Server",null,null,this.getTagsForStencil("mxgraph.office.servers","hybrid server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.mainframe;",58,42,"","Mainframe",null,null,this.getTagsForStencil("mxgraph.office.servers","mainframe","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.mainframe_host;",
44,42,"","Mainframe Host",null,null,this.getTagsForStencil("mxgraph.office.servers","mainframe host","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.monitoring_sql_reporting_services;",50,59,"","Monitoring SQL Reporting Services",null,null,this.getTagsForStencil("mxgraph.office.servers","monitoring sql reporting services",
"office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.network;",34,57,"","Network",null,null,this.getTagsForStencil("mxgraph.office.servers","network","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.office_web_apps_server;",
52,56,"","Office Web Apps Server",null,null,this.getTagsForStencil("mxgraph.office.servers","office web apps server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.on_premises_server;",44,58,"","On Premises Server",null,null,this.getTagsForStencil("mxgraph.office.servers","on premises server","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.physical_host;fillColor\x3d#2072B8;",27,52,"","Physical Host",null,null,this.getTagsForStencil("mxgraph.office.servers","physical host","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.physical_host_farm;fillColor\x3d#2072B8;",
56,49,"","Physical Host Farm",null,null,this.getTagsForStencil("mxgraph.office.servers","physical host farm","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.reverse_proxy;",41,53,"","Reverse Proxy",null,null,this.getTagsForStencil("mxgraph.office.servers","reverse proxy","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.scom;",
56,53,"","SCOM",null,null,this.getTagsForStencil("mxgraph.office.servers","scom","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_disaster;",46,57,"","Server Disaster",null,null,this.getTagsForStencil("mxgraph.office.servers","server disaster","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_farm;",
56,49,"","Server Farm",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_farm;fillColor\x3d#2072B8;",56,49,"","Server Farm (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_farm;fillColor\x3d#DA4026;",56,49,"","Server Farm (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_farm;fillColor\x3d#7FBA42;",
56,49,"","Server Farm (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_farm;fillColor\x3d#CCCBCB;",56,49,"","Server Farm (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","server_farm","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_generic;",27,52,"","Server, Generic",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_generic;fillColor\x3d#2072B8;",
27,52,"","Server, Generic (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_generic;fillColor\x3d#DA4026;",27,52,"","Server, Generic (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_generic;fillColor\x3d#7FBA42;",27,52,"","Server, Generic (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_generic;fillColor\x3d#CCCBCB;",
27,52,"","Server, Generic (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_generic;",20,39,"","Server, Generic (small)",null,null,this.getTagsForStencil("mxgraph.office.servers","server generic small","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.server_side_code;",49,56,"","Server Side Code",null,null,this.getTagsForStencil("mxgraph.office.servers","server side code","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.sharepoint_server;",
56,55,"","Sharepoint Server",null,null,this.getTagsForStencil("mxgraph.office.servers","sharepoint server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.skype_for_business_back_end_server;",54,60,"","Skype for Business Back End Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business back end server",
"office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.skype_for_business_back_end_server_mirror;",54,60,"","Skype for Business Back End Server Mirror",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business back end server mirror","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.skype_for_business_director;",
54,55,"","Skype for Business Director",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business director","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.skype_for_business_director_array;",70,60,"","Skype for Business Director Array",null,null,this.getTagsForStencil("mxgraph.office.servers",
"skype for business director array","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.skype_for_business_edge_server;",54,55,"","Skype for Business Edge Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business edge server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.skype_for_business_edge_server_pool;",
70,60,"","Skype for Business Edge Server Pool",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business edge server pool","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.skype_for_business_front_end_pool;",70,60,"","Skype for Business Front End Pool",null,null,this.getTagsForStencil("mxgraph.office.servers",
"skype for business front end pool","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.skype_for_business_front_end_server;",54,60,"","Skype for Business Front End Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business front end server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.skype_for_business_mediation_server;",
54,60,"","Skype for Business Mediation Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business mediation server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.skype_for_business_monitoring_server;",54,60,"","Skype for Business Monitoring Server",null,null,this.getTagsForStencil("mxgraph.office.servers",
"skype for business monitoring server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.skype_for_business_persistent_chat_server;",54,58,"","Skype for Business Persistent Chat Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business persistent chat server","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.skype_for_business_server;",54,55,"","Skype for Business Server",null,null,this.getTagsForStencil("mxgraph.office.servers","skype for business server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.sql_server;",
43,56,"","SQL Server",null,null,this.getTagsForStencil("mxgraph.office.servers","sql server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.survivable_branch_appliance;",37,59,"","Survivable Branch Appliance",null,null,this.getTagsForStencil("mxgraph.office.servers","survivable branch appliance","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.survivable_branch_server;",42,58,"","Survivable Branch Server",null,null,this.getTagsForStencil("mxgraph.office.servers","survivable branch server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.topology_builder;",
59,59,"","Topology Builder",null,null,this.getTagsForStencil("mxgraph.office.servers","topology builder","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.trusted_application_pool;",59,59,"","Trusted Application Pool",null,null,this.getTagsForStencil("mxgraph.office.servers","trusted application pool","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.trusted_application_server;",43,52,"","Trusted Application Server",null,null,this.getTagsForStencil("mxgraph.office.servers","trusted application server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.tunnel_angled;",
55,35,"","Tunnel Angled",null,null,this.getTagsForStencil("mxgraph.office.servers","tunnel angled","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.tunnel_straight;",59,10,"","Tunnel Straight",null,null,this.getTagsForStencil("mxgraph.office.servers","tunnel straight","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.universal_security_group;",
58,58,"","Universal Security Group",null,null,this.getTagsForStencil("mxgraph.office.servers","universal security group","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.video_interop_server;",54,60,"","Video Interop Server",null,null,this.getTagsForStencil("mxgraph.office.servers","video interop server",
"office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.virtual_application_server;",48,55,"","Virtual Application Server",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual application server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.virtual_application_server;fillColor\x3d#2072B8;",
48,55,"","Virtual Application Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual application server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.virtual_database_server;",41,56,"","Virtual Database Server",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual database server",
"office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.virtual_database_server;fillColor\x3d#2072B8;",41,56,"","Virtual Database Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual database server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.virtual_server;",
28,52,"","Virtual Server",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.virtual_server;fillColor\x3d#2072B8;",28,52,"","Virtual Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.virtual_server;",
20,37,"","Virtual Server (small)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual server small","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.virtual_web_server;",44,55,"","Virtual Web Server",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual web server","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.virtual_web_server;fillColor\x3d#2072B8;",44,55,"","Virtual Web Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","virtual web server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.vociemail_preview_partner;",
46,56,"","Vociemail Preview Partner",null,null,this.getTagsForStencil("mxgraph.office.servers","vociemail preview partner","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.web_server;",48,57,"","Web Server",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.web_server_blue;",48,57,"","Web Server (blue)",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.web_server_orange;",
48,57,"","Web Server (orange)",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.web_server_green;",48,57,"","Web Server (green)",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.web_server_ghosted;",
48,57,"","Web Server (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.servers","web server","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.windows_router;",52,59,"","Windows Router",null,null,this.getTagsForStencil("mxgraph.office.servers","windows router","office server ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.servers.windows_server;",
52,55,"","Windows Server",null,null,this.getTagsForStencil("mxgraph.office.servers","windows server","office server ").join(" "))];this.addPalette("officeServers","Office / Servers",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addOfficeServicesPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.3rd_party_service;",
53,54,"","3rd Party Service",null,null,this.getTagsForStencil("mxgraph.office.services","3rd party service","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.access_services;",59,49,"","Access Services",null,null,this.getTagsForStencil("mxgraph.office.services","access services","office service ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.business_connectivity_services;",34,51,"","Business Connectivity Services",null,null,this.getTagsForStencil("mxgraph.office.services","business connectivity services","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.call_admission_control_service;",
50,59,"","Call Admission Control Service",null,null,this.getTagsForStencil("mxgraph.office.services","call admission control service","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.central_management_service;",51,54,"","Central Management Service",null,null,this.getTagsForStencil("mxgraph.office.services",
"central management service","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.conference_announcement_service;",59,59,"","Conference Announcement Service",null,null,this.getTagsForStencil("mxgraph.office.services","conference announcement service","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.device_update_service;",
50,54,"","Device Update Service",null,null,this.getTagsForStencil("mxgraph.office.services","device update service","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.email_service;",58,48,"","Email Service",null,null,this.getTagsForStencil("mxgraph.office.services","email service","office service ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.excel_services;",60,49,"","Excel Services",null,null,this.getTagsForStencil("mxgraph.office.services","excel services","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.federation_service;",
58,59,"","Federation Service",null,null,this.getTagsForStencil("mxgraph.office.services","federation service","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.lync_storage_service;",65,58,"","Lync Storage Service",null,null,this.getTagsForStencil("mxgraph.office.services","lync storage service","office service ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.lync_web_app_client;",83,51,"","Lync Web App Client",null,null,this.getTagsForStencil("mxgraph.office.services","lync web app client","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.mobility_service;",
45,53,"","Mobility Service",null,null,this.getTagsForStencil("mxgraph.office.services","mobility service","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.network_file_share_service;",55,53,"","Network File Share Service",null,null,this.getTagsForStencil("mxgraph.office.services","network file share service",
"office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.online_hosted_services;",56,52,"","Online Hosted Services",null,null,this.getTagsForStencil("mxgraph.office.services","online hosted services","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.outlook_web_app;",
83,51,"","Outlook Web App",null,null,this.getTagsForStencil("mxgraph.office.services","outlook web app","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.powerpoint_automation_services;",59,49,"","PowerPoint Automation Services",null,null,this.getTagsForStencil("mxgraph.office.services","powerpoint automation services",
"office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.push_notification_service;",50,58,"","Push Notification Service",null,null,this.getTagsForStencil("mxgraph.office.services","push notification service","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.registrar_service;",
56,52,"","Registrar Service",null,null,this.getTagsForStencil("mxgraph.office.services","registrar service","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.response_group_service;",58,54,"","Response Group Service",null,null,this.getTagsForStencil("mxgraph.office.services","response group service","office service ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.skype_for_business_storage_service;",62,58,"","Skype for Business Storage Service",null,null,this.getTagsForStencil("mxgraph.office.services","skype for business storage service","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.user_services;",
59,59,"","User Services",null,null,this.getTagsForStencil("mxgraph.office.services","user services","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.verification_service;",57,59,"","Verification Service",null,null,this.getTagsForStencil("mxgraph.office.services","verification service","office service ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.web_services;",60,56,"","Web Services",null,null,this.getTagsForStencil("mxgraph.office.services","web services","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.word_automation_services;",
60,49,"","Word Automation Services",null,null,this.getTagsForStencil("mxgraph.office.services","word automation services","office service ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.services.xmpp_service;",58,52,"","XMPP Service",null,null,this.getTagsForStencil("mxgraph.office.services","xmpp service","office service ").join(" "))];
this.addPalette("officeServices","Office / Services",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addOfficeSitesPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.access_services;",59,49,"","Access Services",null,null,this.getTagsForStencil("mxgraph.office.sites",
"access services","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.blog_site;",56,49,"","Blog Site",null,null,this.getTagsForStencil("mxgraph.office.sites","blog site","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.business_connectivity_services;",
34,51,"","Business Connectivity Services",null,null,this.getTagsForStencil("mxgraph.office.sites","business connectivity services","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.excel_services;",60,49,"","Excel Services",null,null,this.getTagsForStencil("mxgraph.office.sites","excel services","office site ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.meeting_workspace_site;",58,50,"","Meeting Workspace Site",null,null,this.getTagsForStencil("mxgraph.office.sites","meeting workspace site","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.my_site;",
58,49,"","My Site",null,null,this.getTagsForStencil("mxgraph.office.sites","my site","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.powerpoint_automation_services;",59,49,"","PowerPoint Automation Services",null,null,this.getTagsForStencil("mxgraph.office.sites","powerpoint automation services","office site ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.publish;",57,48,"","Publish",null,null,this.getTagsForStencil("mxgraph.office.sites","publish","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.site_collection;",
52,40,"","Site Collection",null,null,this.getTagsForStencil("mxgraph.office.sites","site collection","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.site_shared;",56,50,"","Site Shared",null,null,this.getTagsForStencil("mxgraph.office.sites","site shared","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.site_team;",
60,49,"","Site, Team",null,null,this.getTagsForStencil("mxgraph.office.sites","site team","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.subsite;",53,40,"","Subsite",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.subsite;fillColor\x3d#2072B8;",
53,40,"","Subsite (blue)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.subsite;fillColor\x3d#DA4026;",53,40,"","Subsite (orange)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.subsite;fillColor\x3d#7FBA42;",
53,40,"","Subsite (green)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.subsite;fillColor\x3d#CCCBCB;",53,40,"","Subsite (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.subsite;",
38,29,"","Subsite (small)",null,null,this.getTagsForStencil("mxgraph.office.sites","substitute small","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.upgrade_site;",59,48,"","Upgrade Site",null,null,this.getTagsForStencil("mxgraph.office.sites","upgrade site","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.website;",
59,49,"","Website",null,null,this.getTagsForStencil("mxgraph.office.sites","website","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.website_public;",58,48,"","Website, Public",null,null,this.getTagsForStencil("mxgraph.office.sites","website public","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.wiki_site;",
59,50,"","Wiki Site",null,null,this.getTagsForStencil("mxgraph.office.sites","wiki_site","office site ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.sites.word_automation_services;",60,49,"","Word Automation Services",null,null,this.getTagsForStencil("mxgraph.office.sites","word automation services","office site ").join(" "))];
this.addPalette("officeSites","Office / Sites",!1,mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))};Sidebar.prototype.addOfficeUsersPalette=function(){var b=[this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.administrator;",58,56,"","Administrator",null,null,this.getTagsForStencil("mxgraph.office.users",
"administrator","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.approver;",59,55,"","Approver",null,null,this.getTagsForStencil("mxgraph.office.users","approver","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.call_center_agent;",
46,55,"","Call Center Agent",null,null,this.getTagsForStencil("mxgraph.office.users","call center agent","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.communications;",54,58,"","Communications",null,null,this.getTagsForStencil("mxgraph.office.users","communications","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.conferencing_attendant;",
53,59,"","Conferencing Attendant",null,null,this.getTagsForStencil("mxgraph.office.users","conferencing attendant","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.credentials;",56,58,"","Credentials",null,null,this.getTagsForStencil("mxgraph.office.users","credentials","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.csv_file;",
59,43,"","CSV File",null,null,this.getTagsForStencil("mxgraph.office.users","csv comma separated value file","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.distribution_group;",58,59,"","Distribution Group",null,null,this.getTagsForStencil("mxgraph.office.users","distribution group","office user ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.dynamic_distribution_group;",58,59,"","Dynamic Distribution Group",null,null,this.getTagsForStencil("mxgraph.office.users","dynamic distribution group","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.mail_user;",
58,59,"","Mail User",null,null,this.getTagsForStencil("mxgraph.office.users","mail user","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.meeting;",59,38,"","Meeting",null,null,this.getTagsForStencil("mxgraph.office.users","meeting","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.mobile_user;",
59,56,"","Mobile User",null,null,this.getTagsForStencil("mxgraph.office.users","mobile user","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.online_user;",54,43,"","Online User",null,null,this.getTagsForStencil("mxgraph.office.users","online user","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.on_premises_user;",
49,59,"","On-Premises User",null,null,this.getTagsForStencil("mxgraph.office.users","on premises user","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.outlook_user;",63,55,"","Outlook User",null,null,this.getTagsForStencil("mxgraph.office.users","outlook user","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.response_group;",
58,54,"","Response Group",null,null,this.getTagsForStencil("mxgraph.office.users","response group","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.role_group;",59,56,"","Role Group",null,null,this.getTagsForStencil("mxgraph.office.users","role group","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.skype_commercial_user;",
59,56,"","Skype Commercial User",null,null,this.getTagsForStencil("mxgraph.office.users","skype commercial user","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.skype_for_business_user;",59,56,"","Skype for Business User",null,null,this.getTagsForStencil("mxgraph.office.users","skype for business user","office user ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.tenant_admin;",56,58,"","Tenant Admin",null,null,this.getTagsForStencil("mxgraph.office.users","tenant admin","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.um_enabled_user;",
58,59,"","UM-Enabled User",null,null,this.getTagsForStencil("mxgraph.office.users","um enabled user","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.universal_security_group;",58,58,"","Universal Security Group",null,null,this.getTagsForStencil("mxgraph.office.users","universal security group","office user ").join(" ")),
this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.user;",46,50,"","User",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.user;fillColor\x3d#2072B8;",
46,50,"","User (blue)",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.user;fillColor\x3d#DA4026;",46,50,"","User (orange)",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.user;fillColor\x3d#7FBA42;",
46,50,"","User (green)",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.user;fillColor\x3d#CCCBCB;",46,50,"","User (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.users","user","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.user;",
32,35,"","User (small)",null,null,this.getTagsForStencil("mxgraph.office.users","user small","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.users;",46,50,"","Users",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.users;fillColor\x3d#2072B8;",
46,50,"","Users (blue)",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.users;fillColor\x3d#DA4026;",46,50,"","Users (orange)",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.users;fillColor\x3d#7FBA42;",
46,50,"","Users (green)",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.users;fillColor\x3d#CCCBCB;",46,50,"","Users (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.users","users","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.users_two;",
57,43,"","Users, Two",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.users_two;fillColor\x3d#2072B8;",57,43,"","Users, Two (blue)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.users_two;fillColor\x3d#DA4026;",
57,43,"","Users, Two (orange)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.users_two;fillColor\x3d#7FBA42;",57,43,"","Users, Two (green)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.users_two;fillColor\x3d#CCCBCB;",
57,43,"","Users, Two (ghosted)",null,null,this.getTagsForStencil("mxgraph.office.users","users two","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.user_accounts;",59,59,"","User Accounts",null,null,this.getTagsForStencil("mxgraph.office.users","user accounts","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.user_external;",
59,50,"","User External",null,null,this.getTagsForStencil("mxgraph.office.users","user external","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.user_services;",59,59,"","User Services",null,null,this.getTagsForStencil("mxgraph.office.users","user services","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.user_store;",
50,55,"","User Store",null,null,this.getTagsForStencil("mxgraph.office.users","user store","office user ").join(" ")),this.createVertexTemplateEntry("shadow\x3d0;dashed\x3d0;html\x3d1;strokeColor\x3dnone;fillColor\x3d#505050;labelPosition\x3dcenter;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;shape\x3dmxgraph.office.users.writer;",54,59,"","Writer",null,null,this.getTagsForStencil("mxgraph.office.users","writer","office user ").join(" "))];this.addPalette("officeUsers","Office / Users",!1,
mxUtils.bind(this,function(c){for(var f=0;f<b.length;f++)c.appendChild(b[f](c))}))}})();
(function(){Sidebar.prototype.addPidInstrumentsPalette=function(){var b="html\x3d1;align\x3dcenter;dashed\x3d0;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid2";this.addPaletteFunctions("pidInstruments","Proc. Eng. / Instruments",!1,[this.createVertexTemplateEntry(b+"inst.discInst;mounting\x3droom",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Discrete Instrument (control room)",
null,null,this.getTagsForStencil("mxgraph.pid2inst","discInst","pid process instrumentation engineering instrument engineering discrete control room").join(" ")),this.createVertexTemplateEntry(b+"inst.discInst;mounting\x3dfield",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Discrete Instrument (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst",
"discInst","pid process instrumentation engineering instrument engineering discrete field").join(" ")),this.createVertexTemplateEntry(b+"inst.discInst;mounting\x3dinaccessible",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Discrete Instrument (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","discInst","pid process instrumentation engineering instrument engineering discrete inaccessible").join(" ")),
this.createVertexTemplateEntry(b+"inst.discInst;mounting\x3dlocal",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Discrete Instrument (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","discInst","pid process instrumentation engineering instrument engineering discrete local panel").join(" ")),this.createVertexTemplateEntry(b+
"inst.sharedCont;mounting\x3droom",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Shared Control/Display in DCS (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst","sharedCont","pid process instrumentation engineering instrument engineering shared control display room").join(" ")),this.createVertexTemplateEntry(b+"inst.sharedCont;mounting\x3dfield",
50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Shared Control/Display in DCS (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","sharedCont","pid process instrumentation engineering instrument engineering shared control display dcs field").join(" ")),this.createVertexTemplateEntry(b+"inst.sharedCont;mounting\x3dinaccessible",
50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Shared Control/Display in DCS (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","sharedCont","pid process instrumentation engineering instrument engineering shared control display dcs inaccessible").join(" ")),this.createVertexTemplateEntry(b+"inst.sharedCont;mounting\x3dlocal",
50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Shared Control/Display in DCS (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","sharedCont","pid process instrumentation engineering instrument engineering shared control display dcs local panel").join(" ")),this.createVertexTemplateEntry(b+"inst.compFunc;mounting\x3droom",
50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Computer Function (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst","compFunc","pid process instrumentation engineering instrument engineering computer function control room").join(" ")),this.createVertexTemplateEntry(b+"inst.compFunc;mounting\x3dfield",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',
"Computer Function (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","compFunc","pid process instrumentation engineering instrument engineering computer function field").join(" ")),this.createVertexTemplateEntry(b+"inst.compFunc;mounting\x3dinaccessible",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Computer Function (inaccessible)",
null,null,this.getTagsForStencil("mxgraph.pid2inst","compFunc","pid process instrumentation engineering instrument engineering computer function inaccessible").join(" ")),this.createVertexTemplateEntry(b+"inst.compFunc;mounting\x3dlocal",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Computer Function (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst",
"compFunc","pid process instrumentation engineering instrument engineering computer function local panel").join(" ")),this.createVertexTemplateEntry(b+"inst.progLogCont;mounting\x3droom",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Programmable Logic Control (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst","progLogCont",
"pid process instrumentation engineering instrument engineering programmable logic control plc room").join(" ")),this.createVertexTemplateEntry(b+"inst.progLogCont;mounting\x3dfield",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Programmable Logic Control (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","progLogCont",
"pid process instrumentation engineering instrument engineering programmable logic control plc field").join(" ")),this.createVertexTemplateEntry(b+"inst.progLogCont;mounting\x3dinaccessible",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Programmable Logic Control (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst",
"progLogCont","pid process instrumentation engineering instrument engineering programmable logic control plc inaccessible").join(" ")),this.createVertexTemplateEntry(b+"inst.progLogCont;mounting\x3dlocal",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:width;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Programmable Logic Control (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst",
"progLogCont","pid process instrumentation engineering instrument engineering programmable logic control plc local panel").join(" ")),this.createVertexTemplateEntry(b+"inst.logic;mounting\x3droom",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Logic (control room)",null,null,this.getTagsForStencil("mxgraph.pid2inst","logic","pid process instrumentation engineering instrument engineering control room").join(" ")),
this.createVertexTemplateEntry(b+"inst.logic;mounting\x3dfield",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Logic (field)",null,null,this.getTagsForStencil("mxgraph.pid2inst","logic","pid process instrumentation engineering instrument engineering field").join(" ")),this.createVertexTemplateEntry(b+"inst.logic;mounting\x3dinaccessible",
50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',"Logic (inaccessible)",null,null,this.getTagsForStencil("mxgraph.pid2inst","logic","pid process instrumentation engineering instrument engineering inaccessible").join(" ")),this.createVertexTemplateEntry(b+"inst.logic;mounting\x3dlocal",50,50,'\x3ctable cellpadding\x3d"4" cellspacing\x3d"0" border\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd\x3e##\x3c/td\x3e\x3c/table\x3e ',
"Logic (local panel)",null,null,this.getTagsForStencil("mxgraph.pid2inst","logic","pid process instrumentation engineering instrument engineering local panel").join(" ")),this.createVertexTemplateEntry(b+"inst.indicator;mounting\x3droom;overflow\x3dfill;indType\x3dinst",50,100,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" height\x3d"25"\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center" height\x3d"25"\x3e##\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"bottom"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
"Indicator (Instrument)",null,null,this.getTagsForStencil("mxgraph.pid2inst","indicator","pid process instrumentation engineering instrument engineering indicator").join(" ")),this.createVertexTemplateEntry(b+"inst.indicator;mounting\x3droom;overflow\x3dfill;indType\x3dctrl",50,100,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" height\x3d"25"\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center" height\x3d"25"\x3e##\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"bottom"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
"Indicator (Control)",null,null,this.getTagsForStencil("mxgraph.pid2inst","indicator","pid process instrumentation engineering instrument engineering indicator control").join(" ")),this.createVertexTemplateEntry(b+"inst.indicator;mounting\x3droom;overflow\x3dfill;indType\x3dfunc",50,100,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" height\x3d"25"\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center" height\x3d"25"\x3e##\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"bottom"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
"Indicator (Function)",null,null,this.getTagsForStencil("mxgraph.pid2inst","indicator","pid process instrumentation engineering instrument engineering indicator function").join(" ")),this.createVertexTemplateEntry(b+"inst.indicator;mounting\x3droom;overflow\x3dfill;indType\x3dplc",50,100,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"font-size:1em;width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd align\x3d"center" height\x3d"25"\x3eTI\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center" height\x3d"25"\x3e##\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"bottom"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',
"Indicator (PLC)",null,null,this.getTagsForStencil("mxgraph.pid2inst","indicator","pid process instrumentation engineering instrument engineering indicator plc programmable logic control").join(" "))])};Sidebar.prototype.addPidValvesPalette=function(){var b="dashed\x3d0;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid2",c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;dashed\x3d0;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid2valves.valve;valveType\x3d",
b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;dashed\x3d0;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid2valves.";this.addPaletteFunctions("pidValves","Proc. Eng. / Valves",!1,[this.createVertexTemplateEntry(c+"gate",100,60,"","Gate Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate").join(" ")),this.createVertexTemplateEntry(c+"gate;defState\x3dclosed",100,60,
"","Normally Closed Gate Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering normally closed nc gate").join(" ")),this.createVertexTemplateEntry(c+"ball",100,60,"","Ball Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering ball").join(" ")),this.createVertexTemplateEntry(c+"ball;defState\x3dclosed",100,60,"","Normally Closed Ball Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves",
"valve","pid process instrumentation engineering normally closed nc ball").join(" ")),this.createVertexTemplateEntry(c+"globe",100,60,"","Globe Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering globe").join(" ")),this.createVertexTemplateEntry(c+"butterfly",100,60,"","Butterfly Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering butterfly").join(" ")),this.createVertexTemplateEntry(c+
"check;",100,60,"","Check Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering check").join(" ")),this.createVertexTemplateEntry(c+"plug",100,60,"","Plug Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering plug").join(" ")),this.createVertexTemplateEntry(c+"needle",100,60,"","Needle Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering needle").join(" ")),
this.createVertexTemplateEntry(c+"selfDrain",100,60,"","Self Draining Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering self draining").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3dman",100,100,"","Gate Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate manual").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3ddiaph",100,100,"","Gate Valve (Diaphragm)",
null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate diaphragm").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3dbalDiaph",100,100,"","Gate Valve (Balanced Diaphragm)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate balanced diaphragm").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3ddigital",100,100,"","Gate Valve (Digital)",null,null,this.getTagsForStencil("mxgraph.pid2valves",
"valve","pid process instrumentation engineering gate digital").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3delHyd",100,100,"","Gate Valve (Electro-Hydraulic)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate electro hydraulic").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3dkey",100,100,"","Gate Valve (Key)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate key").join(" ")),
this.createVertexTemplateEntry(c+"gate;actuator\x3dmotor",100,100,"","Gate Valve (Motor)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate motor").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3dpilot",100,100,"","Gate Valve (Pilot)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate pilot").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3dsolenoid",100,100,
"","Gate Valve (Solenoid)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate solenoid").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3dsolenoidManRes",100,100,"","Gate Valve (Solenoid With Manual Reset)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate solenoid manual reset").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3dspring",100,100,"","Gate Valve (Spring)",
null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate spring").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3dweight",100,100,"","Gate Valve (Weight)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate weight").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3dsingActing",100,100,"","Gate Valve (Single Acting Cylinder)",null,null,this.getTagsForStencil("mxgraph.pid2valves",
"valve","pid process instrumentation engineering gate single acting cylinder").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3ddblActing",100,100,"","Gate Valve (Double Acting Cylinder)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate double acting cylinder").join(" ")),this.createVertexTemplateEntry(c+"gate;actuator\x3dangBlow",100,100,"","Angle Blowdown Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve",
"pid process instrumentation engineering angle blowdown").join(" ")),this.createVertexTemplateEntry(b+"blockBleedValve;actuator\x3dnone",100,130,"","Integrated Block and Bleed Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","blockBleedValve","pid process instrumentation engineering integrated block bleed").join(" ")),this.createVertexTemplateEntry(b+"blockBleedValve;actuator\x3dman",100,170,"","Integrated Block and Bleed Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves",
"blockBleedValve","pid process instrumentation engineering integrated block bleed manual").join(" ")),this.createVertexTemplateEntry(c+"angle;actuator\x3dnone",100,80,"","Angle Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle").join(" ")),this.createVertexTemplateEntry(c+"angle;actuator\x3dman",100,120,"","Angle Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle manual").join(" ")),
this.createVertexTemplateEntry(c+"angleGlobe;actuator\x3dnone",100,80,"","Angle Globe Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle globe").join(" ")),this.createVertexTemplateEntry(c+"angleGlobe;actuator\x3dman",100,120,"","Angle Globe Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering angle globe manual").join(" ")),this.createVertexTemplateEntry(c+"threeWay;actuator\x3dnone",
100,80,"","3 Way Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering three way").join(" ")),this.createVertexTemplateEntry(c+"threeWay;actuator\x3dman",100,120,"","3 Way Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering three way manual").join(" ")),this.createVertexTemplateEntry(b+"autoRecircValve",100,60,"","Auto Recirculation Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves",
"blockBleedValve","pid process instrumentation engineering auto recirculation").join(" "))])};Sidebar.prototype.addPidCompressorsPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;align\x3dcenter;dashed\x3d0;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid.compressors.";this.addPaletteFunctions("pidCompressors","Proc. Eng. / Compressors",!1,[this.createVertexTemplateEntry(b+"ac_air_compressor",100,65,"","AC Air Compressor",
null,null,this.getTagsForStencil("mxgraph.pid.compressors","ac_air_compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(b+"centrifugal_compressor",70,70,"","Centrifugal Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","centrifugal_compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid.compressors.centrifugal_compressor_-_turbine_driven;dashed\x3d0;fontSize\x3d8;html\x3d1;overflow\x3dfill;",
100,70,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr style\x3d"height:25%;"\x3e\x3ctd\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr style\x3d"height:75%;"\x3e\x3ctd align\x3d"left" style\x3d"padding-left:11%;width:100%"\x3eT\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',"Centrifugal Compressor - Turbine Driven",null,null,this.getTagsForStencil("mxgraph.pid.compressors","centrifugal_compressor_-_turbine_driven","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(b+
"compressor",100,100,"","Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(b+"compressor_and_silencers",90,80,"","Compressor and Silencers",null,null,this.getTagsForStencil("mxgraph.pid.compressors","compressor_and_silencers","pid process instrumentation engineering silencer").join(" ")),this.createVertexTemplateEntry(b+"liquid_ring_compressor",90,90,"","Liquid Ring Compressor",
null,null,this.getTagsForStencil("mxgraph.pid.compressors","liquid_ring_compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(b+"reciprocating_compressor",100,40,"","Reciprocating Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","reciprocating_compressor","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(b+"reciprocating_compressor_2",50,65,"","Reciprocating Compressor 2",null,null,this.getTagsForStencil("mxgraph.pid.compressors",
"reciprocating_compressor_2","pid process instrumentation engineering ").join(" ")),this.createVertexTemplateEntry(b+"rotary_compressor",42,91,"","Rotary Compressor",null,null,this.getTagsForStencil("mxgraph.pid.compressors","rotary_compressor","pid process instrumentation engineering ").join(" "))])};Sidebar.prototype.addPidEnginesPalette=function(){var b="dashed\x3d0;align\x3dcenter;html\x3d1;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid.engines.",c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;align\x3dcenter;dashed\x3d0;html\x3d1;"+
mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid.engines.";this.addPaletteFunctions("pidEngines","Proc. Eng. / Engines",!1,[this.createVertexTemplateEntry(b+"electric_motor;fontSize\x3d45;",100,100,"M","Electric Motor",null,null,this.getTagsForStencil("mxgraph.pid.engines","electric_motor","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(b+"electric_motor_(ac);fontSize\x3d45;",100,100,"M","Electric Motor (AC)",null,null,this.getTagsForStencil("mxgraph.pid.engines",
"electric_motor_(ac)","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(b+"electric_motor_(dc);fontSize\x3d45;",100,100,"M","Electric Motor (DC)",null,null,this.getTagsForStencil("mxgraph.pid.engines","electric_motor_(dc)","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(b+"gear;fontSize\x3d45;",100,100,"G","Gear",null,null,this.getTagsForStencil("mxgraph.pid.engines","gear","pid process instrumentation engine motor ").join(" ")),
this.createVertexTemplateEntry(b+"generator;fontSize\x3d45;",100,100,"G","Generator",null,null,this.getTagsForStencil("mxgraph.pid.engines","generator","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(b+"generator_(ac);fontSize\x3d45;",100,100,"G","Generator (AC)",null,null,this.getTagsForStencil("mxgraph.pid.engines","generator_(ac)","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(b+"generator_(dc);fontSize\x3d45;",100,
100,"G","Generator (DC)",null,null,this.getTagsForStencil("mxgraph.pid.engines","generator_(dc)","pid process instrumentation engine motor ").join(" ")),this.createVertexTemplateEntry(c+"turbine",70,100,"","Turbine",null,null,this.getTagsForStencil("mxgraph.pid.engines","turbine","pid process instrumentation engine motor ").join(" "))])};Sidebar.prototype.addPidFiltersPalette=function(){var b="html\x3d1;dashed\x3d0;align\x3dcenter;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid.filters.",c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+
"\x3dbottom;align\x3dcenter;dashed\x3d0;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid.filters.";this.addPaletteFunctions("pidFilters","Proc. Eng. / Filters",!1,[this.createVertexTemplateEntry(c+"filter;",50,50,"","Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","filter","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(c+"gas_filter;",50,100,"","Gas Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters",
"gas_filter","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(c+"gas_filter_(bag,_candle,_cartridge);",50,100,"","Gas Filter (Bag, Candle, Cartridge)",null,null,this.getTagsForStencil("mxgraph.pid.filters","gas_filter_(bag,_candle,_cartridge)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(c+"gas_filter_(belt,_roll);",50,100,"","Gas Filter (Belt, Roll)",null,null,this.getTagsForStencil("mxgraph.pid.filters","gas_filter_(belt,_roll)",
"pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(c+"gas_filter_(fixed_bed);",50,100,"","Gas Filter (Fixed Bed)",null,null,this.getTagsForStencil("mxgraph.pid.filters","gas_filter_(fixed_bed)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"gas_filter_(hepa);",50,100,"HEPA","Gas Filter (HEPA)",null,null,this.getTagsForStencil("mxgraph.pid.filters","gas_filter_(hepa)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(c+
"liquid_filter;",50,100,"","Liquid Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(c+"liquid_Filter_(bag,_candle,_cartridge);",50,100,"","Liquid Filter (Bag, Candle, Cartridge)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_Filter_(bag,_candle,_cartridge)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(c+"liquid_filter_(belt,_roll);",50,
100,"","Liquid Filter (Belt, Roll)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(belt,_roll)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"liquid_filter_(biological);",50,100,"BIO","Liquid Filter (Biological)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(biological)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(c+"liquid_filter_(fixed_bed);",50,100,"","Liquid Filter (Fixed Bed)",
null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(fixed_bed)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(b+"liquid_filter_(ion_exchanger);",50,100,"ION","Liquid Filter (Ion Exchanger)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(ion_exchanger)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(c+"liquid_filter_(rotary,_drum_or_disc);",50,100,"","Liquid Filter (Rotary, Drum or Disc)",
null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(rotary,_drum_or_disc)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(c+"liquid_filter_(rotary,_drum_or_disc,_scraper);",55,100,"","Liquid Filter (Rotary, Drum or Disc, Scraper)",null,null,this.getTagsForStencil("mxgraph.pid.filters","liquid_filter_(rotary,_drum_or_disc,_scraper)","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(c+"press_filter;",100,50,"","Press Filter",
null,null,this.getTagsForStencil("mxgraph.pid.filters","press_filter","pid process instrumentation filter ").join(" ")),this.createVertexTemplateEntry(c+"suction_filter;",50,100,"","Suction Filter",null,null,this.getTagsForStencil("mxgraph.pid.filters","suction_filter","pid process instrumentation filter ").join(" "))])};Sidebar.prototype.addPidFlowSensorsPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;align\x3dcenter;dashed\x3d0;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+
"\x3dtop;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid.flow_sensors.";this.addPaletteFunctions("pidFlow Sensors","Proc. Eng. / Flow Sensors",!1,[this.createVertexTemplateEntry(b+"averging_pitot_tube;",50,50,"","Averging Pitot Tube",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","averging_pitot_tube","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"coriolis;",50,50,"","Coriolis",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","coriolis","process instrumentation sensor ").join(" ")),
this.createVertexTemplateEntry(b+"flow_nozzle;",50,25,"","Flow Nozzle",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","flow_nozzle","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"flume;",50,50,"","Flume",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","flume","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid.flow_sensors.magnetic;dashed\x3d0;align\x3dcenter;html\x3d1;fontSize\x3d25;",
50,50,"M","Magnetic",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","magnetic","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"pitot_tube;",50,50,"","Pitot Tube",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","pitot_tube","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"positive_displacement;",50,30,"","Positive Displacement",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","positive_displacement",
"process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"rotameter;",75,50,"","Rotameter",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","rotameter","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"target;",50,50,"","Target",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","target","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"turbine;",50,50,"","Turbine",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors",
"turbine","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"ultrasonic;",50,50,"","Ultrasonic",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","ultrasonic","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"v-cone;",50,50,"","V-cone",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","v-cone","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"venturi;",50,40,"","Venturi",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors",
"venturi","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"vortex;",50,50,"","Vortex",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","vortex","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"wedge;",50,50,"","Wedge",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors","wedge","process instrumentation sensor ").join(" ")),this.createVertexTemplateEntry(b+"weir;",50,50,"","Weir",null,null,this.getTagsForStencil("mxgraph.pid.flow_sensors",
"weir","process instrumentation sensor ").join(" "))])};Sidebar.prototype.addPidPipingPalette=function(){var b="html\x3d1;dashed\x3d0;align\x3dcenter;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid.piping.",c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;align\x3dcenter;dashed\x3d0;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid.piping.";this.addPaletteFunctions("pidPiping","Proc. Eng. / Piping",!1,[this.createVertexTemplateEntry(c+"basket_strainer;",
50,45,"","Basket Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","basket_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"blank;",20,60,"","Blank",null,null,this.getTagsForStencil("mxgraph.pid.piping","blank","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"breather;",50,30,"","Breather",null,null,this.getTagsForStencil("mxgraph.pid.piping","breather","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+
"cap;",10,20,"","Cap",null,null,this.getTagsForStencil("mxgraph.pid.piping","cap","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"closed_figure_8_blind;",20,80,"","Closed Figure 8 Blind",null,null,this.getTagsForStencil("mxgraph.pid.piping","closed_figure_8_blind","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"concentric_reducer;",20,20,"","Concentric Reducer",null,null,this.getTagsForStencil("mxgraph.pid.piping","concentric_reducer",
"process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"cone_strainer;",30,30,"","Cone Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","cone_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"damper;",50,20,"","Damper",null,null,this.getTagsForStencil("mxgraph.pid.piping","damper","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"desuper_heater;",50,50,"DS","Desuper Heater",null,null,this.getTagsForStencil("mxgraph.pid.piping",
"desuper_heater","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"detonation_arrestor;",50,20,"D","Detonation Arrestor",null,null,this.getTagsForStencil("mxgraph.pid.piping","detonation_arrestor","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"diverter_valve;",50,35,"","Diverter Valve",null,null,this.getTagsForStencil("mxgraph.pid.piping","diverter_valve","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"double_flange;",
5,20,"","Double Flange",null,null,this.getTagsForStencil("mxgraph.pid.piping","double_flange","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"duplex_strainer;",50,40,"","Duplex Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","duplex_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"eccentric_reducer;",20,15,"","Eccentric Reducer",null,null,this.getTagsForStencil("mxgraph.pid.piping","eccentric_reducer","process instrumentation piping ").join(" ")),
this.createVertexTemplateEntry(c+"excess_flow_valve;",50,25,"","Excess Flow Valve",null,null,this.getTagsForStencil("mxgraph.pid.piping","excess_flow_valve","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"exhaust_head;",50,40,"","Exhaust Head",null,null,this.getTagsForStencil("mxgraph.pid.piping","exhaust_head","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"expansion_joint;",50,20,"","Expansion Joint",null,null,this.getTagsForStencil("mxgraph.pid.piping",
"expansion_joint","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"flame_arrestor;",50,20,"F","Flame Arrestor",null,null,this.getTagsForStencil("mxgraph.pid.piping","flame_arrestor","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"flange;",5,20,"","Flange",null,null,this.getTagsForStencil("mxgraph.pid.piping","flange","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"flange_in;",10,20,"","Flange In",null,null,
this.getTagsForStencil("mxgraph.pid.piping","flange_in","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"flexible_hose;",50,25,"","Flexible Hose",null,null,this.getTagsForStencil("mxgraph.pid.piping","flexible_hose","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"hose_connection;",20,20,"","Hose Connection",null,null,this.getTagsForStencil("mxgraph.pid.piping","hose_connection","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+
"in-line_mixer;",50,10,"","In-Line Mixer",null,null,this.getTagsForStencil("mxgraph.pid.piping","in-line_mixer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"in-line_silencer;",50,20,"S","In-Line Silencer",null,null,this.getTagsForStencil("mxgraph.pid.piping","in-line_silencer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"open_figure_8_blind;",20,80,"","Open Figure 8 Blind",null,null,this.getTagsForStencil("mxgraph.pid.piping","open_figure_8_blind",
"process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"orifice_(quick_change);",10,50,"","Orifice (Quick Change)",null,null,this.getTagsForStencil("mxgraph.pid.piping","orifice_(quick_change)","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"plug;",10,10,"","Plug",null,null,this.getTagsForStencil("mxgraph.pid.piping","plug","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"pulsation_dampener;",50,150,"","Pulsation Dampener",
null,null,this.getTagsForStencil("mxgraph.pid.piping","pulsation_dampener","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_ALIGN+"\x3dbottom;dashed\x3d0;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid.piping.removable_spool;html\x3d1;overflow\x3dfill;",50,30,'\x3ctable cellpadding\x3d"0" cellspacing\x3d"0" style\x3d"width:100%;height:100%;"\x3e\x3ctr\x3e\x3ctd valign\x3d"bottom" align\x3d"center"\x3eRS\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e',"Removable Spool",
null,null,this.getTagsForStencil("mxgraph.pid.piping","removable_spool","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"rotary_valve;",50,20,"","Rotary Valve",null,null,this.getTagsForStencil("mxgraph.pid.piping","rotary_valve","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"spacer;",20,60,"","Spacer",null,null,this.getTagsForStencil("mxgraph.pid.piping","spacer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+
"steam_trap;",50,50,"T","Steam Trap",null,null,this.getTagsForStencil("mxgraph.pid.piping","steam_trap","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"t-type_strainer;",20,35,"","T-Type Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","t-type_strainer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"temporary_strainer;",30,30,"","Temporary Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","temporary_strainer",
"process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(b+"vent_silencer;",20,80,"S","Vent Silencer",null,null,this.getTagsForStencil("mxgraph.pid.piping","vent_silencer","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"welded_connection;",50,20,"","Welded Connection",null,null,this.getTagsForStencil("mxgraph.pid.piping","welded_connection","process instrumentation piping ").join(" ")),this.createVertexTemplateEntry(c+"y-type_strainer;",50,35,"",
"Y-Type Strainer",null,null,this.getTagsForStencil("mxgraph.pid.piping","y-type_strainer","process instrumentation piping ").join(" "))])};Sidebar.prototype.addPidMiscPalette=function(){var b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;align\x3dcenter;dashed\x3d0;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+"\x3dtop;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid2",c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"\x3dbottom;align\x3dcenter;dashed\x3d0;html\x3d1;"+mxConstants.STYLE_VERTICAL_ALIGN+
"\x3dtop;"+mxConstants.STYLE_SHAPE+"\x3dmxgraph.pid.misc.";this.addPaletteFunctions("pidMisc","Proc. Eng. / Misc",!1,[this.createVertexTemplateEntry(b+"misc.fan;fanType\x3dcommon",50,50,"","Fan",null,null,this.getTagsForStencil("mxgraph.pid.misc","fan","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"misc.column;columnType\x3dcommon",50,120,"","Column",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+
"misc.column;columnType\x3dtray",50,120,"","Column (Tray)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation tray").join(" ")),this.createVertexTemplateEntry(b+"misc.column;columnType\x3dfixed",50,180,"","Column (Fixed Bed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation fixed bed").join(" ")),this.createVertexTemplateEntry(b+"misc.column;columnType\x3dfluid",50,120,"","Column (Fluidized Bed)",null,null,this.getTagsForStencil("mxgraph.pid.misc",
"column","process instrumentation fluidized bed").join(" ")),this.createVertexTemplateEntry(b+"misc.column;columnType\x3dbaffle",50,120,"","Column (Staggered Baffle Trays)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation staggered baffle tray").join(" ")),this.createVertexTemplateEntry(b+"misc.column;columnType\x3dbubble",50,120,"","Column (Bubble Cap Trays)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation bubble cap tray").join(" ")),
this.createVertexTemplateEntry(b+"misc.column;columnType\x3dvalve",50,120,"","Column (Valve Trays)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation valve tray").join(" ")),this.createVertexTemplateEntry(b+"misc.column;columnType\x3dnozzle",50,180,"","Column (Fixed Bed, Spray Nozzle)",null,null,this.getTagsForStencil("mxgraph.pid.misc","column","process instrumentation fixed bed spray nozzle").join(" ")),this.createVertexTemplateEntry(b+"misc.conveyor",200,50,
"","Conveyor",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"aerator_with_sparger;",35,100,"","Aerator With Sparger",null,null,this.getTagsForStencil("mxgraph.pid.misc","aerator_with_sparger","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"air_cooler;",70,20,"","Air Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","air_cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+
"air_filter;",40,65,"","Air Filter",null,null,this.getTagsForStencil("mxgraph.pid.misc","air_filter","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"air_separator;",65.5,106,"","Air Separator",null,null,this.getTagsForStencil("mxgraph.pid.misc","air_separator","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"back_draft_damper;",62,32,"","Back Draft Damper",null,null,this.getTagsForStencil("mxgraph.pid.misc","back_draft_damper","process instrumentation ").join(" ")),
this.createVertexTemplateEntry(c+"bag_filling_machine;",80,100,"","Bag Filling Machine",null,null,this.getTagsForStencil("mxgraph.pid.misc","bag_filling_machine","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"belt_skimmer;",70,98,"","Belt Skimmer",null,null,this.getTagsForStencil("mxgraph.pid.misc","belt_skimmer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"bin;",100,65,"","Bin",null,null,this.getTagsForStencil("mxgraph.pid.misc","bin","process instrumentation ").join(" ")),
this.createVertexTemplateEntry(c+"boiler_(dome);",100,120,"","Boiler (Dome)",null,null,this.getTagsForStencil("mxgraph.pid.misc","boiler_(dome)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"boiler_(dome,_hot_liquid);",100,120,"","Boiler (Dome, Hot Liquid)",null,null,this.getTagsForStencil("mxgraph.pid.misc","boiler_(dome,_hot_liquid)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"box_truck;",120,80,"","Box Truck",null,null,this.getTagsForStencil("mxgraph.pid.misc",
"box_truck","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"bucket_elevator;",65,200,"","Bucket Elevator",null,null,this.getTagsForStencil("mxgraph.pid.misc","bucket_elevator","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"chiller;",155,115,"","Chiller",null,null,this.getTagsForStencil("mxgraph.pid.misc","chiller","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"combustion_chamber;",130,100,"","Combustion Chamber",null,null,
this.getTagsForStencil("mxgraph.pid.misc","combustion_chamber","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"conveyor;",200,60,"","Conveyor",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"conveyor_(belt);",200,50,"","Conveyor (Belt)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(belt)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"conveyor_(belt,_closed);",
240,80,"","Conveyor (Belt, Closed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(belt,_closed)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"conveyor_(belt,_closed,_reversible);",240,80,"","Conveyor (Belt, Closed, Reversible)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(belt,_closed,_reversible)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"conveyor_(chain,_closed);",240,80,"","Conveyor (Chain, Closed)",null,
null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(chain,_closed)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"conveyor_(screw,_closed);",220,80,"","Conveyor (Screw, Closed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(screw,_closed)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"conveyor_(vibrating,_closed);",240,80,"","Conveyor (Vibrating, Closed)",null,null,this.getTagsForStencil("mxgraph.pid.misc","conveyor_(vibrating,_closed)",
"process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"cooler;",85,90,"","Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"cooling_tower",100,120,"","Cooling Tower",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"cooling_tower_(dry,_forced_draught);",100,120,"","Cooling Tower (Dry, Forced Draught)",
null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(dry,_forced_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"cooling_tower_(dry,_induced_draught);",100,120,"","Cooling Tower (Dry, Induced Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(dry,_induced_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"cooling_tower_(dry,_natural_draught);",100,120,"","Cooling Tower (Dry, Natural Draught)",
null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(dry,_natural_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"cooling_tower_(wet,_forced_draught);",100,120,"","Cooling Tower (Wet, Forced Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(wet,_forced_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"cooling_tower_(wet,_induced_draught);",100,120,"","Cooling Tower (Wet, Induced Draught)",
null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(wet,_induced_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"cooling_tower_(wet,_natural_draught);",100,120,"","Cooling Tower (Wet, Natural Draught)",null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(wet,_natural_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"cooling_tower_(wet-dry,_natural_draught);",100,120,"","Cooling Tower (Wet-Dry, Natural Draught)",
null,null,this.getTagsForStencil("mxgraph.pid.misc","cooling_tower_(wet-dry,_natural_draught)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"covered_gas_vent;",80,100,"","Covered Gas Vent",null,null,this.getTagsForStencil("mxgraph.pid.misc","covered_gas_vent","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"crane;",100,100,"","Crane",null,null,this.getTagsForStencil("mxgraph.pid.misc","crane","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+
"curved_gas_vent;",30,70,"","Curved Gas Vent",null,null,this.getTagsForStencil("mxgraph.pid.misc","curved_gas_vent","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"cyclone;",100,80,"","Cyclone",null,null,this.getTagsForStencil("mxgraph.pid.misc","cyclone","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"dryer;",80,100,"","Dryer",null,null,this.getTagsForStencil("mxgraph.pid.misc","dryer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+
"elevator_(bucket);",160,250,"","Elevator (Bucket)",null,null,this.getTagsForStencil("mxgraph.pid.misc","elevator_(bucket)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"elevator_(bucket,_z-form);",430,250,"","Elevator (Bucket, Z-Form)",null,null,this.getTagsForStencil("mxgraph.pid.misc","elevator_(bucket,_z-form)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"fan;",100,100,"","Fan",null,null,this.getTagsForStencil("mxgraph.pid.misc","fan","process instrumentation ").join(" ")),
this.createVertexTemplateEntry(c+"fan_2;",58,8,"","Fan 2",null,null,this.getTagsForStencil("mxgraph.pid.misc","fan_2","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"filter;",100,100,"","Filter",null,null,this.getTagsForStencil("mxgraph.pid.misc","filter","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"filter_2;",100,100,"","Filter 2",null,null,this.getTagsForStencil("mxgraph.pid.misc","filter_2","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+
"firing_system,_burner;",100,100,"","Firing System, Burner",null,null,this.getTagsForStencil("mxgraph.pid.misc","firing_system,_burner","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"flame_arrestor;",100,40,"","Flame Arrestor",null,null,this.getTagsForStencil("mxgraph.pid.misc","flame_arrestor","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"flexible_pipe;",60,16,"","Flexible Pipe",null,null,this.getTagsForStencil("mxgraph.pid.misc","flexible_pipe",
"process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"forced_flow_air_cooler;",70,30,"","Forced Flow Air Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","forced_flow_air_cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"forklift_(manual);",140,100,"","Forklift (Manual)",null,null,this.getTagsForStencil("mxgraph.pid.misc","forklift_(manual)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"forklift_(truck);",140,
100,"","Forklift (Truck)",null,null,this.getTagsForStencil("mxgraph.pid.misc","forklift_(truck)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"funnel",40,80,"","Funnel",null,null,this.getTagsForStencil("mxgraph.pid.misc","funnel","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"gas_flare;",60,100,"","Gas Flare",null,null,this.getTagsForStencil("mxgraph.pid.misc","gas_flare","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"induced_flow_air_cooler;",
93,30,"","Induced Flow Air Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","induced_flow_air_cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"industrial_truck;",120,20,"","Industrial Truck",null,null,this.getTagsForStencil("mxgraph.pid.misc","industrial_truck","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"lift;",100,100,"","Lift",null,null,this.getTagsForStencil("mxgraph.pid.misc","lift","process instrumentation ").join(" ")),
this.createVertexTemplateEntry(c+"loading_arm;",120,80,"","Loading Arm",null,null,this.getTagsForStencil("mxgraph.pid.misc","loading_arm","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"mixer;",80,100,"","Mixer",null,null,this.getTagsForStencil("mxgraph.pid.misc","mixer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"palletizer;",80,100,"","Palletizer",null,null,this.getTagsForStencil("mxgraph.pid.misc","palletizer","process instrumentation ").join(" ")),
this.createVertexTemplateEntry(c+"protective_palette_covering;",80,100,"","Protective Palette Covering",null,null,this.getTagsForStencil("mxgraph.pid.misc","protective_palette_covering","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"roller_conveyor;",160,20,"","Roller Conveyor",null,null,this.getTagsForStencil("mxgraph.pid.misc","roller_conveyor","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"rolling_bin;",100,65,"","Rolling Bin",null,null,this.getTagsForStencil("mxgraph.pid.misc",
"rolling_bin","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"rotary_screen;",100,65,"","Rotary Screen",null,null,this.getTagsForStencil("mxgraph.pid.misc","rotary_screen","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"screening_device,_sieve,_strainer;",80,120,"","Screening Device, Sieve, Strainer",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+
"screening_device,_sieve,_strainer_(basket_reel);",80,180,"","Screening Device, Sieve, Strainer (Basket Reel)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(basket_reel)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"screening_device,_sieve,_strainer_(coarse_and_fine_screens);",80,120,"","Screening Device, Sieve, Strainer (Coarse and Fine Screens)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(coarse_and_fine_screens)",
"process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"screening_device,_sieve,_strainer_(coarse_rake);",80,120,"","Screening Device, Sieve, Strainer (Coarse Rake)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(coarse_rake)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"screening_device,_sieve,_strainer_(fine_rake);",80,120,"","Screening Device, Sieve, Strainer (Fine Rake)",null,null,this.getTagsForStencil("mxgraph.pid.misc",
"screening_device,_sieve,_strainer_(fine_rake)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"screening_device,_sieve,_strainer_(rotating_drum)",80,120,"","Screening Device, Sieve, Strainer (Rotating Drum)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(rotating_drum)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"screening_device,_sieve,_strainer_(vibrating);",80,120,"","Screening Device, Sieve, Strainer (Vibrating)",
null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(vibrating)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"ship",105,60,"","Ship",null,null,this.getTagsForStencil("mxgraph.pid.misc","ship","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"silencer;",100,30,"","Silencer",null,null,this.getTagsForStencil("mxgraph.pid.misc","silencer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"spraying_device;",
60,20,"","Spraying Device",null,null,this.getTagsForStencil("mxgraph.pid.misc","spraying_device","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"spray_cooler;",100,120,"","Spray Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","spray_cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"stack,_chimney;",60,100,"","Stack, Chimney",null,null,this.getTagsForStencil("mxgraph.pid.misc","stack,_chimney","process instrumentation ").join(" ")),
this.createVertexTemplateEntry(c+"steam_trap;",53,53,"","Steam Trap",null,null,this.getTagsForStencil("mxgraph.pid.misc","steam_trap","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"tank_car,_tank_wagon;",127,80,"","Tank Car, Tank Wagon",null,null,this.getTagsForStencil("mxgraph.pid.misc","tank_car,_tank_wagon","process instrumentation ").join(" ")),this.createVertexTemplateEntry(c+"viewing_glass;",80,50,"","Viewing Glass",null,null,this.getTagsForStencil("mxgraph.pid.misc",
"viewing_glass","process instrumentation ").join(" "))])}})();
(function(){Sidebar.prototype.addRackGeneralPalette=function(){this.addPaletteFunctions("rackGeneral","Rack / General",!1,[this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.rackGeneral.container;container\x3d1;collapsible\x3d0;childLayout\x3drack;marginLeft\x3d9;marginRight\x3d9;marginTop\x3d21;marginBottom\x3d22;textColor\x3d#666666;numDisp\x3doff;",180,228.6,
"","Rack Cabinet",null,null,"rack equipment cabinet"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.rackGeneral.container;container\x3d1;collapsible\x3d0;childLayout\x3drack;marginLeft\x3d33;marginRight\x3d9;marginTop\x3d21;marginBottom\x3d22;textColor\x3d#666666;numDisp\x3dascend;",210,228.6,"","Numbered Rack Cabinet",null,null,"rack equipment cabinet numbered"),
this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;text;",160,15,"","Spacing",null,null,"rack equipment spacing"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rackGeneral.plate;fillColor\x3d#e8e8e8;",160,15,"","Cover Plate",null,null,"rack equipment cover plate"),
this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.general.1u_rack_server;",160,15,"","Server",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rackGeneral.horCableDuct;",160,15,"","Horizontal Cable Duct",
null,null,"rack equipment horizontal cable duct"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rackGeneral.horRoutingBank;",160,20,"","Horizontal Routing Bank",null,null,"rack equipment horizontal routing bank"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rackGeneral.neatPatch;",
160,30,"","Neat-Patch",null,null,"rack equipment neat patch"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rackGeneral.shelf;container\x3d1;collapsible\x3d0",160,15,"","Shelf",null,null,"rack equipment shelf"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rackGeneral.channelBase;",
200,30,"","Channel Base",null,null,"rack equipment channel base"),this.createVertexTemplateEntry("shape\x3dmxgraph.rackGeneral.cabinetLeg;html\x3d1;shadow\x3d0;dashed\x3d0;fillColor\x3d#444444;strokeColor\x3d#444444;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;",50,50,"","Cabinet Leg",null,null,"rack equipment cabinet leg support"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.general.cat5e_enhanced_patch_panel_48_ports;",
160,30,"","CAT5e Enhanced Patch Panel 48 ports",null,null,"rack equipment cat5e enhanced patch panel port"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.general.cat5e_rack_mount_patch_panel_24_ports;",160,15,"","CAT5e Rack Mount Patch Panel 24 ports",null,null,"rack equipment cat5e mount patch panel port"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.general.cat5e_rack_mount_patch_panel_96_ports;",
160,60,"","CAT5e Rack Mount Patch Panel 96 ports",null,null,"rack equipment cat5e mount patch panel port"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.general.hub;",160,30,"","Hub",null,null,"rack equipment hub"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.rack.general.server_1;",
73,150,"","Server 1",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.rack.general.server_2;",73,150,"","Server 2",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;shadow\x3d0;dashed\x3d0;shape\x3dmxgraph.rack.general.server_3;",
73,150,"","Server 3",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.general.switches_1;",160,30,"","Switches 1",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.general.switches_2;",
160,30,"","Switches 2",null,null,"rack equipment server")])};Sidebar.prototype.addRackF5Palette=function(){this.addPaletteFunctions("rackF5","Rack / F5",!1,[this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.arx_500;",168,20,"","ARX 500",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.arx_1000;",
168,40,"","ARX 1000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.arx_1500;",168,20,"","ARX 1500",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.arx_2000;",
168,40,"","ARX 2000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.arx_2500;",168,20,"","ARX 2500",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.arx_4000;",
168,60,"","ARX 4000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.arx_5000;",168,20,"","ARX 5000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.arx_6000;",
168,240,"","ARX 6000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.big_ip_1600;",168,20,"","BIG-IP 1600",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.big_ip_2x00;",
168,20,"","BIG-IP 2x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.big_ip_3600;",168,20,"","BIG-IP 3600",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.big_ip_3900;",
168,20,"","BIG-IP 3900",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.big_ip_4x00;",168,20,"","BIG-IP 4x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.big_ip_5x00;",
168,20,"","BIG-IP 5x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.big_ip_6900;",168,40,"","BIG-IP 6900",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.big_ip_89x0;",
168,40,"","BIG-IP 89x0",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.big_ip_7x00;",168,40,"","BIG-IP 7x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.big_ip_10x00;",
168,40,"","BIG-IP 10x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.big_ip_110x0;",168,60,"","BIG-IP 110x0",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.em_4000;",
168,20,"","EM 4000",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.firepass_1200;",168,20,"","FirePass 1200",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.firepass_4100;",
168,40,"","FirePass 4100",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.viprion_2400;",168,60,"","VIPRION 2400",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.viprion_4400;",
168,120,"","VIPRION 4400",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor\x3d#666666;html\x3d1;labelPosition\x3dright;align\x3dleft;spacingLeft\x3d15;shadow\x3d0;dashed\x3d0;fillColor\x3d#ffffff;shape\x3dmxgraph.rack.f5.viprion_4800;",168,320,"","VIPRION 4800",null,null,"rack equipment big ip")])}})();
(function(){Sidebar.prototype.addSysMLModelElementsPalette=function(b){var c=this,f=[this.addEntry("sysml model element comment",function(){var b=new mxCell("Comment text",new mxGeometry(0,40,150,40),"shape\x3dnote;size\x3d15;align\x3dleft;spacingLeft\x3d10;html\x3d1;whiteSpace\x3dwrap;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dnone;exitX\x3d0.4;exitY\x3d0;dashed\x3d1;html\x3d1;");a.geometry.setTerminalPoint(new mxPoint(20,0),!1);a.geometry.relative=
!0;a.geometry.x=1;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dnone;exitX\x3d0.8;exitY\x3d0;dashed\x3d1;html\x3d1;");e.geometry.setTerminalPoint(new mxPoint(180,0),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],180,80,"Comment")}),this.addEntry("sysml model element constraint note",function(){var b=new mxCell("{C1: {L1} E1.x \x3e E2.y}",new mxGeometry(0,40,150,40),"shape\x3dnote;size\x3d15;align\x3dleft;spacingLeft\x3d10;html\x3d1;whiteSpace\x3dwrap;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dnone;exitX\x3d0.4;exitY\x3d0;dashed\x3d1;html\x3d1;");a.geometry.setTerminalPoint(new mxPoint(20,0),!1);a.geometry.relative=!0;a.geometry.x=1;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dnone;exitX\x3d0.8;exitY\x3d0;dashed\x3d1;html\x3d1;");e.geometry.setTerminalPoint(new mxPoint(180,0),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;b.insertEdge(e,
!0);return c.createVertexTemplateFromCells([b,a,e],180,80,"Constraint Note")}),this.addEntry("sysml model element constraint textual note",function(){var b=new mxCell("Element1\n(any graphical node)",new mxGeometry(0,0,160,60),"shape\x3drect;strokeWidth\x3d2;fontStyle\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("{constraint text}",new mxGeometry(160,30,0,0),"align\x3dleft;html\x3d1;verticalAlign\x3dmiddle;labelPosition\x3dright;verticalLabelPosition\x3dmiddle;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Constraint Textual Note")}),this.addEntry("sysml model element constraint textual note",function(){var b=new mxCell("{constraint text}",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dnone;edgeStyle\x3dnone;labelBackgroundColor\x3dnone;fontSize\x3d10;strokeWidth\x3d2;");b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(160,
0),!1);b.geometry.relative=!0;b.edge=!0;var a=new mxCell("{any graphical path}",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10;");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Constraint Textual Note")}),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.composite;symbol0\x3dfolder;fontStyle\x3d1;spacingTop\x3d15;tabWidth\x3d80;tabHeight\x3d20;tabPosition\x3dleft;symbol1\x3dtriangle;symbol1Width\x3d7;symbol1Height\x3d10;symbol1Align\x3dright;symbol1VerticalAlign\x3dtop;symbol1Spacing\x3d8;symbol1VSpacing\x3d25;symbol1Direction\x3dnorth;strokeWidth\x3d2;whiteSpace\x3dwrap;align\x3dcenter;",
160,90,"Model","Model",null,null,this.getTagsForStencil("","","sysml model element model").join(" ")),this.addEntry("sysml model element package diagram",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3e\x3cb\x3epkg\x3c/b\x3e Name\x3c/p\x3e',new mxGeometry(0,0,300,120),"html\x3d1;shape\x3dmxgraph.sysml.package;xSize\x3d90;align\x3dleft;spacingLeft\x3d10;overflow\x3dfill;strokeWidth\x3d1;recursiveResize\x3d0;");b.vertex=!0;var a=new mxCell("\nSubpackage1",
new mxGeometry(15,60,100,50),"shape\x3dfolder;spacingLeft\x3d10;tabWidth\x3d40;tabHeight\x3d14;tabPosition\x3dleft;fontSize\x3d10;html\x3d1;whiteSpace\x3dwrap;");a.vertex=!0;b.insert(a);var e=new mxCell("\nSubpackage2",new mxGeometry(190,20,100,50),"shape\x3dfolder;spacingLeft\x3d10;tabWidth\x3d40;tabHeight\x3d14;tabPosition\x3dleft;fontSize\x3d10;html\x3d1;whiteSpace\x3dwrap;");e.vertex=!0;b.insert(e);var f=new mxCell("\x26lt;\x26lt;import\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dopen;dashed\x3d1;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;endSize\x3d12;html\x3d1;");
f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!0);e.insertEdge(f,!1);b.insert(f);return c.createVertexTemplateFromCells([b],300,120,"Package Diagram")}),this.addEntry("sysml model element package tab",function(){var b=new mxCell("Package1",new mxGeometry(0,0,300,120),"shape\x3dfolder;xSize\x3d90;align\x3dleft;spacingLeft\x3d10;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d5;spacingTop\x3d-4;tabWidth\x3d70;tabHeight\x3d20;tabPosition\x3dleft;html\x3d1;strokeWidth\x3d1;recursiveResize\x3d0;");
b.vertex=!0;var a=new mxCell("\nSubpackage1",new mxGeometry(15,60,100,50),"shape\x3dfolder;spacingLeft\x3d10;tabWidth\x3d40;tabHeight\x3d14;tabPosition\x3dleft;fontSize\x3d10;html\x3d1;whiteSpace\x3dwrap;");a.vertex=!0;b.insert(a);var e=new mxCell("\nSubpackage2",new mxGeometry(190,30,100,50),"shape\x3dfolder;spacingLeft\x3d10;tabWidth\x3d40;tabHeight\x3d14;tabPosition\x3dleft;fontSize\x3d10;html\x3d1;whiteSpace\x3dwrap;");e.vertex=!0;b.insert(e);var f=new mxCell("\x26lt;\x26lt;import\x26gt;\x26gt;",
new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dopen;dashed\x3d1;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;endSize\x3d12;html\x3d1;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!0);e.insertEdge(f,!1);b.insert(f);return c.createVertexTemplateFromCells([b],300,120,"Package (Tab)")}),this.createVertexTemplateEntry("shape\x3dfolder;tabWidth\x3d80;tabHeight\x3d20;tabPosition\x3dleft;strokeWidth\x3d2;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",160,90,"Package1","Package (Name)",null,
null,this.getTagsForStencil("","","sysml model element package name").join(" ")),this.createVertexTemplateEntry("shape\x3dnote;size\x3d15;align\x3dleft;spacingLeft\x3d10;html\x3d1;whiteSpace\x3dwrap;",160,60,"\x26lt;\x26lt;problem\x26gt;\x26gt;\nDescription","Problem",null,null,this.getTagsForStencil("","","sysml model element problem").join(" ")),this.createVertexTemplateEntry("shape\x3dnote;size\x3d15;align\x3dleft;spacingLeft\x3d10;html\x3d1;whiteSpace\x3dwrap;",160,60,"\x26lt;\x26lt;rationale\x26gt;\x26gt;\nDescription",
"Rationale",null,null,this.getTagsForStencil("","","sysml model element rationale").join(" ")),this.createVertexTemplateEntry("shape\x3dfolder;tabWidth\x3d80;tabHeight\x3d20;tabPosition\x3dleft;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",160,80,"\n\x26lt;\x26lt;view\x26gt;\x26gt;\n{viewpoint \x3d View name}\nName","View (Name)",null,null,this.getTagsForStencil("","","sysml model element view name").join(" ")),this.createVertexTemplateEntry("shape\x3dfolder;html\x3d1;tabWidth\x3d80;tabHeight\x3d40;tabPosition\x3dleft;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d10;whiteSpace\x3dwrap;",
160,120,"\x26lt;\x26lt;view\x26gt;\x26gt;\nName","View",null,null,this.getTagsForStencil("","","sysml model element view").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",120,140,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;viewpoint\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eName\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3estakeholders\x3d"..."\x3cbr/\x3epurpose\x3d"..."\x3cbr\x3econcerns\x3d"..."\x3cbr\x3elanguages\x3d"..."\x3cbr\x3emethods\x3d"..."\x3c/p\x3e',
"Viewpoint",null,null,this.getTagsForStencil("","","sysml model element viewpoint").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;dashed\x3d1;verticalAlign\x3dbottom;",160,0,"\x26lt;\x26lt;conform\x26gt;\x26gt;","Conform",null,this.getTagsForStencil("","","sysml model element conform").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;dashed\x3d1;verticalAlign\x3dbottom;",160,0,"\x26lt;\x26lt;stereotype1\x26gt;\x26gt;\ndependency1",
"Dependency",null,this.getTagsForStencil("","","sysml model element dependency").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;dashed\x3d1;verticalAlign\x3dbottom;",160,0,"\x26lt;\x26lt;import\x26gt;\x26gt;","Public Package Import",null,this.getTagsForStencil("","","sysml model element public package import").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;dashed\x3d1;verticalAlign\x3dbottom;",
160,0,"\x26lt;\x26lt;access\x26gt;\x26gt;","Private Package Import",null,this.getTagsForStencil("","","sysml model element private package import").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;"+mxConstants.STYLE_STARTARROW+"\x3dsysMLPackCont;startSize\x3d12;"+mxConstants.STYLE_ENDARROW+"\x3dnone;",160,0,"","Package Containment",null,this.getTagsForStencil("","","sysml model element package containment").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endSize\x3d12;endArrow\x3dblock;endFill\x3d0;dashed\x3d1;",
160,0,"","Realization",null,this.getTagsForStencil("","","sysml model element realization").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;dashed\x3d1;verticalAlign\x3dbottom;",160,0,"\x26lt;\x26lt;refine\x26gt;\x26gt;","Refine",null,this.getTagsForStencil("","","sysml model element refine").join(" "))];this.addPalette("sysmlModel Elements","SysML / Model Elements",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};
Sidebar.prototype.addSysMLBlocksPalette=function(b){var c=this,f=[this.addEntry("sysml block block definition diagram",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3e\x3cb\x3ebdd\x3c/b\x3e Namespace1\x3c/p\x3e',new mxGeometry(0,0,300,100),"html\x3d1;strokeWidth\x3d1;shape\x3dmxgraph.sysml.package;labelX\x3d120;align\x3dleft;spacingLeft\x3d10;overflow\x3dfill;recursiveResize\x3d0;");b.vertex=!0;var a=new mxCell("Block1",new mxGeometry(15,
30,100,50),"shape\x3drect;fontStyle\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;b.insert(a);var e=new mxCell("Block2",new mxGeometry(190,30,100,50),"shape\x3drect;fontStyle\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");e.vertex=!0;b.insert(e);var f=new mxCell("part1",new mxGeometry(0,0,0,0),"align\x3dright;html\x3d1;verticalAlign\x3dbottom;endArrow\x3dnone;startArrow\x3ddiamondThin;startSize\x3d14;startFill\x3d1;edgeStyle\x3dnone;endFill\x3d0;");f.geometry.relative=!0;
f.geometry.x=1;f.edge=!0;b.insert(f);var k=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;f.insert(k);k=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;f.insert(k);a.insertEdge(f,!0);e.insertEdge(f,
!1);return c.createVertexTemplateFromCells([b],300,100,"Block Definition Diagram")}),this.addEntry("sysml block relation",function(){var b=new mxCell("part1",new mxGeometry(0,0,0,0),"align\x3dright;html\x3d1;verticalAlign\x3dbottom;endArrow\x3dnone;startArrow\x3ddiamondThin;startSize\x3d14;startFill\x3d1;edgeStyle\x3dnone;");b.geometry.relative=!0;b.geometry.x=1;b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(160,0),!1);b.edge=!0;var a=new mxCell("1",new mxGeometry(-1,
0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Relation")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;verticalAlign\x3dtop;align\x3dleft;whiteSpace\x3dwrap;",
220,340,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;block\x26gt;\x26gt;\x3cbr/\x3e{encapsulated}\x3cbr/\x3e\x3cb\x3eBlock1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3econstraints\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3e{x \x26gt; y}\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3eoperations\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3eoperation1 (p1 : Type1) : Type2\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3eparts\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3eproperty1 : Block2\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3ereferences\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3eproperty2 : Block3 [0..*] {ordered}\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3evalues\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3eproperty3 : Integer \x3d 99 {readOnly}\x3cbr/\x3eproperty4 : Real \x3d 10.0\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3eproperties\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3eproperty5 : Type1\x3c/p\x3e',
"Block",null,null,this.getTagsForStencil("","","sysml block block").join(" ")),this.createVertexTemplateEntry("shape\x3dumlActor;html\x3d1;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",30,60,"ActorName","Actor",null,null,this.getTagsForStencil("","","sysml block actor").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;",160,80,"\x3cp\x3e\x26lt;\x26lt;actor\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eActorName\x3c/b\x3e\x3c/p\x3e",
"Actor",null,null,this.getTagsForStencil("","","sysml block actor").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",200,180,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;valueType\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eValueType1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3eoperations\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3eoperation1 (p1 : Type1) : Type2\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3eproperties\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3eproperty1 : Type3\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:center;"\x3e\x26lt;\x26lt;valueType\x26gt;\x26gt;\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3eunit \x3d UnitName\x3c/p\x3e',
"ValueType",null,null,this.getTagsForStencil("","","sysml block value type valuetype").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",200,80,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;enumeration\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eEnumeration1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3eliteralName1\x3cbr/\x3eliteralName2\x3c/p\x3e',"Enumeration",null,null,
this.getTagsForStencil("","","sysml block enumeration").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;",80,40,'\x3cp style\x3d"margin:13px;"\x3e\x3cb\x3e\x3ci\x3eName\x3c/i\x3e\x3c/b\x3e\x3c/p\x3e',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;",80,40,'\x3cp style\x3d"margin:5px;"\x3e{abstract}\x3cbr/\x3e\x3cb\x3e\x3ci\x3eName\x3c/i\x3e\x3c/b\x3e\x3c/p\x3e',
"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;",80,40,'\x3cp style\x3d"margin:5px;"\x3e\x3cb\x3e\x3ci\x3eName\x3c/i\x3e\x3c/b\x3e\x3cbr/\x3e{abstract}\x3c/p\x3e',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;",
200,80,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;stereotype1\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eBlock1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:center;"\x3e\x26lt;\x26lt;stereotype1\x26gt;\x26gt;\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3eproperty1 \x3d value\x3c/p\x3e',"Stereotype Property Compartment",null,null,this.getTagsForStencil("","","sysml block stereotype property compartment").join(" ")),
this.addEntry("sysml block namespace compartment",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eBlock1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3enamespace\x3c/i\x3e\x3c/p\x3e',new mxGeometry(0,0,300,120),"shape\x3drect;align\x3dleft;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;strokeWidth\x3d1;recursiveResize\x3d0;");b.vertex=!0;var a=new mxCell("Block2",new mxGeometry(15,60,100,
50),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;b.insert(a);var e=new mxCell("Block3",new mxGeometry(190,60,100,50),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");e.vertex=!0;b.insert(e);var f=new mxCell("part1",new mxGeometry(0,0,0,0),"align\x3dright;verticalAlign\x3dbottom;endArrow\x3dnone;startArrow\x3ddiamondThin;startSize\x3d14;startFill\x3d1;edgeStyle\x3dnone;html\x3d1;");f.geometry.relative=!0;f.geometry.x=1;f.edge=
!0;b.insert(f);var k=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;f.insert(k);k=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;f.insert(k);a.insertEdge(f,!0);e.insertEdge(f,!1);return c.createVertexTemplateFromCells([b],
300,100,"Namespace Compartment")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",250,100,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eBlock1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3enamespace\x3c/i\x3e\x3c/p\x3e',"Block",null,null,this.getTagsForStencil("","","sysml block block").join(" ")),this.addEntry("sysml block structure compartment",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eBlock1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3estructure\x3c/i\x3e\x3c/p\x3e',
new mxGeometry(0,0,300,120),"shape\x3drect;align\x3dleft;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;strokeWidth\x3d1;recursiveResize\x3d0;");b.vertex=!0;var a=new mxCell("Block2",new mxGeometry(15,60,100,50),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;b.insert(a);var e=new mxCell("Block3",new mxGeometry(190,60,100,50),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");e.vertex=!0;b.insert(e);var f=new mxCell("c1:",new mxGeometry(0,
0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dnone;edgeStyle\x3dnone;");f.geometry.relative=!0;f.edge=!0;b.insert(f);var k=new mxCell("e1",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;f.insert(k);k=new mxCell("1",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");k.geometry.relative=
!0;k.setConnectable(!1);k.vertex=!0;f.insert(k);a.insertEdge(f,!0);e.insertEdge(f,!1);return c.createVertexTemplateFromCells([b],300,100,"Structure Compartment")}),this.addEntry("sysml block relation",function(){var b=new mxCell("c1",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dnone;startArrow\x3dnone;startSize\x3d14;startFill\x3d0;edgeStyle\x3dorthogonalEdgeStyle;");b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(160,0),!1);b.geometry.relative=
!0;b.edge=!0;var a=new mxCell("1",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("e1",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,
b.geometry.height,"Relation")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",200,60,'\x3cp style\x3d"margin:0px;margin-top:10px;text-align:center;"\x3e\x26lt;\x26lt;unit\x26gt;\x26gt;\x3cbr/\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:center;"\x3e{quantityKind \x3d QuantityKind1}\x3cbr/\x3e\x3cb\x3eUnit1\x3c/b\x3e\x3c/p\x3e',"Unit",null,null,this.getTagsForStencil("","","sysml block unit").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",
200,80,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eUnit1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:center;"\x3e\x26lt;\x26lt;unit\x26gt;\x26gt;\x3cbr/\x3e{quantityKind \x3d QuantityKind1}\x3c/p\x3e',"Unit",null,null,this.getTagsForStencil("","","sysml block unit").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",200,60,'\x3cp style\x3d"margin:0px;margin-top:10px;text-align:center;"\x3e\x26lt;\x26lt;quantityKind\x26gt;\x26gt;\x3cbr/\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:center;"\x3e\x3cb\x3eQuantityKind1\x3c/b\x3e\x3c/p\x3e',
"Quantity Kind",null,null,this.getTagsForStencil("","","sysml block quantity kind").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;fontSize\x3d15;whiteSpace\x3dwrap;",70,30,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"\x3e\x3cB\x3ei1: Type1\x3c/b\x3e\x3cbr/\x3e',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.addEntry("sysml block instance specification",
function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"\x3e\x3cB\x3ei1: Type1\x3c/b\x3e\x3cbr/\x3e',new mxGeometry(0,0,80,30),"shape\x3drect;html\x3d1;overflow\x3dfill;fontSize\x3d15;whiteSpace\x3dwrap;");b.vertex=!0;var a=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"\x3e\x3cB\x3ei2: Type2\x3c/b\x3e\x3cbr/\x3e',new mxGeometry(200,0,80,30),"shape\x3drect;html\x3d1;overflow\x3dfill;fontSize\x3d15;whiteSpace\x3dwrap;");
a.vertex=!0;var e=new mxCell("\x26lt;\x26lt;allocate\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"rounded\x3d0;html\x3d1;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;endArrow\x3dopen;dashed\x3d1;endSize\x3d12;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);e=new mxCell("A1",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dopen;endSize\x3d12;edgeStyle\x3dorthogonalEdgeStyle;");e.geometry.setTerminalPoint(new mxPoint(0,0),!0);e.geometry.setTerminalPoint(new mxPoint(160,
0),!1);e.geometry.relative=!0;e.edge=!0;var f=new mxCell("p3",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");f.geometry.relative=!0;f.setConnectable(!1);f.vertex=!0;e.insert(f);b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],280,30,"Instance Specification")}),this.addEntry("sysml block relation",function(){var b=new mxCell("A1",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dopen;endSize\x3d12;edgeStyle\x3dorthogonalEdgeStyle;");
b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(160,0),!1);b.geometry.relative=!0;b.edge=!0;var a=new mxCell("p3",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Relation")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",
120,60,'\x3cp style\x3d"margin:0px;margin-top:10px;text-align:center;text-decoration:underline;"\x3einstance1: Type1\x3cbr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3evalue1\x3c/p\x3e',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",160,80,'\x3cp style\x3d"margin:0px;margin-top:10px;text-align:center;text-decoration:underline;"\x3einstance1: Type1\x3cbr/\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:4px;text-align:left;"\x3eproperty1 \x3d 10\x3cbr/\x3eproperty2 \x3d "value"\x3c/p\x3e',
"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.addEntry("sysml block instance specification",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:5px;text-align:center;text-decoration:underline;"\x3e: Type1\x3chr/\x3e\x3c/p\x3e',new mxGeometry(0,0,200,180),"shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;strokeWidth\x3d1;recursiveResize\x3d0;");b.vertex=!0;var a=new mxCell('\x3cp style\x3d"margin:0px;margin-top:5px;text-align:center;text-decoration:underline;"\x3einstance1 / property1: Type2\x3chr/\x3e\x3c/p\x3e',
new mxGeometry(10,30,180,140),"shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;");a.vertex=!0;b.insert(a);a=new mxCell('\x3cp style\x3d"margin:0px;margin-top:5px;text-align:center;text-decoration:underline;"\x3einstance2 / property2:\x3cbr/\x3eType3\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:4px;text-align:left;"\x3eproperty1 \x3d 10\x3cbr/\x3eproperty2 \x3d "value"\x3c/p\x3e',new mxGeometry(20,60,160,100),"shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;");
a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],200,180,"Instance Specification")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",200,160,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"\x3e: Type1\x3c/p\x3e\x3chr/\x3e',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;dashed\x3d1;verticalAlign\x3dbottom;",
160,0,"\x26lt;\x26lt;stereotype\x26gt;\x26gt;\ndependency1","Dependency",null,null,this.getTagsForStencil("","","sysml block dependency").join(" ")),this.addEntry("sysml block reference association",function(){var b=new mxCell("association1",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dopen;endSize\x3d12;edgeStyle\x3dorthogonalEdgeStyle;");b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(250,0),!1);b.geometry.relative=!0;b.edge=!0;
var a=new mxCell("0..1",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("{ordered} 1..*",new mxGeometry(0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("property1",new mxGeometry(0.9,0,
0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Reference Association")}),this.addEntry("sysml block reference association",function(){var b=new mxCell("association1",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dnone;edgeStyle\x3dorthogonalEdgeStyle;");b.geometry.setTerminalPoint(new mxPoint(0,
0),!0);b.geometry.setTerminalPoint(new mxPoint(250,0),!1);b.geometry.relative=!0;b.edge=!0;var a=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("property2",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);
a.vertex=!0;b.insert(a);a=new mxCell("{ordered} 0..*",new mxGeometry(0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("property1",new mxGeometry(0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],
b.geometry.width,b.geometry.height,"Reference Association")}),this.addEntry("sysml block part association",function(){var b=new mxCell("association1",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dopen;endSize\x3d12;edgeStyle\x3dorthogonalEdgeStyle;startFill\x3d1;startSize\x3d12;startArrow\x3ddiamondThin;");b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(250,0),!1);b.geometry.relative=!0;b.edge=!0;var a=new mxCell("0..1",new mxGeometry(-0.9,
0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("{ordered} 1..*",new mxGeometry(0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("property1",new mxGeometry(0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Part Association")}),this.addEntry("sysml block part association",function(){var b=new mxCell("association1",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dnone;edgeStyle\x3dorthogonalEdgeStyle;startFill\x3d1;startSize\x3d12;startArrow\x3ddiamondThin;");b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(250,
0),!1);b.geometry.relative=!0;b.edge=!0;var a=new mxCell("1",new mxGeometry(-0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("property2",new mxGeometry(-0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("{ordered} 0..*",
new mxGeometry(0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("property1",new mxGeometry(0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,
"Part Association")}),this.addEntry("sysml block shared association",function(){var b=new mxCell("association1",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dopen;endSize\x3d12;edgeStyle\x3dorthogonalEdgeStyle;startFill\x3d0;startSize\x3d12;startArrow\x3ddiamondThin;");b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(250,0),!1);b.geometry.relative=!0;b.edge=!0;var a=new mxCell("0..1",new mxGeometry(-0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("{ordered} 1..*",new mxGeometry(0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("property1",new mxGeometry(0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);
a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Shared Association")}),this.addEntry("sysml block shared association",function(){var b=new mxCell("association1",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dnone;edgeStyle\x3dorthogonalEdgeStyle;startFill\x3d0;startSize\x3d12;startArrow\x3ddiamondThin;");b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(250,0),!1);b.geometry.relative=
!0;b.edge=!0;var a=new mxCell("1",new mxGeometry(-0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("property2",new mxGeometry(-0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("{ordered} 0..*",new mxGeometry(0.9,
0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("property1",new mxGeometry(0.9,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Shared Association")}),
this.addEntry("sysml block multibranch part association",function(){var b=new mxCell("association1",new mxGeometry(123,3,4,4),"verticalAlign\x3dbottom;html\x3d1;ellipse;fillColor\x3d#000000;strokeColor\x3d#000000;");b.vertex=!0;var a=new mxCell("property1",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;align\x3dright;verticalAlign\x3dbottom;endArrow\x3dnone;rounded\x3d0;labelBackgroundColor\x3dnone;");a.geometry.setTerminalPoint(new mxPoint(250,5),!1);a.geometry.relative=
!0;a.geometry.x=1;a.edge=!0;var e=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10;labelBackgroundColor\x3dnone;");e.geometry.relative=!0;e.setConnectable(!1);e.vertex=!0;a.insert(e);b.insertEdge(a,!0);e=new mxCell("property2",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;align\x3dright;verticalAlign\x3dbottom;endArrow\x3dnone;rounded\x3d0;labelBackgroundColor\x3dnone;");
e.geometry.setTerminalPoint(new mxPoint(250,50),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;var f=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");f.geometry.relative=!0;f.setConnectable(!1);f.vertex=!0;e.insert(f);b.insertEdge(e,!0);f=new mxCell("property3",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;align\x3dleft;verticalAlign\x3dbottom;endArrow\x3ddiamondThin;rounded\x3d0;endFill\x3d1;endSize\x3d12;labelBackgroundColor\x3dnone;");
f.geometry.setTerminalPoint(new mxPoint(0,5),!1);f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;var k=new mxCell("1",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;f.insert(k);b.insertEdge(f,!0);return c.createVertexTemplateFromCells([b,a,e,f],250,50,"Multibranch Part Association")}),this.addEntry("sysml block multibranch shared association",function(){var b=
new mxCell("association1",new mxGeometry(123,3,4,4),"verticalAlign\x3dbottom;html\x3d1;ellipse;fillColor\x3d#000000;");b.vertex=!0;var a=new mxCell("property1",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;align\x3dright;verticalAlign\x3dbottom;endArrow\x3dnone;rounded\x3d0;labelBackgroundColor\x3dnone;");a.geometry.setTerminalPoint(new mxPoint(250,5),!1);a.geometry.relative=!0;a.geometry.x=1;a.edge=!0;var e=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable\x3d0;align\x3dright;html\x3d1;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10;labelBackgroundColor\x3dnone;");
e.geometry.relative=!0;e.setConnectable(!1);e.vertex=!0;a.insert(e);b.insertEdge(a,!0);e=new mxCell("property2",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;align\x3dright;verticalAlign\x3dbottom;endArrow\x3dnone;rounded\x3d0;labelBackgroundColor\x3dnone;");e.geometry.setTerminalPoint(new mxPoint(250,50),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;var f=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable\x3d0;align\x3dright;html\x3d1;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
f.geometry.relative=!0;f.setConnectable(!1);f.vertex=!0;e.insert(f);b.insertEdge(e,!0);f=new mxCell("property3",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;align\x3dleft;verticalAlign\x3dbottom;endArrow\x3ddiamondThin;rounded\x3d0;endFill\x3d0;endSize\x3d12;labelBackgroundColor\x3dnone;");f.geometry.setTerminalPoint(new mxPoint(0,5),!1);f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;var k=new mxCell("1",new mxGeometry(1,0,0,0),"resizable\x3d0;align\x3dleft;html\x3d1;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;f.insert(k);b.insertEdge(f,!0);return c.createVertexTemplateFromCells([b,a,e,f],250,50,"Multibranch Shared Association")}),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endSize\x3d12;endArrow\x3dblock;endFill\x3d0;",160,0,"","Generalization",null,this.getTagsForStencil("","","sysml block generalization").join(" ")),this.addEntry("sysml block multibranch generalization",function(){var b=new mxCell("",new mxGeometry(68,23,4,4),"verticalAlign\x3dbottom;html\x3d1;ellipse;fillColor\x3d#000000;strokeColor\x3d#000000;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;endSize\x3d12;endArrow\x3dblock;endFill\x3d0;elbow\x3dhorizontal;rounded\x3d0;");a.geometry.setTerminalPoint(new mxPoint(70,0),!1);a.geometry.relative=!0;a.geometry.x=1;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;verticalAlign\x3dbottom;endArrow\x3dnone;rounded\x3d0;");e.geometry.setTerminalPoint(new mxPoint(140,50),!1);
e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;b.insertEdge(e,!0);var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;verticalAlign\x3dbottom;endArrow\x3dnone;rounded\x3d0;");f.geometry.setTerminalPoint(new mxPoint(0,50),!1);f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;b.insertEdge(f,!0);return c.createVertexTemplateFromCells([b,a,e,f],140,50,"Multibranch Generalization")}),this.addEntry("sysml block generalization set",function(){var b=new mxCell("{disjoint}",
new mxGeometry(68,23,4,4),"ellipse;html\x3d1;fillColor\x3d#000000;strokeColor\x3d#000000;labelPosition\x3dright;align\x3dleft;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;endSize\x3d12;endArrow\x3dblock;endFill\x3d0;elbow\x3dhorizontal;rounded\x3d0;");a.geometry.setTerminalPoint(new mxPoint(70,0),!1);a.geometry.relative=!0;a.geometry.x=1;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;verticalAlign\x3dbottom;endArrow\x3dnone;rounded\x3d0;");
e.geometry.setTerminalPoint(new mxPoint(140,50),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;b.insertEdge(e,!0);var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;verticalAlign\x3dbottom;endArrow\x3dnone;rounded\x3d0;");f.geometry.setTerminalPoint(new mxPoint(0,50),!1);f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;b.insertEdge(f,!0);return c.createVertexTemplateFromCells([b,a,e,f],140,50,"Generalization Set")}),this.addEntry("sysml block generalization set",
function(){var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dblock;endFill\x3d0;endSize\x3d12;");b.geometry.setTerminalPoint(new mxPoint(10,0),!1);b.geometry.setTerminalPoint(new mxPoint(10,80),!0);b.geometry.relative=!0;b.edge=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dblock;endFill\x3d0;endSize\x3d12;");a.geometry.setTerminalPoint(new mxPoint(40,0),!1);a.geometry.setTerminalPoint(new mxPoint(40,80),!0);a.geometry.relative=
!0;a.edge=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dblock;endFill\x3d0;endSize\x3d12;");e.geometry.setTerminalPoint(new mxPoint(70,0),!1);e.geometry.setTerminalPoint(new mxPoint(70,80),!0);e.geometry.relative=!0;e.edge=!0;var f=new mxCell("{overlapping}",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;dashed\x3d1;labelPosition\x3dright;align\x3dleft;");f.geometry.relative=!0;f.geometry.x=1;f.geometry.setTerminalPoint(new mxPoint(0,
40),!0);f.geometry.setTerminalPoint(new mxPoint(80,40),!1);f.edge=!0;return c.createVertexTemplateFromCells([b,a,e,f],150,80,"Generalization Set")}),this.addEntry("sysml block block namespace containment",function(){var b=new mxCell("",new mxGeometry(68,38,4,4),"verticalAlign\x3dbottom;html\x3d1;ellipse;fillColor\x3d#000000;strokeColor\x3d#000000;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;endSize\x3d12;endArrow\x3dsysMLPackCont;elbow\x3dhorizontal;rounded\x3d0;align\x3dleft;verticalAlign\x3dmiddle");
a.geometry.setTerminalPoint(new mxPoint(70,16),!1);a.geometry.relative=!0;a.geometry.x=1;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;verticalAlign\x3dbottom;endArrow\x3dnone;rounded\x3d0;");e.geometry.setTerminalPoint(new mxPoint(140,70),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;b.insertEdge(e,!0);var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;verticalAlign\x3dbottom;endArrow\x3dnone;rounded\x3d0;");
f.geometry.setTerminalPoint(new mxPoint(0,70),!1);f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;b.insertEdge(f,!0);return c.createVertexTemplateFromCells([b,a,e,f],140,70,"Block Namespace Containment")}),this.addEntry("sysml block participant property",function(){var b=new mxCell("Block2",new mxGeometry(0,0,50,20),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("Block1",new mxGeometry(350,0,50,20),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");
a.vertex=!0;var e=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eAssoctiation1\x3c/b\x3e\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:center;"\x3e\x26lt;\x26lt;participant\x26gt;\x26gt; {end \x3d property 1} p1 : Block 1\x3cbr/\x3e\x26lt;\x26lt;participant\x26gt;\x26gt; {end \x3d property 2} p2 : Block 2\x3c/p\x3e',new mxGeometry(50,60,300,80),"shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;");e.vertex=!0;var f=new mxCell("Association1",
new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;verticalAlign\x3dbottom;");f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);a.insertEdge(f,!1);var k=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;dashed\x3d1;");k.geometry.setTerminalPoint(new mxPoint(200,10),!1);k.geometry.relative=!0;k.edge=!0;e.insertEdge(k,!0);var l=new mxCell("property2",new mxGeometry(-1,0,0,0),"spacingLeft\x3d3;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;labelPosition\x3dright;labelBackgroundColor\x3dnone;fontSize\x3d10");
l.geometry.relative=!0;l.setConnectable(!1);l.vertex=!0;f.insert(l);l=new mxCell("1",new mxGeometry(-1,0,0,0),"spacingLeft\x3d3;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelPosition\x3dright;labelBackgroundColor\x3dnone;fontSize\x3d10");l.geometry.relative=!0;l.setConnectable(!1);l.vertex=!0;f.insert(l);l=new mxCell("property1",new mxGeometry(1,0,0,0),"spacingRight\x3d3;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelPosition\x3dleft;labelBackgroundColor\x3dnone;fontSize\x3d10");l.geometry.relative=
!0;l.setConnectable(!1);l.vertex=!0;f.insert(l);l=new mxCell("{ordered} 0..*",new mxGeometry(1,0,0,0),"spacingRight\x3d3;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelPosition\x3dleft;labelBackgroundColor\x3dnone;fontSize\x3d10");l.geometry.relative=!0;l.setConnectable(!1);l.vertex=!0;f.insert(l);return c.createVertexTemplateFromCells([b,a,e,f,k],400,140,"Participant Property")}),this.addEntry("sysml block participant property",function(){var b=new mxCell("Block2",new mxGeometry(0,0,50,20),"shape\x3drect;html\x3d1;strokeWidth\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");
b.vertex=!0;var a=new mxCell("Block1",new mxGeometry(350,0,50,20),"shape\x3drect;html\x3d1;strokeWidth\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eAssoctiation1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;text-align:center;"\x3e\x3ci\x3estructure\x3c/i\x3e\x3c/p\x3e',new mxGeometry(20,60,360,150),"shape\x3drect;html\x3d1;strokeWidth\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;recursiveResize\x3d0;");
e.vertex=!0;var f=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;participant\x26gt;\x26gt;\x3cbr/\x3e{end \x3d property 2}\x3cbr/\x3e\x3cbr/\x3e\x3cb\x3ep2 : Block 2\x3c/b\x3e\x3c/p\x3e',new mxGeometry(20,50,150,80),"shape\x3drect;html\x3d1;overflow\x3dfill;dashed\x3d1;whiteSpace\x3dwrap;");f.vertex=!0;e.insert(f);f=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;participant\x26gt;\x26gt;\x3cbr/\x3e{end \x3d property 1}\x3cbr/\x3e\x3cbr/\x3e\x3cb\x3ep1 : Block 1\x3c/b\x3e\x3c/p\x3e',
new mxGeometry(190,50,150,80),"shape\x3drect;html\x3d1;overflow\x3dfill;dashed\x3d1;whiteSpace\x3dwrap;");f.vertex=!0;e.insert(f);f=new mxCell("Association1",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;verticalAlign\x3dbottom;");f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);a.insertEdge(f,!1);var k=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;dashed\x3d1;");k.geometry.setTerminalPoint(new mxPoint(200,10),!1);k.geometry.relative=
!0;k.edge=!0;e.insertEdge(k,!0);var l=new mxCell("property2",new mxGeometry(-1,0,0,0),"spacingLeft\x3d3;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;labelPosition\x3dright;labelBackgroundColor\x3dnone;fontSize\x3d10");l.geometry.relative=!0;l.setConnectable(!1);l.vertex=!0;f.insert(l);l=new mxCell("1",new mxGeometry(-1,0,0,0),"spacingLeft\x3d3;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelPosition\x3dright;labelBackgroundColor\x3dnone;fontSize\x3d10");l.geometry.relative=!0;l.setConnectable(!1);
l.vertex=!0;f.insert(l);l=new mxCell("property1",new mxGeometry(1,0,0,0),"spacingRight\x3d3;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelPosition\x3dleft;labelBackgroundColor\x3dnone;fontSize\x3d10");l.geometry.relative=!0;l.setConnectable(!1);l.vertex=!0;f.insert(l);l=new mxCell("{ordered} 0..*",new mxGeometry(1,0,0,0),"spacingRight\x3d3;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelPosition\x3dleft;labelBackgroundColor\x3dnone;fontSize\x3d10");l.geometry.relative=!0;l.setConnectable(!1);
l.vertex=!0;f.insert(l);return c.createVertexTemplateFromCells([b,a,e,f,k],400,260,"Participant Property")}),this.addEntry("sysml block participant property",function(){var b=new mxCell("Block2",new mxGeometry(0,0,50,20),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("Block1",new mxGeometry(350,0,50,20),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("Association1",new mxGeometry(140,
60,120,20),"shape\x3drect;html\x3d1;");e.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dnone;html\x3d1;");f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);a.insertEdge(f,!1);var k=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;dashed\x3d1;");k.geometry.setTerminalPoint(new mxPoint(200,10),!1);k.geometry.relative=!0;k.edge=!0;e.insertEdge(k,!0);var l=new mxCell("property2",new mxGeometry(-1,0,0,0),"spacingLeft\x3d3;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;labelPosition\x3dright;labelBackgroundColor\x3dnone;fontSize\x3d10");
l.geometry.relative=!0;l.setConnectable(!1);l.vertex=!0;f.insert(l);l=new mxCell("1",new mxGeometry(-1,0,0,0),"spacingLeft\x3d3;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelPosition\x3dright;labelBackgroundColor\x3dnone;fontSize\x3d10");l.geometry.relative=!0;l.setConnectable(!1);l.vertex=!0;f.insert(l);l=new mxCell("property1",new mxGeometry(1,0,0,0),"spacingRight\x3d3;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelPosition\x3dleft;labelBackgroundColor\x3dnone;fontSize\x3d10");l.geometry.relative=
!0;l.setConnectable(!1);l.vertex=!0;f.insert(l);l=new mxCell("{ordered} 0..*",new mxGeometry(1,0,0,0),"spacingRight\x3d3;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelPosition\x3dleft;labelBackgroundColor\x3dnone;fontSize\x3d10");l.geometry.relative=!0;l.setConnectable(!1);l.vertex=!0;f.insert(l);return c.createVertexTemplateFromCells([b,a,e,f,k],400,80,"Participant Property")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",300,80,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eAssoctiation1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:center;"\x3e\x26lt;\x26lt;participant\x26gt;\x26gt; {end \x3d property 1} p1 : Blcok 1\x3cbr/\x3e\x26lt;\x26lt;participant\x26gt;\x26gt; {end \x3d property 2} p2 : Blcok 2\x3c/p\x3e',
"Association",null,null,this.getTagsForStencil("","","sysml block association").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",300,80,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eAssoctiation1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;text-align:center;"\x3e\x3ci\x3estructure\x3c/i\x3e\x3c/p\x3e',"Association",null,null,this.getTagsForStencil("","","sysml block association").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;dashed\x3d1;whiteSpace\x3dwrap;",
150,80,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;participant\x26gt;\x26gt;\x3cbr/\x3e{end \x3d property 1}\x3cbr/\x3e\x3cbr/\x3e\x3cb\x3ep1 : Block 1\x3c/b\x3e\x3c/p\x3e',"Participant",null,null,this.getTagsForStencil("","","sysml block participant").join(" ")),this.addEntry("sysml block connector property",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eBlock1\x3c/b\x3e\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:-6px;margin-left:10px;text-align:left;"\x3e\x26lt;\x26lt;connector\x26gt;\x26gt; c1 : Association1\x3cbr/\x3e\x26lt;\x26lt;connector\x26gt;\x26gt; c2 : Association2\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:-6px;text-align:center;font-size:10px;"\x3e\x3ci\x3estructure\x3c/i\x3e\x3c/p\x3e',
new mxGeometry(0,0,400,250),"shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;strokeWidth\x3d1;recursiveResize\x3d0;");b.vertex=!0;var a=new mxCell("p1:\nType1",new mxGeometry(20,100,80,40),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;b.insert(a);var e=new mxCell("p2:\nType2",new mxGeometry(300,100,80,40),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");e.vertex=!0;b.insert(e);var f=new mxCell("c1: Association1",
new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;verticalAlign\x3dbottom;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!0);e.insertEdge(f,!1);b.insert(f);a=new mxCell("1",new mxGeometry(1,0,0,0),"spacingRight\x3d3;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelPosition\x3dleft;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;f.insert(a);a=new mxCell("e1",new mxGeometry(1,0,0,0),"spacingRight\x3d3;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelPosition\x3dleft;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;f.insert(a);a=new mxCell("p3:\nType3",new mxGeometry(20,160,80,40),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;b.insert(a);e=new mxCell("p4:\nType4",new mxGeometry(300,160,80,40),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");e.vertex=!0;b.insert(e);f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;");f.geometry.relative=!0;f.edge=
!0;a.insertEdge(f,!0);e.insertEdge(f,!1);b.insert(f);a=new mxCell("1",new mxGeometry(1,0,0,0),"spacingRight\x3d3;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelPosition\x3dleft;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;f.insert(a);a=new mxCell("e1",new mxGeometry(1,0,0,0),"spacingRight\x3d3;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelPosition\x3dleft;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);
a.vertex=!0;f.insert(a);f=new mxCell("c2: Association2",new mxGeometry(140,210,120,20),"shape\x3drect;html\x3d1;align\x3dcenter;");f.vertex=!0;b.insert(f);a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;dashed\x3d1;");a.geometry.setTerminalPoint(new mxPoint(200,180),!1);a.geometry.relative=!0;a.edge=!0;f.insertEdge(a,!0);b.insert(a);return c.createVertexTemplateFromCells([b],400,250,"Connector Property")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",
200,120,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eBlock1\x3c/b\x3e\x3chr/\x3e\x26lt;\x26lt;connector\x26gt;\x26gt; c1 : Association1\x3cbr/\x3e\x26lt;\x26lt;connector\x26gt;\x26gt; c2 : Association2\x3chr/\x3e\x3c/p\x3e',"Connector Property",null,null,this.getTagsForStencil("","","sysml block connector property").join(" ")),this.addEntry("sysml block internal block diagram",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3e\x3cb\x3eibd\x3c/b\x3e Block1\x3c/p\x3e',
new mxGeometry(0,0,300,100),"html\x3d1;strokeWidth\x3d1;shape\x3dmxgraph.sysml.package;labelX\x3d100;align\x3dleft;spacingLeft\x3d10;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;strokeWidth\x3d0;recursiveResize\x3d0;");b.vertex=!0;var a=new mxCell("p1:\nType1",new mxGeometry(15,30,100,50),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;b.insert(a);var e=new mxCell("p2:\nType2",new mxGeometry(190,30,100,50),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");
e.vertex=!0;b.insert(e);var f=new mxCell("c1:a1",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dnone;edgeStyle\x3dnone;");f.geometry.relative=!0;f.edge=!0;var k=new mxCell("1",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;f.insert(k);k=new mxCell("p3",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;f.insert(k);a.insertEdge(f,!0);e.insertEdge(f,!1);b.insert(f);return c.createVertexTemplateFromCells([b],300,100,"Internal Block Diagram")}),this.addEntry("sysml block property",function(){var b=new mxCell("",new mxGeometry(0,0,300,120),"shape\x3drect;html\x3d1;strokeWidth\x3d2;whiteSpace\x3dwrap;strokeWidth\x3d1;recursiveResize\x3d0;");b.vertex=!0;var a=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;margin-right:4px;text-align:right;font-size:10px;"\x3e0..*\x3c/p\x3e\x3cp style\x3d"margin:0px;text-align:center;"\x3e\x3cb\x3ep1 : Type1\x3c/b\x3e\x3chr/\x3ex : Integer \x3d 4\x3c/p\x3e',
new mxGeometry(20,20,140,80),"shape\x3drect;html\x3d1;overflow\x3dfill;strokeWidth\x3d2;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;b.insert(a);a=new mxCell("r1: Type2",new mxGeometry(180,30,100,50),"shape\x3drect;html\x3d1;fontStyle\x3d1;dashed\x3d1;strokeWidth\x3d2;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],300,120,"Property")}),this.createVertexTemplateEntry("html\x3d1;strokeWidth\x3d1;shape\x3dmxgraph.sysml.package;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",
300,135,'\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3e\x3cb\x3eidb\x3c/b\x3e Block1\x3c/p\x3e',"Package",null,null,this.getTagsForStencil("","","sysml block package").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;",100,80,'\x3cp style\x3d"margin:0px;margin-top:4px;margin-right:4px;text-align:right;font-size:10px;"\x3e0..*\x3c/p\x3e\x3cp style\x3d"margin:0px;text-align:center;"\x3e\x3cb\x3ep1 : Type1\x3c/b\x3e\x3chr/\x3ex : Integer \x3d 4\x3c/p\x3e',
"Property",null,null,this.getTagsForStencil("","","sysml block property").join(" ")),this.addEntry("sysml block property",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;margin-right:4px;text-align:right;font-size:10px;"\x3e0..*\x3c/p\x3e\x3cp style\x3d"margin:0px;text-align:center;"\x3ep1 : Type1\x3chr/\x3e\x3c/p\x3e',new mxGeometry(0,0,250,160),"shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;strokeWidth\x3d1;recursiveResize\x3d0;");b.vertex=!0;var a=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3ep3 : Type3\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;margin-top:4px;text-align:center;"\x3e\x3ci\x3einitialValues\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3ex1 \x3d 5.0\x3cbr/\x3ex2 \x3d "today"\x3c/p\x3e',
new mxGeometry(30,50,140,100),"shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;");a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],250,160,"Property")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",100,100,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3ep3 : Type3\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;margin-top:4px;text-align:center;"\x3e\x3ci\x3einitialValues\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3ex1 \x3d 5.0\x3cbr/\x3ex2 \x3d "today"\x3c/p\x3e',
"Property",null,null,this.getTagsForStencil("","","sysml block property").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",300,70,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3ep1 : [Type1]\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;margin-top:4px;text-align:center;"\x3e\x3ci\x3evalues\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3e\x26lt;\x26lt;normal\x26gt;\x26gt; {mean \x3d 2, stdDeviation \x3d 0.1} x : Real\x3c/p\x3e',
"Property Specific Type",null,null,this.getTagsForStencil("","","sysml block property specific type").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",100,70,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3ep2\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;margin-top:4px;text-align:center;"\x3e\x3ci\x3evalues\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3ey : Integer \x3d 5\x3c/p\x3e',
"Property Specific Type",null,null,this.getTagsForStencil("","","sysml block property specific type").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;dashed\x3d1;verticalAlign\x3dbottom;",160,0,"\x26lt;\x26lt;stereotype1\x26gt;\x26gt;\ndependency1","Dependency",null,null,this.getTagsForStencil("","","sysml block dependency").join(" ")),this.addEntry("sysml block property",function(){var b=new mxCell("",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dnone;edgeStyle\x3dorthogonalEdgeStyle;strokeWidth\x3d2;");
b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(160,0),!1);b.geometry.relative=!0;b.edge=!0;var a=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Property")}),this.addEntry("sysml block binding connector",function(){var b=new mxCell("\x26lt;\x26lt;equal\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dnone;edgeStyle\x3dorthogonalEdgeStyle;strokeWidth\x3d2;");b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(160,0),!1);b.geometry.relative=
!0;b.edge=!0;var a=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("1",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,
b.geometry.height,"Binding Connector")}),this.addEntry("sysml block bidirectional connector",function(){var b=new mxCell("c1 : association",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dnone;edgeStyle\x3dorthogonalEdgeStyle;");b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(160,0),!1);b.geometry.relative=!0;b.edge=!0;var a=new mxCell("0..1",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("p1",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);
a=new mxCell("p2",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Bidirectional Connector")}),this.addEntry("sysml block unidirectional connector",function(){var b=new mxCell("c1 : association",new mxGeometry(0,0,0,0),"verticalAlign\x3dbottom;html\x3d1;endArrow\x3dnone;edgeStyle\x3dorthogonalEdgeStyle;");
b.geometry.setTerminalPoint(new mxPoint(0,0),!0);b.geometry.setTerminalPoint(new mxPoint(160,0),!1);b.geometry.relative=!0;b.edge=!0;var a=new mxCell("0..1",new mxGeometry(-1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("p1",new mxGeometry(1,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!0;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Unidirectional Connector")})];this.addPalette("sysmlBlocks","SysML / Blocks",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};
Sidebar.prototype.addSysMLPortsAndFlowsPalette=function(b){var c=this,f=[this.addEntry("sysml port flow port",function(){var b=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html\x3d1;shape\x3dmxgraph.sysml.port1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("p1",new mxGeometry(0,20,20,20),"shape\x3drect;html\x3d1;resizable\x3d1;align\x3dright;verticalAlign\x3dbottom;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10;");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("p2",new mxGeometry(140,20,20,20),"shape\x3drect;html\x3d1;resizable\x3d1;labelBackgroundColor\x3dnone;fontSize\x3d10;");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Port")}),this.addEntry("sysml port flow port conjugated",function(){var b=new mxCell("Transmission",new mxGeometry(0,0,200,60),"html\x3d1;shape\x3dmxgraph.sysml.port2;fontStyle\x3d1;spacingRight\x3d20;whiteSpace\x3dwrap;align\x3dcenter;");
b.vertex=!0;var a=new mxCell("p1 : ~T1",new mxGeometry(0,20,20,20),"shape\x3drect;html\x3d1;resizable\x3d1;align\x3dright;verticalAlign\x3dbottom;labelPositin\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("p2 : ~T2",new mxGeometry(140,20,60,20),"shape\x3drect;html\x3d1;resizable\x3d1;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=
!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Port (Conjugated Ports)")}),this.addEntry("sysml port flow port flow property",function(){var b=new mxCell("Transmission",new mxGeometry(0,0,160,80),"html\x3d1;shape\x3dmxgraph.sysml.port3;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("p1",new mxGeometry(0,10,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("p2",new mxGeometry(0,50,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dbottom;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("p3",new mxGeometry(160,30,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=
!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Ports with Flow Properties")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",160,70,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eTransmission\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;margin-top:4px;text-align:center;"\x3e\x3ci\x3eports\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3ep1 : ITransCmd\x3c/p\x3e',
"Port (Compartment Notation)",null,null,this.getTagsForStencil("","","sysml port flow port compartment notation").join(" ")),this.addEntry("sysml port flow nested port",function(){var b=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html\x3d1;shape\x3dmxgraph.sysml.nestedPort;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("p1.1",new mxGeometry(0,14,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("p1.2",new mxGeometry(0,30,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("p1.3",new mxGeometry(0,46,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("p1",new mxGeometry(22,10,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Nested Port")}),this.addEntry("sysml port flow proxy port",function(){var b=new mxCell("Transmission",
new mxGeometry(0,0,160,60),"html\x3d1;shape\x3dmxgraph.sysml.port1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;proxy\x26gt;\x26gt;\np1",new mxGeometry(0,20,20,20),"shape\x3drect;html\x3d1;resizable\x3d1;align\x3dright;verticalAlign\x3dbottom;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],
b.geometry.width,b.geometry.height,"Proxy Port")}),this.addEntry("sysml port flow full port",function(){var b=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html\x3d1;shape\x3dmxgraph.sysml.port1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;full\x26gt;\x26gt;\np1",new mxGeometry(0,20,20,20),"shape\x3drect;html\x3d1;resizable\x3d1;align\x3dright;verticalAlign\x3dbottom;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Full Port")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",200,100,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eTransmission\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;margin-top:4px;text-align:center;"\x3e\x3ci\x3eflow properties\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3ein gearSelect: Gear\x3cbr/\x3ein engineTorque: Torque\x3cbr/\x3eout wheelsTorque: Torque\x3c/p\x3e',
"Flow Property",null,null,this.getTagsForStencil("","","sysml port flow flow property").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",250,150,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eTransmission\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;margin-top:4px;text-align:center;"\x3e\x3ci\x3eoperations\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3eprov Boolean selectGear(g : Gear)\x3cbr/\x3ereqd Torque getTorque()\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;margin-top:4px;text-align:center;"\x3e\x3ci\x3eproperties\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3eprov temperature : Integer\x3cbr/\x3ereqd geometry : Spline\x3c/p\x3e',
"Required and Provided Features",null,null,this.getTagsForStencil("","","sysml port flow required provided feature").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",200,80,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;interfaceBlock\x26gt;\x26gt;\n\x3cb\x3eISpeedObserver\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3enotifySpeedChange(): void\x3c/p\x3e',
"Interface Block",null,null,this.getTagsForStencil("","","sysml port flow interface block").join(" ")),this.addEntry("sysml port flow item flow",function(){var b=new mxCell("eng: engine\n",new mxGeometry(20,0,80,60),"html\x3d1;shape\x3dmxgraph.sysml.itemFlow;fontStyle\x3d1;flowDir\x3dS;flowType\x3dout;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\ntrns: Transmission",new mxGeometry(0,120,120,60),"html\x3d1;shape\x3dmxgraph.sysml.itemFlow;fontStyle\x3d1;flowDir\x3dN;flowType\x3din;whiteSpace\x3dwrap;align\x3dcenter;");
a.vertex=!0;var e=new mxCell("Torque",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;align\x3dright;endArrow\x3dnone;exitX\x3d0.5;exitY\x3d1;entryX\x3d0.5;entryY\x3d0;");e.geometry.relative=!0;e.edge=!0;var f=new mxCell("p",new mxGeometry(0,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;spacingLeft\x3d10;verticalAlign\x3dtop;labelPosition\x3dleft;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");f.geometry.relative=!0;f.geometry.x=-1;f.setConnectable(!1);f.vertex=
!0;e.insert(f);f=new mxCell("p",new mxGeometry(0,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;spacingLeft\x3d10;verticalAlign\x3dbottom;labelPosition\x3dleft;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");f.geometry.relative=!0;f.geometry.x=1;f.setConnectable(!1);f.vertex=!0;e.insert(f);b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],120,180,"Item Flow")}),this.addEntry("sysml port flow item flow property",function(){var b=new mxCell("eng: engine\n",
new mxGeometry(40,0,80,60),"html\x3d1;shape\x3dmxgraph.sysml.itemFlow;fontStyle\x3d1;flowDir\x3dS;flowType\x3dout;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\ntrns: Transmission",new mxGeometry(20,120,120,60),"html\x3d1;shape\x3dmxgraph.sysml.itemFlow;fontStyle\x3d1;flowDir\x3dN;flowType\x3din;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("torque: Torque",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;align\x3dright;endArrow\x3dnone;exitX\x3d0.5;exitY\x3d1;entryX\x3d0.5;entryY\x3d0;");
e.geometry.relative=!0;e.edge=!0;var f=new mxCell("p",new mxGeometry(0,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;spacingLeft\x3d10;verticalAlign\x3dtop;labelPosition\x3dleft;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");f.geometry.relative=!0;f.geometry.x=-1;f.setConnectable(!1);f.vertex=!0;e.insert(f);f=new mxCell("p",new mxGeometry(0,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;spacingLeft\x3d10;verticalAlign\x3dbottom;labelPosition\x3dleft;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");
f.geometry.relative=!0;f.geometry.x=1;f.setConnectable(!1);f.vertex=!0;e.insert(f);b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],140,180,"Item Flow (Item Property)")}),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.itemFlow;fontStyle\x3d1;flowDir\x3dN;flowType\x3din;whiteSpace\x3dwrap;align\x3dcenter;",200,80,"eng:Engine","Item Flow North In",null,null,this.getTagsForStencil("","","sysml port flow item flow north in").join(" ")),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.itemFlow;fontStyle\x3d1;flowDir\x3dE;flowType\x3dout;whiteSpace\x3dwrap;align\x3dcenter;",
200,80,"eng:Engine","Item Flow East Out",null,null,this.getTagsForStencil("","","sysml port flow item flow east out").join(" ")),this.addEntry("sysml port flow item flow",function(){var b=new mxCell("eng: engine",new mxGeometry(40,0,100,60),"html\x3d1;shape\x3dmxgraph.sysml.itemFlow;fontStyle\x3d1;strokeWidth\x3d1;flowDir\x3dE;flowType\x3dnone;spacingRight\x3d20;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("trns: Translation",new mxGeometry(260,0,140,60),"html\x3d1;shape\x3dmxgraph.sysml.itemFlow;strokeWidth\x3d1;fontStyle\x3d1;flowDir\x3dW;flowType\x3dnone;spacingLeft\x3d15;whiteSpace\x3dwrap;align\x3dcenter;");
a.vertex=!0;var e=new mxCell("Torque",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;align\x3dleft;verticalAlign\x3dtop;endArrow\x3dnone;exitX\x3d1;exitY\x3d0.5;entryX\x3d0;entryY\x3d0.5;");e.geometry.relative=!0;e.edge=!0;var f=new mxCell("ep:EP",new mxGeometry(0,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;spacingLeft\x3d5;verticalAlign\x3dbottom;labelPosition\x3dleft;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");f.geometry.relative=!0;f.geometry.x=-1;f.setConnectable(!1);
f.vertex=!0;e.insert(f);f=new mxCell("tp:TP",new mxGeometry(0,0,0,0),"resizable\x3d0;html\x3d1;align\x3dright;spacingRight\x3d5;verticalAlign\x3dbottom;labelPosition\x3dleft;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10");f.geometry.relative=!0;f.geometry.x=1;f.setConnectable(!1);f.vertex=!0;e.insert(f);b.insertEdge(e,!0);a.insertEdge(e,!1);f=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3ec1: Association-1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-left:4px;text-align:left;font-size:0.9em;"\x3e\x26lt;\x26lt;participant\x26gt;\x26gt;{end \x3d ep} epInLink : EP[1]\x3cbr/\x3e\x26lt;\x26lt;participant\x26gt;\x26gt;{end \x3d tp} etInLink : TP[1]\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;text-align:center;font-size:0.9em;"\x3estructure\x3c/p\x3e',
new mxGeometry(0,120,470,250),"shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;strokeWidth\x3d1;recursiveResize\x3d0;");f.vertex=!0;var k=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3delbowEdgeStyle;elbow\x3dhorizontal;dashed\x3d1;");k.geometry.relative=!0;k.geometry.setTerminalPoint(new mxPoint(160,30),!0);k.edge=!0;f.insertEdge(k,!1);var l=new mxCell("epInLink : EP",new mxGeometry(30,100,160,120),"html\x3d1;shape\x3dmxgraph.sysml.itemFlowRight;fontStyle\x3d1;spacingRight\x3d40;whiteSpace\x3dwrap;align\x3dcenter;");
l.vertex=!0;f.insert(l);var m=new mxCell("ep.1",new mxGeometry(160,30,0,0),"resizable\x3d0;html\x3d1;align\x3dright;spacingRight\x3d22;verticalAlign\x3dmiddle;labelPosition\x3dright;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");m.geometry.relative=!1;m.setConnectable(!1);m.vertex=!0;l.insert(m);m=new mxCell("ep.2",new mxGeometry(160,60,0,0),"resizable\x3d0;html\x3d1;align\x3dright;spacingRight\x3d22;verticalAlign\x3dmiddle;labelPosition\x3dright;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
m.geometry.relative=!1;m.setConnectable(!1);m.vertex=!0;l.insert(m);m=new mxCell("ep.3",new mxGeometry(160,90,0,0),"resizable\x3d0;html\x3d1;align\x3dright;spacingRight\x3d22;verticalAlign\x3dmiddle;labelPosition\x3dright;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");m.geometry.relative=!1;m.setConnectable(!1);m.vertex=!0;l.insert(m);m=new mxCell("tpInLink : TP",new mxGeometry(280,100,160,120),"html\x3d1;shape\x3dmxgraph.sysml.itemFlowLeft;fontStyle\x3d1;spacingLeft\x3d40;whiteSpace\x3dwrap;align\x3dcenter;");
m.vertex=!0;f.insert(m);var n=new mxCell("tp.1",new mxGeometry(0,30,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;spacingLeft\x3d22;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");n.geometry.relative=!1;n.setConnectable(!1);n.vertex=!0;m.insert(n);n=new mxCell("tp.2",new mxGeometry(0,60,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;spacingLeft\x3d22;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
n.geometry.relative=!1;n.setConnectable(!1);n.vertex=!0;m.insert(n);n=new mxCell("tp.3",new mxGeometry(0,90,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;spacingLeft\x3d22;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");n.geometry.relative=!1;n.setConnectable(!1);n.vertex=!0;m.insert(n);n=new mxCell("Vibration",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;verticalAlign\x3dbottom;endArrow\x3dnone;exitX\x3d1;exitY\x3d0.25;entryX\x3d0;entryY\x3d0.25;");
n.geometry.relative=!0;n.edge=!0;l.insertEdge(n,!0);m.insertEdge(n,!1);f.insert(n);n=new mxCell("Heat",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;verticalAlign\x3dbottom;endArrow\x3dnone;exitX\x3d1;exitY\x3d0.5;entryX\x3d0;entryY\x3d0.5;");n.geometry.relative=!0;n.edge=!0;l.insertEdge(n,!0);m.insertEdge(n,!1);f.insert(n);n=new mxCell("Current",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;verticalAlign\x3dbottom;endArrow\x3dnone;exitX\x3d1;exitY\x3d0.75;entryX\x3d0;entryY\x3d0.75;");
n.geometry.relative=!0;n.edge=!0;l.insertEdge(n,!0);m.insertEdge(n,!1);f.insert(n);return c.createVertexTemplateFromCells([b,a,e,f,k],470,370,"Item Flow")}),this.addEntry("sysml port flow item flow",function(){var b=new mxCell("tpInLink : TP",new mxGeometry(0,0,200,120),"html\x3d1;shape\x3dmxgraph.sysml.itemFlowLeft;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("tp.1",new mxGeometry(0,30,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;spacingLeft\x3d22;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("tp.2",new mxGeometry(0,60,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;spacingLeft\x3d22;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("tp.3",new mxGeometry(0,90,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;spacingLeft\x3d22;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Item Flow")}),this.addEntry("sysml port flow item flow",function(){var b=new mxCell("epInLink : EP",new mxGeometry(0,0,200,120),"html\x3d1;shape\x3dmxgraph.sysml.itemFlowRight;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("ep.1",new mxGeometry(200,30,0,0),"resizable\x3d0;html\x3d1;align\x3dright;spacingRight\x3d22;verticalAlign\x3dmiddle;labelPosition\x3dright;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("ep.2",new mxGeometry(200,60,0,0),"resizable\x3d0;html\x3d1;align\x3dright;spacingRight\x3d22;verticalAlign\x3dmiddle;labelPosition\x3dright;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("ep.3",new mxGeometry(200,90,0,0),"resizable\x3d0;html\x3d1;align\x3dright;spacingRight\x3d22;verticalAlign\x3dmiddle;labelPosition\x3dright;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Item Flow")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",200,80,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;interface\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eISpeedObserver\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:4px;text-align:left;"\x3enotifySpeedChange(): void\x3c/p\x3e',
"Interface",null,null,this.getTagsForStencil("","","sysml port flow interface").join(" ")),this.addEntry("sysml port flow required interface",function(){var b=new mxCell("Transmission",new mxGeometry(90,0,160,60),"html\x3d1;shape\x3dmxgraph.sysml.port4;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("p1",new mxGeometry(0,20,20,20),"shape\x3drect;html\x3d1;resizable\x3d0;align\x3dleft;verticalAlign\x3dbottom;labelPosition\x3dright;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10;");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("ITransCmd",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;endArrow\x3dsysMLReqInt;endSize\x3d8;exitX\x3d0;exitY\x3d0.5;fillColor\x3d#ffffff;");a.geometry.setTerminalPoint(new mxPoint(0,0),!1);a.geometry.relative=!0;a.geometry.x=1;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("ITransData",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;align\x3dleft;verticalAlign\x3dtop;endArrow\x3dsysMLProvInt;endSize\x3d12;exitX\x3d0;exitY\x3d0.5;fillColor\x3d#ffffff;");
e.geometry.setTerminalPoint(new mxPoint(0,60),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],250,60,"Required Interface")}),this.addEntry("sysml port flow provided interface",function(){var b=new mxCell("Transmission",new mxGeometry(90,0,160,60),"html\x3d1;shape\x3dmxgraph.sysml.port4;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("p1",new mxGeometry(0,20,20,20),"shape\x3drect;html\x3d1;resizable\x3d0;labelBackgroundColor\x3dnone;fontSize\x3d10;");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("ITransCmd",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;endArrow\x3dsysMLReqInt;endSize\x3d8;exitX\x3d0;exitY\x3d0.5;fillColor\x3d#ffffff;");a.geometry.setTerminalPoint(new mxPoint(0,0),!1);a.geometry.relative=!0;a.geometry.x=1;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("ITransData",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;align\x3dleft;verticalAlign\x3dtop;endArrow\x3dsysMLProvInt;endSize\x3d12;exitX\x3d0;exitY\x3d0.5;fillColor\x3d#ffffff;");
e.geometry.setTerminalPoint(new mxPoint(0,60),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],250,60,"Provided Interface")})];this.addPalette("sysmlPorts and Flows","SysML / Ports and Flows",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addSysMLConstraintBlocksPalette=function(b){var c=this,f=[this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",
200,180,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;constraint\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eConstraintBlock1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;margin-top:4px;text-align:center;"\x3e\x3ci\x3econstraints\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3e{{L1} x \x3e y }\x3cbr/\x3enested: ConstraintBlock2\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;margin-top:4px;text-align:center;"\x3e\x3ci\x3eparameters\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3ex: Real\x3cbr/\x3ey: Real\x3c/p\x3e',
"Constraint Block",null,null,this.getTagsForStencil("","","sysml constraint block ").join(" ")),this.addEntry("sysml constraint block provided interface",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3e\x3cb\x3epar\x3c/b\x3e Block1\x3c/p\x3e',new mxGeometry(0,0,300,170),"html\x3d1;shape\x3dmxgraph.sysml.package;labelX\x3d120;align\x3dleft;spacingLeft\x3d10;overflow\x3dfill;whiteSpace\x3dwrap;strokeWidth\x3d1;recursiveResize\x3d0;");b.vertex=
!0;var a=new mxCell("C1: Constraint",new mxGeometry(130,50,150,100),"html\x3d1;shape\x3dmxgraph.sysml.paramDgm;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;b.insert(a);var e=new mxCell("x:",new mxGeometry(0,25,0,0),"html\x3d1;resizable\x3d0;align\x3dleft;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;labelBackgroundColor\x3dnone;fontSize\x3d10;spacingLeft\x3d22;fontStyle\x3d1;");e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;a.insert(e);
e=new mxCell("y:",new mxGeometry(0,75,0,0),"html\x3d1;resizable\x3d0;align\x3dleft;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;labelBackgroundColor\x3dnone;fontSize\x3d10;spacingLeft\x3d22;fontStyle\x3d1;");e.geometry.relative=!1;e.setConnectable(!1);e.vertex=!0;a.insert(e);var f=new mxCell("length: Real",new mxGeometry(30,65,20,20),"shape\x3drect;html\x3d1;fontSize\x3d10;verticalLabelPosition\x3dtop;verticalAlign\x3dbottom;");f.vertex=!0;b.insert(f);e=new mxCell("width: Real",
new mxGeometry(30,115,20,20),"shape\x3drect;html\x3d1;fontSize\x3d10;verticalLabelPosition\x3dtop;verticalAlign\x3dbottom;");e.vertex=!0;b.insert(e);var k=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;exitY\x3d0.25;exitX\x3d0;entryY\x3d0.5;entryX\x3d1;");k.geometry.relative=!0;k.geometry.x=1;k.edge=!0;a.insertEdge(k,!0);f.insertEdge(k,!1);b.insert(k);f=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;exitY\x3d0.75;exitX\x3d0;entryY\x3d0.5;entryX\x3d1;");
f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;a.insertEdge(f,!0);e.insertEdge(f,!1);b.insert(f);return c.createVertexTemplateFromCells([b],300,170,"Parametric Diagram")}),this.addEntry("sysml constraint block constraint property",function(){var b=new mxCell("C1:Constraint1",new mxGeometry(0,0,150,100),"html\x3d1;shape\x3dmxgraph.sysml.paramDgm;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("x: Real",new mxGeometry(0,25,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;labelBackgroundColor\x3dnone;fontSize\x3d10;spacingLeft\x3d22;fontStyle\x3d1;");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("y: Real",new mxGeometry(0,75,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;labelBackgroundColor\x3dnone;fontSize\x3d10;spacingLeft\x3d22;fontStyle\x3d1;");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Constraint Property")}),this.addEntry("sysml constraint block constraint property",
function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;constraint\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eC1: Constraint1\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e',new mxGeometry(0,0,150,120),"html\x3d1;shape\x3dmxgraph.sysml.consProp;overflow\x3dfill;whiteSpace\x3dwrap;");b.vertex=!0;var a=new mxCell("x: Real",new mxGeometry(0,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;labelBackgroundColor\x3dnone;spacingLeft\x3d22;spacingTop\x3d120;fontStyle\x3d1;");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("y: Real",new mxGeometry(0,0,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;labelBackgroundColor\x3dnone;spacingLeft\x3d22;spacingTop\x3d180;fontStyle\x3d1;");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Constraint Property")})];this.addPalette("sysmlConstraint Blocks",
"SysML / Constraint Blocks",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addSysMLActivitiesPalette=function(b){var c=this,f=[this.createVertexTemplateEntry("shape\x3drect;html\x3d1;rounded\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",160,80,"Action","Action",null,null,this.getTagsForStencil("","","sysml activity action").join(" ")),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.callBehAct;whiteSpace\x3dwrap;align\x3dcenter;",
160,80,"action name:\nbehavior name","Call Behavior Action",null,null,this.getTagsForStencil("","callBehAct","sysml activity call behavior action").join(" ")),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.accEvent;strokeWidth\x3d2;whiteSpace\x3dwrap;align\x3dcenter;",100,60,"Event","Accept Event Action",null,null,this.getTagsForStencil("","accEvent","sysml activity accept event action").join(" ")),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.timeEvent;strokeWidth\x3d2;verticalLabelPosition\x3dbottom;verticalAlignment\x3dtop;",
35,40,"","Time Event",null,null,this.getTagsForStencil("","timeEvent","sysml activity time event").join(" ")),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.sendSigAct;strokeWidth\x3d2;whiteSpace\x3dwrap;align\x3dcenter;",100,60,"Signal","Send Signal Action",null,null,this.getTagsForStencil("","sendSigAct","sysml activity send signal action").join(" ")),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.actFinal;strokeWidth\x3d2;verticalLabelPosition\x3dbottom;verticalAlignment\x3dtop;",
40,40,"","Activity Final",null,null,this.getTagsForStencil("","actFinal","sysml activity activity final").join(" ")),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.actParamNode;align\x3dleft;spacingLeft\x3d15;verticalAlign\x3dtop;spacingTop\x3d-3;",300,135,"act","Activity Parameter Node",null,null,this.getTagsForStencil("","act","sysml activity activity parameter node").join(" ")),this.createVertexTemplateEntry("shape\x3drect;rounded\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",
160,80,"\x26lt;\x26lt;controlOperator\x26gt;\x26gt;\nCallBehaviorAction","Control Operator",null,null,this.getTagsForStencil("","","sysml activity control operator").join(" ")),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.package;align\x3dleft;spacingLeft\x3d5;verticalAlign\x3dtop;spacingTop\x3d-3;labelX\x3d135;html\x3d1;overflow\x3dfill;",250,120,'\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3e\x3cb\x3eact\x3c/b\x3e [ControlOperator]\x3c/p\x3e',
"Control Operator",null,null,this.getTagsForStencil("","package","sysml activity control operator").join(" ")),this.addEntry("sysml activity decision node",function(){var b=new mxCell("",new mxGeometry(80,40,40,40),"shape\x3drhombus;html\x3d1;verticalLabelPosition\x3dbottom;verticalAlignment\x3dtop;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;align\x3dright;verticalAlign\x3dbottom;endArrow\x3dnone;rounded\x3d0;labelBackgroundColor\x3dnone;startArrow\x3dopen;startSize\x3d12;");
a.geometry.setTerminalPoint(new mxPoint(100,0),!1);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("[guard]",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;verticalAlign\x3dbottom;endArrow\x3dopen;rounded\x3d0;labelBackgroundColor\x3dnone;endSize\x3d12;");e.geometry.setTerminalPoint(new mxPoint(200,60),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);var f=new mxCell("[else]",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;verticalAlign\x3dbottom;endArrow\x3dopen;rounded\x3d0;labelBackgroundColor\x3dnone;endSize\x3d12;");
f.geometry.setTerminalPoint(new mxPoint(0,60),!1);f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);return c.createVertexTemplateFromCells([b,a,e,f],200,80,"Decision Node")}),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.flowFinal;strokeWidth\x3d2;verticalLabelPosition\x3dbottom;verticalAlignment\x3dtop;",40,40,"","Flow Final",null,null,this.getTagsForStencil("","flowFinal","sysml activity flow final").join(" ")),this.addEntry("sysml activity fork node",function(){var b=new mxCell("",
new mxGeometry(60,0,4,80),"shape\x3drect;html\x3d1;fillColor\x3d#000000;verticalLabelPosition\x3dbottom;verticalAlignment\x3dtop;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;endArrow\x3dnone;rounded\x3d0;startArrow\x3dopen;strokeWidth\x3d3;startSize\x3d12;");a.geometry.setTerminalPoint(new mxPoint(0,40),!1);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;endArrow\x3dopen;rounded\x3d0;strokeWidth\x3d3;endSize\x3d12;");
e.geometry.setTerminalPoint(new mxPoint(200,10),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;endArrow\x3dopen;rounded\x3d0;strokeWidth\x3d3;endSize\x3d12;");f.geometry.setTerminalPoint(new mxPoint(200,30),!1);f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);var k=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;endArrow\x3dopen;rounded\x3d0;strokeWidth\x3d3;endSize\x3d12;");
k.geometry.setTerminalPoint(new mxPoint(200,50),!1);k.geometry.relative=!0;k.edge=!0;b.insertEdge(k,!0);var l=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;endArrow\x3dopen;rounded\x3d0;strokeWidth\x3d3;endSize\x3d12;");l.geometry.setTerminalPoint(new mxPoint(200,70),!1);l.geometry.relative=!0;l.edge=!0;b.insertEdge(l,!0);return c.createVertexTemplateFromCells([b,a,e,f,k,l],200,80,"Fork Node")}),this.createVertexTemplateEntry("shape\x3dellipse;html\x3d1;illColor\x3d#000000;strokeWidth\x3d2;verticalLabelPosition\x3dbottom;verticalAlignment\x3dtop;",
40,40,"","Initial Node",null,null,this.getTagsForStencil("","","sysml activity initial node").join(" ")),this.addEntry("sysml activity join node",function(){var b=new mxCell("{joinspec\x3d...}",new mxGeometry(136,0,4,80),"shape\x3drect;html\x3d1;fillColor\x3d#000000;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;rounded\x3d0;endArrow\x3dopen;strokeWidth\x3d3;endSize\x3d12;");
a.geometry.setTerminalPoint(new mxPoint(200,40),!1);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;startArrow\x3dopen;endArrow\x3dnone;rounded\x3d0;strokeWidth\x3d3;startSize\x3d12;");e.geometry.setTerminalPoint(new mxPoint(0,10),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;startArrow\x3dopen;endArrow\x3dnone;rounded\x3d0;strokeWidth\x3d3;startSize\x3d12;");
f.geometry.setTerminalPoint(new mxPoint(0,30),!1);f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);var k=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;startArrow\x3dopen;endArrow\x3dnone;rounded\x3d0;strokeWidth\x3d3;startSize\x3d12;");k.geometry.setTerminalPoint(new mxPoint(0,50),!1);k.geometry.relative=!0;k.edge=!0;b.insertEdge(k,!0);var l=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;startArrow\x3dopen;endArrow\x3dnone;rounded\x3d0;strokeWidth\x3d3;startSize\x3d12;");
l.geometry.setTerminalPoint(new mxPoint(0,70),!1);l.geometry.relative=!0;l.edge=!0;b.insertEdge(l,!0);return c.createVertexTemplateFromCells([b,a,e,f,k,l],200,80,"Join Node")}),this.addEntry("sysml activity is control",function(){var b=new mxCell("Action",new mxGeometry(90,0,120,60),"html\x3d1;shape\x3dmxgraph.sysml.isControl;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("{control}",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;startArrow\x3dopen;rounded\x3d0;endArrow\x3dnone;verticalAlign\x3dbottom;exitX\x3d0;exitY\x3d0.5;startSize\x3d12;");
a.geometry.setTerminalPoint(new mxPoint(0,30),!1);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("{control}",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;endArrow\x3dopen;rounded\x3d0;verticalAlign\x3dbottom;entryX\x3d0;entryY\x3d0.5;endSize\x3d12;");e.geometry.setTerminalPoint(new mxPoint(300,30),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],300,60,"Is Control")}),this.addEntry("sysml activity is stream",
function(){var b=new mxCell("Action",new mxGeometry(90,0,120,60),"html\x3d1;shape\x3dmxgraph.sysml.isControl;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("{stream}",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;startArrow\x3dopen;rounded\x3d0;endArrow\x3dnone;verticalAlign\x3dbottom;exitX\x3d0;exitY\x3d0.5;startSize\x3d12;");a.geometry.setTerminalPoint(new mxPoint(0,30),!1);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("{stream}",
new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;endArrow\x3dopen;rounded\x3d0;verticalAlign\x3dbottom;entryX\x3d0;entryY\x3d0.5;endSize\x3d12;");e.geometry.setTerminalPoint(new mxPoint(300,30),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],300,60,"Is Stream")}),this.addEntry("sysml activity is stream",function(){var b=new mxCell("Action",new mxGeometry(90,0,120,60),"html\x3d1;shape\x3dmxgraph.sysml.isStream;whiteSpace\x3dwrap;align\x3dcenter;");
b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;startArrow\x3dopen;rounded\x3d0;endArrow\x3dnone;exitX\x3d0;exitY\x3d0.5;startSize\x3d12;");a.geometry.setTerminalPoint(new mxPoint(0,30),!1);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;endArrow\x3dopen;rounded\x3d0;entryX\x3d0;entryY\x3d0.5;endSize\x3d12;");e.geometry.setTerminalPoint(new mxPoint(300,
30),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],300,60,"Is Stream")}),this.addEntry("sysml activity is stream",function(){var b=new mxCell("act",new mxGeometry(0,0,200,100),"html\x3d1;shape\x3dmxgraph.sysml.isActStream;align\x3dleft;spacingLeft\x3d5;verticalAlign\x3dtop;spacingTop\x3d-3;");b.vertex=!0;var a=new mxCell("{stream}",new mxGeometry(200,50,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;labelBackgroundColor\x3dnone;fontSize\x3d10;spacingTop\x3d5;");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],250,100,"Is Stream")}),this.addEntry("sysml activity local pre precondition post postcondition",function(){var b=new mxCell("localPrecondition\nconstraint",new mxGeometry(0,0,120,40),"shape\x3dnote;html\x3d1;size\x3d15;strokeWidth\x3d2;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("Action",new mxGeometry(10,65,100,50),"shape\x3drect;html\x3d1;rounded\x3d1;strokeWidth\x3d2;whiteSpace\x3dwrap;align\x3dcenter;");
a.vertex=!0;var e=new mxCell("localPostcondition\nconstraint",new mxGeometry(20,140,130,40),"shape\x3dnote;html\x3d1;size\x3d15;strokeWidth\x3d2;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;align\x3dcenter;");e.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;rounded\x3d0;endArrow\x3dnone;");f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);a.insertEdge(f,!1);var k=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;rounded\x3d0;endArrow\x3dnone;");
k.geometry.relative=!0;k.edge=!0;a.insertEdge(k,!0);e.insertEdge(k,!1);return c.createVertexTemplateFromCells([b,a,e,f,k],150,180,"Local Pre- and Postconditions")}),this.addEntry("sysml activity merge node",function(){var b=new mxCell("",new mxGeometry(80,0,40,40),"shape\x3drhombus;html\x3d1;verticalLabelPosition\x3dtop;verticalAlignment\x3dbottom;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;align\x3dright;verticalAlign\x3dbottom;rounded\x3d0;labelBackgroundColor\x3dnone;endArrow\x3dopen;endSize\x3d12;");
a.geometry.setTerminalPoint(new mxPoint(100,80),!1);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;verticalAlign\x3dbottom;startArrow\x3dopen;endArrow\x3dnone;rounded\x3d0;labelBackgroundColor\x3dnone;startSize\x3d12;");e.geometry.setTerminalPoint(new mxPoint(200,20),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;verticalAlign\x3dbottom;startArrow\x3dopen;endArrow\x3dnone;rounded\x3d0;labelBackgroundColor\x3dnone;startSize\x3d12;");
f.geometry.setTerminalPoint(new mxPoint(0,20),!1);f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);return c.createVertexTemplateFromCells([b,a,e,f],200,80,"Merge Node")}),this.addEntry("sysml activity no buffer",function(){var b=new mxCell("Action",new mxGeometry(90,0,120,60),"html\x3d1;shape\x3dmxgraph.sysml.isControl;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;noBuffer\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;startArrow\x3dopen;rounded\x3d0;endArrow\x3dnone;verticalAlign\x3dbottom;exitX\x3d0;exitY\x3d0.5;startSize\x3d12;");
a.geometry.setTerminalPoint(new mxPoint(0,30),!1);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("\x26lt;\x26lt;noBuffer\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;endArrow\x3dopen;rounded\x3d0;verticalAlign\x3dbottom;entryX\x3d0;entryY\x3d0.5;endSize\x3d12;");e.geometry.setTerminalPoint(new mxPoint(300,30),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],300,60,"No Buffer")}),
this.createVertexTemplateEntry("shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",160,80,"object node name:\n type name\n[state, state ...]","Object Node",null,null,this.getTagsForStencil("","","sysml activity object node").join(" ")),this.addEntry("sysml activity object node",function(){var b=new mxCell("Action",new mxGeometry(0,0,120,60),"html\x3d1;shape\x3dmxgraph.sysml.isControl;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("pin name: type name\n[state, state ...]",
new mxGeometry(0,30,0,0),"resizable\x3d0;html\x3d1;align\x3dright;verticalAlign\x3dmiddle;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;labelBackgroundColor\x3dnone;spacingRight\x3d5;");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Object Node")}),this.addEntry("sysml activity optional",function(){var b=new mxCell("Action",new mxGeometry(90,0,120,60),"html\x3d1;shape\x3dmxgraph.sysml.isControl;whiteSpace\x3dwrap;align\x3dcenter;");
b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;optional\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;startArrow\x3dopen;rounded\x3d0;endArrow\x3dnone;verticalAlign\x3dbottom;exitX\x3d0;exitY\x3d0.5;startSize\x3d12;");a.geometry.setTerminalPoint(new mxPoint(0,30),!1);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("\x26lt;\x26lt;optional\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;endArrow\x3dopen;rounded\x3d0;verticalAlign\x3dbottom;entryX\x3d0;entryY\x3d0.5;endSize\x3d12;");
e.geometry.setTerminalPoint(new mxPoint(300,30),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],300,60,"Optional")}),this.addEntry("sysml activity optional",function(){var b=new mxCell("act",new mxGeometry(0,0,200,100),"html\x3d1;shape\x3dmxgraph.sysml.isActStream;align\x3dleft;spacingLeft\x3d5;verticalAlign\x3dtop;spacingTop\x3d-3;fontStyle\x3d1;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;optional\x26gt;\x26gt;",new mxGeometry(200,50,0,0),
"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;labelBackgroundColor\x3dnone;fontSize\x3d10;spacingTop\x3d5;");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Optional")}),this.addEntry("sysml activity overwrite",function(){var b=new mxCell("Action",new mxGeometry(90,0,120,60),"html\x3d1;shape\x3dmxgraph.sysml.isControl;whiteSpace\x3dwrap;align\x3dcenter;");
b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;overwrite\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;startArrow\x3dopen;rounded\x3d0;endArrow\x3dnone;verticalAlign\x3dbottom;exitX\x3d0;exitY\x3d0.5;startSize\x3d12;");a.geometry.setTerminalPoint(new mxPoint(0,30),!1);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("\x26lt;\x26lt;overwrite\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;endArrow\x3dopen;rounded\x3d0;verticalAlign\x3dbottom;entryX\x3d0;entryY\x3d0.5;endSize\x3d12;");
e.geometry.setTerminalPoint(new mxPoint(300,30),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],300,60,"Overwrite")}),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.paramSet;whiteSpace\x3dwrap;align\x3dcenter;",160,100,"Action","Parameter Set",null,null,this.getTagsForStencil("","paramSet","sysml activity parameter set").join(" ")),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.paramActSet;align\x3dleft;spacingLeft\x3d15;verticalAlign\x3dtop;spacingTop\x3d-3;fontStyle\x3d1;",
250,120,"act","Parameter Set",null,null,this.getTagsForStencil("","paramActSet","sysml activity parameter set").join(" ")),this.addEntry("sysml activity probability",function(){var b=new mxCell("Action",new mxGeometry(0,0,120,160),"html\x3d1;shape\x3dmxgraph.sysml.probability;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("{ probability \x3d\nvalueSpecification }",new mxGeometry(120,40,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;labelPosition\x3dleft;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10;spacingBottom\x3d25;");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);a=new mxCell("{ probability \x3d\nvalueSpecification }",new mxGeometry(120,120,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10;spacingTop\x3d25;");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Probability")}),this.addEntry("sysml activity probability",
function(){var b=new mxCell("act",new mxGeometry(0,0,120,160),"html\x3d1;shape\x3dmxgraph.sysml.actProb;align\x3dleft;spacingLeft\x3d5;verticalAlign\x3dtop;spacingTop\x3d-3;fontStyle\x3d1;");b.vertex=!0;var a=new mxCell("{ probability \x3d\nvalueSpecification }",new mxGeometry(120,40,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dbottom;labelPosition\x3dleft;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3dnone;fontSize\x3d10;spacingBottom\x3d25;");a.geometry.relative=!1;a.setConnectable(!1);
a.vertex=!0;b.insert(a);a=new mxCell("{ probability \x3d\nvalueSpecification }",new mxGeometry(120,120,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;fontSize\x3d10;spacingTop\x3d25;");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Probability")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",
120,60,"\x26lt;\x26lt;continuous\x26gt;\x26gt;\nObject Node","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",120,60,"\x26lt;\x26lt;discrete\x26gt;\x26gt;\nObject Node","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",140,120,"{ rate \x3d constant }\n{ rate \x3d distribution }\n\x26lt;\x26lt;continuous\x26gt;\x26gt;\n\x26lt;\x26lt;discrete\x26gt;\x26gt;\nObject Node",
"Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;",140,80,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3eObject Node\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;rate\x26gt;\x26gt;\x3cbr/\x3erate \x3d constant\x3cbr/\x3erate \x3d distribution\x3c/p\x3e',"Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),
this.addEntry("sysml activity rate",function(){var b=new mxCell("act",new mxGeometry(0,0,200,100),"html\x3d1;shape\x3dmxgraph.sysml.isActStream;align\x3dleft;spacingLeft\x3d5;verticalAlign\x3dtop;spacingTop\x3d-3;fontStyle\x3d1;");b.vertex=!0;var a=new mxCell("{ rate \x3d constant }\n{ rate \x3d distributuion}\n\x26lt;\x26lt;continuous\x26gt;\x26gt;\n\x26lt;\x26lt;discrete\x26gt;\x26gt;",new mxGeometry(200,50,0,0),"resizable\x3d0;html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelPosition\x3dleft;verticalLabelPosition\x3dmiddle;labelBackgroundColor\x3dnone;fontSize\x3d10;spacingTop\x3d5;");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Rate")}),this.addEntry("sysml activity rate",function(){var b=new mxCell("Action",new mxGeometry(90,0,120,60),"html\x3d1;shape\x3dmxgraph.sysml.isControl;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("{ rate \x3d constant }\n{ rate \x3d distributuion}\n\x26lt;\x26lt;continuous\x26gt;\x26gt;\n\x26lt;\x26lt;discrete\x26gt;\x26gt;",new mxGeometry(0,
0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;startArrow\x3dopen;rounded\x3d0;endArrow\x3dnone;verticalAlign\x3dtop;exitX\x3d0;exitY\x3d0.5;labelBackgroundColor\x3dnone;startSize\x3d12;");a.geometry.setTerminalPoint(new mxPoint(0,30),!1);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("{ rate \x3d constant }\n{ rate \x3d distributuion}\n\x26lt;\x26lt;continuous\x26gt;\x26gt;\n\x26lt;\x26lt;discrete\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;endArrow\x3dopen;rounded\x3d0;verticalAlign\x3dtop;entryX\x3d0;entryY\x3d0.5;labelBackgroundColor\x3dnone;endSize\x3d12;");
e.geometry.setTerminalPoint(new mxPoint(300,30),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],"Rate")}),this.addEntry("sysml activity control flow",function(){var b=new mxCell("",new mxGeometry(0,0,60,40),"shape\x3drect;html\x3d1;rounded\x3d1;whiteSpace\x3dwrap;");b.vertex=!0;var a=new mxCell("",new mxGeometry(100,0,60,40),"shape\x3drect;html\x3d1;rounded\x3d1;whiteSpace\x3dwrap;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;endArrow\x3dopen;labelBackgroundColor\x3dnone;endSize\x3d12;");
e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],160,60,"control flow")}),this.addEntry("sysml activity control flow",function(){var b=new mxCell("",new mxGeometry(0,0,60,40),"shape\x3drect;html\x3d1;rounded\x3d1;whiteSpace\x3dwrap;");b.vertex=!0;var a=new mxCell("",new mxGeometry(100,0,60,40),"shape\x3drect;html\x3d1;rounded\x3d1;whiteSpace\x3dwrap;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;endArrow\x3dopen;labelBackgroundColor\x3dnone;dashed\x3d1;endSize\x3d12;");
e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],160,60,"Control Flow")}),this.addEntry("sysml activity object flow",function(){var b=new mxCell("",new mxGeometry(0,0,60,40),"shape\x3drect;html\x3d1;rounded\x3d1;strokeWidth\x3d2;whiteSpace\x3dwrap;");b.vertex=!0;var a=new mxCell("",new mxGeometry(100,0,60,40),"shape\x3drect;html\x3d1;strokeWidth\x3d2;whiteSpace\x3dwrap;");a.vertex=!0;var e=new mxCell("",new mxGeometry(200,0,60,40),
"shape\x3drect;html\x3d1;rounded\x3d1;strokeWidth\x3d2;whiteSpace\x3dwrap;");e.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;endArrow\x3dopen;labelBackgroundColor\x3dnone;strokeWidth\x3d2;endSize\x3d12;");f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);a.insertEdge(f,!1);var k=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;endArrow\x3dopen;labelBackgroundColor\x3dnone;strokeWidth\x3d2;endSize\x3d12;");
k.geometry.relative=!0;k.edge=!0;a.insertEdge(k,!0);e.insertEdge(k,!1);return c.createVertexTemplateFromCells([b,a,e,f,k],260,60,"Object Flow")}),this.addEntry("sysml activity object flow",function(){var b=new mxCell("",new mxGeometry(0,0,60,40),"html\x3d1;shape\x3dmxgraph.sysml.objFlowR;strokeWidth\x3d2;whiteSpace\x3dwrap;");b.vertex=!0;var a=new mxCell("",new mxGeometry(140,0,60,40),"html\x3d1;shape\x3dmxgraph.sysml.objFlowL;strokeWidth\x3d2;whiteSpace\x3dwrap;");a.vertex=!0;var e=new mxCell("",
new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;endArrow\x3dopen;labelBackgroundColor\x3dnone;strokeWidth\x3d2;endSize\x3d12;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],200,60,"Object Flow")}),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.objFlowR;whiteSpace\x3dwrap;",120,60,"","Object Flow",null,null,this.getTagsForStencil("","objFlowR","sysml activity object flow").join(" ")),
this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.objFlowL;whiteSpace\x3dwrap;",120,60,"","Object Flow",null,null,this.getTagsForStencil("","objFlowL","sysml activity object flow").join(" ")),this.addEntry("sysml activity probability",function(){var b=new mxCell("",new mxGeometry(155,40,40,40),"shape\x3drhombus;html\x3d1;whiteSpace\x3dwrap;verticalLabelPosition\x3dbottom;verticalAlignment\x3dtop;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;align\x3dright;verticalAlign\x3dbottom;endArrow\x3dnone;rounded\x3d0;labelBackgroundColor\x3dnone;startArrow\x3dopen;startSize\x3d12;");
a.geometry.setTerminalPoint(new mxPoint(175,0),!1);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("{ probability \x3d valueSpecification }",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;verticalAlign\x3dbottom;endArrow\x3dopen;rounded\x3d0;labelBackgroundColor\x3dnone;endSize\x3d12;");e.geometry.setTerminalPoint(new mxPoint(350,60),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);var f=new mxCell("{ probability \x3d valueSpecification }",
new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;verticalAlign\x3dbottom;endArrow\x3dopen;rounded\x3d0;labelBackgroundColor\x3dnone;endSize\x3d12;");f.geometry.setTerminalPoint(new mxPoint(0,60),!1);f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);return c.createVertexTemplateFromCells([b,a,e,f],350,80,"Probability")}),this.addEntry("sysml activity probability",function(){var b=new mxCell("Action",new mxGeometry(0,0,160,60),"html\x3d1;shape\x3dmxgraph.sysml.objFlowR;whiteSpace\x3dwrap;align\x3dcenter;");
b.vertex=!0;var a=new mxCell("{ probability \x3d valueSpecification }",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;align\x3dcenter;verticalAlign\x3dbottom;endArrow\x3dopen;endSize\x3d12;exitX\x3d1;exitY\x3d0.5;fillColor\x3d#ffffff;labelBackgroundColor\x3dnone;");a.geometry.setTerminalPoint(new mxPoint(250,0),!1);a.geometry.relative=!0;a.geometry.x=1;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("{ probability \x3d valueSpecification }",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;align\x3dcenter;verticalAlign\x3dtop;endArrow\x3dopen;endSize\x3d12;exitX\x3d1;exitY\x3d0.5;fillColor\x3d#ffffff;labelBackgroundColor\x3dnone;");
e.geometry.setTerminalPoint(new mxPoint(250,60),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],250,60,"Probability")}),this.addEntry("sysml activity probability",function(){var b=new mxCell("Object Node",new mxGeometry(0,0,160,60),"shape\x3drect;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("{ probability \x3d valueSpecification }",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;align\x3dcenter;verticalAlign\x3dbottom;endArrow\x3dopen;endSize\x3d12;exitX\x3d1;exitY\x3d0.3;fillColor\x3d#ffffff;labelBackgroundColor\x3dnone;");
a.geometry.setTerminalPoint(new mxPoint(250,0),!1);a.geometry.relative=!0;a.geometry.x=1;a.edge=!0;b.insertEdge(a,!0);var e=new mxCell("{ probability \x3d valueSpecification }",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;align\x3dcenter;verticalAlign\x3dtop;endArrow\x3dopen;endSize\x3d12;exitX\x3d1;exitY\x3d0.7;fillColor\x3d#ffffff;labelBackgroundColor\x3dnone;");e.geometry.setTerminalPoint(new mxPoint(250,60),!1);e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,
a,e],250,60,"Probability")}),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;",160,0,"{ rate \x3d constant }\n{rate \x3d distribution}\n\x26lt;\x26lt;continuous\x26gt;\x26gt;\n\x26lt;\x26lt;discrete\x26gt;\x26gt;","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.addEntry("sysml activity in block definition diagram activity association",function(){var b=new mxCell("bdd",new mxGeometry(0,
0,330,250),"html\x3d1;shape\x3dmxgraph.sysml.package;labelX\x3d45;align\x3dleft;spacingLeft\x3d5;verticalAlign\x3dtop;spacingTop\x3d-3;fontStyle\x3d1;strokeWidth\x3d1;recursiveResize\x3d0;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;activity\x26gt;\x26gt;\nactivity name",new mxGeometry(30,40,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;b.insert(a);var e=new mxCell("\x26lt;\x26lt;activity\x26gt;\x26gt;\nactivity name",new mxGeometry(30,160,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");
e.vertex=!0;b.insert(e);var f=new mxCell("action\nname",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;endFill\x3d0;startArrow\x3ddiamondThin;startFill\x3d1;startSize\x3d12;align\x3dleft;verticalAlign\x3dbottom;");f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;a.insertEdge(f,!0);e.insertEdge(f,!1);b.insert(f);a=new mxCell("\x26lt;\x26lt;activity\x26gt;\x26gt;\nactivity name",new mxGeometry(180,40,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=
!0;b.insert(a);e=new mxCell("\x26lt;\x26lt;block\x26gt;\x26gt;\nblock name",new mxGeometry(180,160,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");e.vertex=!0;b.insert(e);f=new mxCell("object\nnode\nname",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;endFill\x3d0;startFill\x3d1;startSize\x3d12;align\x3dleft;verticalAlign\x3dbottom;");f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;a.insertEdge(f,!0);e.insertEdge(f,!1);b.insert(f);return c.createVertexTemplateFromCells([b],
400,250,"In Block Definition Diagrams, Activity, Association")}),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.actPart;strokeWidth\x3d3;verticalAlign\x3dtop;rotation\x3d-90;whiteSpace\x3dwrap;",100,100,"Partition Name","Activity Partition",null,null,this.getTagsForStencil("","actPart","sysml activity activity partition").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;rounded\x3d1;strokeWidth\x3d2;verticalAlign\x3dtop;whiteSpace\x3dwrap;align\x3dcenter;",140,
50,"(Partition Name)\nAction","Activity Partition",null,null,this.getTagsForStencil("","","sysml activity activity partition").join(" ")),this.addEntry("sysml activity interruptible activity region",function(){var b=new mxCell("region name",new mxGeometry(0,0,160,60),"shape\x3drect;html\x3d1;rounded\x3d1;verticalAlign\x3dtop;dashed\x3d1;strokeWidth\x3d2;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"shape\x3dmxgraph.lean_mapping.electronic_info_flow_edge;html\x3d1;edgeStyle\x3dnone;align\x3dcenter;verticalAlign\x3dbottom;exitX\x3d1;exitY\x3d0.5;fillColor\x3d#ffffff;");
a.geometry.setTerminalPoint(new mxPoint(250,30),!1);a.geometry.relative=!0;a.geometry.x=1;a.edge=!0;b.insertEdge(a,!0);return c.createVertexTemplateFromCells([b,a],250,60,"Interruptible Activity Region")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;rounded\x3d1;dashed\x3d1;strokeWidth\x3d2;verticalAlign\x3dtop;whiteSpace\x3dwrap;align\x3dcenter;",160,60,"\x26lt;\x26lt;structured\x26gt;\x26gt; node name","Structured Activity Node",null,null,this.getTagsForStencil("","","sysml activity structured activity node").join(" "))];
this.addPalette("sysmlActivities","SysML / Activities",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addSysMLInteractionsPalette=function(b){var c=this,f=[this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.package;overflow\x3dfill;labelX\x3d95;align\x3dleft;spacingLeft\x3d5;verticalAlign\x3dtop;spacingTop\x3d-3;",160,80,'\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:5px;text-align:left;"\x3e\x3cb\x3esd\x3c/b\x3e Interaction1\x3c/p\x3e',
"Sequence Diagram",null,null,this.getTagsForStencil("","package","sysml interaction sequence diagram").join(" ")),this.addEntry("sysml interaction lifeline",function(){var b=new mxCell("b1:Block1",new mxGeometry(0,0,160,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;align\x3dcenter;verticalAlign\x3dbottom;exitX\x3d0.5;exitY\x3d1;");a.geometry.setTerminalPoint(new mxPoint(80,
150),!1);a.geometry.relative=!0;a.geometry.x=1;a.edge=!0;b.insertEdge(a,!0);return c.createVertexTemplateFromCells([b,a],160,150,"Lifeline")}),this.addEntry("sysml interaction execution specification",function(){var b=new mxCell("b1:Block1",new mxGeometry(0,0,160,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("",new mxGeometry(70,100,20,80),"shape\x3drect;html\x3d1;fillColor\x3d#eeeeee;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;");
e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;");f.geometry.setTerminalPoint(new mxPoint(80,220),!1);f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;a.insertEdge(f,!0);return c.createVertexTemplateFromCells([b,a,e,f],160,220,"Execution Specification")}),this.addEntry("sysml interaction execution specification",function(){var b=new mxCell("b1:Block1",new mxGeometry(0,0,160,
60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("execSpec",new mxGeometry(20,100,120,80),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;");f.geometry.setTerminalPoint(new mxPoint(80,
220),!1);f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;a.insertEdge(f,!0);return c.createVertexTemplateFromCells([b,a,e,f],160,220,"Execution Specification")}),this.addEntry("sysml interaction use",function(){var b=new mxCell("Interaction3",new mxGeometry(0,0,160,60),"html\x3d1;shape\x3dmxgraph.sysml.package;labelX\x3d40;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("ref",new mxGeometry(0,0,0,0),"html\x3d1;align\x3dleft;verticalAlign\x3dtop;labelPosition\x3dleft;verticalLabelPosition\x3dtop;labelBackgroundColor\x3dnone;spacingLeft\x3d5;spacingTop\x3d-2;fontStyle\x3d1;");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Interaction Use")}),this.addEntry("sysml interaction combined fragment",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:10px;text-align:left;"\x3e\x3cb\x3esd\x3c/b\x3e Interaction1\x3c/p\x3e',new mxGeometry(0,0,350,320),"html\x3d1;shape\x3dmxgraph.sysml.package;labelX\x3d100;html\x3d1;overflow\x3dfill;strokeWidth\x3d1;recursiveResize\x3d0;");
b.vertex=!0;var a=new mxCell("b1: Block1",new mxGeometry(30,40,80,30),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;b.insert(a);var e=new mxCell("b2: Block2",new mxGeometry(140,40,80,30),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");e.vertex=!0;b.insert(e);var f=new mxCell("b3: Block3",new mxGeometry(250,40,80,30),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");f.vertex=!0;b.insert(f);var k=new mxCell("alt",new mxGeometry(20,90,200,160),
"html\x3d1;shape\x3dmxgraph.sysml.package;labelX\x3d35;fontStyle\x3d1;align\x3dleft;verticalAlign\x3dtop;spacingLeft\x3d5;spacingTop\x3d-3;");k.vertex=!0;b.insert(k);k=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;dashed\x3d1;");k.geometry.setTerminalPoint(new mxPoint(70,300),!1);k.geometry.relative=!0;k.edge=!0;a.insertEdge(k,!0);b.insert(k);a=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;dashed\x3d1;");a.geometry.setTerminalPoint(new mxPoint(180,
300),!1);a.geometry.relative=!0;a.edge=!0;b.insert(a);e.insertEdge(a,!0);e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;dashed\x3d1;");e.geometry.setTerminalPoint(new mxPoint(290,300),!1);e.geometry.relative=!0;e.edge=!0;b.insert(e);f.insertEdge(e,!0);f=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;dashed\x3d1;");f.geometry.setTerminalPoint(new mxPoint(20,170),!1);f.geometry.setTerminalPoint(new mxPoint(220,170),!0);f.geometry.relative=
!0;f.edge=!0;b.insert(f);f=new mxCell("[if x \x3c 10]",new mxGeometry(0,0,0,0),"endArrow\x3dopen;html\x3d1;edgeStyle\x3dnone;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;endSize\x3d12;");f.geometry.setTerminalPoint(new mxPoint(70,150),!0);f.geometry.setTerminalPoint(new mxPoint(180,150),!1);f.geometry.relative=!0;f.geometry.x=-1;f.edge=!0;b.insert(f);e=new mxCell("msg1",new mxGeometry(1,0,0,0),"align\x3dright;html\x3d1;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;");e.geometry.relative=
!0;e.setConnectable(!1);e.vertex=!0;f.insert(e);f=new mxCell("[else]",new mxGeometry(0,0,0,0),"endArrow\x3dopen;html\x3d1;edgeStyle\x3dnone;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;align\x3dright;endSize\x3d12;");f.geometry.setTerminalPoint(new mxPoint(70,230),!0);f.geometry.setTerminalPoint(new mxPoint(180,230),!1);f.geometry.relative=!0;f.geometry.x=-1;f.edge=!0;b.insert(f);e=new mxCell("msg2",new mxGeometry(1,0,0,0),"align\x3dright;html\x3d1;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;");
e.geometry.relative=!0;e.setConnectable(!1);e.vertex=!0;f.insert(e);b.insert(f);f=new mxCell("msg3",new mxGeometry(0,0,0,0),"endArrow\x3dopen;html\x3d1;edgeStyle\x3dnone;verticalAlign\x3dbottom;labelBackgroundColor\x3dnone;endSize\x3d12;");f.geometry.setTerminalPoint(new mxPoint(70,290),!0);f.geometry.setTerminalPoint(new mxPoint(290,290),!1);f.geometry.relative=!0;f.edge=!0;b.insert(f);return c.createVertexTemplateFromCells([b],350,320,"Combined Fragment")}),this.addEntry("sysml interaction state invariant configuration",
function(){var b=new mxCell(":Y",new mxGeometry(0,0,120,50),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("p\x3d\x3d15",new mxGeometry(0,100,120,50),"html\x3d1;shape\x3dmxgraph.sysml.cont;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);var f=new mxCell("",new mxGeometry(0,
0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;");f.geometry.setTerminalPoint(new mxPoint(60,220),!1);f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;a.insertEdge(f,!0);return c.createVertexTemplateFromCells([b,a,e,f],120,220,"State Invariant / Continuations")}),this.addEntry("sysml interaction coregion",function(){var b=new mxCell("s[u]:B",new mxGeometry(0,0,100,50),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("",new mxGeometry(40,
100,20,70),"html\x3d1;shape\x3dmxgraph.sysml.coregion;strokeWidth\x3d3;");a.vertex=!0;var e=new mxCell("",new mxGeometry(48,118,4,4),"shape\x3dellipse;html\x3d1;fillColor\x3d#000000;");e.vertex=!0;var f=new mxCell("",new mxGeometry(48,148,4,4),"shape\x3dellipse;html\x3d1;fillColor\x3d#000000;");f.vertex=!0;var k=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;");k.geometry.relative=!0;k.edge=!0;b.insertEdge(k,!0);e.insertEdge(k,!1);var l=new mxCell("",
new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;");l.geometry.relative=!0;l.edge=!0;e.insertEdge(l,!0);f.insertEdge(l,!1);var m=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;");m.geometry.setTerminalPoint(new mxPoint(50,220),!1);m.geometry.relative=!0;m.edge=!0;f.insertEdge(m,!0);var n=new mxCell("m3",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;startArrow\x3dopen;verticalAlign\x3dbottom;startSize\x3d12;");
n.geometry.setTerminalPoint(new mxPoint(250,120),!1);n.geometry.relative=!0;n.edge=!0;e.insertEdge(n,!0);var p=new mxCell("m2",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;startArrow\x3dopen;verticalAlign\x3dbottom;startSize\x3d12;");p.geometry.setTerminalPoint(new mxPoint(250,150),!1);p.geometry.relative=!0;p.edge=!0;f.insertEdge(p,!0);return c.createVertexTemplateFromCells([b,a,e,f,k,l,m,n,p],250,220,"Coregion")}),this.addEntry("sysml interaction creation destruction event",
function(){var b=new mxCell("b1:Block1",new mxGeometry(0,0,100,30),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("b2:Block2",new mxGeometry(150,40,100,30),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("",new mxGeometry(190,70,20,100),"shape\x3drect;fillColor\x3d#eeeeee;html\x3d1;");e.vertex=!0;var f=new mxCell("",new mxGeometry(48,53,4,4),"shape\x3dellipse;fillColor\x3d#000000;html\x3d1;");f.vertex=!0;var k=
new mxCell("",new mxGeometry(48,148,4,4),"shape\x3dellipse;fillColor\x3d#000000;html\x3d1;");k.vertex=!0;var l=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;dashed\x3d1;endArrow\x3dnone;html\x3d1;");l.geometry.relative=!0;l.edge=!0;b.insertEdge(l,!0);f.insertEdge(l,!1);var m=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;dashed\x3d1;endArrow\x3dnone;html\x3d1;");m.geometry.relative=!0;m.edge=!0;f.insertEdge(m,!0);k.insertEdge(m,!1);var n=new mxCell("",new mxGeometry(0,0,0,0),
"edgeStyle\x3dnone;dashed\x3d1;endArrow\x3dnone;html\x3d1;");n.geometry.setTerminalPoint(new mxPoint(50,220),!1);n.geometry.relative=!0;n.edge=!0;k.insertEdge(n,!0);var p=new mxCell("create",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dopen;verticalAlign\x3dbottom;endSize\x3d12;html\x3d1;");p.geometry.setTerminalPoint(new mxPoint(250,120),!1);p.geometry.relative=!0;p.edge=!0;f.insertEdge(p,!0);a.insertEdge(p,!1);var r=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;endArrow\x3dopen;elbow\x3dvertical;endSize\x3d12;html\x3d1;");
r.geometry.setTerminalPoint(new mxPoint(250,150),!1);r.geometry.relative=!0;r.edge=!0;k.insertEdge(r,!0);e.insertEdge(r,!1);var s=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;endArrow\x3dsysMLx;endSize\x3d22;dashed\x3d1;html\x3d1;");s.geometry.setTerminalPoint(new mxPoint(200,200),!1);s.geometry.relative=!0;s.edge=!0;e.insertEdge(s,!0);return c.createVertexTemplateFromCells([b,a,e,f,k,l,m,n,p,r,s],250,220,"Creation/Destruction Event")}),this.addEntry("sysml interaction duration constraint",
function(){var b=new mxCell(":User",new mxGeometry(0,0,100,50),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("{d..3*d}",new mxGeometry(-20,100,100,40),"html\x3d1;shape\x3dmxgraph.sysml.dimension;rotation\x3d-90;verticalAlign\x3dtop;spacingTop\x3d-5");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;dashed\x3d1;endArrow\x3dnone;html\x3d1;");e.geometry.setTerminalPoint(new mxPoint(50,250),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,
!0);var f=new mxCell("Code d\x3dduration",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;verticalAlign\x3dbottom;endSize\x3d12;");f.geometry.setTerminalPoint(new mxPoint(50,70),!0);f.geometry.setTerminalPoint(new mxPoint(250,70),!1);f.geometry.relative=!0;f.edge=!0;var k=new mxCell("CardOut {0..13}",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;verticalAlign\x3dbottom;spacingBottom\x3d5;endSize\x3d12;");k.geometry.setTerminalPoint(new mxPoint(50,170),
!1);k.geometry.setTerminalPoint(new mxPoint(250,170),!0);k.geometry.relative=!0;k.edge=!0;var l=new mxCell("OK",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;verticalAlign\x3dtop;spacingTop\x3d5;endSize\x3d12;");l.geometry.setTerminalPoint(new mxPoint(50,200),!1);l.geometry.setTerminalPoint(new mxPoint(250,140),!0);l.geometry.relative=!0;l.edge=!0;return c.createVertexTemplateFromCells([b,a,e,f,k,l],250,250,"Duration Constraint")}),this.addEntry("sysml interaction duration constraint",
function(){var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;");b.geometry.setTerminalPoint(new mxPoint(20,0),!0);b.geometry.setTerminalPoint(new mxPoint(20,200),!1);b.geometry.relative=!0;b.edge=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;dashed\x3d1;endArrow\x3dnone;");a.geometry.setTerminalPoint(new mxPoint(230,0),!0);a.geometry.setTerminalPoint(new mxPoint(230,200),!1);a.geometry.relative=!0;a.edge=!0;var e=new mxCell("CardOut {0..13}",
new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;verticalAlign\x3dbottom;spacingBottom\x3d5;endSize\x3d12;");e.geometry.setTerminalPoint(new mxPoint(20,140),!1);e.geometry.setTerminalPoint(new mxPoint(230,140),!0);e.geometry.relative=!0;e.edge=!0;var f=new mxCell("OK",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;verticalAlign\x3dtop;spacingTop\x3d5;endSize\x3d12;");f.geometry.setTerminalPoint(new mxPoint(20,170),!1);f.geometry.setTerminalPoint(new mxPoint(230,
110),!0);f.geometry.relative=!0;f.edge=!0;var k=new mxCell("{t..t+3}",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;align\x3dright;labelBackgroundColor\x3dnone;");k.geometry.setTerminalPoint(new mxPoint(20,170),!1);k.geometry.setTerminalPoint(new mxPoint(0,170),!0);k.geometry.relative=!0;k.geometry.x=-1;k.edge=!0;var l=new mxCell("t\x3dnow",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;align\x3dleft;labelBackgroundColor\x3dnone;");l.geometry.setTerminalPoint(new mxPoint(230,
140),!1);l.geometry.setTerminalPoint(new mxPoint(250,140),!0);l.geometry.relative=!0;l.geometry.x=-1;l.edge=!0;return c.createVertexTemplateFromCells([b,a,e,f,k,l],250,200,"Time Constraint")}),this.addEntry("sysml interaction message",function(){var b=new mxCell("b1:Block1",new mxGeometry(0,0,100,30),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("b2:Block2",new mxGeometry(150,0,100,30),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=
!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;dashed\x3d1;html\x3d1;endArrow\x3dnone;");e.geometry.setTerminalPoint(new mxPoint(50,250),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;dashed\x3d1;html\x3d1;endArrow\x3dnone;");f.geometry.setTerminalPoint(new mxPoint(200,250),!1);f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!0);var k=new mxCell("asyncSignal",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;verticalAlign\x3dbottom;endSize\x3d12;");
k.geometry.setTerminalPoint(new mxPoint(50,70),!0);k.geometry.setTerminalPoint(new mxPoint(200,70),!1);k.geometry.relative=!0;k.edge=!0;var l=new mxCell("syncCall(param)",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dblock;verticalAlign\x3dbottom;endSize\x3d12;endFill\x3d1;");l.geometry.setTerminalPoint(new mxPoint(50,160),!0);l.geometry.setTerminalPoint(new mxPoint(200,160),!1);l.geometry.relative=!0;l.edge=!0;var m=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;verticalAlign\x3dbottom;endSize\x3d12;endFill\x3d1;dashed\x3d1;");
m.geometry.setTerminalPoint(new mxPoint(200,200),!0);m.geometry.setTerminalPoint(new mxPoint(50,200),!1);m.geometry.relative=!0;m.edge=!0;return c.createVertexTemplateFromCells([b,a,e,f,k,l,m],250,250,"Message")}),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dsysMLLost;endSize\x3d12;verticalAlign\x3dbottom;",160,0,"lost","Lost Message",null,this.getTagsForStencil("","","sysml interaction lost message").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;verticalAlign\x3dbottom;startArrow\x3dsysMLFound;startSize\x3d12;",
160,0,"found","Found Message",null,this.getTagsForStencil("","","sysml interaction found message").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;verticalAlign\x3dbottom;dashed\x3d1;strokeWidth\x3d2;",160,0,"","General Ordering",null,this.getTagsForStencil("","","sysml interaction general ordering").join(" "))];this.addPalette("sysmlInteractions","SysML / Interactions",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};
Sidebar.prototype.addSysMLStateMachinesPalette=function(b){var c=this,f=[this.addEntry("sysml state machine choice pseudo state",function(){var b=new mxCell("",new mxGeometry(0,20,40,40),"shape\x3drhombus;html\x3d1;labelPosition\x3dright;align\x3dleft;verticalAlign\x3dmiddle");b.vertex=!0;var a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dhorizontal;align\x3dright;verticalAlign\x3dbottom;rounded\x3d0;labelBackgroundColor\x3dnone;endArrow\x3dopen;endSize\x3d12;");
a.geometry.setTerminalPoint(new mxPoint(20,0),!0);a.geometry.relative=!0;a.edge=!0;b.insertEdge(a,!1);var e=new mxCell("[Id\x3c\x3d10]",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;align\x3dright;endArrow\x3dopen;rounded\x3d0;labelBackgroundColor\x3dnone;endSize\x3d12;");e.geometry.setTerminalPoint(new mxPoint(20,100),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);var f=new mxCell("[Id\x3e10]",new mxGeometry(0,0,0,0),"edgeStyle\x3delbowEdgeStyle;html\x3d1;elbow\x3dvertical;align\x3dleft;endArrow\x3dopen;rounded\x3d0;labelBackgroundColor\x3dnone;verticalAlign\x3dbottom;endSize\x3d12;");
f.geometry.setTerminalPoint(new mxPoint(150,100),!1);f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);return c.createVertexTemplateFromCells([b,a,e,f],150,100,"Choice Pseudo State")}),this.addEntry("sysml state machine composite state",function(){var b=new mxCell("CompositeState1",new mxGeometry(0,0,220,190),"shape\x3dmxgraph.sysml.compState;align\x3dleft;verticalAlign\x3dtop;spacingTop\x3d-3;spacingLeft\x3d18;strokeWidth\x3d1;recursiveResize\x3d0;");b.vertex=!0;var a=new mxCell("",new mxGeometry(20,
50,20,20),"shape\x3dellipse;html\x3d1;fillColor\x3d#000000;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;");a.vertex=!0;b.insert(a);var e=new mxCell("State1",new mxGeometry(80,60,100,40),"shape\x3drect;html\x3d1;rounded\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");e.vertex=!0;b.insert(e);var f=new mxCell("State2",new mxGeometry(80,130,100,40),"shape\x3drect;html\x3d1;rounded\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");f.vertex=!0;b.insert(f);var k=new mxCell("",
new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;");k.geometry.relative=!0;k.edge=!0;a.insertEdge(k,!0);e.insertEdge(k,!1);b.insert(k);a=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;");a.geometry.relative=!0;a.edge=!0;e.insertEdge(a,!0);f.insertEdge(a,!1);b.insert(a);return c.createVertexTemplateFromCells([b],220,190,"Composite State")}),this.createVertexTemplateEntry("shape\x3dmxgraph.sysml.compState;html\x3d1;align\x3dleft;verticalAlign\x3dtop;spacingTop\x3d-3;spacingLeft\x3d18;",
200,160,"CompositeState1","Composite State",null,null,this.getTagsForStencil("","compState","sysml state machine composite state").join(" ")),this.createVertexTemplateEntry("ellipse;html\x3d1;labelPosition\x3dleft;verticalLabelPosition\x3dbottom;spacingBottom\x3d10;align\x3dright;verticalAlign\x3dbottom;resizable\x3d0;",20,20,"again","Entry Point",null,null,this.getTagsForStencil("","compState","sysml state machine entry point").join(" ")),this.addEntry("sysml state machine exit point",function(){var b=
new mxCell("aborted",new mxGeometry(0,10,20,20),"shape\x3dmxgraph.sysml.flowFinal;labelPosition\x3dright;verticalLabelPosition\x3dtop;spacingTop\x3d5;spacingLeft\x3d3;align\x3dleft;verticalAlign\x3dtop;resizable\x3d0;");b.vertex=!0;return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Exit Point")}),this.createVertexTemplateEntry("shape\x3dmxgraph.sysml.actFinal;html\x3d1;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;",40,40,"","Final State",
null,null,this.getTagsForStencil("","actFinal","sysml state machine final state").join(" ")),this.createVertexTemplateEntry("shape\x3dellipse;html\x3d1;fontSize\x3d18;align\x3dcenter;",40,40,"H*","History, Deep Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine history deep pseudo state").join(" ")),this.createVertexTemplateEntry("shape\x3dellipse;html\x3d1;fontSize\x3d18;align\x3dcenter;",40,40,"H","History, Shallow Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine history shallow pseudo state").join(" ")),
this.createVertexTemplateEntry("shape\x3dellipse;html\x3d1;fillColor\x3d#000000;fontSize\x3d18;fontColor\x3d#ffffff;",40,40,"","Initial Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine initial pseudo state").join(" ")),this.createVertexTemplateEntry("shape\x3dellipse;html\x3d1;fillColor\x3d#000000;fontSize\x3d18;fontColor\x3d#ffffff;",40,40,"","Junction Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine junction pseudo state").join(" ")),this.createVertexTemplateEntry("shape\x3dmxgraph.sysml.accEvent;flipH\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",
140,40,"Req(Id)","Receive Signal Action",null,null,this.getTagsForStencil("","accEvent","sysml state machine receive signal action").join(" ")),this.createVertexTemplateEntry("shape\x3dmxgraph.sysml.sendSigAct;whiteSpace\x3dwrap;align\x3dcenter;",140,40,"TurnOn","Send Signal Action",null,null,this.getTagsForStencil("","sendSigAct","sysml state machine send signal action").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",140,40,"MinorReq :\x3d Id;",
"Action",null,null,this.getTagsForStencil("","","sysml state machine action").join(" ")),this.createVertexTemplateEntry("shape\x3dmxgraph.sysml.region;align\x3dleft;verticalAlign\x3dtop;spacingTop\x3d-3;spacingLeft\x3d25;",200,160,"S","Region",null,null,this.getTagsForStencil("","","sysml state machine region").join(" ")),this.createVertexTemplateEntry("shape\x3drect;rounded\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",100,40,"State1","Simple State",null,null,this.getTagsForStencil("","","sysml state machine simple state").join(" ")),
this.createVertexTemplateEntry("shape\x3dmxgraph.sysml.simpleState;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;",200,100,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3eState2\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3eentry / entryActivity\x3cbr/\x3edo / doActivity\x3cbr/\x3eexit / exitActivity\x3c/p\x3e',"Simple State",null,null,this.getTagsForStencil("","simpleState","sysml state machine simple state").join(" ")),this.createVertexTemplateEntry("shape\x3drect;rounded\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",
120,40,"State1, State2","State List",null,null,this.getTagsForStencil("","","sysml state machine state list").join(" ")),this.addEntry("sysml state machine state machine",function(){var b=new mxCell("ReadAmountSM",new mxGeometry(0,0,160,120),"shape\x3dmxgraph.sysml.stateMachine;verticalAlign\x3dtop;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("aborted",new mxGeometry(160,60,0,0),"resizable\x3d0;html\x3d1;verticalAlign\x3dtop;align\x3dleft;labelBackgroundColor\x3dnone;spacingLeft\x3d5;spacingTop\x3d-2;");
a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"State Machine")}),this.createVertexTemplateEntry("shape\x3dmxgraph.sysml.x;",40,40,"","Terminate Node",null,null,this.getTagsForStencil("","x","sysml state machine terminate node").join(" ")),this.addEntry("sysml state machine submachine state",function(){var b=new mxCell("ReadAmount :\nReadAmountSM",new mxGeometry(0,0,160,120),"shape\x3dmxgraph.sysml.submState;whiteSpace\x3dwrap;align\x3dcenter;");
b.vertex=!0;var a=new mxCell("aborted",new mxGeometry(160,60,0,0),"resizable\x3d0;html\x3d1;verticalAlign\x3dbottom;align\x3dleft;labelBackgroundColor\x3dnone;spacingLeft\x3d5;spacingBottom\x3d2;");a.geometry.relative=!1;a.setConnectable(!1);a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Submachine State")}),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;strokeWidth\x3d3;verticalAlign\x3dbottom;",160,
0,"trigger[guard]/activity","Transition",null,this.getTagsForStencil("","","sysml state machine transition").join(" "))];this.addPalette("sysmlState Machines","SysML / State Machines",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addSysMLUseCasesPalette=function(b){var c=this,f=[this.createVertexTemplateEntry("shape\x3dellipse;html\x3d1;strokeWidth\x3d3;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",120,60,"UseCaseName","Use Case",
null,null,this.getTagsForStencil("","","sysml use case use case").join(" ")),this.addEntry("sysml use case ",function(){var b=new mxCell("\nextension points\np1, p2",new mxGeometry(0,0,160,80),"html\x3d1;shape\x3dmxgraph.sysml.useCaseExtPt;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("UseCaseName",new mxGeometry(80,17,0,0),"resizable\x3d0;html\x3d1;verticalAlign\x3dmiddle;align\x3dcenter;labelBackgroundColor\x3dnone;fontStyle\x3d1;");a.geometry.relative=!1;a.setConnectable(!1);
a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Use Case")}),this.createVertexTemplateEntry("shape\x3dumlActor;html\x3d1;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;align\x3dcenter;",30,60,"ActorName","Actor",null,null,this.getTagsForStencil("","umlActor","sysml use case ").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",80,40,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;actor\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eActorName\x3c/b\x3e\x3c/p\x3e',
"Actor",null,null,this.getTagsForStencil("","","sysml use case ").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;verticalAlign\x3dtop;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",120,60,"SubjectName","Subject",null,null,this.getTagsForStencil("","","sysml use case subject").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;verticalAlign\x3dbottom;",160,0,"","Communication Path",null,this.getTagsForStencil("","","sysml use case communication path").join(" ")),
this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;verticalAlign\x3dbottom;dashed\x3d1;labelBackgroundColor\x3dnone;",160,0,"\x26lt;\x26lt;include\x26gt;\x26gt;","Include",null,this.getTagsForStencil("","","sysml use case include").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;startArrow\x3dopen;endArrow\x3dnone;startSize\x3d12;verticalAlign\x3dbottom;dashed\x3d1;labelBackgroundColor\x3dnone;",160,0,"\x26lt;\x26lt;extend\x26gt;\x26gt;","Extend",null,
this.getTagsForStencil("","","sysml use case extend").join(" ")),this.addEntry("sysml use case extend condition",function(){var b=new mxCell("Condition: {boolean expression}\nextension point: p1, p2",new mxGeometry(20,0,230,40),"shape\x3dnote;size\x3d15;spacingLeft\x3d5;align\x3dleft;whiteSpace\x3dwrap;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;extend\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"align\x3dright;html\x3d1;verticalAlign\x3dbottom;rounded\x3d0;labelBackgroundColor\x3dnone;endArrow\x3dopen;endSize\x3d12;dashed\x3d1;");
a.geometry.setTerminalPoint(new mxPoint(0,80),!1);a.geometry.setTerminalPoint(new mxPoint(160,80),!0);a.geometry.relative=!0;a.edge=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle\x3dnone;html\x3d1;endArrow\x3dnone;rounded\x3d0;labelBackgroundColor\x3dnone;dashed\x3d1;exitX\x3d0.5;exitY\x3d1;");e.geometry.setTerminalPoint(new mxPoint(100,80),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],250,80,"Extend with Condition")}),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dblock;endFill\x3d0;endSize\x3d12;verticalAlign\x3dbottom;",
160,0,"","Generalization",null,this.getTagsForStencil("","","sysml use case generalization").join(" "))];this.addPalette("sysmlUse Cases","SysML / UseCases",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addSysMLAllocationsPalette=function(b){var c=this,f=[this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",120,60,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;allocated\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eNamed\x3cbr/\x3eElement\x3c/b\x3e\x3c/p\x3e',
"Allocated Stereotype",null,null,this.getTagsForStencil("","","sysml allocation allocated stereotype").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;strokeWidth\x3d2;whiteSpace\x3dwrap;align\x3dcenter;",200,120,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eBlockName\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3eallocatedFrom\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3e\x26lt;\x26lt;elementType\x26gt;\x26gt; ElementName\x3c/p\x3e\x3chr/\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3eallocatedTo\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3e\x26lt;\x26lt;elementType\x26gt;\x26gt; ElementName\x3c/p\x3e',
"Allocation derived properties (Block)",null,null,this.getTagsForStencil("","","sysml allocation derived property block").join(" ")),this.addEntry("sysml allocation derived property comment",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:10px;margin-left:10px;text-align:left;"\x3e\x3cb\x3eallocatedFrom\x3c/b\x3e\x3cbr/\x3e\x26lt;\x26lt;elementType\x26gt;\x26gt; ElementName\x3cbr/\x3e\x3cb\x3eallocatedTo\x3c/b\x3e\x3cbr/\x3e\x26lt;\x26lt;elementType\x26gt;\x26gt; ElementName\x3c/p\x3e',
new mxGeometry(40,0,230,80),"shape\x3dnote;html\x3d1;size\x3d15;spacingLeft\x3d5;align\x3dleft;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("ElementName",new mxGeometry(0,100,120,40),"shape\x3drect;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"rounded\x3d0;html\x3d1;labelBackgroundColor\x3dnone;endArrow\x3dnone;dashed\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,
!1);return c.createVertexTemplateFromCells([b,a,e],270,140,"Allocation derived properties (Comment)")}),this.addEntry("sysml allocation derived property internal block diagram",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;block\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eBlockName\x3c/b\x3e\x3c/p\x3e\x3chr/\x3e',new mxGeometry(0,0,250,160),"shape\x3drect;html\x3d1;overflow\x3dfill;strokeWidth\x3d2;whiteSpace\x3dwrap;align\x3dcenter;verticalAlign\x3dtop;strokeWidth\x3d1;recursiveResize\x3d0;");
b.vertex=!0;var a=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3ePartName\x3c/b\x3e\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3eallocatedFrom\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3e\x26lt;\x26lt;elementType\x26gt;\x26gt; ElementName\x3c/p\x3e',new mxGeometry(20,60,210,80),"shape\x3drect;html\x3d1;overflow\x3dfill;strokeWidth\x3d2;whiteSpace\x3dwrap;align\x3dcenter;");
a.vertex=!0;b.insert(a);return c.createVertexTemplateFromCells([b],250,160,"Allocation derived properties (Internal Block Diagram)")}),this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.simpleState;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;",200,100,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eActivityName\x3c/b\x3e\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"font-size:10px;margin:0px;text-align:center;"\x3e\x3ci\x3eallocatedTo\x3c/i\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3e\x26lt;\x26lt;elementType\x26gt;\x26gt; ElementName\x3c/p\x3e',
"Allocation Derived Properties (Activity Diagram)",null,null,this.getTagsForStencil("","","sysml allocation derived property activity diagram").join(" ")),this.addEntry("sysml allocation activity partition",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;allocate\x26gt;\x26gt;\x3cbr/\x3e:ElementName\x3chr/\x3e\x3c/p\x3e',new mxGeometry(0,0,250,160),"shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;verticalAlign\x3dtop;");
b.vertex=!0;var a=new mxCell("ActionName",new mxGeometry(65,70,120,60),"html\x3d1;shape\x3dmxgraph.sysml.cont;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;return c.createVertexTemplateFromCells([b,a],250,160,"Allocation Activity Partition")}),this.addEntry("sysml allocation general",function(){var b=new mxCell("Client",new mxGeometry(0,0,100,60),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("Supplier",new mxGeometry(200,
0,100,60),"shape\x3drect;html\x3d1;fontStyle\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("\x26lt;\x26lt;allocate\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"rounded\x3d0;html\x3d1;verticalAlign\x3dtop;labelBackgroundColor\x3dnone;endArrow\x3dopen;dashed\x3d1;endSize\x3d12;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],300,60,"Allocation (General)")})];this.addPalette("sysmlAllocations","SysML / Allocations",
b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addSysMLRequirementsPalette=function(b){var c=this,f=[this.createVertexTemplateEntry("html\x3d1;shape\x3dmxgraph.sysml.package;overflow\x3dfill;labelX\x3d110;strokeWidth\x3d2;align\x3dcenter;",160,80,'\x3cp style\x3d"margin:0px;margin-top:4px;margin-left:7px;text-align:left;"\x3e\x3cb\x3ereq\x3c/b\x3e ReqDiagram\x3c/p\x3e',"Requirement Diagram",null,null,this.getTagsForStencil("","package",
"sysml requirement diagram").join(" ")),this.createVertexTemplateEntry("shape\x3drect;overflow\x3dfill;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",200,100,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;requirement\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eRequirement Name\x3c/b\x3e\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:8px;text-align:left;"\x3etext\x3d"The system shall do"\x3cbr/\x3eId\x3d"62j32."\x3c/p\x3e',"Requirement",null,null,this.getTagsForStencil("",
"package","sysml requirement ").join(" ")),this.createVertexTemplateEntry("shape\x3drect;overflow\x3dfill;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",200,100,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x26lt;\x26lt;testCase\x26gt;\x26gt;\x3cbr/\x3e\x3cb\x3eTestCaseName\x3c/b\x3e\x3chr/\x3e\x3c/p\x3e',"Test Case",null,null,this.getTagsForStencil("","package","sysml requirement test case").join(" ")),this.addEntry("sysml requirement containment relationship",function(){var b=
new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nParent",new mxGeometry(90,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nChild1",new mxGeometry(0,120,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nChild2",new mxGeometry(180,120,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");e.vertex=
!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"rounded\x3d0;html\x3d1;labelBackgroundColor\x3dnone;endArrow\x3dnone;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;startArrow\x3dsysMLPackCont;startSize\x3d12;");f.geometry.relative=!0;f.edge=!0;b.insertEdge(f,!0);a.insertEdge(f,!1);var k=new mxCell("",new mxGeometry(0,0,0,0),"rounded\x3d0;html\x3d1;labelBackgroundColor\x3dnone;endArrow\x3dnone;edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;startArrow\x3dsysMLPackCont;startSize\x3d12;");k.geometry.relative=
!0;k.edge=!0;b.insertEdge(k,!0);e.insertEdge(k,!1);return c.createVertexTemplateFromCells([b,a,e,f,k],300,180,"Requirement Containment Relationship")}),this.addEntry("sysml requirement copy dependency",function(){var b=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nSlave",new mxGeometry(0,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nMaster",new mxGeometry(240,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");
a.vertex=!0;var e=new mxCell("\x26lt;\x26lt;copy\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"endArrow\x3dopen;edgeStyle\x3dnone;endSize\x3d12;dashed\x3d1;html\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Copy Dependency")}),this.addEntry("sysml requirement master callout",function(){var b=new mxCell("Master\n\x26lt;\x26lt;requirement\x26gt;\x26gt; Master",new mxGeometry(0,0,160,60),"shape\x3dnote;html\x3d1;size\x3d15;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;align\x3dcenter;");
b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt; Slave",new mxGeometry(200,0,160,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;dashed\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Master Callout")}),this.addEntry("sysml requirement derive dependency",function(){var b=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nClient",
new mxGeometry(0,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nSupplier",new mxGeometry(240,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("\x26lt;\x26lt;deriveReq\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"endArrow\x3dopen;html\x3d1;edgeStyle\x3dnone;endSize\x3d12;dashed\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);
return c.createVertexTemplateFromCells([b,a,e],360,60,"Derive Dependency")}),this.addEntry("sysml requirement derive callout",function(){var b=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nReqA",new mxGeometry(0,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("Derived\n\x26lt;\x26lt;requirement\x26gt;\x26gt; ReqB",new mxGeometry(200,0,160,60),"shape\x3dnote;html\x3d1;size\x3d15;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;align\x3dcenter;");
a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;dashed\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Derive Callout")}),this.addEntry("sysml requirement derive callout",function(){var b=new mxCell("DerivedFrom\n\x26lt;\x26lt;requirement\x26gt;\x26gt; ReqA",new mxGeometry(0,0,160,60),"shape\x3dnote;html\x3d1;size\x3d15;align\x3dleft;spacingLeft\x3d5;whiteSpace\x3dwrap;align\x3dcenter;");
b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nReqB",new mxGeometry(240,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;edgeStyle\x3dnone;dashed\x3d1;html\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Derive Callout")}),this.addEntry("sysml requirement satisfy dependency",function(){var b=
new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nSupplier",new mxGeometry(240,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("\x26lt;\x26lt;satisfy\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"endArrow\x3dopen;edgeStyle\x3dnone;endSize\x3d12;dashed\x3d1;html\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,
!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Satisfy Dependency")}),this.addEntry("sysml requirement satisfy callout",function(){var b=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("Satisfies\n\x26lt;\x26lt;requirement\x26gt;\x26gt; ReqA",new mxGeometry(200,0,160,60),"shape\x3dnote;size\x3d15;align\x3dleft;spacingLeft\x3d5;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");
a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;edgeStyle\x3dnone;dashed\x3d1;html\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Satisfy Callout")}),this.addEntry("sysml requirement satisfy callout",function(){var b=new mxCell("SatisfiedBy\nNamedElement",new mxGeometry(0,0,160,60),"shape\x3dnote;size\x3d15;align\x3dleft;spacingLeft\x3d5;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");
b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nReqA",new mxGeometry(240,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;edgeStyle\x3dnone;dashed\x3d1;html\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Satisfy Callout")}),this.addEntry("sysml requirement verify dependency",function(){var b=
new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nSupplier",new mxGeometry(240,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("\x26lt;\x26lt;verify\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"endArrow\x3dopen;edgeStyle\x3dnone;endSize\x3d12;dashed\x3d1;html\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,
!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Verify Dependency")}),this.addEntry("sysml requirement verify callout",function(){var b=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("Verifies\n\x26lt;\x26lt;requirement\x26gt;\x26gt; ReqA",new mxGeometry(200,0,160,60),"shape\x3dnote;size\x3d15;align\x3dleft;spacingLeft\x3d5;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");
a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;edgeStyle\x3dnone;dashed\x3d1;html\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Verify Callout")}),this.addEntry("sysml requirement verify callout",function(){var b=new mxCell("VerifiedBy\nNamedElement",new mxGeometry(0,0,160,60),"shape\x3dnote;size\x3d15;align\x3dleft;spacingLeft\x3d5;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=
!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nReqA",new mxGeometry(240,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;edgeStyle\x3dnone;dashed\x3d1;html\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Verify Callout")}),this.addEntry("sysml requirement refine dependency",function(){var b=new mxCell("NamedElement",
new mxGeometry(0,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nClient",new mxGeometry(240,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("\x26lt;\x26lt;refine\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"endArrow\x3dopen;edgeStyle\x3dnone;endSize\x3d12;dashed\x3d1;html\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,
a,e],360,60,"Refine Dependency")}),this.addEntry("sysml requirement refine dependency",function(){var b=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("Refines\n\x26lt;\x26lt;requirement\x26gt;\x26gt; ReqA",new mxGeometry(200,0,160,60),"shape\x3dnote;size\x3d15;align\x3dleft;spacingLeft\x3d5;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;edgeStyle\x3dnone;dashed\x3d1;html\x3d1;");
e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Refine Callout")}),this.addEntry("sysml requirement refine dependency",function(){var b=new mxCell("RefinedBy\nNamedElement",new mxGeometry(0,0,160,60),"shape\x3dnote;size\x3d15;align\x3dleft;spacingLeft\x3d5;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nReqA",new mxGeometry(240,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");
a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;edgeStyle\x3dnone;dashed\x3d1;html\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Refine Callout")}),this.addEntry("sysml requirement trace dependency",function(){var b=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nClient",new mxGeometry(0,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nSupplier",
new mxGeometry(240,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("\x26lt;\x26lt;trace\x26gt;\x26gt;",new mxGeometry(0,0,0,0),"endArrow\x3dopen;edgeStyle\x3dnone;endSize\x3d12;dashed\x3d1;html\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Trace Dependency")}),this.addEntry("sysml requirement refine callout",function(){var b=new mxCell("NamedElement",new mxGeometry(0,
0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("TracedFrom\n\x26lt;\x26lt;requirement\x26gt;\x26gt; ReqA",new mxGeometry(200,0,160,60),"shape\x3dnote;size\x3d15;align\x3dleft;spacingLeft\x3d5;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;edgeStyle\x3dnone;dashed\x3d1;html\x3d1;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,
a,e],360,60,"Refine Callout")}),this.addEntry("sysml requirement trace callout",function(){var b=new mxCell("TracedTo\nNamedElement",new mxGeometry(0,0,160,60),"shape\x3dnote;size\x3d15;align\x3dleft;spacingLeft\x3d5;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;requirement\x26gt;\x26gt;\nReqA",new mxGeometry(240,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dnone;edgeStyle\x3dnone;dashed\x3d1;html\x3d1;");
e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,!1);return c.createVertexTemplateFromCells([b,a,e],360,60,"Trace Callout")})];this.addPalette("sysmlRequirements","SysML / Requirements",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addSysMLProfilesPalette=function(b){var c=this,f=[this.createVertexTemplateEntry("shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",160,80,"\x26lt;\x26lt;stereotype\x26gt;\x26gt;\nStereotypeName",
"Stereotype",null,null,this.getTagsForStencil("","","sysml profile stereotype").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",160,80,"\x26lt;\x26lt;metaclass\x26gt;\x26gt;\nMetaClassName","Metaclass",null,null,this.getTagsForStencil("","","sysml profile metaclass").join(" ")),this.createVertexTemplateEntry("shape\x3dfolder;tabWidth\x3d80;tabHeight\x3d20;tabPosition\x3dleft;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",160,100,"\x26lt;\x26lt;profile\x26gt;\x26gt;\nProfileName",
"Profile",null,null,this.getTagsForStencil("","","sysml profile profile").join(" ")),this.createVertexTemplateEntry("shape\x3dfolder;tabWidth\x3d80;tabHeight\x3d20;tabPosition\x3dleft;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",160,100,"\x26lt;\x26lt;modelLibrary\x26gt;\x26gt;\nLibraryName","Model Library",null,null,this.getTagsForStencil("","","sysml profile model library").join(" ")),this.addEntry("sysml profile extension",function(){var b=new mxCell("\x26lt;\x26lt;metaclass\x26gt;\x26gt;\nMetaClassName",
new mxGeometry(0,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;stereotype\x26gt;\x26gt;\nStereotypeName",new mxGeometry(0,120,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("{required}",new mxGeometry(0,0,0,0),"endArrow\x3dblock;html\x3d1;endFill\x3d1;edgeStyle\x3dnone;endSize\x3d12;labelBackgroundColor\x3dnone;align\x3dleft;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,
!1);a.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],120,180,"Extension")}),this.addEntry("sysml profile generalization",function(){var b=new mxCell("\x26lt;\x26lt;stereotype\x26gt;\x26gt;\nStereotypeName",new mxGeometry(0,0,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("\x26lt;\x26lt;stereotype\x26gt;\x26gt;\nStereotypeName",new mxGeometry(0,120,120,60),"shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;
var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow\x3dblock;html\x3d1;endFill\x3d0;edgeStyle\x3dnone;endSize\x3d12;labelBackgroundColor\x3dnone;align\x3dleft;");e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);a.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],120,180,"Generalization")}),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;dashed\x3d1;verticalAlign\x3dbottom;",160,0,"\x26lt;\x26lt;apply\x26gt;\x26gt;{strict}","Profile Application",
null,this.getTagsForStencil("","","sysml profile profile application").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;dashed\x3d1;verticalAlign\x3dtop;",160,0,"\x26lt;\x26lt;reference\x26gt;\x26gt;","Metamodel Reference",null,this.getTagsForStencil("","","sysml profile metamodel reference").join(" ")),this.createEdgeTemplateEntry("edgeStyle\x3dnone;html\x3d1;endArrow\x3dopen;endSize\x3d12;verticalAlign\x3dbottom;",160,0,"propertyName","Unidirectional Association",
null,this.getTagsForStencil("","","sysml profile unidirectional association").join(" "))];this.addPalette("sysmlProfiles","SysML / Profiles",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))};Sidebar.prototype.addSysMLStereotypesPalette=function(b){var c=this,f=[this.addEntry("sysml stereotype note",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:10px;margin-left:10px;text-align:left;"\x3e\x3cb\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;\x3cbr/\x3ePropertyName\x3dValueString\x3cbr/\x3eMultiPropertyName\x3dValueString, ValueString\x3cbr/\x3eBooleanPropertyName\x3c/b\x3e\x3c/p\x3e',
new mxGeometry(40,0,280,80),"shape\x3dnote;size\x3d15;spacingLeft\x3d5;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;");b.vertex=!0;var a=new mxCell("Element\nName",new mxGeometry(0,110,80,40),"shape\x3drect;fontStyle\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("Element\nName",new mxGeometry(220,110,80,40),"shape\x3drect;fontStyle\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");e.vertex=!0;var f=new mxCell("PathName",new mxGeometry(0,0,0,0),"rounded\x3d0;labelBackgroundColor\x3dnone;verticalAlign\x3dtop;endArrow\x3dnone;fontStyle\x3d1;html\x3d1;");
f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!0);e.insertEdge(f,!1);var k=new mxCell("",new mxGeometry(0,0,0,0),"rounded\x3d0;endArrow\x3dnone;dashed\x3d1;html\x3d1;");k.geometry.setTerminalPoint(new mxPoint(150,130),!1);k.geometry.relative=!0;k.edge=!0;b.insertEdge(k,!0);return c.createVertexTemplateFromCells([b,a,e,f,k],320,150,"Stereotype Note")}),this.addEntry("sysml stereotype note",function(){var b=new mxCell('\x3cp style\x3d"margin:0px;margin-top:10px;margin-left:10px;text-align:left;"\x3e\x3cb\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;\x3cbr/\x3ePropertyName\x3dValueString\x3cbr/\x3eMultiPropertyName\x3dValueString, ValueString\x3cbr/\x3eBooleanPropertyName\x3c/b\x3e\x3c/p\x3e',
new mxGeometry(40,0,280,80),"shape\x3dnote;size\x3d15;spacingLeft\x3d5;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;");b.vertex=!0;var a=new mxCell("Element\nName",new mxGeometry(0,110,80,40),"shape\x3drect;fontStyle\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"rounded\x3d0;endArrow\x3dnone;dashed\x3d1;html\x3d1;");e.geometry.setTerminalPoint(new mxPoint(150,130),!1);e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!0);a.insertEdge(e,
!1);return c.createVertexTemplateFromCells([b,a,e],320,150,"Stereotype Note")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;",160,80,"\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;\n{PropertyName\x3dValueString;\nBooleanPropertyName}\nNodeName","Stereotype (Node)",null,null,this.getTagsForStencil("","","sysml stereotype node").join(" ")),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;",400,100,
'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3eNodeName\x3c/b\x3e\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:10px;text-align:left;"\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;{PropertyName\x3dValueString}ElementName\x3cbr/\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;{PropertyName\x3dValueString};\x3cbr/\x3eBooleanPropertyName\x3cbr/\x3eElementName\x3c/p\x3e',"Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" ")),
this.addEntry("sysml stereotype edge",function(){var b=new mxCell("Element\nName",new mxGeometry(0,0,120,60),"shape\x3drect;fontStyle\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");b.vertex=!0;var a=new mxCell("Element\nName",new mxGeometry(0,120,120,60),"shape\x3drect;fontStyle\x3d1;html\x3d1;whiteSpace\x3dwrap;align\x3dcenter;");a.vertex=!0;var e=new mxCell("\x26lt;\x26lt;steretyoeName\x26gt;\x26gt;\n{PropertyName\x3dValueString;\nBooleanPropertyName}PathName",new mxGeometry(0,0,0,0),"endArrow\x3dnone;html\x3d1;edgeStyle\x3dnone;labelBackgroundColor\x3dnone;align\x3dleft;fontStyle\x3d1;fontSize\x3d10;");
e.geometry.relative=!0;e.edge=!0;b.insertEdge(e,!1);a.insertEdge(e,!0);return c.createVertexTemplateFromCells([b,a,e],200,180,"Stereotype (Edge)")}),this.createVertexTemplateEntry("shape\x3drect;html\x3d1;overflow\x3dfill;whiteSpace\x3dwrap;align\x3dcenter;",300,120,'\x3cp style\x3d"margin:0px;margin-top:4px;text-align:center;"\x3e\x3cb\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;\x3c/br\x3eNodeName\x3c/b\x3e\x3chr/\x3e\x3c/p\x3e\x3cp style\x3d"margin:0px;margin-left:10px;text-align:left;"\x3e\x26lt;\x26lt;stereotypeName\x26gt;\x26gt;\x3cbr/\x3ePropertyName\x3dValueString\x3cbr/\x3eMultiPropertyName\x3dValueString, ValueString\x3cbr/\x3eBooleanPropertyName\x3cbr/\x3e\x3c/p\x3e',
"Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" "))];this.addPalette("sysmlStereotypes","SysML / Stereotypes",b||!1,mxUtils.bind(this,function(b){for(var a=0;a<f.length;a++)b.appendChild(f[a](b))}))}})();DrawioFile=function(b,c){mxEventSource.call(this);this.ui=b;this.data=c||""};mxUtils.extend(DrawioFile,mxEventSource);DrawioFile.prototype.autosaveDelay=1500;DrawioFile.prototype.maxAutosaveDelay=3E4;DrawioFile.prototype.autosaveThread=null;
DrawioFile.prototype.lastAutosave=null;DrawioFile.prototype.modified=!1;DrawioFile.prototype.changeListenerEnabled=!0;DrawioFile.prototype.lastAutosaveRevision=null;DrawioFile.prototype.maxAutosaveRevisionDelay=18E5;DrawioFile.prototype.descriptorChanged=function(){this.fireEvent(new mxEventObject("descriptorChanged"))};DrawioFile.prototype.contentChanged=function(){this.fireEvent(new mxEventObject("contentChanged"))};DrawioFile.prototype.save=function(b,c,f,d){this.updateFileData();this.clearAutosave()};
DrawioFile.prototype.updateFileData=function(){this.setData(this.ui.getFileData())};DrawioFile.prototype.saveAs=function(b,c,f){};DrawioFile.prototype.saveFile=function(b,c,f,d){};DrawioFile.prototype.isRestricted=function(){return!1};DrawioFile.prototype.isModified=function(){return this.modified};DrawioFile.prototype.setModified=function(b){this.modified=b};DrawioFile.prototype.isAutosaveOptional=function(){return!1};DrawioFile.prototype.isAutosave=function(){return this.ui.editor.autosave};
DrawioFile.prototype.isRenamable=function(){return!1};DrawioFile.prototype.rename=function(b,c,f){};DrawioFile.prototype.isMovable=function(){return!1};DrawioFile.prototype.move=function(b,c,f){};DrawioFile.prototype.getHash=function(){return""};DrawioFile.prototype.getId=function(){return""};DrawioFile.prototype.isEditable=function(){return!this.ui.editor.chromeless};DrawioFile.prototype.getUi=function(){return this.ui};DrawioFile.prototype.getTitle=function(){return""};
DrawioFile.prototype.setData=function(b){this.data=b};DrawioFile.prototype.getData=function(){return this.data};
DrawioFile.prototype.open=function(){this.ui.setFileData(this.getData());this.changeListener=mxUtils.bind(this,function(b,c){this.changeListenerEnabled&&this.isEditable()&&(this.setModified(!0),this.isAutosave()?(this.ui.editor.setStatus(mxResources.get("saving")+"..."),this.autosave(this.autosaveDelay,this.maxAutosaveDelay,mxUtils.bind(this,function(b){null==this.autosaveThread&&this.ui.getCurrentFile()==this&&!this.isModified()&&this.ui.editor.setStatus(mxResources.get("allChangesSaved"))}),mxUtils.bind(this,
function(b){this.ui.getCurrentFile()==this&&this.addUnsavedStatus(b)}))):this.addUnsavedStatus())});this.ui.editor.graph.model.addListener(mxEvent.CHANGE,this.changeListener);this.ui.editor.graph.addListener("gridSizeChanged",this.changeListener);this.ui.editor.graph.addListener("shadowVisibleChanged",this.changeListener);this.ui.addListener("pageFormatChanged",this.changeListener);this.ui.addListener("pageScaleChanged",this.changeListener);this.ui.addListener("backgroundColorChanged",this.changeListener);
this.ui.addListener("backgroundImageChanged",this.changeListener);this.ui.addListener("foldingEnabledChanged",this.changeListener);this.ui.addListener("mathEnabledChanged",this.changeListener);this.ui.addListener("gridEnabledChanged",this.changeListener);this.ui.addListener("guidesEnabledChanged",this.changeListener);this.ui.addListener("pageViewChanged",this.changeListener)};
DrawioFile.prototype.addUnsavedStatus=function(b){b instanceof Error&&null!=b.message?this.ui.editor.setStatus('\x3cdiv class\x3d"geStatusAlert" style\x3d"cursor:pointer;"\x3e'+mxResources.get("unsavedChanges")+" ("+b.message+")\x3c/div\x3e"):(this.ui.editor.setStatus('\x3cdiv class\x3d"geStatusMessage" style\x3d"cursor:pointer;"\x3e'+mxResources.get("unsavedChangesClickHereToSave")+"\x3c/div\x3e"),null!=this.ui.statusContainer&&(b=this.ui.statusContainer.getElementsByTagName("div"),0<b.length&&mxEvent.addListener(b[0],
"click",mxUtils.bind(this,function(){this.ui.actions.get(null==this.ui.mode?"saveAs":"save").funct()}))))};
DrawioFile.prototype.autosave=function(b,c,f,d){null==this.lastAutosave&&(this.lastAutosave=(new Date).getTime());b=(new Date).getTime()-this.lastAutosave<c?b:0;this.clearAutosave();this.autosaveThread=window.setTimeout(mxUtils.bind(this,function(){this.lastAutosave=this.autosaveThread=null;if(this.isModified()&&this.isAutosaveNow()){var b=this.isAutosaveRevision();b&&(this.lastAutosaveRevision=(new Date).getTime());this.save(b,mxUtils.bind(this,function(b){this.autosaveCompleted();null!=f&&f(b)}),
mxUtils.bind(this,function(b){null!=d&&d(b)}))}else null!=f&&f(null)}),b)};DrawioFile.prototype.isAutosaveNow=function(){return!0};DrawioFile.prototype.autosaveCompleted=function(){};DrawioFile.prototype.clearAutosave=function(){null!=this.autosaveThread&&(window.clearTimeout(this.autosaveThread),this.autosaveThread=null)};DrawioFile.prototype.isAutosaveRevision=function(){var b=(new Date).getTime();return null==this.lastAutosaveRevision||b-this.lastAutosaveRevision>this.maxAutosaveRevisionDelay};
DrawioFile.prototype.close=function(b){this.isAutosave()&&this.isModified()&&this.save(this.isAutosaveRevision(),null,null,b);this.destroy()};DrawioFile.prototype.hasSameExtension=function(b,c){if(null!=b&&null!=c){var f=b.lastIndexOf("."),d=0<f?b.substring(f):"",f=c.lastIndexOf(".");return d===(0<f?c.substring(f):"")}return b==c};
DrawioFile.prototype.destroy=function(){this.clearAutosave();null!=this.changeListener&&(this.ui.editor.graph.model.removeListener(this.changeListener),this.ui.editor.graph.removeListener(this.changeListener),this.ui.removeListener(this.changeListener),this.changeListener=null)};LocalFile=function(b,c,f){DrawioFile.call(this,b,c);this.title=f};mxUtils.extend(LocalFile,DrawioFile);LocalFile.prototype.isAutosave=function(){return!1};LocalFile.prototype.getMode=function(){return App.MODE_DEVICE};
LocalFile.prototype.getTitle=function(){return this.title};LocalFile.prototype.isRenamable=function(){return!0};LocalFile.prototype.save=function(b,c,f){this.saveAs(this.title,c,f)};LocalFile.prototype.saveAs=function(b,c,f){this.saveFile(b,!1,c,f)};
LocalFile.prototype.saveFile=function(b,c,f,d){this.title=b;this.updateFileData();var a=this.getData();this.ui.isOfflineApp()||this.ui.isLocalFileSave()?this.ui.doSaveLocalFile(a,b,"text/xml"):a.length<MAX_REQUEST_SIZE?(c=b.lastIndexOf("."),c=0<c?b.substring(c+1):"xml",(new mxXmlRequest(SAVE_URL,"format\x3d"+c+"\x26filename\x3d"+encodeURIComponent(b)+"\x26xml\x3d"+encodeURIComponent(a))).simulate(document,"_blank")):this.ui.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),
mxUtils.bind(this,function(){mxUtils.popup(a)}));this.setModified(!1);this.contentChanged();null!=f&&f()};LocalFile.prototype.rename=function(b,c,f){this.title=b;this.descriptorChanged();null!=c&&c()};LocalFile.prototype.open=function(){this.ui.setFileData(this.getData());this.changeListener=mxUtils.bind(this,function(b,c){this.setModified(!0);this.addUnsavedStatus()});this.ui.editor.graph.model.addListener(mxEvent.CHANGE,this.changeListener)};
LocalLibrary=function(b,c,f){LocalFile.call(this,b,c,f)};mxUtils.extend(LocalLibrary,LocalFile);LocalLibrary.prototype.getHash=function(){return"F"+this.getTitle()};LocalLibrary.prototype.isAutosave=function(){return!1};LocalLibrary.prototype.saveAs=function(b,c,f){this.saveFile(b,!1,c,f)};LocalLibrary.prototype.updateFileData=function(){};LocalLibrary.prototype.open=function(){};StorageFile=function(b,c,f){DrawioFile.call(this,b,c);this.title=f};mxUtils.extend(StorageFile,DrawioFile);
StorageFile.prototype.autosaveDelay=2E3;StorageFile.prototype.maxAutosaveDelay=2E4;StorageFile.prototype.getMode=function(){return App.MODE_BROWSER};StorageFile.prototype.isAutosaveOptional=function(){return!0};StorageFile.prototype.getHash=function(){return"L"+encodeURIComponent(this.getTitle())};StorageFile.prototype.getTitle=function(){return this.title};StorageFile.prototype.isRenamable=function(){return!0};StorageFile.prototype.save=function(b,c,f){this.saveAs(this.getTitle(),c,f)};
StorageFile.prototype.saveAs=function(b,c,f){DrawioFile.prototype.save.apply(this,arguments);this.saveFile(b,!1,c,f)};
StorageFile.prototype.saveFile=function(b,c,f,d){this.isEditable()?(c=mxUtils.bind(this,function(){this.isRenamable()&&(this.title=b);try{localStorage.setItem(this.title,this.getData()),this.setModified(!1),this.contentChanged(),null!=f&&f()}catch(a){null!=d&&d(a)}}),this.isRenamable()&&"."==b.charAt(0)&&null!=d?d({message:mxResources.get("invalidName")}):!this.isRenamable()||this.getTitle()==b||null==localStorage.getItem(b)?c():this.ui.confirm(mxResources.get("replaceIt",[b]),c,d)):null!=f&&f()};
StorageFile.prototype.rename=function(b,c,f){var d=this.getTitle();this.title=b;this.hasSameExtension(d,b)||this.setData(this.ui.getFileData());this.saveFile(b,!1,function(){d!=b&&localStorage.removeItem(d);c()},f)};StorageFile.prototype.open=function(){DrawioFile.prototype.open.apply(this,arguments);this.saveFile(this.getTitle())};
StorageFile.prototype.destroy=function(){DrawioFile.prototype.destroy.apply(this,arguments);null!=this.storageListener&&(mxEvent.removeListener(window,"storage",this.storageListener),this.storageListener=null)};StorageLibrary=function(b,c,f){StorageFile.call(this,b,c,f)};mxUtils.extend(StorageLibrary,StorageFile);StorageLibrary.prototype.isAutosave=function(){return!1};StorageLibrary.prototype.saveAs=function(b,c,f){this.saveFile(b,!1,c,f)};StorageLibrary.prototype.getHash=function(){return"L"+encodeURIComponent(this.title)};
StorageLibrary.prototype.getTitle=function(){return".scratchpad"==this.title?mxResources.get("scratchpad"):this.title};StorageLibrary.prototype.isRenamable=function(b,c,f){return".scratchpad"!=this.title};StorageLibrary.prototype.open=function(){};
var StorageDialog=function(b,c){function f(a,d,e,f){function l(){mxEvent.addListener(q,"click",function(){e==App.MODE_GOOGLE&&!b.isDriveDomain()?window.location.hostname=DriveClient.prototype.newAppHostname:e==App.MODE_GOOGLE&&b.spinner.spin(document.body,mxResources.get("authorizing"))?b.drive.checkToken(mxUtils.bind(this,function(){b.spinner.stop();b.setMode(e,k.checked);c()})):(b.setMode(e,k.checked),c())})}var q=document.createElement("a");q.style.overflow="hidden";var t=document.createElement("img");
t.setAttribute("src",a);t.setAttribute("border","0");t.setAttribute("align","absmiddle");t.style.width="60px";t.style.height="60px";t.style.paddingBottom="6px";q.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";q.className="geBaseButton";q.style.position="relative";q.style.margin="4px";q.style.padding="8px 10px 12px 10px";q.style.whiteSpace="nowrap";mxClient.IS_QUIRKS&&(q.style.cssFloat="left",q.style.zoom="1");q.appendChild(t);var u=document.createElement("div");q.appendChild(u);mxUtils.write(u,
d);if(null!=f&&null==b[f]){t.style.visibility="hidden";mxUtils.setOpacity(u,10);var v=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});v.spin(q);var z=window.setTimeout(function(){null==b[f]&&(v.stop(),q.style.display="none")},3E4);b.addListener("clientLoaded",mxUtils.bind(this,function(){null!=b[f]&&(window.clearTimeout(z),mxUtils.setOpacity(u,100),t.style.visibility="",v.stop(),l())}))}else l();g.appendChild(q)}
var d=document.createElement("div");d.style.textAlign="center";d.style.whiteSpace="nowrap";var a=b.addLanguageMenu(d);null!=a&&(a.style.bottom="28px");b.isOffline()||(a=document.createElement("a"),a.setAttribute("href","https://support.draw.io/display/DO/Selecting+Storage"),a.setAttribute("title",mxResources.get("help")),a.setAttribute("target","_blank"),a.style.position="absolute",a.style.textDecoration="none",a.style.cursor="pointer",a.style.fontSize="12px",a.style.bottom="28px",a.style.left="26px",
a.style.color="gray",mxUtils.write(a,mxResources.get("help")),d.appendChild(a));var e=document.createElement("div");e.style.position="absolute";e.style.cursor="pointer";e.style.fontSize="12px";e.style.bottom="28px";e.style.color="gray";mxUtils.write(e,mxResources.get("decideLater"));b.isOfflineApp()?e.style.right="20px":(mxUtils.setPrefixedStyle(e.style,"transform","translate(-50%,0)"),e.style.left="50%");this.init=function(){if(mxClient.IS_QUIRKS||8==document.documentMode)e.style.marginLeft=-Math.round(e.clientWidth/
2)+"px"};d.appendChild(e);mxEvent.addListener(e,"click",function(){b.hideDialog();var a=Editor.useLocalStorage;b.createFile(b.defaultFilename,null,null,App.MODE_DEVICE);b.setMode(null);Editor.useLocalStorage=a});var g=document.createElement("div");mxClient.IS_QUIRKS&&(g.style.whiteSpace="nowrap",g.style.cssFloat="left");g.style.border="1px solid #d3d3d3";g.style.borderWidth="1px 0px 1px 0px";g.style.padding="26px 0px 12px 0px";var k=document.createElement("input");k.setAttribute("type","checkbox");
k.setAttribute("checked","checked");k.defaultChecked=!0;a=document.createElement("p");a.style.fontSize="16pt";a.style.padding="0px";a.style.paddingTop="4px";a.style.paddingBottom="20px";a.style.margin="0px";a.style.color="gray";mxUtils.write(a,mxResources.get("saveDiagramsTo")+":");d.appendChild(a);"function"===typeof window.DriveClient&&f(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googleDrive"),App.MODE_GOOGLE,"drive");"function"===typeof window.DropboxClient&&f(IMAGE_PATH+"/dropbox-logo.svg",
mxResources.get("dropbox"),App.MODE_DROPBOX,"dropbox");"function"===typeof window.OneDriveClient&&f(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),App.MODE_ONEDRIVE,"oneDrive");(!mxClient.IS_IOS||"device"==urlParams.storage)&&f(IMAGE_PATH+"/osa_drive-harddisk.png",mxResources.get("device"),App.MODE_DEVICE);isLocalStorage&&("1"==urlParams.browser||"1"==urlParams.offline)&&f(IMAGE_PATH+"/osa_database.png",mxResources.get("browser"),App.MODE_BROWSER);d.appendChild(g);a=document.createElement("p");
a.style.paddingTop="10px";a.appendChild(k);var l=document.createElement("span");l.style.color="gray";l.style.fontSize="12px";mxUtils.write(l," "+mxResources.get("rememberThisSetting"));a.appendChild(l);g.appendChild(a);mxEvent.addListener(l,"click",function(b){k.checked=!k.checked;mxEvent.consume(b)});mxClient.IS_SVG&&isLocalStorage&&("0"!=urlParams.gapi&&(null==document.documentMode||10<=document.documentMode))&&window.setTimeout(function(){if(null==b.drive){var a=document.createElement("p");a.style.padding=
"8px";a.style.fontSize="9pt";a.style.marginTop="-14px";a.innerHTML='\x3ca style\x3d"background-color:#dcdcdc;padding:5px;color:black;text-decoration:none;" href\x3d"https://plus.google.com/u/0/+DrawIo1/posts/1HTrfsb5wDN" target\x3d"_blank"\x3e\x3cimg border\x3d"0" src\x3d"'+mxGraph.prototype.warningImage.src+'" align\x3d"top"\x3e '+mxResources.get("googleDriveMissing")+"\x3c/a\x3e";d.appendChild(a)}},5E3);this.container=d},SplashDialog=function(b){var c=document.createElement("div");c.style.textAlign=
"center";b.addLanguageMenu(c);var f=null;b.isOffline()||(f=document.createElement("a"),f.setAttribute("href","https://support.draw.io/display/DO/Selecting+Storage"),f.setAttribute("title",mxResources.get("help")),f.setAttribute("target","_blank"),f.style.position="absolute",f.style.fontSize="12px",f.style.textDecoration="none",f.style.cursor="pointer",f.style.bottom="22px",f.style.left="26px",f.style.color="gray",mxUtils.write(f,mxResources.get("help")),c.appendChild(f));var d=document.createElement("p");
d.style.fontSize="16pt";d.style.padding="0px";d.style.paddingTop="2px";d.style.margin="0px";d.style.color="gray";var a=document.createElement("img");a.setAttribute("border","0");a.setAttribute("align","absmiddle");a.style.width="40px";a.style.height="40px";a.style.marginRight="12px";a.style.paddingBottom="4px";var e="";b.mode==App.MODE_GOOGLE?(a.src=IMAGE_PATH+"/google-drive-logo.svg",e=mxResources.get("googleDrive"),null!=f&&f.setAttribute("href","https://support.draw.io/display/DO/Using+draw.io+with+Google+Drive")):
b.mode==App.MODE_DROPBOX?(a.src=IMAGE_PATH+"/dropbox-logo.svg",e=mxResources.get("dropbox"),null!=f&&f.setAttribute("href","https://support.draw.io/display/DO/Using+draw.io+with+Dropbox")):b.mode==App.MODE_ONEDRIVE?(a.src=IMAGE_PATH+"/onedrive-logo.svg",e=mxResources.get("oneDrive"),null!=f&&f.setAttribute("href","https://support.draw.io/display/DO/Using+draw.io+with+OneDrive")):b.mode==App.MODE_BROWSER?(a.src=IMAGE_PATH+"/osa_database.png",e=mxResources.get("browser")):(a.src=IMAGE_PATH+"/osa_drive-harddisk.png",
e=mxResources.get("device"));d.appendChild(a);mxUtils.write(d,e);c.appendChild(d);var g=document.createElement("div");mxClient.IS_QUIRKS&&(g.style.whiteSpace="nowrap",g.style.cssFloat="left");g.style.border="1px solid #d3d3d3";g.style.borderWidth="1px 0px 1px 0px";g.style.padding="18px 0px 24px 0px";g.style.margin="4px 0px 0px 0px";var k=document.createElement("button");k.className="geBigButton";k.style.marginBottom="8px";k.style.overflow="hidden";k.style.width="340px";mxClient.IS_QUIRKS&&(k.style.width=
"340px");mxUtils.write(k,mxResources.get("createNewDiagram"));mxEvent.addListener(k,"click",function(){b.hideDialog();b.actions.get("new").funct()});g.appendChild(k);mxUtils.br(g);k=document.createElement("button");k.className="geBigButton";k.style.marginBottom="22px";k.style.overflow="hidden";k.style.width="340px";mxClient.IS_QUIRKS&&(k.style.width="340px");mxUtils.write(k,mxResources.get("openExistingDiagram"));mxEvent.addListener(k,"click",function(){b.actions.get("open").funct()});g.appendChild(k);
f="undefined";b.mode==App.MODE_GOOGLE?f=mxResources.get("googleDrive"):b.mode==App.MODE_DROPBOX?f=mxResources.get("dropbox"):b.mode==App.MODE_ONEDRIVE?f=mxResources.get("oneDrive"):b.mode==App.MODE_DEVICE?f=mxResources.get("device"):b.mode==App.MODE_BROWSER&&(f=mxResources.get("browser"));a=0;null!=b.drive&&a++;null!=b.dropbox&&a++;isLocalStorage&&a++;mxClient.IS_IOS||a++;1<a&&(a=document.createElement("a"),a.setAttribute("href","javascript:void(0)"),a.style.display="block",a.style.marginTop="6px",
mxUtils.write(a,mxResources.get("notUsingService",[f])),mxEvent.addListener(a,"click",function(){b.hideDialog();b.clearMode();b.showSplash(!0)}),g.appendChild(a),f=null!=b.drive?b.drive.getUser():null,b.mode==App.MODE_GOOGLE&&null!=f&&(k.style.marginBottom="24px",a=document.createElement("a"),a.setAttribute("href","javascript:void(0)"),a.style.display="block",a.style.marginTop="2px",mxUtils.write(a,mxResources.get("changeUser")+" ("+f.displayName+")"),k.style.marginBottom="16px",g.style.paddingBottom=
"18px",mxEvent.addListener(a,"click",function(){b.hideDialog();b.drive.clearUserId();b.drive.setUser(null);gapi.auth.signOut();b.setMode(App.MODE_GOOGLE);b.hideDialog();b.showSplash();b.drive.authorize(!1,mxUtils.bind(this,mxUtils.bind(this,function(){b.hideDialog();b.showSplash()})),mxUtils.bind(this,function(a){b.handleError(a,null,function(){b.hideDialog();b.showSplash()})}))}),g.appendChild(a)));c.appendChild(g);mxClient.IS_CHROMEAPP&&(d.style.paddingTop="12px",d.innerHTML="",mxUtils.write(d,
mxResources.get("chooseAnOption")+":"),g.style.border="none",g.style.padding="16px 0px 0px 0px",k.style.marginBottom="0px");this.init=function(){if(b.mode==App.MODE_ONEDRIVE&&null!=b.oneDrive){var a=function(){var c=b.oneDrive.getUser();if(null!=c){k.style.marginBottom="24px";var d=document.createElement("a");d.setAttribute("href","javascript:void(0)");d.style.display="block";d.style.marginTop="2px";mxUtils.write(d,mxResources.get("changeUser")+" ("+c.displayName+")");k.style.marginBottom="16px";
g.style.paddingBottom="18px";mxEvent.addListener(d,"click",function(){b.oneDrive.logout();d.parentNode.removeChild(d);b.oneDrive.execute(a)});g.appendChild(d)}};b.oneDrive.execute(a)}};this.container=c},ConfirmDialog=function(b,c,f,d){var a=document.createElement("div");a.style.textAlign="center";var e=document.createElement("div");e.style.padding="6px";e.style.overflow="auto";e.style.maxHeight="40px";mxClient.IS_QUIRKS&&(e.style.height="60px");mxUtils.write(e,c);a.appendChild(e);c=document.createElement("div");
c.style.marginTop="16px";c.style.textAlign="center";e=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog();null!=d&&d()});e.className="geBtn";b.editor.cancelFirst&&c.appendChild(e);var g=mxUtils.button(mxResources.get("ok"),function(){b.hideDialog();null!=f&&f()});c.appendChild(g);g.className="geBtn gePrimaryBtn";b.editor.cancelFirst||c.appendChild(e);a.appendChild(c);this.container=a},ErrorDialog=function(b,c,f,d,a,e,g,k,l){l=null!=l?l:!0;var m=document.createElement("div");m.style.textAlign=
"center";if(null!=c){var n=document.createElement("div");n.style.padding="0px";n.style.margin="0px";n.style.fontSize="18px";n.style.paddingBottom="16px";n.style.marginBottom="16px";n.style.borderBottom="1px solid #c0c0c0";n.style.color="gray";mxUtils.write(n,c);m.appendChild(n)}c=document.createElement("div");c.style.padding="6px";c.innerHTML=f;m.appendChild(c);f=document.createElement("div");f.style.marginTop="16px";f.style.textAlign="right";null!=e&&(c=mxUtils.button(mxResources.get("tryAgain"),
function(){b.hideDialog();e()}),c.className="geBtn",f.appendChild(c),f.style.textAlign="center");var p=mxUtils.button(d,function(){l&&b.hideDialog();null!=a&&a()});p.className="geBtn";f.appendChild(p);null!=g&&(d=mxUtils.button(g,function(){l&&b.hideDialog();null!=k&&k()}),d.className="geBtn gePrimaryBtn",f.appendChild(d));this.init=function(){p.focus()};m.appendChild(f);this.container=m},EmbedHtmlDialog=function(b){function c(c){function f(b){if(null!=b){var a=b.lastIndexOf(".");0<a&&(b=b.substring(a+
1,b.length));null==m[b]&&(m[b]=!0,k.push(b))}}var k=[],m={};c=d.view.states.getValues();for(var u=0;u<c.length;u++){var A=c[u];f(mxStencilRegistry.getBasenameForStencil(A.style[mxConstants.STYLE_SHAPE]));A.view.graph.model.isEdge(A.cell)&&(f(mxMarker.getPackageForType(A.style[mxConstants.STYLE_STARTARROW])),f(mxMarker.getPackageForType(A.style[mxConstants.STYLE_ENDARROW])))}c={};""!=p.value&&p.value!=mxConstants.NONE&&(c.highlight=p.value);r.checked||(c.lightbox=!1);c.nav=d.foldingEnabled;u=parseInt(n.value);
!isNaN(u)&&100!=u&&(c.zoom=u/100);u=[];t.checked&&(u.push("zoom"),c.resize=!0);q.checked&&u.push("layers");0<u.length&&(r&&u.push("lightbox"),c.toolbar=u.join(" "));s.checked&&(c.edit=""!=g.value?g.value:"_blank");""!=g.value?c.url=g.value:c.xml=b.getFileData(!0);a.value='\x3cdiv class\x3d"mxgraph" style\x3d"'+(l.checked?"max-width:100%;":"")+(""!=u?"border:1px solid transparent;":"")+'" data-mxgraph\x3d"'+mxUtils.htmlEntities(JSON.stringify(c))+'"\x3e\x3c/div\x3e';c=0<k.length?("1"==urlParams.dev?
"https://test.draw.io/embed2.js?dev\x3d1\x26s\x3d":"https://www.draw.io/embed2.js?s\x3d")+k.join(";"):"1"==urlParams.dev?"https://test.draw.io/js/viewer.min.js":"https://www.draw.io/js/viewer.min.js";e.value='\x3cscript type\x3d"text/javascript" src\x3d"'+c+'"\x3e\x3c/script\x3e';a.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?a.select():document.execCommand("selectAll",!1,null)}b.getCurrentFile();var f=document.createElement("div"),d=b.editor.graph;d.getGraphBounds();mxUtils.write(f,
mxResources.get("mainEmbedNotice")+": ");mxUtils.br(f);var a=document.createElement("textarea");a.style.marginTop="6px";a.style.width="550px";a.style.height="160px";a.style.marginBottom="10px";a.style.resize="none";f.appendChild(a);mxUtils.br(f);mxUtils.write(f,mxResources.get("embedNotice")+": ");mxUtils.br(f);var e=document.createElement("textarea");e.style.marginTop="6px";e.style.width="550px";e.style.height="20px";e.style.resize="none";e.style.marginBottom="10px";f.appendChild(e);mxUtils.br(f);
mxUtils.write(f,mxResources.get("publicDiagramUrl")+": ");var g=document.createElement("input");g.setAttribute("type","text");g.setAttribute("size","28");g.style.width="340px";g.style.marginBottom="8px";f.appendChild(g);mxUtils.br(f);var k=document.createElement("div");k.style.paddingTop="10px";k.style.textAlign="center";var l=document.createElement("input");l.setAttribute("type","checkbox");l.setAttribute("checked","checked");l.defaultChecked=!0;k.appendChild(l);mxUtils.write(k,mxResources.get("fit"));
var m=document.createElement("span");m.style.marginLeft="10px";mxUtils.write(m,mxResources.get("zoom")+": ");k.appendChild(m);var n=document.createElement("input");n.setAttribute("type","text");n.setAttribute("size","4");n.style.width="40px";n.value="100%";k.appendChild(n);m=document.createElement("span");m.style.marginLeft="10px";mxUtils.write(m,mxResources.get("link")+": ");k.appendChild(m);var p=document.createElement("input");p.setAttribute("type","text");p.setAttribute("size","8");p.style.width=
"50px";p.value="#0000ff";k.appendChild(p);mxUtils.br(k);var r=document.createElement("input");r.setAttribute("type","checkbox");r.setAttribute("checked","checked");r.defaultChecked=!0;r.style.marginTop="14px";k.appendChild(r);mxUtils.write(k,mxResources.get("lightbox"));var s=document.createElement("input");s.setAttribute("type","checkbox");s.setAttribute("checked","checked");s.defaultChecked=!0;s.style.marginLeft="10px";var q=document.createElement("input");q.setAttribute("type","checkbox");q.style.marginLeft=
"10px";m=b.editor.graph.getModel();1<m.getChildCount(m.getRoot())?(q.setAttribute("checked","checked"),q.defaultChecked=!0):q.setAttribute("disabled","disabled");k.appendChild(q);mxUtils.write(k,mxResources.get("layers"));var t=document.createElement("input");t.setAttribute("type","checkbox");t.style.marginLeft="10px";k.appendChild(t);mxUtils.write(k,mxResources.get("zoom"));f.appendChild(k);this.init=function(){c()};mxEvent.addListener(g,"change",c);mxEvent.addListener(p,"change",c);mxEvent.addListener(n,
"change",c);mxEvent.addListener(q,"change",c);mxEvent.addListener(s,"change",c);mxEvent.addListener(l,"change",c);mxEvent.addListener(r,"change",c);mxEvent.addListener(t,"change",c);k=document.createElement("div");k.style.paddingTop="20px";k.style.textAlign="right";b.isOffline()||(m=mxUtils.button(mxResources.get("help"),function(){window.open("https://support.draw.io/pages/viewpage.action?pageId\x3d12878123")}),m.className="geBtn",k.appendChild(m));if(!mxClient.IS_CHROMEAPP&&!navigator.standalone&&
mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode))m=mxUtils.button(mxResources.get("preview"),function(){var b=window.open(),c=b.document;"CSS1Compat"===document.compatMode&&c.writeln("\x3c!DOCTYPE html\x3e");c.writeln("\x3chtml\x3e");c.writeln("\x3chead\x3e\x3ctitle\x3e"+encodeURIComponent(mxResources.get("preview"))+'\x3c/title\x3e\x3cmeta charset\x3d"utf-8"\x3e\x3c/head\x3e');c.writeln("\x3cbody\x3e");c.writeln(a.value);var d=mxClient.IS_IE||mxClient.IS_EDGE||null!=document.documentMode;
d&&c.writeln(e.value);c.writeln("\x3c/body\x3e");c.writeln("\x3c/html\x3e");c.close();if(!d){var f=b.document.createElement("div");f.marginLeft="26px";f.marginTop="26px";mxUtils.write(f,mxResources.get("updatingDocument"));d=b.document.createElement("img");d.setAttribute("src",window.location.protocol+"//"+window.location.hostname+"/"+IMAGE_PATH+"/spin.gif");d.style.marginLeft="6px";f.appendChild(d);b.document.body.insertBefore(f,b.document.body.firstChild);window.setTimeout(function(){var b=document.createElement("script");
b.type="text/javascript";b.src=/<script.*?src="(.*?)"/.exec(e.value)[1];c.body.appendChild(b);f.parentNode.removeChild(f)},20)}}),m.className="geBtn",k.appendChild(m);var m=mxUtils.button(mxResources.get("close"),function(){b.hideDialog()}),u=mxUtils.button(mxResources.get("copy"),function(){a.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?a.select():document.execCommand("selectAll",!1,null);document.execCommand("copy");b.alert(mxResources.get("copiedToClipboard"))});k.appendChild(m);
!mxClient.IS_SF&&null==document.documentMode?(k.appendChild(u),u.className="geBtn gePrimaryBtn",m.className="geBtn"):m.className="geBtn gePrimaryBtn";f.appendChild(k);this.container=f},EmbedSvgDialog=function(b,c){function f(a){if(c){var d=b.editor.graph.getGraphBounds(),f=function(b){var a=" ",c="";p.checked&&(a=" onclick\x3d\"(function(img){if(img.wnd!\x3dnull\x26\x26!img.wnd.closed){img.wnd.focus();}else{var r\x3dfunction(evt){if(evt.data\x3d\x3d'ready'\x26\x26evt.source\x3d\x3dimg.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd\x3dwindow.open('https://www.draw.io/?client\x3d1\x26lightbox\x3d1\x26chrome\x3d0\x26edit\x3d_blank"+
(r.checked?"\x26layers\x3d1":"")+"');}})(this);\"",c+="cursor:pointer;");k.checked&&(c+="max-width:100%;");var f="";n.checked&&(f=' width\x3d"'+Math.round(d.width)+'" height\x3d"'+Math.round(d.height)+'"');e.value='\x3cimg src\x3d"'+b+'"'+f+(""!=c?' style\x3d"'+c+'"':"")+a+"/\x3e";e.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?e.select():document.execCommand("selectAll",!1,null)};if(b.isExportToCanvas())e.value=mxResources.get("updatingDocument"),b.exportToCanvas(mxUtils.bind(this,
function(a){var c=p.checked?b.getFileData(!0):null;a=b.createPngDataUri(a,c);f(a)}),null,null,null,mxUtils.bind(this,function(a){e.value="";b.handleError({message:mxResources.get("unknownError")})}),null,!0,n.checked?2:1,null,l.checked);else if(a=b.getFileData(!0),d.width*d.height<=MAX_AREA&&a.length<=MAX_REQUEST_SIZE){e.value=mxResources.get("updatingDocument");var g="";n.checked&&(g="\x26w\x3d"+Math.round(2*d.width)+"\x26h\x3d"+Math.round(2*d.height));var s=new mxXmlRequest(EXPORT_URL,"format\x3dpng\x26base64\x3d1\x26embedXml\x3d"+
(p.checked?"1":"0")+g+"\x26xml\x3d"+encodeURIComponent(a));s.send(mxUtils.bind(this,function(){200==s.getStatus()?f("data:image/png;base64,"+s.getText()):(e.value="",b.handleError({message:mxResources.get("unknownError")}))}))}else e.value="",b.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"))}else{a=b.editor.graph.getSvg();g=a.getElementsByTagName("a");if(null!=g)for(var y=0;y<g.length;y++){var x=g[y].getAttribute("href");null!=x&&"#"==x.charAt(0)&&"_blank"==g[y].getAttribute("target")&&
g[y].removeAttribute("target")}p.checked&&a.setAttribute("content",b.getFileData(!0));l.checked&&b.editor.addSvgShadow(a);if(m.checked){var D=" ",A="";p.checked&&(D="onclick\x3d\"(function(img){if(img.wnd!\x3dnull\x26\x26!img.wnd.closed){img.wnd.focus();}else{var r\x3dfunction(evt){if(evt.data\x3d\x3d'ready'\x26\x26evt.source\x3d\x3dimg.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd\x3dwindow.open('https://www.draw.io/?client\x3d1\x26lightbox\x3d1\x26chrome\x3d0\x26edit\x3d_blank"+
(r.checked?"\x26layers\x3d1":"")+"');}})(this);\"",A+="cursor:pointer;");k.checked&&(A+="max-width:100%;");b.convertImages(a,function(a){e.value='\x3cimg src\x3d"'+b.createSvgDataUri(mxUtils.getXml(a))+'"'+(""!=A?' style\x3d"'+A+'"':"")+D+"/\x3e"})}else A="",p.checked&&(a.setAttribute("onclick","(function(svg){var src\x3dwindow.event.target||window.event.srcElement;while (src!\x3dnull\x26\x26src.nodeName.toLowerCase()!\x3d'a'){src\x3dsrc.parentNode;}if(src\x3d\x3dnull){if(svg.wnd!\x3dnull\x26\x26!svg.wnd.closed){svg.wnd.focus();}else{var r\x3dfunction(evt){if(evt.data\x3d\x3d'ready'\x26\x26evt.source\x3d\x3dsvg.wnd){svg.wnd.postMessage(decodeURIComponent(svg.getAttribute('content')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);svg.wnd\x3dwindow.open('https://www.draw.io/?client\x3d1\x26lightbox\x3d1\x26chrome\x3d0\x26edit\x3d_blank"+
(r.checked?"\x26layers\x3d1":"")+"');}}})(this);"),A+="cursor:pointer;"),k.checked&&(g=parseInt(a.getAttribute("width")),y=parseInt(a.getAttribute("height")),a.setAttribute("viewBox","0 0 "+g+" "+y),A+="max-width:100%;max-height:"+y+"px;",a.removeAttribute("height")),""!=A&&a.setAttribute("style",A),e.value=mxUtils.getXml(a);e.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?e.select():document.execCommand("selectAll",!1,null)}}b.getCurrentFile();var d=document.createElement("div"),
a=b.editor.graph;a.getGraphBounds();mxUtils.write(d,mxResources.get("mainEmbedNotice")+": ");mxUtils.br(d);var e=document.createElement("textarea");e.style.marginTop="6px";e.style.width="550px";e.style.height="280px";e.style.resize="none";d.appendChild(e);mxUtils.br(d);var g=document.createElement("div");g.style.paddingTop="16px";g.style.textAlign="center";var k=document.createElement("input");k.setAttribute("type","checkbox");k.setAttribute("checked","checked");k.defaultChecked=!0;g.appendChild(k);
mxUtils.write(g,mxResources.get("fit"));var l=document.createElement("input");l.setAttribute("type","checkbox");l.style.marginLeft="30px";a.shadowVisible&&(l.setAttribute("checked","checked"),l.defaultChecked=!0);if(!c||b.isExportToCanvas())g.appendChild(l),mxUtils.write(g,mxResources.get("shadow"));var m=document.createElement("input");m.setAttribute("type","checkbox");m.style.marginLeft="30px";c||(g.appendChild(m),mxUtils.write(g,mxResources.get("image")));var n=document.createElement("input");
n.setAttribute("type","checkbox");n.style.marginLeft="30px";c&&(g.appendChild(n),mxUtils.write(g,mxResources.get("retina")));var p=document.createElement("input");p.setAttribute("type","checkbox");p.setAttribute("checked","checked");p.defaultChecked=!0;p.style.marginLeft="30px";g.appendChild(p);mxUtils.write(g,mxResources.get("lightbox"));var r=document.createElement("input");r.setAttribute("type","checkbox");r.style.marginLeft="30px";a=b.editor.graph.getModel();1<a.getChildCount(a.getRoot())?(r.setAttribute("checked",
"checked"),r.defaultChecked=!0):r.setAttribute("disabled","disabled");g.appendChild(r);mxUtils.write(g,mxResources.get("layers"));d.appendChild(g);this.init=function(){f()};mxEvent.addListener(m,"change",f);mxEvent.addListener(n,"change",f);mxEvent.addListener(l,"change",f);mxEvent.addListener(k,"change",f);mxEvent.addListener(p,"change",f);mxEvent.addListener(r,"change",f);g=document.createElement("div");g.style.paddingTop="18px";g.style.textAlign="right";!b.isOffline()&&!c&&(a=mxUtils.button(mxResources.get("help"),
function(){window.open("https://support.draw.io/pages/viewpage.action?pageId\x3d12222606")}),a.className="geBtn",g.appendChild(a));if(!mxClient.IS_CHROMEAPP&&!navigator.standalone&&mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode))a=mxUtils.button(mxResources.get("preview"),function(){var b=window.open().document;b.writeln("\x3chtml\x3e\x3chead\x3e\x3ctitle\x3e"+encodeURIComponent(mxResources.get("preview"))+'\x3c/title\x3e\x3cmeta charset\x3d"utf-8"\x3e\x3c/head\x3e\x3cbody\x3e'+
e.value+"\x3c/body\x3e\x3c/html\x3e");b.close()}),a.className="geBtn",g.appendChild(a);var a=mxUtils.button(mxResources.get("close"),function(){b.hideDialog()}),s=mxUtils.button(mxResources.get("copy"),function(){e.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?e.select():document.execCommand("selectAll",!1,null);document.execCommand("copy");b.alert(mxResources.get("copiedToClipboard"))});g.appendChild(a);!mxClient.IS_SF&&null==document.documentMode?(g.appendChild(s),s.className=
"geBtn gePrimaryBtn",a.className="geBtn"):a.className="geBtn gePrimaryBtn";d.appendChild(g);this.container=d},GoogleSitesDialog=function(b){function c(){var b=null!=A.getTitle()?A.getTitle():this.defaultFilename;if(y.checked&&""!=p.value){var a="https://www.draw.io/gadget.xml?type\x3d4\x26diagram\x3d"+encodeURIComponent(mxUtils.htmlEntities(p.value));null!=b&&(a+="\x26title\x3d"+encodeURIComponent(b));0<x.length&&(a+="\x26s\x3d"+x);""!=r.value&&"0"!=r.value&&(a+="\x26border\x3d"+r.value);""!=n.value&&
(a+="\x26height\x3d"+n.value);a+="\x26pan\x3d"+(s.checked?"1":"0");a+="\x26zoom\x3d"+(q.checked?"1":"0");a+="\x26fit\x3d"+(z.checked?"1":"0");a+="\x26resize\x3d"+(v.checked?"1":"0");a+="\x26x0\x3d"+Number(m.value);a+="\x26y0\x3d"+k;d.mathEnabled&&(a+="\x26math\x3d1");u.checked?a+="\x26edit\x3d_blank":t.checked&&(a+="\x26edit\x3d"+encodeURIComponent(mxUtils.htmlEntities(window.location.href)));l.value=a}else A.constructor==DriveFile||A.constructor==DropboxFile?(a="https://www.draw.io/gadget.xml?embed\x3d0\x26diagram\x3d",
""!=p.value?a+=encodeURIComponent(mxUtils.htmlEntities(p.value))+"\x26type\x3d3":(a+=A.getHash().substring(1),a=A.constructor==DropboxFile?a+"\x26type\x3d2":a+"\x26type\x3d1"),null!=b&&(a+="\x26title\x3d"+encodeURIComponent(b)),""!=n.value&&(b=parseInt(n.value)+parseInt(m.value),a+="\x26height\x3d"+b),l.value=a):l.value=""}var f=document.createElement("div"),d=b.editor.graph,a=d.getGraphBounds(),e=d.view.scale,g=Math.floor(a.x/e-d.view.translate.x),k=Math.floor(a.y/e-d.view.translate.y);mxUtils.write(f,
mxResources.get("googleGadget")+":");mxUtils.br(f);var l=document.createElement("input");l.setAttribute("type","text");l.style.marginBottom="8px";l.style.marginTop="2px";l.style.width="410px";f.appendChild(l);mxUtils.br(f);this.init=function(){l.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?l.select():document.execCommand("selectAll",!1,null)};mxUtils.write(f,mxResources.get("top")+":");var m=document.createElement("input");m.setAttribute("type","text");m.setAttribute("size",
"4");m.style.marginRight="16px";m.style.marginLeft="4px";m.value=g;f.appendChild(m);mxUtils.write(f,mxResources.get("height")+":");var n=document.createElement("input");n.setAttribute("type","text");n.setAttribute("size","4");n.style.marginLeft="4px";n.value=Math.ceil(a.height/e);f.appendChild(n);mxUtils.br(f);a=document.createElement("hr");a.setAttribute("size","1");a.style.marginBottom="16px";a.style.marginTop="16px";f.appendChild(a);mxUtils.write(f,mxResources.get("publicDiagramUrl")+":");mxUtils.br(f);
var p=document.createElement("input");p.setAttribute("type","text");p.setAttribute("size","28");p.style.marginBottom="8px";p.style.marginTop="2px";p.style.width="410px";f.appendChild(p);mxUtils.br(f);mxUtils.write(f,mxResources.get("borderWidth")+":");var r=document.createElement("input");r.setAttribute("type","text");r.setAttribute("size","3");r.style.marginBottom="8px";r.style.marginLeft="4px";r.value="0";f.appendChild(r);mxUtils.br(f);var s=document.createElement("input");s.setAttribute("type",
"checkbox");s.setAttribute("checked","checked");s.defaultChecked=!0;s.style.marginLeft="16px";f.appendChild(s);mxUtils.write(f,mxResources.get("pan")+" ");var q=document.createElement("input");q.setAttribute("type","checkbox");q.setAttribute("checked","checked");q.defaultChecked=!0;q.style.marginLeft="8px";f.appendChild(q);mxUtils.write(f,mxResources.get("zoom")+" ");var t=document.createElement("input");t.setAttribute("type","checkbox");t.style.marginLeft="8px";t.setAttribute("title",window.location.href);
f.appendChild(t);mxUtils.write(f,mxResources.get("edit")+" ");var u=document.createElement("input");u.setAttribute("type","checkbox");u.style.marginLeft="8px";f.appendChild(u);mxUtils.write(f,mxResources.get("asNew")+" ");mxUtils.br(f);var v=document.createElement("input");v.setAttribute("type","checkbox");v.setAttribute("checked","checked");v.defaultChecked=!0;v.style.marginLeft="16px";f.appendChild(v);mxUtils.write(f,mxResources.get("resize")+" ");var z=document.createElement("input");z.setAttribute("type",
"checkbox");z.style.marginLeft="8px";f.appendChild(z);mxUtils.write(f,mxResources.get("fit")+" ");var y=document.createElement("input");y.setAttribute("type","checkbox");y.style.marginLeft="8px";f.appendChild(y);mxUtils.write(f,mxResources.get("embed")+" ");for(var x="",a={},e=d.view.states.getValues(),g=0;g<e.length;g++){var D=mxStencilRegistry.getBasenameForStencil(e[g].style[mxConstants.STYLE_SHAPE]);null!=D&&null==a[D]&&(a[D]=!0,x+=D+";")}var A=b.getCurrentFile();c();p.setAttribute("placeholder",
mxResources.get("loading")+"...");b.getPublicUrl(A,function(a){p.setAttribute("placeholder","");p.value=null!=a?a:"";c()});mxEvent.addListener(s,"change",c);mxEvent.addListener(q,"change",c);mxEvent.addListener(v,"change",c);mxEvent.addListener(z,"change",c);mxEvent.addListener(t,"change",c);mxEvent.addListener(u,"change",c);mxEvent.addListener(y,"change",c);mxEvent.addListener(n,"change",c);mxEvent.addListener(m,"change",c);mxEvent.addListener(r,"change",c);mxEvent.addListener(p,"change",c);mxEvent.addListener(l,
"click",function(){l.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?l.select():document.execCommand("selectAll",!1,null)});a=document.createElement("div");a.style.paddingTop="12px";a.style.textAlign="right";e=mxUtils.button(mxResources.get("close"),function(){b.hideDialog()});e.className="geBtn gePrimaryBtn";a.appendChild(e);f.appendChild(a);this.container=f},IframeDialog=function(b,c,f){function d(){null!=y&&null!=y.getTitle()&&y.getTitle();if(f&&null!=y&&(""!=q.value||y.constructor==
DriveFile||y.constructor==DropboxFile||y.constructor==OneDriveFile)){v.removeAttribute("disabled");z.removeAttribute("disabled");var a="https://www.draw.io/?chrome\x3d0";p.checked&&(a+="\x26lightbox\x3d1");r.checked&&(a+="\x26edit\x3d"+encodeURIComponent(mxUtils.htmlEntities("https://www.draw.io/#"+y.getHash())));e.foldingEnabled&&(a+="\x26nav\x3d1");s.checked&&(a+="\x26layers\x3d1");a=""!=q.value?a+("\x26url\x3d"+encodeURIComponent(mxUtils.htmlEntities(q.value))):a+("#"+y.getHash());l.value=a;l.removeAttribute("disabled")}else if(""!=
q.value){v.removeAttribute("disabled");z.removeAttribute("disabled");var b=encodeURIComponent(mxUtils.htmlEntities(q.value));c?(a=EXPORT_URL+"?format\x3dpng\x26url\x3d"+b,l.value=a):(a="https://www.draw.io/?chrome\x3d0",p.checked&&(a+="\x26lightbox\x3d1"),r.checked&&(a+="\x26edit\x3d"+b),e.foldingEnabled&&(a+="\x26nav\x3d1"),s.checked&&(a+="\x26layers\x3d1"),l.value='\x3ciframe frameborder\x3d"0" style\x3d"width:'+m.value+";height:"+n.value+'" src\x3d"'+(a+("\x26url\x3d"+b))+'"\x3e\x3c/iframe\x3e');
l.removeAttribute("disabled")}else!c&&!f&&null!=y&&(y.constructor==DriveFile||y.constructor==DropboxFile||y.constructor==OneDriveFile)?(v.removeAttribute("disabled"),z.removeAttribute("disabled"),a="https://www.draw.io/?chrome\x3d0",p.checked&&(a+="\x26lightbox\x3d1"),r.checked&&(a+="\x26edit\x3d"+encodeURIComponent(mxUtils.htmlEntities("https://www.draw.io/#"+y.getHash()))),e.foldingEnabled&&(a+="\x26nav\x3d1"),s.checked&&(a+="\x26layers\x3d1"),a+="#"+y.getHash(),l.value='\x3ciframe frameborder\x3d"0" style\x3d"width:'+
m.value+";height:"+n.value+'" src\x3d"'+a+'"\x3e\x3c/iframe\x3e',l.removeAttribute("disabled")):(v.setAttribute("disabled","disabled"),z.setAttribute("disabled","disabled"),l.value=mxResources.get("invalidPublicUrl"),l.setAttribute("disabled","disabled"))}var a=document.createElement("div"),e=b.editor.graph,g=e.getGraphBounds(),k=e.view.scale;mxUtils.write(a,mxResources.get(f?"link":"mainEmbedNotice")+": ");mxUtils.br(a);var l=document.createElement("input");l.setAttribute("type","text");l.style.marginBottom=
"8px";l.style.marginTop="2px";l.style.width="410px";a.appendChild(l);mxUtils.br(a);this.init=function(){"disabled"!=l.getAttribute("disabled")&&(l.focus(),mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?l.select():document.execCommand("selectAll",!1,null))};var m=document.createElement("input");m.setAttribute("type","text");m.style.marginRight="16px";m.style.width="60px";m.style.marginBottom="8px";m.style.marginLeft="4px";m.value="100%";!c&&!f&&(mxUtils.write(a,mxResources.get("width")+
":"),a.appendChild(m));var n=document.createElement("input");n.setAttribute("type","text");n.style.width="60px";n.style.marginLeft="4px";n.value=Math.ceil((g.y+g.height-e.view.translate.y)/k)+2+"px";var p=document.createElement("input");p.setAttribute("type","checkbox");var r=document.createElement("input");r.setAttribute("type","checkbox");var s=document.createElement("input");s.setAttribute("type","checkbox");c||(f||(mxUtils.write(a,mxResources.get("height")+":"),a.appendChild(n),mxUtils.br(a)),
p.setAttribute("checked","checked"),p.defaultChecked=!0,a.appendChild(p),mxUtils.write(a,mxResources.get("lightbox")),s.style.marginLeft="16px",g=b.editor.graph.getModel(),1<g.getChildCount(g.getRoot())?(s.setAttribute("checked","checked"),s.defaultChecked=!0):s.setAttribute("disabled","disabled"),a.appendChild(s),mxUtils.write(a,mxResources.get("layers")),r.style.marginLeft="16px",r.setAttribute("checked","checked"),r.defaultChecked=!0,a.appendChild(r),mxUtils.write(a,mxResources.get("edit")),mxUtils.br(a));
g=document.createElement("hr");g.setAttribute("size","1");g.style.marginBottom="16px";g.style.marginTop="16px";a.appendChild(g);mxUtils.write(a,mxResources.get("publicDiagramUrl")+":");mxUtils.br(a);var q=document.createElement("input");q.setAttribute("type","text");q.setAttribute("size","28");q.style.marginBottom="8px";q.style.marginTop="2px";q.style.width="410px";a.appendChild(q);mxUtils.br(a);for(var g={},k=e.view.states.getValues(),t=0;t<k.length;t++){var u=mxStencilRegistry.getBasenameForStencil(k[t].style[mxConstants.STYLE_SHAPE]);
null!=u&&null==g[u]&&(g[u]=!0)}var v=mxUtils.button(mxResources.get("preview"),function(){if(c||f)window.open(l.value);else{var a=window.open().document;"CSS1Compat"===document.compatMode&&a.writeln("\x3c!DOCTYPE html\x3e");a.writeln("\x3chead\x3e\x3ctitle\x3e"+encodeURIComponent(mxResources.get("preview"))+'\x3c/title\x3e\x3cmeta charset\x3d"utf-8"\x3e\x3c/head\x3e');a.writeln("\x3cbody\x3e");a.writeln(l.value);a.writeln("\x3c/body\x3e");a.writeln("\x3c/html\x3e");a.close()}});v.className="geBtn";
var z=mxUtils.button(mxResources.get("copy"),function(){l.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?l.select():document.execCommand("selectAll",!1,null);document.execCommand("copy");b.alert(mxResources.get("copiedToClipboard"))}),y=b.getCurrentFile();d();q.setAttribute("placeholder",mxResources.get("loading")+"...");b.getPublicUrl(y,function(a){q.setAttribute("placeholder","");q.value=null!=a?a:"";d()});mxEvent.addListener(m,"change",d);mxEvent.addListener(n,"change",d);
mxEvent.addListener(s,"change",d);mxEvent.addListener(p,"change",d);mxEvent.addListener(r,"change",d);mxEvent.addListener(q,"change",d);mxEvent.addListener(l,"click",function(){l.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?l.select():document.execCommand("selectAll",!1,null)});g=document.createElement("div");g.style.paddingTop="12px";g.style.textAlign="right";k=mxUtils.button(mxResources.get("close"),function(){b.hideDialog()});(c||!mxClient.IS_QUIRKS&&!navigator.standalone&&
(!window.chrome||!chrome.app||!chrome.app.runtime)&&(null==document.documentMode||9<=document.documentMode))&&g.appendChild(v);g.appendChild(k);!mxClient.IS_SF&&null==document.documentMode?(g.appendChild(z),z.className="geBtn gePrimaryBtn",k.className="geBtn"):k.className="geBtn gePrimaryBtn";a.appendChild(g);this.container=a},CreateGraphDialog=function(b,c,f){var d=document.createElement("div");d.style.textAlign="right";this.init=function(){var a=document.createElement("div");a.style.position="relative";
a.style.border="1px solid gray";a.style.width="100%";a.style.height="360px";a.style.overflow="hidden";a.style.marginBottom="16px";mxEvent.disableContextMenu(a);d.appendChild(a);var c=new Graph(a);c.setCellsCloneable(!0);c.setPanning(!0);c.setAllowDanglingEdges(!1);c.connectionHandler.select=!1;c.view.setTranslate(20,20);c.border=20;c.panningHandler.useLeftButtonForPanning=!0;var g="curved\x3d1;";c.cellRenderer.installCellOverlayListeners=function(a,b,c){mxCellRenderer.prototype.installCellOverlayListeners.apply(this,
arguments);mxEvent.addListener(c.node,mxClient.IS_POINTER?"pointerdown":"mousedown",function(c){b.fireEvent(new mxEventObject("pointerdown","event",c,"state",a))});!mxClient.IS_POINTER&&mxClient.IS_TOUCH&&mxEvent.addListener(c.node,"touchstart",function(c){b.fireEvent(new mxEventObject("pointerdown","event",c,"state",a))})};c.getAllConnectionConstraints=function(){return null};c.connectionHandler.marker.highlight.keepOnTop=!1;c.connectionHandler.createEdgeState=function(a){a=c.createEdge(null,null,
null,null,null,g);return new mxCellState(this.graph.view,a,this.graph.getCellStyle(a))};var k=c.getDefaultParent(),l=mxUtils.bind(this,function(a){var b=new mxCellOverlay(this.connectImage,"Add outgoing");b.cursor="hand";b.addListener(mxEvent.CLICK,function(b,d){c.connectionHandler.reset();c.clearSelection();var f=c.getCellGeometry(a),m;p(function(){m=c.insertVertex(k,null,"Entry",f.x,f.y,80,30,"rounded\x3d1;");l(m);c.view.refresh(m);c.insertEdge(k,null,"",a,m,g)},function(){c.scrollCellToVisible(m)})});
b.addListener("pointerdown",function(a,b){var d=b.getProperty("event"),f=b.getProperty("state");c.popupMenuHandler.hideMenu();c.stopEditing(!1);var g=mxUtils.convertPoint(c.container,mxEvent.getClientX(d),mxEvent.getClientY(d));c.connectionHandler.start(f,g.x,g.y);c.isMouseDown=!0;c.isMouseTrigger=mxEvent.isMouseEvent(d);mxEvent.consume(d)});c.addCellOverlay(a,b)});c.getModel().beginUpdate();var m;try{m=c.insertVertex(k,null,"Start",0,0,80,30,"ellipse"),l(m)}finally{c.getModel().endUpdate()}var n;
"horizontalTree"==f?(n=new mxCompactTreeLayout(c),n.edgeRouting=!1,n.levelDistance=30,g="edgeStyle\x3delbowEdgeStyle;elbow\x3dhorizontal;"):"verticalTree"==f?(n=new mxCompactTreeLayout(c,!1),n.edgeRouting=!1,n.levelDistance=30,g="edgeStyle\x3delbowEdgeStyle;elbow\x3dvertical;"):"verticalFlow"==f?n=new mxHierarchicalLayout(c,mxConstants.DIRECTION_NORTH):"horizontalFlow"==f?n=new mxHierarchicalLayout(c,mxConstants.DIRECTION_WEST):"organic"==f?(n=new mxFastOrganicLayout(c,!1),n.forceConstant=80):"circle"==
f&&(n=new mxCircleLayout(c));if(null!=n){var p=function(a,b){c.getModel().beginUpdate();try{null!=a&&a(),n.execute(c.getDefaultParent(),m)}catch(d){throw d;}finally{var f=new mxMorphing(c);f.addListener(mxEvent.DONE,mxUtils.bind(this,function(){c.getModel().endUpdate();null!=b&&b()}));f.startAnimation()}},r=mxEdgeHandler.prototype.connect;mxEdgeHandler.prototype.connect=function(a,b,c,d,e){r.apply(this,arguments);p()};c.resizeCell=function(){mxGraph.prototype.resizeCell.apply(this,arguments);p()};
c.connectionHandler.addListener(mxEvent.CONNECT,function(){p()})}var s=mxUtils.button(mxResources.get("close"),function(){b.confirm(mxResources.get("areYouSure"),function(){c.destroy();a.parentNode.removeChild(a);b.hideDialog()})});s.className="geBtn";b.editor.cancelFirst&&d.appendChild(s);var q=mxUtils.button(mxResources.get("insert"),function(){c.clearCellOverlays();var d=b.editor.graph.view,f=b.editor.graph.getGraphBounds(),g=b.editor.graph.getInsertPoint(),k=Math.max(g.x,f.x/d.scale-d.translate.x),
f=Math.max(g.y,b.editor.graph.snap((f.y+f.height)/d.scale-d.translate.y+4*c.gridSize)),k=b.editor.graph.importCells(c.getModel().getChildren(c.getDefaultParent()),k,f),f=d.getBounds(k);f.x-=d.translate.x;f.y-=d.translate.y;b.editor.graph.scrollRectToVisible(f);b.editor.graph.setSelectionCells(k);c.destroy();a.parentNode.removeChild(a);b.hideDialog()});d.appendChild(q);q.className="geBtn gePrimaryBtn";b.editor.cancelFirst||d.appendChild(s)};this.container=d};
CreateGraphDialog.prototype.connectImage=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjQ3OTk0QjMyRDcyMTFFNThGQThGNDVBMjNBMjFDMzkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjQ3OTk0QjQyRDcyMTFFNThGQThGNDVBMjNBMjFDMzkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyRjA0N0I2MjJENzExMUU1OEZBOEY0NUEyM0EyMUMzOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGNDc5OTRCMjJENzIxMUU1OEZBOEY0NUEyM0EyMUMzOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjIf+MgAAATlSURBVHjanFZraFxFFD735u4ru3ls0yZG26ShgmJoKK1J2vhIYzBgRdtIURHyw1hQUH9IxIgI2h8iCEUF/1RRlNQYCsYfCTHVhiTtNolpZCEStqSC22xIsrs1bDfu7t37Gs/cO3Ozxs1DBw73zpk555vzmHNGgJ0NYatFgmNLYUHYUoHASMz5ijmgVLmxgfKCUiBxC4ACJAeSG8nb1dVVOTc3dyoSibwWDofPBIPBJzo7O8vpGtvjpDICGztxkciECpF2LS0tvZtOpwNkk5FKpcYXFxffwL1+JuPgllPj8nk1F6RoaGjoKCqZ5ApljZDZO4SMRA0SuG2QUJIQRV8HxMOM9vf3H0ZZH9Nhg20MMl2QkFwjIyNHWlpahtADnuUMwLcRHX5aNSBjCJYEsSSLUeLEbhGe3ytCmQtA1/XY+Pj46dbW1iDuyCJp9BC5ycBj4hoeHq5ra2sbw0Xn1ZgBZ+dVkA1Lc+6p0Ck2p0QS4Ox9EhwpEylYcmBg4LH29vYQLilIOt0u5FhDfevNZDI/u93uw6PLOrwTUtjxrbPYbhD42WgMrF8JmR894ICmCgnQjVe8Xu8pXEkzMJKbuo5oNPomBbm1ZsD7s2kwFA1JZ6QBUXWT1nmGNc/qoMgavDcrQzxjQGFh4aOYIJ0sFAXcEtui4uLiVjr5KpSBVFYDDZVrWUaKRRWSAYeK0fmKykgDXbVoNaPChRuyqdDv97czL5nXxQbq6empQmsaklkDBiNpSwFVrmr2P6UyicD5piI4f8wHh0oEm8/p4h8pyGiEWvVQd3e3nxtjAzU1NR2jP7NRBWQ8GbdEzzJAmc0V3RR4cI8Dvmwuhc8fKUFA0d6/ltHg5p+Kuaejo6OeY0jcNJ/PV00ZS0nFUoZRvvFS1bZFsKHCCQ2Pl8H0chY+C96B6ZUsrCQ1qKtwQVFRURW/QhIXMAzDPAZ6BgOr8tTa8dDxCmiYGApaJbJMxSzV+brE8pdgWkcpY5dbMF1AR9XH8/xu2ilef48bvn92n82ZwHh+8ssqTEXS9p7dHisiiURikd8PbpExNTU1UVNTA3V3Y7lC16n0gpB/NwpNcZjfa7dScC4Qh0kOQCwnlEgi3F/hMVl9fX0zvKrzSk2lfXjRhj0eT/2rvWG4+Pta3oJY7XfC3hInXAv/ldeFLx8shQ+eqQL0UAAz7ylkpej5eNZRVBWL6BU6ef14OYiY1oqyTtmsavr/5koaRucT1pzx+ZpL1+GV5nLutksUgIcmtwTRiuuVZXnU5XId7A2swJkfFsymRWC91hHg1Viw6x23+7vn9sPJ+j20BE1hCXqSWaNSQ8ScbknRZWxub1PGCw/fBV+c3AeijlUbY5bBjEqr9GuYZP4jP41WudGSC6erTRCqdGZm5i1WvXWeDHnbBCZGc2Nj4wBl/hZOwrmBBfgmlID1HmGJutHaF+tKoevp/XCgstDkjo2NtWKLuc6AVN4mNjY+s1XQxoenOoFuDPHGtnRbJj9ej5GvL0dI7+giuRyMk1giazc+DP6vgUDgOJVlOv7R+PJ12QIeL6SyeDz+Kfp8ZrNWjgDTsVjsQ7qXyTjztXJhm9ePxFLfMTg4eG9tbe1RTP9KFFYQfHliYmIS69kCC7jKYmKwxxD5P88tkVkqbPPcIps9t4T/+HjcuJ/s5BFJgf4WYABCtxGuxIZ90gAAAABJRU5ErkJggg\x3d\x3d":
IMAGE_PATH+"/handle-connect.png",26,26);
var BackgroundImageDialog=function(b,c){var f=document.createElement("div");f.style.whiteSpace="nowrap";var d=document.createElement("h2");mxUtils.write(d,mxResources.get("backgroundImage"));d.style.marginTop="0px";f.appendChild(d);mxUtils.write(f,mxResources.get("image")+" "+mxResources.get("url")+":");mxUtils.br(f);var d=b.editor.graph.backgroundImage,a=document.createElement("input");a.setAttribute("type","text");a.style.marginTop="4px";a.style.marginBottom="4px";a.style.width="350px";a.value=
null!=d?d.src:"";var e=!1,g=function(){!e&&""!=a.value&&!b.isOffline()?b.loadImage(mxUtils.trim(a.value),function(a){k.value=a.width;l.value=a.height},function(){b.showError(mxResources.get("error"),mxResources.get("fileNotFound"),mxResources.get("ok"));a.value="";k.value="";l.value=""}):(k.value="",l.value="")};this.init=function(){a.focus();if(Graph.fileSupport){a.setAttribute("placeholder",mxResources.get("dragImagesHere"));var c=f.parentNode,d=null;mxEvent.addListener(c,"dragleave",function(a){null!=
d&&(d.parentNode.removeChild(d),d=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(c,"dragover",mxUtils.bind(this,function(a){if(null==d&&(!mxClient.IS_IE||10<document.documentMode))d=b.highlightElement(c);a.stopPropagation();a.preventDefault()}));mxEvent.addListener(c,"drop",mxUtils.bind(this,function(c){null!=d&&(d.parentNode.removeChild(d),d=null);if(0<c.dataTransfer.files.length)b.importFiles(c.dataTransfer.files,0,0,b.maxBackgroundSize,function(b,c,d,e,f,k){a.value=b;g()},function(){},
function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!0,b.maxBackgroundBytes,b.maxBackgroundBytes);else if(0<=mxUtils.indexOf(c.dataTransfer.types,"text/uri-list")){var e=c.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(e)&&(a.value=decodeURIComponent(e),g())}c.stopPropagation();c.preventDefault()}),!1)}};f.appendChild(a);mxUtils.br(f);mxUtils.br(f);mxUtils.write(f,mxResources.get("width")+":");var k=document.createElement("input");
k.setAttribute("type","text");k.style.width="60px";k.style.marginLeft="4px";k.style.marginRight="16px";k.value=null!=d?d.width:"";f.appendChild(k);mxUtils.write(f,mxResources.get("height")+":");var l=document.createElement("input");l.setAttribute("type","text");l.style.width="60px";l.style.marginLeft="4px";l.style.marginRight="16px";l.value=null!=d?d.height:"";f.appendChild(l);d=mxUtils.button(mxResources.get("reset"),function(){a.value="";k.value="";l.value="";e=!1});mxEvent.addListener(d,"mousedown",
function(){e=!0});mxEvent.addListener(d,"touchstart",function(){e=!0});d.className="geBtn";d.width="100";f.appendChild(d);mxUtils.br(f);mxEvent.addListener(a,"change",g);ImageDialog.filePicked=function(b){b.action==google.picker.Action.PICKED&&null!=b.docs[0].thumbnails&&(b=b.docs[0].thumbnails[b.docs[0].thumbnails.length-1],null!=b&&(a.value=b.url,g()));a.focus()};d=document.createElement("div");d.style.marginTop="40px";d.style.textAlign="right";var m=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});
m.className="geBtn";b.editor.cancelFirst&&d.appendChild(m);if(!b.isOffline()&&"undefined"!=typeof google&&"undefined"!=typeof google.picker){var n=mxUtils.button(mxResources.get("search"),function(){if(null==b.imageSearchPicker){var a=(new google.picker.PickerBuilder).setLocale(mxLanguage).addView(google.picker.ViewId.IMAGE_SEARCH).enableFeature(google.picker.Feature.NAV_HIDDEN);b.imageSearchPicker=a.setCallback(function(a){ImageDialog.filePicked(a)}).build()}b.imageSearchPicker.setVisible(!0);b.movePickersToTop()});
n.className="geBtn";d.appendChild(n);null!=b.drive&&"1"==urlParams.photos&&(n=mxUtils.button(mxResources.get("googlePlus"),function(){b.spinner.spin(document.body,mxResources.get("authorizing"))&&b.drive.checkToken(mxUtils.bind(this,function(){b.spinner.stop();if(null==b.photoPicker){var a=gapi.auth.getToken().access_token,a=(new google.picker.PickerBuilder).setAppId(b.drive.appId).setLocale(mxLanguage).setOAuthToken(a).addView(google.picker.ViewId.PHOTOS).addView(google.picker.ViewId.PHOTO_ALBUMS).addView(google.picker.ViewId.PHOTO_UPLOAD);
b.photoPicker=a.setCallback(function(a){ImageDialog.filePicked(a)}).build()}b.photoPicker.setVisible(!0);b.movePickersToTop()}))}),n.className="geBtn",d.appendChild(n))}n=mxUtils.button(mxResources.get("apply"),function(){b.hideDialog();c(""!=a.value?new mxImage(mxUtils.trim(a.value),k.value,l.value):null)});n.className="geBtn gePrimaryBtn";d.appendChild(n);b.editor.cancelFirst||d.appendChild(m);f.appendChild(d);this.container=f},ParseDialog=function(b,c){function f(a){function c(a){var b=e[a];null==
b&&(b=new mxCell(a,new mxGeometry(0,0,80,30)),b.vertex=!0,e[a]=b,f.push(b));return b}var d=a.split("\n"),e={},f=[];for(a=0;a<d.length;a++)if(";"!=d[a].charAt(0)){var g=d[a].split("-\x3e");if(2==g.length){var s=c(g[0]),g=c(g[1]),q=new mxCell("",new mxGeometry);q.edge=!0;s.insertEdge(q,!0);g.insertEdge(q,!1);f.push(q)}}if(0<f.length){d=document.createElement("div");d.style.visibility="hidden";document.body.appendChild(d);s=new Graph(d);s.getModel().beginUpdate();try{f=s.importCells(f);for(a=0;a<f.length;a++)if(s.getModel().isVertex(f[a])){var t=
s.getPreferredSizeForCell(f[a]);f[a].geometry.width=Math.max(f[a].geometry.width,t.width);f[a].geometry.height=Math.max(f[a].geometry.height,t.height)}var u=new mxFastOrganicLayout(s);u.disableEdgeStyle=!1;u.forceConstant=120;u.execute(s.getDefaultParent());s.moveCells(f,20,20)}finally{s.getModel().endUpdate()}s.clearCellOverlays();u=b.editor.graph.view;a=b.editor.graph.getGraphBounds();t=Math.max(0,a.x/u.scale-u.translate.x)+s.gridSize;u=Math.max(0,(a.y+a.height)/u.scale-u.translate.y)+4*s.gridSize;
b.editor.graph.setSelectionCells(b.editor.graph.importCells(s.getModel().getChildren(s.getDefaultParent()),t,u));s.destroy();d.parentNode.removeChild(d)}}var d=document.createElement("div");d.style.textAlign="right";var a=document.createElement("textarea");a.style.resize="none";a.style.width="100%";a.style.height="354px";a.style.marginBottom="16px";a.value=";example\na-\x3eb\nb-\x3ec\nc-\x3ea\n";d.appendChild(a);this.init=function(){a.focus()};Graph.fileSupport&&(a.addEventListener("dragover",function(a){a.stopPropagation();
a.preventDefault()},!1),a.addEventListener("drop",function(b){b.stopPropagation();b.preventDefault();if(0<b.dataTransfer.files.length){b=b.dataTransfer.files[0];var c=new FileReader;c.onload=function(b){a.value=b.target.result};c.readAsText(b)}},!1));var e=mxUtils.button(mxResources.get("close"),function(){b.confirm(mxResources.get("areYouSure"),function(){b.hideDialog()})});e.className="geBtn";b.editor.cancelFirst&&d.appendChild(e);var g=mxUtils.button(mxResources.get("insert"),function(){b.hideDialog();
f(a.value)});d.appendChild(g);g.className="geBtn gePrimaryBtn";b.editor.cancelFirst||d.appendChild(e);this.container=d},NewDialog=function(b,c,f,d){function a(){if(d)b.hideDialog(),d(s);else{var a=p.value;if(null!=a&&0<a.length){var c=b.mode==App.MODE_ONEDRIVE||b.mode==App.MODE_GOOGLE&&(null==b.stateArg||null==b.stateArg.folderId)?b.mode:null;b.pickFolder(c,function(c){b.createFile(a,s,null!=r&&0<r.length?r:null,null,function(){b.hideDialog()},null,c)},c!=App.MODE_GOOGLE)}}}function e(a,b,c){null!=
q&&(q.style.backgroundColor="transparent",q.style.border="1px solid transparent");s=b;r=c;q=a;q.style.backgroundColor="#e6eff8";q.style.border="1px solid #ccd9ea"}function g(b,c,d,f,g){var k=document.createElement("div");k.className="geTemplate";k.style.height=z+"px";k.style.width=y+"px";null!=f&&0<f.length&&k.setAttribute("title",f);if(null!=b&&0<b.length){b.substring(0,b.length-4);k.style.backgroundImage="url("+TEMPLATE_PATH+"/"+b.substring(0,b.length-4)+".png)";k.style.backgroundPosition="center center";
k.style.backgroundRepeat="no-repeat";var l=!1;mxEvent.addListener(k,"click",function(d){t.setAttribute("disabled","disabled");k.style.backgroundColor="transparent";k.style.border="1px solid transparent";mxUtils.get(TEMPLATE_PATH+"/"+b,mxUtils.bind(this,function(b){200==b.getStatus()&&(t.removeAttribute("disabled"),e(k,b.getText(),c),l&&a())}))});mxEvent.addListener(k,"dblclick",function(a){l=!0})}else k.innerHTML='\x3ctable width\x3d"100%" height\x3d"100%"\x3e\x3ctr\x3e\x3ctd align\x3d"center" valign\x3d"middle"\x3e'+
mxResources.get(d)+"\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e",g&&e(k),mxEvent.addListener(k,"click",function(a){e(k)}),mxEvent.addListener(k,"dblclick",function(b){a()});u.appendChild(k)}function k(){function a(){for(var c=!0;b<A.length&&(c||0!=mxUtils.mod(b,30));)c=A[b++],g(c.url,c.libs,c.title,c.tooltip,c.select),c=!1}var b=0;mxEvent.addListener(u,"scroll",function(b){u.scrollTop+u.clientHeight>=u.scrollHeight&&(a(),mxEvent.consume(b))});var c=null,d;for(d in x){var e=document.createElement("div"),
f=mxResources.get(d),k=x[d];null==f&&(f=d.substring(0,1).toUpperCase()+d.substring(1));18<f.length&&(f=f.substring(0,18)+"\x26hellip;");e.style.cssText="display:block;cursor:pointer;padding:6px;white-space:nowrap;margin-bottom:-1px;overflow:hidden;text-overflow:ellipsis;";e.setAttribute("title",f+" ("+k.length+")");mxUtils.write(e,e.getAttribute("title"));v.appendChild(e);null==c&&(c=e,c.style.backgroundColor="#ebf2f9");(function(d,f){mxEvent.addListener(e,"click",function(){c!=f&&(c.style.backgroundColor=
"",c=f,c.style.backgroundColor="#ebf2f9",u.scrollTop=0,u.innerHTML="",b=0,A=x[d],a())})})(d,e)}a()}f=null!=f?f:!0;var l=document.createElement("div");l.style.height="100%";var m=document.createElement("div");m.style.whiteSpace="nowrap";m.style.height="46px";l.appendChild(m);var n=document.createElement("img");n.setAttribute("border","0");n.setAttribute("align","absmiddle");n.style.width="40px";n.style.height="40px";n.style.marginRight="10px";n.style.paddingBottom="4px";n.src=b.mode==App.MODE_GOOGLE?
IMAGE_PATH+"/google-drive-logo.svg":b.mode==App.MODE_DROPBOX?IMAGE_PATH+"/dropbox-logo.svg":b.mode==App.MODE_ONEDRIVE?IMAGE_PATH+"/onedrive-logo.svg":b.mode==App.MODE_BROWSER?IMAGE_PATH+"/osa_database.png":IMAGE_PATH+"/osa_drive-harddisk.png";!c&&f&&m.appendChild(n);f&&mxUtils.write(m,(null==b.mode||b.mode==App.MODE_GOOGLE||b.mode==App.MODE_BROWSER?mxResources.get("diagramName"):mxResources.get("filename"))+":");n=".xml";b.mode==App.MODE_GOOGLE&&null!=b.drive?n=b.drive.extension:b.mode==App.MODE_DROPBOX&&
null!=b.dropbox?n=b.dropbox.extension:b.mode==App.MODE_ONEDRIVE&&null!=b.oneDrive&&(n=b.oneDrive.extension);var p=document.createElement("input");p.setAttribute("value",b.defaultFilename+n);p.style.marginRight="20px";p.style.marginLeft="10px";p.style.width=c?"220px":"450px";this.init=function(){f&&(p.focus(),mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?p.select():document.execCommand("selectAll",!1,null))};f&&m.appendChild(p);var r=null,s=null,q=null,t=mxUtils.button(mxResources.get("create"),
function(){a()});t.className="geBtn gePrimaryBtn";var u=document.createElement("div");u.style.border="1px solid #d3d3d3";u.style.position="absolute";u.style.left="160px";u.style.right="34px";u.style.top=f?"72px":"40px";u.style.bottom="76px";u.style.margin="6px 0 0 -1px";u.style.padding="6px";u.style.overflow="auto";var v=document.createElement("div");v.style.cssText="position:absolute;left:30px;width:128px;top:72px;bottom:76px;margin-top:6px;overflow:auto;border:1px solid #d3d3d3;";f||(v.style.top=
"40px");var z=140,y=140,x={},D=1;x.basic=[{title:"blankDiagram",select:!0}];var A=x.basic;if(!c){l.appendChild(v);l.appendChild(u);var B=!1;mxUtils.get(TEMPLATE_PATH+"/index.xml",function(a){if(!B){B=!0;for(a=a.getXml().documentElement.firstChild;null!=a;){if("undefined"!==typeof a.getAttribute){var b=a.getAttribute("url");if(null!=b){var c=b.indexOf("/"),b=b.substring(0,c),c=x[b];null==c&&(D++,c=[],x[b]=c);c.push({url:a.getAttribute("url"),libs:a.getAttribute("libs"),title:a.getAttribute("title"),
tooltip:a.getAttribute("url")})}}a=a.nextSibling}k()}})}mxEvent.addListener(p,"keypress",function(c){13==c.keyCode&&(b.hideDialog(),a())});m=document.createElement("div");m.style.marginTop=c?"4px":"16px";m.style.textAlign="right";m.style.position="absolute";m.style.left="40px";m.style.bottom="30px";m.style.right="40px";n=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog(!0)});n.className="geBtn";b.editor.cancelFirst&&m.appendChild(n);if(!c&&!b.isOffline()&&f){var E=mxUtils.button(mxResources.get("help"),
function(){window.open("https://support.draw.io/display/DO/Creating+and+Opening+Files")});E.className="geBtn";m.appendChild(E)}c||(c=mxUtils.button(mxResources.get("fromTemplateUrl"),function(){var a=new FilenameDialog(b,"",mxResources.get("create"),function(a){null!=a&&0<a.length&&(a=b.getUrl(window.location.pathname+"?mode\x3d"+b.mode+"\x26title\x3d"+encodeURIComponent(p.value)+"\x26create\x3d"+encodeURIComponent(a)),null==b.getCurrentFile()?window.location.href=a:window.openWindow(a))},mxResources.get("url"));
b.showDialog(a.container,300,80,!0,!0);a.init()}),c.className="geBtn",m.appendChild(c));m.appendChild(t);b.editor.cancelFirst||m.appendChild(n);l.appendChild(m);this.container=l},CreateDialog=function(b,c,f,d,a,e,g,k,l,m,n){function p(a,c,d,e){function f(){mxEvent.addListener(g,"click",function(){r(d);s(d)})}var g=document.createElement("a");g.style.overflow="hidden";var k=document.createElement("img");k.src=a;k.setAttribute("border","0");k.setAttribute("align","absmiddle");k.style.width="60px";k.style.height=
"60px";k.style.paddingBottom="6px";g.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";g.className="geBaseButton";g.style.position="relative";g.style.margin="4px";g.style.padding="8px 8px 10px 8px";g.style.whiteSpace="nowrap";g.appendChild(k);mxClient.IS_QUIRKS&&(g.style.cssFloat="left",g.style.zoom="1");g.style.color="gray";g.style.fontSize="11px";var l=document.createElement("div");g.appendChild(l);mxUtils.write(l,c);if(null!=e&&null==b[e]){k.style.visibility="hidden";mxUtils.setOpacity(l,
10);var m=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});m.spin(g);var n=window.setTimeout(function(){null==b[e]&&(m.stop(),g.style.display="none")},3E4);b.addListener("clientLoaded",mxUtils.bind(this,function(){null!=b[e]&&(window.clearTimeout(n),mxUtils.setOpacity(l,100),k.style.visibility="",m.stop(),f())}))}else f();z.appendChild(g)}function r(a){if(g){var d=v.value,e=d.lastIndexOf(".");if(0>c.lastIndexOf(".")&&
(!t||0>e)){a=null!=a?a:y.value;var f="";a==App.MODE_GOOGLE?f=b.drive.extension:a==App.MODE_DROPBOX?f=b.dropbox.extension:a==App.MODE_ONEDRIVE?f=b.oneDrive.extension:a==App.MODE_DEVICE&&(f=".xml");0<=e&&(d=d.substring(0,e));v.value=d+f}}}function s(a){var c=v.value;if(null==a||null!=c&&0<c.length)b.hideDialog(),f(c,a)}g=null!=g?g:!0;k=null!=k?k:!0;var q=document.createElement("div"),t=!0;null==d&&b.addLanguageMenu(q);var u=document.createElement("h2");mxUtils.write(u,a||mxResources.get("create"));
u.style.marginTop="0px";u.style.marginBottom="24px";q.appendChild(u);mxUtils.write(q,mxResources.get("filename")+":");var v=document.createElement("input");v.setAttribute("value",c);v.style.width="280px";v.style.marginLeft="10px";v.style.marginBottom="20px";this.init=function(){v.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?v.select():document.execCommand("selectAll",!1,null)};q.appendChild(v);mxUtils.br(q);var z=document.createElement("div");z.style.textAlign="center";t?(z.style.marginTop=
"6px",q.appendChild(z)):mxUtils.write(q,mxResources.get("chooseAnOption")+":");var y=document.createElement("select");y.style.marginLeft="10px";"function"===typeof window.DriveClient&&(a=document.createElement("option"),a.setAttribute("value",App.MODE_GOOGLE),mxUtils.write(a,mxResources.get("googleDrive")),y.appendChild(a),p(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googleDrive"),App.MODE_GOOGLE,"drive"));"function"===typeof window.DropboxClient&&(a=document.createElement("option"),a.setAttribute("value",
App.MODE_DROPBOX),mxUtils.write(a,mxResources.get("dropbox")),y.appendChild(a),b.mode==App.MODE_DROPBOX&&a.setAttribute("selected","selected"),p(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),App.MODE_DROPBOX,"dropbox"));"function"===typeof window.OneDriveClient&&(a=document.createElement("option"),a.setAttribute("value",App.MODE_ONEDRIVE),mxUtils.write(a,mxResources.get("oneDrive")),y.appendChild(a),b.mode==App.MODE_ONEDRIVE&&a.setAttribute("selected","selected"),p(IMAGE_PATH+"/onedrive-logo.svg",
mxResources.get("oneDrive"),App.MODE_ONEDRIVE,"oneDrive"));if(!Editor.useLocalStorage||"device"==urlParams.storage||null!=b.getCurrentFile()&&!mxClient.IS_IOS)a=document.createElement("option"),a.setAttribute("value",App.MODE_DEVICE),mxUtils.write(a,mxResources.get("device")),y.appendChild(a),(b.mode==App.MODE_DEVICE||!k)&&a.setAttribute("selected","selected"),n&&(mxUtils.br(z),p(IMAGE_PATH+"/osa_drive-harddisk.png",mxResources.get("device"),App.MODE_DEVICE));k&&isLocalStorage&&(k=document.createElement("option"),
k.setAttribute("value",App.MODE_BROWSER),mxUtils.write(k,mxResources.get("browser")),y.appendChild(k),b.mode==App.MODE_BROWSER&&k.setAttribute("selected","selected"),p(IMAGE_PATH+"/osa_database.png",mxResources.get("browser"),App.MODE_BROWSER));k=document.createElement("div");k.style.marginTop=t?"26px":"38px";k.style.textAlign=t?"center":"right";t||(q.appendChild(y),mxEvent.addListener(y,"change",r),r());null!=m&&(a=mxUtils.button(mxResources.get("help"),function(){window.open(m)}),a.className="geBtn",
k.appendChild(a));a=mxUtils.button(mxResources.get("cancel"),function(){null!=d?d():(b.fileLoaded(null),b.hideDialog(),window.close(),window.location.href=b.getUrl())});a.className="geBtn";b.editor.cancelFirst&&k.appendChild(a);null==d&&(u=mxUtils.button(mxResources.get("decideLater"),function(){s(null)}),u.className="geBtn",k.appendChild(u));l&&(l=mxUtils.button(mxResources.get("openInNewWindow"),function(){s("_blank")}),l.className="geBtn",k.appendChild(l));if(!mxClient.IS_IOS||!t)e=mxUtils.button(e||
mxResources.get("create"),function(){s(n?"download":t?App.MODE_DEVICE:y.value)}),e.className="geBtn gePrimaryBtn",k.appendChild(e);b.editor.cancelFirst||k.appendChild(a);mxEvent.addListener(v,"keypress",function(a){13==a.keyCode?s(t?App.MODE_DEVICE:y.value):27==a.keyCode&&(b.fileLoaded(null),b.hideDialog(),window.close())});q.appendChild(k);this.container=q},PopupDialog=function(b,c,f,d,a){a=null!=a?a:!0;var e=document.createElement("div");e.style.textAlign="left";mxUtils.write(e,mxResources.get("fileOpenLocation"));
mxUtils.br(e);mxUtils.br(e);var g=mxUtils.button(mxResources.get("openInThisWindow"),function(){a&&b.hideDialog();null!=d&&d()});g.className="geBtn";g.style.marginBottom="8px";g.style.width="280px";e.appendChild(g);mxUtils.br(e);var k=mxUtils.button(mxResources.get("openInNewWindow"),function(){a&&b.hideDialog();null!=f&&f();window.open(c)});k.className="geBtn gePrimaryBtn";k.style.width=g.style.width;e.appendChild(k);mxUtils.br(e);mxUtils.br(e);mxUtils.write(e,mxResources.get("allowPopups"));this.container=
e},ImageDialog=function(b,c,f,d,a,e){e=null!=e?e:!0;var g=b.editor.graph,k=document.createElement("div");mxUtils.write(k,c);c=document.createElement("div");c.className="geTitle";c.style.backgroundColor="transparent";c.style.borderColor="transparent";c.style.whiteSpace="nowrap";c.style.textOverflow="clip";c.style.cursor="default";mxClient.IS_VML||(c.style.paddingRight="20px");var l=document.createElement("input");l.setAttribute("value",f);l.setAttribute("type","text");l.style.marginTop="6px";l.style.width=
(Graph.fileSupport?420:340)+(mxClient.IS_QUIRKS?20:-20)+"px";l.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";l.style.backgroundRepeat="no-repeat";l.style.backgroundPosition="100% 50%";l.style.paddingRight="14px";f=document.createElement("div");f.setAttribute("title",mxResources.get("reset"));f.style.position="relative";f.style.left="-16px";f.style.width="12px";f.style.height="14px";f.style.cursor="pointer";f.style.display=mxClient.IS_VML?"inline":"inline-block";f.style.top=(mxClient.IS_VML?
0:3)+"px";f.style.background="url('"+b.editor.transparentImage+"')";mxEvent.addListener(f,"click",function(){l.value="";l.focus()});c.appendChild(l);c.appendChild(f);k.appendChild(c);var m=function(a,c,f){var g="data:"==a.substring(0,5);(!b.isOffline()||g&&"undefined"===typeof chrome)&&b.spinner.spin(document.body,mxResources.get("inserting"))?b.loadImage(a,function(g){b.spinner.stop();b.hideDialog();var k=null!=c&&null!=f?Math.max(c/g.width,f/g.height):Math.min(1,Math.min(520/g.width,520/g.height));
e&&(a=b.convertDataUri(a));d(a,Math.round(Number(g.width)*k),Math.round(Number(g.height)*k))},function(){b.spinner.stop();d(null);b.showError(mxResources.get("error"),mxResources.get("fileNotFound"),mxResources.get("ok"))}):(a=b.convertDataUri(a),c=null==c?120:c,f=null==f?100:f,b.hideDialog(),d(a,c,f))},n=function(c){if(null!=c&&0<c.length){var e=a?null:g.getModel().getGeometry(g.getSelectionCell());null!=e?m(c,e.width,e.height):m(c)}else b.hideDialog(),d(null)};this.init=function(){l.focus();if(Graph.fileSupport){l.setAttribute("placeholder",
mxResources.get("dragImagesHere"));var a=k.parentNode,c=null;mxEvent.addListener(a,"dragleave",function(a){null!=c&&(c.parentNode.removeChild(c),c=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(a,"dragover",mxUtils.bind(this,function(d){if(null==c&&(!mxClient.IS_IE||10<document.documentMode))c=b.highlightElement(a);d.stopPropagation();d.preventDefault()}));mxEvent.addListener(a,"drop",mxUtils.bind(this,function(a){null!=c&&(c.parentNode.removeChild(c),c=null);if(0<a.dataTransfer.files.length)b.importFiles(a.dataTransfer.files,
0,0,b.maxImageSize,function(a,b,c,d,e,f){n(a)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!mxEvent.isControlDown(a));else if(0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")){var d=a.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)($|\?)/i.test(d)&&n(decodeURIComponent(d))}a.stopPropagation();a.preventDefault()}),!1)}};f=document.createElement("div");f.style.marginTop=mxClient.IS_QUIRKS?"22px":"14px";f.style.textAlign=
"right";c=mxUtils.button(mxResources.get("cancel"),function(){b.spinner.stop();b.hideDialog()});c.className="geBtn";b.editor.cancelFirst&&f.appendChild(c);ImageDialog.filePicked=function(a){a.action==google.picker.Action.PICKED&&null!=a.docs[0].thumbnails&&(a=a.docs[0].thumbnails[a.docs[0].thumbnails.length-1],null!=a&&(l.value=a.url));l.focus()};if("undefined"!=typeof google&&"undefined"!=typeof google.picker){if(Graph.fileSupport){var p=document.createElement("input");p.setAttribute("multiple",
"multiple");p.setAttribute("type","file");if(null==document.documentMode){mxEvent.addListener(p,"change",function(a){b.importFiles(p.files,0,0,b.maxImageSize,function(a,b,c,d,e,f){n(a)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!0)});var r=mxUtils.button(mxResources.get("open"),function(){p.click()});r.className="geBtn";f.appendChild(r)}}r=mxUtils.button(mxResources.get("search"),function(){if(null==b.imageSearchPicker){var a=(new google.picker.PickerBuilder).setLocale(mxLanguage).addView(google.picker.ViewId.IMAGE_SEARCH).enableFeature(google.picker.Feature.NAV_HIDDEN);
b.imageSearchPicker=a.setCallback(function(a){ImageDialog.filePicked(a)}).build()}b.imageSearchPicker.setVisible(!0);b.movePickersToTop()});r.className="geBtn";f.appendChild(r);null!=b.drive&&"1"==urlParams.photos&&(r=mxUtils.button(mxResources.get("googlePlus"),function(){b.spinner.spin(document.body,mxResources.get("authorizing"))&&b.drive.checkToken(mxUtils.bind(this,function(){b.spinner.stop();if(null==b.photoPicker){var a=gapi.auth.getToken().access_token,a=(new google.picker.PickerBuilder).setAppId(b.drive.appId).setLocale(mxLanguage).setOAuthToken(a).addView(google.picker.ViewId.PHOTOS).addView(google.picker.ViewId.PHOTO_ALBUMS).addView(google.picker.ViewId.PHOTO_UPLOAD);
b.photoPicker=a.setCallback(function(a){ImageDialog.filePicked(a)}).build()}b.photoPicker.setVisible(!0);b.movePickersToTop()}))}),r.className="geBtn",f.appendChild(r))}mxEvent.addListener(l,"keypress",function(a){13==a.keyCode&&n(l.value)});r=mxUtils.button(mxResources.get("apply"),function(){n(l.value)});r.className="geBtn gePrimaryBtn";f.appendChild(r);b.editor.cancelFirst||f.appendChild(c);Graph.fileSupport&&(f.style.marginTop="120px",k.style.backgroundImage="url('"+IMAGE_PATH+"/droptarget.png')",
k.style.backgroundPosition="center 65%",k.style.backgroundRepeat="no-repeat",c=document.createElement("div"),c.style.position="absolute",c.style.width="420px",c.style.top="58%",c.style.textAlign="center",c.style.fontSize="18px",c.style.color="#a0c3ff",mxUtils.write(c,mxResources.get("dragImagesHere")),k.appendChild(c));k.appendChild(f);this.container=k};
PrintDialog.prototype.create=function(b){function c(){p.value=Math.min(g,Math.max(parseInt(p.value),parseInt(n.value)));n.value=Math.min(g,Math.min(parseInt(p.value),parseInt(n.value)))}function f(a){var b=parseInt(G.value)/100;isNaN(b)&&(b=1,G.value="100 %");var b=0.75*b,c=d.getGraphBounds(),e=0,f=0,g=d.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,k=1/d.pageScale,l=q.checked;if(l)var k=parseInt(E.value),m=parseInt(F.value),k=Math.min(g.height*m/(c.height/d.view.scale),g.width*k/(c.width/d.view.scale));
else k=parseInt(s.value)/100*d.pageScale,isNaN(k)&&(b=1/d.pageScale,s.value="100 %");g=mxRectangle.fromRectangle(g);g.width=Math.ceil(g.width*b);g.height=Math.ceil(g.height*b);k*=b;!l&&d.pageVisible?(b=d.getPageLayout(),e-=b.x*g.width,f-=b.y*g.height):l=!0;return PrintDialog.showPreview(PrintDialog.createPrintPreview(d,k,g,0,e,f,l,a),a)}var d=b.editor.graph,a=document.createElement("div"),e=document.createElement("h3");e.style.marginTop="0px";mxUtils.write(e,mxResources.get("print"));a.appendChild(e);
var g=1,k=document.createElement("div");k.style.cssText="border-bottom:1px solid lightGray;padding-bottom:12px;margin-bottom:12px;";var l=document.createElement("input");l.style.cssText="margin-right:8px;margin-bottom:8px;";l.setAttribute("value","all");l.setAttribute("type","radio");l.setAttribute("name","pages");k.appendChild(l);e=document.createElement("span");mxUtils.write(e,mxResources.get("printAllPages"));k.appendChild(e);mxUtils.br(k);var m=l.cloneNode(!0);m.setAttribute("value","range");
k.appendChild(m);l.setAttribute("checked","checked");e=document.createElement("span");mxUtils.write(e,mxResources.get("pages")+":");k.appendChild(e);var n=document.createElement("input");n.style.cssText="margin:0 8px 0 8px;";n.setAttribute("value","1");n.setAttribute("type","number");n.setAttribute("min","1");n.style.width="50px";k.appendChild(n);e=document.createElement("span");mxUtils.write(e,mxResources.get("to"));k.appendChild(e);var p=n.cloneNode(!0);k.appendChild(p);mxEvent.addListener(n,"focus",
function(){m.checked=!0});mxEvent.addListener(p,"focus",function(){m.checked=!0});mxEvent.addListener(n,"change",c);mxEvent.addListener(p,"change",c);n.setAttribute("max",g);p.setAttribute("max",g);1<g&&a.appendChild(k);l=document.createElement("div");l.style.marginBottom="10px";var r=document.createElement("input");r.style.marginRight="8px";r.setAttribute("value","adjust");r.setAttribute("type","radio");r.setAttribute("name","printZoom");l.appendChild(r);e=document.createElement("span");mxUtils.write(e,
mxResources.get("adjustTo"));l.appendChild(e);var s=document.createElement("input");s.style.cssText="margin:0 8px 0 8px;";s.setAttribute("value","100 %");s.style.width="50px";l.appendChild(s);mxEvent.addListener(s,"focus",function(){r.checked=!0});a.appendChild(l);var k=k.cloneNode(!1),q=r.cloneNode(!0);q.setAttribute("value","fit");r.setAttribute("checked","checked");e=document.createElement("div");e.style.cssText="display:inline-block;height:100%;vertical-align:top;padding-top:2px;";e.appendChild(q);
k.appendChild(e);l=document.createElement("table");l.style.display="inline-block";var t=document.createElement("tbody"),u=document.createElement("tr"),v=u.cloneNode(!0),z=document.createElement("td"),y=z.cloneNode(!0),x=z.cloneNode(!0),D=z.cloneNode(!0),A=z.cloneNode(!0),B=z.cloneNode(!0);z.style.textAlign="right";D.style.textAlign="right";mxUtils.write(z,mxResources.get("fitTo"));var E=document.createElement("input");E.style.cssText="margin:0 8px 0 8px;";E.setAttribute("value","1");E.setAttribute("min",
"1");E.setAttribute("type","number");E.style.width="40px";y.appendChild(E);e=document.createElement("span");mxUtils.write(e,mxResources.get("fitToSheetsAcross"));x.appendChild(e);mxUtils.write(D,mxResources.get("fitToBy"));var F=E.cloneNode(!0);A.appendChild(F);mxEvent.addListener(E,"focus",function(){q.checked=!0});mxEvent.addListener(F,"focus",function(){q.checked=!0});e=document.createElement("span");mxUtils.write(e,mxResources.get("fitToSheetsDown"));B.appendChild(e);u.appendChild(z);u.appendChild(y);
u.appendChild(x);v.appendChild(D);v.appendChild(A);v.appendChild(B);t.appendChild(u);t.appendChild(v);l.appendChild(t);k.appendChild(l);a.appendChild(k);k=document.createElement("div");e=document.createElement("span");mxUtils.write(e,mxResources.get("paperSize"));k.appendChild(e);var G=document.createElement("input");G.style.cssText="margin:0 8px 0 8px;";G.setAttribute("value","100 %");G.style.width="60px";k.appendChild(G);a.appendChild(k);e=document.createElement("div");e.style.cssText="text-align:right;margin:36px 0 0 0;";
k=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});k.className="geBtn";b.editor.cancelFirst&&e.appendChild(k);mxClient.IS_CHROMEAPP||(l=mxUtils.button(mxResources.get("preview"),function(){b.hideDialog();f(!1)}),l.className="geBtn",e.appendChild(l));l=mxUtils.button(mxResources.get(mxClient.IS_CHROMEAPP?"ok":"print"),function(){b.hideDialog();f(!0)});l.className="geBtn gePrimaryBtn";e.appendChild(l);b.editor.cancelFirst||e.appendChild(k);a.appendChild(e);this.container=a};
var LinkDialog=function(b,c,f,d){var a=document.createElement("div");mxUtils.write(a,mxResources.get("editLink")+":");var e=document.createElement("div");e.className="geTitle";e.style.backgroundColor="transparent";e.style.borderColor="transparent";e.style.whiteSpace="nowrap";e.style.textOverflow="clip";e.style.cursor="default";mxClient.IS_VML||(e.style.paddingRight="20px");var g=document.createElement("input");g.setAttribute("value",c);g.setAttribute("placeholder",mxResources.get("dragUrlsHere"));
g.setAttribute("type","text");g.style.marginTop="6px";g.style.width="400px";g.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";g.style.backgroundRepeat="no-repeat";g.style.backgroundPosition="100% 50%";g.style.paddingRight="14px";c=document.createElement("div");c.setAttribute("title",mxResources.get("reset"));c.style.position="relative";c.style.left="-16px";c.style.width="12px";c.style.height="14px";c.style.cursor="pointer";c.style.display=mxClient.IS_VML?"inline":"inline-block";c.style.top=
(mxClient.IS_VML?0:3)+"px";c.style.background="url('"+b.editor.transparentImage+"')";mxEvent.addListener(c,"click",function(){g.value="";g.focus()});e.appendChild(g);e.appendChild(c);a.appendChild(e);var k=mxUtils.button(f,function(){b.hideDialog();d(g.value,LinkDialog.selectedDocs)});k.className="geBtn gePrimaryBtn";this.init=function(){g.focus();mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?g.select():document.execCommand("selectAll",!1,null);if(Graph.fileSupport){var c=a.parentNode,
d=null;mxEvent.addListener(c,"dragleave",function(a){null!=d&&(d.parentNode.removeChild(d),d=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(c,"dragover",mxUtils.bind(this,function(a){if(null==d&&(!mxClient.IS_IE||10<document.documentMode))d=b.highlightElement(c);a.stopPropagation();a.preventDefault()}));mxEvent.addListener(c,"drop",mxUtils.bind(this,function(a){null!=d&&(d.parentNode.removeChild(d),d=null);0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")&&(g.value=decodeURIComponent(a.dataTransfer.getData("text/uri-list")),
k.click());a.stopPropagation();a.preventDefault()}),!1)}};f=document.createElement("div");f.style.marginTop="14px";f.style.textAlign="right";e=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});e.className="geBtn";b.editor.cancelFirst&&f.appendChild(e);LinkDialog.selectedDocs=null;LinkDialog.filePicked=function(a){if(a.action==google.picker.Action.PICKED){LinkDialog.selectedDocs=a.docs;var b=a.docs[0].url;"application/mxe"==a.docs[0].mimeType||"application/vnd.jgraph.mxfile"==a.docs[0].mimeType?
(b=DriveClient.prototype.oldAppHostname,b="https://"+b+"/#G"+a.docs[0].id):"application/mxr"==a.docs[0].mimeType||"application/vnd.jgraph.mxfile.realtime"==a.docs[0].mimeType?(b=DriveClient.prototype.newAppHostname,b="https://"+b+"/#G"+a.docs[0].id):"application/vnd.google-apps.folder"==a.docs[0].mimeType&&(b="https://drive.google.com/#folders/"+a.docs[0].id);g.value=b}else LinkDialog.selectedDocs=null;g.focus()};"undefined"!=typeof google&&"undefined"!=typeof google.picker&&(c=mxUtils.button(mxResources.get("googlePlus"),
function(){b.spinner.spin(document.body,mxResources.get("authorizing"))&&b.drive.checkToken(mxUtils.bind(this,function(){b.spinner.stop();if(null==b.linkPicker){var a=gapi.auth.getToken().access_token,c=(new google.picker.DocsView).setIncludeFolders(!0).setSelectFolderEnabled(!0),a=(new google.picker.PickerBuilder).setAppId(b.drive.appId).setLocale(mxLanguage).setOAuthToken(a).addView(c).addView(google.picker.ViewId.IMAGE_SEARCH).addView(google.picker.ViewId.VIDEO_SEARCH).addView(google.picker.ViewId.MAPS);
"1"==urlParams.photos&&a.addView(google.picker.ViewId.PHOTOS).addView(google.picker.ViewId.PHOTO_ALBUMS).addView(google.picker.ViewId.PHOTO_UPLOAD);b.linkPicker=a.setCallback(function(a){LinkDialog.filePicked(a)}).build()}b.linkPicker.setVisible(!0);b.movePickersToTop()}))}),c.className="geBtn",f.appendChild(c));"undefined"!=typeof Dropbox&&"undefined"!=typeof Dropbox.choose&&(c=mxUtils.button(mxResources.get("dropbox"),function(){Dropbox.choose({linkType:"direct",cancel:function(){},success:function(a){g.value=
a[0].link}})}),c.className="geBtn",f.appendChild(c));"undefined"!=typeof WL&&"undefined"!=typeof WL.fileDialog&&null!=b.oneDrive&&(c=mxUtils.button(mxResources.get("oneDrive"),function(){b.spinner.spin(document.body,mxResources.get("authorizing"))&&b.oneDrive.execute(mxUtils.bind(this,function(a){null!=a&&(b.spinner.stop(),WL.fileDialog({mode:"open",select:"single"}).then(function(a){null!=a&&null!=a.data&&(null!=a.data.files&&0<a.data.files.length)&&(g.value=a.data.files[0].link)},function(a){}))}))}),
c.className="geBtn",f.appendChild(c));mxEvent.addListener(g,"keypress",function(a){13==a.keyCode&&(b.hideDialog(),d(g.value,LinkDialog.selectedDocs))});f.appendChild(k);b.editor.cancelFirst||f.appendChild(e);a.appendChild(f);this.container=a},AboutDialog=function(b){var c=document.createElement("div");c.style.marginTop="6px";c.setAttribute("align","center");var f=document.createElement("img");f.style.border="0px";f.setAttribute("width","176");f.setAttribute("width","151");f.style.width="170px";f.style.height=
"219px";f.setAttribute("src",IMAGE_PATH+"/logo-flat.png");c.appendChild(f);mxUtils.br(c);f=document.createElement("small");f.innerHTML="v "+EditorUi.VERSION;f.style.color="#505050";c.appendChild(f);mxUtils.br(c);mxUtils.br(c);f=document.createElement("small");f.style.color="#505050";f.innerHTML='\x26copy; 2005-2016 \x3ca href\x3d"https://www.jgraph.com/" style\x3d"color:inherit;" target\x3d"_blank"\x3eJGraph Ltd\x3c/a\x3e.\x3cbr\x3eAll Rights Reserved.';c.appendChild(f);mxEvent.addListener(c,"click",
function(c){"A"!=mxEvent.getSource(c).nodeName&&b.hideDialog()});this.container=c},FeedbackDialog=function(b){var c=document.createElement("div"),f=document.createElement("div");mxUtils.write(f,mxResources.get("sendYourFeedbackToDrawIo"));f.style.fontSize="18px";f.style.marginBottom="18px";c.appendChild(f);f=document.createElement("div");mxUtils.write(f,mxResources.get("yourEmailAddress")+" ("+mxResources.get("required")+")");c.appendChild(f);var d=document.createElement("input");d.setAttribute("type",
"text");d.style.marginTop="6px";d.style.width="600px";var a=mxUtils.button(mxResources.get("sendMessage"),function(){var a=(g.checked?"\nDiagram:\n"+b.getFileData():"")+"\nBrowser:\n"+navigator.userAgent;a.length>FeedbackDialog.maxAttachmentSize?b.alert(mxResources.get("drawingTooLarge")):(b.hideDialog(),b.spinner.spin(document.body)&&mxUtils.post("/email","email\x3d"+encodeURIComponent(d.value)+"\x26version\x3d"+encodeURIComponent(EditorUi.VERSION)+"\x26url\x3d"+encodeURIComponent(window.location.href)+
"\x26body\x3d"+encodeURIComponent("Feedback:\n"+l.value+a),function(a){b.spinner.stop();200==a.getStatus()?b.alert(mxResources.get("feedbackSent")):b.alert(mxResources.get("errorSendingFeedback"))},function(){b.spinner.stop();b.alert(mxResources.get("errorSendingFeedback"))}))});a.className="geBtn gePrimaryBtn";a.setAttribute("disabled","disabled");var e=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
mxEvent.addListener(d,"change",function(){0<d.value.length&&0<e.test(d.value)?a.removeAttribute("disabled"):a.setAttribute("disabled","disabled")});mxEvent.addListener(d,"keyup",function(){0<d.value.length&&e.test(d.value)?a.removeAttribute("disabled"):a.setAttribute("disabled","disabled")});c.appendChild(d);this.init=function(){d.focus()};var g=document.createElement("input");g.setAttribute("type","checkbox");g.setAttribute("checked","checked");g.defaultChecked=!0;f=document.createElement("p");f.style.marginTop=
"14px";f.appendChild(g);var k=document.createElement("span");mxUtils.write(k," "+mxResources.get("includeCopyOfMyDiagram"));f.appendChild(k);mxEvent.addListener(k,"click",function(a){g.checked=!g.checked;mxEvent.consume(a)});c.appendChild(f);f=document.createElement("div");mxUtils.write(f,mxResources.get("feedback"));c.appendChild(f);var l=document.createElement("textarea");l.style.resize="none";l.style.width="600px";l.style.height="140px";l.style.marginTop="6px";l.setAttribute("placeholder",mxResources.get("commentsNotes"));
c.appendChild(l);f=document.createElement("div");f.style.marginTop="26px";f.style.textAlign="right";k=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});k.className="geBtn";b.editor.cancelFirst?(f.appendChild(k),f.appendChild(a)):(f.appendChild(a),f.appendChild(k));c.appendChild(f);this.container=c};FeedbackDialog.maxAttachmentSize=1E6;
var RevisionDialog=function(b,c){var f=document.createElement("div"),d=document.createElement("h3");d.style.marginTop="0px";mxUtils.write(d,mxResources.get("revisionHistory"));f.appendChild(d);var a=document.createElement("div");a.style.position="absolute";a.style.overflow="auto";a.style.width="170px";a.style.height="378px";f.appendChild(a);var e=document.createElement("div");e.style.position="absolute";e.style.border="1px solid lightGray";e.style.left="199px";e.style.width="470px";e.style.height=
"376px";e.style.overflow="hidden";mxEvent.disableContextMenu(e);f.appendChild(e);var g=new Graph(e);g.setEnabled(!1);g.setPanning(!0);g.panningHandler.ignoreCell=!0;g.panningHandler.useLeftButtonForPanning=!0;g.minFitScale=null;g.maxFitScale=null;g.centerZoom=!0;g.getLinkForCell=function(){return null};Editor.MathJaxRender&&g.addListener(mxEvent.SIZE,mxUtils.bind(this,function(a,c){b.editor.graph.mathEnabled&&Editor.MathJaxRender(g.container)}));var k=new Spinner({lines:11,length:15,width:6,radius:10,
corners:1,rotate:0,direction:1,color:"#000",speed:1.4,trail:60,shadow:!1,hwaccel:!1,className:"spinner",zIndex:2E9,top:"50%",left:"50%"}),l=b.getCurrentFile(),m=null,n=null,p=null,r=mxUtils.button("",function(){null!=p&&g.zoomIn()});r.className="geSprite geSprite-zoomin";r.setAttribute("title",mxResources.get("zoomIn"));r.style.outline="none";r.style.border="none";r.style.margin="2px";r.setAttribute("disabled","disabled");mxUtils.setOpacity(r,20);var s=mxUtils.button("",function(){null!=p&&g.zoomOut()});
s.className="geSprite geSprite-zoomout";s.setAttribute("title",mxResources.get("zoomOut"));s.style.outline="none";s.style.border="none";s.style.margin="2px";s.setAttribute("disabled","disabled");mxUtils.setOpacity(s,20);var q=mxUtils.button("",function(){null!=p&&(g.maxFitScale=8,g.fit(8,!1),g.center())});q.className="geSprite geSprite-fit";q.setAttribute("title",mxResources.get("fit"));q.style.outline="none";q.style.border="none";q.style.margin="2px";q.setAttribute("disabled","disabled");mxUtils.setOpacity(q,
20);var t=mxUtils.button("",function(){null!=p&&(g.zoomActual(),g.center())});t.className="geSprite geSprite-actualsize";t.setAttribute("title",mxResources.get("actualSize"));t.style.outline="none";t.style.border="none";t.style.margin="2px";t.setAttribute("disabled","disabled");mxUtils.setOpacity(t,20);var u=document.createElement("div");u.style.position="absolute";u.style.textAlign="right";u.style.color="gray";u.style.marginTop="10px";u.style.backgroundColor="transparent";u.style.top="440px";u.style.right=
"32px";u.style.maxWidth="380px";u.style.cursor="default";var v=mxUtils.button(mxResources.get("download"),function(){if(null!=p){var a=b.getCurrentFile(),a=null!=a&&null!=a.getTitle()?a.getTitle():b.defaultFilename,c=mxUtils.getXml(p.documentElement);b.isLocalFileSave()?b.saveLocalFile(c,a,"text/xml"):(c="undefined"===typeof pako?"\x26xml\x3d"+encodeURIComponent(c):"\x26data\x3d"+encodeURIComponent(b.editor.graph.compress(c)),(new mxXmlRequest(SAVE_URL,"filename\x3d"+encodeURIComponent(a)+"\x26format\x3dxml"+
c)).simulate(document,"_blank"))}});v.className="geBtn";v.setAttribute("disabled","disabled");var z=mxUtils.button(mxResources.get("restore"),function(){null!=p&&b.confirm(mxResources.get("areYouSure"),function(){b.spinner.spin(document.body,mxResources.get("restoring"))&&l.save(!0,function(a){b.spinner.stop();b.editor.setGraphXml(p.documentElement);b.hideDialog()},function(a){b.spinner.stop();b.editor.setStatus("");b.handleError(a,null!=a?mxResources.get("errorSavingFile"):null)})})});z.className=
"geBtn";z.setAttribute("disabled","disabled");var y=document.createElement("select");y.setAttribute("disabled","disabled");y.style.maxWidth="80px";y.style.position="relative";y.style.top="-3px";y.style.marginRight="6px";y.style.display="none";var x=null;mxEvent.addListener(y,"change",function(a){null!=x&&x(a)});var D=mxUtils.button(mxResources.get("openInNewWindow"),function(){null!=p&&(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(mxUtils.getXml(p.documentElement)),
window.openWindow(b.getUrl()))});D.className="geBtn";D.setAttribute("disabled","disabled");var A=mxUtils.button(mxResources.get("show"),function(){null!=n&&window.open(n.getUrl())});A.className="geBtn gePrimaryBtn";A.setAttribute("disabled","disabled");d=document.createElement("div");d.style.position="absolute";d.style.top="482px";d.style.width="640px";d.style.textAlign="right";var B=document.createElement("div");B.className="geToolbarContainer";B.style.backgroundColor="transparent";B.style.padding=
"2px";B.style.border="none";B.style.left="199px";B.style.top="442px";var E=null;if(null==l||null==b.drive&&l.constructor==DriveFile||null==b.dropbox&&l.constructor==DropboxFile)e.style.display="none",B.style.display="none",mxUtils.write(a,mxResources.get("notAvailable"));else if(null!=c&&0<c.length){e.style.cursor="move";var F=document.createElement("table");F.style.border="1px solid lightGray";F.style.borderCollapse="collapse";F.style.borderSpacing="0px";F.style.width="100%";var G=document.createElement("tbody"),
H=(new Date).toDateString(),I=0;null!=b.currentPage&&null!=b.pages&&(I=mxUtils.indexOf(b.pages,b.currentPage));for(var L=c.length-1;0<=L;L--){var O=function(a){var d=new Date(a.modifiedDate),f=null;if(0<=d.getTime()){f=document.createElement("tr");f.style.borderBottom="1px solid lightGray";f.style.fontSize="12px";f.style.cursor="pointer";var B=document.createElement("td");B.style.padding="6px";B.style.whiteSpace="nowrap";a==c[c.length-1]?mxUtils.write(B,mxResources.get("current")):d.toDateString()===
H?mxUtils.write(B,d.toLocaleTimeString()):mxUtils.write(B,d.toLocaleDateString()+" "+d.toLocaleTimeString());f.appendChild(B);f.setAttribute("title",d.toLocaleDateString()+" "+d.toLocaleTimeString()+" "+b.formatFileSize(parseInt(a.fileSize))+(null!=a.lastModifyingUserName?" "+a.lastModifyingUserName:""));var E=function(a){k.stop();a=mxUtils.parseXml(a);var c=b.editor.extractGraphModel(a.documentElement,!0);if(null!=c){y.style.display="none";y.innerHTML="";p=a;parseSelectFunction=null;var m=function(a){var b=
a.getAttribute("background");if(null==b||""==b||b==mxConstants.NONE)b="#ffffff";e.style.backgroundColor=b;(new mxCodec(a.ownerDocument)).decode(a,g.getModel());g.maxFitScale=1;g.fit(8,!1);g.center();return a},n=function(a){null!=a&&(a=m(mxUtils.parseXml(b.editor.graph.decompress(mxUtils.getTextContent(a))).documentElement));return a};if("mxfile"==c.nodeName){var B=c.getElementsByTagName("diagram");0<B.length&&n(B[Math.min(I,B.length-1)]);if(1<B.length){y.removeAttribute("disabled");y.style.display=
"";for(a=0;a<B.length;a++)c=document.createElement("option"),mxUtils.write(c,B[a].getAttribute("name")||mxResources.get("pageWithNumber",[a+1])),c.setAttribute("value",a),a==I&&c.setAttribute("selected","selected"),y.appendChild(c)}x=function(){I=y.value;n(B[I])}}else m(c);u.innerHTML="";mxUtils.write(u,d.toLocaleDateString()+" "+d.toLocaleTimeString());u.setAttribute("title",f.getAttribute("title"));r.removeAttribute("disabled");s.removeAttribute("disabled");q.removeAttribute("disabled");t.removeAttribute("disabled");
if(null==l||!l.isRestricted())b.editor.graph.isEnabled()&&z.removeAttribute("disabled"),v.removeAttribute("disabled"),A.removeAttribute("disabled"),D.removeAttribute("disabled");mxUtils.setOpacity(r,60);mxUtils.setOpacity(s,60);mxUtils.setOpacity(q,60);mxUtils.setOpacity(t,60)}else y.style.display="none",y.innerHTML="",u.innerHTML="",mxUtils.write(u,mxResources.get("errorLoadingFile"))};mxEvent.addListener(f,"click",function(b){n!=a&&(k.stop(),null!=m&&(m.style.backgroundColor=""),n=a,m=f,m.style.backgroundColor=
"#ebf2f9",p=null,u.removeAttribute("title"),u.innerHTML=mxResources.get("loading")+"...",e.style.backgroundColor="#ffffff",g.getModel().clear(),z.setAttribute("disabled","disabled"),v.setAttribute("disabled","disabled"),r.setAttribute("disabled","disabled"),s.setAttribute("disabled","disabled"),t.setAttribute("disabled","disabled"),q.setAttribute("disabled","disabled"),D.setAttribute("disabled","disabled"),A.setAttribute("disabled","disabled"),y.setAttribute("disabled","disabled"),mxUtils.setOpacity(r,
20),mxUtils.setOpacity(s,20),mxUtils.setOpacity(q,20),mxUtils.setOpacity(t,20),k.spin(e),a.getXml(function(b){n==a&&E(b)},function(a){k.stop();y.style.display="none";y.innerHTML="";u.innerHTML="";mxUtils.write(u,mxResources.get("errorLoadingFile"))}),mxEvent.consume(b))});mxEvent.addListener(f,"dblclick",function(a){A.click();window.getSelection?window.getSelection().removeAllRanges():document.selection&&document.selection.empty();mxEvent.consume(a)},!1);G.appendChild(f)}return f}(c[L]);null!=O&&
L==c.length-1&&(E=O)}F.appendChild(G);a.appendChild(F)}else e.style.display="none",B.style.display="none",mxUtils.write(a,mxResources.get("noRevisions"));this.init=function(){null!=E&&E.click()};a=mxUtils.button(mxResources.get("close"),function(){b.hideDialog()});a.className="geBtn";B.appendChild(y);B.appendChild(r);B.appendChild(s);B.appendChild(t);B.appendChild(q);b.editor.cancelFirst?(d.appendChild(a),d.appendChild(v),d.appendChild(D),d.appendChild(z),d.appendChild(A)):(d.appendChild(v),d.appendChild(D),
d.appendChild(z),d.appendChild(A),d.appendChild(a));f.appendChild(d);f.appendChild(B);f.appendChild(u);this.container=f},AnimationWindow=function(b,c,f,d,a){function e(a){for(var b=[],c=0;c<a.length;c++){var d=B.view.getState(a[c]);if(null!=d){for(var e=B.cellRenderer.getShapesForState(d),f=0;f<e.length;f++)null!=e[f]&&null!=e[f].node&&b.push(e[f].node);null!=d.control&&null!=d.control.node&&b.push(d.control.node)}}return b}function g(a){if(null!=a){for(var b=0;b<a.length;b++)mxUtils.setPrefixedStyle(a[b].style,
"transition",null),a[b].style.opacity="0";window.setTimeout(function(){for(var b=0;b<a.length;b++)mxUtils.setPrefixedStyle(a[b].style,"transition","all 1s ease-in-out"),a[b].style.opacity="1"},0)}}function k(a){if(null!=a){for(var b=0;b<a.length;b++)mxUtils.setPrefixedStyle(a[b].style,"transition",null),a[b].style.opacity="1";window.setTimeout(function(){for(var b=0;b<a.length;b++)mxUtils.setPrefixedStyle(a[b].style,"transition","all 1s ease-in-out"),a[b].style.opacity="0"},0)}}function l(a){var b=
a.absolutePoints.slice(),c=a.segments,d=a.length,e=b.length;return{execute:function(f,g){if(null!=a.shape){for(var k=[b[0]],l=d*f/g,m=1;m<e;m++)if(l<=c[m-1]){k.push(new mxPoint(b[m-1].x+(b[m].x-b[m-1].x)*l/c[m-1],b[m-1].y+(b[m].y-b[m-1].y)*l/c[m-1]));break}else l-=c[m-1],k.push(b[m]);a.shape.points=k;a.shape.redraw()}},stop:function(){null!=a.shape&&(a.shape.points=b,a.shape.redraw())}}}function m(a){var b=new mxRectangle.fromRectangle(a.shape.bounds),c=null;null!=a.text&&null!=a.text.node&&null!=
a.text.node.firstChild&&(c=a.text.node.firstChild.getAttribute("transform"));return{execute:function(d,e){if(null!=a.shape){var f=d/e;a.shape.bounds=new mxRectangle(b.x,b.y,b.width*f,b.height);a.shape.redraw();null!=c&&a.text.node.firstChild.setAttribute("transform",c+" scale("+f+",1)")}},stop:function(){null!=a.shape&&(a.shape.bounds=b,a.shape.redraw(),null!=c&&a.text.node.firstChild.setAttribute("transform",c))}}}function n(a,b,c){function d(){if(k==b){window.clearInterval(n);for(var a=0;a<e.length;a++)e[a].stop()}else{for(a=
0;a<e.length;a++)e[a].execute(k,b);k++}}b=null!=b?b:30;c=null!=c?c:30;for(var e=[],f=0;f<a.length;f++){var g=B.view.getState(a[f]);null!=g&&null!=g.shape&&B.model.isEdge(g.cell)&&null!=g.absolutePoints&&1<g.absolutePoints.length?e.push(l(g)):null!=g&&B.model.isVertex(g.cell)&&(null!=g.shape&&null!=g.shape.bounds)&&e.push(m(g))}var k=0,n=window.setInterval(d,c);d()}function p(a,b,c){c=null!=c?c:{};c[a.id]=b;for(var d=a.getChildCount(),e=0;e<d;e++)p(a.getChildAt(e),b.getChildAt(e),c);return c}function r(){if(!F){F=
E=!0;B.getModel().clear();B.getModel().setRoot(B.cloneCells([b.editor.graph.getModel().getRoot()])[0]);B.maxFitScale=1;B.fit(8,!1);B.center();B.getModel().beginUpdate();try{for(var a in B.getModel().cells){var c=B.getModel().cells[a];if(B.getModel().isVertex(c)||B.getModel().isEdge(c))B.setCellStyles("opacity","0",[c]),B.setCellStyles("noLabel","1",[c])}}finally{B.getModel().endUpdate()}var d=p(b.editor.graph.getModel().getRoot(),B.getModel().getRoot()),f=x.value.split("\n"),l=0,m=function(){if(E&&
l<f.length){var b=f[l].split(" ");if(0<b.length)if("wait"==b[0]&&1<b.length)window.setTimeout(function(){l++;m()},parseFloat(b[1]));else{if(1<b.length){var c=d[b[1]];null!=c?"show"==b[0]?(B.setCellStyles("opacity","100",[c]),B.setCellStyles("noLabel",null,[c]),2<b.length&&"fade"==b[2]?g(e([c])):n([c])):"hide"==b[0]&&k(e([c])):console.log("cell not found",a,f[l])}l++;m()}}else F=!1};m()}}var s=document.createElement("table");s.style.width="100%";s.style.height="100%";var q=document.createElement("tbody"),
t=document.createElement("tr"),u=document.createElement("td");u.style.width="140px";var v=document.createElement("td"),z=document.createElement("tr");z.style.height="40px";var y=document.createElement("td");y.setAttribute("colspan","2");var x=document.createElement("textarea");x.style.overflow="auto";x.style.width="100%";x.style.height="100%";u.appendChild(x);var D=b.editor.graph.getModel().getRoot();null!=D.value&&"object"==typeof D.value&&(x.value=D.value.getAttribute("animation"));var A=document.createElement("div");
A.style.border="1px solid lightGray";A.style.background="#ffffff";A.style.width="100%";A.style.height="100%";A.style.overflow="auto";mxEvent.disableContextMenu(A);v.appendChild(A);var B=new Graph(A);B.setEnabled(!1);B.setPanning(!0);B.foldingEnabled=!1;B.panningHandler.ignoreCell=!0;B.panningHandler.useLeftButtonForPanning=!0;B.minFitScale=null;B.maxFitScale=null;B.centerZoom=!0;var E=!1,F=!1,A=mxUtils.button("Fade In",function(){var a=b.editor.graph.getSelectionCells();if(0<a.length){for(var c=0;c<
a.length;c++)x.value=x.value+"show "+a[c].id+" fade\n";x.value+="wait 1000\n"}});y.appendChild(A);A=mxUtils.button("Wipe In",function(){var a=b.editor.graph.getSelectionCells();if(0<a.length){for(var c=0;c<a.length;c++)x.value=x.value+"show "+a[c].id+"\n";x.value+="wait 1000\n"}});y.appendChild(A);A=mxUtils.button("Fade Out",function(){var a=b.editor.graph.getSelectionCells();if(0<a.length){for(var c=0;c<a.length;c++)x.value=x.value+"hide "+a[c].id+"\n";x.value+="wait 1000\n"}});y.appendChild(A);
A=mxUtils.button("Wait",function(){x.value+="wait 1000\n"});y.appendChild(A);A=mxUtils.button("Preview",function(){r()});y.appendChild(A);A=mxUtils.button("Stop",function(){E=!1;B.getModel().clear()});y.appendChild(A);A=mxUtils.button("Apply",function(){b.editor.graph.setAttributeForCell(D,"animation",x.value)});y.appendChild(A);D=b.editor.graph.getModel().getRoot();t.appendChild(u);t.appendChild(v);q.appendChild(t);z.appendChild(y);q.appendChild(z);s.appendChild(q);this.window=new mxWindow("Animation",
s,c,f,d,a,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0)},AuthDialog=function(b,c,f,d){var a=document.createElement("div");a.style.textAlign="center";var e=document.createElement("p");e.style.fontSize="16pt";e.style.padding="0px";e.style.margin="0px";e.style.color="gray";mxUtils.write(e,mxResources.get("authorizationRequired"));var g="Unknown",k=document.createElement("img");k.setAttribute("border",
"0");k.setAttribute("align","absmiddle");k.style.marginRight="10px";c==b.drive?(g=mxResources.get("googleDrive"),k.src=IMAGE_PATH+"/google-drive-logo-white.svg"):c==b.dropbox?(g=mxResources.get("dropbox"),k.src=IMAGE_PATH+"/dropbox-logo-white.svg"):c==b.oneDrive&&(g=mxResources.get("oneDrive"),k.src=IMAGE_PATH+"/onedrive-logo-white.svg");c=document.createElement("p");mxUtils.write(c,mxResources.get("authorizeThisAppIn",[g]));var l=document.createElement("input");l.setAttribute("type","checkbox");
g=mxUtils.button(mxResources.get("authorize"),function(){b.hideDialog(!1);d(l.checked)});g.insertBefore(k,g.firstChild);g.style.marginTop="6px";g.className="geBigButton";a.appendChild(e);a.appendChild(c);a.appendChild(g);f&&(f=document.createElement("p"),f.style.marginTop="20px",f.appendChild(l),e=document.createElement("span"),mxUtils.write(e," "+mxResources.get("rememberMe")),f.appendChild(e),a.appendChild(f),l.checked=!0,l.defaultChecked=!0,mxEvent.addListener(e,"click",function(a){l.checked=!l.checked;
mxEvent.consume(a)}));this.container=a},MoreShapesDialog=function(b,c,f){f=null!=f?f:b.sidebar.entries;var d=document.createElement("div");if(c){c=document.createElement("div");c.className="geDialogTitle";mxUtils.write(c,mxResources.get("shapes"));c.style.position="absolute";c.style.top="0px";c.style.left="0px";c.style.lineHeight="40px";c.style.height="40px";c.style.right="0px";mxClient.IS_QUIRKS&&(c.style.width="718px");var a=document.createElement("div"),e=document.createElement("div");a.style.position=
"absolute";a.style.top="40px";a.style.left="0px";a.style.width="202px";a.style.bottom="60px";a.style.overflow="auto";mxClient.IS_QUIRKS&&(a.style.height="437px",a.style.marginTop="1px");e.style.position="absolute";e.style.left="202px";e.style.right="0px";e.style.top="40px";e.style.bottom="60px";e.style.overflow="auto";e.style.borderLeft="1px solid rgb(211, 211, 211)";e.style.textAlign="center";mxClient.IS_QUIRKS&&(e.style.width=parseInt(c.style.width)-202+"px",e.style.height=a.style.height,e.style.marginTop=
a.style.marginTop);var g=null,k=[],l=document.createElement("div");l.style.position="relative";l.style.left="0px";l.style.right="0px";for(var m=0;m<f.length;m++)(function(c){var d=l.cloneNode(!1);d.style.fontWeight="bold";d.style.backgroundColor="#e5e5e5";d.style.padding="6px 0px 6px 20px";mxUtils.write(d,c.title);a.appendChild(d);for(var f=0;f<c.entries.length;f++)(function(c){var d=l.cloneNode(!1);d.style.cursor="pointer";d.style.padding="4px 0px 4px 20px";var n=document.createElement("input");
n.setAttribute("type","checkbox");n.checked=b.sidebar.isEntryVisible(c.id);n.defaultChecked=n.checked;d.appendChild(n);mxUtils.write(d," "+c.title);a.appendChild(d);var q=function(a){if(null==a||"INPUT"!=mxEvent.getSource(a).nodeName)null!=c.imageCallback?c.imageCallback(e):null!=c.image?e.innerHTML='\x3cimg border\x3d"0" src\x3d"'+c.image+'"/\x3e':(e.innerHTML="\x3cbr\x3e",mxUtils.write(e,mxResources.get("noPreview"))),null!=g&&(g.style.backgroundColor=""),g=d,g.style.backgroundColor="#ebf2f9",null!=
a&&mxEvent.consume(a)};mxEvent.addListener(d,"click",q);mxEvent.addListener(d,"dblclick",function(a){n.checked=!n.checked;mxEvent.consume(a)});k.push(function(){return n.checked?c.id:null});0==m&&0==f&&q()})(c.entries[f])})(f[m]);d.style.padding="30px";d.appendChild(c);d.appendChild(a);d.appendChild(e);f=document.createElement("div");f.className="geDialogFooter";f.style.position="absolute";f.style.paddingRight="16px";f.style.color="gray";f.style.left="0px";f.style.right="0px";f.style.bottom="0px";
f.style.height="60px";f.style.lineHeight="52px";mxClient.IS_QUIRKS&&(f.style.width=c.style.width,f.style.paddingTop="12px");var n=document.createElement("input");n.setAttribute("type","checkbox");if(isLocalStorage||mxClient.IS_CHROMEAPP)c=document.createElement("span"),c.style.paddingRight="20px",c.appendChild(n),mxUtils.write(c," "+mxResources.get("rememberThisSetting")),n.checked=!0,n.defaultChecked=!0,mxEvent.addListener(c,"click",function(a){mxEvent.getSource(a)!=n&&(n.checked=!n.checked,mxEvent.consume(a))}),
mxClient.IS_QUIRKS&&(c.style.position="relative",c.style.top="-6px"),f.appendChild(c);c=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});c.className="geBtn";var p=mxUtils.button(mxResources.get("apply"),function(){b.hideDialog();for(var a=[],c=0;c<k.length;c++){var d=k[c].apply(this,arguments);null!=d&&a.push(d)}b.sidebar.showEntries(a.join(";"),n.checked,!0)});p.className="geBtn gePrimaryBtn"}else{var r=document.createElement("table"),s=document.createElement("tbody");d.style.height=
"100%";d.style.overflow="auto";var q=document.createElement("tr");r.style.width="100%";c=document.createElement("td");var p=document.createElement("td"),t=document.createElement("td"),u=mxUtils.bind(this,function(a,c,d){var e=document.createElement("input");e.type="checkbox";r.appendChild(e);e.checked=b.sidebar.isEntryVisible(d);var f=document.createElement("span");mxUtils.write(f,c);c=document.createElement("div");c.style.display="block";c.appendChild(e);c.appendChild(f);mxEvent.addListener(f,"click",
function(a){e.checked=!e.checked;mxEvent.consume(a)});a.appendChild(c);return function(){return e.checked?d:null}});q.appendChild(c);q.appendChild(p);q.appendChild(t);s.appendChild(q);r.appendChild(s);for(var k=[],v=0,m=0;m<f.length;m++)for(s=0;s<f[m].entries.length;s++)v++;for(var z=[c,p,t],y=0,m=0;m<f.length;m++)(function(a){for(var b=0;b<a.entries.length;b++){var c=a.entries[b];k.push(u(z[Math.floor(y/(v/3))],c.title,c.id));y++}})(f[m]);d.appendChild(r);f=document.createElement("div");f.style.marginTop=
"18px";f.style.textAlign="center";n=document.createElement("input");isLocalStorage&&(n.setAttribute("type","checkbox"),n.checked=!0,n.defaultChecked=!0,f.appendChild(n),c=document.createElement("span"),mxUtils.write(c," "+mxResources.get("rememberThisSetting")),f.appendChild(c),mxEvent.addListener(c,"click",function(a){n.checked=!n.checked;mxEvent.consume(a)}));d.appendChild(f);c=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});c.className="geBtn";p=mxUtils.button(mxResources.get("apply"),
function(){for(var a=["search"],c=0;c<k.length;c++){var d=k[c].apply(this,arguments);null!=d&&a.push(d)}b.sidebar.showEntries(0<a.length?a.join(";"):"",n.checked);b.hideDialog()});p.className="geBtn gePrimaryBtn";f=document.createElement("div");f.style.marginTop="26px";f.style.textAlign="right"}b.editor.cancelFirst?(f.appendChild(c),f.appendChild(p)):(f.appendChild(p),f.appendChild(c));d.appendChild(f);this.container=d},PluginsDialog=function(b){function c(){if(0==a.length)d.innerHTML=mxResources.get("noPlugins");
else{d.innerHTML="";for(var e=0;e<a.length;e++){var f=document.createElement("span");f.style.whiteSpace="nowrap";var g=document.createElement("span");g.className="geSprite geSprite-delete";g.style.position="relative";g.style.cursor="pointer";g.style.top="5px";g.style.marginRight="4px";g.style.display="inline-block";f.appendChild(g);mxUtils.write(f,a[e]);d.appendChild(f);mxUtils.br(d);mxEvent.addListener(g,"click",function(d){return function(){b.confirm(window.parent.mxResources.get("delete")+' "'+
a[d]+'"?',function(){a.splice(d,1);c()})}}(e))}}}var f=document.createElement("div"),d=document.createElement("div");d.style.height="120px";d.style.overflow="auto";var a=mxSettings.getPlugins().slice();f.appendChild(d);c();var e=mxUtils.button(mxResources.get("add"),function(){var d="",e=urlParams.p;if(null!=e&&0<e.length){for(var f=e.split(";"),e=0;e<f.length;e++){var g=App.pluginRegistry[f[e]];null!=g&&(d+=g+";")}";"==d.charAt(d.length-1)&&(d=d.substring(0,d.length-1))}d=new FilenameDialog(b,d,
mxResources.get("add"),function(b){if(null!=b&&0<b.length){f=b.split(";");for(b=0;b<f.length;b++)0<f[b].length&&0>mxUtils.indexOf(a,f[b])&&a.push(f[b]);c()}},mxResources.get("enterValue")+" ("+mxResources.get("url")+")");b.showDialog(d.container,300,80,!0,!0);d.init()});e.className="geBtn";var g=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});g.className="geBtn";var k=mxUtils.button(mxResources.get("apply"),function(){mxSettings.setPlugins(a);mxSettings.save();b.hideDialog();
b.alert(mxResources.get("restartForChangeRequired"))});k.className="geBtn gePrimaryBtn";var l=document.createElement("div");l.style.marginTop="14px";l.style.textAlign="right";b.editor.cancelFirst?(l.appendChild(g),l.appendChild(e),l.appendChild(k)):(l.appendChild(e),l.appendChild(k),l.appendChild(g));f.appendChild(l);this.container=f},EditGeometryDialog=function(b,c){var f=b.editor.graph,d=1==c.length?f.getCellGeometry(c[0]):null,a=document.createElement("div"),e=document.createElement("table"),g=
document.createElement("tbody"),k=document.createElement("tr"),l=document.createElement("td"),m=document.createElement("td");e.style.paddingLeft="6px";mxUtils.write(l,mxResources.get("left")+":");var n=document.createElement("input");n.setAttribute("type","text");n.style.width="100px";n.value=null!=d?d.x:"";this.init=function(){n.focus();n.select()};m.appendChild(n);k.appendChild(l);k.appendChild(m);g.appendChild(k);k=document.createElement("tr");l=document.createElement("td");m=document.createElement("td");
mxUtils.write(l,mxResources.get("top")+":");var p=document.createElement("input");p.setAttribute("type","text");p.style.width="100px";p.value=null!=d?d.y:"";m.appendChild(p);k.appendChild(l);k.appendChild(m);g.appendChild(k);k=document.createElement("tr");l=document.createElement("td");m=document.createElement("td");mxUtils.write(l,mxResources.get("width")+":");var r=document.createElement("input");r.setAttribute("type","text");r.style.width="100px";r.value=null!=d?d.width:"";m.appendChild(r);k.appendChild(l);
k.appendChild(m);g.appendChild(k);k=document.createElement("tr");l=document.createElement("td");m=document.createElement("td");mxUtils.write(l,mxResources.get("height")+":");var s=document.createElement("input");s.setAttribute("type","text");s.style.width="100px";s.value=null!=d?d.height:"";m.appendChild(s);k.appendChild(l);k.appendChild(m);g.appendChild(k);k=document.createElement("tr");l=document.createElement("td");m=document.createElement("td");mxUtils.write(l,mxResources.get("rotation")+":");
var q=document.createElement("input");q.setAttribute("type","text");q.style.width="100px";q.value=1==c.length?mxUtils.getValue(f.getCellStyle(c[0]),mxConstants.STYLE_ROTATION,0):"";m.appendChild(q);k.appendChild(l);k.appendChild(m);g.appendChild(k);e.appendChild(g);a.appendChild(e);var d=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()}),t=mxUtils.button(mxResources.get("apply"),function(){b.hideDialog();f.getModel().beginUpdate();try{for(var a=0;a<c.length;a++){var d=f.getCellGeometry(c[a]);
null!=d&&(d=d.clone(),f.isCellMovable(c[a])&&(0<mxUtils.trim(n.value).length&&(d.x=Number(n.value)),0<mxUtils.trim(p.value).length&&(d.y=Number(p.value))),f.isCellResizable(c[a])&&(0<mxUtils.trim(r.value).length&&(d.width=Number(r.value)),0<mxUtils.trim(s.value).length&&(d.height=Number(s.value))),f.getModel().setGeometry(c[a],d));0<mxUtils.trim(q.value).length&&f.setCellStyles(mxConstants.STYLE_ROTATION,Number(q.value),[c[a]])}}finally{f.getModel().endUpdate()}});mxEvent.addListener(a,"keypress",
function(a){13==a.keyCode&&t.click()});e=document.createElement("div");e.style.marginTop="20px";e.style.textAlign="right";b.editor.cancelFirst?(e.appendChild(d),e.appendChild(t)):(e.appendChild(t),e.appendChild(d));a.appendChild(e);this.container=a},LibraryDialog=function(b,c,f,d,a,e){function g(a){for(a=document.elementFromPoint(a.clientX,a.clientY);null!=a&&a.parentNode!=s;)a=a.parentNode;var b=null;if(null!=a)for(var c=s.firstChild,b=0;null!=c&&c!=a;)c=c.nextSibling,b++;return b}function k(a,c,
d,e,f,l,m,p,r){try{if(null==c||"image/"==c.substring(0,6))if(null==a&&null!=m||null==t[a]){s.style.backgroundImage="";q.style.display="none";var y=f,A=l;if(f>b.maxImageSize||l>b.maxImageSize){var C=Math.min(1,Math.min(b.maxImageSize/Math.max(1,f)),b.maxImageSize/Math.max(1,l));f*=C;l*=C}y>A?(A=Math.round(A*u/y),y=u):(y=Math.round(y*v/A),A=v);var N=document.createElement("div");N.setAttribute("draggable","true");N.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";N.style.position="relative";
N.style.cursor="move";mxUtils.setPrefixedStyle(N.style,"transition","transform .1s ease-in-out");if(null!=a){var P=document.createElement("img");P.setAttribute("src",D.convert(a));P.style.width=y+"px";P.style.height=A+"px";P.style.margin="10px";P.style.paddingBottom=Math.floor((v-A)/2)+"px";P.style.paddingLeft=Math.floor((u-y)/2)+"px";N.appendChild(P)}else if(null!=m){var M=b.stringToCells(b.editor.graph.decompress(m.xml));0<M.length&&(b.sidebar.createThumb(M,u,v,N,null,!0,!1),N.firstChild.style.display=
mxClient.IS_QUIRKS?"inline":"inline-block",N.firstChild.style.cursor="")}var V=document.createElement("img");V.setAttribute("src",Editor.closeImage);V.setAttribute("border","0");V.setAttribute("title",mxResources.get("delete"));V.setAttribute("align","top");V.style.paddingTop="4px";V.style.marginLeft="-22px";V.style.cursor="pointer";mxEvent.addListener(V,"dragstart",function(a){mxEvent.consume(a)});null==a&&null!=m&&(V.style.position="relative");(function(b,c){mxEvent.addListener(V,"click",function(d){t[a]=
null;for(var e=0;e<n.length;e++)if(null!=a&&n[e].data==c||null!=m&&n[e].xml==m.xml){n.splice(e,1);break}N.parentNode.removeChild(b);0==n.length&&(s.style.backgroundImage="url('"+IMAGE_PATH+"/droptarget.png')",q.style.display="");mxEvent.consume(d)});mxEvent.addListener(V,"dblclick",function(a){mxEvent.consume(a)})})(N,a,m);N.appendChild(V);N.style.marginBottom="30px";var J=document.createElement("div");J.style.position="absolute";J.style.boxSizing="border-box";J.style.bottom="-18px";J.style.left=
"10px";J.style.right="10px";J.style.backgroundColor="#ffffff";J.style.overflow="hidden";J.style.textAlign="center";var K=null;null!=a?(K={data:a,w:f,h:l,title:r},null!=p&&(K.aspect=p),t[a]=P,n.push(K)):null!=m&&(m.aspect="fixed",n.push(m),K=m);var R=function(){J.innerHTML="";J.style.cursor="pointer";J.style.whiteSpace="nowrap";J.style.textOverflow="ellipsis";mxUtils.write(J,null!=K.title&&0<K.title.length?K.title:mxResources.get("untitled"));J.style.color=null==K.title||0==K.title.length?"#d0d0d0":
""};mxEvent.addListener(J,"keydown",function(a){13==a.keyCode&&null!=x&&(x(),x=null,mxEvent.consume(a))});R();N.appendChild(J);mxEvent.addListener(J,"mousedown",function(a){mxEvent.consume(a)});f=function(a){if(!mxClient.IS_IOS&&!mxClient.IS_QUIRKS&&!mxClient.IS_FF&&(null==document.documentMode||9<document.documentMode)){if("true"!=J.getAttribute("contentEditable")){null!=x&&(x(),x=null);if(null==K.title||0==K.title.length)J.innerHTML="";J.style.textOverflow="";J.style.whiteSpace="";J.style.cursor=
"text";J.style.color="";J.setAttribute("contentEditable","true");J.focus();document.execCommand("selectAll",!1,null);x=function(){J.removeAttribute("contentEditable");J.style.cursor="pointer";K.title=J.innerHTML;R()}}}else{var c=new FilenameDialog(b,K.title||"",mxResources.get("ok"),function(a){null!=a&&(K.title=a,R())},mxResources.get("enterValue"));b.showDialog(c.container,300,80,!0,!0);c.init()}mxEvent.consume(a)};mxEvent.addListener(J,"click",f);mxEvent.addListener(N,"dblclick",f);s.appendChild(N);
mxEvent.addListener(N,"dragstart",function(b){null==a&&null!=m&&(V.style.visibility="hidden",J.style.visibility="hidden");mxClient.IS_FF&&null!=m.xml&&b.dataTransfer.setData("Text",m.xml);z=g(b);mxClient.IS_GC&&(N.style.opacity="0.9");window.setTimeout(function(){mxUtils.setPrefixedStyle(N.style,"transform","scale(0.5,0.5)");mxUtils.setOpacity(N,30);V.style.visibility="";J.style.visibility=""},0)});mxEvent.addListener(N,"dragend",function(a){"hidden"==V.style.visibility&&(V.style.visibility="",J.style.visibility=
"");z=null;mxUtils.setOpacity(N,100);mxUtils.setPrefixedStyle(N.style,"transform",null)})}else b.handleError({message:mxResources.get("fileExists")});else{f=!1;try{if(null!=a&&"\x3cmxlibrary"==a.substring(0,10)){A=mxUtils.parseXml(a);y=JSON.parse(mxUtils.getTextContent(A.documentElement));if(null!=y&&0<y.length)for(l=0;l<y.length;l++)null!=y[l].xml?k(null,null,0,0,0,0,y[l]):k(y[l].data,null,0,0,y[l].w,y[l].h,null,"fixed",y[l].title);b.spinner.stop();f=!0}}catch(X){}f||(b.spinner.stop(),b.handleError({message:mxResources.get("errorLoadingFile")}))}}catch(da){console.log("e",
da)}return null}function l(a){a.dataTransfer.dropEffect=null!=z?"move":"copy";a.stopPropagation();a.preventDefault()}function m(a){a.stopPropagation();a.preventDefault();y=g(a);if(null!=z)null!=y&&y<s.children.length?(n.splice(y>z?y-1:y,0,n.splice(z,1)[0]),s.insertBefore(s.children[z],s.children[y])):(n.push(n.splice(z,1)[0]),s.appendChild(s.children[z]));else if(0<a.dataTransfer.files.length)b.importFiles(a.dataTransfer.files,0,0,b.maxImageSize,function(b,c,d,e,f,g,l){k(b,c,d,e,f,g,l,"fixed",mxEvent.isAltDown(a)?
null:l.substring(0,l.lastIndexOf(".")).replace(/_/g," "))});else if(0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")){var c=decodeURIComponent(a.dataTransfer.getData("text/uri-list"));(/(\.jpg)($|\?)/i.test(c)||/(\.png)($|\?)/i.test(c)||/(\.gif)($|\?)/i.test(c)||/(\.svg)($|\?)/i.test(c))&&b.loadImage(c,function(a){k(c,null,0,0,a.width,a.height)})}a.stopPropagation();a.preventDefault()}var n=[];f=document.createElement("div");f.style.height="100%";var p=document.createElement("div");p.style.whiteSpace=
"nowrap";p.style.height="40px";f.appendChild(p);mxUtils.write(p,mxResources.get("filename")+":");null==c&&(c=b.defaultLibraryName+".xml");var r=document.createElement("input");r.setAttribute("value",c);r.style.marginRight="20px";r.style.marginLeft="10px";r.style.width="500px";null!=a&&!a.isRenamable()&&r.setAttribute("disabled","true");this.init=function(){if(null==a||a.isRenamable())r.focus(),mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?r.select():document.execCommand("selectAll",
!1,null)};p.appendChild(r);var s=document.createElement("div");s.style.borderWidth="1px 0px 1px 0px";s.style.borderColor="#d3d3d3";s.style.borderStyle="solid";s.style.marginTop="6px";s.style.overflow="auto";s.style.height="340px";s.style.backgroundPosition="center center";s.style.backgroundRepeat="no-repeat";0==n.length&&Graph.fileSupport&&(s.style.backgroundImage="url('"+IMAGE_PATH+"/droptarget.png')");var q=document.createElement("div");q.style.position="absolute";q.style.width="640px";q.style.top=
"260px";q.style.textAlign="center";q.style.fontSize="22px";q.style.color="#a0c3ff";mxUtils.write(q,mxResources.get("dragImagesHere"));f.appendChild(q);var t={},u=100,v=100,z=null,y=null,x=null;c=function(a){"true"!=mxEvent.getSource(a).getAttribute("contentEditable")&&null!=x&&(x(),x=null,mxEvent.consume(a))};mxEvent.addListener(s,"mousedown",c);mxEvent.addListener(s,"pointerdown",c);mxEvent.addListener(s,"touchstart",c);var D=new mxUrlConverter;if(null!=d)for(c=0;c<d.length;c++)p=d[c],k(p.data,null,
0,0,p.w,p.h,p);mxEvent.addListener(s,"dragleave",function(a){q.style.cursor="";for(var b=mxEvent.getSource(a);null!=b;){if(b==s||b==q){a.stopPropagation();a.preventDefault();break}b=b.parentNode}});mxEvent.addListener(s,"dragover",l);mxEvent.addListener(s,"drop",m);mxEvent.addListener(q,"dragover",l);mxEvent.addListener(q,"drop",m);f.appendChild(s);d=document.createElement("div");d.style.textAlign="right";d.style.marginTop="20px";c=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog(!0)});
c.setAttribute("id","btnCancel");c.className="geBtn";b.editor.cancelFirst&&d.appendChild(c);!window.chrome||!chrome.app||!chrome.app.runtime?(p=mxUtils.button(mxResources.get("export"),function(){var a=b.createLibraryDataFromImages(n),c=r.value;/(\.xml)$/i.test(c)||(c+=".xml");b.isLocalFileSave()?b.saveLocalFile(a,c,"text/xml"):(new mxXmlRequest(SAVE_URL,"filename\x3d"+encodeURIComponent(c)+"\x26format\x3dxml\x26xml\x3d"+encodeURIComponent(a))).simulate(document,"_blank")}),p.setAttribute("id","btnDownload"),
p.className="geBtn",d.appendChild(p)):r.setAttribute("disabled","disabled");var A=document.createElement("input");A.setAttribute("multiple","multiple");A.setAttribute("type","file");null==document.documentMode&&(mxEvent.addListener(A,"change",function(a){b.importFiles(A.files,0,0,b.maxImageSize,function(a,b,c,d,e,f,g){k(a,b,c,d,e,f,g,"fixed");A.value=""})}),p=mxUtils.button(mxResources.get("import"),function(){null!=x&&(x(),x=null);A.click()}),p.setAttribute("id","btnAddImage"),p.className="geBtn",
d.appendChild(p));p=mxUtils.button(mxResources.get("addImageUrl"),function(){null!=x&&(x(),x=null);b.showImageDialog(mxResources.get("addImageUrl"),"",function(a,b,c){if(null!=a){if("data:image/"==a.substring(0,11)){var d=a.indexOf(",");0<d&&(a=a.substring(0,d)+";base64,"+a.substring(d+1))}k(a,null,0,0,b,c)}})});p.setAttribute("id","btnAddImageUrl");p.className="geBtn";d.appendChild(p);this.saveBtnClickHandler=function(a,c,d,e){b.saveLibrary(a,c,d,e)};p=mxUtils.button(mxResources.get("save"),mxUtils.bind(this,
function(){null!=x&&(x(),x=null);this.saveBtnClickHandler(r.value,n,a,e)}));p.setAttribute("id","btnSave");p.className="geBtn gePrimaryBtn";d.appendChild(p);b.editor.cancelFirst||d.appendChild(c);f.appendChild(d);this.container=f},EditShapeDialog=function(b,c,f,d,a){d=null!=d?d:300;a=null!=a?a:120;var e,g,k=document.createElement("table"),l=document.createElement("tbody");k.style.cellPadding="4px";e=document.createElement("tr");g=document.createElement("td");g.setAttribute("colspan","2");g.style.fontSize=
"10pt";mxUtils.write(g,f);e.appendChild(g);l.appendChild(e);e=document.createElement("tr");g=document.createElement("td");var m=document.createElement("textarea");m.style.outline="none";m.style.resize="none";m.style.width=d-200+"px";m.style.height=a+"px";this.textarea=m;this.init=function(){m.focus();m.scrollTop=0};g.appendChild(m);e.appendChild(g);g=document.createElement("td");f=document.createElement("div");f.style.position="relative";f.style.border="1px solid gray";f.style.top="6px";f.style.width=
"200px";f.style.height=a+4+"px";f.style.overflow="hidden";f.style.marginBottom="16px";mxEvent.disableContextMenu(f);g.appendChild(f);var n=new Graph(f);n.setEnabled(!1);var p=b.editor.graph.cloneCells([c])[0];n.addCells([p]);f=n.view.getState(p);var r="";null!=f.shape&&null!=f.shape.stencil&&(r=mxUtils.getPrettyXml(f.shape.stencil.desc));mxUtils.write(m,r||"");f=n.getGraphBounds();a=Math.min(160/f.width,(a-40)/f.height);n.view.scaleAndTranslate(a,20/a-f.x,20/a-f.y);e.appendChild(g);l.appendChild(e);
e=document.createElement("tr");g=document.createElement("td");g.setAttribute("colspan","2");g.style.paddingTop="2px";g.style.whiteSpace="nowrap";g.setAttribute("align","right");a=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});a.className="geBtn";b.editor.cancelFirst&&g.appendChild(a);b.isOffline()||(f=mxUtils.button(mxResources.get("help"),function(){window.open("https://support.draw.io/display/DO/Editing+Shapes")}),f.className="geBtn",g.appendChild(f));var s=function(a,c,d){var e=
m.value,f=mxUtils.parseXml(e),e=mxUtils.getPrettyXml(f.documentElement),f=f.documentElement.getElementsByTagName("parsererror");if(null!=f&&0<f.length)b.showError(mxResources.get("error"),mxResources.get("containsValidationErrors"),mxResources.get("ok"));else if(d&&b.hideDialog(),f=!a.model.contains(c),!d||f||e!=r){e=b.editor.graph.compress(e);a.getModel().beginUpdate();try{if(f){var g=b.editor.graph.getInsertPoint();c.geometry.x=g.x;c.geometry.y=g.y;a.addCell(c)}a.setCellStyles(mxConstants.STYLE_SHAPE,
"stencil("+e+")",[c])}catch(k){throw k;}finally{a.getModel().endUpdate()}f&&a.setSelectionCell(c)}};f=mxUtils.button(mxResources.get("preview"),function(){s(n,p,!1)});f.className="geBtn";g.appendChild(f);f=mxUtils.button(mxResources.get("apply"),function(){s(b.editor.graph,c,!0)});f.className="geBtn gePrimaryBtn";g.appendChild(f);b.editor.cancelFirst||g.appendChild(a);e.appendChild(g);l.appendChild(e);k.appendChild(l);this.container=k},CustomDialog=function(b,c,f,d,a,e){var g=document.createElement("div");
g.appendChild(c);c=document.createElement("div");c.style.marginTop="16px";c.style.textAlign="center";var k=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog();null!=d&&d()});k.className="geBtn";b.editor.cancelFirst&&c.appendChild(k);if(!b.isOffline()&&null!=e){var l=mxUtils.button(mxResources.get("help"),function(){window.open(e)});l.className="geBtn";c.appendChild(l)}a=mxUtils.button(a||mxResources.get("ok"),function(){b.hideDialog();null!=f&&f()});c.appendChild(a);a.className="geBtn gePrimaryBtn";
b.editor.cancelFirst||c.appendChild(k);g.appendChild(c);this.container=g};
(function(){EditorUi.VERSION="5.6.0.4";EditorUi.compactUi="atlas"!=uiTheme;"1"==urlParams.dev&&(Editor.prototype.editBlankUrl+="\x26dev\x3d1",Editor.prototype.editBlankFallbackUrl+="\x26dev\x3d1");(function(){EditorUi.prototype.useCanvasForExport=!1;try{var a=document.createElement("canvas"),b=new Image;b.onload=function(){try{a.getContext("2d").drawImage(b,0,0);var c=a.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=null!=c&&6<c.length}catch(d){}};b.src="data:image/svg+xml;base64,"+
btoa(unescape(encodeURIComponent('\x3csvg xmlns\x3d"http://www.w3.org/2000/svg" xmlns:xlink\x3d"http://www.w3.org/1999/xlink" width\x3d"1px" height\x3d"1px" version\x3d"1.1"\x3e\x3cforeignObject pointer-events\x3d"all" width\x3d"1" height\x3d"1"\x3e\x3cdiv xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e\x3c/div\x3e\x3c/foreignObject\x3e\x3c/svg\x3e')))}catch(c){}})();Editor.initMath=function(a,b){a=null!=a?a:"https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config\x3dTeX-MML-AM_HTMLorMML";Editor.mathJaxQueue=
[];Editor.doMathJaxRender=function(a){MathJax.Hub.Queue(["Typeset",MathJax.Hub,a])};window.MathJax={skipStartupTypeset:!0,showMathMenu:!1,messageStyle:"none",AuthorInit:function(){MathJax.Hub.Config(b||{jax:["input/TeX","input/MathML","input/AsciiMath","output/HTML-CSS"],extensions:["tex2jax.js","mml2jax.js","asciimath2jax.js"],TeX:{extensions:["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]},tex2jax:{ignoreClass:"mxCellEditor"},asciimath2jax:{ignoreClass:"mxCellEditor"}});MathJax.Hub.Register.StartupHook("Begin",
function(){for(var a=0;a<Editor.mathJaxQueue.length;a++)Editor.doMathJaxRender(Editor.mathJaxQueue[a])})}};Editor.MathJaxRender=function(a){"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?Editor.doMathJaxRender(a):Editor.mathJaxQueue.push(a)};Editor.MathJaxClear=function(){Editor.mathJaxQueue=[]};Editor.prototype.init=function(){this.graph.addListener(mxEvent.SIZE,mxUtils.bind(this,function(a,b){this.graph.mathEnabled&&Editor.MathJaxRender(this.graph.container)}))};var c=document.getElementsByTagName("script");
if(null!=c&&0<c.length){var d=document.createElement("script");d.type="text/javascript";d.src=a;c[0].parentNode.appendChild(d)}};Editor.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAApVBMVEUAAAD////k5OT///8AAAB1dXXMzMz9/f39/f37+/v5+fn+/v7///9iYmJaWlqFhYWnp6ejo6OHh4f////////////////7+/v5+fnx8fH///8AAAD///8bGxv7+/v5+fkoKCghISFDQ0MYGBjh4eHY2Njb29tQUFBvb29HR0c/Pz82NjYrKyu/v78SEhLu7u7s7OzV1dVVVVU7OzsVFRXAv78QEBBzqehMAAAAG3RSTlMAA/7p/vz5xZlrTiPL/v78+/v7+OXd2TYQDs8L70ZbAAABKUlEQVQoz3VS13LCMBBUXHChd8iukDslQChJ/v/TchaG4cXS+OSb1c7trU7V60OpdRz2ZtNZL4zXNlcN8BEtSG6+NxIXkeRPoBuQ1cjvZ31/VJFB10ISli6diYfH8iYO3WUNCcNlB0gTrXOtkxTo0O1aKKiBBMhhv2MNBQKoiA5wxlZo0JDzD3AYKbWacyj3fs01wxey0pyEP+R8pWKWXoqtIZ0DDg5pbki9krEKOa6LVDQsdoXEsi46Zqh69KFz7B1u7Hb2yDV8firXDKBlZ4UFiswKGRhXTS93/ECK7yxnJ3+S3y/ThpO+cfSD017nqa18aasabU0/t7d+tk0/1oMEJ1NaD67iwdF68OabFSLn+eHb0+vjy+uk8br9fdrftH0O2menfd7+AQfYM/lNjoDHAAAAAElFTkSuQmCC":
IMAGE_PATH+"/delete.png";Editor.prototype.addSvgShadow=function(a,b,c){c=null!=c?c:!1;var d=a.ownerDocument,e=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"filter"):d.createElement("filter");e.setAttribute("id","dropShadow");var f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feGaussianBlur"):d.createElement("feGaussianBlur");f.setAttribute("in","SourceAlpha");f.setAttribute("stdDeviation","1.7");f.setAttribute("result","blur");e.appendChild(f);f=null!=d.createElementNS?
d.createElementNS(mxConstants.NS_SVG,"feOffset"):d.createElement("feOffset");f.setAttribute("in","blur");f.setAttribute("dx","3");f.setAttribute("dy","3");f.setAttribute("result","offsetBlur");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feFlood"):d.createElement("feFlood");f.setAttribute("flood-color","#3D4574");f.setAttribute("flood-opacity","0.4");f.setAttribute("result","offsetColor");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,
"feComposite"):d.createElement("feComposite");f.setAttribute("in","offsetColor");f.setAttribute("in2","offsetBlur");f.setAttribute("operator","in");f.setAttribute("result","offsetBlur");e.appendChild(f);f=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"feBlend"):d.createElement("feBlend");f.setAttribute("in","SourceGraphic");f.setAttribute("in2","offsetBlur");e.appendChild(f);var f=a.getElementsByTagName("defs"),g=null;0==f.length?(g=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,
"defs"):d.createElement("defs"),null!=a.firstChild?a.insertBefore(g,a.firstChild):a.appendChild(g)):g=f[0];g.appendChild(e);c||((b||a.getElementsByTagName("g")[0]).setAttribute("filter","url(#dropShadow)"),isNaN(parseInt(a.getAttribute("width")))||(a.setAttribute("width",parseInt(a.getAttribute("width"))+6),a.setAttribute("height",parseInt(a.getAttribute("height"))+6)));return e};Editor.prototype.originalNoForeignObject=mxClient.NO_FO;var b=Editor.prototype.updateGraphComponents;Editor.prototype.updateGraphComponents=
function(){b.apply(this,arguments);mxClient.NO_FO=this.graph.mathEnabled&&null!=Editor.MathJaxRender?!0:this.originalNoForeignObject};EditorUi.prototype.setMathEnabled=function(a){this.editor.graph.mathEnabled=a;this.editor.updateGraphComponents();this.editor.graph.refresh();this.fireEvent(new mxEventObject("mathEnabledChanged"))};EditorUi.prototype.isMathEnabled=function(a){return this.editor.graph.mathEnabled};EditorUi.prototype.movePickersToTop=function(){for(var a=document.getElementsByTagName("div"),
b=0;b<a.length;b++)"picker modal-dialog picker-dialog"==a[b].className&&(a[b].style.zIndex=mxPopupMenu.prototype.zIndex+1)};if(window.PrintDialog){var c=PrintDialog.showPreview;PrintDialog.showPreview=function(a,b){"undefined"!==typeof MathJax&&a.graph.mathEnabled&&(b=!1);return c.apply(this,arguments)};var f=PrintDialog.createPrintPreview;PrintDialog.createPrintPreview=function(a,b,c,d,e,g,k,l){var m=f.apply(this,arguments);if("undefined"!==typeof MathJax&&a.mathEnabled){var n=m.writePostfix;m.writePostfix=
function(a,b){n.apply(this,arguments);a.writeln('\x3cscript type\x3d"text/x-mathjax-config"\x3e');a.writeln("MathJax.Hub.Config({");a.writeln('messageStyle: "none",');a.writeln('jax: ["input/TeX", "input/MathML", "input/AsciiMath", "output/HTML-CSS"],');a.writeln('extensions: ["tex2jax.js", "mml2jax.js", "asciimath2jax.js"],');a.writeln("TeX: {");a.writeln('\textensions: ["AMSmath.js", "AMSsymbols.js", "noErrors.js", "noUndefined.js"]');a.writeln("}");a.writeln("});");l&&(a.writeln("MathJax.Hub.Queue(function () {"),
a.writeln("window.print();"),a.writeln("});"));a.writeln("\x3c/script\x3e");a.writeln('\x3cscript type\x3d"text/javascript" src\x3d"https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js"\x3e\x3c/script\x3e')}}return m}}window.ExportDialog&&(ExportDialog.showXmlOption=!1,ExportDialog.showGifOption=!1,ExportDialog.getExportParameter=function(a,b){return function(){return"xml\x3d"+encodeURIComponent(a.getFileData(!0))}});Editor.prototype.appName="draw.io";EditorUi.prototype.isOfflineApp=function(){return"1"==
urlParams.offline};EditorUi.prototype.isOffline=function(){return mxClient.IS_FF&&this.isOfflineApp()||!navigator.onLine||"1"==urlParams.stealth};EditorUi.prototype.createSpinner=function(a,b,c){c=null!=c?c:24;var d=new Spinner({lines:12,length:c,width:Math.round(c/3),radius:Math.round(c/2),rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,zIndex:2E9}),e=d.spin;d.spin=function(c,f){var g=!1;if(!this.active){e.call(this,c);this.active=!0;if(null!=f&&(g=document.createElement("div"),g.style.position=
"absolute",g.style.whiteSpace="nowrap",g.style.background="#4B4243",g.style.color="white",g.style.fontFamily="Helvetica, Arial",g.style.fontSize="9pt",g.style.padding="6px",g.style.paddingLeft="10px",g.style.paddingRight="10px",g.style.zIndex=2E9,g.style.left=Math.max(0,a)+"px",g.style.top=Math.max(0,b+70)+"px",mxUtils.setPrefixedStyle(g.style,"borderRadius","6px"),mxUtils.setPrefixedStyle(g.style,"boxShadow","2px 2px 3px 0px #ddd"),mxUtils.setPrefixedStyle(g.style,"transform","translate(-50%,-50%)"),
g.innerHTML=f+"...",c.appendChild(g),d.status=g,mxClient.IS_VML&&(null==document.documentMode||8>=document.documentMode)))g.style.left=Math.round(Math.max(0,a-g.offsetWidth/2))+"px",g.style.top=Math.round(Math.max(0,b+70-g.offsetHeight/2))+"px";this.pause=mxUtils.bind(this,function(){var a=function(){};this.active&&(a=mxUtils.bind(this,function(){this.spin(c,f)}));this.stop();return a});g=!0}return g};var f=d.stop;d.stop=function(){f.call(this);this.active=!1;null!=d.status&&(d.status.parentNode.removeChild(d.status),
d.status=null)};return d};EditorUi.parsePng=function(a,b,c){function d(a,b){var c=f;f+=b;return a.substring(c,f)}function e(a){a=d(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}var f=0;if(d(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=c&&c();else if(d(a,4),"IHDR"!=d(a,4))null!=c&&c();else{d(a,17);do{c=e(a);var g=d(a,4);if(null!=b&&b(f-8,g,c))break;value=d(a,c);d(a,4);if("IEND"==g)break}while(c)}};Editor.prototype.extractGraphModel=
function(a,b){if(null!=a&&"undefined"!==typeof pako){var c=a.ownerDocument.getElementsByTagName("div"),d=[];if(null!=c&&0<c.length)for(var e=0;e<c.length;e++)if("mxgraph"==c[e].getAttribute("class")){d.push(c[e]);break}0<d.length&&(c=d[0].getAttribute("data-mxgraph"),null!=c?(d=JSON.parse(c),null!=d&&null!=d.xml&&(d=mxUtils.parseXml(d.xml),a=d.documentElement)):(d=d[0].getElementsByTagName("div"),0<d.length&&(c=mxUtils.getTextContent(d[0]),c=this.graph.decompress(c),0<c.length&&(d=mxUtils.parseXml(c),
a=d.documentElement))))}if(null!=a&&"svg"==a.nodeName)if(c=a.getAttribute("content"),null!=c&&"\x3c"!=c.charAt(0)&&"%"!=c.charAt(0)&&(c=unescape(window.atob?atob(c):Base64.decode(cont,c))),null!=c&&"%"==c.charAt(0)&&(c=decodeURIComponent(c)),null!=c&&0<c.length)a=mxUtils.parseXml(c).documentElement;else throw{message:mxResources.get("notADiagramFile")};null!=a&&!b&&(d=null,"diagram"==a.nodeName?d=a:"mxfile"==a.nodeName&&(c=a.getElementsByTagName("diagram"),0<c.length&&(d=c[Math.max(0,Math.min(c.length-
1,urlParams.page||0))])),null!=d&&(a=mxUtils.parseXml(this.graph.decompress(mxUtils.getTextContent(d))).documentElement));if(null!=a&&"mxGraphModel"!=a.nodeName&&(!b||"mxfile"!=a.nodeName))a=null;return a};var d=EditorUi.prototype.extractGraphModelFromHtml;EditorUi.prototype.extractGraphModelFromHtml=function(a){var b=d.apply(this,arguments);if(null==b)try{var c=a.indexOf("\x26lt;mxfile ");if(0<=c){var e=a.lastIndexOf("\x26lt;/mxfile\x26gt;");e>c&&(b=a.substring(c,e+15).replace(/&gt;/g,"\x3e").replace(/&lt;/g,
"\x3c").replace(/\n/g,""))}else var f=mxUtils.parseXml(a),g=this.editor.extractGraphModel(f.documentElement),b=null!=g?mxUtils.getXml(g):""}catch(k){}return b};EditorUi.prototype.setFileData=function(a){this.pages=this.fileNode=this.currentPage=null;if(null!=a&&0<a.length){var b=a.indexOf('\x3cmeta charset\x3d"utf-8"\x3e');0<=b&&(a=a.slice(0,b)+'\x3cmeta charset\x3d"utf-8"/\x3e'+a.slice(b+23-1,a.length))}b=null!=a&&0<a.length?mxUtils.parseXml(a).documentElement:null;a=null!=b?this.editor.extractGraphModel(b,
!0):null;null!=a&&(b=a);if(null!=b&&"mxfile"==b.nodeName&&(a=b.getElementsByTagName("diagram"),1<a.length||"1"==urlParams.pages)){this.fileNode=b;this.pages=[];for(b=0;b<a.length;b++){var c=new DiagramPage(a[b]);null==c.getName()&&c.setName(mxResources.get("pageWithNumber",[b+1]));this.pages.push(c)}this.currentPage=this.pages[Math.max(0,Math.min(this.pages.length-1,urlParams.page||0))];b=this.currentPage.node}"1"==urlParams.pages&&null==this.fileNode&&(this.fileNode=b.ownerDocument.createElement("mxfile"),
this.currentPage=new DiagramPage(b.ownerDocument.createElement("diagram")),this.pages=[this.currentPage],null==this.currentPage.getName()&&this.currentPage.setName(mxResources.get("pageWithNumber",[1])));this.editor.setGraphXml(b);null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root)};var a=Editor.prototype.setGraphXml;Editor.prototype.setGraphXml=function(b){b=null!=b&&"mxlibrary"!=b.nodeName?this.extractGraphModel(b):null;if(null!=b){var c=b.getElementsByTagName("parsererror");
if(null!=c&&0<c.length){var c=c[0],d=c.getElementsByTagName("div");null!=d&&0<d.length&&(c=d[0]);throw{message:mxUtils.getTextContent(c)};}if("mxGraphModel"==b.nodeName){c=b.getAttribute("style")||"default-style2";if("1"!=urlParams.embed&&(null==c||""==c)){if(d=null!=this.graph.themes?this.graph.themes["default-old"]:mxUtils.load(STYLE_PATH+"/default-old.xml").getDocumentElement(),null!=d){var e=new mxCodec(d.ownerDocument);e.decode(d,this.graph.getStylesheet())}}else c!=this.graph.currentStyle&&
(d=null!=this.graph.themes?this.graph.themes[c]:mxUtils.load(STYLE_PATH+"/"+c+".xml").getDocumentElement(),null!=d&&(e=new mxCodec(d.ownerDocument),e.decode(d,this.graph.getStylesheet())));this.graph.currentStyle=c;this.graph.mathEnabled="1"==urlParams.math||"1"==b.getAttribute("math");c=b.getAttribute("backgroundImage");null!=c?(c=JSON.parse(c),this.graph.setBackgroundImage(new mxImage(c.src,c.width,c.height))):this.graph.setBackgroundImage(null);mxClient.NO_FO=this.graph.mathEnabled?!0:this.originalNoForeignObject;
this.graph.setShadowVisible("1"==b.getAttribute("shadow"),!1)}a.apply(this,arguments)}else throw{message:mxResources.get("notADiagramFile")||"Invalid data",toString:function(){return this.message}};};var e=Editor.prototype.getGraphXml;Editor.prototype.getGraphXml=function(a){a=null!=a?a:!0;var b=e.apply(this,arguments);null!=this.graph.currentStyle&&"default-style2"!=this.graph.currentStyle&&b.setAttribute("style",this.graph.currentStyle);null!=this.graph.backgroundImage&&b.setAttribute("backgroundImage",
JSON.stringify(this.graph.backgroundImage));b.setAttribute("math",this.graph.mathEnabled?"1":"0");b.setAttribute("shadow",this.graph.shadowVisible?"1":"0");return b};var g=Editor.prototype.resetGraph;Editor.prototype.resetGraph=function(){this.graph.mathEnabled="1"==urlParams.math;this.graph.view.x0=null;this.graph.view.y0=null;mxClient.NO_FO=this.graph.mathEnabled?!0:this.originalNoForeignObject;g.apply(this,arguments)};"1"==urlParams.offline?EditorUi.prototype.footerHeight=4:("atlas"==uiTheme?("undefined"!==
typeof Toolbar&&(Toolbar.prototype.unselectedBackground=mxClient.IS_QUIRKS?"none":"linear-gradient(rgb(255, 255, 255) 0px, rgb(242, 242, 242) 100%)",Toolbar.prototype.selectedBackground="rgb(242, 242, 242)"),Editor.prototype.initialTopSpacing=3,EditorUi.prototype.menubarHeight=41,EditorUi.prototype.toolbarHeight=38,EditorUi.prototype.hsplitPosition=188,Sidebar.prototype.thumbWidth=46,Sidebar.prototype.thumbHeight=46,Sidebar.prototype.thumbPadding=5<=document.documentMode?0:1,Sidebar.prototype.thumbBorder=
2):"1"==urlParams.savesidebar&&(Sidebar.prototype.thumbWidth=64,Sidebar.prototype.thumbHeight=64),EditorUi.prototype.footerHeight=740>=screen.height?5:46,EditorUi.prototype.createFooter=function(){var a=document.getElementById("geFooter");if(null!=a){a.style.visibility="visible";var b=document.createElement("img");b.setAttribute("border","0");b.setAttribute("src",Dialog.prototype.closeImage);b.setAttribute("title",mxResources.get("hide"));a.appendChild(b);mxClient.IS_QUIRKS&&(b.style.position="relative",
b.style.styleFloat="right",b.style.top="-30px",b.style.left="164px",b.style.cursor="pointer");mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.hideFooter()}))}return a});EditorUi.prototype.hideFooter=function(){var a=document.getElementById("geFooter");null!=a&&(this.footerHeight=0,a.style.display="none",this.refresh())};EditorUi.prototype.showImageDialog=function(a,b,c,d,e){a=new ImageDialog(this,a,b,c,d,e);this.showDialog(a.container,Graph.fileSupport?420:340,Graph.fileSupport?200:
90,!0,!0);a.init()};EditorUi.prototype.showBackgroundImageDialog=function(a){a=null!=a?a:mxUtils.bind(this,function(a){this.setBackgroundImage(a)});var b=new BackgroundImageDialog(this,mxUtils.bind(this,function(b){a(b)}));this.showDialog(b.container,360,200,!0,!0);b.init()};EditorUi.prototype.showLibraryDialog=function(a,b,c,d,e){a=new LibraryDialog(this,a,b,c,d,e);this.showDialog(a.container,620,440,!0,!0,mxUtils.bind(this,function(a){a&&null==this.getCurrentFile()&&this.showSplash()}));a.init()};
EditorUi.prototype.sidebarFooterHeight=36;EditorUi.prototype.defaultCustomShapeStyle="shape\x3dstencil(tZRtTsQgEEBPw1+DJR7AoN6DbWftpAgE0Ortd/jYRGq72R+YNE2YgTePloEJGWblgA18ZuKFDcMj5/Sm8boZq+BgjCX4pTyqk6ZlKROitwusOMXKQDODx5iy4pXxZ5qTHiFHawxB0JrQZH7lCabQ0Fr+XWC1/E8zcsT/gAi+Subo2/3Mh6d/oJb5nU1b5tW7r2knautaa3T+U32o7f7vZwpJkaNDLORJjcu7t59m2jXxqX9un+tt022acsfmoKaQZ+vhhswZtS6Ne/ThQGt0IV0N3Yyv6P3CeT9/tHO0XFI5cAE\x3d);whiteSpace\x3dwrap;html\x3d1;";EditorUi.prototype.createSidebarFooterContainer=function(){var a=
this.createDiv("geSidebarContainer");a.style.position="absolute";a.style.overflow="hidden";a.style.borderWidth="3px";var b=document.createElement("a");b.setAttribute("href","javascript:void(0);");b.className="geTitle";b.style.height="100%";b.style.paddingTop="9px";mxUtils.write(b,mxResources.get("moreShapes")+"...");mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){this.actions.get("shapes").funct();mxEvent.consume(a)}));a.appendChild(b);return a};EditorUi.prototype.maxBackgroundSize=1600;
EditorUi.prototype.maxImageSize=520;EditorUi.prototype.resampleThreshold=1E5;EditorUi.prototype.maxImageBytes=1E6;EditorUi.prototype.maxBackgroundBytes=25E5;EditorUi.prototype.currentFile=null;EditorUi.prototype.setCurrentFile=function(a){this.currentFile=a};EditorUi.prototype.getCurrentFile=function(){return this.currentFile};EditorUi.prototype.isDiagramEmpty=function(){var a=this.editor.graph.getModel();return 1==a.getChildCount(a.root)&&0==a.getChildCount(a.getChildAt(a.root,0))};EditorUi.prototype.isExportToCanvas=
function(){return mxClient.IS_CHROMEAPP||!this.editor.graph.mathEnabled&&this.useCanvasForExport};EditorUi.prototype.createSvgDataUri=function(a){return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(a)))};EditorUi.prototype.createPngDataUri=function(a,b){var c=a.toDataURL("image/png");if(6>=c.length||c==a.cloneNode(!1).toDataURL("image/png"))throw{message:"Invalid image"};null!=b&&(c=this.writeGraphModelToPng(c,"zTXt","mxGraphModel",atob(this.editor.graph.compress(b))));return c};EditorUi.prototype.saveCanvas=
function(a,b){var c=this.getCurrentFile(),c=null!=c&&null!=c.getTitle()?c.getTitle():this.defaultFilename,d=c.lastIndexOf(".");0<d&&(c=c.substring(0,d));c+=".png";d=this.createPngDataUri(a,b);this.saveLocalFile(d.substring(d.lastIndexOf(",")+1),c,"image/png",!0)};EditorUi.prototype.showRemoteExportDialog=function(a,b,c){var d=this.editor.graph,e=document.createElement("div");e.style.padding="6px";var f=document.createElement("input");f.style.marginRight="8px";f.setAttribute("type","checkbox");d.isSelectionEmpty()?
f.setAttribute("disabled","disabled"):(f.setAttribute("checked","checked"),f.defaultChecked=!0);e.appendChild(f);mxUtils.write(e,mxResources.get("selectionOnly"));mxUtils.br(e);var g=document.createElement("input");g.setAttribute("type","checkbox");g.setAttribute("checked","checked");g.defaultChecked=!0;g.style.marginRight="8px";g.style.marginTop="16px";e.appendChild(g);mxUtils.write(e,mxResources.get("includeCopyOfMyDiagram"));a=new CustomDialog(this,e,mxUtils.bind(this,function(){c(!f.checked,g.checked)}),
null,a,b);this.showDialog(a.container,300,120,!0,!0)};EditorUi.prototype.showExportDialog=function(a,b,c,d){var e=this.editor.graph,f=document.createElement("div");f.style.paddingTop="20px";f.style.paddingRight="8px";var g=document.createElement("input");g.style.marginRight="8px";g.setAttribute("type","checkbox");if(e.background==mxConstants.NONE||null==e.background)g.setAttribute("checked","checked"),g.defaultChecked=!0;f.appendChild(g);mxUtils.write(f,mxResources.get("transparentBackground"));mxUtils.br(f);
var k=document.createElement("input");k.style.marginTop="16px";k.style.marginRight="8px";k.setAttribute("type","checkbox");e.isSelectionEmpty()?k.setAttribute("disabled","disabled"):(k.setAttribute("checked","checked"),k.defaultChecked=!0);f.appendChild(k);mxUtils.write(f,mxResources.get("selectionOnly"));mxUtils.br(f);var l=document.createElement("input");l.style.marginTop="16px";l.style.marginRight="8px";l.setAttribute("type","checkbox");f.appendChild(l);mxUtils.write(f,mxResources.get("shadow"));
mxUtils.br(f);e.shadowVisible&&(l.setAttribute("checked","checked"),l.defaultChecked=!0);var m=document.createElement("input");m.style.marginTop="16px";m.style.marginRight="8px";m.setAttribute("type","checkbox");(this.isOffline()||!this.canvasSupported)&&m.setAttribute("disabled","disabled");a&&(f.appendChild(m),mxUtils.write(f,mxResources.get("embedImages")),mxUtils.br(f));var n=document.createElement("input");n.style.marginTop="16px";n.style.marginRight="8px";n.setAttribute("type","checkbox");n.style.marginBottom=
"8px";n.setAttribute("checked","checked");n.defaultChecked=!0;f.appendChild(n);mxUtils.write(f,mxResources.get("includeCopyOfMyDiagram"));b=new FilenameDialog(this,100,b,mxUtils.bind(this,function(a){d(a,g.checked,!k.checked,l.checked,n.checked,m.checked)}),mxResources.get("zoom")+" (%)",null,f,!this.isOffline()?c:null);this.showDialog(b.container,320,a?266:240,!0,!0);b.init()};EditorUi.prototype.uploadToGithub=function(a,b,c){var d=this.spinner.pause();c=document.createElement("div");c.style.paddingTop=
"20px";c.style.paddingRight="8px";var e=document.createElement("table"),f=document.createElement("tbody"),g=document.createElement("tr"),k=document.createElement("td"),l=document.createElement("input");l.setAttribute("type","text");mxUtils.write(k,"Username:");g.appendChild(k);k=k.cloneNode(!1);k.appendChild(l);g.appendChild(k);f.appendChild(g);var k=k.cloneNode(!1),m=document.createElement("input");m.setAttribute("type","password");mxUtils.write(k,"Password:");g=g.cloneNode(!1);g.appendChild(k);
k=k.cloneNode(!1);k.appendChild(m);g.appendChild(k);f.appendChild(g);var k=k.cloneNode(!1),n=document.createElement("input");n.setAttribute("type","text");mxUtils.write(k,"Organisation:");g=g.cloneNode(!1);g.appendChild(k);k=k.cloneNode(!1);k.appendChild(n);g.appendChild(k);f.appendChild(g);var k=k.cloneNode(!1),p=document.createElement("input");p.setAttribute("type","text");mxUtils.write(k,"Repository:");g=g.cloneNode(!1);g.appendChild(k);k=k.cloneNode(!1);k.appendChild(p);g.appendChild(k);f.appendChild(g);
var k=k.cloneNode(!1),r=document.createElement("input");r.setAttribute("type","text");mxUtils.write(k,"Path:");g=g.cloneNode(!1);g.appendChild(k);k=k.cloneNode(!1);k.appendChild(r);g.appendChild(k);f.appendChild(g);k=k.cloneNode(!1);a=this.getCurrentFile();a=null!=a&&null!=a.getTitle()?a.getTitle():this.defaultFilename;var s=a.lastIndexOf(".");0<s&&(a=a.substring(0,s));r.value=a+".png";var I=document.createElement("input");I.setAttribute("type","text");mxUtils.write(k,"Branch/Tag:");I.value="master";
g=g.cloneNode(!1);g.appendChild(k);k=k.cloneNode(!1);k.appendChild(I);g.appendChild(k);f.appendChild(g);var k=k.cloneNode(!1),L=document.createElement("input");L.setAttribute("type","text");mxUtils.write(k,"Message:");L.value="Updated "+a+".png";g=g.cloneNode(!1);g.appendChild(k);k=k.cloneNode(!1);k.appendChild(L);g.appendChild(k);f.appendChild(g);k=k.cloneNode(!1);e.appendChild(f);c.appendChild(e);c=new FilenameDialog(this,null,mxResources.get("publish"),mxUtils.bind(this,function(){var a="https://api.github.com/repos/"+
n.value+"/"+p.value+"/contents/"+r.value+"?ref\x3d"+encodeURIComponent(I.value);d();mxUtils.get(a,mxUtils.bind(this,function(c){if(200==c.getStatus()||404==c.getStatus()){c=JSON.parse(c.getText());var e={path:r.value,message:L.value,content:b};null!=c.sha&&(e.sha=c.sha);var f=new XMLHttpRequest;f.onreadystatechange=mxUtils.bind(this,function(){if(4==f.readyState)if(200<=f.status&&300>f.status){this.spinner.stop();this.hideDialog();a="https://github.com/"+n.value+"/"+p.value+"/blob/"+I.value+"/"+r.value;
var b=new ErrorDialog(this,mxResources.get("published"),mxResources.get("publishedAt",['\x3ca href\x3d"'+a+'" target\x3d"_blank"\x3e'+a+"\x3c/a\x3e"]),mxResources.get("close"),mxUtils.bind(this,function(){this.hideDialog()}),null,mxResources.get("openInNewWindow"),mxUtils.bind(this,function(){window.open(a)}),!1);this.showDialog(b.container,340,170,!0,!1);b.init()}else d=this.spinner.pause(),this.handleError(JSON.parse(f.responseText))});f.open("PUT",a,!0);f.setRequestHeader("Authorization","Basic "+
btoa(l.value+":"+m.value));f.send(JSON.stringify(e))}else this.hideDialog(),this.spinner.stop(),this.handleError(JSON.parse(c.getText()))}),mxUtils.bind(this,function(a){this.hideDialog();this.spinner.stop();this.handleError({message:mxResources.get("unknownError")})}))}),null,null,c,null,!1);this.showDialog(c.container,260,260,!0,!1);c.init()};EditorUi.prototype.uploadToImgur=function(a,b,c){var d=this.spinner.pause(),e=new ErrorDialog(this,mxResources.get("warning"),'\x3cimg style\x3d"max-width:300px;max-height:80px;margin-bottom:20px;padding:6px;border:1px solid gray;" src\x3d"data:image/png;base64,'+
b+'"/\x3e\x3cbr\x3e'+mxResources.get("publishConfirmation"),mxResources.get("cancel"),mxUtils.bind(this,function(){}),null,mxResources.get("publish"),mxUtils.bind(this,function(){d();var e=null!=a.getTitle()?a.getTitle():this.defaultFilename,f=e.lastIndexOf("."),g=e;0<f&&(g=e=g.substring(0,f));var f=new mxXmlRequest("/imgur",JSON.stringify({type:"base64",image:b,name:g+".png",title:e,description:"Made with https://www.draw.io"}),"POST"),k=mxUtils.bind(this,function(a){var b={message:mxResources.get("unknownError")};
try{var c=JSON.parse(a.getText()),b={message:c.message||c.data.error}}catch(d){}this.handleError(b)});f.send(mxUtils.bind(this,function(a){if(200==a.getStatus())try{var b=JSON.parse(a.getText());try{(new Image).src="images/log.png?published\x3d"+b.data.id+"\x26v\x3d"+encodeURIComponent(EditorUi.VERSION)+"\x26ts\x3d"+(new Date).getTime()}catch(d){}var f=mxUtils.bind(this,function(){this.spinner.stop();var a="http://i.imgur.com/"+b.data.id+".png",c="https://www.draw.io/imgur?delete\x3d"+b.data.deletehash,
a=new ErrorDialog(this,mxResources.get("published"),mxResources.get("publishedAt",['\x3ca href\x3d"'+a+'" target\x3d"_blank"\x3e'+a+"\x3c/a\x3e"])+"\x3cbr\x3e"+mxResources.get("deleteUrl",[c]),mxResources.get("close"),mxUtils.bind(this,function(){this.hideDialog()}),null,mxResources.get("openInNewWindow"),mxUtils.bind(this,function(){window.open("http://imgur.com/"+b.data.id)}),!1);this.showDialog(a.container,340,170,!0,!1);a.init()});if(c){var g=new mxXmlRequest("/imgur?"+b.data.deletehash,JSON.stringify({title:e,
description:"Edit a copy of this diagram at https://www.draw.io/i/"+b.data.id}),"POST");g.send(mxUtils.bind(this,function(){200==g.getStatus()?f():k(g)}),mxUtils.bind(this,function(){k(g)}))}else f()}catch(l){this.handleError(l)}else k(a)}),mxUtils.bind(this,function(a){k(a)}))}));this.showDialog(e.container,320,250,!0,!1);e.init()};EditorUi.prototype.publishImage=function(a){var b=this.getCurrentFile();null!=b&&(this.isExportToCanvas()?this.showExportDialog(!1,mxResources.get("publish"),"https://support.draw.io/pages/viewpage.action?pageId\x3d12222625",
mxUtils.bind(this,function(c,d,e,f,g){c=parseInt(c);if(!isNaN(c)&&0<c){c/=100;var k=this.editor.graph.isSelectionEmpty();e=null!=e?e:k;if(this.spinner.spin(document.body,mxResources.get("publishing")))try{this.exportToCanvas(mxUtils.bind(this,function(c){try{var d=g?mxUtils.getXml(this.editor.getGraphXml(e)):null,f=this.createPngDataUri(c,d);a(b,f.substring(f.lastIndexOf(",")+1),g)}catch(k){this.handleError(k)}}),null,null,null,mxUtils.bind(this,function(a){this.handleError(a)}),null,e,c||1,d,f)}catch(l){this.handleError(l)}}})):
this.showRemoteExportDialog(mxResources.get("publish"),"https://support.draw.io/pages/viewpage.action?pageId\x3d12222625",mxUtils.bind(this,function(c,d){if(this.spinner.spin(document.body,mxResources.get("publishing"))){var e=this.editor.graph.getGraphBounds(),f=this.getFileData(!0,null,null,null,c);if(e.width*e.height<=MAX_AREA&&f.length<=MAX_REQUEST_SIZE)try{var g=new mxXmlRequest(EXPORT_URL,"format\x3dpng\x26base64\x3d1\x26embedXml\x3d"+(d?"1":"0")+"\x26xml\x3d"+encodeURIComponent(f));g.send(mxUtils.bind(this,
function(){200==g.getStatus()?a(b,g.getText(),d):this.handleError(g)}))}catch(k){this.handleError(k)}else this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"))}})))};EditorUi.prototype.timeSince=function(a){a=Math.floor((new Date-a)/1E3);var b=Math.floor(a/31536E3);if(1<b)return b+" "+mxResources.get("years");b=Math.floor(a/2592E3);if(1<b)return b+" "+mxResources.get("months");b=Math.floor(a/86400);if(1<b)return b+" "+mxResources.get("days");b=Math.floor(a/3600);
if(1<b)return b+" "+mxResources.get("hours");b=Math.floor(a/60);return 1<b?b+" "+mxResources.get("minutes"):1==b?b+" "+mxResources.get("minute"):null};EditorUi.prototype.convertMath=function(a,b,c,d){d()};EditorUi.prototype.getEmbeddedSvg=function(a,b,c,d,e,f,g){g=null;null!=b&&(g=b.background,g==mxConstants.NONE&&(g=null));b=this.editor.graph.getSvg(g,null,null,null,null,f);b.setAttribute("content",encodeURIComponent(a));null!=c&&b.setAttribute("resource",c);if(null!=e)this.convertImages(b,mxUtils.bind(this,
function(a){e((!d?'\x3c?xml version\x3d"1.0" encoding\x3d"UTF-8"?\x3e\n\x3c!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"\x3e\n':"")+mxUtils.getXml(a))}));else return(!d?'\x3c?xml version\x3d"1.0" encoding\x3d"UTF-8"?\x3e\n\x3c!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"\x3e\n':"")+mxUtils.getXml(b)};EditorUi.prototype.exportToCanvas=function(a,b,c,d,e,f,g,k,l,m,n){f=null!=f?f:!0;var p=l?null:this.editor.graph.background;
p==mxConstants.NONE&&(p=null);null==p&&(p=d);null==p&&!1==l&&(p="#ffffff");this.convertImages(this.editor.graph.getSvg(p,null,null,null,null,null!=g?g:!0),mxUtils.bind(this,function(c){var d=new Image;d.onload=mxUtils.bind(this,function(){var e=document.createElement("canvas"),g=parseInt(c.getAttribute("width")),l=parseInt(c.getAttribute("height"));k=null!=k?k:1;null!=b&&(k=!f?b/g:Math.min(1,Math.min(3*b/(4*l),b/g)));e.setAttribute("width",Math.ceil(k*g));e.setAttribute("height",Math.ceil(k*l));g=
e.getContext("2d");g.scale(k,k);g.drawImage(d,0,0);a(e)});d.onerror=function(a){null!=e&&e(a)};try{m&&this.editor.addSvgShadow(c),this.convertMath(this.editor.graph,c,!0,mxUtils.bind(this,function(){d.src=this.createSvgDataUri(mxUtils.getXml(c))}))}catch(g){null!=e&&e(g)}}),c,n)};EditorUi.prototype.createImageUrlConverter=function(){var a=new mxUrlConverter;a.updateBaseUrl();var b=a.convert;a.convert=function(c){null!=c&&(("http://"==c.substring(0,7)||"https://"==c.substring(0,8))&&c.substring(0,
a.baseUrl.length)!=a.baseUrl?c=PROXY_URL+"?url\x3d"+encodeURIComponent(c):"chrome-extension://"!=c.substring(0,19)&&(c=b.apply(this,arguments)));return c};return a};EditorUi.prototype.convertImages=function(a,b,c,d){null==d&&(d=this.createImageUrlConverter());var e=0,f=c||{};c=mxUtils.bind(this,function(c,g){for(var k=a.getElementsByTagName(c),l=0;l<k.length;l++)mxUtils.bind(this,function(c){var k=d.convert(c.getAttribute(g));if(null!=k&&"data:"!=k.substring(0,5)){var l=f[k];null==l?(e++,this.convertImageToDataUri(k,
function(d){null!=d&&(f[k]=d,c.setAttribute(g,d));e--;0==e&&b(a)})):c.setAttribute(g,l)}})(k[l])});c("image","xlink:href");c("img","src");0==e&&b(a)};EditorUi.prototype.convertImageToDataUri=function(a,b){if(/(\.svg)$/i.test(a))mxUtils.get(a,mxUtils.bind(this,function(a){b(this.createSvgDataUri(a.getText()))}),function(){b()});else{var c=new Image;c.onload=function(){var a=document.createElement("canvas"),d=a.getContext("2d");a.height=c.height;a.width=c.width;d.drawImage(c,0,0);b(a.toDataURL())};
c.onerror=function(){b()};c.src=a}};EditorUi.prototype.importXml=function(a,b,c,d,e){b=null!=b?b:0;c=null!=c?c:0;var f=[];try{if(null!=a&&0<a.length){var g=mxUtils.parseXml(a),k=this.editor.extractGraphModel(g.documentElement);if(null!=k){var l=new mxGraphModel;(new mxCodec(k.ownerDocument)).decode(k,l);var m=this.editor.graph,n=l.getChildCount(l.getRoot());m.model.getChildCount(m.model.getRoot());m.model.beginUpdate();try{a={};for(g=0;g<n;g++){var p=l.getChildAt(l.getRoot(),g);if(1==n&&!m.isCellLocked(m.getDefaultParent()))var r=
l.getChildren(p),f=f.concat(m.importCells(r,b,c,m.getDefaultParent(),null,a));else p=m.importCells([p],0,0,m.model.getRoot(),null,a)[0],r=m.model.getChildren(p),m.moveCells(r,b,c),f=f.concat(r)}if(d){m.isGridEnabled()&&(b=m.snap(b),c=m.snap(c));var s=m.getBoundingBoxFromGeometry(f,!0);m.moveCells(f,b-s.x,c-s.y)}}finally{m.model.endUpdate()}}}}catch(I){throw e||this.handleError(I,mxResources.get("invalidOrMissingFile")),I;}return f};EditorUi.prototype.insertTextAt=function(a,b,c,d,e,f){f=null!=f?f:
!0;if(Graph.fileSupport&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(a))return this.parseFile(new Blob([a.replace(/\s+/g," ")],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200==a.status&&this.editor.graph.setSelectionCells(this.insertTextAt(a.responseText,b,c,!0))})),[];if(!this.isOffline()&&(e||"data:"==a.substring(0,5)||/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(a))){var g=this.editor.graph;if("data:image/png;base64,"==a.substring(0,22)){var k=
this.extractGraphModelFromPng(a),l=this.importXml(k,b,c,f,!0);if(0<l.length)return l}if("data:image/svg+xml;"==a.substring(0,19))try{if(k=null,"data:image/svg+xml;base64,"==a.substring(0,26)?(k=a.substring(a.indexOf(",")+1),k=window.atob&&!mxClient.IS_SF?atob(k):Base64.decode(k,!0)):k=decodeURIComponent(a.substring(a.indexOf(",")+1)),l=this.importXml(k,b,c,f,!0),0<l.length)return l}catch(m){}this.loadImage(a,mxUtils.bind(this,function(d){if("data:"==a.substring(0,5))this.resizeImage(d,a,mxUtils.bind(this,
function(a,d,e){g.setSelectionCell(g.insertVertex(null,null,"",g.snap(b),g.snap(c),d,e,"shape\x3dimage;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;aspect\x3dfixed;image\x3d"+this.convertDataUri(a)+";"))}),!0,this.maxImageSize);else{var e=Math.min(1,Math.min(this.maxImageSize/d.width,this.maxImageSize/d.height)),f=Math.round(d.width*e);d=Math.round(d.height*e);g.setSelectionCell(g.insertVertex(null,null,"",g.snap(b),g.snap(c),f,d,"shape\x3dimage;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;aspect\x3dfixed;image\x3d"+
a+";"))}}),mxUtils.bind(this,function(){var e=null;g.getModel().beginUpdate();try{e=g.insertVertex(g.getDefaultParent(),null,a,g.snap(b),g.snap(c),1,1,"text;"+(d?"html\x3d1;":"")),g.updateCellSize(e),g.fireEvent(new mxEventObject("textInserted","cells",[e]))}finally{g.getModel().endUpdate()}g.setSelectionCell(e)}));return[]}a=this.editor.graph.zapGremlins(mxUtils.trim(a));if(this.isCompatibleString(a))return this.importXml(a,b,c,f);if(0<a.length){g=this.editor.graph;e=null;g.getModel().beginUpdate();
try{e=g.insertVertex(g.getDefaultParent(),null,"",g.snap(b),g.snap(c),1,1,"text;"+(d?"html\x3d1;":"")),g.fireEvent(new mxEventObject("textInserted","cells",[e])),e.value=a,g.updateCellSize(e),/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\u00ab\u00bb\u201c\u201d\u2018\u2019]))/i.test(e.value)&&g.setLinkForCell(e,e.value),e.geometry.width+=g.gridSize,e.geometry.height+=
g.gridSize}finally{g.getModel().endUpdate()}return[e]}};EditorUi.prototype.formatFileSize=function(a){var b=-1;do a/=1024,b++;while(1024<a);return Math.max(a,0.1).toFixed(1)+" kB; MB; GB; TB;PB;EB;ZB;YB".split(";")[b]};EditorUi.prototype.convertDataUri=function(a){if("data:"==a.substring(0,5)){var b=a.indexOf(";");0<b&&(a=a.substring(0,b)+a.substring(a.indexOf(",",b+1)))}return a};EditorUi.prototype.isRemoteFileFormat=function(a,b){return/(\.*<graphml xmlns=\".*)/.test(a)||/(\"contentType\":\s*\"application\/gliffy\+json\")/.test(a)||
null!=b&&/(\.vsdx)($|\?)/i.test(b)};EditorUi.prototype.importFile=function(a,b,c,d,e,f,g,k,l,m){m=null!=m?m:!0;var n=!1,p=null;"image"==b.substring(0,5)?(g=!1,"image/png"==b.substring(0,9)&&(b=this.extractGraphModelFromPng(a),null!=b&&0<b.length&&(p=this.importXml(b,c,d,m),g=!0)),g||(p=this.editor.graph,b=a.indexOf(";"),0<b&&(a=a.substring(0,b)+a.substring(a.indexOf(",",b+1))),m&&p.isGridEnabled()&&(c=p.snap(c),d=p.snap(d)),p=[p.insertVertex(null,null,"",c,d,e,f,"shape\x3dimage;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;aspect\x3dfixed;image\x3d"+
a+";")])):!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(a,g)?(n=!0,this.parseFile(null!=l?l:new Blob([a],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){if(4==a.readyState){var b=null;200==a.status&&(b=this.importXml(a.responseText,c,d,m));null!=k&&k(b)}}),g)):/(\.vsdx)($|\?)/i.test(g)?(new mxVsdxModel).decode(l):(null!=a&&0<a.length&&(e=a.indexOf('\x3cmeta charset\x3d"utf-8"\x3e'),0<=e&&(a=a.slice(0,e)+'\x3cmeta charset\x3d"utf-8"/\x3e'+a.slice(e+23-1,a.length))),
p=this.insertTextAt(a,c,d,!0));!n&&null!=k&&k(p);return p};EditorUi.prototype.base64Encode=function(a){for(var b="",c=0,d=a.length,e,f,g;c<d;){e=a.charCodeAt(c++)&255;if(c==d){b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&3)<<4);b+="\x3d\x3d";break}f=a.charCodeAt(c++);if(c==d){b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&
3)<<4|(f&240)>>4);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((f&15)<<2);b+="\x3d";break}g=a.charCodeAt(c++);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&3)<<4|(f&240)>>4);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((f&15)<<2|(g&192)>>6);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g&
63)}return b};EditorUi.prototype.importFiles=function(a,b,c,d,e,f,g,k,l,m,n){var p=null!=b&&null!=c;b=null!=b?b:0;c=null!=c?c:0;d=null!=d?d:this.maxImageSize;m=null!=m?m:this.maxImageBytes;l=null!=l?l:!0;var r=this.editor.graph,s=r.gridSize;e=null!=e?e:mxUtils.bind(this,function(a,b,c,d,e,f,g,k,l){return null!=a&&"\x3cmxlibrary"==a.substring(0,10)?(this.spinner.stop(),this.loadLibrary(new LocalLibrary(this,a,g)),null):this.importFile(a,b,c,d,e,f,g,k,l,p)});f=null!=f?f:mxUtils.bind(this,function(a){r.setSelectionCells(a)});
if(this.spinner.spin(document.body,mxResources.get("loading")))for(var I=a.length,L=I,O=[],S=mxUtils.bind(this,function(a,b){O[a]=b;if(0==--L){this.spinner.stop();if(null!=k)k(O);else{var c=[];r.getModel().beginUpdate();try{for(var d=0;d<O.length;d++){var e=O[d]();null!=e&&(c=c.concat(e))}}finally{r.getModel().endUpdate()}}f(c)}}),W=0;W<I;W++)mxUtils.bind(this,function(f){var k=a[f],p=new FileReader;p.onload=mxUtils.bind(this,function(a){if(null==g||g(k))if("image/"==k.type.substring(0,6))if("image/svg"==
k.type.substring(0,9)){var q=a.target.result,p=q.indexOf(","),r=atob(q.substring(p+1)),y=mxUtils.parseXml(r),r=y.getElementsByTagName("svg");if(0<r.length){var D=r[0].getAttribute("content");null!=D&&"\x3c"!=D.charAt(0)&&"%"!=D.charAt(0)&&(D=unescape(window.atob?atob(D):Base64.decode(D,!0)));null!=D&&"%"==D.charAt(0)&&(D=decodeURIComponent(D));null!=D&&("\x3cmxfile "===D.substring(0,8)||"\x3cmxGraphModel "===D.substring(0,14))?S(f,mxUtils.bind(this,function(){return e(D,"text/xml",b+f*s,c+f*s,0,0,
k.name)})):S(f,mxUtils.bind(this,function(){try{if(q.substring(0,p+1),null!=y){var a=y.getElementsByTagName("svg");if(0<a.length){var g=a[0],l=parseFloat(g.getAttribute("width")),m=parseFloat(g.getAttribute("height")),n=g.getAttribute("viewBox");if(null==n||0==n.length)g.setAttribute("viewBox","0 0 "+l+" "+m);else if(isNaN(l)||isNaN(m)){var r=n.split(" ");3<r.length&&(l=parseFloat(r[2]),m=parseFloat(r[3]))}q=this.createSvgDataUri(mxUtils.getXml(a[0]));var x=Math.min(1,Math.min(d/Math.max(1,l)),d/
Math.max(1,m));return e(q,k.type,b+f*s,c+f*s,Math.max(1,Math.round(l*x)),Math.max(1,Math.round(m*x)),k.name)}}}catch(A){}return null}))}}else{r=!1;if("image/png"==k.type){var F=this.extractGraphModelFromPng(a.target.result);if(null!=F&&0<F.length){var G=new Image;G.src=a.target.result;S(f,mxUtils.bind(this,function(){return e(F,"text/xml",b+f*s,c+f*s,G.width,G.height,k.name)}));r=!0}}r||(null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime?(this.spinner.stop(),this.showError(mxResources.get("error"),
mxResources.get("dragAndDropNotSupported"),mxResources.get("cancel"),mxUtils.bind(this,function(){}),null,mxResources.get("ok"),mxUtils.bind(this,function(){this.actions.get("import").funct()}))):this.loadImage(a.target.result,mxUtils.bind(this,function(g){this.resizeImage(g,a.target.result,mxUtils.bind(this,function(g,n,q){S(f,mxUtils.bind(this,function(){if(null!=g&&g.length<m){var p=!l||!this.isResampleImage(a.target.result)?1:Math.min(1,Math.min(d/n,d/q));return e(g,k.type,b+f*s,c+f*s,Math.round(n*
p),Math.round(q*p),k.name)}this.handleError({message:mxResources.get("imageTooBig")});return null}))}),l,d,n)})))}else e(a.target.result,k.type,b+f*s,c+f*s,240,160,k.name,function(a){S(f,function(){return a})})});/(\.vsdx)($|\?)/i.test(k.name)?e(null,k.type,b+f*s,c+f*s,240,160,k.name,function(a){S(f,function(){return a})},k):"image"==k.type.substring(0,5)?p.readAsDataURL(k):p.readAsText(k)})(W)};EditorUi.prototype.parseFile=function(a,b,c){c=null!=c?c:a.name;var d=new FormData;d.append("format","xml");
d.append("upfile",a,c);var e=new XMLHttpRequest;e.open("POST",OPEN_URL);e.onreadystatechange=function(){b(e)};e.send(d)};EditorUi.prototype.isResampleImage=function(a,b){b=null!=b?b:this.resampleThreshold;return a.length>b};EditorUi.prototype.resizeImage=function(a,b,c,d,e,f){e=null!=e?e:this.maxImageSize;var g=Math.max(1,a.width),k=Math.max(1,a.height);if(d&&this.isResampleImage(b,f))try{var l=Math.max(g/e,k/e);if(1<l){var m=Math.round(g/l),n=Math.round(k/l),p=document.createElement("canvas");p.width=
m;p.height=n;p.getContext("2d").drawImage(a,0,0,m,n);var r=p.toDataURL();if(r.length<b.length){var s=document.createElement("canvas");s.width=m;s.height=n;var I=s.toDataURL();r!==I&&(b=r,g=m,k=n)}}}catch(L){}c(b,g,k)};(function(){EditorUi.prototype.crcTable=[];for(var a=0;256>a;a++)for(var b=a,c=0;8>c;c++)b=1==(b&1)?3988292384^b>>>1:b>>>1,EditorUi.prototype.crcTable[a]=b;EditorUi.prototype.updateCRC=function(a,b,c,d){for(var e=0;e<d;e++)a=EditorUi.prototype.crcTable[(a^b[c+e])&255]^a>>>8;return a}})();
EditorUi.prototype.writeGraphModelToPng=function(a,b,c,d,e){function f(a,b){var c=k;k+=b;return a.substring(c,k)}function g(a){a=f(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}a=a.substring(a.indexOf(",")+1);a=window.atob?atob(a):Base64.decode(a,!0);var k=0;if(f(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=e&&e();else if(f(a,4),"IHDR"!=f(a,4))null!=e&&e();else{f(a,17);e=a.substring(0,k);do{var l=g(a);if("IDAT"==f(a,4)){e=
a.substring(0,k-8);l=4294967295;l=this.updateCRC(l,b,0,4);l=this.updateCRC(l,d,0,d.length);e+=String.fromCharCode(c.length+d.length+1+("zTXt"==b?1:0)>>24&255,c.length+d.length+1+("zTXt"==b?1:0)>>16&255,c.length+d.length+1+("zTXt"==b?1:0)>>8&255,c.length+d.length+1+("zTXt"==b?1:0)&255)+b+c+String.fromCharCode(0)+("zTXt"==b?String.fromCharCode(0):"")+d+String.fromCharCode((l^4294967295)>>24&255,(l^4294967295)>>16&255,(l^4294967295)>>8&255,(l^4294967295)&255);e+=a.substring(k-8,a.length);break}e+=a.substring(k-
8,k-4+l);d=f(a,l);f(a,4)}while(l);return"data:image/png;base64,"+(window.btoa?btoa(e):Base64.encode(e,!0))}};EditorUi.prototype.extractGraphModelFromPng=function(a){var b=null;try{var c=a.substring(a.indexOf(",")+1),d=window.atob&&!mxClient.IS_SF?atob(c):Base64.decode(c,!0);EditorUi.parsePng(d,mxUtils.bind(this,function(a,c,e){a=d.substring(a+8,a+8+e);"zTXt"==c?(e=a.indexOf(String.fromCharCode(0)),"mxGraphModel"==a.substring(0,e)&&(a=this.editor.graph.bytesToString(pako.inflateRaw(a.substring(e+2))).replace(/\+/g,
" "),null!=a&&0<a.length&&(b=a))):"tEXt"==c&&(a=a.split(String.fromCharCode(0)),1<a.length&&"mxGraphModel"==a[0]&&(b=a[1]));if(null!=b||"IDAT"==c)return!0}))}catch(e){}null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));null!=b&&"%"==b.charAt(0)&&(b=decodeURIComponent(b));return b};EditorUi.prototype.loadImage=function(a,b,c){var d=new Image;d.onload=function(){b(d)};null!=c&&(d.onerror=c);d.src=a};var k=EditorUi.prototype.init;EditorUi.prototype.init=function(){k.apply(this,arguments);var a=this.editor.graph,
b=this;mxClient.IS_SVG&&this.editor.addSvgShadow(a.view.canvas.ownerSVGElement,null,!0);this.defaultFilename=mxResources.get("untitledDiagram");var c=a.getGlobalVariable;a.getGlobalVariable=function(a){return"page"==a&&null!=b.currentPage?b.currentPage.getName():"pagenumber"==a&&null!=b.currentPage&&null!=b.pages?mxUtils.indexOf(b.pages,b.currentPage)+1:c.apply(this,arguments)};this.editor.getOrCreateFilename=function(){var a=b.defaultFilename,c=b.getCurrentFile();null!=c&&(a=null!=c.getTitle()?c.getTitle():
a);return a};var d=this.actions.get("print");d.setEnabled(!mxClient.IS_IOS||!navigator.standalone);d.visible=d.isEnabled();if(!this.editor.chromeless){this.keyHandler.bindAction(67,!0,"copyStyle",!0);this.keyHandler.bindAction(86,!0,"pasteStyle",!0);this.keyHandler.bindAction(77,!0,"editGeometry",!0);this.keyHandler.bindAction(88,!0,"insertText",!0);this.keyHandler.bindAction(75,!0,"insertRectangle");this.keyHandler.bindAction(75,!0,"insertEllipse",!0);mxClient.IS_IE||a.container.addEventListener("paste",
mxUtils.bind(this,function(a){var b=this.editor.graph;if(!mxEvent.isConsumed(a)&&!b.isEditing())try{for(var c=a.clipboardData||a.originalEvent.clipboardData,b=!1,d=0;d<c.types.length;d++)if("text/"===c.types[d].substring(0,5)){b=!0;break}if(!b){var e=c.items;for(index in e){var f=e[index];if("file"===f.kind){var g=this.editor.graph.getInsertPoint();this.importFiles([f.getAsFile()],g.x,g.y,this.maxImageSize);mxEvent.consume(a);break}}}}catch(k){}}),!1);var e=document.createElement("div");e.style.position=
"absolute";e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.style.display="block";e.contentEditable=!0;mxUtils.setOpacity(e,0);e.style.width="1px";e.style.height="1px";e.innerHTML="\x26nbsp;";var f=!1;this.keyHandler.bindControlKey(88,null);this.keyHandler.bindControlKey(67,null);this.keyHandler.bindControlKey(86,null);mxEvent.addListener(document,"keydown",mxUtils.bind(this,function(b){var c=mxEvent.getSource(b);if(null!=a.container&&a.isEnabled()&&!a.isMouseDown&&!a.isEditing()&&null==this.dialog&&
"INPUT"!=c.nodeName&&"TEXTAREA"!=c.nodeName&&(224==b.keyCode||!mxClient.IS_MAC&&17==b.keyCode||mxClient.IS_MAC&&91==b.keyCode)&&!f)e.style.left=a.container.scrollLeft+10+"px",e.style.top=a.container.scrollTop+10+"px",a.container.appendChild(e),f=!0,mxClient.IS_QUIRKS?window.setTimeout(function(){e.focus();document.execCommand("selectAll",!1,null)},0):(e.focus(),document.execCommand("selectAll",!1,null))}));var g=function(){window.setTimeout(function(){e.innerHTML="\x26nbsp;";e.focus();document.execCommand("selectAll",
!1,null)},0)};mxEvent.addListener(document,"keyup",mxUtils.bind(this,function(b){var c=b.keyCode;window.setTimeout(mxUtils.bind(this,function(){if(f&&(224==c||17==c||91==c))f=!1,!a.isEditing()&&null==this.dialog&&null!=a.container&&a.container.focus(),e.parentNode.removeChild(e)}),0)}));mxEvent.addListener(e,"copy",mxUtils.bind(this,function(b){a.isEnabled()&&(mxClipboard.copy(a),this.copyCells(e),g())}));mxEvent.addListener(e,"cut",mxUtils.bind(this,function(b){a.isEnabled()&&(this.copyCells(e,!0),
g())}));mxEvent.addListener(e,"paste",mxUtils.bind(this,function(b){a.isEnabled()&&!a.isCellLocked(a.getDefaultParent())&&(e.innerHTML="\x26nbsp;",e.focus(),window.setTimeout(mxUtils.bind(this,function(){this.pasteCells(b,e);e.innerHTML="\x26nbsp;"}),0))}),!0);var l=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==e?!0:l.apply(this,arguments)}}d=Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0)/2;this.spinner=this.createSpinner(document.body.clientWidth/
2-2,d,24);Graph.fileSupport&&this.editor.graph.addListener(mxEvent.EDITING_STARTED,mxUtils.bind(this,function(a){var b=this.editor.graph,c=b.cellEditor.text2,d=null;null!=c&&(mxEvent.addListener(c,"dragleave",function(a){null!=d&&(d.parentNode.removeChild(d),d=null);a.stopPropagation();a.preventDefault()}),mxEvent.addListener(c,"dragover",mxUtils.bind(this,function(a){if(null==d&&(!mxClient.IS_IE||10<document.documentMode))d=this.highlightElement(c);a.stopPropagation();a.preventDefault()})),mxEvent.addListener(c,
"drop",mxUtils.bind(this,function(a){null!=d&&(d.parentNode.removeChild(d),d=null);if(0<a.dataTransfer.files.length)this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,function(a,c,d,e,f,g){b.insertImage(a,f,g)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!mxEvent.isControlDown(a));else if(0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")){var c=a.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(c)?
this.loadImage(decodeURIComponent(c),mxUtils.bind(this,function(a){var d=Math.max(1,a.width);a=Math.max(1,a.height);var e=this.maxImageSize,e=Math.min(1,Math.min(e/Math.max(1,d)),e/Math.max(1,a));b.insertImage(decodeURIComponent(c),d*e,a*e)})):document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/plain"))}else 0<=mxUtils.indexOf(a.dataTransfer.types,"text/html")?document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/html")):0<=mxUtils.indexOf(a.dataTransfer.types,"text/plain")&&
document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/plain"));a.stopPropagation();a.preventDefault()})))}));if("1"==urlParams.test){d=document.getElementById("geFooter");null!=d&&(this.styleInput=document.createElement("input"),this.styleInput.setAttribute("type","text"),this.styleInput.style.position="absolute",this.styleInput.style.top="14px",this.styleInput.style.left="2px",this.styleInput.style.width="98%",this.styleInput.style.visibility="hidden",this.styleInput.style.opacity="0.9",
mxEvent.addListener(this.styleInput,"change",mxUtils.bind(this,function(){this.editor.graph.getModel().setStyle(this.editor.graph.getSelectionCell(),this.styleInput.value)})),d.appendChild(this.styleInput),this.editor.graph.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(a,b){if(0<this.editor.graph.getSelectionCount()){var c=this.editor.graph.getSelectionCell(),c=this.editor.graph.getModel().getStyle(c);this.styleInput.value=c||"";this.styleInput.style.visibility="visible"}else this.styleInput.style.visibility=
"hidden"})));var m=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==this.styleInput?!0:m.apply(this,arguments)}}d=document.getElementById("geInfo");null!=d&&d.parentNode.removeChild(d);if(Graph.fileSupport){var n=null;mxEvent.addListener(a.container,"dragleave",function(b){a.isEnabled()&&(null!=n&&(n.parentNode.removeChild(n),n=null),b.stopPropagation(),b.preventDefault())});mxEvent.addListener(a.container,"dragover",mxUtils.bind(this,function(b){if(null==n&&
(!mxClient.IS_IE||10<document.documentMode))n=this.highlightElement(a.container);null!=this.sidebar&&this.sidebar.hideTooltip();b.stopPropagation();b.preventDefault()}));mxEvent.addListener(a.container,"drop",mxUtils.bind(this,function(b){null!=n&&(n.parentNode.removeChild(n),n=null);if(a.isEnabled()){var c=mxUtils.convertPoint(a.container,mxEvent.getClientX(b),mxEvent.getClientY(b)),d=a.view.translate,e=a.view.scale,f=c.x/e-d.x,g=c.y/e-d.y;mxEvent.isAltDown(b)&&(g=f=0);if(0<b.dataTransfer.files.length)this.importFiles(b.dataTransfer.files,
f,g,this.maxImageSize,null,null,null,null,!mxEvent.isControlDown(b)&&!mxEvent.isShiftDown(b));else{var k=0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")?b.dataTransfer.getData("text/uri-list"):null,c=this.extractGraphModelFromEvent(b);if(null!=c)a.setSelectionCells(this.importXml(c,f,g,!0));else if(0<=mxUtils.indexOf(b.dataTransfer.types,"text/html")){c=b.dataTransfer.getData("text/html");e=document.createElement("div");e.innerHTML=c;var d=null,l=e.getElementsByTagName("img");null!=l&&1==
l.length?(c=l[0].getAttribute("src"),/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(c)||(d=!0)):(e=e.getElementsByTagName("a"),null!=e&&1==e.length&&(c=e[0].getAttribute("href")));a.setSelectionCells(this.insertTextAt(c,f,g,!0,d))}else null!=k&&/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(k)?this.loadImage(decodeURIComponent(k),mxUtils.bind(this,function(b){var c=Math.max(1,b.width);b=Math.max(1,b.height);var d=this.maxImageSize,d=Math.min(1,Math.min(d/Math.max(1,c)),d/Math.max(1,b));a.setSelectionCell(a.insertVertex(null,
null,"",f,g,c*d,b*d,"shape\x3dimage;verticalLabelPosition\x3dbottom;labelBackgroundColor\x3d#ffffff;verticalAlign\x3dtop;aspect\x3dfixed;image\x3d"+k+";"))}),mxUtils.bind(this,function(b){a.setSelectionCells(this.insertTextAt(k,f,g,!0))})):0<=mxUtils.indexOf(b.dataTransfer.types,"text/plain")&&a.setSelectionCells(this.insertTextAt(b.dataTransfer.getData("text/plain"),f,g,!0))}}b.stopPropagation();b.preventDefault()}),!1)}this.initPages();"1"==urlParams.embed&&this.initializeEmbedMode()};EditorUi.prototype.copyCells=
function(a,b){var c=this.editor.graph;if(c.isSelectionEmpty())a.innerHTML="";else{var d=mxUtils.sortCells(c.model.getTopmostCells(c.getSelectionCells())),e=mxUtils.getXml(this.editor.graph.encodeCells(d));mxUtils.setTextContent(a,encodeURIComponent(e));b?(c.removeCells(d,!1),c.lastPasteXml=null):(c.lastPasteXml=e,c.pasteCounter=0);a.focus();document.execCommand("selectAll",!1,null)}};EditorUi.prototype.pasteCells=function(a,b){if(!mxEvent.isConsumed(a)){var c=this.editor.graph,d=mxUtils.trim(mxClient.IS_QUIRKS||
8==document.documentMode?mxUtils.getTextContent(b):b.textContent),e=!1;try{var f=d.lastIndexOf("%3E");f<d.length-3&&(d=d.substring(0,f+3))}catch(g){}try{var k=b.getElementsByTagName("span"),l=null!=k&&0<k.length?mxUtils.trim(decodeURIComponent(k[0].textContent)):decodeURIComponent(d);this.isCompatibleString(l)&&(e=!0,d=l)}catch(m){}c.lastPasteXml==d?c.pasteCounter++:(c.lastPasteXml=d,c.pasteCounter=0);f=c.pasteCounter*c.gridSize;if(null!=d&&0<d.length&&(e||this.isCompatibleString(d)?c.setSelectionCells(this.importXml(d,
f,f)):(e=c.getInsertPoint(),c.setSelectionCells(this.insertTextAt(d,e.x+f,e.y+f,!0))),!c.isSelectionEmpty())){c.scrollCellToVisible(c.getSelectionCell());null!=this.hoverIcons&&this.hoverIcons.update(c.view.getState(c.getSelectionCell()));try{mxEvent.consume(a)}catch(n){}}}};var l=EditorUi.prototype.createFormat;EditorUi.prototype.createFormat=function(a){var b=Format.prototype.init;Format.prototype.init=function(){b.apply(this,arguments);this.editorUi.editor.addListener("fileLoaded",this.update)};
var c=Format.prototype.refresh;Format.prototype.refresh=function(){null!=this.editorUi.getCurrentFile()||"1"==urlParams.embed?c.apply(this,arguments):this.clear()};var d=DiagramFormatPanel.prototype.addOptions;DiagramFormatPanel.prototype.addOptions=function(a){a=d.apply(this,arguments);var b=this.editorUi;if(b.editor.graph.isEnabled()){var c=b.getCurrentFile();null!=c&&c.isAutosaveOptional()&&(c=this.createOption(mxResources.get("autosave"),function(){return b.editor.autosave},function(a){b.editor.setAutosave(a)},
{install:function(a){this.listener=function(){a(b.editor.autosave)};b.editor.addListener("autosaveChanged",this.listener)},destroy:function(){b.editor.removeListener(this.listener)}}),a.appendChild(c))}return a};var e=StyleFormatPanel.prototype.init;StyleFormatPanel.prototype.init=function(){"image"!=this.format.createSelectionState().style.shape&&this.container.appendChild(this.addStyles(this.createPanel()));e.apply(this,arguments)};var f=StyleFormatPanel.prototype.addStyleOps;StyleFormatPanel.prototype.addStyleOps=
function(a){var b=mxUtils.button(mxResources.get("copyStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("copyStyle").funct()}));b.setAttribute("title",mxResources.get("copyStyle")+" ("+this.editorUi.actions.get("copyStyle").shortcut+")");b.style.marginBottom="2px";b.style.width="100px";b.style.marginRight="2px";a.appendChild(b);b=mxUtils.button(mxResources.get("pasteStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("pasteStyle").funct()}));b.setAttribute("title",mxResources.get("pasteStyle")+
" ("+this.editorUi.actions.get("pasteStyle").shortcut+")");b.style.marginBottom="2px";b.style.width="100px";a.appendChild(b);mxUtils.br(a);return f.apply(this,arguments)};StyleFormatPanel.prototype.addStyles=function(a){function b(e){var f=mxUtils.button("",function(a){c.getModel().beginUpdate();try{var b=c.getSelectionCells();for(a=0;a<b.length;a++){for(var f=c.getModel().getStyle(b[a]),g=0;g<d.length;g++)f=mxUtils.removeStylename(f,d[g]);null!=e?(f=mxUtils.setStyle(f,mxConstants.STYLE_FILLCOLOR,
e.fill),f=mxUtils.setStyle(f,mxConstants.STYLE_STROKECOLOR,e.stroke),f=mxUtils.setStyle(f,mxConstants.STYLE_GRADIENTCOLOR,e.gradient)):(f=mxUtils.setStyle(f,mxConstants.STYLE_FILLCOLOR,"#ffffff"),f=mxUtils.setStyle(f,mxConstants.STYLE_STROKECOLOR,"#000000"),f=mxUtils.setStyle(f,mxConstants.STYLE_GRADIENTCOLOR,null));c.getModel().setStyle(b[a],f)}}finally{c.getModel().endUpdate()}});f.style.width="44px";f.style.height="30px";f.style.margin="1px 8px 6px 0px";null!=e?(f.style.backgroundColor=e.fill,
f.style.border="1px solid "+e.stroke):(f.style.backgroundColor="#ffffff",f.style.border="1px solid #000000");a.appendChild(f)}var c=this.editorUi.editor.graph;a.style.paddingBottom="4px";for(var d=["plain-gray","plain-blue","plain-green","plain-orange","plain-yellow","plain-red","plain-purple",null],e=[null,{fill:"#f5f5f5",stroke:"#666666"},{fill:"#dae8fc",stroke:"#6c8ebf"},{fill:"#d5e8d4",stroke:"#82b366"},{fill:"#ffe6cc",stroke:"#d79b00"},{fill:"#fff2cc",stroke:"#d6b656"},{fill:"#f8cecc",stroke:"#b85450"},
{fill:"#e1d5e7",stroke:"#9673a6"}],f=0;f<e.length;f++)0<f&&0==mxUtils.mod(f,4)&&mxUtils.br(a),b(e[f]);return a};return l.apply(this,arguments)};null!=window.StyleFormatPanel&&(StyleFormatPanel.prototype.addEditOps=function(a){var b=this.format.getSelectionState(),c=null;1==this.editorUi.editor.graph.getSelectionCount()&&(c=mxUtils.button(mxResources.get("editStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editStyle").funct()})),c.setAttribute("title",mxResources.get("editStyle")+
" ("+this.editorUi.actions.get("editStyle").shortcut+")"),c.style.width="202px",c.style.marginBottom="2px",a.appendChild(c));var d=this.editorUi.editor.graph,e=d.view.getState(d.getSelectionCell());1==d.getSelectionCount()&&null!=e&&null!=e.shape&&null!=e.shape.stencil?(b=mxUtils.button(mxResources.get("editShape"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editShape").funct()})),b.setAttribute("title",mxResources.get("editShape")),b.style.marginBottom="2px",null==c?b.style.width="202px":
(c.style.width="100px",b.style.width="100px",b.style.marginLeft="2px"),a.appendChild(b)):b.image&&(b=mxUtils.button(mxResources.get("editImage"),mxUtils.bind(this,function(a){this.editorUi.actions.get("image").funct()})),b.setAttribute("title",mxResources.get("editImage")),b.style.marginBottom="2px",null==c?b.style.width="202px":(c.style.width="100px",b.style.width="100px",b.style.marginLeft="2px"),a.appendChild(b));return a});EditorUi.prototype.addFileDropHandler=function(a){if(Graph.fileSupport)for(var b=
null,c=0;c<a.length;c++)mxEvent.addListener(a[c],"dragleave",function(a){null!=b&&(b.parentNode.removeChild(b),b=null);a.stopPropagation();a.preventDefault()}),mxEvent.addListener(a[c],"dragover",mxUtils.bind(this,function(a){if(null==b&&(!mxClient.IS_IE||10<document.documentMode&&12>document.documentMode))b=this.highlightElement();a.stopPropagation();a.preventDefault()})),mxEvent.addListener(a[c],"drop",mxUtils.bind(this,function(a){null!=b&&(b.parentNode.removeChild(b),b=null);if(0<a.dataTransfer.files.length)this.hideDialog(),
this.openFiles(a.dataTransfer.files);else{var c=this.extractGraphModelFromEvent(a);if(null==c){var d=null!=a.dataTransfer?a.dataTransfer:a.clipboardData;null!=d&&(10==document.documentMode||11==document.documentMode?c=d.getData("Text"):(c=null,c=0<=mxUtils.indexOf(d.types,"text/uri-list")?a.dataTransfer.getData("text/uri-list"):0<=mxUtils.indexOf(d.types,"text/html")?d.getData("text/html"):null,null!=c&&0<c.length?(d=document.createElement("div"),d.innerHTML=c,d=d.getElementsByTagName("img"),0<d.length&&
(c=d[0].getAttribute("src"))):0<=mxUtils.indexOf(d.types,"text/plain")&&(c=d.getData("text/plain"))),null!=c&&("data:image/png;base64,"==c.substring(0,22)&&(d=this.extractGraphModelFromPng(c),null!=d&&0<d.length&&this.openLocalFile(d)),!this.isOffline()&&this.isRemoteFileFormat(c)?(new mxXmlRequest(OPEN_URL,"format\x3dxml\x26data\x3d"+encodeURIComponent(c))).send(mxUtils.bind(this,function(a){200==a.getStatus()&&this.openLocalFile(a.getText())})):/^https?:\/\//.test(c)&&(c=this.getUrl(window.location.pathname+
"?url\x3d"+encodeURIComponent(c)),null==this.getCurrentFile()?window.location.href=c:window.openWindow(c))))}else this.openLocalFile(c)}a.stopPropagation();a.preventDefault()}))};EditorUi.prototype.highlightElement=function(a){var b=0,c=0,d=0,e=0;if(null==a)var e=document.body,f=document.documentElement,d=(e.clientWidth||f.clientWidth)-3,e=Math.max(e.clientHeight||0,f.clientHeight)-3;else b=a.offsetTop,c=a.offsetLeft,d=a.clientWidth,e=a.clientHeight;f=document.createElement("div");f.style.zIndex=
mxPopupMenu.prototype.zIndex+2;f.style.border="3px dotted rgb(254, 137, 12)";f.style.pointerEvents="none";f.style.position="absolute";f.style.top=b+"px";f.style.left=c+"px";f.style.width=Math.max(0,d-3)+"px";f.style.height=Math.max(0,e-3)+"px";null!=a&&a.parentNode==this.editor.graph.container?this.editor.graph.container.appendChild(f):document.body.appendChild(f);return f};EditorUi.prototype.stringToCells=function(a){a=mxUtils.parseXml(a);var b=this.editor.extractGraphModel(a.documentElement);a=
[];if(null!=b){var c=new mxCodec(b.ownerDocument),d=new mxGraphModel;c.decode(b,d);b=d.getChildAt(d.getRoot(),0);for(c=0;c<d.getChildCount(b);c++)a.push(d.getChildAt(b,c))}return a};EditorUi.prototype.openFiles=function(a){if(this.spinner.spin(document.body,mxResources.get("loading")))for(var b=0;b<a.length;b++)mxUtils.bind(this,function(a){var b=new FileReader;b.onload=mxUtils.bind(this,function(b){var c=b.target.result,d=a.name;if(null!=d&&0<d.length)if(/(\.png)$/i.test(d)&&(d=d.substring(0,d.length-
4)+".xml"),Graph.fileSupport&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,d))d=0<=d.lastIndexOf(".")?d.substring(0,d.lastIndexOf("."))+".xml":d+".xml",this.parseFile(a,mxUtils.bind(this,function(a){4==a.readyState&&(this.spinner.stop(),200==a.status?this.openLocalFile(a.responseText,d):this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))}));else if("\x3cmxlibrary"==b.target.result.substring(0,
10)){this.spinner.stop();try{this.loadLibrary(new LocalLibrary(this,b.target.result,a.name))}catch(e){this.handleError(e,mxResources.get("errorLoadingFile"))}}else"image/png"==a.type.substring(0,9)&&(c=this.extractGraphModelFromPng(c)),this.spinner.stop(),this.openLocalFile(c,d)});b.onerror=mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a);window.openFile=null});"image"===a.type.substring(0,5)&&"image/svg"!==a.type.substring(0,9)?b.readAsDataURL(a):b.readAsText(a)})(a[b])};EditorUi.prototype.openLocalFile=
function(a,b){var c=mxUtils.bind(this,function(){window.openFile=null;if(null==b&&null!=this.getCurrentFile()&&this.isDiagramEmpty()){var c=mxUtils.parseXml(a);null!=c&&(this.editor.setGraphXml(c.documentElement),this.editor.graph.selectAll())}else this.fileLoaded(new LocalFile(this,a,b||this.defaultFilename))});null!=a&&0<a.length&&(null!=this.getCurrentFile()&&!this.isDiagramEmpty()?(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(a,b),window.openWindow(this.getUrl(),
null,c)):c())};EditorUi.prototype.initializeEmbedMode=function(){this.diagramContainer.style.visibility="hidden";this.formatContainer.style.visibility="hidden";this.editor.graph.setEnabled(!1);if((window.opener||window.parent)!=window)("1"!=urlParams.spin||this.spinner.spin(document.body,mxResources.get("loading")))&&this.installMessageHandler(mxUtils.bind(this,function(a,b,c){this.spinner.stop();this.addEmbedButtons();this.diagramContainer.style.visibility="";this.formatContainer.style.visibility=
"";this.editor.graph.setEnabled(!0);null!=a&&0<a.length?(a=mxUtils.parseXml(a),this.editor.setGraphXml(a.documentElement),this.showLayersDialog()):(this.editor.graph.model.clear(),this.editor.fireEvent(new mxEventObject("resetGraphView")));this.editor.undoManager.clear();this.editor.modified=null!=c?c:!1;this.updateUi();null!=this.format&&this.format.refresh()}))};EditorUi.prototype.showLayersDialog=function(){1<this.editor.graph.getModel().getChildCount(this.editor.graph.getModel().getRoot())&&(null==
this.actions.layersWindow?this.actions.get("layers").funct():this.actions.layersWindow.window.setVisible(!0))};EditorUi.prototype.createLoadMessage=function(a){var b=this.editor.graph;return{event:a,pageVisible:b.pageVisible,translate:b.view.translate,scale:b.view.scale,page:b.view.getBackgroundPageBounds(),bounds:b.getGraphBounds()}};EditorUi.prototype.installMessageHandler=function(a){var b=!1,c=mxUtils.bind(this,function(a,b){null!=urlParams.modified&&("0"==urlParams.modified?this.editor.setStatus(""):
this.editor.setStatus(mxResources.get(urlParams.modified)))});this.editor.graph.model.addListener(mxEvent.CHANGE,c);mxEvent.addListener(window,"message",mxUtils.bind(this,function(c){var e=c.data;if("json"==urlParams.proto){e=JSON.parse(e);if("dialog"==e.action){this.showError(null!=e.titleKey?mxResources.get(e.titleKey):e.title,null!=e.messageKey?mxResources.get(e.messageKey):e.message,null!=e.buttonKey?mxResources.get(e.buttonKey):e.button);null!=e.modified&&(this.editor.modified=e.modified);return}if("template"==
e.action){this.spinner.stop();var f=new NewDialog(this,!1,!1,mxUtils.bind(this,function(b){a(b||"",c,null!=b)}));this.showDialog(f.container,620,440,!0,!0,mxUtils.bind(this,function(a){a&&this.actions.get("exit").funct()}));f.init();return}if("status"==e.action){null!=e.messageKey?this.editor.setStatus(mxResources.get(e.messageKey)):null!=e.message&&this.editor.setStatus(e.message);null!=e.modified&&(this.editor.modified=e.modified);return}if("spinner"==e.action){var g=null!=e.messageKey?mxResources.get(e.messageKey):
e.message;null!=e.show&&!e.show?this.spinner.stop():this.spinner.spin(document.body,g);return}if("export"==e.action){if("png"==e.format||"xmlpng"==e.format){if(null==e.spin&&null==e.spinKey||this.spinner.spin(document.body,null!=e.spinKey?mxResources.get(e.spinKey):e.spin)){var k=null!=e.xml?e.xml:this.getFileData(!0);this.editor.graph.setEnabled(!1);var l=mxUtils.bind(this,function(a){var b=this.createLoadMessage("export");b.format=e.format;b.xml=encodeURIComponent(k);b.data="data:image/png;base64,"+
a;d.postMessage(JSON.stringify(b),"*");this.editor.graph.setEnabled(!0)});this.isExportToCanvas()?this.exportToCanvas(mxUtils.bind(this,function(a){a=a.toDataURL("image/png");"xmlpng"==e.format&&(a=this.writeGraphModelToPng(a,"zTXt","mxGraphModel",atob(this.editor.graph.compress(k))));l(a.substring(a.lastIndexOf(",")+1))})):(new mxXmlRequest(EXPORT_URL,"format\x3dpng\x26embedXml\x3d"+("xmlpng"==e.format?"1":"0")+"\x26base64\x3d1\x26xml\x3d"+encodeURIComponent(encodeURIComponent(k)))).send(mxUtils.bind(this,
function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();200==a.getStatus()&&l(a.getText())}),mxUtils.bind(this,function(){this.spinner.stop()}))}}else{null!=e.xml&&0<e.xml.length&&(f=mxUtils.parseXml(e.xml),this.editor.setGraphXml(f.documentElement));g=this.createLoadMessage("export");if("html"==e.format||"html2"==e.format)k=this.editor.getGraphXml(),g.data="html2"==e.format?this.getHtml2(k,this.editor.graph):this.getHtml(k,this.editor.graph),g.xml=mxUtils.getXml(k),g.format=e.format;else{mxSvgCanvas2D.prototype.foAltText=
null;f=this.editor.graph.background;f==mxConstants.NONE&&(f=null);g.xml=mxUtils.getXml(this.editor.getGraphXml());g.format="svg";if(e.embedImages||null==e.embedImages){if(null==e.spin&&null==e.spinKey||this.spinner.spin(document.body,null!=e.spinKey?mxResources.get(e.spinKey):e.spin))this.editor.graph.setEnabled(!1),"xmlsvg"==e.format?this.getEmbeddedSvg(g.xml,this.editor.graph,null,!0,mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();g.data=this.createSvgDataUri(a);
d.postMessage(JSON.stringify(g),"*")})):this.convertImages(this.editor.graph.getSvg(f),mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();g.data=this.createSvgDataUri(mxUtils.getXml(a));d.postMessage(JSON.stringify(g),"*")}));return}f="xmlsvg"==e.format?this.getEmbeddedSvg(mxUtils.getXml(this.editor.getGraphXml()),this.editor.graph,null,!0):mxUtils.getXml(this.editor.graph.getSvg(f));g.data=this.createSvgDataUri(f)}d.postMessage(JSON.stringify(g),"*")}return}"load"==
e.action?(b=1==e.autosave,null!=e.modified&&null==urlParams.modified&&(urlParams.modified=e.modified),null!=e.saveAndExit&&null==urlParams.saveAndExit&&(urlParams.saveAndExit=e.saveAndExit),e=null!=e.xmlpng?this.extractGraphModelFromPng(e.xmlpng):e.xml):e=null}if(null!=e&&"\x3c"!=e.charAt(0))try{"data:image/svg+xml;base64,"==e.substring(0,26)?e=atob(e.substring(26)):"data:image/svg+xml;utf8,"==e.substring(0,24)&&(e=e.substring(24)),null!=e&&("%"==e.charAt(0)?e=decodeURIComponent(e):"\x3c"!=e.charAt(0)&&
(e=this.editor.graph.decompress(e)))}catch(m){}a(e,c);null!=urlParams.modified&&this.editor.setStatus("");b&&(f=mxUtils.bind(this,function(a,b){var c=mxUtils.getXml(this.editor.getGraphXml()),d=this.createLoadMessage("autosave");d.xml=c;c=JSON.stringify(d);(window.opener||window.parent).postMessage(c,"*")}),this.editor.graph.model.addListener(mxEvent.CHANGE,f),this.addListener("pageFormatChanged",f),this.addListener("backgroundColorChanged",f),this.addListener("backgroundImageChanged",f),this.addListener("foldingEnabledChanged",
f),this.addListener("mathEnabledChanged",f),this.addListener("gridEnabledChanged",f),this.addListener("guidesEnabledChanged",f),this.addListener("pageViewChanged",f));("1"==urlParams.returnbounds||"json"==urlParams.proto)&&d.postMessage(JSON.stringify(this.createLoadMessage("load")),"*")}));var d=window.opener||window.parent,c="json"==urlParams.proto?JSON.stringify({event:"init"}):urlParams.ready||"ready";d.postMessage(c,"*")};EditorUi.prototype.addEmbedButtons=function(){if(null!=this.menubar){var a=
document.createElement("div");a.style.display="inline-block";a.style.position="absolute";a.style.paddingTop="atlas"==uiTheme?"2px":"3px";a.style.paddingLeft="8px";a.style.paddingBottom="2px";var b=document.createElement("button");mxUtils.write(b,mxResources.get("save"));b.className="geBigButton";b.style.fontSize="12px";b.style.padding="4px 6px 4px 6px";b.style.borderRadius="3px";mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("save").funct()}));a.appendChild(b);"1"==urlParams.saveAndExit&&
(b=document.createElement("a"),mxUtils.write(b,mxResources.get("saveAndExit")),b.style.fontSize="12px",b.style.marginLeft="6px",b.style.padding="4px",b.style.cursor="pointer",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b));b=document.createElement("a");mxUtils.write(b,mxResources.get("exit"));b.style.fontSize="12px";b.style.marginLeft="6px";b.style.marginRight="20px";b.style.padding="4px";b.style.cursor="pointer";mxEvent.addListener(b,
"click",mxUtils.bind(this,function(){this.actions.get("exit").funct()}));a.appendChild(b);this.toolbar.container.appendChild(a);this.toolbar.staticElements.push(a);a.style.right="atlas"!=uiTheme?"52px":"42px"}};EditorUi.prototype.getSearch=function(a){var b="";if("1"!=urlParams.offline&&"1"!=urlParams.demo&&null!=a&&0<window.location.search.length){var c="?",d;for(d in urlParams)0>mxUtils.indexOf(a,d)&&null!=urlParams[d]&&(b+=c+d+"\x3d"+urlParams[d],c="\x26")}else b=window.location.search;return b};
EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var b=0<a.indexOf("?")?1:0;if("1"==urlParams.offline)a+=window.location.search;else{var c="tmp libs clibs state fileId code share notitle url embed client create title splash".split(" "),d;for(d in urlParams)0>mxUtils.indexOf(c,d)&&(a=0==b?a+"?":a+"\x26",null!=urlParams[d]&&(a+=d+"\x3d"+urlParams[d],b++))}return a};var m=EditorUi.prototype.createOutline;EditorUi.prototype.createOutline=function(a){var b=m.apply(this,arguments),
c=this.editor.graph,d=b.getSourceGraphBounds;b.getSourceGraphBounds=function(){if(mxUtils.hasScrollbars(c.container)&&c.pageVisible&&null!=this.source.minimumGraphSize){var a=this.source.getPagePadding(),b=this.source.view.scale;return new mxRectangle(0,0,Math.ceil(this.source.minimumGraphSize.width-2*a.x/b),Math.ceil(this.source.minimumGraphSize.height-2*a.y/b))}return d.apply(this,arguments)};var e=b.getSourceContainerSize;b.getSourceContainerSize=function(){if(mxUtils.hasScrollbars(c.container)&&
null!=this.source.minimumGraphSize){var a=this.source.getPagePadding(),b=this.source.view.scale;return new mxRectangle(0,0,Math.ceil(this.source.minimumGraphSize.width*b-2*a.x),Math.ceil(this.source.minimumGraphSize.height*b-2*a.y))}return e.apply(this,arguments)};b.getOutlineOffset=function(a){if(mxUtils.hasScrollbars(c.container)&&null!=this.source.minimumGraphSize){var d=this.source.getPagePadding(),e=Math.max(0,(b.outline.container.clientWidth/a-(this.source.minimumGraphSize.width-2*d.x))/2),
f=Math.max(0,(b.outline.container.clientHeight/a-(this.source.minimumGraphSize.height-2*d.y))/2);return new mxPoint(Math.round(e-d.x),Math.round(f-d.y-5/a))}return new mxPoint(8/a,8/a)};var f=b.init;b.init=function(){f.apply(this,arguments);b.outline.view.getBackgroundPageBounds=function(){var a=c.getPageLayout(),b=c.getPageSize();return new mxRectangle(this.scale*(this.translate.x+a.x*b.width),this.scale*(this.translate.y+a.y*b.height),this.scale*a.width*b.width,this.scale*a.height*b.height)};b.outline.view.validateBackgroundPage()};
this.editor.addListener("pageSelected",function(a,c){var d=c.getProperty("change"),e=b.source,f=b.outline;f.pageScale=e.pageScale;f.pageFormat=e.pageFormat;f.background=e.background;f.pageVisible=e.pageVisible;f.background=e.background;var g=mxUtils.getCurrentStyle(e.container);f.container.style.backgroundColor=g.backgroundColor;null!=e.view.backgroundPageShape&&null!=f.view.backgroundPageShape&&(f.view.backgroundPageShape.fill=e.view.backgroundPageShape.fill);b.outline.view.clear(d.previousPage.root,
!0);b.outline.view.validate()});return b};var n=EditorUi.prototype.updateActionStates;EditorUi.prototype.updateActionStates=function(){n.apply(this,arguments);var a=this.editor.graph,b=this.getCurrentFile(),c=null!=b&&b.isEditable()||"1"==urlParams.embed;this.actions.get("pageSetup").setEnabled(c);this.actions.get("autosave").setEnabled(null!=b&&b.isEditable()&&b.isAutosaveOptional());this.actions.get("guides").setEnabled(c);this.actions.get("shadowVisible").setEnabled(c);this.actions.get("connectionArrows").setEnabled(c);
this.actions.get("connectionPoints").setEnabled(c);this.actions.get("copyStyle").setEnabled(c&&!a.isSelectionEmpty());this.actions.get("pasteStyle").setEnabled(c&&!a.isSelectionEmpty());this.actions.get("editGeometry").setEnabled(a.getModel().isVertex(a.getSelectionCell()));this.actions.get("createShape").setEnabled(c);this.actions.get("createRevision").setEnabled(c);this.actions.get("moveToFolder").setEnabled(null!=b);this.actions.get("makeCopy").setEnabled(null!=b&&!b.isRestricted());this.actions.get("editDiagram").setEnabled("1"==
urlParams.embed||null!=b&&!b.isRestricted());this.actions.get("imgur").setEnabled(null!=b&&!b.isRestricted());this.actions.get("github").setEnabled(null!=b&&!b.isRestricted());a=a.view.getState(a.getSelectionCell());this.actions.get("editShape").setEnabled(c&&null!=a&&null!=a.shape&&null!=a.shape.stencil)};Graph.prototype.defaultThemeName="default-style2";Graph.prototype.lastPasteXml=null;Graph.prototype.pasteCounter=0;Graph.prototype.edgeMode="move"!=urlParams.edge;var p=Graph.prototype.loadStylesheet;
Graph.prototype.loadStylesheet=function(){p.apply(this,arguments);this.currentStyle="default-style2"};Graph.prototype.defaultScrollbars="0"!=urlParams.sb;Graph.prototype.defaultPageVisible="0"!=urlParams.pv;Graph.prototype.setShadowVisible=function(a,b){mxClient.IS_SVG&&(b=null!=b?b:!0,(this.shadowVisible=a)?this.view.getDrawPane().setAttribute("filter","url(#dropShadow)"):this.view.getDrawPane().removeAttribute("filter"),b&&this.fireEvent(new mxEventObject("shadowVisibleChanged")))};var r=Graph.prototype.init;
Graph.prototype.init=function(){function a(c){b=c;if(mxClient.IS_QUIRKS||7==document.documentMode||8==document.documentMode)b=mxUtils.clone(c)}r.apply(this,arguments);var b=null;mxEvent.addListener(this.container,"mouseenter",a);mxEvent.addListener(this.container,"mousemove",a);mxEvent.addListener(this.container,"mouseleave",function(a){b=null});this.isMouseInsertPoint=function(){return null!=b};var c=this.getInsertPoint;this.getInsertPoint=function(){return null!=b?this.getPointForEvent(b):c.apply(this,
arguments)};var d=this.layoutManager.getLayout;this.layoutManager.getLayout=function(a){var b=this.graph.view.getState(a),b=null!=b?b.style:this.graph.getCellStyle(a);if("undefined"!=typeof mxRackContainer&&"rack"==b.childLayout){var c=new mxStackLayout(this.graph,!1);c.setChildGeometry=function(a,b){b.height=Math.max(b.height,20);if(1<b.height/20){var c=b.height%20;b.height+=10<c?20-c:-c}this.graph.getModel().setGeometry(a,b)};c.fill=!0;c.unitSize=mxRackContainer.unitSize|20;c.marginLeft=b.marginLeft||
0;c.marginRight=b.marginRight||0;c.marginTop=b.marginTop||0;c.marginBottom=b.marginBottom||0;c.resizeParent=!1;return c}return d.apply(this,arguments)}};mxStencilRegistry.libraries.arrows2=[SHAPES_PATH+"/mxArrows.js"];mxStencilRegistry.libraries.bpmn=[SHAPES_PATH+"/bpmn/mxBpmnShape2.js",STENCIL_PATH+"/bpmn.xml"];mxStencilRegistry.libraries.er=[SHAPES_PATH+"/er/mxER.js"];mxStencilRegistry.libraries.ios=[SHAPES_PATH+"/mockup/mxMockupiOS.js"];mxStencilRegistry.libraries.rackGeneral=[SHAPES_PATH+"/rack/mxRack.js",
STENCIL_PATH+"/rack/general.xml"];mxStencilRegistry.libraries.rackF5=[STENCIL_PATH+"/rack/f5.xml"];mxStencilRegistry.libraries.lean_mapping=[SHAPES_PATH+"/mxLeanMap.js",STENCIL_PATH+"/lean_mapping.xml"];mxStencilRegistry.libraries.basic=[SHAPES_PATH+"/mxBasic.js",STENCIL_PATH+"/basic.xml"];mxStencilRegistry.libraries.ios7icons=[STENCIL_PATH+"/ios7/icons.xml"];mxStencilRegistry.libraries.ios7ui=[SHAPES_PATH+"/ios7/mxIOS7Ui.js",STENCIL_PATH+"/ios7/misc.xml"];mxStencilRegistry.libraries.android=[SHAPES_PATH+
"/mxAndroid.js",STENCIL_PATH+"/android/android.xml"];mxStencilRegistry.libraries.eeLogicGates=[STENCIL_PATH+"/electrical/logic_gates.xml"];mxStencilRegistry.libraries.eeResistors=[STENCIL_PATH+"/electrical/resistors.xml"];mxStencilRegistry.libraries.eeCapacitors=[STENCIL_PATH+"/electrical/capacitors.xml"];mxStencilRegistry.libraries.eeInductors=[STENCIL_PATH+"/electrical/inductors.xml"];mxStencilRegistry.libraries.eeSwitchesRelays=[STENCIL_PATH+"/electrical/switchesRelays.xml",STENCIL_PATH+"/electrical/electro-mechanical.xml"];
mxStencilRegistry.libraries.eeDiodes=[STENCIL_PATH+"/electrical/diodes.xml"];mxStencilRegistry.libraries.eeSources=[STENCIL_PATH+"/electrical/signal_sources.xml"];mxStencilRegistry.libraries.eeTransistors=[STENCIL_PATH+"/electrical/mosfets1.xml",STENCIL_PATH+"/electrical/mosfets2.xml",STENCIL_PATH+"/electrical/transistors.xml"];mxStencilRegistry.libraries.eeMisc=[STENCIL_PATH+"/electrical/electro-mechanical.xml",STENCIL_PATH+"/electrical/miscellaneous.xml"];mxStencilRegistry.libraries.eeAudio=[STENCIL_PATH+
"/electrical/radio.xml"];mxStencilRegistry.libraries.eePlcLadder=[STENCIL_PATH+"/electrical/plc_ladder.xml"];mxStencilRegistry.libraries.eeAbstract=[STENCIL_PATH+"/electrical/abstract.xml",STENCIL_PATH+"/electrical/logic_gates.xml"];mxStencilRegistry.libraries.eeOptical=[STENCIL_PATH+"/electrical/opto_electronics.xml"];mxStencilRegistry.libraries.eeVacuumTubes=[STENCIL_PATH+"/electrical/vacuum_tubes.xml"];mxStencilRegistry.libraries.eeWaveforms=[STENCIL_PATH+"/electrical/waveforms.xml"];mxStencilRegistry.libraries.eeInstruments=
[STENCIL_PATH+"/electrical/instruments.xml"];mxStencilRegistry.libraries["mscae/cloud"]=[STENCIL_PATH+"/mscae/cloud.xml"];mxStencilRegistry.libraries["mockup/buttons"]=[SHAPES_PATH+"/mockup/mxMockupButtons.js"];mxStencilRegistry.libraries["mockup/containers"]=[SHAPES_PATH+"/mockup/mxMockupContainers.js"];mxStencilRegistry.libraries["mockup/forms"]=[SHAPES_PATH+"/mockup/mxMockupForms.js"];mxStencilRegistry.libraries["mockup/graphics"]=[SHAPES_PATH+"/mockup/mxMockupGraphics.js",STENCIL_PATH+"/mockup/misc.xml"];
mxStencilRegistry.libraries["mockup/markup"]=[SHAPES_PATH+"/mockup/mxMockupMarkup.js"];mxStencilRegistry.libraries["mockup/misc"]=[SHAPES_PATH+"/mockup/mxMockupMisc.js",STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/navigation"]=[SHAPES_PATH+"/mockup/mxMockupNavigation.js",STENCIL_PATH+"/mockup/misc.xml"];mxStencilRegistry.libraries["mockup/text"]=[SHAPES_PATH+"/mockup/mxMockupText.js"];mxStencilRegistry.libraries.mockup=[SHAPES_PATH+"/mockup/mxMockupButtons.js"];mxStencilRegistry.libraries.pid2inst=
[SHAPES_PATH+"/pid2/mxPidInstruments.js"];mxStencilRegistry.libraries.pid2misc=[SHAPES_PATH+"/pid2/mxPidMisc.js",STENCIL_PATH+"/pid/misc.xml"];mxStencilRegistry.libraries.pid2valves=[SHAPES_PATH+"/pid2/mxPidValves.js"];mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxStencilRegistry.libraries.floorplan=[SHAPES_PATH+"/mxFloorplan.js",STENCIL_PATH+"/floorplan.xml"];mxStencilRegistry.libraries.bootstrap=[SHAPES_PATH+"/mxBootstrap.js",STENCIL_PATH+"/bootstrap.xml"];
mxStencilRegistry.libraries.gmdl=[SHAPES_PATH+"/mxGmdl.js",STENCIL_PATH+"/gmdl.xml"];mxStencilRegistry.libraries.cabinets=[SHAPES_PATH+"/mxCabinets.js",STENCIL_PATH+"/cabinets.xml"];mxStencilRegistry.libraries.citrix=[STENCIL_PATH+"/citrix.xml"];mxStencilRegistry.libraries.archimate=[SHAPES_PATH+"/mxArchiMate.js"];mxStencilRegistry.libraries.archimate3=[SHAPES_PATH+"/mxArchiMate3.js"];mxStencilRegistry.libraries.sysml=[SHAPES_PATH+"/mxSysML.js"];mxStencilRegistry.libraries.eip=[SHAPES_PATH+"/mxEip.js",
STENCIL_PATH+"/eip.xml"];mxStencilRegistry.libraries.networks=[SHAPES_PATH+"/mxNetworks.js",STENCIL_PATH+"/networks.xml"];mxStencilRegistry.libraries.aws3d=[SHAPES_PATH+"/mxAWS3D.js",STENCIL_PATH+"/aws3d.xml"];mxMarker.getPackageForType=function(a){var b=null;null!=a&&0<a.length&&("ER"==a.substring(0,2)?b="mxgraph.er":"sysML"==a.substring(0,5)&&(b="mxgraph.sysml"));return b};var s=mxMarker.createMarker;mxMarker.createMarker=function(a,b,c,d,e,f,g,k,l,m){if(null!=c&&null==mxMarker.markers[c]){var n=
this.getPackageForType(c);null!=n&&mxStencilRegistry.getStencil(n)}return s.apply(this,arguments)}})();
var mxSettings={key:".drawio-config",settings:{language:"",libraries:Sidebar.prototype.defaultEntries,customLibraries:[],plugins:[],formatWidth:"240",currentEdgeStyle:Graph.prototype.defaultEdgeStyle,currentVertexStyle:{},createTarget:!1,pageFormat:mxGraph.prototype.pageFormat,search:!0,showStartScreen:!0,gridColor:mxGraphView.prototype.gridColor,autosave:!0,version:12,isNew:!0},getLanguage:function(){return this.settings.language},setLanguage:function(b){this.settings.language=b},getUi:function(){return this.settings.ui},
setUi:function(b){this.settings.ui=b},getShowStartScreen:function(){return this.settings.showStartScreen},setShowStartScreen:function(b){this.settings.showStartScreen=b},getGridColor:function(){return this.settings.gridColor},setGridColor:function(b){this.settings.gridColor=b},getAutosave:function(){return this.settings.autosave},setAutosave:function(b){this.settings.autosave=b},getLibraries:function(){return this.settings.libraries},setLibraries:function(b){this.settings.libraries=b},addCustomLibrary:function(b){mxSettings.load();
0>mxUtils.indexOf(this.settings.customLibraries,b)&&this.settings.customLibraries.push(b);mxSettings.save()},removeCustomLibrary:function(b){mxSettings.load();mxUtils.remove(b,this.settings.customLibraries);mxSettings.save()},getCustomLibraries:function(){return this.settings.customLibraries},getPlugins:function(){return this.settings.plugins},setPlugins:function(b){this.settings.plugins=b},getFormatWidth:function(){return parseInt(this.settings.formatWidth)},setFormatWidth:function(b){this.settings.formatWidth=
b},getCurrentEdgeStyle:function(){return this.settings.currentEdgeStyle},setCurrentEdgeStyle:function(b){this.settings.currentEdgeStyle=b},getCurrentVertexStyle:function(){return this.settings.currentVertexStyle},setCurrentVertexStyle:function(b){this.settings.currentVertexStyle=b},isCreateTarget:function(){return this.settings.createTarget},setCreateTarget:function(b){this.settings.createTarget=b},getPageFormat:function(){return this.settings.pageFormat},setPageFormat:function(b){this.settings.pageFormat=
b},save:function(){if(isLocalStorage&&"undefined"!==typeof JSON)try{delete this.settings.isNew,this.settings.version=12,localStorage.setItem(mxSettings.key,JSON.stringify(this.settings))}catch(b){}},load:function(){isLocalStorage&&"undefined"!==typeof JSON&&mxSettings.parse(localStorage.getItem(mxSettings.key))},parse:function(b){null!=b&&(this.settings=JSON.parse(b),null==this.settings.plugins&&(this.settings.plugins=[]),null==this.settings.libraries&&(this.settings.libraries=Sidebar.prototype.defaultEntries),
null==this.settings.customLibraries&&(this.settings.customLibraries=[]),null==this.settings.ui&&(this.settings.ui=""),null==this.settings.formatWidth&&(this.settings.formatWidth="240"),null!=this.settings.lastAlert&&delete this.settings.lastAlert,null==this.settings.currentEdgeStyle?this.settings.currentEdgeStyle=Graph.prototype.defaultEdgeStyle:10>=this.settings.version&&(this.settings.currentEdgeStyle.orthogonalLoop=1,this.settings.currentEdgeStyle.jettySize="auto"),null==this.settings.currentVertexStyle&&
(this.settings.currentVertexStyle={}),null==this.settings.createTarget&&(this.settings.createTarget=!1),null==this.settings.pageFormat&&(this.settings.pageFormat=mxGraph.prototype.pageFormat),null==this.settings.search&&(this.settings.search=!0),null==this.settings.showStartScreen&&(this.settings.showStartScreen=!0),null==this.settings.gridColor&&(this.settings.gridColor=mxGraphView.prototype.gridColor),null==this.settings.autosave&&(this.settings.autosave=!0),null!=this.settings.scratchpadSeen&&
delete this.settings.scratchpadSeen)},clear:function(){isLocalStorage&&localStorage.removeItem(mxSettings.key)}};("undefined"==typeof mxLoadSettings||mxLoadSettings)&&mxSettings.load();
App=function(b,c,f){EditorUi.call(this,b,c,null!=f?f:"1"==urlParams.lightbox);mxClient.IS_SVG?mxGraph.prototype.warningImage.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAE7SURBVHjaYvz//z8DJQAggBjwGXDuHMP/tWuD/uPTCxBAOA0AaQRK/f/+XeJ/cbHlf1wGAAQQTgPu3QNLgfHSpZo4DQAIIKwGwGyH4e/fFbG6AiQJEEAs2Ew2NFzH8OOHBMO6dT/A/KCg7wxGRh+wuhQggDBcALMdFIAcHBxgDGJjcwVIIUAAYbhAUXEdVos4OO4DXcGBIQ4QQCguQPY7sgtgAYruCpAgQACx4LJdU1OCwctLEcyWlLwPJF+AXQE0EMUBAAEEdwF6yMOiD4RRY0QT7gqQAEAAseDzu6XldYYPH9DD4joQa8L5AAEENgWb7SBcXa0JDQMBrK4AcQACiAlfyOMCEFdAnAYQQEz4FLa0XGf4/v0H0IIPONUABBAjyBmMjIwMS5cK/L927QORbtBkaG29DtYLEGAAH6f7oq3Zc+kAAAAASUVORK5CYII\x3d":(new Image).src=
mxGraph.prototype.warningImage.src;window.openWindow=mxUtils.bind(this,function(b,a,c){var f=window.open(b);null==f||void 0===f?this.showDialog((new PopupDialog(this,b,a,c)).container,320,140,!0,!0):null!=a&&a()});this.updateUi();b=document.createElement("canvas");this.canvasSupported=!(!b.getContext||!b.getContext("2d"));window.showOpenAlert=mxUtils.bind(this,function(b){null!=window.openFile&&window.openFile.cancel(!0);this.handleError(b)});this.isOffline()||(EditDataDialog.placeholderHelpLink=
"https://support.draw.io/questions/9338941");this.addFileDropHandler([document]);if(null!=App.DrawPlugins){for(b=0;b<App.DrawPlugins.length;b++)App.DrawPlugins[b](this);window.Draw.loadPlugin=function(b){b(this)}}this.load()};App.ERROR_TIMEOUT="timeout";App.ERROR_BUSY="busy";App.ERROR_UNKNOWN="unknown";App.MODE_GOOGLE="google";App.MODE_DROPBOX="dropbox";App.MODE_ONEDRIVE="onedrive";App.MODE_DEVICE="device";App.MODE_BROWSER="browser";App.DROPBOX_APPKEY="libwls2fa9szdji";
App.pluginRegistry={"4xAKTrabTpTzahoLthkwPNUn":"/plugins/explore.js",ex:"/plugins/explore.js",p1:"/plugins/p1.js",ac:"/plugins/connect.js",acj:"/plugins/connectJira.js",voice:"/plugins/voice.js",tips:"/plugins/tooltips.js",svgdata:"/plugins/svgdata.js",doors:"/plugins/doors.js"};App.getStoredMode=function(){var b=null;if("undefined"!=typeof Storage)for(var c=document.cookie.split(";"),f=0;f<c.length;f++){var d=mxUtils.trim(c[f]);if("MODE\x3d"==d.substring(0,5)){b=d.substring(5);break}}return b};
(function(){window.isSvgBrowser=window.isSvgBrowser||0>navigator.userAgent.indexOf("MSIE")||9<=document.documentMode;if(!mxClient.IS_CHROMEAPP&&("1"!=urlParams.offline&&("db.draw.io"==window.location.hostname&&null==urlParams.mode&&(urlParams.mode="dropbox"),App.mode=urlParams.mode,null==App.mode&&(App.mode=App.getStoredMode())),null!=window.mxscript&&("function"===typeof window.DriveClient&&("0"!=urlParams.gapi&&isSvgBrowser&&(null==document.documentMode||10<=document.documentMode)?App.mode==App.MODE_GOOGLE||
null!=urlParams.state&&""==window.location.hash||null!=window.location.hash&&"#G"==window.location.hash.substring(0,2)?mxscript("https://apis.google.com/js/api.js"):"0"==urlParams.chrome&&(window.DriveClient=null):window.DriveClient=null),"function"===typeof window.DropboxClient&&("0"!=urlParams.db&&isSvgBrowser&&(null==document.documentMode||9<document.documentMode)?App.mode==App.MODE_DROPBOX||null!=window.location.hash&&"#D"==window.location.hash.substring(0,2)?mxscript("https://www.dropbox.com/static/api/1/dropins.js",
null,"dropboxjs",App.DROPBOX_APPKEY):"0"==urlParams.chrome&&(window.DropboxClient=null):window.DropboxClient=null),"function"===typeof window.OneDriveClient&&("0"!=urlParams.od&&!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&(0>navigator.userAgent.indexOf("MSIE")||10<=document.documentMode)?App.mode==App.MODE_ONEDRIVE||null!=window.location.hash&&"#W"==window.location.hash.substring(0,2)?mxscript("https://js.live.net/v5.0/wl.js"):"0"==urlParams.chrome&&(window.OneDriveClient=null):window.OneDriveClient=
null),"undefined"==typeof JSON&&mxscript("js/json/json2.min.js")),"0"!=urlParams.plugins&&"1"!=urlParams.offline)){var b=mxSettings.getPlugins(),c=urlParams.p;if(null!=c||null!=b&&0<b.length)App.DrawPlugins=[],window.Draw={},window.Draw.loadPlugin=function(a){App.DrawPlugins.push(a)};if(null!=c)for(var c=c.split(";"),f=0;f<c.length;f++){var d=App.pluginRegistry[c[f]];null!=d?mxscript(d):null!=window.console&&console.log("Unknown plugin:",c[f])}if(null!=b&&0<b.length&&"0"!=urlParams.plugins)if(1==
b.length&&("/"==b[0].charAt(0)||0==b[0].indexOf(window.location.protocol+"//"+window.location.host)))mxscript(b[0]);else if(mxUtils.confirm(mxResources.replacePlaceholders("The page has requested to load the following plugin(s):\n \n {1}\n \n Would you like to load these plugin(s) now?\n \n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\n",[b.join("\n")]).replace(/\\n/g,"\n")))for(f=0;f<b.length;f++)try{mxscript(b[f])}catch(a){}}})();
App.main=function(b){var c=null;window.onerror=function(b,a,e,f,k){try{if(!(b==c||null!=b&&null!=a&&(-1!=b.indexOf("Script error")||-1!=b.indexOf("extension")))&&null!=b&&0>b.indexOf("DocumentClosedError")){c=b;var l=new Image;a=0<=b.indexOf("NetworkError")||0<=b.indexOf("SecurityError")||0<=b.indexOf("NS_ERROR_FAILURE")||0<=b.indexOf("out of memory")?"images/3x3.png":"images/2x2.png";l.src=a+"?msg\x3d"+encodeURIComponent(b)+"\x26url\x3d"+encodeURIComponent(window.location.href)+"\x26lnum\x3d"+encodeURIComponent(e)+
"\x26v\x3d"+encodeURIComponent(EditorUi.VERSION)+(null!=f?"\x26colno\x3d"+encodeURIComponent(f):"")+(null!=k&&null!=k.stack?"\x26stack\x3d"+encodeURIComponent(k.stack):"")}}catch(m){}};"atlas"==uiTheme&&mxClient.link("stylesheet","styles/atlas.css");if(null!=window.mxscript){"0"!=urlParams.chrome&&mxscript("js/jscolor/jscolor.js");if("1"==urlParams.offline){mxscript("js/shapes.min.js");var f=document.createElement("iframe");f.setAttribute("width","0");f.setAttribute("height","0");f.setAttribute("src",
"offline.html");document.body.appendChild(f);mxStencilRegistry.stencilSet={};mxStencilRegistry.getStencil=function(b){return mxStencilRegistry.stencils[b]};mxStencilRegistry.loadStencilSet=function(b,a,c){b=b.substring(b.indexOf("/")+1);b="mxgraph."+b.substring(0,b.length-4).replace(/\//g,".");b=mxStencilRegistry.stencilSet[b];null!=b&&mxStencilRegistry.parseStencilSet(b,a,!1)};for(f=mxUtils.load("stencils.xml").getXml().documentElement.firstChild;null!=f;)"shapes"==f.nodeName&&null!=f.getAttribute("name")&&
(mxStencilRegistry.stencilSet[f.getAttribute("name").toLowerCase()]=f,mxStencilRegistry.parseStencilSet(f)),f=f.nextSibling}"0"!=urlParams.picker&&!mxClient.IS_QUIRKS&&8!=document.documentMode&&mxscript(document.location.protocol+"//www.google.com/jsapi?autoload\x3d%7B%22modules%22%3A%5B%7B%22name%22%3A%22picker%22%2C%22version%22%3A%221%22%2C%22language%22%3A%22"+mxClient.language+"%22%7D%5D%7D");"function"===typeof window.DriveClient&&"undefined"===typeof gapi&&(("1"!=urlParams.embed&&"0"!=urlParams.gapi||
"1"==urlParams.embed&&"1"==urlParams.gapi)&&isSvgBrowser&&isLocalStorage&&(null==document.documentMode||10<=document.documentMode))&&mxscript("https://apis.google.com/js/api.js?onload\x3dDrawGapiClientCallback")}"0"!=urlParams.math&&Editor.initMath();mxResources.loadDefaultBundle=!1;f=mxResources.getDefaultBundle(RESOURCE_BASE,mxLanguage)||mxResources.getSpecialBundle(RESOURCE_BASE,mxLanguage);mxUtils.getAll("1"!=urlParams.dev?[f]:[f,STYLE_PATH+"/default.xml"],function(c){mxResources.parse(c[0].getText());
1<c.length&&(Graph.prototype.defaultThemes[Graph.prototype.defaultThemeName]=c[1].getDocumentElement());c=new App(new Editor("0"==urlParams.chrome));null!=window.mxscript&&("function"===typeof window.DropboxClient&&null!=window.Dropbox&&("undefined"===typeof Dropbox.choose&&null!=window.DrawDropboxClientCallback&&("1"!=urlParams.embed&&"0"!=urlParams.db||"1"==urlParams.embed&&"1"==urlParams.db)&&isSvgBrowser&&(null==document.documentMode||9<document.documentMode))&&mxscript("https://www.dropbox.com/static/api/1/dropins.js",
window.DrawDropboxClientCallback,"dropboxjs",App.DROPBOX_APPKEY),"function"===typeof window.OneDriveClient&&"undefined"===typeof WL&&(null!=window.DrawOneDriveClientCallback&&("1"!=urlParams.embed&&"0"!=urlParams.od||"1"==urlParams.embed&&"1"==urlParams.od)&&!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&(0>navigator.userAgent.indexOf("MSIE")||10<=document.documentMode))&&mxscript("https://js.live.net/v5.0/wl.js",window.DrawOneDriveClientCallback));null!=b&&b(c);"0"!=urlParams.chrome&&"1"==urlParams.test&&
(mxLog.show(),mxLog.debug("Started in "+((new Date).getTime()-t0.getTime())+"ms"),mxLog.debug("Export:",EXPORT_URL),mxLog.debug("Development mode:","1"==urlParams.dev?"active":"inactive"),mxLog.debug("Test mode:","1"==urlParams.test?"active":"inactive"))},function(){document.getElementById("geStatus").innerHTML='Error loading page. \x3ca href\x3d"javascript:void(0);" onclick\x3d"location.reload();"\x3ePlease try refreshing.\x3c/a\x3e'})};mxUtils.extend(App,EditorUi);
App.prototype.defaultUserPicture="https://lh3.googleusercontent.com/-HIzvXUy6QUY/AAAAAAAAAAI/AAAAAAAAAAA/giuR7PQyjEk/photo.jpg?sz\x3d30";App.prototype.micImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA5UlEQVR4Xr3SMYrCQBTGcSfIQiAgRIS9hOANBCurPUAuIAp7A7FVsFkIbLGYA9gKtoKNYG3jll5AFNKG518YMD6SISD4wY9J4MvkMYwRkZqOMSZkifGFe1b4pnvW3TqK8oMo14twxUgXPRSlDxU7TcUNPqATlG7wCi93cA2Iq2x7l7IJsgofB6UTiEjKklFqsabQSdFA5jqDAzrYQGeNNv5d9yDBEAME6NreFmP8Yuma4A8hFpiLSFNAYYYYn0jwCIUnxMcER4h1whS+7hseXKcu9ifGeQ+qeO8GjN7DPve+Q6+oewPhmE63Qfsb6AAAAABJRU5ErkJggg\x3d\x3d";
App.prototype.emptyDiagramXml='\x3cmxGraphModel\x3e\x3croot\x3e\x3cmxCell id\x3d"0"/\x3e\x3cmxCell id\x3d"1" parent\x3d"0"/\x3e\x3c/root\x3e\x3c/mxGraphModel\x3e';App.prototype.shareImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowOTgwMTE3NDA3MjA2ODExODhDNkFGMDBEQkQ0RTgwOSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxMjU2NzdEMTcwRDIxMUUxQjc0MDkxRDhCNUQzOEFGRCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxMjU2NzdEMDcwRDIxMUUxQjc0MDkxRDhCNUQzOEFGRCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowNjgwMTE3NDA3MjA2ODExODcxRkM4MUY1OTFDMjQ5OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNzgwMTE3NDA3MjA2ODExODhDNkFGMDBEQkQ0RTgwOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PrM/fs0AAADgSURBVHjaYmDAA/7//88MwgzkAKDGFiD+BsQ/QWxSNaf9RwN37twpI8WAS+gGfP78+RpQSoRYA36iG/D379+vQClNdLVMOMz4gi7w79+/n0CKg1gD9qELvH379hzIHGK9oA508ieY8//8+fO5rq4uFCilRKwL1JmYmNhhHEZGRiZ+fn6Q2meEbDYG4u3/cYCfP38uA7kOm0ZOIJ7zn0jw48ePPiDFhmzArv8kgi9fvuwB+w5qwH9ykjswbFSZyM4sEMDPBDTlL5BxkFSd7969OwZ2BZKYGhDzkmjOJ4AAAwBhpRqGnEFb8QAAAABJRU5ErkJggg\x3d\x3d";
App.prototype.chevronUpImage=!mxClient.IS_SVG?IMAGE_PATH+"/chevron-up.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg2NEE3NUY1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg2NEE3NjA1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0ODY0QTc1RDUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0ODY0QTc1RTUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pg+qUokAAAAMUExURQAAANnZ2b+/v////5bgre4AAAAEdFJOU////wBAKqn0AAAAL0lEQVR42mJgRgMMRAswMKAKMDDARBjg8lARBoR6KImkH0wTbygT6YaS4DmAAAMAYPkClOEDDD0AAAAASUVORK5CYII\x3d";
App.prototype.chevronDownImage=!mxClient.IS_SVG?IMAGE_PATH+"/chevron-down.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg2NEE3NUI1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg2NEE3NUM1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0ODY0QTc1OTUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0ODY0QTc1QTUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsCtve8AAAAMUExURQAAANnZ2b+/v////5bgre4AAAAEdFJOU////wBAKqn0AAAALUlEQVR42mJgRgMMRAkwQEXBNAOcBSPhclB1cNVwfcxI+vEZykSpoSR6DiDAAF23ApT99bZ+AAAAAElFTkSuQmCC";
App.prototype.formatShowImage=!mxClient.IS_SVG?IMAGE_PATH+"/format-show.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODdCREY5REY1NkQ3MTFFNTkyNjNEMTA5NjgwODUyRTgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODdCREY5RTA1NkQ3MTFFNTkyNjNEMTA5NjgwODUyRTgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4N0JERjlERDU2RDcxMUU1OTI2M0QxMDk2ODA4NTJFOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4N0JERjlERTU2RDcxMUU1OTI2M0QxMDk2ODA4NTJFOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PlnMQ/8AAAAJUExURQAAAP///3FxcTfTiAsAAAACdFJOU/8A5bcwSgAAACFJREFUeNpiYEQDDEQJMMABTAAixcQ00ALoDiPRcwABBgB6DADly9Yx8wAAAABJRU5ErkJggg\x3d\x3d";
App.prototype.formatHideImage=!mxClient.IS_SVG?IMAGE_PATH+"/format-hide.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODdCREY5REI1NkQ3MTFFNTkyNjNEMTA5NjgwODUyRTgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODdCREY5REM1NkQ3MTFFNTkyNjNEMTA5NjgwODUyRTgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4N0JERjlEOTU2RDcxMUU1OTI2M0QxMDk2ODA4NTJFOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4N0JERjlEQTU2RDcxMUU1OTI2M0QxMDk2ODA4NTJFOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqjT9SMAAAAGUExURQAAAP///6XZn90AAAACdFJOU/8A5bcwSgAAAB9JREFUeNpiYEQDDEQJMMABTAAmNdAC6A4j0XMAAQYAcbwA1Xvj1CgAAAAASUVORK5CYII\x3d";
App.prototype.fullscreenImage=!mxClient.IS_SVG?IMAGE_PATH+"/fullscreen.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUAAABEREQ3UJNbAAAAAXRSTlMAQObYZgAAABxJREFUCNdj+PkBhA4YgNB5AwZ+BiACMiAiEFkA9QQNgW8IGoYAAAAASUVORK5CYII\x3d";App.prototype.plusImage=!mxClient.IS_SVG?IMAGE_PATH+"/plus.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDdCMTdENjVCOEM4MTFFNDlCRjVBNDdCODU5NjNBNUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDdCMTdENjZCOEM4MTFFNDlCRjVBNDdCODU5NjNBNUMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowN0IxN0Q2M0I4QzgxMUU0OUJGNUE0N0I4NTk2M0E1QyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowN0IxN0Q2NEI4QzgxMUU0OUJGNUE0N0I4NTk2M0E1QyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtjrjmgAAAAtSURBVHjaYvz//z8DMigvLwcLdHZ2MiKLMzEQCaivkLGsrOw/dU0cAr4GCDAARQsQbTFrv10AAAAASUVORK5CYII\x3d";
App.prototype.spinImage=!mxClient.IS_SVG?IMAGE_PATH+"/spin.gif":"data:image/gif;base64,R0lGODlhDAAMAPUxAEVriVp7lmCAmmGBm2OCnGmHn3OPpneSqYKbr4OcsIScsI2kto6kt46lt5KnuZmtvpquvpuvv56ywaCzwqK1xKu7yay9yq+/zLHAzbfF0bjG0bzJ1LzK1MDN18jT28nT3M3X3tHa4dTc49Xd5Njf5dng5t3k6d/l6uDm6uru8e7x8/Dz9fT29/b4+Pj5+fj5+vr6+v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkKADEAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAADAAMAAAGR8CYcEgsOgYAIax4CCQuQldrCBEsiK8VS2hoFGOrlJDA+cZQwkLnqyoJFZKviSS0ICrE0ec0jDAwIiUeGyBFGhMPFBkhZo1BACH5BAkKAC4ALAAAAAAMAAwAhVB0kFR3k1V4k2CAmmWEnW6Lo3KOpXeSqH2XrIOcsISdsImhtIqhtJCmuJGnuZuwv52wwJ+ywZ+ywqm6yLHBzbLCzrXEz7fF0LnH0rrI0r7L1b/M1sXR2cfT28rV3czW3s/Z4Nfe5Nvi6ODm6uLn6+Ln7OLo7OXq7efs7+zw8u/y9PDy9PX3+Pr7+////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZDQJdwSCxGDAIAoVFkFBwYSyIwGE4OkCJxIdG6WkJEx8sSKj7elfBB0a5SQg1EQ0SVVMPKhDM6iUIkRR4ZFxsgJl6JQQAh+QQJCgAxACwAAAAADAAMAIVGa4lcfZdjgpxkg51nhp5ui6N3kqh5lKqFnbGHn7KIoLOQp7iRp7mSqLmTqbqarr6br7+fssGitcOitcSuvsuuv8uwwMyzw861xNC5x9K6x9K/zNbDztjE0NnG0drJ1NzQ2eDS2+LT2+LV3ePZ4Oba4ebb4ufc4+jm6+7t8PLt8PPt8fPx8/Xx9PX09vf19/j3+Pn///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGQ8CYcEgsUhQFggFSjCQmnE1jcBhqGBXiIuAQSi7FGEIgfIzCFoCXFCZiPO0hKBMiwl7ET6eUYqlWLkUnISImKC1xbUEAIfkECQoAMgAsAAAAAAwADACFTnKPT3KPVHaTYoKcb4yjcY6leZSpf5mtgZuvh5+yiqG0i6K1jqW3kae5nrHBnrLBn7LCoLPCobTDqbrIqrvIs8LOtMPPtcPPtcTPuMbRucfSvcrUvsvVwMzWxdHaydTcytXdzNbezdff0drh2ODl2+Ln3eTp4Obq4ujs5Ont5uvu6O3w6u7w6u7x7/L09vj5+vr7+vv7////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkdAmXBILHIcicOCUqxELKKPxKAYgiYd4oMAEWo8RVmjIMScwhmBcJMKXwLCECmMGAhPI1QRwBiaSixCMDFhLSorLi8wYYxCQQAh+QQJCgAxACwAAAAADAAMAIVZepVggJphgZtnhp5vjKN2kah3kqmBmq+KobSLorWNpLaRp7mWq7ybr7+gs8KitcSktsWnuManucexwM2ywc63xtG6yNO9ytS+ytW/zNbDz9jH0tvL1d3N197S2+LU3OPU3ePV3eTX3+Xa4efb4ufd5Onl6u7r7vHs7/Lt8PLw8/Xy9Pby9fb09ff2+Pn3+Pn6+vr///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGSMCYcEgseiwSR+RS7GA4JFGF8RiWNiEiJTERgkjFGAQh/KTCGoJwpApnBkITKrwoCFWnFlEhaAxXLC9CBwAGRS4wQgELYY1CQQAh+QQJCgAzACwAAAAADAAMAIVMcI5SdZFhgZtti6JwjaR4k6mAma6Cm6+KobSLorWLo7WNo7aPpredsMCescGitMOitcSmuMaqu8ixwc2zws63xdC4xtG5x9K9ytXAzdfCztjF0NnF0drK1d3M1t7P2N/P2eDT2+LX3+Xe5Onh5+vi5+vj6Ozk6e3n7O/o7O/q7vHs7/Lt8PPu8fPx8/X3+Pn6+vv7+/v8/Pz///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGRcCZcEgsmkIbTOZTLIlGqZNnchm2SCgiJ6IRqljFmQUiXIVnoITQde4chC9Y+LEQxmTFRkFSNFAqDAMIRQoCAAEEDmeLQQAh+QQJCgAwACwAAAAADAAMAIVXeZRefplff5lhgZtph59yjqV2kaeAmq6FnbGFnrGLorWNpLaQp7mRqLmYrb2essGgs8Klt8apusitvcquv8u2xNC7yNO8ydS8ytTAzdfBzdfM1t7N197Q2eDU3OPX3+XZ4ObZ4ebc4+jf5erg5erg5uvp7fDu8fPv8vTz9fb09vf19/j3+Pn4+fn5+vr6+/v///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGRUCYcEgspkwjEKhUVJ1QsBNp0xm2VixiSOMRvlxFGAcTJook5eEHIhQcwpWIkAFQECkNy9AQWFwyEAkPRQ4FAwQIE2llQQAh+QQJCgAvACwAAAAADAAMAIVNcY5SdZFigptph6BvjKN0kKd8lquAmq+EnbGGn7KHn7ONpLaOpbearr+csMCdscCescGhtMOnuMauvsuzws60w862xdC9ytW/y9a/zNbCztjG0drH0tvK1N3M1t7N19/U3ePb4uff5urj6Ozk6e3l6u7m6u7o7PDq7vDt8PPv8vTw8vTw8/X19vf6+vv///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGQ8CXcEgsvlytVUplJLJIpSEDUESFTELBwSgCCQEV42kjDFiMo4uQsDB2MkLHoEHUTD7DRAHC8VAiZ0QSCgYIDxhNiUEAOw\x3d\x3d";
App.prototype.emptyLibraryXml="\x3cmxlibrary\x3e[]\x3c/mxlibrary\x3e";App.prototype.mode=null;App.prototype.timeout=25E3;App.prototype.enableLogging=!0;App.prototype.formatEnabled="0"!=urlParams.format;App.prototype.formatWidth=600>screen.width?0:mxSettings.getFormatWidth();"1"!=urlParams.embed&&(App.prototype.menubarHeight=60);Editor.prototype.editButtonLink=null!=urlParams.edit?decodeURIComponent(urlParams.edit):null;
App.prototype.init=function(){EditorUi.prototype.init.apply(this,arguments);if(this.isLocalFileSave()){var b=this;ExportDialog.saveLocalFile=function(a,c,d){var e="text/xml";"svg"===d&&(e="image/svg+xml");b.saveLocalFile(a,c,e)};ExportDialog.saveRequest=function(a,c,d,e){b.saveRequest(a,c,d,e)}}this.defaultLibraryName=mxResources.get("untitledLibrary");this.descriptorChangedListener=mxUtils.bind(this,this.descriptorChanged);if("1"!=urlParams.embed){this.bg=this.createBackground();document.body.appendChild(this.bg);
this.diagramContainer.style.visibility="hidden";this.formatContainer.style.visibility="hidden";var c=mxUtils.bind(this,function(){"undefined"!==typeof WL?(this.oneDrive=new OneDriveClient(this),this.oneDrive.addListener("userChanged",mxUtils.bind(this,function(){this.updateUserElement();this.restoreLibraries()})),this.fireEvent(new mxEventObject("clientLoaded","client",this.oneDrive))):null==window.DrawOneDriveClientCallback&&(window.DrawOneDriveClientCallback=c)});c();var f=mxUtils.bind(this,function(){if("undefined"!==
typeof gapi){var a=mxUtils.bind(this,function(){this.drive=new DriveClient(this);"420247213240"==this.drive.appId&&this.editor.addListener("fileLoaded",mxUtils.bind(this,function(){var a=this.getCurrentFile();null!=a&&a.constructor==DriveFile&&(a=document.getElementById("geFooterItem2"),null!=a&&(a.innerHTML='\x3ca href\x3d"https://support.draw.io/display/DO/2014/11/27/Switching+application+in+Google+Drive" target\x3d"_blank" title\x3d"IMPORTANT NOTICE" \x3eIMPORTANT NOTICE\x3c/a\x3e'))}));this.drive.addListener("userChanged",
mxUtils.bind(this,function(){null!=this.updateAd&&(this.adsHtml=['\x3ca title\x3d"Quick start video" href\x3d"https://www.youtube.com/watch?v\x3d8OaMWa4R1SE\x26t\x3d1" target\x3d"_blank"\x3e\x3cimg border\x3d"0" align\x3d"absmiddle" style\x3d"margin-top:-4px;" src\x3d"images/glyphicons_star.png"/\x3e\x26nbsp;\x26nbsp;Quick start video\x3c/a\x3e','\x3ca title\x3d"Google Docs Add-on" href\x3d"https://chrome.google.com/webstore/detail/drawio-diagrams/clpbjldiohnnmfmkngmaohehlnfkmoea" target\x3d"_blank"\x3e\x3cimg border\x3d"0" align\x3d"absmiddle" style\x3d"margin-top:-4px;" src\x3d"images/glyphicons_star.png"/\x3e\x26nbsp;\x26nbsp;Google Docs Add-on\x3c/a\x3e',
'\x3ca title\x3d"Google Chrome App" href\x3d"https://chrome.google.com/webstore/detail/drawio-desktop/pebppomjfocnoigkeepgbmcifnnlndla" target\x3d"_blank"\x3e\x3cimg border\x3d"0" align\x3d"absmiddle" style\x3d"margin-top:-4px;" src\x3d"images/glyphicons_star.png"/\x3e\x26nbsp;\x26nbsp;Google Chrome App\x3c/a\x3e','\x3ca title\x3d"Please help us to 5 stars" href\x3d"https://chrome.google.com/webstore/detail/drawio-pro/onlkggianjhjenigcpigpjehhpplldkc/reviews" target\x3d"_blank"\x3e\x3cimg border\x3d"0" align\x3d"absmiddle" style\x3d"margin-top:-4px;" src\x3d"images/glyphicons_star.png"/\x3e\x26nbsp;\x26nbsp;Please help us to 5 stars\x3c/a\x3e'],
this.updateAd(this.adsHtml.length-1));this.updateUserElement();this.restoreLibraries();this.checkLicense()}));this.fireEvent(new mxEventObject("clientLoaded","client",this.drive))});null!=window.DrawGapiClientCallback?(gapi.load("auth:client,drive-realtime,drive-share",mxUtils.bind(this,function(b){null!=gapi.drive&&null!=gapi.drive.realtime&&gapi.client.load("drive","v2",mxUtils.bind(this,function(){this.defineCustomObjects();gapi.auth.init(mxUtils.bind(this,function(){null!=gapi.client.drive&&a()}))}))})),
window.DrawGapiClientCallback=null):a()}else null==window.DrawGapiClientCallback&&(window.DrawGapiClientCallback=f)});f();var d=mxUtils.bind(this,function(){null!=window.Dropbox&&"undefined"!==typeof Dropbox.choose?(window.DrawDropboxClientCallback=null,this.dropbox=new DropboxClient(this),this.dropbox.addListener("userChanged",mxUtils.bind(this,function(){this.updateUserElement();this.restoreLibraries()})),this.fireEvent(new mxEventObject("clientLoaded","client",this.dropbox))):null==window.DrawDropboxClientCallback&&
(window.DrawDropboxClientCallback=d)});d();"1"==urlParams.local?this.setMode(App.MODE_DEVICE):this.mode=App.mode}else null!=this.menubar&&(this.menubar.container.style.paddingTop="0px");this.updateHeader();var a=document.getElementById("geFooterItem2");if(null!=a){this.adsHtml=['\x3ca title\x3d"Quick start video" href\x3d"https://www.youtube.com/watch?v\x3d8OaMWa4R1SE\x26t\x3d1" target\x3d"_blank"\x3e\x3cimg border\x3d"0" align\x3d"absmiddle" style\x3d"margin-top:-4px;" src\x3d"images/glyphicons_star.png"/\x3e\x26nbsp;\x26nbsp;Quick start video\x3c/a\x3e'];
this.adsHtml.push(a.innerHTML);mxUtils.setPrefixedStyle(a.style,"transition","all 1s ease");var e=this.adsHtml.length-1;this.updateAd=function(b){b==e&&(b=this.adsHtml.length-1);b!=e&&(mxUtils.setPrefixedStyle(a.style,"transform","scale(0)"),a.style.opacity="0",e=b,window.setTimeout(mxUtils.bind(this,function(){a.innerHTML=this.adsHtml[b];mxUtils.setPrefixedStyle(a.style,"transform","scale(1)");a.style.opacity="1"}),1E3))};window.setInterval(mxUtils.bind(this,function(){if(3==this.adsHtml.length)this.updateAd(mxUtils.mod(e+
1,3));else{var a=Math.random();this.updateAd(Math.round(a*(this.adsHtml.length-1)))}}),3E5)}null!=this.menubar&&(this.buttonContainer=document.createElement("div"),this.buttonContainer.style.display="inline-block",this.buttonContainer.style.paddingRight="48px",this.buttonContainer.style.position="absolute",this.buttonContainer.style.right="0px",this.menubar.container.appendChild(this.buttonContainer));"atlas"==uiTheme&&null!=this.menubar&&(null!=this.toggleElement&&(this.toggleElement.click(),this.toggleElement.style.display=
"none"),this.icon=document.createElement("img"),this.icon.setAttribute("src",IMAGE_PATH+"/logo-flat-small.png"),this.icon.setAttribute("title",mxResources.get("draw.io")),this.icon.style.paddingTop="11px",this.icon.style.marginLeft="4px",this.icon.style.marginRight="6px",mxClient.IS_QUIRKS&&(this.icon.style.marginTop="12px"),this.menubar.container.insertBefore(this.icon,this.menubar.container.firstChild));if(isLocalStorage||mxClient.IS_CHROMEAPP){this.editor.graph.currentEdgeStyle=mxSettings.getCurrentEdgeStyle();
this.editor.graph.currentVertexStyle=mxSettings.getCurrentVertexStyle();this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]));this.addListener("styleChanged",mxUtils.bind(this,function(a,b){mxSettings.setCurrentEdgeStyle(this.editor.graph.currentEdgeStyle);mxSettings.setCurrentVertexStyle(this.editor.graph.currentVertexStyle);mxSettings.save()}));this.editor.graph.connectionHandler.setCreateTarget(mxSettings.isCreateTarget());this.fireEvent(new mxEventObject("copyConnectChanged"));
this.addListener("copyConnectChanged",mxUtils.bind(this,function(a,b){mxSettings.setCreateTarget(this.editor.graph.connectionHandler.isCreateTarget());mxSettings.save()}));this.editor.graph.pageFormat=mxSettings.getPageFormat();this.addListener("pageFormatChanged",mxUtils.bind(this,function(a,b){mxSettings.setPageFormat(this.editor.graph.pageFormat);mxSettings.save()}));this.editor.graph.view.gridColor=mxSettings.getGridColor();this.addListener("gridColorChanged",mxUtils.bind(this,function(a,b){mxSettings.setGridColor(this.editor.graph.view.gridColor);
mxSettings.save()}));mxClient.IS_CHROMEAPP&&(this.editor.addListener("autosaveChanged",mxUtils.bind(this,function(a,b){mxSettings.setAutosave(this.editor.autosave);mxSettings.save()})),this.editor.autosave=mxSettings.getAutosave());null!=this.sidebar&&this.sidebar.showPalette("search",mxSettings.settings.search);if(!this.editor.chromeless&&null!=this.sidebar&&(mxSettings.settings.isNew||8>=parseInt(mxSettings.settings.version||0)))this.toggleScratchpad(),mxSettings.save();this.addListener("formatWidthChanged",
function(){mxSettings.setFormatWidth(this.formatWidth);mxSettings.save()})}};App.prototype.isDriveDomain=function(){return"0"!=urlParams.drive&&("test.draw.io"==window.location.hostname||"cdn.draw.io"==window.location.hostname||"www.draw.io"==window.location.hostname||"drive.draw.io"==window.location.hostname||"jgraph.github.io"==window.location.hostname)};App.prototype.isLegacyDriveDomain=function(){return 0==urlParams.drive||"legacy.draw.io"==window.location.hostname};
App.prototype.checkLicense=function(){var b=this.drive.getUser(),b=("1"==urlParams.dev?urlParams.lic:null)||(null!=b?b.email:null);if(!this.isOffline()&&!this.editor.chromeless&&null!=b){var c=b.lastIndexOf("@"),f=b;0<=c&&(f=b.substring(c+1));mxUtils.post("/license","domain\x3d"+encodeURIComponent(f)+"\x26ts\x3d"+(new Date).getTime(),mxUtils.bind(this,function(b){try{if(200==b.getStatus()){var a=b.getText();if(0<a.length){var c=JSON.parse(a);null!=c&&this.handleLicense(c,f)}}}catch(g){}}))}};
App.prototype.handleLicense=function(b,c){var f=document.getElementById("geFooter"),d=null;if(null!=f&&null!=b)if(d=b.expiry,null!=b.footer)f.innerHTML=decodeURIComponent(b.footer);else if(this.hideFooter(),null!=d&&"never"!=d){var a=new Date(Date.parse(d)),e=Math.round((a-Date.now())/864E5);if(90>e){var g="https://support.draw.io/display/DKB/draw.io+footer+state+that+license+is+expiring+on+Google+For+Work+account?domain\x3d"+encodeURIComponent(c);f.style.height="100%";f.style.margin="0px";f.style.display=
"";0>e?(this.footerHeight=80,f.innerHTML='\x3ctable height\x3d"100%"\x3e\x3ctr\x3e\x3ctd valign\x3d"middle" align\x3d"center" class\x3d"geStatusAlert geBlink"\x3e\x3ca href\x3d"'+g+'" style\x3d"padding-top:16px;" target\x3d"_blank"\x3e\x3cimg border\x3d"0" src\x3d"'+mxGraph.prototype.warningImage.src+'" align\x3d"top" style\x3d"margin-right:6px"\x3e'+mxResources.get("licenseHasExpired",[c,a.toLocaleDateString()])+"\x3c/a\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e"):(this.footerHeight=46,f.innerHTML=
'\x3ctable height\x3d"100%"\x3e\x3ctr\x3e\x3ctd valign\x3d"middle" align\x3d"center" class\x3d"geStatusAlert"\x3e\x3ca href\x3d"'+g+'" target\x3d"_blank"\x3e\x3cimg border\x3d"0" src\x3d"'+mxGraph.prototype.warningImage.src+'" align\x3d"top" style\x3d"margin-right:6px"\x3e'+mxResources.get("licenseWillExpire",[c,a.toLocaleDateString()])+"\x3c/a\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e");this.refresh()}}return d};
App.prototype.getEditBlankXml=function(){var b=this.getCurrentFile();return null!=b&&this.editor.chromeless&&this.editor.graph.lightbox&&null==b.realtime?b.getData():this.getFileData(!0)};App.prototype.updateActionStates=function(){EditorUi.prototype.updateActionStates.apply(this,arguments);var b=this.getCurrentFile();this.actions.get("revisionHistory").setEnabled(null!=b&&(b.constructor==DriveFile&&b.isEditable()||b.constructor==DropboxFile))};
App.prototype.updateDraft=function(){isLocalStorage&&null!=localStorage&&localStorage.setItem(".draft",JSON.stringify({modified:(new Date).getTime(),data:this.getFileData()}))};App.prototype.getDraft=function(){return null};App.prototype.addRecent=function(b){if(isLocalStorage&&null!=localStorage){var c=this.getRecent();if(null==c)c=[];else for(var f=0;f<c.length;f++)c[f].id==b.id&&c.splice(f,1);null!=c&&(c.unshift(b),c=c.slice(0,5),localStorage.setItem(".recent",JSON.stringify(c)))}};
App.prototype.getRecent=function(){if(isLocalStorage&&null!=localStorage){try{var b=localStorage.getItem(".recent");if(null!=b)return JSON.parse(b)}catch(c){}return null}};App.prototype.resetRecent=function(b){if(isLocalStorage&&null!=localStorage)try{localStorage.removeItem(".recent")}catch(c){}};App.prototype.removeDraft=function(){if(isLocalStorage&&null!=localStorage&&"0"==urlParams.splash)try{localStorage.removeItem(".draft")}catch(b){}};
App.prototype.onBeforeUnload=function(){var b=this.getCurrentFile();if(null!=b){if(b.constructor==LocalFile&&!b.isModified()&&"1"!=urlParams.nowarn&&!this.isDiagramEmpty()&&null==urlParams.url&&!this.editor.chromeless)return mxResources.get("ensureDataSaved");if(b.constructor!=DriveFile&&b.isModified())return mxResources.get("allChangesLost");b.close(!0)}};
App.prototype.updateDocumentTitle=function(){if(!this.editor.graph.lightbox){var b=this.editor.appName,c=this.getCurrentFile();null!=c&&(b=(null!=c.getTitle()?c.getTitle():this.defaultFilename)+" - "+b);this.isOfflineApp()&&(b+=" ["+mxResources.get("offline")+"]");document.title=b}};App.prototype.createCrcTable=function(){for(var b=[],c,f=0;256>f;f++){c=f;for(var d=0;8>d;d++)c=c&1?3988292384^c>>>1:c>>>1;b[f]=c}return b};
App.prototype.crc32=function(b){this.crcTable=this.crcTable||this.createCrcTable();for(var c=-1,f=0;f<b.length;f++)c=c>>>8^this.crcTable[(c^b.charCodeAt(f))&255];return(c^-1)>>>0};
App.prototype.getThumbnail=function(b,c){var f=!1;try{if(null==this.thumbImageCache&&(this.thumbImageCache={}),this.isExportToCanvas())this.exportToCanvas(mxUtils.bind(this,function(a){c(a)}),b,this.thumbImageCache,"#ffffff",function(){c()}),f=!0;else if(this.canvasSupported&&null!=this.getCurrentFile()){var d=this.editor.graph,a=document.createElement("canvas"),e=d.getGraphBounds(),g=b/e.width,g=Math.min(1,Math.min(3*b/(4*e.height),g)),k=Math.floor(e.x),l=Math.floor(e.y);a.setAttribute("width",Math.ceil(g*
(e.width+4)));a.setAttribute("height",Math.ceil(g*(e.height+4)));var m=a.getContext("2d");m.scale(g,g);m.translate(-k,-l);var n=d.background;if(null==n||""==n||n==mxConstants.NONE)n="#ffffff";m.save();m.fillStyle=n;m.fillRect(k,l,Math.ceil(e.width+4),Math.ceil(e.height+4));m.restore();var p=new mxJsCanvas(a),r=new mxAsyncCanvas(this.thumbImageCache);p.images=this.thumbImageCache.images;var s=new mxImageExport;s.drawShape=function(a,b){a.shape instanceof mxShape&&a.shape.checkBounds()&&(b.save(),b.translate(0.5,
0.5),a.shape.paint(b),b.translate(-0.5,-0.5),b.restore())};s.drawText=function(a,b){};s.drawState(d.getView().getState(d.model.root),r);r.finish(function(){s.drawState(d.getView().getState(d.model.root),p);c(a)});f=!0}}catch(q){}return f};App.prototype.getPublicUrl=function(b,c){c(null)};
App.prototype.createFileData=function(b,c,f,d,a,e,g,k,l){a=null!=a?a:!1;l=null!=l?l:!0;var m=null,n=null;null==f||f.getMode()==App.MODE_DEVICE||f.getMode()==App.MODE_BROWSER?m="_blank":n=m=d;if(null==b)return"";var p=b;if("mxfile"!=p.nodeName.toLowerCase()){var r=this.editor.graph.zapGremlins(mxUtils.getXml(b)),p=this.editor.graph.compress(r);if(this.editor.graph.decompress(p)!=r)return r;r=b.ownerDocument.createElement("diagram");mxUtils.setTextContent(r,p);p=b.ownerDocument.createElement("mxfile");
p.appendChild(r)}p.setAttribute("userAgent",navigator.userAgent);p.setAttribute("version",EditorUi.VERSION);p.setAttribute("editor","www.draw.io");b=null!=f?f.getMode():this.mode;null!=b&&p.setAttribute("type",b);b=mxUtils.getXml(p);if(!e&&!a&&(g||null!=f&&/(\.html)$/i.test(f.getTitle())))b=this.getHtml2(p,c,f.getTitle(),m,n,l);else if(e||!a&&null!=f&&/(\.svg)$/i.test(f.getTitle())){if(null!=f&&(f.getMode()==App.MODE_DEVICE||f.getMode()==App.MODE_BROWSER))d=null;b=this.getEmbeddedSvg(b,c,d,null,k,
l,n)}return b};
App.prototype.getFileData=function(b,c,f,d,a,e){a=null!=a?a:!0;e=null!=e?e:!1;var g=this.editor.getGraphXml(a);if(a&&null!=this.fileNode&&null!=this.currentPage){var k=this.editor.graph.compress(this.editor.graph.zapGremlins(mxUtils.getXml(g)));mxUtils.setTextContent(this.currentPage.node,k);g=this.fileNode.cloneNode(!1);if(e)g.appendChild(this.currentPage.node);else for(e=0;e<this.pages.length;e++){var l=this.pages[e].mapping;this.currentPage!=this.pages[e]&&null!=l&&l.needsUpdate&&(k=(new mxCodec(mxUtils.createXmlDocument())).encode(l.graphModel),
l.writeRealtimeToNode(k),k=this.editor.graph.compress(this.editor.graph.zapGremlins(mxUtils.getXml(k))),mxUtils.setTextContent(this.pages[e].node,k),l.needsUpdate=!1);g.appendChild(this.pages[e].node)}}return this.createFileData(g,this.editor.graph,this.getCurrentFile(),window.location.href,b,c,f,d,a)};
App.prototype.createBackground=function(){var b=this.createDiv("background");b.style.position="absolute";b.style.background="white";b.style.left="0px";b.style.top="0px";b.style.bottom="0px";b.style.right="0px";mxUtils.setOpacity(b,100);mxClient.IS_QUIRKS&&new mxDivResizer(b);return b};
App.prototype.setMode=function(b,c){this.mode=b;null!=this.mode&&(Editor.useLocalStorage=this.mode==App.MODE_BROWSER);if("undefined"!=typeof Storage&&c){var f=new Date;f.setYear(f.getFullYear()+1);document.cookie="MODE\x3d"+b+"; expires\x3d"+f.toUTCString()}null!=this.appIcon&&(f=this.getCurrentFile(),b=null!=f?f.getMode():null,b==App.MODE_GOOGLE?(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get("googleDrive")])),this.appIcon.style.cursor="pointer"):b==App.MODE_DROPBOX?
(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get("dropbox")])),this.appIcon.style.cursor="pointer"):b==App.MODE_ONEDRIVE?(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get("oneDrive")])),this.appIcon.style.cursor="pointer"):(this.appIcon.removeAttribute("title"),this.appIcon.style.cursor="default"))};
App.prototype.appIconClicked=function(b){if(mxEvent.isAltDown(b))this.showSplash(!0);else{var c=this.getCurrentFile(),f=null!=c?c.getMode():null;f==App.MODE_GOOGLE?0<c.desc.parents.length?window.open("https://drive.google.com/drive/folders/"+c.desc.parents[0].id):window.open("https://drive.google.com/?authuser\x3d0"):f==App.MODE_DROPBOX?window.open("https://www.dropbox.com/"):f==App.MODE_ONEDRIVE&&window.open("https://onedrive.live.com/")}mxEvent.consume(b)};
App.prototype.clearMode=function(){if("undefined"!=typeof Storage){var b=new Date;b.setYear(b.getFullYear()-1);document.cookie="MODE\x3d; expires\x3d"+b.toUTCString()}};App.prototype.getDiagramId=function(){var b=window.location.hash;null!=b&&0<b.length&&(b=b.substring(1));return b};
App.prototype.open=function(){try{if(null!=window.opener){var b=urlParams.create;null!=b&&(b=decodeURIComponent(b));if(null!=b&&0<b.length&&"http://"!=b.substring(0,7)&&"https://"!=b.substring(0,8)){var c=mxUtils.parseXml(window.opener[b]);this.editor.setGraphXml(c.documentElement)}else null!=window.opener.openFile&&window.opener.openFile.setConsumer(mxUtils.bind(this,function(b,a){this.spinner.stop();if(null==a){var c=urlParams.title,c=null!=c?decodeURIComponent(c):this.defaultFilename;this.fileLoaded(new LocalFile(this,
b,c));this.setMode(null)}else 0<(".png"==a.substring(a.length-4))&&(a=a.substring(0,a.length-4)+".xml"),this.fileLoaded(mxClient.IS_IOS?new StorageFile(this,b,a):new LocalFile(this,b,a))}))}}catch(f){}};
App.prototype.load=function(){if("1"!=urlParams.embed){if(this.spinner.spin(document.body,mxResources.get("starting"))){try{this.stateArg=null!=urlParams.state&&null!=this.drive?JSON.parse(decodeURIComponent(urlParams.state)):null}catch(b){}this.editor.graph.setEnabled(null!=this.getCurrentFile());(null==window.location.hash||0==window.location.hash.length)&&null!=this.drive&&(null!=this.stateArg&&null!=this.stateArg.userId)&&this.drive.setUserId(this.stateArg.userId);null!=urlParams.fileId?(window.location.hash=
"G"+urlParams.fileId,window.location.search=this.getSearch(["fileId"])):null==this.drive?(this.mode==App.MODE_GOOGLE&&(this.mode=null),this.start()):gapi.load("auth:client,drive-realtime,drive-share",mxUtils.bind(this,function(b){null==gapi.drive||null==gapi.drive.realtime?(this.drive=this.mode=null,this.start()):gapi.client.load("drive","v2",mxUtils.bind(this,function(){gapi.auth.init(mxUtils.bind(this,function(){null==gapi.client.drive&&(this.drive=this.mode=null);this.start()}))}))}))}}else this.restoreLibraries()};
App.prototype.showAlert=function(b){if(null!=b&&0<b.length){var c=document.createElement("div");c.className="geAlert";c.style.zIndex=2E9;c.style.left="50%";c.style.top="-100%";mxUtils.setPrefixedStyle(c.style,"transform","translate(-50%,0%)");mxUtils.setPrefixedStyle(c.style,"transition","all 1s ease");c.innerHTML=b;b=document.createElement("a");b.className="geAlertLink";b.style.textAlign="right";b.style.marginTop="20px";b.style.display="block";b.setAttribute("href","javascript:void(0);");b.setAttribute("title",
mxResources.get("close"));b.innerHTML=mxResources.get("close");c.appendChild(b);mxEvent.addListener(b,"click",function(b){null!=c.parentNode&&(c.parentNode.removeChild(c),mxEvent.consume(b))});document.body.appendChild(c);window.setTimeout(function(){c.style.top="30px"},10);window.setTimeout(function(){mxUtils.setPrefixedStyle(c.style,"transition","all 2s ease");c.style.opacity="0";window.setTimeout(function(){null!=c.parentNode&&c.parentNode.removeChild(c)},2E3)},15E3)}};
App.prototype.start=function(){this.bg.parentNode.removeChild(this.bg);this.restoreLibraries();this.spinner.stop();var b=mxUtils.bind(this,function(a,b,c){this.loadUrl(PROXY_URL+"?url\x3d"+encodeURIComponent(a),mxUtils.bind(this,function(c){!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,a)?this.parseFile(new Blob([c],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200==a.status&&"\x3cmxGraphModel"==a.responseText.substring(0,13)&&b(a.responseText)}),
a):(/(\.png)($|\?)/i.test(a)&&(c=this.extractGraphModelFromPng(c)),b(c))}),c,/(\.png)($|\?)/i.test(a))});"1"!=urlParams.client&&"1"!=urlParams.embed&&mxEvent.addListener(window,"hashchange",mxUtils.bind(this,function(a){a=this.getDiagramId();var b=this.getCurrentFile();(null==b||b.getHash()!=a)&&this.loadFile(a,!0)}));if((null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.url&&this.spinner.spin(document.body,mxResources.get("loading")))try{var c=mxUtils.bind(this,function(){this.spinner.spin(document.body,
mxResources.get("reconnecting"))&&(window.location.search=this.getSearch(["url"]))});b(decodeURIComponent(urlParams.url),mxUtils.bind(this,function(a){this.spinner.stop();if(null!=a&&0<a.length){var b=urlParams.title;if(null==b&&"1"!=urlParams.notitle){var b=decodeURIComponent(urlParams.url),c=b.lastIndexOf("/");0<=c&&(b=b.substring(c+1));0<(".png"==b.substring(b.length-4))&&(b=b.substring(0,b.length-4)+".xml")}a=new LocalFile(this,a,b||this.defaultFilename);this.fileLoaded(a);this.setMode(null)}}),
mxUtils.bind(this,function(){this.spinner.stop();this.handleError({message:mxResources.get("fileNotFound")},mxResources.get("errorLoadingFile"),c)}))}catch(f){this.spinner.stop();try{(new Image).src="images/2x2.png?msg\x3derrorLoadingFile\x26url\x3d"+encodeURIComponent(window.location.href)+"\x26v\x3d"+encodeURIComponent(EditorUi.VERSION)+(null!=f&&null!=f.message?"\x26err\x3d"+encodeURIComponent(f.message):"")+(null!=f&&null!=f.stack?"\x26stack\x3d"+encodeURIComponent(f.stack):"")}catch(d){}this.handleError(f,
mxResources.get("errorLoadingFile"),c)}else if(null==this.getCurrentFile()){var a=mxUtils.bind(this,function(){if("1"==urlParams.client&&(null==window.location.hash||0==window.location.hash.length)){var a=window.opener||window.parent;a!=window&&this.installMessageHandler(mxUtils.bind(this,function(b,c){if(c.source==a){"data:image/png;base64,"==b.substring(0,22)&&(b=this.extractGraphModelFromPng(b));var d=urlParams.title,d=null!=d?decodeURIComponent(d):this.defaultFilename;this.fileLoaded(new LocalFile(this,
b,d));this.getCurrentFile().setModified(!this.editor.chromeless);this.setMode(null)}}))}else if(null==this.dialog)if("1"==urlParams.demo){var b=Editor.useLocalStorage;this.createFile(this.defaultFilename,null,null,App.MODE_DEVICE);this.setMode(null);Editor.useLocalStorage=b}else{b=!1;try{b=null!=window.opener&&null!=window.opener.openFile}catch(c){}if(b)this.spinner.spin(document.body,mxResources.get("loading"));else if(b=this.getDiagramId(),"0"==urlParams.splash&&(null==b||0==b.length)){var d=this.getDraft(),
e=null!=d?d.data:this.getFileData(),b=Editor.useLocalStorage;this.createFile(this.defaultFilename,e,null,App.MODE_DEVICE);this.setMode(null);Editor.useLocalStorage=b;null!=d&&(b=this.getCurrentFile(),null!=b&&b.addUnsavedStatus())}else this.loadFile(this.getDiagramId())}});null!=this.drive&&this.defineCustomObjects();var e=decodeURIComponent(urlParams.create||"");if((null==window.location.hash||1>=window.location.hash.length)&&null!=e&&0<e.length&&this.spinner.spin(document.body,mxResources.get("loading"))){var c=
mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("reconnecting"))&&(window.location.search=this.getSearch(["create","title"]))}),g=mxUtils.bind(this,function(a){this.spinner.stop();"0"!=urlParams.splash&&(this.fileLoaded(new LocalFile(this,a,null)),this.editor.graph.setEnabled(!1),this.mode=urlParams.mode,a=urlParams.title,a=null!=a?decodeURIComponent(a):this.defaultFilename,a=new CreateDialog(this,a,mxUtils.bind(this,function(a,b){if(null==b){this.hideDialog();var c=Editor.useLocalStorage;
this.createFile(0<a.length?a:this.defaultFilename,this.getFileData(),null,App.MODE_DEVICE);this.setMode(null);Editor.useLocalStorage=c}else this.createFile(a,this.getFileData(!0),null,b)})),this.showDialog(a.container,380,270,!0,!1,mxUtils.bind(this,function(a){a&&null==this.getCurrentFile()&&this.showSplash()})),a.init())}),e=decodeURIComponent(e);if("http://"!=e.substring(0,7)&&"https://"!=e.substring(0,8))try{null!=window.opener&&null!=window.opener[e]?g(window.opener[e]):this.handleError(null,
mxResources.get("errorLoadingFile"))}catch(k){this.handleError(k,mxResources.get("errorLoadingFile"))}else b(e,function(a){g(a)},mxUtils.bind(this,function(){this.handleError(null,mxResources.get("errorLoadingFile"),c)}))}else{if((null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.state&&(null!=this.stateArg&&"open"==this.stateArg.action)&&null!=this.stateArg.ids)window.location.hash="G"+this.stateArg.ids[0];(null==window.location.hash||1>=window.location.hash.length)&&null!=
this.drive&&null!=this.stateArg&&"create"==this.stateArg.action?(this.setMode(App.MODE_GOOGLE),this.actions.get("new").funct()):a()}}};
App.prototype.showSplash=function(b){this.editor.chromeless?this.handleError({message:mxResources.get("noFileSelected")},mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){this.showSplash()})):null==this.mode||b?(b=new StorageDialog(this,mxUtils.bind(this,function(){this.hideDialog();var b=new SplashDialog(this);this.showDialog(b.container,340,260,!0,!0);b.init()})),this.showDialog(b.container,isLocalStorage&&"1"==urlParams.browser?480:380,300,!0,!1),b.init()):null==urlParams.create&&
(b=new SplashDialog(this),this.showDialog(b.container,340,mxClient.IS_CHROMEAPP?180:260,!0,!0),b.init())};
App.prototype.addLanguageMenu=function(b){var c=null;if((!this.isOfflineApp()||mxClient.IS_CHROMEAPP)&&null!=this.menus.get("language"))c=document.createElement("div"),c.setAttribute("title",mxResources.get("language")),c.className="geIcon geSprite geSprite-globe",c.style.position="absolute",c.style.cursor="pointer",c.style.bottom="20px",c.style.right="20px",mxEvent.addListener(c,"click",mxUtils.bind(this,function(b){this.editor.graph.popupMenuHandler.hideMenu();var d=new mxPopupMenu(this.menus.get("language").funct);
d.div.className+=" geMenubarMenu";d.smartSeparators=!0;d.showDisabled=!0;d.autoExpand=!0;d.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(d,arguments);d.destroy()});var a=mxUtils.getOffset(c);d.popup(a.x,a.y+c.offsetHeight,null,b);this.setCurrentMenu(d)})),b.appendChild(c);return c};
App.prototype.defineCustomObjects=function(){null!=gapi.drive.realtime&&null!=gapi.drive.realtime.custom&&(gapi.drive.realtime.custom.registerType(mxRtCell,"Cell"),mxRtCell.prototype.cellId=gapi.drive.realtime.custom.collaborativeField("cellId"),mxRtCell.prototype.type=gapi.drive.realtime.custom.collaborativeField("type"),mxRtCell.prototype.value=gapi.drive.realtime.custom.collaborativeField("value"),mxRtCell.prototype.xmlValue=gapi.drive.realtime.custom.collaborativeField("xmlValue"),mxRtCell.prototype.style=
gapi.drive.realtime.custom.collaborativeField("style"),mxRtCell.prototype.geometry=gapi.drive.realtime.custom.collaborativeField("geometry"),mxRtCell.prototype.visible=gapi.drive.realtime.custom.collaborativeField("visible"),mxRtCell.prototype.collapsed=gapi.drive.realtime.custom.collaborativeField("collapsed"),mxRtCell.prototype.connectable=gapi.drive.realtime.custom.collaborativeField("connectable"),mxRtCell.prototype.parent=gapi.drive.realtime.custom.collaborativeField("parent"),mxRtCell.prototype.children=
gapi.drive.realtime.custom.collaborativeField("children"),mxRtCell.prototype.source=gapi.drive.realtime.custom.collaborativeField("source"),mxRtCell.prototype.target=gapi.drive.realtime.custom.collaborativeField("target"))};mxRtCell=function(){};mxCodecRegistry.getCodec(mxCell).exclude.push("rtCell");mxCell.prototype.mxTransient.push("rtCell");
App.prototype.pickFile=function(b){b=null!=b?b:this.mode;if(b==App.MODE_DROPBOX)null!=this.dropbox&&this.dropbox.pickFile();else if(b==App.MODE_ONEDRIVE)null!=this.oneDrive&&this.oneDrive.pickFile();else if(b==App.MODE_GOOGLE)null!=this.drive&&"undefined"!=typeof google&&"undefined"!=typeof google.picker?this.drive.pickFile():window.open("https://drive.google.com");else if(b==App.MODE_DEVICE&&Graph.fileSupport&&!mxClient.IS_IE&&!mxClient.IS_IE11){var c=document.createElement("input");c.setAttribute("type",
"file");mxEvent.addListener(c,"change",mxUtils.bind(this,function(){null!=c.files&&this.openFiles(c.files)}));c.click()}else{this.hideDialog();window.openNew=null!=this.getCurrentFile()&&!this.isDiagramEmpty();window.baseUrl=this.getUrl();window.openKey="open";var f=Editor.useLocalStorage;Editor.useLocalStorage=b==App.MODE_BROWSER;this.openFile();window.openFile.setConsumer(mxUtils.bind(this,function(a,c){0<(".png"==c.substring(c.length-4))&&(c=c.substring(0,c.length-4)+".xml");this.fileLoaded(b==
App.MODE_BROWSER?new StorageFile(this,a,c):new LocalFile(this,a,c))}));var d=this.dialog,a=d.close;this.dialog.close=mxUtils.bind(this,function(b){Editor.useLocalStorage=f;a.apply(d,arguments);null==this.getCurrentFile()&&this.showSplash()})}};
App.prototype.pickLibrary=function(b){b=null!=b?b:this.mode;if(b==App.MODE_GOOGLE||b==App.MODE_DROPBOX||b==App.MODE_ONEDRIVE){var c=b==App.MODE_GOOGLE?this.drive:b==App.MODE_ONEDRIVE?this.oneDrive:this.dropbox;null!=c&&c.pickLibrary(mxUtils.bind(this,function(a,b){null!=b?this.loadLibrary(b):this.spinner.spin(document.body,mxResources.get("loading"))&&c.getLibrary(a,mxUtils.bind(this,function(a){this.spinner.stop();try{this.loadLibrary(a)}catch(b){this.handleError(b,mxResources.get("errorLoadingFile"))}}),
mxUtils.bind(this,function(a){this.handleError(a,null!=a?mxResources.get("errorLoadingFile"):null)}))}))}else if(b==App.MODE_DEVICE&&Graph.fileSupport&&!mxClient.IS_IE&&!mxClient.IS_IE11){var f=document.createElement("input");f.setAttribute("type","file");mxEvent.addListener(f,"change",mxUtils.bind(this,function(){if(null!=f.files)for(var a=0;a<f.files.length;a++)mxUtils.bind(this,function(a){var b=new FileReader;b.onload=mxUtils.bind(this,function(b){try{this.loadLibrary(new LocalLibrary(this,b.target.result,
a.name))}catch(c){this.handleError(c,mxResources.get("errorLoadingFile"))}});b.readAsText(a)})(f.files[a])}));f.click()}else{window.openNew=!1;window.openKey="open";var d=Editor.useLocalStorage;Editor.useLocalStorage=b==App.MODE_BROWSER;window.openFile=new OpenFile(mxUtils.bind(this,function(a){this.hideDialog(a)}));window.openFile.setConsumer(mxUtils.bind(this,function(a,c){try{this.loadLibrary(b==App.MODE_BROWSER?new StorageLibrary(this,a,c):new LocalLibrary(this,a,c))}catch(d){this.handleError(d,
mxResources.get("errorLoadingFile"))}}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:360,Editor.useLocalStorage?480:220,!0,!0,function(){Editor.useLocalStorage=d;window.openFile=null})}};App.prototype.createLibraryDataFromImages=function(b){var c=mxUtils.createXmlDocument(),f=c.createElement("mxlibrary");mxUtils.setTextContent(f,JSON.stringify(b));c.appendChild(f);return mxUtils.getXml(c)};
App.prototype.saveLibrary=function(b,c,f,d,a,e,g){d=null!=d?d:this.mode;a=null!=a?a:!1;e=null!=e?e:!1;var k=this.createLibraryDataFromImages(c),l=mxUtils.bind(this,function(a){this.spinner.stop();null!=g&&g();this.handleError(a,null!=a?mxResources.get("errorSavingFile"):null)});null==f&&d==App.MODE_DEVICE&&(f=new LocalLibrary(this,k,b));if(null==f)this.pickFolder(d,mxUtils.bind(this,function(a){d==App.MODE_GOOGLE&&null!=this.drive&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.drive.insertFile(b,
k,a,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,c)}),l,this.drive.libraryMimeType):d==App.MODE_DROPBOX&&null!=this.dropbox&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.dropbox.insertLibrary(b,k,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,c)}),l,a):d==App.MODE_ONEDRIVE&&null!=this.oneDrive&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.oneDrive.insertLibrary(b,k,
mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,c)}),l,a):d==App.MODE_BROWSER?(a=mxUtils.bind(this,function(){var a=new StorageLibrary(this,k,b);a.saveFile(b,!1,mxUtils.bind(this,function(){this.hideDialog(!0);this.libraryLoaded(a,c)}),l)}),null==localStorage.getItem(b)?a():this.confirm(mxResources.get("replaceIt",[b]),a)):this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})}));else if(a||this.spinner.spin(document.body,mxResources.get("saving"))){f.setData(k);
var m=mxUtils.bind(this,function(){f.save(!0,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);e||this.libraryLoaded(f,c);null!=g&&g()}),l)});if(b!=f.getTitle()){var n=f.getHash();f.rename(b,mxUtils.bind(this,function(a){f.constructor!=LocalLibrary&&n!=f.getHash()&&(mxSettings.removeCustomLibrary(n),mxSettings.addCustomLibrary(f.getHash()));this.removeLibrarySidebar(n);m()}),l)}else m()}};
App.prototype.saveFile=function(b){var c=this.getCurrentFile();if(null!=c){var f=mxUtils.bind(this,function(){this.removeDraft();this.editor.setStatus(mxResources.get("allChangesSaved"))});if(!b&&null!=c.getTitle()&&null!=this.mode)this.save(c.getTitle(),f);else{b=null!=c.getTitle()?c.getTitle():this.defaultFilename;var c=!mxClient.IS_IOS||!navigator.standalone,d=this.mode;b=new CreateDialog(this,b,mxUtils.bind(this,function(a,b){null!=a&&0<a.length&&(null==d&&b==App.MODE_DEVICE?(this.setMode(App.MODE_DEVICE),
this.save(a,f)):"download"==b?(new LocalFile(this,null,a)).save():"_blank"==b?(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(this.getFileData(!0)),window.open(this.getUrl(window.location.pathname))):d!=b?this.pickFolder(b,mxUtils.bind(this,function(c){this.createFile(a,this.getFileData(/(\.xml)$/i.test(a)||0>a.indexOf("."),/(\.svg)$/i.test(a),/(\.html)$/i.test(a)),null,b,f,null==this.mode,c)})):null!=b&&this.save(a,f))}),mxUtils.bind(this,function(){this.hideDialog()}),
mxResources.get("saveAs"),mxResources.get("download"),null,null,c,this.isOffline()?null:"https://support.draw.io/questions/9338901",!0);this.showDialog(b.container,440,380,!0,!0);b.init()}}};
App.prototype.createFile=function(b,c,f,d,a,e,g){d=null!=d?d:this.mode;if(null!=b&&this.spinner.spin(document.body,mxResources.get("inserting"))){c=null!=c?c:this.emptyDiagramXml;var k=mxUtils.bind(this,function(a){this.spinner.stop();null==a&&null==this.getCurrentFile()&&null==this.dialog?this.showSplash():null!=a&&this.handleError(a)});d==App.MODE_GOOGLE&&null!=this.drive?(g=null!=this.stateArg?this.stateArg.folderId:g,this.drive.insertFile(b,c,g,mxUtils.bind(this,function(b){this.spinner.stop();
this.fileCreated(b,f,e,a)}),k)):d==App.MODE_DROPBOX&&null!=this.dropbox?this.dropbox.insertFile(b,c,mxUtils.bind(this,function(b){this.spinner.stop();this.fileCreated(b,f,e,a)}),k):d==App.MODE_ONEDRIVE&&null!=this.oneDrive?this.oneDrive.insertFile(b,c,mxUtils.bind(this,function(b){this.spinner.stop();this.fileCreated(b,f,e,a)}),k,!1,g):d==App.MODE_BROWSER?(this.spinner.stop(),d=mxUtils.bind(this,function(){var d=new StorageFile(this,c,b);d.saveFile(b,!1,mxUtils.bind(this,function(){this.fileCreated(d,
f,e,a)}),k)}),null==localStorage.getItem(b)?d():this.confirm(mxResources.get("replaceIt",[b]),d,mxUtils.bind(this,function(){null==this.getCurrentFile()&&null==this.dialog&&this.showSplash()}))):(this.spinner.stop(),this.fileCreated(new LocalFile(this,c,b),f,e,a))}};
App.prototype.fileCreated=function(b,c,f,d){var a=window.location.pathname;null!=c&&0<c.length&&(a+="?libs\x3d"+c);a=this.getUrl(a);b.getMode()!=App.MODE_DEVICE&&(a+="#"+b.getHash());if(this.spinner.spin(document.body,mxResources.get("inserting"))){var e=b.getData();b.setData(this.createFileData(0<e.length?this.editor.extractGraphModel(mxUtils.parseXml(e).documentElement,!0):null,null,b,window.location.protocol+"//"+window.location.hostname+a));var g=mxUtils.bind(this,function(){this.spinner.stop();
var e=mxUtils.bind(this,function(){window.openFile=null;this.fileLoaded(b);null!=c&&this.sidebar.showEntries(c);null!=d&&d()});!f&&null!=this.getCurrentFile()&&null!=this.mode?(b.constructor==LocalFile&&(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(b.getData(),b.getTitle())),window.openWindow(a,null,e)):e()});b.constructor==LocalFile||b.constructor==DriveFile?g():b.saveFile(b.getTitle(),!1,mxUtils.bind(this,function(){g()}),mxUtils.bind(this,function(a){this.spinner.stop();
this.handleError(a)}))}};
App.prototype.loadFile=function(b,c,f){this.hideDialog();var d=mxUtils.bind(this,function(){if(this.spinner.spin(document.body,mxResources.get("loading")))if("L"==b.charAt(0))if(this.spinner.stop(),isLocalStorage)try{b=decodeURIComponent(b.substring(1));var a=localStorage.getItem(b);if(null!=a)this.fileLoaded(new StorageFile(this,a,b));else throw{message:mxResources.get("fileNotFound")};}catch(c){this.handleError(c,mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var a=this.getCurrentFile();
window.location.hash=null!=a?a.getHash():""}))}else this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")},mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var a=this.getCurrentFile();window.location.hash=null!=a?a.getHash():""}));else null!=f?(this.spinner.stop(),this.fileLoaded(f)):(a=null,"G"==b.charAt(0)?a=this.drive:"D"==b.charAt(0)?a=this.dropbox:"W"==b.charAt(0)&&(a=this.oneDrive),b=decodeURIComponent(b.substring(1)),null==a?this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")},
mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var a=this.getCurrentFile();window.location.hash=null!=a?a.getHash():""})):a.getFile(b,mxUtils.bind(this,function(a){this.spinner.stop();this.fileLoaded(a)}),mxUtils.bind(this,function(a){null!=window.console&&null!=a&&console.log("error in loadFile:",b,a);this.handleError(a,null!=a?mxResources.get("errorLoadingFile"):null,mxUtils.bind(this,function(){var a=this.getCurrentFile();null==a?(window.location.hash="",this.showSplash()):window.location.hash=
a.getHash()}))})))});null==b||0==b.length?(this.editor.setStatus(""),this.fileLoaded(null)):null!=this.getCurrentFile()&&!this.isDiagramEmpty()&&!c?window.openWindow(this.getUrl()+"#"+b,null,d):d()};App.prototype.loadLibrary=function(b){var c=mxUtils.parseXml(b.getData());if("mxlibrary"==c.documentElement.nodeName)c=JSON.parse(mxUtils.getTextContent(c.documentElement)),this.libraryLoaded(b,c);else throw{message:mxResources.get("notALibraryFile")};};
App.prototype.removeLibrarySidebar=function(b){var c=this.sidebar.palettes[b];if(null!=c){for(var f=0;f<c.length;f++)c[f].parentNode.removeChild(c[f]);delete this.sidebar.palettes[b]}};
App.prototype.getLibraryStorageHint=function(b){var c="";b.constructor!=LocalLibrary&&(c+=b.getHash());b.constructor==DriveLibrary?c+=" ("+mxResources.get("googleDrive")+")":b.constructor==DropboxLibrary?c+=" ("+mxResources.get("dropbox")+")":b.constructor==OneDriveLibrary?c+=" ("+mxResources.get("oneDrive")+")":b.constructor==StorageLibrary?c+=" ("+mxResources.get("browser")+")":b.constructor==LocalLibrary&&(c+=" ("+mxResources.get("device")+")");return c};
App.prototype.closeLibrary=function(b){null!=b&&(this.removeLibrarySidebar(b.getHash()),b.constructor!=LocalLibrary&&mxSettings.removeCustomLibrary(b.getHash()),".scratchpad"==b.title&&(this.scratchpad=null))};App.prototype.repositionLibrary=function(b){var c=this.sidebar.container;b=null!=b?b:c.firstChild.nextSibling.nextSibling;var f=c.lastChild,d=f.previousSibling;c.insertBefore(f,b);c.insertBefore(d,f)};
App.prototype.toggleScratchpad=function(){if(isLocalStorage)if(null==this.scratchpad){var b=localStorage.getItem(".scratchpad");null==b&&(b=this.emptyLibraryXml);this.loadLibrary(new StorageLibrary(this,b,".scratchpad"))}else this.closeLibrary(this.scratchpad)};
App.prototype.libraryLoaded=function(b,c){b.constructor!=LocalLibrary&&mxSettings.addCustomLibrary(b.getHash());".scratchpad"==b.title&&(this.scratchpad=b);var f=this.sidebar.palettes[b.getHash()],f=null!=f?f[f.length-1].nextSibling:null;this.removeLibrarySidebar(b.getHash());var d=null,a=mxUtils.bind(this,function(a,c){if(0==a.length&&b.isEditable())null==d&&(d=document.createElement("div"),mxUtils.setPrefixedStyle(d.style,"borderRadius","6px"),d.style.border="3px dotted lightGray",d.style.textAlign=
"center",d.style.padding="8px",d.style.color="#B3B3B3",mxUtils.write(d,mxResources.get("dragElementsHere"))),c.appendChild(d);else for(var e=0;e<a.length;e++){var f=a[e],g=f.data;if(null!=g){var g=this.convertDataUri(g),k="shape\x3dimage;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;",k="fixed"==f.aspect?k+"aspect\x3dfixed;":k+"imageAspect\x3d0;";c.appendChild(this.sidebar.createVertexTemplate(k+"image\x3d"+g,f.w,f.h,"",f.title||"",!1,!1,!1))}else null!=f.xml&&(g=this.stringToCells(this.editor.graph.decompress(f.xml)),
0<g.length&&c.appendChild(this.sidebar.createVertexTemplateFromCells(g,f.w,f.h,f.title||"",!0,!1,!1)))}}),e=this.sidebar.addPalette(b.getHash(),b.getTitle(),!0,mxUtils.bind(this,function(b){a(c,b)}));this.repositionLibrary(f);var f=e.parentNode.previousSibling,g=f.getAttribute("title");null!=g&&0<g.length&&".scratchpad"!=b.title&&f.setAttribute("title",this.getLibraryStorageHint(b)+"\n"+g);var k=document.createElement("div");k.style.position="absolute";k.style.right="0px";k.style.top="5px";f.style.position=
"relative";var l=document.createElement("img");l.setAttribute("src",Dialog.prototype.closeImage);l.setAttribute("title",mxResources.get("close"));l.setAttribute("align","top");l.setAttribute("border","0");l.style.cursor="pointer";l.style.marginRight="8px";l.style.marginTop="3px";k.appendChild(l);var m=null;mxEvent.addListener(l,"click",mxUtils.bind(this,function(a){if(!mxEvent.isConsumed(a)){var c=mxUtils.bind(this,function(){this.closeLibrary(b)});null!=m?this.confirm(mxResources.get("allChangesLost"),
c):c();mxEvent.consume(a)}}));mxEvent.addListener(e,"mousemove",mxUtils.bind(this,function(a){mxEvent.getSource(a)==e?e.setAttribute("title",mxResources.get("libraryTooltip")):e.removeAttribute("title")}));if(b.isEditable()){var n=this.editor.graph,p=mxUtils.bind(this,function(a){this.showLibraryDialog(b.getTitle(),e,c,b,b.getMode());mxEvent.consume(a)}),r=mxUtils.bind(this,function(a){b.constructor!=LocalLibrary||b.isAutosave()?(null!=t&&null!=t.parentNode&&t.parentNode.removeChild(t),t=l.cloneNode(!1),
t.setAttribute("src",App.prototype.spinImage),t.setAttribute("title",mxResources.get("saving")),t.style.cursor="default",t.style.marginRight="6px",t.style.marginTop="2px",k.insertBefore(t,k.firstChild),this.saveLibrary(b.getTitle(),c,b,b.getMode(),!0,!0,function(){null!=t&&null!=t.parentNode&&t.parentNode.removeChild(t)})):null==m&&(m=l.cloneNode(!1),m.setAttribute("src",IMAGE_PATH+"/download.png"),m.setAttribute("title",mxResources.get("save")),k.insertBefore(m,k.firstChild),mxEvent.addListener(m,
"click",mxUtils.bind(this,function(a){this.saveLibrary(b.getTitle(),c,b,b.getMode(),!0,!0);m.parentNode.removeChild(m);m=null;mxEvent.consume(a)})))}),s=mxUtils.bind(this,function(a,b,f,g){a=n.cloneCells(n.model.getTopmostCells(a));for(var k=0;k<a.length;k++){var l=n.getCellGeometry(a[k]);null!=l&&l.translate(-b.x,-b.y)}e.appendChild(this.sidebar.createVertexTemplateFromCells(a,b.width,b.height,g||"",!0,!1,!1));a={xml:this.editor.graph.compress(mxUtils.getXml(this.editor.graph.encodeCells(a))),w:b.width,
h:b.height};null!=g&&(a.title=g);c.push(a);r(f);null!=d&&null!=d.parentNode&&0<c.length&&(d.parentNode.removeChild(d),d=null)}),q=mxUtils.bind(this,function(a){if(n.isSelectionEmpty())this.showError(mxResources.get("error"),mxResources.get("nothingIsSelected"),mxResources.get("ok"));else{var b=n.getSelectionCells(),c=n.view.getBounds(b),d=n.view.scale;c.x/=d;c.y/=d;c.width/=d;c.height/=d;c.x-=n.view.translate.x;c.y-=n.view.translate.y;s(b,c)}mxEvent.consume(a)});e.style.border="3px solid transparent";
mxEvent.addGestureListeners(e,function(){},mxUtils.bind(this,function(a){n.isMouseDown&&null!=n.panningManager&&null!=n.graphHandler.shape&&(n.graphHandler.shape.node.style.visibility="hidden",null!=d?d.style.border="3px dotted rgb(254, 137, 12)":e.style.border="3px dotted rgb(254, 137, 12)",e.style.cursor="copy",n.panningManager.stop(),n.autoScroll=!1,null!=n.graphHandler.guide&&n.graphHandler.guide.setVisible(!1),null!=n.graphHandler.hint&&(n.graphHandler.hint.style.visibility="hidden"),mxEvent.consume(a))}),
mxUtils.bind(this,function(a){n.isMouseDown&&null!=n.panningManager&&null!=n.graphHandler&&(e.style.border="3px solid transparent",null!=d&&(d.style.border="3px dotted lightGray"),e.style.cursor="default",this.sidebar.showTooltips=!0,n.panningManager.stop(),n.graphHandler.reset(),n.isMouseDown=!1,n.autoScroll=!0,q(a),mxEvent.consume(a))}));mxEvent.addListener(e,"mouseleave",mxUtils.bind(this,function(a){n.isMouseDown&&null!=n.graphHandler.shape&&(n.graphHandler.shape.node.style.visibility="visible",
e.style.border="3px solid transparent",e.style.cursor="",n.autoScroll=!0,null!=n.graphHandler.guide&&n.graphHandler.guide.setVisible(!0),null!=n.graphHandler.hint&&(n.graphHandler.hint.style.visibility="visible"),null!=d&&(d.style.border="3px dotted lightGray"))}));Graph.fileSupport&&(mxEvent.addListener(e,"dragover",mxUtils.bind(this,function(a){null!=d?d.style.border="3px dotted rgb(254, 137, 12)":e.style.border="3px dotted rgb(254, 137, 12)";a.dataTransfer.dropEffect="copy";e.style.cursor="copy";
this.sidebar.hideTooltip();a.stopPropagation();a.preventDefault()})),mxEvent.addListener(e,"drop",mxUtils.bind(this,function(b){e.style.border="3px solid transparent";e.style.cursor="";null!=d&&(d.style.border="3px dotted lightGray");0<b.dataTransfer.files.length&&this.importFiles(b.dataTransfer.files,0,0,this.maxImageSize,mxUtils.bind(this,function(f,g,k,l,m,n,p){if(null!=f&&"image/"==g.substring(0,6)){var q="shape\x3dimage;verticalLabelPosition\x3dbottom;verticalAlign\x3dtop;aspect\x3dfixed;image\x3d"+
this.convertDataUri(f),q=[new mxCell("",new mxGeometry(0,0,m,n),q)];q[0].vertex=!0;s(q,new mxRectangle(0,0,m,n),b,mxEvent.isAltDown(b)?null:p.substring(0,p.lastIndexOf(".")).replace(/_/g," "))}else{p=!1;if(null!=f&&"text/xml"==g)if(f=mxUtils.parseXml(f),"mxlibrary"==f.documentElement.nodeName)try{var t=JSON.parse(mxUtils.getTextContent(f.documentElement));a(t,e);c=c.concat(t);r(b);this.spinner.stop();p=!0}catch(G){}else if("mxfile"==f.documentElement.nodeName)try{t=mxUtils.getTextContent(f.documentElement.getElementsByTagName("diagram")[0]),
q=this.stringToCells(this.editor.graph.decompress(t)),s(q,new mxRectangle(0,0,m,n),b),p=!0}catch(H){}p||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")}))}null!=d&&null!=d.parentNode&&0<c.length&&(d.parentNode.removeChild(d),d=null)}));b.stopPropagation();b.preventDefault()})),mxEvent.addListener(e,"dragleave",function(a){null!=d?d.style.border="3px dotted lightGray":(e.style.border="3px solid transparent",e.style.cursor="");a.stopPropagation();a.preventDefault()}));
l=l.cloneNode(!1);l.setAttribute("src",IMAGE_PATH+"/edit.gif");l.setAttribute("title",mxResources.get("edit"));k.insertBefore(l,k.firstChild);mxEvent.addListener(l,"click",p);mxEvent.addListener(e,"dblclick",function(a){mxEvent.getSource(a)==e&&p(a)});l=l.cloneNode(!1);l.setAttribute("src",App.prototype.plusImage);l.setAttribute("title",mxResources.get("add"));k.insertBefore(l,k.firstChild);this.isOffline()||(g=document.createElement("span"),g.setAttribute("title",mxResources.get("help")),g.style.cssText=
"color:gray;text-decoration:none;margin-right:8px;",mxUtils.write(g,"?"),mxEvent.addGestureListeners(g,mxUtils.bind(this,function(a){window.open("https://support.draw.io/questions/10420280");mxEvent.consume(a)})),k.insertBefore(g,k.firstChild));var t=null;mxEvent.addListener(l,"click",q)}f.appendChild(k)};
App.prototype.fileLoaded=function(b){this.hideDialog();var c=this.getCurrentFile();this.setCurrentFile(null);null!=c&&(c.removeListener(this.descriptorChangedListener),c.close());this.editor.graph.model.clear();this.editor.undoManager.clear();var f=mxUtils.bind(this,function(){this.diagramContainer.style.visibility="hidden";this.formatContainer.style.visibility="hidden";this.editor.graph.setEnabled(!1);null!=c&&this.updateDocumentTitle();this.editor.graph.model.clear();this.editor.undoManager.clear();
null!=window.location.hash&&0<window.location.hash.length&&(window.location.hash="");null!=this.fname&&(this.fnameWrapper.style.display="none",this.fname.innerHTML="",this.fname.setAttribute("title",mxResources.get("rename")));this.updateUi();this.showSplash()});if(null!=b)try{this.setCurrentFile(b);b.open();this.diagramContainer.style.visibility="";this.formatContainer.style.visibility="";b.addListener("descriptorChanged",this.descriptorChangedListener);b.addListener("contentChanged",this.descriptorChangedListener);
this.descriptorChanged();this.editor.undoManager.clear();this.setMode(b.getMode());this.updateUi();null==b.realtime&&(b.isEditable()?this.editor.setStatus(""):this.editor.setStatus(mxResources.get("readOnly")));this.editor.chromeless?this.editor.graph.lightbox&&this.lightboxFit():(this.showLayersDialog(),this.restoreLibraries());this.chromelessResize&&this.chromelessResize();this.editor.fireEvent(new mxEventObject("fileLoaded"));if(this.enableLogging)try{this.isOffline()||((new Image).src="images/log.png?mode\x3d"+
encodeURIComponent(b.getMode())+"\x26v\x3d"+encodeURIComponent(EditorUi.VERSION))}catch(d){}if(this.mode==b.getMode()&&b.getMode()!=App.MODE_DEVICE)try{this.addRecent({id:b.getHash(),title:b.getTitle(),mode:b.getMode()})}catch(a){}}catch(e){null!=window.console&&console.log("error in fileLoaded:",b,e),this.handleError(e,mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){null!=urlParams.url&&this.spinner.spin(document.body,mxResources.get("reconnecting"))?window.location.search=this.getSearch(["url"]):
null!=c?this.fileLoaded(c):f()}))}else f()};
App.prototype.restoreLibraries=function(){if(null!=this.sidebar){null==this.pendingLibraries&&(this.pendingLibraries={});var b=mxUtils.bind(this,function(b){mxSettings.removeCustomLibrary(b);delete this.pendingLibraries[b]}),c=mxUtils.bind(this,function(c){if(null!=c)for(var d=0;d<c.length;d++){var a=encodeURIComponent(decodeURIComponent(c[d]));mxUtils.bind(this,function(a){if(null==this.pendingLibraries[a]&&null==this.sidebar.palettes[a]){this.pendingLibraries[a]=!0;var c=a.substring(0,1);if("L"==
c){if(isLocalStorage)try{var d=decodeURIComponent(a.substring(1)),f=localStorage.getItem(d);".scratchpad"==d&&null==f&&(f=this.emptyLibraryXml);null!=f?this.loadLibrary(new StorageLibrary(this,f,d)):b(a)}catch(m){b(a)}}else if("U"==c){var n=decodeURIComponent(a.substring(1));this.isOffline()||mxUtils.get(PROXY_URL+"?url\x3d"+encodeURIComponent(n),mxUtils.bind(this,function(c){if(200==c.getStatus())try{this.loadLibrary(new UrlLibrary(this,c.getText(),n)),delete this.pendingLibraries[a]}catch(d){b(a)}else b(a)}),
function(){b(a)})}else d=null,"G"==c?null!=this.drive&&null!=this.drive.user&&(d=this.drive):"D"==c?null!=this.dropbox&&null!=this.dropbox.getUser()&&(d=this.dropbox):"W"==c&&null!=this.oneDrive&&null!=this.oneDrive.getUser()&&(d=this.oneDrive),null!=d&&d.getLibrary(decodeURIComponent(a.substring(1)),mxUtils.bind(this,function(c){try{this.loadLibrary(c),delete this.pendingLibraries[a]}catch(d){b(a)}}),function(c){b(a)})}})(a)}});c(mxSettings.getCustomLibraries());c((urlParams.clibs||"").split(";"))}};
App.prototype.updateUi=function(){this.updateButtonContainer();this.updateActionStates();var b=this.getCurrentFile(),c=null!=b||"1"==urlParams.embed;this.menus.get("viewPanels").setEnabled(c);this.menus.get("viewZoom").setEnabled(c);var f="1"!=urlParams.embed&&(null==b||b.isRestricted());this.actions.get("makeCopy").setEnabled(!f);this.actions.get("print").setEnabled(!f);this.menus.get("exportAs").setEnabled(!f);this.menus.get("embed").setEnabled(!f);b="1"==urlParams.embed||null!=b&&b.isEditable();
this.actions.get("image").setEnabled(c);this.actions.get("zoomIn").setEnabled(c);this.actions.get("zoomOut").setEnabled(c);this.actions.get("resetView").setEnabled(c);this.menus.get("edit").setEnabled(c);this.menus.get("view").setEnabled(c);this.menus.get("importFrom").setEnabled(b);this.menus.get("arrange").setEnabled(b);null!=this.toolbar&&(null!=this.toolbar.edgeShapeMenu&&this.toolbar.edgeShapeMenu.setEnabled(b),null!=this.toolbar.edgeStyleMenu&&this.toolbar.edgeStyleMenu.setEnabled(b));if(this.isOfflineApp()){if((mxClient.IS_GC||
mxClient.IS_IOS&&mxClient.IS_SF)&&null!=applicationCache){var d=applicationCache;if(null==this.offlineStatus){this.offlineStatus=document.createElement("div");this.offlineStatus.className="geItem";this.offlineStatus.style.position="absolute";this.offlineStatus.style.fontSize="8pt";this.offlineStatus.style.top="2px";this.offlineStatus.style.right="12px";this.offlineStatus.style.color="#666";this.offlineStatus.style.margin="4px";this.offlineStatus.style.padding="2px";this.offlineStatus.style.verticalAlign=
"middle";this.offlineStatus.innerHTML="";this.menubarContainer.appendChild(this.offlineStatus);var a=window.setTimeout(mxUtils.bind(this,function(){d.status==d.IDLE&&(this.offlineStatus.innerHTML='[\x3cimg title\x3d"Cached" border\x3d"0" src\x3d"'+IMAGE_PATH+'/checkmark.gif"/\x3e]',window.clearTimeout(a))}),5E3)}}}else this.updateUserElement()};
App.prototype.exportImage=function(b,c,f,d,a){if(this.spinner.spin(document.body,mxResources.get("exporting"))){var e=this.editor.graph.isSelectionEmpty();f=null!=f?f:e;try{this.exportToCanvas(mxUtils.bind(this,function(b){this.spinner.stop();try{this.saveCanvas(b,a?this.getFileData(!0,null,null,null,f):null)}catch(c){"Invalid image"==c.message?this.downloadFile("png"):this.handleError(c)}}),null,null,null,mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),null,f,b||1,c,d)}catch(g){this.spinner.stop(),
this.handleError(g)}}};
EditorUi.prototype.exportSvg=function(b,c,f,d,a,e){var g=this.editor.graph.isSelectionEmpty();f=null!=f?f:g;g=c?null:this.editor.graph.background;g==mxConstants.NONE&&(g=null);null==g&&!1==c&&(g="#ffffff");var k=this.editor.graph.getSvg(g,b,null,null,null,f);d&&this.editor.addSvgShadow(k);b=this.getCurrentFile();var l=null!=b&&null!=b.getTitle()?b.getTitle():this.defaultFilename;b=l.lastIndexOf(".");0<b&&(l=l.substring(0,b));l+=".svg";if(this.spinner.spin(document.body,mxResources.get("export"))){var m=mxUtils.bind(this,
function(b){this.spinner.stop();a&&b.setAttribute("content",this.getFileData(!0,null,null,null,f));var c='\x3c!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"\x3e\n'+mxUtils.getXml(b);this.isLocalFileSave()||c.length<=MAX_REQUEST_SIZE?this.saveData(l,"svg",c,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(c)}))});this.convertMath(this.editor.graph,k,!1,
mxUtils.bind(this,function(){e?this.convertImages(k,m):m(k)}))}};
App.prototype.updateButtonContainer=function(){if(null!=this.buttonContainer){var b=this.getCurrentFile();null!=b&&b.constructor==DriveFile?null==this.shareButton&&(this.shareButton=document.createElement("div"),this.shareButton.className="geBtn gePrimaryBtn",this.shareButton.style.display="inline-block",this.shareButton.style.padding="0 10px 0 10px",this.shareButton.style.marginTop="-4px",this.shareButton.style.height="28px",this.shareButton.style.lineHeight="28px",this.shareButton.style.minWidth=
"0px",this.shareButton.style.cssFloat="right",b=document.createElement("img"),b.setAttribute("src",this.shareImage),b.setAttribute("align","absmiddle"),b.style.marginRight="4px",b.style.marginTop="-3px",this.shareButton.appendChild(b),mxUtils.write(this.shareButton,mxResources.get("share")),mxEvent.addListener(this.shareButton,"click",mxUtils.bind(this,function(){this.actions.get("share").funct()})),this.buttonContainer.appendChild(this.shareButton)):null!=this.shareButton&&(this.shareButton.parentNode.removeChild(this.shareButton),
this.shareButton=null)}};
App.prototype.save=function(b,c){var f=this.getCurrentFile(),d=mxResources.get("saving");null!=f&&f.constructor==DriveFile&&(d=mxResources.get("createRevision"));if(null!=f&&this.spinner.spin(document.body,d)){this.editor.setStatus("");this.editor.graph.isEditing()&&this.editor.graph.stopEditing();var d=mxUtils.bind(this,function(a){this.spinner.stop();this.getCurrentFile()==f&&(f.isModified()?f.isAutosave()||f.addUnsavedStatus():this.editor.setStatus(mxResources.get("allChangesSaved")));null!=c&&
c()}),a=mxUtils.bind(this,function(a){this.handleError(a,null!=a?mxResources.get("errorSavingFile"):null)});b==f.getTitle()?f.save(!0,d,a):f.saveAs(b,d,a)}};App.prototype.base64ToBlob=function(b,c){c=c||"";for(var f=atob(b),d=f.length,a=Math.ceil(d/1024),e=Array(a),g=0;g<a;++g){for(var k=1024*g,l=Math.min(k+1024,d),m=Array(l-k),n=0;k<l;++n,++k)m[n]=f[k].charCodeAt(0);e[g]=new Uint8Array(m)}return new Blob(e,{type:c})};
App.prototype.isLocalFileSave=function(){return"remote"!=urlParams.save&&(mxClient.IS_IE||"undefined"!==typeof window.Blob&&"undefined"!==typeof window.URL)&&9!=document.documentMode&&8!=document.documentMode&&7!=document.documentMode&&!mxClient.IS_QUIRKS||this.isOfflineApp()||mxClient.IS_IOS};
App.prototype.saveRequest=function(b,c,f,d){b=!mxClient.IS_IOS||!navigator.standalone;c=new CreateDialog(this,c,mxUtils.bind(this,function(a,b){if("_blank"==b||null!=a&&0<a.length){var c=d("_blank"==b?null:a,b==App.MODE_DEVICE||null==b||"_blank"==b?"0":"1");b==App.MODE_DEVICE||"_blank"==b?c.simulate(document,"_blank"):this.pickFolder(b,mxUtils.bind(this,function(d){this.spinner.spin(document.body,mxResources.get("saving"))&&c.send(mxUtils.bind(this,function(){this.spinner.stop();if(200>c.getStatus()||
299<c.getStatus())this.handleError({message:mxResources.get("errorSavingFile")});else try{var l="pdf"==f?"application/pdf":"image/"+f;this.exportFile(c.getText(),a,l,!0,b,d)}catch(m){this.handleError(m)}}),function(a){this.spinner.stop();this.handleError(a)})}))}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,!1,b);this.showDialog(c.container,380,270,!0,!0);c.init()};
App.prototype.pickFolder=function(b,c,f){(f=null!=f?f:!0)&&b==App.MODE_GOOGLE&&null!=this.drive?this.drive.pickFolder(mxUtils.bind(this,function(b){if(b.action==google.picker.Action.PICKED){var a=null;null!=b.docs&&0<b.docs.length&&"folder"==b.docs[0].type&&(a=b.docs[0].id);c(a)}})):f&&b==App.MODE_ONEDRIVE&&null!=this.oneDrive?this.oneDrive.pickFolder(mxUtils.bind(this,function(b){var a=null;null!=b&&null!=b.data&&(null!=b.data.folders&&0<b.data.folders.length)&&(a=b.data.folders[0].id,a=a.substring(a.lastIndexOf(".")+
1),c(a))})):c(null)};
App.prototype.exportFile=function(b,c,f,d,a,e){a==App.MODE_DROPBOX?null!=this.dropbox&&this.spinner.spin(document.body,mxResources.get("saving"))&&this.dropbox.insertFile(c,d?this.base64ToBlob(b,f):b,mxUtils.bind(this,function(){this.spinner.stop()}),mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)})):a==App.MODE_GOOGLE?null!=this.drive&&this.spinner.spin(document.body,mxResources.get("saving"))&&this.drive.insertFile(c,b,e,mxUtils.bind(this,function(a){this.spinner.stop()}),mxUtils.bind(this,
function(a){this.spinner.stop();this.handleError(a)}),f,d,!1):a==App.MODE_ONEDRIVE&&null!=this.oneDrive&&this.spinner.spin(document.body,mxResources.get("saving"))&&this.oneDrive.insertFile(c,d?this.base64ToBlob(b,f):b,mxUtils.bind(this,function(){this.spinner.stop()}),mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),!1,e)};
App.prototype.doSaveLocalFile=function(b,c,f,d){if(window.MSBlobBuilder&&navigator.msSaveOrOpenBlob)d=new MSBlobBuilder,d.append(b),b=d.getBlob(f),navigator.msSaveOrOpenBlob(b,c);else if(mxClient.IS_IE)f=window.open("about:blank","_blank"),null==f?mxUtils.popup(b,!0):(f.document.write(b),f.document.close(),f.document.execCommand("SaveAs",!0,c),f.close());else if(mxClient.IS_IOS)c=new TextareaDialog(this,c+":",b,null,null,mxResources.get("close")),c.textarea.style.width="600px",c.textarea.style.height=
"380px",this.showDialog(c.container,620,460,!0,!0),c.init(),document.execCommand("selectall",!1,null);else if(!this.isOffline()&&mxClient.IS_SF)b="undefined"===typeof pako?"\x26xml\x3d"+encodeURIComponent(b):"\x26data\x3d"+encodeURIComponent(this.editor.graph.compress(b)),(new mxXmlRequest(SAVE_URL,"mime\x3d"+f+"\x26filename\x3d"+encodeURIComponent(c)+b)).simulate(document,"_blank");else{var a=document.createElement("a");a.href=URL.createObjectURL(d?this.base64ToBlob(b,f):new Blob([b],{type:f}));
a.download=c;document.body.appendChild(a);mxClient.IS_SF&&a.setAttribute("target","_blank");try{a.click(),window.setTimeout(function(){URL.revokeObjectURL(a.href)},0),a.parentNode.removeChild(a)}catch(e){}}};
App.prototype.saveLocalFile=function(b,c,f,d){if(this.isOfflineApp()||this.isOffline())this.doSaveLocalFile(b,c,f,d);else{var a=!mxClient.IS_IOS||!navigator.standalone;c=new CreateDialog(this,c,mxUtils.bind(this,function(a,c){try{if("_blank"==c)if(mxClient.IS_EDGE||11==document.documentMode||10==document.documentMode){var k="undefined"===typeof pako?"\x26xml\x3d"+encodeURIComponent(b):"\x26data\x3d"+encodeURIComponent(this.editor.graph.compress(b));(new mxXmlRequest(SAVE_URL,"mime\x3d"+f+k)).simulate(document,
"_blank")}else window.open("data:"+f+(d?";base64,"+b:";charset\x3dutf8,"+encodeURIComponent(b)));else c==App.MODE_DEVICE?this.doSaveLocalFile(b,a,f,d):null!=a&&0<a.length&&this.pickFolder(c,mxUtils.bind(this,function(k){this.exportFile(b,a,f,d,c,k)}))}catch(l){this.handleError(l)}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,!1,a);this.showDialog(c.container,380,280,!0,!0);c.init()}};
App.prototype.getHtml=function(b,c,f,d,a,e){e=null!=e?e:!0;var g=null,k="https://www.draw.io/js/embed-static.min.js",l="";if(null!=c){var g=e?c.getGraphBounds():c.getBoundingBox(c.getSelectionCells()),m=c.view.scale;e=Math.floor(g.x/m-c.view.translate.x);m=Math.floor(g.y/m-c.view.translate.y);g=c.background;if(null==a){c={};for(var n=this.editor.graph.view.states.getValues(),p=0;p<n.length;p++){var r=mxStencilRegistry.getBasenameForStencil(n[p].style[mxConstants.STYLE_SHAPE]);null!=r&&null==c[r]&&
(c[r]=!0,l+=r+";")}0<l.length&&(k="https://www.draw.io/embed.js?s\x3d"+l.substring(0,l.length-1))}b.setAttribute("x0",e);b.setAttribute("y0",m)}null!=b&&(b.setAttribute("pan","1"),b.setAttribute("zoom","1"),b.setAttribute("resize","0"),b.setAttribute("fit","0"),b.setAttribute("border","20"),b.setAttribute("links","1"),null!=d&&b.setAttribute("edit",d));null!=a&&(a=a.replace(/&/g,"\x26amp;"));b=null!=b?this.editor.graph.zapGremlins(mxUtils.getXml(b)):"";d=this.editor.graph.compress(b);this.editor.graph.decompress(d)!=
b&&(d=encodeURIComponent(b));return(null==a?'\x3c!--[if IE]\x3e\x3cmeta http-equiv\x3d"X-UA-Compatible" content\x3d"IE\x3d5,IE\x3d9" \x3e\x3c![endif]--\x3e\n':"")+"\x3c!DOCTYPE html\x3e\n\x3chtml"+(null!=a?' xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e':"\x3e")+"\n\x3chead\x3e\n"+(null==a?null!=f?"\x3ctitle\x3e"+mxUtils.htmlEntities(f)+"\x3c/title\x3e\n":"":"\x3ctitle\x3eDraw.io Diagram\x3c/title\x3e\n")+(null!=a?'\x3cmeta http-equiv\x3d"refresh" content\x3d"0;URL\x3d\''+a+"'\"/\x3e\n":"")+"\x3c/head\x3e\n\x3cbody"+
(null==a&&null!=g&&g!=mxConstants.NONE?' style\x3d"background-color:'+g+';"\x3e':"\x3e")+'\n\x3cdiv class\x3d"mxgraph" style\x3d"position:relative;overflow:auto;width:100%;"\x3e\n\x3cdiv style\x3d"width:1px;height:1px;overflow:hidden;"\x3e'+d+"\x3c/div\x3e\n\x3c/div\x3e\n"+(null==a?'\x3cscript type\x3d"text/javascript" src\x3d"'+k+'"\x3e\x3c/script\x3e':'\x3ca style\x3d"position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href\x3d"'+a+'" target\x3d"_blank"\x3e\x3cimg border\x3d"0" src\x3d"https://www.draw.io/images/drawlogo128.png"/\x3e\x3c/a\x3e')+
"\n\x3c/body\x3e\n\x3c/html\x3e\n"};
App.prototype.getHtml2=function(b,c,f,d,a,e){d="https://www.draw.io/js/viewer.min.js";var g="";if(null!=c&&null==a){var g=[],k={};c=c.view.states.getValues();e=function(a){if(null!=a){var b=a.lastIndexOf(".");0<b&&(a=a.substring(b+1,a.length));null==k[a]&&(k[a]=!0,g.push(a))}};for(var l=0;l<c.length;l++){var m=c[l];e(mxStencilRegistry.getBasenameForStencil(m.style[mxConstants.STYLE_SHAPE]));m.view.graph.model.isEdge(m.cell)&&(e(mxMarker.getPackageForType(m.style[mxConstants.STYLE_STARTARROW])),e(mxMarker.getPackageForType(m.style[mxConstants.STYLE_ENDARROW])))}0<
g.length&&(d="https://www.draw.io/embed2.js?s\x3d"+g.join(";"))}null!=a&&(a=a.replace(/&/g,"\x26amp;"));b={highlight:"#0000ff",nav:this.editor.graph.foldingEnabled,resize:!0,xml:this.editor.graph.zapGremlins(mxUtils.getXml(b)),toolbar:"zoom layers lightbox"};return(null==a?'\x3c!--[if IE]\x3e\x3cmeta http-equiv\x3d"X-UA-Compatible" content\x3d"IE\x3d5,IE\x3d9" \x3e\x3c![endif]--\x3e\n':"")+"\x3c!DOCTYPE html\x3e\n\x3chtml"+(null!=a?' xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e':"\x3e")+"\n\x3chead\x3e\n"+
(null==a?null!=f?"\x3ctitle\x3e"+mxUtils.htmlEntities(f)+"\x3c/title\x3e\n":"":"\x3ctitle\x3eDraw.io Diagram\x3c/title\x3e\n")+(null!=a?'\x3cmeta http-equiv\x3d"refresh" content\x3d"0;URL\x3d\''+a+"'\"/\x3e\n":"")+'\x3cmeta charset\x3d"utf-8"/\x3e\n\x3c/head\x3e\n\x3cbody\x3e\n\x3cdiv class\x3d"mxgraph" style\x3d"max-width:100%;border:1px solid transparent;" data-mxgraph\x3d"'+mxUtils.htmlEntities(JSON.stringify(b))+'"\x3e\x3c/div\x3e\n'+(null==a?'\x3cscript type\x3d"text/javascript" src\x3d"'+d+
'"\x3e\x3c/script\x3e':'\x3ca style\x3d"position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href\x3d"'+a+'" target\x3d"_blank"\x3e\x3cimg border\x3d"0" src\x3d"https://www.draw.io/images/drawlogo128.png"/\x3e\x3c/a\x3e')+"\n\x3c/body\x3e\n\x3c/html\x3e\n"};
App.prototype.saveData=function(b,c,f,d){this.isLocalFileSave()?this.saveLocalFile(f,b,d):this.saveRequest(f,b,c,mxUtils.bind(this,function(a,b){var d="undefined"===typeof pako?"\x26xml\x3d"+encodeURIComponent(f):"\x26data\x3d"+encodeURIComponent(this.editor.graph.compress(f));return new mxXmlRequest(SAVE_URL,"format\x3d"+c+(null!=a?"\x26filename\x3d"+encodeURIComponent(a):"")+d)}))};
App.prototype.downloadFile=function(b,c,f,d){try{var a=this.getCurrentFile();d=null!=d?d:this.editor.graph.isSelectionEmpty();var e=null!=a&&null!=a.getTitle()?a.getTitle():this.defaultFilename;if(/(\.xml)$/i.test(e)||/(\.html)$/i.test(e)||/(\.svg)$/i.test(e))e=e.substring(0,e.lastIndexOf("."));var g=e+"."+b;if("xml"==b){var k='\x3c?xml version\x3d"1.0" encoding\x3d"UTF-8"?\x3e\n'+(c?mxUtils.getXml(this.editor.getGraphXml(d)):this.getFileData(!0,null,null,null,d));this.saveData(g,b,k,"text/xml")}else if("html"==
b)k=this.getHtml2(this.editor.getGraphXml(d),this.editor.graph,e,null,null,d),this.saveData(g,b,k,"text/html");else if(("svg"==b||"xmlsvg"==b)&&this.spinner.spin(document.body,mxResources.get("export"))){var l=null,m=mxUtils.bind(this,function(a){a.length<=MAX_REQUEST_SIZE?this.saveData(g,"svg",a,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(l)}))});if("svg"==b){var n=this.editor.graph.background;
n==mxConstants.NONE&&(n=null);var p=this.editor.graph.getSvg(n,null,null,!1,null,d);f&&this.editor.addSvgShadow(p);this.convertImages(p,mxUtils.bind(this,mxUtils.bind(this,function(a){this.spinner.stop();m('\x3c?xml version\x3d"1.0" encoding\x3d"UTF-8"?\x3e\n\x3c!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"\x3e\n'+mxUtils.getXml(a))})))}else g=e+".svg",l=this.getFileData(!1,!0,null,mxUtils.bind(this,function(a){this.spinner.stop();m(a)}),d)}else{var r=
this.editor.graph.getGraphBounds(),k=this.getFileData(!0,null,null,null,d,"xmlpng"!=b),s="";if(r.width*r.height<=MAX_AREA&&k.length<=MAX_REQUEST_SIZE){var q="0";if("xmlpng"==b&&(q="1",b="png",g=e+"."+b,null!=this.pages&&null!=this.currentPage))for(c=0;c<this.pages.length;c++)if(this.pages[c]==this.currentPage){s="\x26from\x3d"+c;break}this.saveRequest(k,g,b,function(a,c){return new mxXmlRequest(EXPORT_URL,"format\x3d"+b+s+"\x26base64\x3d"+c+"\x26embedXml\x3d"+q+"\x26xml\x3d"+encodeURIComponent(k)+
(null!=a?"\x26filename\x3d"+encodeURIComponent(a):""))})}else this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"))}}catch(t){this.handleError(t)}};App.prototype.formatFileSize=function(b){var c=-1;do b/=1024,c++;while(1024<b);return Math.max(b,0.1).toFixed(1)+" kB; MB; GB; TB;PB;EB;ZB;YB".split(";")[c]};
App.prototype.descriptorChanged=function(){var b=this.getCurrentFile();if(null!=b){if(null!=this.fname){this.fnameWrapper.style.display="block";this.fname.innerHTML="";var c=null!=b.getTitle()?b.getTitle():this.defaultFilename;mxUtils.write(this.fname,c);this.fname.setAttribute("title",c+" - "+mxResources.get("rename"))}this.editor.graph.setEnabled(b.isEditable());null==urlParams.rev&&(this.updateDocumentTitle(),b=b.getHash(),0<b.length?window.location.hash=b:0<window.location.hash.length&&(window.location.hash=
""))}};
App.prototype.handleError=function(b,c,f){var d=this.spinner.pause(),a=null!=b&&null!=b.error?b.error:b;if(null!=a||null!=c){b=mxResources.get("unknownError");var e=mxResources.get("ok"),g=null;c=null!=c?c:mxResources.get("error");if(null!=a)if("undefined"!=typeof gapi&&"undefined"!=typeof gapi.drive&&"undefined"!=typeof gapi.drive.realtime&&a.type==gapi.drive.realtime.ErrorType.FORBIDDEN)b=mxResources.get("forbidden");else if(404==a.code||404==a.status||"undefined"!=typeof gapi&&"undefined"!=typeof gapi.drive&&
"undefined"!=typeof gapi.drive.realtime&&a.type==gapi.drive.realtime.ErrorType.NOT_FOUND){b=mxResources.get("fileNotFoundOrDenied");var k=window.location.hash;null!=k&&"#G"==k.substring(0,2)&&(k=k.substring(2),b+=' \x3ca href\x3d"https://drive.google.com/open?id\x3d'+k+'" target\x3d"_blank"\x3e'+mxResources.get("tryOpeningViaThisPage")+"\x3c/a\x3e")}else a.code==App.ERROR_TIMEOUT?(b=mxResources.get("timeout"),null!=a.retry&&(e=mxResources.get("cancel"),g=function(){d();a.retry()})):a.code==App.ERROR_BUSY?
b=mxResources.get("busy"):null!=a.message?b=a.message:null!=a.response&&null!=a.response.error&&(b=a.response.error);this.showError(c,b,e,f,g)}else null!=f&&f()};App.prototype.showError=function(b,c,f,d,a,e,g){b=new ErrorDialog(this,b,c,f,d,a,e,g);this.showDialog(b.container,340,150,!0,!1);b.init()};App.prototype.alert=function(b,c){var f=new ErrorDialog(this,null,b,mxResources.get("ok"),c);this.showDialog(f.container,340,100,!0,!1);f.init()};
App.prototype.confirm=function(b,c,f){var d=null!=this.spinner.pause?this.spinner.pause():function(){};this.showDialog((new ConfirmDialog(this,b,function(){d();null!=c&&c()},function(){d();null!=f&&f()})).container,340,90,!0,!1)};App.prototype.toggleChat=function(){var b=this.getCurrentFile();if(null!=b){if(null==b.chatWindow){var c=document.body.offsetWidth-300;b.chatWindow=new ChatWindow(this,mxResources.get("chatWindowTitle"),document.getElementById("geChat"),c,80,250,350,b.realtime);b.chatWindow.window.setVisible(!1)}b.chatWindow.window.setVisible(!b.chatWindow.window.isVisible())}};
App.prototype.status=function(b){this.editor.setStatus(b)};App.prototype.showAuthDialog=function(b,c,f){var d=this.spinner.pause();this.showDialog((new AuthDialog(this,b,c,mxUtils.bind(this,function(a){try{null!=f&&f(a,function(){d()})}catch(b){this.editor.setStatus(b.message)}}))).container,300,c?180:140,!0,!0,mxUtils.bind(this,function(a){a&&null==this.getCurrentFile()&&null==this.dialog&&this.showSplash()}))};
App.prototype.loadUrl=function(b,c,f,d,a){try{var e=d||/(\.png)($|\?)/i.test(b);a=null!=a?a:!0;var g=mxUtils.bind(this,function(){mxUtils.get(b,mxUtils.bind(this,function(a){if(200==a.getStatus()){if(null!=c){var b=a.getText();if(e){if((9==document.documentMode||10==document.documentMode)&&"undefined"!==typeof window.mxUtilsBinaryToArray){a=mxUtilsBinaryToArray(a.request.responseBody).toArray();for(var b=Array(a.length),d=0;d<a.length;d++)b[d]=String.fromCharCode(a[d]);b=b.join("")}b="data:image/png;base64,"+
this.base64Encode(b)}c(b)}}else null!=f&&f({code:App.ERROR_UNKNOWN})}),function(){null!=f&&f({code:App.ERROR_UNKNOWN})},e,this.timeout,function(){a&&null!=f&&f({code:App.ERROR_TIMEOUT,retry:g})})});g()}catch(k){null!=f&&f(k)}};
App.prototype.updateHeader=function(){if(null!=this.menubar){this.appIcon=document.createElement("a");this.appIcon.style.display="block";this.appIcon.style.position="absolute";this.appIcon.style.width="40px";this.appIcon.style.backgroundColor="#f18808";this.appIcon.style.height=this.menubarHeight+"px";mxEvent.disableContextMenu(this.appIcon);mxEvent.addListener(this.appIcon,"click",mxUtils.bind(this,function(a){this.appIconClicked(a)}));var b=!mxClient.IS_SVG?"url('"+IMAGE_PATH+"/logo-white.png')":
"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIKICAgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzA2LjE4NSAxMjAuMjk2IgogICB2aWV3Qm94PSIyNCAyNiA2OCA2OCIKICAgeT0iMHB4IgogICB4PSIwcHgiCiAgIHZlcnNpb249IjEuMSI+CiAgIAkgPGc+PGxpbmUKICAgICAgIHkyPSI3Mi4zOTQiCiAgICAgICB4Mj0iNDEuMDYxIgogICAgICAgeTE9IjQzLjM4NCIKICAgICAgIHgxPSI1OC4wNjkiCiAgICAgICBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiCiAgICAgICBzdHJva2Utd2lkdGg9IjMuNTUyOCIKICAgICAgIHN0cm9rZT0iI0ZGRkZGRiIKICAgICAgIGZpbGw9Im5vbmUiIC8+PGxpbmUKICAgICAgIHkyPSI3Mi4zOTQiCiAgICAgICB4Mj0iNzUuMDc2IgogICAgICAgeTE9IjQzLjM4NCIKICAgICAgIHgxPSI1OC4wNjgiCiAgICAgICBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiCiAgICAgICBzdHJva2Utd2lkdGg9IjMuNTAwOCIKICAgICAgIHN0cm9rZT0iI0ZGRkZGRiIKICAgICAgIGZpbGw9Im5vbmUiIC8+PGc+PHBhdGgKICAgICAgICAgZD0iTTUyLjc3Myw3Ny4wODRjMCwxLjk1NC0xLjU5OSwzLjU1My0zLjU1MywzLjU1M0gzNi45OTljLTEuOTU0LDAtMy41NTMtMS41OTktMy41NTMtMy41NTN2LTkuMzc5ICAgIGMwLTEuOTU0LDEuNTk5LTMuNTUzLDMuNTUzLTMuNTUzaDEyLjIyMmMxLjk1NCwwLDMuNTUzLDEuNTk5LDMuNTUzLDMuNTUzVjc3LjA4NHoiCiAgICAgICAgIGZpbGw9IiNGRkZGRkYiIC8+PC9nPjxnCiAgICAgICBpZD0iZzM0MTkiPjxwYXRoCiAgICAgICAgIGQ9Ik02Ny43NjIsNDguMDc0YzAsMS45NTQtMS41OTksMy41NTMtMy41NTMsMy41NTNINTEuOTg4Yy0xLjk1NCwwLTMuNTUzLTEuNTk5LTMuNTUzLTMuNTUzdi05LjM3OSAgICBjMC0xLjk1NCwxLjU5OS0zLjU1MywzLjU1My0zLjU1M0g2NC4yMWMxLjk1NCwwLDMuNTUzLDEuNTk5LDMuNTUzLDMuNTUzVjQ4LjA3NHoiCiAgICAgICAgIGZpbGw9IiNGRkZGRkYiIC8+PC9nPjxnPjxwYXRoCiAgICAgICAgIGQ9Ik04Mi43NTIsNzcuMDg0YzAsMS45NTQtMS41OTksMy41NTMtMy41NTMsMy41NTNINjYuOTc3Yy0xLjk1NCwwLTMuNTUzLTEuNTk5LTMuNTUzLTMuNTUzdi05LjM3OSAgICBjMC0xLjk1NCwxLjU5OS0zLjU1MywzLjU1My0zLjU1M2gxMi4yMjJjMS45NTQsMCwzLjU1MywxLjU5OSwzLjU1MywzLjU1M1Y3Ny4wODR6IgogICAgICAgICBmaWxsPSIjRkZGRkZGIiAvPjwvZz48L2c+PC9zdmc+)";
this.appIcon.style.backgroundImage=b;this.appIcon.style.backgroundPosition="center center";this.appIcon.style.backgroundRepeat="no-repeat";mxUtils.setPrefixedStyle(this.appIcon.style,"transition","all 125ms linear");mxEvent.addListener(this.appIcon,"mouseover",mxUtils.bind(this,function(){var a=this.getCurrentFile();null!=a&&(a=a.getMode(),a==App.MODE_GOOGLE?this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/google-drive-logo-white.svg)":a==App.MODE_DROPBOX?this.appIcon.style.backgroundImage=
"url("+IMAGE_PATH+"/dropbox-logo-white.svg)":a==App.MODE_ONEDRIVE&&(this.appIcon.style.backgroundImage="url("+IMAGE_PATH+"/onedrive-logo-white.svg)"))}));mxEvent.addListener(this.appIcon,"mouseout",mxUtils.bind(this,function(){this.appIcon.style.backgroundImage=b}));"1"!=urlParams.embed&&this.menubarContainer.appendChild(this.appIcon);this.fnameWrapper=document.createElement("div");this.fnameWrapper.style.position="absolute";this.fnameWrapper.style.right="120px";this.fnameWrapper.style.left="50px";
this.fnameWrapper.style.top="6px";this.fnameWrapper.style.height="26px";this.fnameWrapper.style.display="none";this.fnameWrapper.style.overflow="hidden";this.fnameWrapper.style.textOverflow="ellipsis";this.fname=document.createElement("a");this.fname.setAttribute("href","javascript:void(0);");this.fname.setAttribute("title",mxResources.get("rename"));this.fname.className="geItem";this.fname.style.padding="2px 8px 2px 8px";this.fname.style.display="inline";this.fname.style.fontSize="18px";this.fname.style.whiteSpace=
"nowrap";mxEvent.addListener(this.fname,"click",mxUtils.bind(this,function(a){var b=this.getCurrentFile();null!=b&&b.isRenamable()&&this.actions.get("rename").funct();mxEvent.consume(a)}));this.fnameWrapper.appendChild(this.fname);"1"!=urlParams.embed&&(this.menubarContainer.appendChild(this.fnameWrapper),this.menubar.container.style.position="absolute",this.menubar.container.style.paddingLeft="52px",this.menubar.container.style.boxSizing="border-box",this.menubar.container.style.top="29px",this.toolbar.container.style.paddingLeft=
"56px");this.toggleFormatElement=document.createElement("a");this.toggleFormatElement.setAttribute("href","javascript:void(0);");this.toggleFormatElement.setAttribute("title",mxResources.get("formatPanel")+" (Ctrl+Shift+P)");this.toggleFormatElement.style.position="absolute";this.toggleFormatElement.style.display="inline-block";this.toggleFormatElement.style.top="5px";this.toggleFormatElement.style.right="atlas"!=uiTheme&&"1"!=urlParams.embed?"26px":"10px";this.toggleFormatElement.style.padding="2px";
this.toggleFormatElement.style.fontSize="14px";this.toggleFormatElement.className="atlas"!=uiTheme?"geButton":"";this.toggleFormatElement.style.width="16px";this.toggleFormatElement.style.height="16px";this.toggleFormatElement.style.backgroundPosition="50% 50%";this.toggleFormatElement.style.backgroundRepeat="no-repeat";this.toolbarContainer.appendChild(this.toggleFormatElement);mxEvent.addListener(this.toggleFormatElement,"click",this.actions.get("formatPanel").funct);var c=mxUtils.bind(this,function(){this.toggleFormatElement.style.backgroundImage=
0<this.formatWidth?"url('"+this.formatShowImage+"')":"url('"+this.formatHideImage+"')"});this.addListener("formatWidthChanged",c);c();this.fullscreenElement=document.createElement("a");this.fullscreenElement.setAttribute("href","javascript:void(0);");this.fullscreenElement.setAttribute("title",mxResources.get("fullscreen"));this.fullscreenElement.style.position="absolute";this.fullscreenElement.style.display="inline-block";this.fullscreenElement.style.top="5px";this.fullscreenElement.style.right=
"atlas"!=uiTheme&&"1"!=urlParams.embed?"42px":"26px";this.fullscreenElement.style.padding="2px";this.fullscreenElement.style.fontSize="14px";this.fullscreenElement.className="atlas"!=uiTheme?"geButton":"";this.fullscreenElement.style.width="16px";this.fullscreenElement.style.height="16px";this.fullscreenElement.style.backgroundPosition="50% 50%";this.fullscreenElement.style.backgroundRepeat="no-repeat";this.fullscreenElement.style.backgroundImage="url('"+this.fullscreenImage+"')";this.toolbarContainer.appendChild(this.fullscreenElement);
var f=this.hsplitPosition,d=!1;mxEvent.addListener(this.fullscreenElement,"click",mxUtils.bind(this,function(a){"atlas"!=uiTheme&&"1"!=urlParams.embed&&this.toggleCompactMode(!d);this.toggleFormatPanel(!d);this.hsplitPosition=!d?0:f;this.hideFooter();d=!d;mxEvent.consume(a)}));"atlas"==uiTheme&&(mxUtils.setOpacity(this.toggleFormatElement,70),mxUtils.setOpacity(this.fullscreenElement,70),this.toggleFormatElement.style.right="6px",this.fullscreenElement.style.right="22px",this.toggleFormatElement.style.top=
"8px",this.fullscreenElement.style.top="8px");"1"!=urlParams.embed&&""!=urlParams.url&&(this.toggleElement=document.createElement("a"),this.toggleElement.setAttribute("href","javascript:void(0);"),this.toggleElement.setAttribute("title",mxResources.get("collapseExpand")),this.toggleElement.className="geButton",this.toggleElement.style.position="absolute",this.toggleElement.style.display="inline-block",this.toggleElement.style.width="16px",this.toggleElement.style.height="16px",this.toggleElement.style.color=
"#666",this.toggleElement.style.top="5px",this.toggleElement.style.right="10px",this.toggleElement.style.padding="2px",this.toggleElement.style.fontSize="14px",this.toggleElement.style.textDecoration="none",this.toggleElement.style.backgroundImage="url('"+this.chevronUpImage+"')",this.toggleElement.style.backgroundPosition="50% 50%",this.toggleElement.style.backgroundRepeat="no-repeat",mxEvent.addListener(this.toggleElement,"click",mxUtils.bind(this,function(a){this.toggleCompactMode();mxEvent.consume(a)})),
"atlas"!=uiTheme&&this.toolbarContainer.appendChild(this.toggleElement));740>=screen.height&&"undefined"!==typeof this.toggleElement.click&&window.setTimeout(mxUtils.bind(this,function(){this.toggleElement.click()}),0)}};
App.prototype.toggleCompactMode=function(b){!b&&"none"==this.appIcon.style.display?(this.menubar.container.style.position="absolute",this.menubar.container.style.paddingLeft="52px",this.menubar.container.style.paddingTop="",this.menubar.container.style.paddingBottom="",this.menubar.container.style.top="29px",this.toolbar.container.style.paddingLeft="56px",this.buttonContainer.style.visibility="visible",this.appIcon.style.display="block",this.fnameWrapper.style.display="block",this.fnameWrapper.style.visibility=
"visible",this.menubarHeight=App.prototype.menubarHeight,this.refresh(),this.toggleElement.style.backgroundImage="url('"+this.chevronUpImage+"')"):(this.menubar.container.style.position="relative",this.menubar.container.style.paddingLeft="4px",this.menubar.container.style.paddingTop="0px",this.menubar.container.style.paddingBottom="0px",this.menubar.container.style.top="0px",this.toolbar.container.style.paddingLeft="4px",this.buttonContainer.style.visibility="hidden",this.appIcon.style.display="none",
this.fnameWrapper.style.display="none",this.fnameWrapper.style.visibility="hidden",this.menubarHeight=EditorUi.prototype.menubarHeight,this.refresh(),this.toggleElement.style.backgroundImage="url('"+this.chevronDownImage+"')")};
App.prototype.updateUserElement=function(){if((null==this.drive||null==this.drive.getUser())&&(null==this.oneDrive||null==this.oneDrive.getUser())&&(null==this.dropbox||null==this.dropbox.getUser()))null!=this.userElement&&(this.userElement.parentNode.removeChild(this.userElement),this.userElement=null);else{null==this.userElement&&(this.userElement=document.createElement("a"),this.userElement.setAttribute("href","javascript:void(0);"),this.userElement.className="geItem",this.userElement.style.position=
"absolute",this.userElement.style.fontSize="8pt",this.userElement.style.top="4px",this.userElement.style.right="30px",this.userElement.style.color="#666",this.userElement.style.margin="4px",this.userElement.style.padding="2px",this.userElement.style.paddingRight="16px",this.userElement.style.verticalAlign="middle",this.userElement.style.backgroundImage="url("+IMAGE_PATH+"/expanded.gif)",this.userElement.style.backgroundPosition="100% 60%",this.userElement.style.backgroundRepeat="no-repeat",this.menubarContainer.appendChild(this.userElement),
mxEvent.addListener(this.userElement,"click",mxUtils.bind(this,function(b){if(null==this.userPanel){var f=document.createElement("div");f.className="geDialog";f.style.position="absolute";f.style.top=this.userElement.clientTop+this.userElement.clientHeight+6+"px";f.style.right="36px";f.style.padding="0px";this.userPanel=f}if(null!=this.userPanel.parentNode)this.userPanel.parentNode.removeChild(this.userPanel);else{var d=!1;this.userPanel.innerHTML="";f=document.createElement("img");f.setAttribute("src",
Dialog.prototype.closeImage);f.setAttribute("title",mxResources.get("close"));f.className="geDialogClose";f.style.top="8px";f.style.right="8px";mxEvent.addListener(f,"click",mxUtils.bind(this,function(){null!=this.userPanel.parentNode&&this.userPanel.parentNode.removeChild(this.userPanel)}));this.userPanel.appendChild(f);null!=this.drive&&(f=this.drive.getUser(),null!=f&&(d=!0,this.userPanel.innerHTML+='\x3ctable title\x3d"User ID: '+f.id+'" style\x3d"font-size:10pt;padding:20px 20px 10px 10px;"\x3e\x3ctr\x3e\x3ctd valign\x3d"top"\x3e'+
(null!=f.pictureUrl?'\x3cimg style\x3d"margin-right:10px;border-radius:50%;" src\x3d"'+f.pictureUrl+'"/\x3e':'\x3cimg style\x3d"margin-right:4px;margin-top:2px;" src\x3d"'+this.defaultUserPicture+'"/\x3e')+'\x3c/td\x3e\x3ctd valign\x3d"top" style\x3d"white-space:nowrap;'+(null!=f.pictureUrl?"padding-top:14px;":"")+'"\x3e\x3cb\x3e'+mxUtils.htmlEntities(f.displayName)+"\x3c/b\x3e\x3cbr\x3e\x3csmall\x3e"+mxUtils.htmlEntities(f.email)+"\x3c/small\x3e\x3c/tr\x3e\x3c/table\x3e",f=document.createElement("div"),
f.style.textAlign="center",f.style.padding="12px",f.style.background="whiteSmoke",f.style.borderTop="1px solid #e0e0e0",f.style.whiteSpace="nowrap",f.appendChild(mxUtils.button(mxResources.get("signOut"),mxUtils.bind(this,function(){var a=this.getCurrentFile();null!=a&&a.constructor==DriveFile?this.confirm(mxResources.get("areYouSure"),mxUtils.bind(this,function(){this.diagramContainer.style.visibility="hidden";this.formatContainer.style.visibility="hidden";a.close();window.setTimeout(mxUtils.bind(this,
function(){this.showDialog=function(){};window.location.hash="";this.drive.clearUserId();gapi.auth.signOut();window.location.reload()}),null!=a&&a.constructor==DriveFile?2E3:0)})):(this.drive.clearUserId(),this.drive.setUser(null),gapi.auth.signOut())}))),this.userPanel.appendChild(f)));f=mxUtils.bind(this,function(a,b,c){null!=a&&(d&&this.userPanel.appendChild(document.createElement("hr")),d=!0,this.userPanel.innerHTML+='\x3ctable style\x3d"font-size:10pt;padding:20px 20px 10px 10px;"\x3e\x3ctr\x3e\x3ctd valign\x3d"top"\x3e'+
(null!=b?'\x3cimg style\x3d"margin-right:10px;" src\x3d"'+b+'" width\x3d"40" height\x3d"40"/\x3e\x3c/td\x3e':"")+'\x3ctd valign\x3d"middle" style\x3d"white-space:nowrap;"\x3e\x3cb\x3e'+mxUtils.htmlEntities(a.displayName)+"\x3c/b\x3e"+(null!=a.email?'\x3cbr\x3e\x3cfont color\x3d"gray"\x3e'+mxUtils.htmlEntities(a.email)+"\x3c/font\x3e\x3c/td\x3e":"")+"\x3c/tr\x3e\x3c/table\x3e",a=document.createElement("div"),a.style.textAlign="center",a.style.padding="12px",a.style.background="whiteSmoke",a.style.borderTop=
"1px solid #e0e0e0",a.style.whiteSpace="nowrap",null!=c&&a.appendChild(mxUtils.button(mxResources.get("signOut"),c)),this.userPanel.appendChild(a))});null!=this.dropbox&&f(this.dropbox.getUser(),IMAGE_PATH+"/dropbox-logo.svg",mxUtils.bind(this,function(){var a=this.getCurrentFile();if(null!=a&&a.constructor==DropboxFile){var b=mxUtils.bind(this,function(){this.dropbox.logout();window.location.hash=""});a.isModified()?this.confirm(mxResources.get("allChangesLost"),b):b()}else this.dropbox.logout()}));
null!=this.oneDrive&&f(this.oneDrive.getUser(),IMAGE_PATH+"/onedrive-logo.svg",mxUtils.bind(this,function(){var a=this.getCurrentFile();if(null!=a&&a.constructor==OneDriveFile){var b=mxUtils.bind(this,function(){this.oneDrive.logout();window.location.hash=""});a.isModified()?this.confirm(mxResources.get("allChangesLost"),b):b()}else this.oneDrive.logout()}));d||(f=document.createElement("div"),f.style.textAlign="center",f.style.padding="20px 20px 10px 10px",f.innerHTML=mxResources.get("notConnected"),
this.userPanel.appendChild(f));document.body.appendChild(this.userPanel)}mxEvent.consume(b)})),mxEvent.addListener(document.body,"click",mxUtils.bind(this,function(b){!mxEvent.isConsumed(b)&&null!=this.userPanel&&null!=this.userPanel.parentNode&&this.userPanel.parentNode.removeChild(this.userPanel)})));var b=null;null!=this.drive&&null!=this.drive.getUser()?b=this.drive.getUser():null!=this.oneDrive&&null!=this.oneDrive.getUser()?b=this.oneDrive.getUser():null!=this.dropbox&&null!=this.dropbox.getUser()&&
(b=this.dropbox.getUser());null!=b?(this.userElement.innerHTML="",mxUtils.write(this.userElement,b.displayName),this.userElement.style.display="block"):this.userElement.style.display="none"}};
(function(){var b=!1,c=EditorUi.prototype.pasteCells;EditorUi.prototype.pasteCells=function(f,d){var a=d.getElementsByTagName("span");if(null!=a&&0<a.length&&"application/vnd.lucid.chart.objects"===a[0].getAttribute("data-lucid-type")){var e=a[0].getAttribute("data-lucid-content");null!=e&&0<e.length&&(a=mxUtils.bind(this,function(){if(this.pasteLucidChart)try{this.pasteLucidChart(JSON.parse(e)),mxEvent.consume(f)}catch(a){}}),!this.pasteLucidChart&&!b&&!this.isOffline()?(b=!0,"1"==urlParams.dev?
mxscript("/js/diagramly/Extensions.js",a):mxscript("/js/extensions.min.js",a)):a())}c.apply(this,arguments)}})();
(function(){var b=mxPopupMenu.prototype.showMenu;mxPopupMenu.prototype.showMenu=function(){b.apply(this,arguments);this.div.style.overflowY="auto";this.div.style.overflowX="hidden";var c=Math.max(document.body.clientHeight,document.documentElement.clientHeight);this.div.style.maxHeight=c-10+"px"};Menus.prototype.addLinkToItem=function(b,c){if(null!=b){var a=document.createElement("span");a.setAttribute("title",mxResources.get("help"));a.style.cssText="color:blue;text-decoration:underline;margin-left:12px;cursor:help;";
var e=document.createElement("img");e.setAttribute("border","0");e.setAttribute("valign","bottom");e.setAttribute("src",Editor.helpImage);a.appendChild(e);mxEvent.addGestureListeners(a,mxUtils.bind(this,function(a){this.editorUi.menubar.hideMenu();window.open(c);mxEvent.consume(a)}));b.firstChild.nextSibling.appendChild(a)}};var c=Menus.prototype.init;Menus.prototype.init=function(){c.apply(this,arguments);var b=this.editorUi,d=b.editor.graph,a=mxUtils.bind(d,d.isEnabled),e=("1"!=urlParams.embed&&
"0"!=urlParams.gapi||"1"==urlParams.embed&&"1"==urlParams.gapi)&&mxClient.IS_SVG&&isLocalStorage&&(null==document.documentMode||10<=document.documentMode),g=("1"!=urlParams.embed&&"0"!=urlParams.db||"1"==urlParams.embed&&"1"==urlParams.db)&&mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode),k=("www.draw.io"==window.location.hostname||"test.draw.io"==window.location.hostname||"drive.draw.io"==window.location.hostname||"legacy.draw.io"==window.location.hostname)&&("1"!=urlParams.embed&&
"0"!=urlParams.od||"1"==urlParams.embed&&"1"==urlParams.od)&&!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&(0>navigator.userAgent.indexOf("MSIE")||10<=document.documentMode);b.isOffline()||((new Image).src=IMAGE_PATH+"/help.png");b.actions.addAction("new...",function(){var a=b.isOffline(),c=new NewDialog(b,a);b.showDialog(c.container,a?350:620,a?70:440,!0,!0,function(a){a&&null==b.getCurrentFile()&&b.showSplash()});c.init()});b.actions.get("print").funct=function(){b.showDialog((new PrintDialog(b)).container,
320,220,!0,!0)};b.actions.addAction("open...",function(){b.pickFile()});b.actions.addAction("close",function(){b.fileLoaded(null)});b.actions.addAction("editShape...",mxUtils.bind(this,function(){d.getSelectionCells();if(1==d.getSelectionCount()){var a=d.getSelectionCell(),c=d.view.getState(a);null!=c&&null!=c.shape&&null!=c.shape.stencil&&(a=new EditShapeDialog(b,a,mxResources.get("editShape")+":",630,400),b.showDialog(a.container,640,480,!0,!1),a.init())}}));b.actions.addAction("revisionHistory...",
function(){var a=b.getCurrentFile();null==a||a.constructor!=DriveFile&&a.constructor!=DropboxFile||null==b.drive&&a.constructor==DriveFile||null==b.dropbox&&a.constructor==DropboxFile?b.showError(mxResources.get("error"),mxResources.get("notAvailable"),mxResources.get("ok")):b.spinner.spin(document.body,mxResources.get("loading"))&&(a.constructor==DropboxFile?b.dropbox.client.revisions(a.stat.path,{limit:100},function(c,d){b.spinner.stop();if(null==c){for(var e=[],g=d.length-1;0<=g;g--)(function(c){e.push({modifiedDate:c.clientModifiedAt,
fileSize:c.size,getXml:function(d,e){b.dropbox.client.readFile("/"+a.stat.path,{versionTag:c.versionTag},mxUtils.bind(this,function(a,b){null==a?d(b):e(a)}))},getUrl:function(){return b.getUrl(window.location.pathname+"?rev\x3d"+c.versionTag+"\x26chrome\x3d0\x26edit\x3d_blank")+window.location.hash}})})(d[g]);g=new RevisionDialog(b,e);b.showDialog(g.container,640,480,!0,!0);g.init()}else b.handleError(c)}):b.drive.executeRequest(gapi.client.drive.revisions.list({fileId:a.getId()}),function(c){b.spinner.stop();
for(var d=0;d<c.items.length;d++)(function(c){c.getXml=function(d,e){b.drive.executeRequest(gapi.client.drive.revisions.get({fileId:a.getId(),revisionId:c.id}),function(a){b.drive.getXmlFile(a,null,function(a){d(a.getData())},function(a){e(a)})},function(a){e(a)})};c.getUrl=function(){return b.getUrl(window.location.pathname+"?rev\x3d"+c.id+"\x26chrome\x3d0\x26edit\x3d_blank")+window.location.hash}})(c.items[d]);c=new RevisionDialog(b,c.items);b.showDialog(c.container,640,480,!0,!0);c.init()},function(a){b.spinner.stop();
b.handleError(a)}))});b.actions.addAction("createRevision",function(){b.actions.get("save").funct()},null,null,"Ctrl+S");b.actions.addAction("upload...",function(){var a=b.getCurrentFile();null!=a&&(window.drawdata=b.getFileData(),a=null!=a.getTitle()?a.getTitle():b.defaultFilename,window.open(window.location.protocol+"//"+window.location.host+"/?create\x3ddrawdata\x26"+(b.mode==App.MODE_DROPBOX?"mode\x3ddropbox\x26":"")+"title\x3d"+encodeURIComponent(a)))});if("undefined"!==typeof MathJax){var l=
b.actions.addAction("mathematicalTypesetting",function(){b.setMathEnabled(!b.isMathEnabled())});l.setToggleAction(!0);l.setSelectedCallback(function(){return b.isMathEnabled()});l.isEnabled=a}isLocalStorage&&(l=b.actions.addAction("showStartScreen",function(){mxSettings.setShowStartScreen(!mxSettings.getShowStartScreen());mxSettings.save()}),l.setToggleAction(!0),l.setSelectedCallback(function(){return mxSettings.getShowStartScreen()}));var m=b.actions.addAction("autosave",function(){b.editor.setAutosave(!b.editor.autosave)});
m.setToggleAction(!0);m.setSelectedCallback(function(){return m.isEnabled()&&b.editor.autosave});b.actions.addAction("editGeometry...",function(){for(var a=d.getSelectionCells(),c=[],e=0;e<a.length;e++)d.getModel().isVertex(a[e])&&c.push(a[e]);0<c.length&&(a=new EditGeometryDialog(b,c),b.showDialog(a.container,180,180,!0,!0),a.init())},null,null,"Ctrl+Shift+M");var n="rounded shadow dashed dashPattern fontFamily fontSize fontColor fontStyle align verticalAlign strokeColor strokeWidth fillColor gradientColor swimlaneFillColor textOpacity gradientDirection glass labelBackgroundColor labelBorderColor opacity spacing spacingTop spacingLeft spacingBottom spacingRight".split(" ");
b.actions.addAction("copyStyle",function(){var a=d.view.getState(d.getSelectionCell());if(d.isEnabled()&&null!=a){b.copiedStyle=mxUtils.clone(a.style);for(var a=d.getModel().getStyle(a.cell),a=null!=a?a.split(";"):[],c=0;c<a.length;c++){var e=a[c],g=e.indexOf("\x3d");if(0<=g){var k=e.substring(0,g),e=e.substring(g+1);null==b.copiedStyle[k]&&"none"==e&&(b.copiedStyle[k]="none")}}b.copiedEdgeStyle=null}},null,null,"Ctrl+Shift+C");b.actions.addAction("pasteStyle",function(){if(d.isEnabled()&&!d.isSelectionEmpty()&&
null!=b.copiedStyle){d.getModel().beginUpdate();try{for(var a=d.getSelectionCells(),c=0;c<a.length;c++)for(var e=d.view.getState(a[c]),g=0;g<n.length;g++){var k=n[g],l=b.copiedStyle[k];e.style[k]!=l&&d.setCellStyles(k,l,[a[c]])}}finally{d.getModel().endUpdate()}}},null,null,"Ctrl+Shift+V");b.actions.put("pageBackgroundImage",new Action(mxResources.get("backgroundImage")+"...",function(){if(!b.isOffline()){var a=new BackgroundImageDialog(b,function(a){b.setBackgroundImage(a)});b.showDialog(a.container,
320,170,!0,!0);a.init()}}));l=b.actions.put("shadowVisible",new Action(mxResources.get("shadow"),function(){d.setShadowVisible(!d.shadowVisible)}));l.setToggleAction(!0);l.setSelectedCallback(function(){return d.shadowVisible});b.actions.put("about",new Action(mxResources.get("aboutDrawio")+"...",function(){b.showDialog((new AboutDialog(b)).container,220,300,!0,!0)},null,null,"F1"));b.actions.addAction("userManual...",function(){window.open("https://support.draw.io/display/DO/Draw.io+Online+User+Manual")});
b.actions.addAction("support...",function(){window.open("https://support.draw.io/display/DO/draw.io+Online+Support")});b.actions.addAction("exportOptionsDisabled...",function(){b.handleError({message:mxResources.get("exportOptionsDisabledDetails")},mxResources.get("exportOptionsDisabled"))});b.actions.addAction("keyboardShortcuts...",function(){mxClient.IS_CHROMEAPP?window.open("https://www.draw.io/shortcuts.svg"):mxClient.IS_SVG?window.open("shortcuts.svg"):window.open("https://www.draw.io/?chrome\x3d0\x26url\x3dhttps%3A%2F%2Fwww.draw.io%2Fshortcuts.svg")});
b.actions.addAction("feedback...",function(){var a=new FeedbackDialog(b);b.showDialog(a.container,610,360,!0,!0);a.init()});b.actions.addAction("quickStart...",function(){window.open("https://www.youtube.com/watch?v\x3d8OaMWa4R1SE\x26t\x3d1")});if(mxClient.IS_CHROMEAPP||isLocalStorage&&"1"!=urlParams.offline)if(this.put("language",new Menu(mxUtils.bind(this,function(a,c){var d=mxUtils.bind(this,function(d){var e=""==d?mxResources.get("automatic"):mxLanguageMap[d],g=null;""!=e&&(g=a.addItem(e,null,
mxUtils.bind(this,function(){mxSettings.setLanguage(d);mxSettings.save();mxClient.language=d;mxResources.loadDefaultBundle=!1;mxResources.add(RESOURCE_BASE);b.alert(mxResources.get("restartForChangeRequired"))}),c),(d==mxLanguage||""==d&&null==mxLanguage)&&a.addCheckmark(g,Editor.checkmarkImage));return g});d("");a.addSeparator(c);for(var e in mxLanguageMap)d(e)}))),"atlas"!=uiTheme){var p=Menus.prototype.createMenubar;Menus.prototype.createMenubar=function(a){var b=p.apply(this,arguments);if(null!=
b){var c=this.get("language");null!=c&&(c=b.addMenu("",c.funct),c.setAttribute("title",mxResources.get("language")),c.style.width="16px",c.style.paddingTop="2px",c.style.paddingLeft="4px",c.innerHTML='\x3cdiv class\x3d"geIcon geSprite geSprite-globe"/\x3e',c.style.zIndex="1",c.style.position="absolute",c.style.top="2px",c.style.right="17px",c.style.display="block",mxClient.IS_VML||mxUtils.setOpacity(c,60),document.body.appendChild(c))}return b}}this.put("help",new Menu(mxUtils.bind(this,function(a,
c){if(!mxClient.IS_CHROMEAPP&&b.isOffline())this.addMenuItems(a,["about"]);else{var e=a.addItem("Search",null,null,c,null,null,!1),g=document.createElement("div");g.style.display="inline";g.innerHTML=':\x3cform style\x3d"display:inline;margin-left:8px;" id\x3d"rw_search_form"target\x3d"_blank" method\x3d"get" action\x3d"https://support.draw.io/dosearchsite.action"\x3e\x3cinput id\x3d"rw_search_query" type\x3d"text" name\x3d"queryString" size\x3d"25"\x3e\x3c/form\x3e';e.firstChild.nextSibling.appendChild(g);
e.style.backgroundColor="whiteSmoke";e.style.cursor="default";var k=g.getElementsByTagName("form")[0],l=g.getElementsByTagName("input")[0];null!=l&&null!=k&&(mxEvent.addListener(k,"submit",function(){b.enableLogging&&((new Image).src="images/log.png?help\x3d"+encodeURIComponent(l.value)+"\x26v\x3d"+encodeURIComponent(EditorUi.VERSION));window.setTimeout(function(){b.menubar.hideMenu()},0)}),mxEvent.addGestureListeners(e,function(a){document.activeElement!=l&&l.focus();mxEvent.consume(a)},function(a){mxEvent.consume(a)},
function(a){mxEvent.consume(a)}),window.setTimeout(function(){l.focus()},0));this.addMenuItems(a,["-","quickStart","userManual","keyboardShortcuts","-"]);mxClient.IS_CHROMEAPP||this.addMenuItems(a,["feedback"]);this.addMenuItems(a,["support","-","about"])}"1"==urlParams.test&&(mxResources.parse("showBoundingBox\x3dShow bounding box"),this.editorUi.actions.addAction("showBoundingBox",mxUtils.bind(this,function(){var a=d.getGraphBounds(),b=d.view.translate,e=d.view.scale;d.insertVertex(c,null,"",a.x/
e-b.x,a.y/e-b.y,a.width/e,a.height/e,"fillColor\x3dnone;strokeColor\x3dred;")})),this.addMenuItems(a,["-","showBoundingBox"],c),mxResources.parse("testXmlImageExport\x3dXML Image Export"),this.editorUi.actions.addAction("testXmlImageExport",mxUtils.bind(this,function(){var a=new mxImageExport,b=d.getGraphBounds(),c=d.view.scale,e=mxUtils.createXmlDocument(),f=e.createElement("output");e.appendChild(f);e=new mxXmlCanvas2D(f);e.translate(Math.floor((1-b.x)/c),Math.floor((1-b.y)/c));e.scale(1/c);var g=
0,k=e.save;e.save=function(){g++;k.apply(this,arguments)};var l=e.restore;e.restore=function(){g--;l.apply(this,arguments)};var m=a.drawShape;a.drawShape=function(a){mxLog.debug("entering shape",a,g);m.apply(this,arguments);mxLog.debug("leaving shape",a,g)};a.drawState(d.getView().getState(d.model.root),e);Math.ceil(1*b.width/c+2);Math.ceil(1*b.height/c+2);mxLog.show();mxLog.debug(mxUtils.getXml(f));mxLog.debug("stateCounter",g)})),this.addMenuItems(a,["testXmlImageExport"],c),mxResources.parse("animation\x3dAnimation"),
this.editorUi.actions.addAction("animation",mxUtils.bind(this,function(){null==this.animationWindow?(this.animationWindow=new AnimationWindow(this.editorUi,(document.body.offsetWidth-480)/2,120,640,480),this.animationWindow.window.setVisible(!0)):this.animationWindow.window.setVisible(!this.animationWindow.window.isVisible())})),this.addMenuItems(a,["animation"],c),mxResources.parse("testShowRtModel\x3dShow RT model"),mxResources.parse("testDebugRtModel\x3dDebug RT model"),mxResources.parse("testDownloadRtModel\x3dDownload RT model"),
this.editorUi.actions.addAction("testShowRtModel",mxUtils.bind(this,function(){null!=this.editorUi.getCurrentFile()&&null!=this.editorUi.getCurrentFile().realtime&&(console.log("bytesUsed",this.editorUi.getCurrentFile().realtime.rtModel.bytesUsed),console.log("root",this.editorUi.getCurrentFile().realtime.dumpRoot()),this.editorUi.getCurrentFile().realtime.check())})),this.editorUi.actions.addAction("testDebugRtModel",mxUtils.bind(this,function(){gapi.drive.realtime.debug()})),this.editorUi.actions.addAction("testDownloadRtModel",
mxUtils.bind(this,function(){var a=this.editorUi.getCurrentFile();null!=a&&null!=a.realtime&&b.spinner.spin(document.body,mxResources.get("export"))&&(a=new mxXmlRequest("https://www.googleapis.com/drive/v2/files/"+a.getHash().substring(1)+"/realtime",null,"GET"),a.setRequestHeaders=function(a){mxXmlRequest.prototype.setRequestHeaders.apply(this,arguments);var b=gapi.auth.getToken().access_token;a.setRequestHeader("authorization","Bearer "+b)},a.send(function(a){b.spinner.stop();200==a.getStatus()&&
b.saveLocalFile(a.getText(),"realtime.txt","text/plain")}))})),null!=this.editorUi.getCurrentFile()&&null!=this.editorUi.getCurrentFile().realtime&&this.addMenuItems(a,["-","testShowRtModel","testDebugRtModel","testDownloadRtModel"],c),mxResources.parse("testShowConsole\x3dShow Console"),this.editorUi.actions.addAction("testShowConsole",function(){mxLog.isVisible()?mxLog.window.fit():mxLog.show();mxLog.window.div.style.zIndex=mxPopupMenu.prototype.zIndex-1}),this.addMenuItems(a,["-","testShowConsole"]))})));
b.actions.addAction("shapes...",function(){mxClient.IS_CHROMEAPP||!b.isOffline()?b.showDialog((new MoreShapesDialog(b,!0)).container,640,isLocalStorage?mxClient.IS_IOS?480:460:440,!0,!0):b.showDialog((new MoreShapesDialog(b,!1)).container,360,isLocalStorage?mxClient.IS_IOS?300:280:260,!0,!0)});b.actions.addAction("createShape...",function(){var a=b.getCurrentFile();if("1"==urlParams.embed||null!=a&&a.isEditable())a=new mxCell("",new mxGeometry(0,0,120,120),b.defaultCustomShapeStyle),a.vertex=!0,a=
new EditShapeDialog(b,a,mxResources.get("editShape")+":",630,400),b.showDialog(a.container,640,480,!0,!1),a.init()});b.actions.put("embedHtml",new Action(mxResources.get("html")+"...",function(){var a=new EmbedHtmlDialog(b);b.showDialog(a.container,550,400,!0,!0);a.init()}));b.actions.put("embedSvg",new Action(mxResources.get("formatSvg")+"...",function(){var a=new EmbedSvgDialog(b);b.showDialog(a.container,550,400,!0,!0);a.init()}));b.actions.put("embedIframe",new Action(mxResources.get("iframe")+
"...",function(){var a=new IframeDialog(b);b.showDialog(a.container,420,210,!0,!0);a.init()}));b.actions.put("publishLink",new Action(mxResources.get("link")+"...",function(){var a=new IframeDialog(b,!1,!0);b.showDialog(a.container,420,210,!0,!0);a.init()}));b.actions.put("embedImage",new Action(mxResources.get("image")+"...",function(){var a=new EmbedSvgDialog(b,!0);b.showDialog(a.container,550,400,!0,!0);a.init()}));b.actions.put("liveImage",new Action("Live image...",function(){var a=new IframeDialog(b,
!0);b.showDialog(a.container,420,180,!0,!0);a.init()}));b.actions.addAction("googleDocs...",function(){window.open("http://docsaddon.draw.io")});b.actions.addAction("googleSites...",function(){var a=new GoogleSitesDialog(b);b.showDialog(a.container,420,256,!0,!0);a.init()});isLocalStorage&&(l=b.actions.addAction("scratchpad",function(){b.toggleScratchpad()}),l.setToggleAction(!0),l.setSelectedCallback(function(){return null!=b.scratchpad}),b.actions.addAction("plugins...",function(){b.showDialog((new PluginsDialog(b)).container,
360,156,!0,!1)}));l=b.actions.addAction("search",function(){var a=b.sidebar.isEntryVisible("search");b.sidebar.showPalette("search",!a);isLocalStorage&&(mxSettings.settings.search=!a,mxSettings.save())});l.setToggleAction(!0);l.setSelectedCallback(function(){return b.sidebar.isEntryVisible("search")});"1"==urlParams.embed&&(b.actions.get("save").funct=function(a){d.isEditing()&&d.stopEditing();var c=mxUtils.getXml(b.editor.getGraphXml());if("json"==urlParams.proto){var e=b.createLoadMessage("save");
e.xml=c;a&&(e.exit=!0);c=JSON.stringify(e)}(window.opener||window.parent).postMessage(c,"*");"0"!=urlParams.modified&&(b.editor.modified=!1)},b.actions.addAction("saveAndExit",function(){b.actions.get("save").funct(!0)}),b.actions.addAction("exit",function(){var a=function(){var a="json"==urlParams.proto?JSON.stringify({event:"exit",modified:b.editor.modified}):"";(window.opener||window.parent).postMessage(a,"*")};b.editor.modified?b.confirm(mxResources.get("allChangesLost"),a):a()}));this.put("exportAs",
new Menu(mxUtils.bind(this,function(a,c){b.isExportToCanvas()?a.addItem(mxResources.get("image")+"...",null,mxUtils.bind(this,function(){b.showExportDialog(!1,mxResources.get("export"),"https://support.draw.io/display/DO/Exporting+Files",mxUtils.bind(this,function(a,b,c,d,e){a=parseInt(a);!isNaN(a)&&0<a&&this.editorUi.exportImage(a/100,b,c,d,e)}))}),c):!b.isOffline()&&(!mxClient.IS_IOS||!navigator.standalone)&&a.addItem(mxResources.get("image")+"...",null,mxUtils.bind(this,function(){b.showRemoteExportDialog(mxResources.get("export"),
null,mxUtils.bind(this,function(a,b){this.editorUi.downloadFile(b?"xmlpng":"png",null,null,a)}))}),c);a.addItem(mxResources.get("formatSvg")+"...",null,mxUtils.bind(this,function(){b.showExportDialog(!0,mxResources.get("export"),"https://support.draw.io/display/DO/Exporting+Files",mxUtils.bind(this,function(a,b,c,d,e,f){a=parseInt(a);!isNaN(a)&&0<a&&this.editorUi.exportSvg(a/100,b,c,d,e,f)}))}),c);a.addSeparator(c);a.addItem(mxResources.get("formatHtmlEmbedded")+"...",null,mxUtils.bind(this,function(){this.editorUi.downloadFile("html")}),
c);mxClient.IS_CHROMEAPP?a.addItem(mxResources.get("formatPdf")+"...",null,this.editorUi.actions.get("print").funct,c):!b.isOffline()&&(!mxClient.IS_IOS||!navigator.standalone)&&a.addItem(mxResources.get("formatPdf")+"...",null,mxUtils.bind(this,function(){var a=document.createElement("div");a.style.padding="6px";var c=document.createElement("input");c.style.marginRight="8px";c.setAttribute("type","checkbox");d.isSelectionEmpty()?c.setAttribute("disabled","disabled"):(c.setAttribute("checked","checked"),
c.defaultChecked=!0);a.appendChild(c);mxUtils.write(a,mxResources.get("selectionOnly"));mxUtils.br(a);var e=document.createElement("input");e.setAttribute("type","checkbox");e.style.marginTop="16px";e.style.marginRight="8px";d.pageVisible||(e.setAttribute("checked","checked"),e.defaultChecked=!0);a.appendChild(e);mxUtils.write(a,mxResources.get("crop"));a=new CustomDialog(b,a,mxUtils.bind(this,function(){var a=d.pageVisible;d.pageVisible=!e.checked;this.editorUi.downloadFile("pdf",null,null,!c.checked);
d.pageVisible=a}),null,mxResources.get("export"));this.editorUi.showDialog(a.container,300,120,!0,!0)}),c);a.addSeparator(c);a.addItem(mxResources.get("formatXml")+"...",null,mxUtils.bind(this,function(){var a=null==b.pages||1>=b.pages.length,c=document.createElement("div");c.style.padding="6px";var e=document.createElement("input");e.style.marginRight="8px";e.setAttribute("type","checkbox");d.isSelectionEmpty()?e.setAttribute("disabled","disabled"):(e.setAttribute("checked","checked"),e.defaultChecked=
!0);c.appendChild(e);mxUtils.write(c,mxResources.get("selectionOnly"));var g=document.createElement("input");g.setAttribute("type","checkbox");g.setAttribute("checked","checked");g.defaultChecked=!0;g.style.marginRight="8px";g.style.marginTop="16px";a&&(mxUtils.br(c),c.appendChild(g),mxUtils.write(c,mxResources.get("compressed")));c=new CustomDialog(b,c,mxUtils.bind(this,function(){b.downloadFile("xml",!g.checked,null,!e.checked)}),null,mxResources.get("export"));b.showDialog(c.container,300,a?120:
80,!0,!0)}),c);b.isOffline()||(a.addSeparator(c),this.addMenuItem(a,"export",c).firstChild.nextSibling.innerHTML=mxResources.get("advanced")+"...")})));this.editorUi.actions.addAction("chatWindowTitle...",mxUtils.bind(this.editorUi,this.editorUi.toggleChat));this.put("importFrom",new Menu(function(a,c){function l(a){if(a&&Graph.fileSupport&&!mxClient.IS_IE&&!mxClient.IS_IE11){var c=document.createElement("input");c.setAttribute("type","file");mxEvent.addListener(c,"change",function(){null!=c.files&&
b.importFiles(c.files,null,null,b.maxImageSize)});c.click()}else{window.openNew=!1;window.openKey="import";var e=Editor.useLocalStorage;Editor.useLocalStorage=!a;window.openFile=new OpenFile(function(a){b.hideDialog(a)});window.openFile.setConsumer(function(a,c){d.setSelectionCells(b.importXml(a))});b.showDialog((new OpenDialog(b)).container,360,220,!0,!0,function(){window.openFile=null});var g=b.dialog,k=g.close;b.dialog.close=function(a){Editor.useLocalStorage=e;k.apply(g,arguments);a&&null==b.getCurrentFile()&&
"1"!=urlParams.embed&&b.showSplash()}}}function m(a){a.pickFile(function(c){if(b.spinner.spin(document.body,mxResources.get("loading")))if(a==b.dropbox){var d=/(\.png)$/i.test(c)?"image/png":"text/xml";b.loadUrl(c,function(a){n(a,d,c)},function(a){b.handleError(a,null!=a?mxResources.get("errorLoadingFile"):null)},"image/png"==d)}else a.getFile(c,function(a){var b=/(\.png)$/i.test(a.getTitle())?"image/png":"text/xml";n(a.getData(),b,a.getTitle())},function(a){b.handleError(a,null!=a?mxResources.get("errorLoadingFile"):
null)},!0)},!0)}var n=mxUtils.bind(this,function(a,c,e){"image/png"==c?b.loadImage(a,mxUtils.bind(this,function(g){b.resizeImage(g,a,mxUtils.bind(this,function(g,k,l){g=Math.min(1,Math.min(b.maxImageSize/k,b.maxImageSize/l));b.importFile(a,c,0,0,Math.round(k*g),Math.round(l*g),e,function(a){b.spinner.stop();d.setSelectionCells(a)})}),!0)})):b.importFile(a,c,0,0,0,0,e,function(a){b.spinner.stop();d.setSelectionCells(a)})});null!=b.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){m(b.drive)},
c):e&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+"...",null,function(){m(b.dropbox)},c):g&&a.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){m(b.oneDrive)},c):k&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},
c,null,!1);a.addSeparator(c);a.addItem(mxResources.get("browser")+"...",null,function(){l(!1)},c);mxClient.IS_IOS||a.addItem(mxResources.get("device")+"...",null,function(){l(!0)},c);b.isOffline()||(a.addSeparator(c),a.addItem(mxResources.get("url")+"...",null,function(){var a=new FilenameDialog(b,"",mxResources.get("import"),function(a){if(null!=a&&0<a.length&&b.spinner.spin(document.body,mxResources.get("loading"))){var c=/(\.png)($|\?)/i.test(a)?"image/png":"text/xml";b.loadUrl(PROXY_URL+"?url\x3d"+
encodeURIComponent(a),function(b){n(b,c,a)},function(){b.spinner.stop();b.handleError(null,mxResources.get("errorLoadingFile"))},"image/png"==c)}},mxResources.get("url"));b.showDialog(a.container,300,80,!0,!0);a.init()},c))})).isEnabled=a;this.put("theme",new Menu(mxUtils.bind(this,function(a,c){var d=a.addItem(mxResources.get("kennedy"),null,function(){mxSettings.setUi("");mxSettings.save();b.alert(mxResources.get("restartForChangeRequired"))},c);"atlas"!=uiTheme&&a.addCheckmark(d,Editor.checkmarkImage);
d=a.addItem(mxResources.get("atlas"),null,function(){mxSettings.setUi("atlas");mxSettings.save();b.alert(mxResources.get("restartForChangeRequired"))},c);"atlas"==uiTheme&&a.addCheckmark(d,Editor.checkmarkImage)})));this.editorUi.actions.addAction("rename...",mxUtils.bind(this,function(){var a=this.editorUi.getCurrentFile();if(null!=a){var c=null!=a.getTitle()?a.getTitle():this.editorUi.defaultFilename,c=new FilenameDialog(this.editorUi,c,mxResources.get("rename"),mxUtils.bind(this,function(b){null!=
b&&0<b.length&&(null!=a&&this.editorUi.spinner.spin(document.body,mxResources.get("renaming")))&&a.rename(b,mxUtils.bind(this,function(a){this.editorUi.spinner.stop()}),mxUtils.bind(this,function(a){this.editorUi.handleError(a,null!=a?mxResources.get("errorRenamingFile"):null)}))}),a.constructor==DriveFile||a.constructor==StorageFile?mxResources.get("diagramName"):null,function(a){if(null!=a&&0<a.length)return!0;b.showError(mxResources.get("error"),mxResources.get("invalidName"),mxResources.get("ok"));
return!1});this.editorUi.showDialog(c.container,300,80,!0,!0);c.init()}})).isEnabled=a;b.actions.addAction("makeCopy...",mxUtils.bind(this,function(){var a=b.getCurrentFile();if(null!=a){var c=null!=a.getTitle()?a.getTitle():b.defaultFilename,d="",e=c.lastIndexOf(".");0<=e&&(d=c.substring(e),c=c.substring(0,e));c=mxResources.get("copyOf",[c])+d;a.constructor==DriveFile?(c=new CreateDialog(b,c,mxUtils.bind(this,function(c,d){"download"==d&&(d=App.MODE_GOOGLE);null!=c&&0<c.length&&(d==App.MODE_GOOGLE?
b.spinner.spin(document.body,mxResources.get("saving"))&&a.save(!1,mxUtils.bind(this,function(){a.saveAs(c,mxUtils.bind(this,function(a){b.spinner.stop();var c=b.getUrl();window.openWindow(c+"#G"+a.id,null,mxUtils.bind(this,function(){window.location.hash="G"+a.id}))}),mxUtils.bind(this,function(a){b.handleError(a)}))}),mxUtils.bind(this,function(a){b.handleError(a)})):this.editorUi.createFile(c,this.editorUi.getFileData(!0),null,d))}),mxUtils.bind(this,function(){b.hideDialog()}),mxResources.get("makeCopy"),
mxResources.get("create"),null,null,null,null,!0),b.showDialog(c.container,420,380,!0,!0),c.init()):b.editor.editAsNew(b.getEditBlankXml(),c)}}));b.actions.addAction("moveToFolder...",mxUtils.bind(this,function(){var a=b.getCurrentFile();(a.getMode()==App.MODE_GOOGLE||a.getMode()==App.MODE_ONEDRIVE)&&b.pickFolder(a.getMode(),mxUtils.bind(this,function(c){b.spinner.spin(document.body,mxResources.get("moving"))&&a.move(c,mxUtils.bind(this,function(a){b.spinner.stop()}),mxUtils.bind(this,function(a){b.handleError(a)}))}))}));
b.actions.addAction("imgur...",mxUtils.bind(this,function(){b.publishImage(mxUtils.bind(b,b.uploadToImgur))}));b.actions.addAction("github...",mxUtils.bind(this,function(){b.publishImage(mxUtils.bind(b,b.uploadToGithub))}));this.put("publish",new Menu(mxUtils.bind(this,function(a,c){if(null==document.documentMode||10<=document.documentMode)"undefined"!==typeof XMLHttpRequest&&this.addMenuItems(a,["github"],c),this.addMenuItems(a,["imgur"],c);!navigator.standalone&&!b.isOffline()&&this.addMenuItems(a,
["publishLink"],c)})));b.actions.put("offline",new Action(mxResources.get("offline")+"...",function(){window.open("http://www.draw.io/app")}));b.actions.put("chromeApp",new Action(mxResources.get("chromeApp")+"...",function(){window.open("https://chrome.google.com/webstore/detail/drawio-desktop/pebppomjfocnoigkeepgbmcifnnlndla")}));this.editorUi.actions.addAction("share...",mxUtils.bind(this,function(){var a=this.editorUi.getCurrentFile();null!=a&&this.editorUi.drive.showPermissions(a.getId())}));
this.put("embed",new Menu(mxUtils.bind(this,function(a,c){"1"==urlParams.test&&this.addMenuItems(a,["liveImage","-"],c);this.addMenuItems(a,["embedImage","embedSvg","-","embedHtml"],c);!navigator.standalone&&!b.isOffline()&&this.addMenuItems(a,["embedIframe"],c);b.isOffline()||this.addMenuItems(a,["-","googleSites","googleDocs"],c)})));this.put("arrange",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["toFront","toBack","-"],b);this.addSubmenu("direction",a,b);this.addMenuItems(a,["turn",
"-"],b);this.addSubmenu("align",a,b);this.addSubmenu("distribute",a,b);a.addSeparator(b);this.addSubmenu("navigation",a,b);this.addSubmenu("insert",a,b);this.addSubmenu("layout",a,b);this.addMenuItems(a,"- group ungroup removeFromGroup - editGeometry clearWaypoints autosize".split(" "),b)})));var r="horizontalFlow verticalFlow - horizontalTree verticalTree - organic circle - fromText".split(" "),s=function(a,c,d,e){a.addItem(d,null,mxUtils.bind(this,function(){if("fromText"==e){var a=new ParseDialog(b,
d);b.showDialog(a.container,620,420,!0,!1);b.dialog.container.style.overflow="auto"}else a=new CreateGraphDialog(b,d,e),b.showDialog(a.container,620,420,!0,!1);a.init()}),c)};b.actions.addAction("insertText",function(){if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){var a=d.getInsertPoint(),a=new mxCell("Text",new mxGeometry(a.x,a.y,40,20),"text;html\x3d1;resizable\x3d0;autosize\x3d1;align\x3dleft;verticalAlign\x3dtop;spacingTop\x3d-4;points\x3d[];");a.vertex=!0;d.startEditingAtCell(d.addCell(a))}},
null,null,"Ctrl+Shift+X").isEnabled=a;b.actions.addAction("insertRectangle",function(){if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){var a=d.getInsertPoint(),a=new mxCell("",new mxGeometry(a.x,a.y,120,60),"whiteSpace\x3dwrap;html\x3d1;");a.vertex=!0;d.setSelectionCell(d.addCell(a))}},null,null,"Ctrl+K").isEnabled=a;b.actions.addAction("insertEllipse",function(){if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){var a=d.getInsertPoint(),a=new mxCell("",new mxGeometry(a.x,a.y,80,80),
"ellipse;whiteSpace\x3dwrap;html\x3d1;");a.vertex=!0;d.setSelectionCell(d.addCell(a))}},null,null,"Ctrl+Shift+K").isEnabled=a;this.put("insert",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"insertText insertRectangle insertEllipse - insertLink insertImage".split(" "),b);a.addSeparator(b);for(var c=0;c<r.length;c++)"-"==r[c]?a.addSeparator(b):s(a,b,mxResources.get(r[c]),r[c])})));this.put("openRecent",new Menu(function(a,c){var d=b.getRecent(),e=0;if(null!=d){for(var g=0;g<d.length;g++)(function(d){e++;
var g=d.mode;g==App.MODE_GOOGLE?g="googleDrive":g==App.MODE_ONEDRIVE&&(g="oneDrive");a.addItem(d.title+" ("+mxResources.get(g)+")",null,function(){b.loadFile(d.id)},c)})(d[g]);a.addSeparator(c)}a.addItem(mxResources.get("reset"),null,function(){b.resetRecent()},c)}));this.put("openFrom",new Menu(function(a,c){null!=b.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){b.pickFile(App.MODE_GOOGLE)},c):e&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",
null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+"...",null,function(){b.pickFile(App.MODE_DROPBOX)},c):g&&a.addItem(mxResources.get("dropbox")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){b.pickFile(App.MODE_ONEDRIVE)},c):k&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&a.addItem(mxResources.get("browser")+
"...",null,function(){b.pickFile(App.MODE_BROWSER)},c);mxClient.IS_IOS||a.addItem(mxResources.get("device")+"...",null,function(){b.pickFile(App.MODE_DEVICE)},c);b.isOffline()||(a.addSeparator(c),a.addItem(mxResources.get("url")+"...",null,function(){var a=new FilenameDialog(b,"",mxResources.get("open"),function(a){null!=a&&0<a.length&&(a=b.getUrl(window.location.pathname+"?url\x3d"+encodeURIComponent(a)),null==b.getCurrentFile()?window.location.href=a:window.openWindow(a))},mxResources.get("url"));
b.showDialog(a.container,300,80,!0,!0);a.init()},c))}));this.put("newLibrary",new Menu(function(a,c){null!=b.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_GOOGLE)},c):e&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_DROPBOX)},c):g&&a.addItem(mxResources.get("dropbox")+
" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_ONEDRIVE)},c):k&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&a.addItem(mxResources.get("browser")+"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_BROWSER)},c);mxClient.IS_IOS||a.addItem(mxResources.get("device")+
"...",null,function(){b.showLibraryDialog(null,null,null,null,App.MODE_DEVICE)},c)}));this.put("openLibraryFrom",new Menu(function(a,c){null!=b.drive?a.addItem(mxResources.get("googleDrive")+"...",null,function(){b.pickLibrary(App.MODE_GOOGLE)},c):e&&a.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.dropbox?a.addItem(mxResources.get("dropbox")+"...",null,function(){b.pickLibrary(App.MODE_DROPBOX)},c):g&&a.addItem(mxResources.get("dropbox")+
" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=b.oneDrive?a.addItem(mxResources.get("oneDrive")+"...",null,function(){b.pickLibrary(App.MODE_ONEDRIVE)},c):k&&a.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);a.addSeparator(c);isLocalStorage&&a.addItem(mxResources.get("browser")+"...",null,function(){b.pickLibrary(App.MODE_BROWSER)},c);mxClient.IS_IOS||a.addItem(mxResources.get("device")+"...",null,function(){b.pickLibrary(App.MODE_DEVICE)},
c);b.isOffline()||(a.addSeparator(c),a.addItem(mxResources.get("url")+"...",null,function(){var a=new FilenameDialog(b,"",mxResources.get("open"),function(a){null!=a&&0<a.length&&b.spinner.spin(document.body,mxResources.get("loading"))&&mxUtils.get(PROXY_URL+"?url\x3d"+encodeURIComponent(a),function(c){if(200==c.getStatus()){b.spinner.stop();try{b.loadLibrary(new UrlLibrary(this,c.getText(),a))}catch(d){b.handleError(d,mxResources.get("errorLoadingFile"))}}else b.spinner.stop(),b.handleError(null,
mxResources.get("errorLoadingFile"))},function(){b.spinner.stop();b.handleError(null,mxResources.get("errorLoadingFile"))})},mxResources.get("url"));b.showDialog(a.container,300,80,!0,!0);a.init()},c))}));this.put("view",new Menu(mxUtils.bind(this,function(a,c){this.addMenuItems(a,(null!=this.editorUi.format?["formatPanel"]:[]).concat(["outline","layers","-"]));this.addMenuItems(a,["-","search"],c);if(isLocalStorage){var d=this.addMenuItem(a,"scratchpad",c);b.isOffline()||this.addLinkToItem(d,"https://support.draw.io/questions/10420280")}this.addMenuItems(a,
"shapes - pageView pageScale - scrollbars tooltips - grid guides".split(" "),c);mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode)&&this.addMenuItem(a,"shadowVisible",c);this.addMenuItems(a,"- connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),c)})));this.put("extras",new Menu(mxUtils.bind(this,function(a,c){"1"!=urlParams.embed&&(this.addSubmenu("theme",a,c),a.addSeparator(c));this.addMenuItems(a,["copyConnect","collapseExpand","-"],c);if("undefined"!==
typeof MathJax){var d=this.addMenuItem(a,"mathematicalTypesetting",c);this.addLinkToItem(d,"https://desk.draw.io/solution/articles/16000032875-how-to-use-mathematical-typesetting-")}this.addMenuItems(a,["autosave","-","createShape","editDiagram"],c);a.addSeparator(c);"1"!=urlParams.embed&&isLocalStorage&&this.addMenuItems(a,["showStartScreen"],c);!b.isOfflineApp()&&"1"!=urlParams.embed?this.addMenuItems(a,["plugins","-","offline"],c):a.addSeparator(c);!b.isOffline()&&!navigator.standalone&&"1"!=urlParams.embed&&
this.addMenuItems(a,["chromeApp"],c)})));this.put("file",new Menu(mxUtils.bind(this,function(a,c){if("1"==urlParams.embed)this.addSubmenu("importFrom",a,c),this.addSubmenu("exportAs",a,c),this.addSubmenu("embed",a,c),"1"==urlParams.libraries&&(this.addMenuItems(a,["-"],c),this.addSubmenu("newLibrary",a,c),this.addSubmenu("openLibraryFrom",a,c)),this.addMenuItems(a,["-","pageSetup","print","-","save"],c),"1"==urlParams.saveAndExit&&this.addMenuItems(a,["saveAndExit"],c),this.addMenuItems(a,["exit"],
c);else{var d=this.editorUi.getCurrentFile();null!=d&&d.constructor==DriveFile?(d.isRestricted()&&this.addMenuItems(a,["exportOptionsDisabled"],c),null==d.realtime?this.addMenuItems(a,["save","share","-"],c):(d.isAutosave()||this.addMenuItems(a,["save"],c),this.addMenuItems(a,["share","chatWindowTitle","-"],c))):this.addMenuItems(a,["new"],c);this.addSubmenu("openFrom",a,c);isLocalStorage&&this.addSubmenu("openRecent",a,c);null!=d&&d.constructor==DriveFile?this.addMenuItems(a,["new","-","rename",
"makeCopy","moveToFolder"],c):(this.addMenuItems(a,["-","save","saveAs","-","rename"],c),b.isOfflineApp()?b.isOffline()||this.addMenuItems(a,["upload"],c):(this.addMenuItems(a,["makeCopy"],c),null!=d&&d.constructor==OneDriveFile&&this.addMenuItems(a,["moveToFolder"],c)));a.addSeparator(c);this.addSubmenu("importFrom",a,c);this.addSubmenu("exportAs",a,c);a.addSeparator(c);this.addSubmenu("embed",a,c);this.addSubmenu("publish",a,c);a.addSeparator(c);this.addSubmenu("newLibrary",a,c);this.addSubmenu("openLibraryFrom",
a,c);null!=d&&(d.constructor==DriveFile||d.constructor==DropboxFile)&&this.addMenuItems(a,["-","revisionHistory"],c);null!=d&&d.constructor==DriveFile&&this.addMenuItems(a,["createRevision"],c);this.addMenuItems(a,["-","pageSetup"],c);(!mxClient.IS_IOS||!navigator.standalone)&&this.addMenuItems(a,["print"],c);this.addMenuItems(a,["-","close"])}})))}})();function DiagramPage(b){this.node=b}DiagramPage.prototype.node=null;DiagramPage.prototype.root=null;DiagramPage.prototype.viewState=null;
DiagramPage.prototype.getName=function(){return this.node.getAttribute("name")};DiagramPage.prototype.setName=function(b){null==b?this.node.removeAttribute("name"):this.node.setAttribute("name",b)};function RenamePage(b,c,f){this.ui=b;this.page=c;this.previous=f}RenamePage.prototype.execute=function(){var b=this.page.getName();this.page.setName(this.previous);this.previous=b;this.ui.editor.graph.updatePlaceholders();this.ui.editor.fireEvent(new mxEventObject("pageRenamed"))};
function MovePage(b,c,f){this.ui=b;this.oldIndex=c;this.newIndex=f}MovePage.prototype.execute=function(){this.ui.pages.splice(this.newIndex,0,this.ui.pages.splice(this.oldIndex,1)[0]);var b=this.oldIndex;this.oldIndex=this.newIndex;this.newIndex=b;this.ui.editor.graph.updatePlaceholders();this.ui.editor.fireEvent(new mxEventObject("pageMoved"))};function SelectPage(b,c){this.ui=b;this.previousPage=this.page=c;this.ui.updatePageRoot(c)}
SelectPage.prototype.execute=function(){var b=this.ui.currentPage,c=this.ui.editor,f=c.graph,d=c.graph.compress(f.zapGremlins(mxUtils.getXml(c.getGraphXml(!0))));mxUtils.setTextContent(b.node,d);b.viewState=f.getViewState();b.root=f.model.root;f.view.clear(b.root,!0);f.clearSelection();this.ui.currentPage=this.previousPage;this.previousPage=b;b=this.ui.currentPage;f.model.rootChanged(b.root);f.setViewState(b.viewState);f.gridEnabled=f.gridEnabled&&(!this.ui.editor.chromeless||"1"==urlParams.grid);
c.fireEvent(new mxEventObject("setViewState","change",this));c.updateGraphComponents();f.view.validate();f.sizeDidChange();c.graph.fireEvent(new mxEventObject(mxEvent.ROOT));c.fireEvent(new mxEventObject("pageSelected","change",this))};function ChangePage(b,c,f,d){SelectPage.call(this,b,f);this.relatedPage=c;this.index=d;this.previousIndex=null}mxUtils.extend(ChangePage,SelectPage);
ChangePage.prototype.execute=function(){this.previousIndex=this.index;if(null==this.index){var b=mxUtils.indexOf(this.ui.pages,this.relatedPage);this.ui.pages.splice(b,1);this.index=b}else this.ui.pages.splice(this.index,0,this.relatedPage),this.index=null;SelectPage.prototype.execute.apply(this,arguments)};
EditorUi.prototype.initPages=function(){var b=null;this.actions.addAction("previousPage",mxUtils.bind(this,function(){this.selectNextPage(!1)}));this.actions.addAction("nextPage",mxUtils.bind(this,function(){this.selectNextPage(!0)}));this.keyHandler.bindAction(33,!0,"previousPage");this.keyHandler.bindAction(34,!0,"nextPage");var c=this.editor.graph,f=c.view.validateBackground;c.view.validateBackground=mxUtils.bind(this,function(){if(null!=this.tabContainer){var a=this.tabContainer.style.height;
this.tabContainer.style.height=null==this.fileNode||null==this.pages||1==this.pages.length&&"1"!=urlParams.pages?"0px":"30px";a!=this.tabContainer.style.height&&this.refresh(!1)}f.apply(c.view,arguments)});this.editor.addListener("fileLoaded",mxUtils.bind(this,function(){this.updateTabContainer()}));var d=!1;this.editor.addListener("pageSelected",mxUtils.bind(this,function(a,e){this.updateTabContainer();var f=this.currentPage;if(null!=f&&f!=b){if(null==f.viewState||null==f.viewState.scrollLeft)this.resetScrollbars(),
this.editor.graph.lightbox&&this.lightboxFit(),null!=this.chromelessResize&&(c.container.scrollLeft=0,c.container.scrollTop=0,this.chromelessResize());else{var k=null!=f.viewState.translate?f.viewState.translate.y-c.view.translate.y:0;c.container.scrollLeft=f.viewState.scrollLeft-(null!=f.viewState.translate?f.viewState.translate.x-c.view.translate.x:0)*c.view.scale;c.container.scrollTop=f.viewState.scrollTop-k*c.view.scale}b=f}null!=this.actions.layersWindow&&this.actions.layersWindow.refreshLayers();
"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?d||(1==MathJax.Hub.queue.pending&&!this.editor.graph.mathEnabled&&MathJax.Hub.Queue(mxUtils.bind(this,function(){this.editor.graph.refresh()})),MathJax.Hub.Queue(mxUtils.bind(this,function(){d=!0}))):"undefined"!==typeof Editor.MathJaxClear&&!this.editor.graph.mathEnabled&&(d=!0,Editor.MathJaxClear())}));this.editor.addListener("pageMoved",mxUtils.bind(this,function(a,b){this.updateTabContainer()}));this.editor.addListener("pageRenamed",
mxUtils.bind(this,function(a,b){this.updateTabContainer()}))};
Graph.prototype.createViewState=function(b){var c=b.getAttribute("page"),f=b.getAttribute("pageScale"),d=b.getAttribute("pageWidth"),a=b.getAttribute("pageHeight"),e=b.getAttribute("background"),g=b.getAttribute("backgroundImage"),g=null!=g&&0<g.length?JSON.parse(g):null;return{gridEnabled:"0"!=b.getAttribute("grid"),gridSize:parseFloat(b.getAttribute("gridSize"))||mxGraph.prototype.gridSize,guidesEnabled:"0"!=b.getAttribute("guides"),foldingEnabled:"0"!=b.getAttribute("fold"),shadowVisible:"1"==
b.getAttribute("shadow"),pageVisible:this.lightbox?!1:null!=c?"0"!=c:this.defaultPageVisible,background:null!=e&&0<e.length?e:this.defaultGraphBackground,backgroundImage:null!=g?new mxImage(g.src,g.width,g.height):null,pageScale:null!=f?f:mxGraph.prototype.pageScale,pageFormat:null!=d&&null!=a?new mxRectangle(0,0,parseFloat(d),parseFloat(a)):this.pageFormat,tooltips:"0"!=b.getAttribute("tooltips"),connect:"0"!=b.getAttribute("connect"),mathEnabled:"0"!=b.getAttribute("math"),selectionCells:null,defaultParent:null,
scrollbars:this.defaultScrollbars,scale:1}};
Graph.prototype.getViewState=function(){return{defaultParent:this.defaultParent,currentRoot:this.view.currentRoot,gridEnabled:this.gridEnabled,gridSize:this.gridSize,guidesEnabled:this.graphHandler.guidesEnabled,foldingEnabled:this.foldingEnabled,shadowVisible:this.shadowVisible,scrollbars:this.scrollbars,pageVisible:this.pageVisible,background:this.background,backgroundImage:this.backgroundImage,pageScale:this.pageScale,pageFormat:this.pageFormat,tooltips:this.tooltipHandler.isEnabled()?"1":"0",
connect:this.connectionHandler.isEnabled()?"1":"0",scale:this.view.scale,scrollLeft:this.container.scrollLeft,scrollTop:this.container.scrollTop,translate:this.view.translate.clone(),lastPasteXml:this.lastPasteXml,pasteCounter:this.pasteCounter,mathEnabled:this.mathEnabled}};
Graph.prototype.setViewState=function(b){null!=b?(this.lastPasteXml=b.lastPasteXml,this.pasteCounter=b.pasteCounter||0,this.mathEnabled=b.mathEnabled,this.gridEnabled=b.gridEnabled,this.gridSize=b.gridSize,this.graphHandler.guidesEnabled=b.guidesEnabled,this.foldingEnabled=b.foldingEnabled,this.setShadowVisible(b.shadowVisible,!1),this.scrollbars=b.scrollbars,this.pageVisible=b.pageVisible,this.background=b.background,this.backgroundImage=b.backgroundImage,this.pageScale=b.pageScale,this.pageFormat=
b.pageFormat,this.view.scale=b.scale,this.view.currentRoot=b.currentRoot,this.defaultParent=b.defaultParent,this.setTooltips(b.tooltips),this.setConnectable(b.connect),null!=b.translate&&(this.view.translate=b.translate),this.preferPageSize=this.pageBreaksVisible=this.pageVisible):(this.lastPasteXml=this.view.currentRoot=null,this.pasteCounter=0,this.mathEnabled=!1)};
EditorUi.prototype.updatePageRoot=function(b){if(null==b.root){var c=this.editor.extractGraphModel(b.node);if(null!=c){b.graphModelNode=c;b.viewState=this.editor.graph.createViewState(c);var f=new mxCodec(c.ownerDocument);b.root=f.decode(c).root}else b.root=this.editor.graph.model.createRoot()}};
EditorUi.prototype.selectPage=function(b){this.editor.graph.stopEditing();b=new SelectPage(this,b);b.execute();var c=new mxUndoableEdit(this,!0);c.add(b);this.editor.graph.view.fireEvent(new mxEventObject(mxEvent.UNDO,"edit",c))};EditorUi.prototype.selectNextPage=function(b){var c=this.currentPage;null!=c&&null!=this.pages&&(c=mxUtils.indexOf(this.pages,c),b&&c<this.pages.length-1?this.selectPage(this.pages[c+1]):!b&&0<c&&this.selectPage(this.pages[c-1]))};
EditorUi.prototype.insertPage=function(b,c){if(this.editor.graph.isEnabled()){b=null!=b?b:this.createPage();c=null!=c?c:this.pages.length;var f=new ChangePage(this,b,b,c);this.editor.graph.model.execute(f)}return b};EditorUi.prototype.createPage=function(b){var c=new DiagramPage(this.fileNode.ownerDocument.createElement("diagram"));c.setName(null!=b?b:this.createPageName());return c};
EditorUi.prototype.createPageName=function(){for(var b={},c=0;c<this.pages.length;c++){var f=this.pages[c].getName();null!=f&&0<f.length&&(b[f]=f)}c=this.pages.length;do f=mxResources.get("pageWithNumber",[++c]);while(null!=b[f]);return f};
EditorUi.prototype.removePage=function(b){var c=this.editor.graph;if(c.isEnabled()){c.model.beginUpdate();try{var f=this.currentPage;if(f==b)if(1<this.pages.length){var d=mxUtils.indexOf(this.pages,b);d==this.pages.length-1?d--:d++;f=this.pages[d]}else f=this.insertPage(),c.model.execute(new RenamePage(this,f,mxResources.get("pageWithNumber",[1])));c.model.execute(new ChangePage(this,b,f))}finally{c.model.endUpdate()}}return b};
EditorUi.prototype.duplicatePage=function(b,c){var f=this.editor.graph,d=null;f.isEnabled()&&(d=new DiagramPage(b.node.cloneNode(!1)),d.root=f.cloneCells([f.model.root])[0],d.setName(c),d=this.insertPage(d,mxUtils.indexOf(this.pages,b)+1));return d};
EditorUi.prototype.renamePage=function(b){if(this.editor.graph.isEnabled()){var c=new FilenameDialog(this,b.getName(),mxResources.get("rename"),mxUtils.bind(this,function(c){null!=c&&0<c.length&&this.editor.graph.model.execute(new RenamePage(this,b,c))}),mxResources.get("rename"));this.showDialog(c.container,300,80,!0,!0);c.init()}return b};EditorUi.prototype.movePage=function(b,c){this.editor.graph.model.execute(new MovePage(this,b,c))};
EditorUi.prototype.createTabContainer=function(){var b=document.createElement("div");b.style.backgroundColor="#dcdcdc";b.style.position="absolute";b.style.whiteSpace="nowrap";b.style.overflow="hidden";b.style.height="0px";return b};
EditorUi.prototype.updateTabContainer=function(){if(null!=this.tabContainer&&null!=this.pages){var b=this.editor.graph,c=document.createElement("div");c.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";c.style.height=this.tabContainer.style.height;c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.style.fontSize="12px";c.style.marginLeft="30px";for(var f=this.editor.chromeless?29:59,d=Math.min(140,Math.max(20,(this.tabContainer.clientWidth-f)/this.pages.length)+1),a=null,e=0;e<this.pages.length;e++)mxUtils.bind(this,
function(d,e){this.pages[d]==this.currentPage&&(e.style.backgroundColor="#eeeeee",e.style.fontWeight="bold",e.style.borderTopStyle="none");e.setAttribute("draggable","true");mxEvent.addListener(e,"dragstart",mxUtils.bind(this,function(c){b.isEnabled()?a=d:mxEvent.consume(c)}));mxEvent.addListener(e,"dragend",mxUtils.bind(this,function(b){a=null;b.stopPropagation();b.preventDefault()}));mxEvent.addListener(e,"dragover",mxUtils.bind(this,function(b){null!=a&&(b.dataTransfer.dropEffect="move");b.stopPropagation();
b.preventDefault()}));mxEvent.addListener(e,"drop",mxUtils.bind(this,function(b){null!=a&&d!=a&&this.movePage(a,d);b.stopPropagation();b.preventDefault()}));c.appendChild(e)})(e,this.createTabForPage(this.pages[e],d,this.pages[e]!=this.currentPage));this.tabContainer.innerHTML="";this.tabContainer.appendChild(c);d=this.createPageMenuTab();this.tabContainer.appendChild(d);d=null;b.isEnabled()&&(d=this.createPageInsertTab(),this.tabContainer.appendChild(d));if(c.clientWidth>this.tabContainer.clientWidth-
f){null!=d&&(d.style.position="absolute",d.style.right="0px",c.style.marginRight="30px");var g=this.createControlTab(4,"\x26nbsp;\x26#10094;\x26nbsp;");g.style.position="absolute";g.style.right=this.editor.chromeless?"29px":"55px";g.style.fontSize="13pt";this.tabContainer.appendChild(g);var k=this.createControlTab(4,"\x26nbsp;\x26#10095;");k.style.position="absolute";k.style.right=this.editor.chromeless?"0px":"29px";k.style.fontSize="13pt";this.tabContainer.appendChild(k);var l=Math.max(0,this.tabContainer.clientWidth-
(this.editor.chromeless?86:116));c.style.width=l+"px";mxEvent.addListener(g,"click",mxUtils.bind(this,function(a){c.scrollLeft-=Math.max(20,l-20);mxUtils.setOpacity(g,0<c.scrollLeft?100:50);mxUtils.setOpacity(k,c.scrollLeft<c.scrollWidth-c.clientWidth?100:50);mxEvent.consume(a)}));mxUtils.setOpacity(g,0<c.scrollLeft?100:50);mxUtils.setOpacity(k,c.scrollLeft<c.scrollWidth-c.clientWidth?100:50);mxEvent.addListener(k,"click",mxUtils.bind(this,function(a){c.scrollLeft+=Math.max(20,l-20);mxUtils.setOpacity(g,
0<c.scrollLeft?100:50);mxUtils.setOpacity(k,c.scrollLeft<c.scrollWidth-c.clientWidth?100:50);mxEvent.consume(a)}))}}};
EditorUi.prototype.createTab=function(b){var c=document.createElement("div");c.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";c.style.whiteSpace="nowrap";c.style.boxSizing="border-box";c.style.position="relative";c.style.overflow="hidden";c.style.marginLeft="-1px";c.style.height=this.tabContainer.clientHeight+"px";c.style.padding="8px";c.style.border="1px solid #c0c0c0";c.style.borderBottomStyle="solid";c.style.backgroundColor=this.tabContainer.style.backgroundColor;c.style.cursor="default";
c.style.color="gray";b&&(mxEvent.addListener(c,"mouseenter",mxUtils.bind(this,function(b){this.editor.graph.isMouseDown||(c.style.backgroundColor="#d3d3d3",mxEvent.consume(b))})),mxEvent.addListener(c,"mouseleave",mxUtils.bind(this,function(b){c.style.backgroundColor=this.tabContainer.style.backgroundColor;mxEvent.consume(b)})));return c};
EditorUi.prototype.createControlTab=function(b,c){var f=this.createTab(!0);f.style.paddingTop=b+"px";f.style.cursor="pointer";f.style.padding="4px";f.style.width="30px";f.innerHTML=c;null!=f.firstChild&&null!=f.firstChild.style&&mxUtils.setOpacity(f.firstChild,40);return f};
EditorUi.prototype.createPageMenuTab=function(){var b=this.createControlTab(3,'\x3cdiv class\x3d"geSprite geSprite-dots" style\x3d"display:inline-block;width:21px;height:21px;"\x3e\x3c/div\x3e');b.setAttribute("title",mxResources.get("pages"));b.style.position="absolute";b.style.left="1px";mxEvent.addListener(b,"click",mxUtils.bind(this,function(b){this.editor.graph.popupMenuHandler.hideMenu();var f=new mxPopupMenu(mxUtils.bind(this,function(a,b){for(var c=0;c<this.pages.length;c++)mxUtils.bind(this,
function(c){var d=a.addItem(this.pages[c].getName(),null,mxUtils.bind(this,function(){this.selectPage(this.pages[c])}),b);this.pages[c]==this.currentPage&&a.addCheckmark(d,Editor.checkmarkImage)})(c);this.editor.graph.isEnabled()&&(a.addSeparator(b),a.addItem(mxResources.get("insertPage"),null,mxUtils.bind(this,function(){this.insertPage()}),b))}));f.div.className+=" geMenubarMenu";f.smartSeparators=!0;f.showDisabled=!0;f.autoExpand=!0;f.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(f,
arguments);f.destroy()});var d=mxEvent.getClientX(b),a=mxEvent.getClientY(b);f.popup(d,a,null,b);this.setCurrentMenu(f);mxEvent.consume(b)}));return b};
EditorUi.prototype.createPageInsertTab=function(){var b=this.createControlTab(4,'\x3cdiv class\x3d"geSprite geSprite-plus" style\x3d"display:inline-block;width:21px;height:21px;"\x3e\x3c/div\x3e');b.setAttribute("title",mxResources.get("insertPage"));mxEvent.addListener(b,"click",mxUtils.bind(this,function(b){this.insertPage();mxEvent.consume(b)}));return b};
EditorUi.prototype.createTabForPage=function(b,c,f){f=this.createTab(f);var d=b.getName();f.setAttribute("title",d);mxUtils.write(f,d);f.style.maxWidth=c+"px";f.style.width=c+"px";this.addTabListeners(b,f);42<c&&(f.style.textOverflow="ellipsis");return f};
EditorUi.prototype.addTabListeners=function(b,c){mxEvent.disableContextMenu(c);var f=this.editor.graph;mxEvent.addListener(c,"dblclick",mxUtils.bind(this,function(a){this.renamePage(b);mxEvent.consume(a)}));var d=!1,a=!1;mxEvent.addGestureListeners(c,mxUtils.bind(this,function(c){d=null!=this.currentMenu;a=b==this.currentPage;!f.isMouseDown&&!a&&this.selectPage(b)}),null,mxUtils.bind(this,function(e){if(f.isEnabled()&&!f.isMouseDown&&(mxEvent.isTouchEvent(e)&&a||mxEvent.isPopupTrigger(e))){f.popupMenuHandler.hideMenu();
this.hideCurrentMenu();if(!mxEvent.isTouchEvent(e)||!d){var g=new mxPopupMenu(this.createPageMenu(b));g.div.className+=" geMenubarMenu";g.smartSeparators=!0;g.showDisabled=!0;g.autoExpand=!0;g.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(g,arguments);this.resetCurrentMenu();g.destroy()});var k=mxEvent.getClientX(e),l=mxEvent.getClientY(e);g.popup(k,l,null,e);this.setCurrentMenu(g,c)}mxEvent.consume(e)}}))};
EditorUi.prototype.createPageMenu=function(b,c){return mxUtils.bind(this,function(f,d){f.addItem(mxResources.get("insert"),null,mxUtils.bind(this,function(){this.insertPage(null,mxUtils.indexOf(this.pages,b)+1)}),d);f.addItem(mxResources.get("delete"),null,mxUtils.bind(this,function(){this.removePage(b)}),d);f.addItem(mxResources.get("rename"),null,mxUtils.bind(this,function(){this.renamePage(b,c)}),d);f.addSeparator(d);f.addItem(mxResources.get("duplicate"),null,mxUtils.bind(this,function(){this.duplicatePage(b,
mxResources.get("copyOf",[b.getName()]))}),d)})};Graph.prototype.defaultThemes[Graph.prototype.defaultThemeName]=mxUtils.parseXml('\x3cmxStylesheet\x3e\x3cadd as\x3d"defaultVertex"\x3e\x3cadd as\x3d"shape" value\x3d"label"/\x3e\x3cadd as\x3d"perimeter" value\x3d"rectanglePerimeter"/\x3e\x3cadd as\x3d"fontSize" value\x3d"12"/\x3e\x3cadd as\x3d"fontFamily" value\x3d"Helvetica"/\x3e\x3cadd as\x3d"align" value\x3d"center"/\x3e\x3cadd as\x3d"verticalAlign" value\x3d"middle"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#ffffff"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#000000"/\x3e\x3cadd as\x3d"fontColor" value\x3d"#000000"/\x3e\x3c/add\x3e\x3cadd as\x3d"defaultEdge"\x3e\x3cadd as\x3d"shape" value\x3d"connector"/\x3e\x3cadd as\x3d"labelBackgroundColor" value\x3d"#ffffff"/\x3e\x3cadd as\x3d"endArrow" value\x3d"classic"/\x3e\x3cadd as\x3d"fontSize" value\x3d"11"/\x3e\x3cadd as\x3d"fontFamily" value\x3d"Helvetica"/\x3e\x3cadd as\x3d"align" value\x3d"center"/\x3e\x3cadd as\x3d"verticalAlign" value\x3d"middle"/\x3e\x3cadd as\x3d"rounded" value\x3d"1"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#000000"/\x3e\x3cadd as\x3d"fontColor" value\x3d"#000000"/\x3e\x3c/add\x3e\x3cadd as\x3d"fancy"\x3e\x3cadd as\x3d"shadow" value\x3d"1"/\x3e\x3cadd as\x3d"glass" value\x3d"1"/\x3e\x3c/add\x3e\x3cadd as\x3d"gray" extend\x3d"fancy"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#B3B3B3"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#F5F5F5"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#666666"/\x3e\x3c/add\x3e\x3cadd as\x3d"blue" extend\x3d"fancy"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#7EA6E0"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#DAE8FC"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#6C8EBF"/\x3e\x3c/add\x3e\x3cadd as\x3d"green" extend\x3d"fancy"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#97D077"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#D5E8D4"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#82B366"/\x3e\x3c/add\x3e\x3cadd as\x3d"turquoise" extend\x3d"fancy"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#67AB9F"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#D5E8D4"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#6A9153"/\x3e\x3c/add\x3e\x3cadd as\x3d"yellow" extend\x3d"fancy"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#FFD966"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#FFF2CC"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#D6B656"/\x3e\x3c/add\x3e\x3cadd as\x3d"orange" extend\x3d"fancy"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#FFA500"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#FFCD28"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#D79B00"/\x3e\x3c/add\x3e\x3cadd as\x3d"red" extend\x3d"fancy"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#EA6B66"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#F8CECC"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#B85450"/\x3e\x3c/add\x3e\x3cadd as\x3d"pink" extend\x3d"fancy"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#B5739D"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#E6D0DE"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#996185"/\x3e\x3c/add\x3e\x3cadd as\x3d"purple" extend\x3d"fancy"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#8C6C9C"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#E1D5E7"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#9673A6"/\x3e\x3c/add\x3e\x3cadd as\x3d"plain-gray"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#B3B3B3"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#F5F5F5"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#666666"/\x3e\x3c/add\x3e\x3cadd as\x3d"plain-blue"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#7EA6E0"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#DAE8FC"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#6C8EBF"/\x3e\x3c/add\x3e\x3cadd as\x3d"plain-green"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#97D077"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#D5E8D4"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#82B366"/\x3e\x3c/add\x3e\x3cadd as\x3d"plain-turquoise"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#67AB9F"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#D5E8D4"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#6A9153"/\x3e\x3c/add\x3e\x3cadd as\x3d"plain-yellow"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#FFD966"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#FFF2CC"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#D6B656"/\x3e\x3c/add\x3e\x3cadd as\x3d"plain-orange"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#FFA500"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#FFCD28"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#D79B00"/\x3e\x3c/add\x3e\x3cadd as\x3d"plain-red"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#EA6B66"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#F8CECC"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#B85450"/\x3e\x3c/add\x3e\x3cadd as\x3d"plain-pink"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#B5739D"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#E6D0DE"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#996185"/\x3e\x3c/add\x3e\x3cadd as\x3d"plain-purple"\x3e\x3cadd as\x3d"gradientColor" value\x3d"#8C6C9C"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#E1D5E7"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"#9673A6"/\x3e\x3c/add\x3e\x3cadd as\x3d"text"\x3e\x3cadd as\x3d"fillColor" value\x3d"none"/\x3e\x3cadd as\x3d"gradientColor" value\x3d"none"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"none"/\x3e\x3cadd as\x3d"align" value\x3d"left"/\x3e\x3cadd as\x3d"verticalAlign" value\x3d"top"/\x3e\x3c/add\x3e\x3cadd as\x3d"label"\x3e\x3cadd as\x3d"fontStyle" value\x3d"1"/\x3e\x3cadd as\x3d"align" value\x3d"left"/\x3e\x3cadd as\x3d"verticalAlign" value\x3d"middle"/\x3e\x3cadd as\x3d"spacing" value\x3d"2"/\x3e\x3cadd as\x3d"spacingLeft" value\x3d"52"/\x3e\x3cadd as\x3d"imageWidth" value\x3d"42"/\x3e\x3cadd as\x3d"imageHeight" value\x3d"42"/\x3e\x3cadd as\x3d"rounded" value\x3d"1"/\x3e\x3c/add\x3e\x3cadd as\x3d"icon" extend\x3d"label"\x3e\x3cadd as\x3d"align" value\x3d"center"/\x3e\x3cadd as\x3d"imageAlign" value\x3d"center"/\x3e\x3cadd as\x3d"verticalLabelPosition" value\x3d"bottom"/\x3e\x3cadd as\x3d"verticalAlign" value\x3d"top"/\x3e\x3cadd as\x3d"spacingTop" value\x3d"4"/\x3e\x3cadd as\x3d"labelBackgroundColor" value\x3d"#ffffff"/\x3e\x3cadd as\x3d"spacing" value\x3d"0"/\x3e\x3cadd as\x3d"spacingLeft" value\x3d"0"/\x3e\x3cadd as\x3d"spacingTop" value\x3d"6"/\x3e\x3cadd as\x3d"fontStyle" value\x3d"0"/\x3e\x3cadd as\x3d"imageWidth" value\x3d"48"/\x3e\x3cadd as\x3d"imageHeight" value\x3d"48"/\x3e\x3c/add\x3e\x3cadd as\x3d"swimlane"\x3e\x3cadd as\x3d"shape" value\x3d"swimlane"/\x3e\x3cadd as\x3d"fontSize" value\x3d"12"/\x3e\x3cadd as\x3d"fontStyle" value\x3d"1"/\x3e\x3cadd as\x3d"startSize" value\x3d"23"/\x3e\x3c/add\x3e\x3cadd as\x3d"group"\x3e\x3cadd as\x3d"verticalAlign" value\x3d"top"/\x3e\x3cadd as\x3d"fillColor" value\x3d"none"/\x3e\x3cadd as\x3d"strokeColor" value\x3d"none"/\x3e\x3cadd as\x3d"gradientColor" value\x3d"none"/\x3e\x3cadd as\x3d"pointerEvents" value\x3d"0"/\x3e\x3c/add\x3e\x3cadd as\x3d"ellipse"\x3e\x3cadd as\x3d"shape" value\x3d"ellipse"/\x3e\x3cadd as\x3d"perimeter" value\x3d"ellipsePerimeter"/\x3e\x3c/add\x3e\x3cadd as\x3d"rhombus"\x3e\x3cadd as\x3d"shape" value\x3d"rhombus"/\x3e\x3cadd as\x3d"perimeter" value\x3d"rhombusPerimeter"/\x3e\x3c/add\x3e\x3cadd as\x3d"triangle"\x3e\x3cadd as\x3d"shape" value\x3d"triangle"/\x3e\x3cadd as\x3d"perimeter" value\x3d"trianglePerimeter"/\x3e\x3c/add\x3e\x3cadd as\x3d"line"\x3e\x3cadd as\x3d"shape" value\x3d"line"/\x3e\x3cadd as\x3d"strokeWidth" value\x3d"4"/\x3e\x3cadd as\x3d"labelBackgroundColor" value\x3d"#ffffff"/\x3e\x3cadd as\x3d"verticalAlign" value\x3d"top"/\x3e\x3cadd as\x3d"spacingTop" value\x3d"8"/\x3e\x3c/add\x3e\x3cadd as\x3d"image"\x3e\x3cadd as\x3d"shape" value\x3d"image"/\x3e\x3cadd as\x3d"labelBackgroundColor" value\x3d"white"/\x3e\x3cadd as\x3d"verticalAlign" value\x3d"top"/\x3e\x3cadd as\x3d"verticalLabelPosition" value\x3d"bottom"/\x3e\x3c/add\x3e\x3cadd as\x3d"roundImage" extend\x3d"image"\x3e\x3cadd as\x3d"perimeter" value\x3d"ellipsePerimeter"/\x3e\x3c/add\x3e\x3cadd as\x3d"rhombusImage" extend\x3d"image"\x3e\x3cadd as\x3d"perimeter" value\x3d"rhombusPerimeter"/\x3e\x3c/add\x3e\x3cadd as\x3d"arrow"\x3e\x3cadd as\x3d"shape" value\x3d"arrow"/\x3e\x3cadd as\x3d"edgeStyle" value\x3d"none"/\x3e\x3cadd as\x3d"fillColor" value\x3d"#ffffff"/\x3e\x3c/add\x3e\x3c/mxStylesheet\x3e').documentElement;function DrawioViewer(b,c,f,d,a,e,g){this.id=c;this.diagramName=b;this.ceoId=f;this.options=d;this.lightbox=a;this.graphDocument=e;this.paddingBottom=(this.connect=g)?0:30;b=null;!g&&null!=d.language?b=d.language:null!=g&&null!=urlParams.loc&&(b=urlParams.loc,d=b.indexOf("-"),0<=d&&(b=b.substring(0,d)));"de"==b&&(mxClient.language="de");d=mxResources.extension;g=mxResources.isLanguageSupported;mxResources.extension=".txt";mxResources.isLanguageSupported=function(a){return"de"==a};mxResources.add(this.options.resourcePath);
mxResources.extension=d;mxResources.isLanguageSupported=g;this.buttons=this.createButtons();this.transparentImage=Editor.prototype.transparentImage;this.extractGraphModel=Editor.prototype.extractGraphModel;this.setGraphXml=Editor.prototype.setGraphXml;this.readGraphState=Editor.prototype.readGraphState;this.resetGraph=Editor.prototype.resetGraph;this.decompress=Editor.prototype.decompress;this.updateGraphComponents=Editor.prototype.updateGraphComponents;this.fireEvent=Editor.prototype.fireEvent;this.addListener=
Editor.prototype.addListener;this.originalNoForeignObject=Editor.prototype.originalNoForeignObject;this.gridImage="";this.addListener("resetGraphView",this.resetGraphView)}DrawioViewer.prototype=new mxEventSource;DrawioViewer.prototype.graph;DrawioViewer.prototype.id;DrawioViewer.prototype.toolbar;DrawioViewer.prototype.options;DrawioViewer.prototype.originX=0;DrawioViewer.prototype.originY=0;DrawioViewer.prototype.popupWindow;DrawioViewer.prototype.buttons={};
DrawioViewer.prototype.graphXmlString=null;
DrawioViewer.prototype.installToolbar=function(){var b=this.toolbar=document.createElement("div"),c=this.graph.container;b.id="diagramly-reader-toolbar-"+this.id;b.className="diagramly-reader-toolbar";b.style.position="absolute";c.parentNode.appendChild(b);b.style.height="30px";b.style.width=29*this.countVisibleButtons()+"px";c.parentNode.style.overflow="visible";if(this.lightbox)b.style.bottom="4px",b.style.left="50%",b.style.width=29*this.countVisibleButtons()+"px",b.style.marginLeft=-Math.round(29*
this.countVisibleButtons()/2)+"px";else{c.parentNode.style.paddingBottom=this.paddingBottom+"px";var f=this.graph.getBorderSizes();b.style.bottom=c.offsetTop+f.y+4+"px";b.style.left=c.offsetLeft+f.x+"px";mxClient.IS_TOUCH||(b.style.display="none",$(c.parentNode).hover(function(){b.style.bottom=c.offsetTop+f.y+4+"px";b.style.left=c.offsetLeft+f.x+"px";$(b).fadeIn(100)},function(){$(b).fadeOut(100)}))}};
DrawioViewer.prototype.countVisibleButtons=function(){var b=0,c;for(c in this.buttons)this.buttons[c].visible&&b++;return b};
DrawioViewer.prototype.init=function(){this.loadStylesheet();mxConstants.SHADOWCOLOR="#000000";mxConstants.SHADOW_OPACITY=0.25;this.graph.setEnabled(!1);this.graph.autoScroll=!1;this.graph.container.style.overflow="hidden";this.graph.container.style.cursor="move";this.graph.setPanning(!0);this.graph.panningHandler.useLeftButtonForPanning=!0;this.graph.panningHandler.usePopupTrigger=!1;this.graph.panningHandler.ignoreCell=!0;this.graph.panningHandler.isForcePanningEvent=function(b){return mxEvent.isLeftMouseButton(b.getEvent())};
this.graph.foldingEnabled=this.lightbox;this.graph.foldingEnabled?this.graph.cellRenderer.createControlClickHandler=function(b){var f=b.view.graph;return function(d){var a=!f.isCellCollapsed(b.cell);f.foldCells(a,!1,[b.cell],null,d);mxEvent.consume(d)}}:this.graph.getFoldingImage=function(){return null};this.graph.cellRenderer.getLabelValue=function(b){var f=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);b.view.graph.isHtmlLabel(b.cell)&&(f=1!=b.style.html?mxUtils.htmlEntities(f,!1):
b.view.graph.sanitizeHtml(f));return f};this.graph.click=function(b){var f=b.getCell();if(null!=f&&!b.isConsumed()&&(mxEvent.isTouchEvent(b.getEvent())||mxEvent.isLeftMouseButton(b.getEvent()))){f=this.getLinkForCell(f);if(null!=f)if(/^(?:[a-z]+:)?\/\//i.test(f)){var d=document.createElement("a");d.href=f;d.href=d.href;d.host===location.host?window.location.href=f:window.open(f)}else 0!==f.lastIndexOf("/",0)&&(f="/"+f),window.location.href=f;b.consume()}};this.graph.setTooltips(!mxClient.IS_TOUCH);
null!=this.options.width&&(this.graph.container.style.width=this.options.width+"px");null!=this.options.height&&(this.graph.container.style.height=this.options.height+"px");var b=this.graph;b.updateZoomTimeout=null;b.cumulativeZoomFactor=1;b.lazyZoom=function(b){null!=this.updateZoomTimeout&&window.clearTimeout(this.updateZoomTimeout);this.cumulativeZoomFactor=b?this.cumulativeZoomFactor*this.zoomFactor:this.cumulativeZoomFactor/this.zoomFactor;this.cumulativeZoomFactor=Math.round(100*this.view.scale*
this.cumulativeZoomFactor)/100/this.view.scale;this.updateZoomTimeout=window.setTimeout(mxUtils.bind(this,function(){this.zoom(this.cumulativeZoomFactor);this.cumulativeZoomFactor=1;this.updateZoomTimeout=null}),20)};this.lightbox&&mxEvent.addMouseWheelListener(mxUtils.bind(this,function(c,f){if(!mxClient.IS_MAC||!mxEvent.isControlDown(c))for(var d=mxEvent.getSource(c);null!=d;){if(d==b.container){b.lazyZoom(f);mxEvent.consume(c);break}d=d.parentNode}}))};
DrawioViewer.prototype.resetGraphView=function(){this.graph.pageBreaksVisible=!1;this.graph.preferPageSize=!1;this.graph.pageVisible=!1;if(this.lightbox)this.graph.container.style.backgroundColor=null==this.graph.background||"none"==this.graph.background?"#ffffff":this.graph.background;else{var b=mxUtils.bind(this,function(){this.graph.centerZoom=this.graph.panningHandler.panningEnabled;var a=null==this.options.width,b=null==this.options.height,c=this.graph.getGraphBounds(),d=c.width/c.height,c=a?
c.width+2:this.options.width,d=b?c/d+1:this.options.height;this.graph.container.style.width=Math.ceil(c)+"px";this.graph.container.style.height=Math.ceil(d)+"px";this.graph.container.style.maxWidth="100%";a&&b?(this.translateOrigin(),this.initialX=this.graph.view.translate.x,this.initialY=this.graph.view.translate.y):this.options.zoomToFit&&this.graph.fit();this.graph.container.style.border=this.options.border?"1px solid #DDDDDD":"none";this.graph.container.style.backgroundColor=null==this.graph.background||
"none"==this.graph.background?"#ffffff":this.graph.background});if(!this.connect&&(0==this.graph.container.clientWidth||0==this.graph.container.clientHeight)){var c=this.graph.container.parentNode,f=this.graph.container.nextSibling,d=this.graph.container.style.position,a=this.graph.container.style.visible;this.graph.container.style.position="absolute";this.graph.container.style.visible="hidden";document.body.appendChild(this.graph.container);this.graph.refresh();b();null!=f?f.parentNode.insertBefore(this.graph.container,
f):c.appendChild(this.graph.container);this.graph.container.style.visible=a;this.graph.container.style.position=d}else b()}};DrawioViewer.prototype.translateOrigin=function(){var b=this.graph.getGraphBounds();this.graph.view.setTranslate(this.originX-Math.floor(b.x),this.originY-Math.floor(b.y))};
DrawioViewer.prototype.loadGraph=function(b,c){var f=this.createSpinner(this.graph.container);try{mxUtils.get(this.options.loadUrl,mxUtils.bind(this,function(a){f.stop();if(200>a.getStatus()||299<a.getStatus())this.showWarning(mxResources.get("error")+" "+a.getStatus()),this.graph.container.style.border=this.options.border?"1px solid #DDDDDD":"none",this.graph.container.style.backgroundColor="#ffffff",this.graph.container.style.height="20px";else{a=JSON.parse(a.getText());this.graphXmlString=a.xml;
var b=mxUtils.parseXml(a.xml);this.xmlDoc=b;this.filename=a.filename;this.setGraphXml(b.documentElement);this.graphDocument=b}}),function(){f.stop()})}catch(d){f.stop()}};DrawioViewer.prototype.loadStylesheet=function(){var b=mxUtils.load(this.options.stylePath+"/default.xml").getDocumentElement();(new mxCodec(b.ownerDocument)).decode(b,this.graph.getStylesheet())};
DrawioViewer.prototype.renderButtons=function(){for(var b in this.buttons){var c=this.buttons[b];c.visible&&this.addToolbarButton(this.toolbar,c)}};
DrawioViewer.prototype.addToolbarButton=function(b,c){var f=c.linkButton?document.createElement("a"):document.createElement("div");f.className="diagramly-reader-toolbar-button";if(null!=c.icon){var d=document.createElement("img");d.setAttribute("src",c.icon);d.style.verticalAlign="middle";d.style.marginRight="2px";f.appendChild(d);f.title=c.label}c.enabled?(c.linkButton?f.href=c.url:mxEvent.addListener(f,"click",function(a){c.clickHandler.apply(this,arguments)}),mxEvent.addListener(f,"mouseover",
function(a){f.className+=" diagramly-reader-toolbar-button-hover"}),mxEvent.addListener(f,"mouseout",function(a){f.className="diagramly-reader-toolbar-button"})):f.style.opacity=0.2;b.appendChild(f);return f};DrawioViewer.prototype.createSpinner=function(b){return(new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"#000",speed:1,trail:60,shadow:!1,hwaccel:!1,className:"spinner",zIndex:2E9})).spin(b)};
DrawioViewer.prototype.show=function(b){this.graph=new Graph(b);this.graph.id=this.id;this.init();null!=this.graphDocument?this.setGraphXml(this.graphDocument.documentElement):this.loadGraph(this.diagramName,this.ceoId);this.options.viewerToolbar&&(this.installToolbar(),this.renderButtons());"NO_LICENSE"==this.options.licenseStatus?this.showWarning(mxResources.get("drawio.reader.noLicense")):"EVAL_LICENSE"==this.options.licenseStatus?this.showWarning(mxResources.get("drawio.reader.evaluation")):"EVAL_EXPIRED"==
this.options.licenseStatus?this.showWarning(mxResources.get("drawio.reader.evaluationExpired")):"VERSION_MISMATCH"==this.options.licenseStatus?this.showWarning(mxResources.get("drawio.reader.versionMismatch",["https://support.draw.io/pages/viewpage.action?pageId\x3d11829320"])):"USER_MISMATCH"==this.options.licenseStatus&&this.showWarning(mxResources.get("drawio.reader.userMismatch",["https://support.draw.io/pages/viewpage.action?pageId\x3d11829323"]))};
DrawioViewer.prototype.showWarning=function(b){var c=document.createElement("div");c.style.position="absolute";c.style.overflow="hidden";c.style.left="0px";c.style.top="0px";c.style.right="0px";c.style.fontSize="12px";c.style.margin="2px";mxUtils.setOpacity(c,50);c.style.color="gray";c.style.textAlign="center";c.style.whiteSpace="nowrap";span=document.createElement("span");span.innerHTML=b;c.appendChild(span);this.graph.container.parentNode.appendChild(c)};DrawioViewer.prototype.showLightbox=function(){console.log("Lightbox feature not implemented.")};
DrawioViewer.prototype.createButtons=function(){var b=this,c={},f="undefined"===typeof this.options.disableButtons?!0:!this.options.disableButtons,d=this.options.userCanEdit&&f,a=this.options.userCanRemove&&f,e=null==this.options.width,g=null==this.options.height;c[DrawioViewerActions.EDIT]=new DrawioViewerButton({label:mxResources.get("diagramly.reader.edit"),icon:b.options.imagePath+"/edit.png",url:b.options.editUrl,enabled:d,linkButton:!0});c[DrawioViewerActions.REMOVE]=new DrawioViewerButton({label:mxResources.get("diagramly.reader.remove"),
icon:b.options.imagePath+"/remove.png",clickHandler:function(){confirm(mxResources.get("diagramly.reader.confirmDelete"))&&(window.location.href=b.options.removeUrl)},enabled:a});c[DrawioViewerActions.ACTUAL_SIZE]=new DrawioViewerButton({label:mxResources.get("diagramly.reader.zoomActual"),icon:b.options.imagePath+"/zoomActual.png",clickHandler:function(){b.graph.zoomActual();b.translateOrigin()},enabled:f});c[DrawioViewerActions.ZOOM_TO_FIT]=new DrawioViewerButton({label:this.lightbox?mxResources.get("diagramly.reader.zoomActual"):
mxResources.get("diagramly.reader.fit"),icon:this.lightbox?b.options.imagePath+"/zoomActual.png":b.options.imagePath+"/zoomFit.gif",clickHandler:mxUtils.bind(this,function(){this.lightbox?(b.graph.fit(8),b.graph.center(!0,!0,null,0.42)):e&&g?this.graph.view.scaleAndTranslate(1,this.initialX,this.initialY):this.graph.fit()}),enabled:f});c[DrawioViewerActions.ZOOM_OUT]=new DrawioViewerButton({label:mxResources.get("diagramly.reader.zoomOut"),icon:b.options.imagePath+"/zoomOut.gif",clickHandler:function(){b.graph.zoomOut()},
enabled:f});c[DrawioViewerActions.ZOOM_IN]=new DrawioViewerButton({label:mxResources.get("diagramly.reader.zoomIn"),icon:b.options.imagePath+"/zoomIn.gif",clickHandler:function(){b.graph.zoomIn()},enabled:f});c[DrawioViewerActions.EXPAND]=new DrawioViewerButton({label:mxResources.get("diagramly.reader.fullScreen"),icon:b.options.imagePath+"/largeView.png",clickHandler:mxUtils.bind(this,function(){this.showLightbox()}),enabled:f});c[DrawioViewerActions.CLOSE]=new DrawioViewerButton({label:mxResources.get("diagramly.reader.closeFullScreen"),
icon:b.options.imagePath+"/closeLargeView.gif",clickHandler:function(){b.popupWindow.remove()},enabled:f,visible:!1});return c};DrawioViewerActions={EDIT:"edit",REMOVE:"remove",ACTUAL_SIZE:"actualSize",ZOOM_TO_FIT:"zoomToFit",ZOOM_OUT:"zoomOut",ZOOM_IN:"zoomIn",EXPAND:"expand",CLOSE:"close"};
function DrawioViewerButton(b){this.label=b.label;this.clickHandler=b.clickHandler;this.enabled="undefined"!=typeof b.enabled?b.enabled:!0;this.icon=b.icon;this.visible="undefined"!=typeof b.visible?b.visible:!0;this.linkButton="undefined"!=typeof b.linkButton?b.linkButton:!1;this.url=b.url}DrawioViewerButton.prototype.label=null;DrawioViewerButton.prototype.clickHandler=null;DrawioViewerButton.prototype.enabled=!0;DrawioViewerButton.prototype.icon=null;DrawioViewerButton.prototype.visible=!0;
DrawioViewerButton.prototype.linkButton=!1;DrawioViewerButton.prototype.url=null;