Built motion from commit a5685af.|0.0.128
[motion.git] / public / assets / plugins / square / js / Sidebar.js
index 3c4f47e..ead2281 100644 (file)
@@ -1,903 +1 @@
-'use strict';
-
-/**
- * Construcs a new sidebar for the given editor.
- */
-function Sidebar(editorUi, container) {
-       this.editorUi = editorUi;
-       this.container = container;
-       this.palettes = new Object();
-       this.showTooltips = true;
-       this.graph = new Graph(document.createElement('div'), null, null, this.editorUi
-               .editor.graph.getStylesheet());
-       this.graph.resetViewOnRootChange = false;
-       this.graph.foldingEnabled = false;
-       this.graph.setConnectable(false);
-       this.graph.autoScroll = false;
-       this.graph.setTooltips(false);
-       this.graph.setEnabled(false);
-
-       // Container must be in the DOM for correct HTML rendering
-       this.graph.container.style.visibility = 'hidden';
-       this.graph.container.style.position = 'absolute';
-       document.body.appendChild(this.graph.container);
-
-       if (!mxClient.IS_TOUCH) {
-               mxEvent.addListener(document, 'mouseup', mxUtils.bind(this, function() {
-                       this.showTooltips = true;
-               }));
-
-               // Enables tooltips after scroll
-               mxEvent.addListener(container, 'scroll', mxUtils.bind(this, function() {
-                       this.showTooltips = true;
-               }));
-
-               mxEvent.addListener(document, 'mousedown', mxUtils.bind(this, function() {
-                       this.showTooltips = false;
-                       this.hideTooltip();
-               }));
-
-               mxEvent.addListener(document, 'mousemove', mxUtils.bind(this, function(evt) {
-                       var src = mxEvent.getSource(evt);
-
-                       while (src != null) {
-                               if (src == this.currentElt) {
-                                       return;
-                               }
-
-                               src = src.parentNode;
-                       }
-
-                       this.hideTooltip();
-               }));
-
-               // Handles mouse leaving the window
-               mxEvent.addListener(document, 'mouseout', mxUtils.bind(this, function(evt) {
-                       if (evt.toElement == null && evt.relatedTarget == null) {
-                               this.hideTooltip();
-                       }
-               }));
-       }
-
-       this.init();
-
-       // Pre-fetches tooltip image
-       new Image().src = IMAGE_PATH + '/tooltip.png';
-};
-
-/**
- * Adds all palettes to the sidebar.
- */
-Sidebar.prototype.init = function() {
-       var dir = STENCIL_PATH;
-       console.log(dir);
-
-       this.addImagePalette('entry', mxResources.get('entry'), dir + '/entry/',
-               '_128x128.png', ['start', 'finally', 'end'], [mxResources.get('start'),
-                       mxResources.get('finally'), mxResources.get('end')
-               ]);
-       this.addImagePalette('call_management', mxResources.get('call_management'),
-               dir + '/call_management/', '_128x128.png', ['answer', 'hangup', 'dial',
-                       'ext_dial', 'queue', 'voicemail'
-                       // , 'callback'
-               ], [mxResources.get('answer'), mxResources.get('hangup'), mxResources.get(
-                               'dial'), mxResources.get('ext_dial'), mxResources.get('queue'),
-                       mxResources.get('voicemail')
-                       // , mxResources.get('callback')
-               ]);
-       this.addImagePalette('variable', mxResources.get('variable'), dir +
-               '/variable/', '_128x128.png', ['set', 'math'], [mxResources.get('set'),
-                       mxResources.get('math')
-               ]);
-       this.addImagePalette('playback', mxResources.get('playback'), dir +
-               '/playback/', '_128x128.png', ['playback', 'menu',
-                       'saydigits', 'saynumber', 'sayphonetic', 'tts', 'ispeechtts', 'getdigits'
-               ], [mxResources.get('playback'), mxResources
-                       .get('menu'), mxResources.get('saydigits'), mxResources.get('saynumber'),
-                       mxResources.get('sayphonetic'), mxResources.get('tts'), mxResources.get('ispeechtts'), mxResources.get('getdigits')
-               ]);
-       this.addImagePalette('recording', mxResources.get('recording'), dir +
-               '/recording/', '_128x128.png', ['record'], [mxResources.get('record')]);
-       this.addImagePalette('integrationServer', mxResources.get('integrationServer'),
-               dir + '/integration_server/', '_128x128.png', ['database', 'ispeechasr'], [
-                       mxResources.get('database'), mxResources.get('ispeechasr')
-               ]);
-       this.addImagePalette('callflow', mxResources.get('callflow'), dir +
-               '/callflow/', '_128x128.png', ['gotoc', 'gotoif', 'gotoiftime', 'vswitch'], [
-                       mxResources.get('gotoc'), mxResources.get('gotoif'), mxResources.get(
-                               'gotoiftime'), mxResources.get('vswitch')
-               ]);
-       this.addImagePalette('stats', mxResources.get('stats'), dir + '/stats/',
-               '_128x128.png', [
-                       // 'queuelog', 'goal'
-               ], [
-                       // mxResources.get('queuelog'),
-                       // mxResources.get('goal')
-               ]);
-       this.addImagePalette('general', mxResources.get('general'), dir + '/general/',
-               '_128x128.png', ['noop', 'system', 'agi', 'subproject','custom_app'], [mxResources.get(
-                       'noop'), mxResources.get('system'), mxResources.get('agi'), mxResources.get(
-                       'subproject'),mxResources.get(
-                       'custom_app')]);
-
-};
-
-/**
- * Specifies if tooltips should be visible. Default is true.
- */
-Sidebar.prototype.enableTooltips = !mxClient.IS_TOUCH;
-
-/**
- * Specifies the delay for the tooltip. Default is 16 px.
- */
-Sidebar.prototype.tooltipBorder = 16;
-
-/**
- * Specifies the delay for the tooltip. Default is 3 px.
- */
-Sidebar.prototype.thumbBorder = 3;
-
-/**
- * Specifies the delay for the tooltip. Default is 300 ms.
- */
-Sidebar.prototype.tooltipDelay = 300;
-
-/**
- * Specifies if edges should be used as templates if clicked. Default is true.
- */
-Sidebar.prototype.installEdges = true;
-
-/**
- * Specifies the URL of the gear image.
- */
-Sidebar.prototype.gearImage = STENCIL_PATH + '/clipart/Gear_128x128.png';
-
-/**
- * Specifies the width of the thumbnails.
- */
-Sidebar.prototype.thumbWidth = 34;
-
-/**
- * Specifies the height of the thumbnails.
- */
-Sidebar.prototype.thumbHeight = 34;
-
-/**
- * Specifies the padding for the thumbnails. Default is 3.
- */
-Sidebar.prototype.thumbPadding = 2;
-
-/**
- * Specifies the size of the sidebar titles.
- */
-Sidebar.prototype.sidebarTitleSize = 9;
-
-/**
- * Specifies if titles in the sidebar should be enabled.
- */
-Sidebar.prototype.sidebarTitles = false;
-
-/**
- * Specifies if titles in the tooltips should be enabled.
- */
-Sidebar.prototype.tooltipTitles = false;
-
-/**
- * Adds all palettes to the sidebar.
- */
-Sidebar.prototype.showTooltip = function(elt, cells, title, showLabel) {
-       if (this.enableTooltips && this.showTooltips) {
-               if (this.currentElt != elt) {
-                       if (this.thread != null) {
-                               window.clearTimeout(this.thread);
-                               this.thread = null;
-                       }
-
-                       var show = mxUtils.bind(this, function() {
-                               // Lazy creation of the DOM nodes and graph instance
-                               if (this.tooltip == null) {
-                                       this.tooltip = document.createElement('div');
-                                       this.tooltip.className = 'geSidebarTooltip';
-                                       document.body.appendChild(this.tooltip);
-
-                                       this.graph2 = new Graph(this.tooltip, null, null, this.editorUi.editor.graph
-                                               .getStylesheet());
-                                       this.graph2.view.setTranslate(this.tooltipBorder, this.tooltipBorder);
-                                       this.graph2.resetViewOnRootChange = false;
-                                       this.graph2.foldingEnabled = false;
-                                       this.graph2.autoScroll = false;
-                                       this.graph2.setTooltips(false);
-                                       this.graph2.setConnectable(false);
-                                       this.graph2.setEnabled(false);
-
-                                       if (!mxClient.IS_SVG) {
-                                               this.graph2.view.canvas.style.position = 'relative';
-                                       }
-
-                                       this.tooltipImage = mxUtils.createImage(IMAGE_PATH + '/tooltip.png');
-                                       this.tooltipImage.style.position = 'absolute';
-                                       this.tooltipImage.style.width = '14px';
-                                       this.tooltipImage.style.height = '27px';
-
-                                       document.body.appendChild(this.tooltipImage);
-                               }
-
-                               this.tooltip.style.display = 'block';
-                               this.graph2.labelsVisible = (showLabel == null || showLabel);
-                               this.graph2.model.clear();
-                               this.graph2.addCells(cells);
-
-                               var bounds = this.graph2.getGraphBounds();
-                               var width = bounds.width + 2 * this.tooltipBorder;
-                               var height = bounds.height + 2 * this.tooltipBorder;
-
-                               if (mxClient.IS_QUIRKS) {
-                                       width += 4;
-                                       height += 4;
-                                       this.tooltip.style.overflow = 'hidden';
-                               } else {
-                                       this.tooltip.style.overflow = 'visible';
-                               }
-
-                               this.tooltipImage.style.visibility = 'visible';
-                               this.tooltip.style.width = width + 'px';
-
-                               // Adds title for entry
-                               if (this.tooltipTitles && title != null && title.length > 0) {
-                                       if (this.tooltipTitle == null) {
-                                               this.tooltipTitle = document.createElement('div');
-                                               this.tooltipTitle.style.borderTop = '1px solid gray';
-                                               this.tooltipTitle.style.textAlign = 'center';
-                                               this.tooltipTitle.style.width = '100%';
-
-                                               // Oversize titles are cut-off currently. Should make tooltip wider later.
-                                               this.tooltipTitle.style.overflow = 'hidden';
-
-                                               if (mxClient.IS_SVG) {
-                                                       this.tooltipTitle.style.paddingTop = '2px';
-                                               } else {
-                                                       this.tooltipTitle.style.position = 'absolute';
-                                                       this.tooltipTitle.style.paddingTop = '6px';
-                                               }
-
-                                               this.tooltip.appendChild(this.tooltipTitle);
-                                       } else {
-                                               this.tooltipTitle.innerHTML = '';
-                                       }
-
-                                       this.tooltipTitle.style.display = '';
-                                       mxUtils.write(this.tooltipTitle, title);
-
-                                       var dy = this.tooltipTitle.offsetHeight + 10;
-                                       height += dy;
-
-                                       if (mxClient.IS_SVG) {
-                                               this.tooltipTitle.style.marginTop = (-dy) + 'px';
-                                       } else {
-                                               height -= 6;
-                                               this.tooltipTitle.style.top = (height - dy) + 'px';
-                                       }
-                               } else if (this.tooltipTitle != null && this.tooltipTitle.parentNode !=
-                                       null) {
-                                       this.tooltipTitle.style.display = 'none';
-                               }
-
-                               this.tooltip.style.height = height + 'px';
-                               var x0 = -Math.min(0, bounds.x - this.tooltipBorder);
-                               var y0 = -Math.min(0, bounds.y - this.tooltipBorder);
-
-                               var left = this.container.clientWidth + this.editorUi.splitSize + 3;
-                               var top = Math.max(0, (this.container.offsetTop + elt.offsetTop - this.container
-                                       .scrollTop - height / 2 + 16));
-
-                               if (mxClient.IS_SVG) {
-                                       this.graph2.view.canvas.setAttribute('transform', 'translate(' + x0 +
-                                               ',' + y0 + ')');
-                               } else {
-                                       this.graph2.view.drawPane.style.left = x0 + 'px';
-                                       this.graph2.view.drawPane.style.top = y0 + 'px';
-                               }
-
-                               // Workaround for ignored position CSS style in IE9
-                               // (changes to relative without the following line)
-                               // Added width of the page-sidebar
-                               left += document.getElementById('page-sidebar').offsetWidth;
-                               // Added static height of the page-navbar
-                               top += 90;
-
-                               this.tooltip.style.position = 'absolute';
-                               this.tooltip.style.left = left + 'px';
-                               this.tooltip.style.top = top + 'px';
-                               this.tooltipImage.style.left = (left - 13) + 'px';
-                               this.tooltipImage.style.top = (top + height / 2 - 13) + 'px';
-                       });
-
-                       if (this.tooltip != null && this.tooltip.style.display != 'none') {
-                               show();
-                       } else {
-                               this.thread = window.setTimeout(show, this.tooltipDelay);
-                       }
-
-                       this.currentElt = elt;
-               }
-       }
-};
-
-/**
- * Hides the current tooltip.
- */
-Sidebar.prototype.hideTooltip = function() {
-       if (this.thread != null) {
-               window.clearTimeout(this.thread);
-               this.thread = null;
-       }
-
-       if (this.tooltip != null) {
-               this.tooltip.style.display = 'none';
-               this.tooltipImage.style.visibility = 'hidden';
-               this.currentElt = null;
-       }
-};
-
-/**
- * Creates and returns the given title element.
- */
-Sidebar.prototype.createTitle = function(label) {
-       var elt = document.createElement('a');
-       elt.setAttribute('href', 'javascript:void(0);');
-       elt.className = 'geTitle';
-       mxUtils.write(elt, label);
-
-       return elt;
-};
-
-/**
- * Creates a thumbnail for the given cells.
- */
-Sidebar.prototype.createThumb = function(cells, width, height, parent, title,
-       showLabel) {
-       this.graph.labelsVisible = (showLabel == null || showLabel);
-       this.graph.view.scaleAndTranslate(1, 0, 0);
-       this.graph.addCells(cells);
-       var bounds = this.graph.getGraphBounds();
-       var corr = this.thumbBorder;
-       var s = Math.min((width - 2) / (bounds.width - bounds.x + corr), (height - 2) /
-               (bounds.height - bounds.y + corr));
-       var x0 = -Math.min(bounds.x, 0);
-       var y0 = -Math.min(bounds.y, 0);
-       this.graph.view.scaleAndTranslate(s, x0, y0);
-
-       bounds = this.graph.getGraphBounds();
-       var dx = Math.max(0, Math.floor((width - bounds.width - bounds.x) / 2));
-       var dy = Math.max(0, Math.floor((height - bounds.height - bounds.y) / 2));
-
-       var node = null;
-
-       // For supporting HTML labels in IE9 standards mode the container is cloned instead
-       if (this.graph.dialect == mxConstants.DIALECT_SVG && !mxClient.NO_FO) {
-               node = this.graph.view.getCanvas().ownerSVGElement.cloneNode(true);
-       }
-       // LATER: Check if deep clone can be used for quirks if container in DOM
-       else {
-               node = this.graph.container.cloneNode(false);
-               node.innerHTML = this.graph.container.innerHTML;
-       }
-
-       this.graph.getModel().clear();
-
-       // Catch-all event handling
-       if (mxClient.IS_IE6) {
-               parent.style.backgroundImage = 'url(' + this.editorUi.editor.transparentImage +
-                       ')';
-       }
-
-       var dd = 3;
-       node.style.position = 'relative';
-       node.style.overflow = 'hidden';
-       node.style.cursor = 'pointer';
-       node.style.left = (dx + dd) + 'px';
-       node.style.top = (dy + dd) + 'px';
-       node.style.width = width + 'px';
-       node.style.height = height + 'px';
-       node.style.visibility = '';
-       node.style.minWidth = '';
-       node.style.minHeight = '';
-
-       parent.appendChild(node);
-
-       // Adds title for sidebar entries
-       if (this.sidebarTitles && title != null) {
-               var border = (mxClient.IS_QUIRKS) ? 2 * this.thumbPadding + 2 : 0;
-               parent.style.height = (this.thumbHeight + border + this.sidebarTitleSize + 8) +
-                       'px';
-
-               var div = document.createElement('div');
-               div.style.fontSize = this.sidebarTitleSize + 'px';
-               div.style.textAlign = 'center';
-               div.style.whiteSpace = 'nowrap';
-
-               if (mxClient.IS_IE) {
-                       div.style.height = (this.sidebarTitleSize + 12) + 'px';
-               }
-
-               div.style.paddingTop = '4px';
-               mxUtils.write(div, title);
-               parent.appendChild(div);
-       }
-};
-
-/**
- * Creates and returns a new palette item for the given image.
- */
-Sidebar.prototype.createItem = function(cells, title, showLabel) {
-       var elt = document.createElement('a');
-       elt.setAttribute('href', 'javascript:void(0);');
-       elt.className = 'geItem';
-       elt.style.overflow = 'hidden';
-       var border = (mxClient.IS_QUIRKS) ? 8 + 2 * this.thumbPadding : 6;
-       elt.style.width = (this.thumbWidth + border) + 'px';
-       elt.style.height = (this.thumbHeight + border) + 'px';
-       elt.style.padding = this.thumbPadding + 'px';
-
-       // Blocks default click action
-       mxEvent.addListener(elt, 'click', function(evt) {
-               mxEvent.consume(evt);
-       });
-
-       this.createThumb(cells, this.thumbWidth, this.thumbHeight, elt, title,
-               showLabel);
-
-       return elt;
-};
-
-/**
- * Creates a drop handler for inserting the given cells.
- */
-Sidebar.prototype.createDropHandler = function(cells, allowSplit) {
-       return function(graph, evt, target, x, y) {
-               if (graph.isEnabled()) {
-                       cells = graph.getImportableCells(cells);
-
-                       if (cells.length > 0) {
-                               var validDropTarget = (target != null) ?
-                                       graph.isValidDropTarget(target, cells, evt) : false;
-                               var select = null;
-
-                               if (target != null && !validDropTarget) {
-                                       target = null;
-                               }
-
-                               // Splits the target edge or inserts into target group
-                               if (allowSplit && graph.isSplitEnabled() && graph.isSplitTarget(target,
-                                               cells, evt)) {
-                                       graph.splitEdge(target, cells, null, x, y);
-                                       select = cells;
-                               } else if (cells.length > 0) {
-                                       select = graph.importCells(cells, x, y, target);
-                               }
-
-                               if (select != null && select.length > 0) {
-                                       graph.scrollCellToVisible(select[0]);
-                                       graph.setSelectionCells(select);
-                               }
-                       }
-               }
-       };
-};
-
-/**
- * Creates and returns a preview element for the given width and height.
- */
-Sidebar.prototype.createDragPreview = function(width, height) {
-       var elt = document.createElement('div');
-       elt.style.border = '1px dashed black';
-       elt.style.width = width + 'px';
-       elt.style.height = height + 'px';
-
-       return elt;
-};
-
-/**
- * Creates a drag source for the given element.
- */
-Sidebar.prototype.createDragSource = function(elt, dropHandler, preview) {
-       var dragSource = mxUtils.makeDraggable(elt, this.editorUi.editor.graph,
-               dropHandler,
-               preview, 0, 0, this.editorUi.editor.graph.autoscroll, true, true);
-
-       // Allows drop into cell only if target is a valid root
-       dragSource.getDropTarget = function(graph, x, y) {
-               var target = mxDragSource.prototype.getDropTarget.apply(this, arguments);
-
-               if (!graph.isValidRoot(target)) {
-                       target = null;
-               }
-
-               return target;
-       };
-
-       return dragSource;
-};
-
-/**
- * Adds a handler for inserting the cell with a single click.
- */
-Sidebar.prototype.addClickHandler = function(elt, ds) {
-       var graph = this.editorUi.editor.graph;
-       var first = null;
-
-       mxEvent.addGestureListeners(elt, function(evt) {
-               first = new mxPoint(mxEvent.getClientX(evt), mxEvent.getClientY(evt));
-       });
-
-       var oldMouseUp = ds.mouseUp;
-       ds.mouseUp = function(evt) {
-               if (!mxEvent.isPopupTrigger(evt) && this.currentGraph == null && first !=
-                       null) {
-                       var tol = graph.tolerance;
-
-                       if (Math.abs(first.x - mxEvent.getClientX(evt)) <= tol &&
-                               Math.abs(first.y - mxEvent.getClientY(evt)) <= tol) {
-                               var gs = graph.getGridSize();
-                               ds.drop(graph, evt, null, gs, gs);
-                       }
-               }
-
-               oldMouseUp.apply(this, arguments);
-               first = null;
-       };
-};
-
-/**
- * Giuseppe Careri
- * Create xml document vertex
- */
-Sidebar.prototype.createXmlDocument = function(element, label, variables,
-       values) {
-       var doc = mxUtils.createXmlDocument();
-       var node = doc.createElement(element)
-       node.setAttribute('label', label);
-
-       variables.forEach(function(variable, index) {
-               node.setAttribute(variable, values[index] ? values[index] : '');
-       });
-
-       return node;
-}
-
-/**
- * Giuseppe Careri
- * Creates a drop handler for inserting the given cells.
- */
-Sidebar.prototype.createVertexTemplate = function(style, width, height, value,
-       title, showLabel) {
-       var variables = [];
-       var values = [];
-
-       switch (value) {
-               case 'answer':
-                       break;
-               case 'ispeechasr':
-                       variables = ['key', 'model', 'ispeech_asr_language'];
-                       values = ['', 0, 'it-IT'];
-                       break;
-               case 'playback':
-                       variables = ['file_id', 'opts'];
-                       values = ['0'];
-                       break;
-               case 'background':
-                       variables = ['file_id', 'response', 'digit'];
-                       values = ['0', '5', '1'];
-                       break;
-               case 'menu':
-                       variables = ['file_id', 'response', 'digit', 'retry', 'variable_id'];
-                       values = ['0', '5', '1', '1', '0'];
-                       break;
-               case 'getdigits':
-                       variables = ['file_id', 'response', 'mindigit', 'maxdigit', 'retry', 'variable_id'];
-                       values = ['0', '5', '1', '10', '1', '0'];
-                       break;
-               case 'custom_app':
-                       variables = ['application', 'options'];
-                       values = ['',''];
-                       break;
-               case 'set':
-                       variables = ['variable_id', 'variable_value'];
-                       values = ['0', ''];
-                       break;
-               case 'database':
-                       variables = ['odbc_id', 'query', 'variable_id'];
-                       values = ['0', '', '0'];
-                       break;
-               case 'noop':
-                       variables = ['output'];
-                       values = [];
-                       break;
-               case 'gotoc':
-                       variables = ['context', 'extension'];
-                       values = [];
-                       break;
-               case 'system':
-                       variables = ['variable_id', 'command'];
-                       values = [];
-                       break;
-               case 'agi':
-                       variables = ['args', 'command'];
-                       values = [];
-                       break;
-               case 'gotoif':
-                       variables = ['condition'];
-                       values = [];
-                       break;
-               case 'gotoiftime':
-                       variables = ['interval_id'];
-                       values = ['0'];
-                       break;
-               case 'gotoifmultitime':
-                       variables = ['interval_id'];
-                       values = ['0'];
-                       break;
-               case 'vswitch':
-                       variables = ['variable_id'];
-                       values = ['0'];
-                       break;
-               case 'saydigits':
-                       variables = ['digits', 'escape_digits'];
-                       values = ['', '#'];
-                       break;
-               case 'saynumber':
-                       variables = ['number', 'escape_digits'];
-                       values = ['', '#'];
-                       break;
-               case 'sayphonetic':
-                       variables = ['text', 'escape_digits'];
-                       values = ['', '#'];
-                       break;
-               case 'record':
-                       variables = ['file', 'timeout', 'escape_digits'];
-                       values = ['', '-1', '#'];
-                       break;
-               case 'dial':
-                       variables = ['sip_id', 'timeout', 'custom_app', 'url'];
-                       values = ['0', '60'];
-                       break;
-               case 'ext_dial':
-                       variables = ['phone', 'trunk_id', 'timeout', 'opts', 'url'];
-                       values = ['', '0', '60'];
-                       break;
-               case 'tts':
-                       variables = ['text', 'google_tts_language'];
-                       values = ['', 'it'];
-                       break;
-               case 'ispeechtts':
-                       variables = ['text', 'key', 'ispeech_tts_language'];
-                       values = ['', '', 'euritalianfemale'];
-                       break;
-               case 'queue':
-                       variables = ['queue_id', 'opts', 'url', 'file_id', 'timeout', 'agi',
-                               'macro', 'gosub', 'position'
-                       ];
-                       values = ['0', '', '', '0', '300'];
-                       break;
-               case 'voicemail':
-                       variables = ['boxnumber', 'context', 'opts'];
-                       values = ['', 'from-voicemail'];
-                       break;
-               case 'subproject':
-                       variables = ['project_id'];
-                       values = ['0'];
-                       break;
-               case 'math':
-                       variables = ['operation', 'variable_id'];
-                       values = ['', '0'];
-                       break;
-               case 'queuelog':
-                       variables = ['queuename', 'agent', 'queue_event', 'data1', 'data2', 'data3',
-                               'data4', 'data5'
-                       ];
-                       values = [];
-                       break;
-               case 'goal':
-                       variables = ['goalname'];
-                       values = [];
-                       break;
-               case 'callback':
-                       variables = ['list_id'];
-                       values = ['0', '{CALLERID(num)}'];
-                       break;
-               default:
-                       variables = [];
-                       values = [];
-                       break;
-       }
-
-       var node = this.createXmlDocument(value, title, variables, values);
-
-       //var cells = [new mxCell((value != null) ? value : '', new mxGeometry(0, 0, width, height), style)];
-       var cells = [new mxCell(node, new mxGeometry(0, 0, width, height), style)];
-       cells[0].vertex = true;
-
-       return this.createVertexTemplateFromCells(cells, width, height, title,
-               showLabel);
-};
-
-/**
- * Creates a drop handler for inserting the given cells.
- */
-Sidebar.prototype.createVertexTemplateFromCells = function(cells, width, height,
-       title, showLabel) {
-       var elt = this.createItem(cells, title, showLabel);
-       var ds = this.createDragSource(elt, this.createDropHandler(cells, true), this
-               .createDragPreview(width, height));
-       this.addClickHandler(elt, ds);
-
-       // Uses guides for vertices only if enabled in graph
-       ds.isGuidesEnabled = mxUtils.bind(this, function() {
-               return this.editorUi.editor.graph.graphHandler.guidesEnabled;
-       });
-
-       // Shows a tooltip with the rendered cell
-       if (!touchStyle) {
-               mxEvent.addListener(elt, 'mousemove', mxUtils.bind(this, function(evt) {
-                       this.showTooltip(elt, cells, title, showLabel);
-               }));
-       }
-
-       return elt;
-};
-
-/**
- * Creates a drop handler for inserting the given cells.
- */
-Sidebar.prototype.createEdgeTemplate = function(style, width, height, value,
-       title, showLabel) {
-       var cells = [new mxCell((value != null) ? value : '', new mxGeometry(0, 0,
-               width, height), style)];
-       cells[0].geometry.setTerminalPoint(new mxPoint(0, height), true);
-       cells[0].geometry.setTerminalPoint(new mxPoint(width, 0), false);
-       cells[0].geometry.relative = true;
-       cells[0].edge = true;
-
-       return this.createEdgeTemplateFromCells(cells, width, height, title,
-               showLabel);
-};
-
-/**
- * Creates a drop handler for inserting the given cells.
- */
-Sidebar.prototype.createEdgeTemplateFromCells = function(cells, width, height,
-       title, showLabel) {
-       var elt = this.createItem(cells, title, showLabel);
-       this.createDragSource(elt, this.createDropHandler(cells, false), this.createDragPreview(
-               width, height));
-
-       // Installs the default edge
-       var graph = this.editorUi.editor.graph;
-       mxEvent.addListener(elt, 'click', mxUtils.bind(this, function(evt) {
-               if (this.installEdges) {
-                       graph.setDefaultEdge(cells[0]);
-               }
-
-               // Highlights the entry for 200ms
-               elt.style.backgroundColor = '#ffffff';
-
-               window.setTimeout(function() {
-                       elt.style.backgroundColor = '';
-               }, 300);
-
-               mxEvent.consume(evt);
-       }));
-
-       // Shows a tooltip with the rendered cell
-       if (!touchStyle) {
-               mxEvent.addListener(elt, 'mousemove', mxUtils.bind(this, function(evt) {
-                       this.showTooltip(elt, cells, title, showLabel);
-               }));
-       }
-
-       return elt;
-};
-
-/**
- * Adds the given palette.
- */
-Sidebar.prototype.addPalette = function(id, title, expanded, onInit) {
-       var elt = this.createTitle(title);
-       this.container.appendChild(elt);
-
-       var div = document.createElement('div');
-       div.className = 'geSidebar';
-
-       if (expanded) {
-               onInit(div);
-               onInit = null;
-       } else {
-               div.style.display = 'none';
-       }
-
-       this.addFoldingHandler(elt, div, onInit);
-
-       var outer = document.createElement('div');
-       outer.appendChild(div);
-       this.container.appendChild(outer);
-
-       // Keeps references to the DOM nodes
-       if (id != null) {
-               this.palettes[id] = [elt, outer];
-       }
-};
-
-/**
- * Create the given title element.
- */
-Sidebar.prototype.addFoldingHandler = function(title, content, funct) {
-       var initialized = false;
-
-       title.style.backgroundImage = (content.style.display == 'none') ?
-               'url(' + IMAGE_PATH + '/collapsed.gif)' : 'url(' + IMAGE_PATH +
-               '/expanded.gif)';
-       title.style.backgroundRepeat = 'no-repeat';
-       title.style.backgroundPosition = '100% 50%';
-
-       mxEvent.addListener(title, 'click', function(evt) {
-               if (content.style.display == 'none') {
-                       if (!initialized) {
-                               initialized = true;
-
-                               if (funct != null) {
-                                       title.style.cursor = 'wait';
-                                       window.setTimeout(function() {
-                                               funct(content);
-                                               title.style.cursor = '';
-                                       }, 0);
-                               }
-                       }
-
-                       title.style.backgroundImage = 'url(' + IMAGE_PATH + '/expanded.gif)';
-                       content.style.display = 'block';
-               } else {
-                       title.style.backgroundImage = 'url(' + IMAGE_PATH + '/collapsed.gif)';
-                       content.style.display = 'none';
-               }
-
-               mxEvent.consume(evt);
-       });
-};
-
-/**
- * Removes the palette for the given ID.
- */
-Sidebar.prototype.removePalette = function(id) {
-       var elts = this.palettes[id];
-
-       if (elts != null) {
-               this.palettes[id] = null;
-
-               for (var i = 0; i < elts.length; i++) {
-                       this.container.removeChild(elts[i]);
-               }
-
-               return true;
-       }
-
-       return false;
-};
-
-/**
- * Adds the given image palette.
- */
-Sidebar.prototype.addImagePalette = function(id, title, prefix, postfix, items,
-       titles) {
-       // Giuseppe Careri
-       // Expanded Sidebar only entry
-       this.addPalette(id, title, (id === 'entry'), mxUtils.bind(this, function(
-               content) {
-               var showTitles = titles != null;
-
-               for (var i = 0; i < items.length; i++) {
-                       var icon = prefix + items[i] + postfix;
-                       content.appendChild(this.createVertexTemplate('image;image=' + icon, 80,
-                               80, items[i], (showTitles) ? titles[i] : null, showTitles));
-               }
-       }));
-};
+var _0x232a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x64\x69\x74\x6F\x72\x55\x69","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x70\x61\x6C\x65\x74\x74\x65\x73","\x73\x68\x6F\x77\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x67\x72\x61\x70\x68","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x65\x64\x69\x74\x6F\x72","\x72\x65\x73\x65\x74\x56\x69\x65\x77\x4F\x6E\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x61\x75\x74\x6F\x53\x63\x72\x6F\x6C\x6C","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x73\x74\x79\x6C\x65","\x68\x69\x64\x64\x65\x6E","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x62\x6F\x64\x79","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x6D\x6F\x75\x73\x65\x75\x70","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x73\x63\x72\x6F\x6C\x6C","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x68\x69\x64\x65\x54\x6F\x6F\x6C\x74\x69\x70","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x67\x65\x74\x53\x6F\x75\x72\x63\x65","\x63\x75\x72\x72\x65\x6E\x74\x45\x6C\x74","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x6D\x6F\x75\x73\x65\x6F\x75\x74","\x74\x6F\x45\x6C\x65\x6D\x65\x6E\x74","\x72\x65\x6C\x61\x74\x65\x64\x54\x61\x72\x67\x65\x74","\x69\x6E\x69\x74","\x73\x72\x63","\x2F\x74\x6F\x6F\x6C\x74\x69\x70\x2E\x70\x6E\x67","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6C\x6F\x67","\x65\x6E\x74\x72\x79","\x67\x65\x74","\x2F\x65\x6E\x74\x72\x79\x2F","\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67","\x73\x74\x61\x72\x74","\x66\x69\x6E\x61\x6C\x6C\x79","\x65\x6E\x64","\x61\x64\x64\x49\x6D\x61\x67\x65\x50\x61\x6C\x65\x74\x74\x65","\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74","\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F","\x61\x6E\x73\x77\x65\x72","\x68\x61\x6E\x67\x75\x70","\x64\x69\x61\x6C","\x65\x78\x74\x5F\x64\x69\x61\x6C","\x71\x75\x65\x75\x65","\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x76\x61\x72\x69\x61\x62\x6C\x65","\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x2F","\x73\x65\x74","\x6D\x61\x74\x68","\x70\x6C\x61\x79\x62\x61\x63\x6B","\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F","\x6D\x65\x6E\x75","\x73\x61\x79\x64\x69\x67\x69\x74\x73","\x73\x61\x79\x6E\x75\x6D\x62\x65\x72","\x73\x61\x79\x70\x68\x6F\x6E\x65\x74\x69\x63","\x74\x74\x73","\x69\x73\x70\x65\x65\x63\x68\x74\x74\x73","\x67\x65\x74\x64\x69\x67\x69\x74\x73","\x67\x65\x74\x73\x65\x63\x72\x65\x74\x64\x69\x67\x69\x74\x73","\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2F","\x72\x65\x63\x6F\x72\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x53\x65\x72\x76\x65\x72","\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x73\x65\x72\x76\x65\x72\x2F","\x64\x61\x74\x61\x62\x61\x73\x65","\x69\x73\x70\x65\x65\x63\x68\x61\x73\x72","\x73\x65\x6E\x64\x53\x4D\x53","\x73\x65\x6E\x64\x4D\x61\x69\x6C","\x63\x61\x6C\x6C\x66\x6C\x6F\x77","\x2F\x63\x61\x6C\x6C\x66\x6C\x6F\x77\x2F","\x67\x6F\x74\x6F\x63","\x67\x6F\x74\x6F\x69\x66","\x67\x6F\x74\x6F\x69\x66\x74\x69\x6D\x65","\x76\x73\x77\x69\x74\x63\x68","\x73\x74\x61\x74\x73","\x2F\x73\x74\x61\x74\x73\x2F","\x67\x6F\x61\x6C","\x67\x65\x6E\x65\x72\x61\x6C","\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2F","\x6E\x6F\x6F\x70","\x73\x79\x73\x74\x65\x6D","\x61\x67\x69","\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74","\x63\x75\x73\x74\x6F\x6D\x5F\x61\x70\x70","\x65\x6E\x61\x62\x6C\x65\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x42\x6F\x72\x64\x65\x72","\x74\x68\x75\x6D\x62\x42\x6F\x72\x64\x65\x72","\x74\x6F\x6F\x6C\x74\x69\x70\x44\x65\x6C\x61\x79","\x69\x6E\x73\x74\x61\x6C\x6C\x45\x64\x67\x65\x73","\x67\x65\x61\x72\x49\x6D\x61\x67\x65","\x2F\x63\x6C\x69\x70\x61\x72\x74\x2F\x47\x65\x61\x72\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67","\x74\x68\x75\x6D\x62\x57\x69\x64\x74\x68","\x74\x68\x75\x6D\x62\x48\x65\x69\x67\x68\x74","\x74\x68\x75\x6D\x62\x50\x61\x64\x64\x69\x6E\x67","\x73\x69\x64\x65\x62\x61\x72\x54\x69\x74\x6C\x65\x53\x69\x7A\x65","\x73\x69\x64\x65\x62\x61\x72\x54\x69\x74\x6C\x65\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x54\x69\x74\x6C\x65\x73","\x73\x68\x6F\x77\x54\x6F\x6F\x6C\x74\x69\x70","\x74\x68\x72\x65\x61\x64","\x63\x6C\x65\x61\x72\x54\x69\x6D\x65\x6F\x75\x74","\x74\x6F\x6F\x6C\x74\x69\x70","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x53\x69\x64\x65\x62\x61\x72\x54\x6F\x6F\x6C\x74\x69\x70","\x67\x72\x61\x70\x68\x32","\x73\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x76\x69\x65\x77","\x49\x53\x5F\x53\x56\x47","\x63\x61\x6E\x76\x61\x73","\x72\x65\x6C\x61\x74\x69\x76\x65","\x74\x6F\x6F\x6C\x74\x69\x70\x49\x6D\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x49\x6D\x61\x67\x65","\x77\x69\x64\x74\x68","\x31\x34\x70\x78","\x68\x65\x69\x67\x68\x74","\x32\x37\x70\x78","\x64\x69\x73\x70\x6C\x61\x79","\x62\x6C\x6F\x63\x6B","\x6C\x61\x62\x65\x6C\x73\x56\x69\x73\x69\x62\x6C\x65","\x63\x6C\x65\x61\x72","\x6D\x6F\x64\x65\x6C","\x61\x64\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x76\x69\x73\x69\x62\x6C\x65","\x70\x78","\x6C\x65\x6E\x67\x74\x68","\x74\x6F\x6F\x6C\x74\x69\x70\x54\x69\x74\x6C\x65","\x62\x6F\x72\x64\x65\x72\x54\x6F\x70","\x31\x70\x78\x20\x73\x6F\x6C\x69\x64\x20\x67\x72\x61\x79","\x74\x65\x78\x74\x41\x6C\x69\x67\x6E","\x63\x65\x6E\x74\x65\x72","\x31\x30\x30\x25","\x70\x61\x64\x64\x69\x6E\x67\x54\x6F\x70","\x32\x70\x78","\x36\x70\x78","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","","\x77\x72\x69\x74\x65","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x6D\x61\x72\x67\x69\x6E\x54\x6F\x70","\x74\x6F\x70","\x6E\x6F\x6E\x65","\x78","\x6D\x69\x6E","\x79","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x73\x70\x6C\x69\x74\x53\x69\x7A\x65","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x6D\x61\x78","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28","\x2C","\x29","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x6C\x65\x66\x74","\x64\x72\x61\x77\x50\x61\x6E\x65","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x70\x61\x67\x65\x2D\x73\x69\x64\x65\x62\x61\x72","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x73\x65\x74\x54\x69\x6D\x65\x6F\x75\x74","\x63\x72\x65\x61\x74\x65\x54\x69\x74\x6C\x65","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x67\x65\x54\x69\x74\x6C\x65","\x63\x72\x65\x61\x74\x65\x54\x68\x75\x6D\x62","\x73\x63\x61\x6C\x65\x41\x6E\x64\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x66\x6C\x6F\x6F\x72","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x4E\x4F\x5F\x46\x4F","\x63\x6C\x6F\x6E\x65\x4E\x6F\x64\x65","\x6F\x77\x6E\x65\x72\x53\x56\x47\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x43\x61\x6E\x76\x61\x73","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x49\x53\x5F\x49\x45\x36","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x49\x6D\x61\x67\x65","\x63\x75\x72\x73\x6F\x72","\x70\x6F\x69\x6E\x74\x65\x72","\x6D\x69\x6E\x57\x69\x64\x74\x68","\x6D\x69\x6E\x48\x65\x69\x67\x68\x74","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x6E\x6F\x77\x72\x61\x70","\x49\x53\x5F\x49\x45","\x34\x70\x78","\x63\x72\x65\x61\x74\x65\x49\x74\x65\x6D","\x67\x65\x49\x74\x65\x6D","\x70\x61\x64\x64\x69\x6E\x67","\x63\x6C\x69\x63\x6B","\x63\x6F\x6E\x73\x75\x6D\x65","\x63\x72\x65\x61\x74\x65\x44\x72\x6F\x70\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x49\x6D\x70\x6F\x72\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x69\x73\x56\x61\x6C\x69\x64\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x69\x73\x53\x70\x6C\x69\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x70\x6C\x69\x74\x54\x61\x72\x67\x65\x74","\x73\x70\x6C\x69\x74\x45\x64\x67\x65","\x69\x6D\x70\x6F\x72\x74\x43\x65\x6C\x6C\x73","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x50\x72\x65\x76\x69\x65\x77","\x62\x6F\x72\x64\x65\x72","\x31\x70\x78\x20\x64\x61\x73\x68\x65\x64\x20\x62\x6C\x61\x63\x6B","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x53\x6F\x75\x72\x63\x65","\x61\x75\x74\x6F\x73\x63\x72\x6F\x6C\x6C","\x6D\x61\x6B\x65\x44\x72\x61\x67\x67\x61\x62\x6C\x65","\x67\x65\x74\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x61\x70\x70\x6C\x79","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x61\x64\x64\x43\x6C\x69\x63\x6B\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x6D\x6F\x75\x73\x65\x55\x70","\x69\x73\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x63\x75\x72\x72\x65\x6E\x74\x47\x72\x61\x70\x68","\x74\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x61\x62\x73","\x67\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x64\x72\x6F\x70","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x6C\x61\x62\x65\x6C","\x66\x6F\x72\x45\x61\x63\x68","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78\x54\x65\x6D\x70\x6C\x61\x74\x65","\x6B\x65\x79","\x69\x73\x70\x65\x65\x63\x68\x5F\x61\x73\x72\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x69\x6E\x74\x4B\x65\x79","\x62\x65\x65\x70","\x69\x74\x2D\x49\x54","\x23","\x66\x69\x6C\x65\x5F\x69\x64","\x6F\x70\x74\x73","\x30","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x64\x69\x67\x69\x74","\x35","\x31","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x72\x65\x74\x72\x79","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64","\x6D\x69\x6E\x64\x69\x67\x69\x74","\x6D\x61\x78\x64\x69\x67\x69\x74","\x31\x30","\x68\x69\x64\x64\x65\x6E\x64\x69\x67\x69\x74\x73\x6E\x75\x6D","\x68\x69\x64\x64\x65\x6E\x64\x69\x67\x69\x74\x73\x70\x6F\x73","\x66\x69\x72\x73\x74","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x6F\x70\x74\x69\x6F\x6E\x73","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x76\x61\x6C\x75\x65","\x6F\x64\x62\x63\x5F\x69\x64","\x71\x75\x65\x72\x79","\x6F\x75\x74\x70\x75\x74","\x63\x6F\x6E\x74\x65\x78\x74","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x63\x6F\x6D\x6D\x61\x6E\x64","\x61\x72\x67\x73","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x69\x6E\x74\x65\x72\x76\x61\x6C\x5F\x69\x64","\x67\x6F\x74\x6F\x69\x66\x6D\x75\x6C\x74\x69\x74\x69\x6D\x65","\x64\x69\x67\x69\x74\x73","\x65\x73\x63\x61\x70\x65\x5F\x64\x69\x67\x69\x74\x73","\x6E\x75\x6D\x62\x65\x72","\x74\x65\x78\x74","\x66\x69\x6C\x65","\x2D\x31","\x73\x69\x70\x5F\x69\x64","\x75\x72\x6C","\x36\x30","\x70\x68\x6F\x6E\x65","\x74\x72\x75\x6E\x6B\x5F\x6E\x61\x6D\x65","\x67\x6F\x6F\x67\x6C\x65\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x69\x74","\x69\x73\x70\x65\x65\x63\x68\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x73\x70\x65\x65\x64","\x65\x75\x72\x69\x74\x61\x6C\x69\x61\x6E\x66\x65\x6D\x61\x6C\x65","\x71\x75\x65\x75\x65\x5F\x69\x64","\x6D\x61\x63\x72\x6F","\x67\x6F\x73\x75\x62","\x33\x30\x30","\x6D\x61\x69\x6C\x62\x6F\x78","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x69\x64","\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x61\x67\x65\x6E\x74","\x71\x75\x65\x75\x65\x5F\x65\x76\x65\x6E\x74","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x64\x61\x74\x61\x34","\x64\x61\x74\x61\x35","\x71\x75\x65\x75\x65\x6C\x6F\x67","\x67\x6F\x61\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x6C\x69\x73\x74\x5F\x69\x64","\x64\x65\x6C\x61\x79","\x7B\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x6E\x75\x6D\x29\x7D","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x74\x6F","\x73\x6D\x73\x5F\x74\x65\x78\x74","\x63\x63","\x73\x75\x62\x6A\x65\x63\x74","\x76\x65\x72\x74\x65\x78","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78\x54\x65\x6D\x70\x6C\x61\x74\x65\x46\x72\x6F\x6D\x43\x65\x6C\x6C\x73","\x69\x73\x47\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x54\x65\x6D\x70\x6C\x61\x74\x65","\x73\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x6F\x6D\x65\x74\x72\x79","\x65\x64\x67\x65","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x46\x72\x6F\x6D\x43\x65\x6C\x6C\x73","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x23\x66\x66\x66\x66\x66\x66","\x61\x64\x64\x50\x61\x6C\x65\x74\x74\x65","\x67\x65\x53\x69\x64\x65\x62\x61\x72","\x61\x64\x64\x46\x6F\x6C\x64\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x2F\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64\x2E\x67\x69\x66\x29","\x2F\x65\x78\x70\x61\x6E\x64\x65\x64\x2E\x67\x69\x66\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x31\x30\x30\x25\x20\x35\x30\x25","\x77\x61\x69\x74","\x72\x65\x6D\x6F\x76\x65\x50\x61\x6C\x65\x74\x74\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D"];_0x232a[0];function Sidebar(_0x2230x2,_0x2230x3){this[_0x232a[1]]= _0x2230x2;this[_0x232a[2]]= _0x2230x3;this[_0x232a[3]]=  new Object();this[_0x232a[4]]= true;this[_0x232a[5]]=  new Graph(document[_0x232a[7]](_0x232a[6]),null,null,this[_0x232a[1]][_0x232a[9]][_0x232a[5]][_0x232a[8]]());this[_0x232a[5]][_0x232a[10]]= false;this[_0x232a[5]][_0x232a[11]]= false;this[_0x232a[5]][_0x232a[12]](false);this[_0x232a[5]][_0x232a[13]]= false;this[_0x232a[5]][_0x232a[14]](false);this[_0x232a[5]][_0x232a[15]](false);this[_0x232a[5]][_0x232a[2]][_0x232a[17]][_0x232a[16]]= _0x232a[18];this[_0x232a[5]][_0x232a[2]][_0x232a[17]][_0x232a[19]]= _0x232a[20];document[_0x232a[22]][_0x232a[21]](this[_0x232a[5]][_0x232a[2]]);if(!mxClient[_0x232a[23]]){mxEvent[_0x232a[26]](document,_0x232a[24],mxUtils[_0x232a[25]](this,function(){this[_0x232a[4]]= true}));mxEvent[_0x232a[26]](_0x2230x3,_0x232a[27],mxUtils[_0x232a[25]](this,function(){this[_0x232a[4]]= true}));mxEvent[_0x232a[26]](document,_0x232a[28],mxUtils[_0x232a[25]](this,function(){this[_0x232a[4]]= false;this[_0x232a[29]]()}));mxEvent[_0x232a[26]](document,_0x232a[30],mxUtils[_0x232a[25]](this,function(_0x2230x4){var _0x2230x5=mxEvent[_0x232a[31]](_0x2230x4);while(_0x2230x5!= null){if(_0x2230x5== this[_0x232a[32]]){return};_0x2230x5= _0x2230x5[_0x232a[33]]};this[_0x232a[29]]()}));mxEvent[_0x232a[26]](document,_0x232a[34],mxUtils[_0x232a[25]](this,function(_0x2230x4){if(_0x2230x4[_0x232a[35]]== null&& _0x2230x4[_0x232a[36]]== null){this[_0x232a[29]]()}}))};this[_0x232a[37]](); new Image()[_0x232a[38]]= IMAGE_PATH+ _0x232a[39]}Sidebar[_0x232a[40]][_0x232a[37]]= function(){var _0x2230x6=STENCIL_PATH;console[_0x232a[41]](_0x2230x6);this[_0x232a[49]](_0x232a[42],mxResources[_0x232a[43]](_0x232a[42]),_0x2230x6+ _0x232a[44],_0x232a[45],[_0x232a[46],_0x232a[47],_0x232a[48]],[mxResources[_0x232a[43]](_0x232a[46]),mxResources[_0x232a[43]](_0x232a[47]),mxResources[_0x232a[43]](_0x232a[48])]);this[_0x232a[49]](_0x232a[50],mxResources[_0x232a[43]](_0x232a[50]),_0x2230x6+ _0x232a[51],_0x232a[45],[_0x232a[52],_0x232a[53],_0x232a[54],_0x232a[55],_0x232a[56],_0x232a[57],_0x232a[58]],[mxResources[_0x232a[43]](_0x232a[52]),mxResources[_0x232a[43]](_0x232a[53]),mxResources[_0x232a[43]](_0x232a[54]),mxResources[_0x232a[43]](_0x232a[55]),mxResources[_0x232a[43]](_0x232a[56]),mxResources[_0x232a[43]](_0x232a[57]),mxResources[_0x232a[43]](_0x232a[58])]);this[_0x232a[49]](_0x232a[59],mxResources[_0x232a[43]](_0x232a[59]),_0x2230x6+ _0x232a[60],_0x232a[45],[_0x232a[61],_0x232a[62]],[mxResources[_0x232a[43]](_0x232a[61]),mxResources[_0x232a[43]](_0x232a[62])]);this[_0x232a[49]](_0x232a[63],mxResources[_0x232a[43]](_0x232a[63]),_0x2230x6+ _0x232a[64],_0x232a[45],[_0x232a[63],_0x232a[65],_0x232a[66],_0x232a[67],_0x232a[68],_0x232a[69],_0x232a[70],_0x232a[71],_0x232a[72]],[mxResources[_0x232a[43]](_0x232a[63]),mxResources[_0x232a[43]](_0x232a[65]),mxResources[_0x232a[43]](_0x232a[66]),mxResources[_0x232a[43]](_0x232a[67]),mxResources[_0x232a[43]](_0x232a[68]),mxResources[_0x232a[43]](_0x232a[69]),mxResources[_0x232a[43]](_0x232a[70]),mxResources[_0x232a[43]](_0x232a[71]),mxResources[_0x232a[43]](_0x232a[72])]);this[_0x232a[49]](_0x232a[73],mxResources[_0x232a[43]](_0x232a[73]),_0x2230x6+ _0x232a[74],_0x232a[45],[_0x232a[75]],[mxResources[_0x232a[43]](_0x232a[75])]);this[_0x232a[49]](_0x232a[76],mxResources[_0x232a[43]](_0x232a[76]),_0x2230x6+ _0x232a[77],_0x232a[45],[_0x232a[78],_0x232a[79],_0x232a[80],_0x232a[81]],[mxResources[_0x232a[43]](_0x232a[78]),mxResources[_0x232a[43]](_0x232a[79]),mxResources[_0x232a[43]](_0x232a[80]),mxResources[_0x232a[43]](_0x232a[81])]);this[_0x232a[49]](_0x232a[82],mxResources[_0x232a[43]](_0x232a[82]),_0x2230x6+ _0x232a[83],_0x232a[45],[_0x232a[84],_0x232a[85],_0x232a[86],_0x232a[87]],[mxResources[_0x232a[43]](_0x232a[84]),mxResources[_0x232a[43]](_0x232a[85]),mxResources[_0x232a[43]](_0x232a[86]),mxResources[_0x232a[43]](_0x232a[87])]);this[_0x232a[49]](_0x232a[88],mxResources[_0x232a[43]](_0x232a[88]),_0x2230x6+ _0x232a[89],_0x232a[45],[_0x232a[90]],[mxResources[_0x232a[43]](_0x232a[90])]);this[_0x232a[49]](_0x232a[91],mxResources[_0x232a[43]](_0x232a[91]),_0x2230x6+ _0x232a[92],_0x232a[45],[_0x232a[93],_0x232a[94],_0x232a[95],_0x232a[96],_0x232a[97]],[mxResources[_0x232a[43]](_0x232a[93]),mxResources[_0x232a[43]](_0x232a[94]),mxResources[_0x232a[43]](_0x232a[95]),mxResources[_0x232a[43]](_0x232a[96]),mxResources[_0x232a[43]](_0x232a[97])])};Sidebar[_0x232a[40]][_0x232a[98]]= !mxClient[_0x232a[23]];Sidebar[_0x232a[40]][_0x232a[99]]= 16;Sidebar[_0x232a[40]][_0x232a[100]]= 3;Sidebar[_0x232a[40]][_0x232a[101]]= 300;Sidebar[_0x232a[40]][_0x232a[102]]= true;Sidebar[_0x232a[40]][_0x232a[103]]= STENCIL_PATH+ _0x232a[104];Sidebar[_0x232a[40]][_0x232a[105]]= 34;Sidebar[_0x232a[40]][_0x232a[106]]= 34;Sidebar[_0x232a[40]][_0x232a[107]]= 2;Sidebar[_0x232a[40]][_0x232a[108]]= 9;Sidebar[_0x232a[40]][_0x232a[109]]= false;Sidebar[_0x232a[40]][_0x232a[110]]= false;Sidebar[_0x232a[40]][_0x232a[111]]= function(_0x2230x7,_0x2230x8,_0x2230x9,_0x2230xa){if(this[_0x232a[98]]&& this[_0x232a[4]]){if(this[_0x232a[32]]!= _0x2230x7){if(this[_0x232a[112]]!= null){window[_0x232a[113]](this[_0x232a[112]]);this[_0x232a[112]]= null};var _0x2230xb=mxUtils[_0x232a[25]](this,function(){if(this[_0x232a[114]]== null){this[_0x232a[114]]= document[_0x232a[7]](_0x232a[6]);this[_0x232a[114]][_0x232a[115]]= _0x232a[116];document[_0x232a[22]][_0x232a[21]](this[_0x232a[114]]);this[_0x232a[117]]=  new Graph(this[_0x232a[114]],null,null,this[_0x232a[1]][_0x232a[9]][_0x232a[5]][_0x232a[8]]());this[_0x232a[117]][_0x232a[119]][_0x232a[118]](this[_0x232a[99]],this[_0x232a[99]]);this[_0x232a[117]][_0x232a[10]]= false;this[_0x232a[117]][_0x232a[11]]= false;this[_0x232a[117]][_0x232a[13]]= false;this[_0x232a[117]][_0x232a[14]](false);this[_0x232a[117]][_0x232a[12]](false);this[_0x232a[117]][_0x232a[15]](false);if(!mxClient[_0x232a[120]]){this[_0x232a[117]][_0x232a[119]][_0x232a[121]][_0x232a[17]][_0x232a[19]]= _0x232a[122]};this[_0x232a[123]]= mxUtils[_0x232a[124]](IMAGE_PATH+ _0x232a[39]);this[_0x232a[123]][_0x232a[17]][_0x232a[19]]= _0x232a[20];this[_0x232a[123]][_0x232a[17]][_0x232a[125]]= _0x232a[126];this[_0x232a[123]][_0x232a[17]][_0x232a[127]]= _0x232a[128];document[_0x232a[22]][_0x232a[21]](this[_0x232a[123]])};this[_0x232a[114]][_0x232a[17]][_0x232a[129]]= _0x232a[130];this[_0x232a[117]][_0x232a[131]]= (_0x2230xa== null|| _0x2230xa);this[_0x232a[117]][_0x232a[133]][_0x232a[132]]();this[_0x232a[117]][_0x232a[134]](_0x2230x8);var _0x2230xc=this[_0x232a[117]][_0x232a[135]]();var _0x2230xd=_0x2230xc[_0x232a[125]]+ 2* this[_0x232a[99]];var _0x2230xe=_0x2230xc[_0x232a[127]]+ 2* this[_0x232a[99]];if(mxClient[_0x232a[136]]){_0x2230xd+= 4;_0x2230xe+= 4;this[_0x232a[114]][_0x232a[17]][_0x232a[137]]= _0x232a[18]}else {this[_0x232a[114]][_0x232a[17]][_0x232a[137]]= _0x232a[138]};this[_0x232a[123]][_0x232a[17]][_0x232a[16]]= _0x232a[138];this[_0x232a[114]][_0x232a[17]][_0x232a[125]]= _0x2230xd+ _0x232a[139];if(this[_0x232a[110]]&& _0x2230x9!= null&& _0x2230x9[_0x232a[140]]> 0){if(this[_0x232a[141]]== null){this[_0x232a[141]]= document[_0x232a[7]](_0x232a[6]);this[_0x232a[141]][_0x232a[17]][_0x232a[142]]= _0x232a[143];this[_0x232a[141]][_0x232a[17]][_0x232a[144]]= _0x232a[145];this[_0x232a[141]][_0x232a[17]][_0x232a[125]]= _0x232a[146];this[_0x232a[141]][_0x232a[17]][_0x232a[137]]= _0x232a[18];if(mxClient[_0x232a[120]]){this[_0x232a[141]][_0x232a[17]][_0x232a[147]]= _0x232a[148]}else {this[_0x232a[141]][_0x232a[17]][_0x232a[19]]= _0x232a[20];this[_0x232a[141]][_0x232a[17]][_0x232a[147]]= _0x232a[149]};this[_0x232a[114]][_0x232a[21]](this[_0x232a[141]])}else {this[_0x232a[141]][_0x232a[150]]= _0x232a[151]};this[_0x232a[141]][_0x232a[17]][_0x232a[129]]= _0x232a[151];mxUtils[_0x232a[152]](this[_0x232a[141]],_0x2230x9);var _0x2230xf=this[_0x232a[141]][_0x232a[153]]+ 10;_0x2230xe+= _0x2230xf;if(mxClient[_0x232a[120]]){this[_0x232a[141]][_0x232a[17]][_0x232a[154]]= (-_0x2230xf) + _0x232a[139]}else {_0x2230xe-= 6;this[_0x232a[141]][_0x232a[17]][_0x232a[155]]= (_0x2230xe- _0x2230xf)+ _0x232a[139]}}else {if(this[_0x232a[141]]!= null&& this[_0x232a[141]][_0x232a[33]]!= null){this[_0x232a[141]][_0x232a[17]][_0x232a[129]]= _0x232a[156]}};this[_0x232a[114]][_0x232a[17]][_0x232a[127]]= _0x2230xe+ _0x232a[139];var _0x2230x10=-Math[_0x232a[158]](0,_0x2230xc[_0x232a[157]]- this[_0x232a[99]]);var _0x2230x11=-Math[_0x232a[158]](0,_0x2230xc[_0x232a[159]]- this[_0x232a[99]]);var _0x2230x12=this[_0x232a[2]][_0x232a[160]]+ this[_0x232a[1]][_0x232a[161]]+ 3;var _0x2230x13=Math[_0x232a[164]](0,(this[_0x232a[2]][_0x232a[162]]+ _0x2230x7[_0x232a[162]]- this[_0x232a[2]][_0x232a[163]]- _0x2230xe/ 2+ 16));if(mxClient[_0x232a[120]]){this[_0x232a[117]][_0x232a[119]][_0x232a[121]][_0x232a[169]](_0x232a[165],_0x232a[166]+ _0x2230x10+ _0x232a[167]+ _0x2230x11+ _0x232a[168])}else {this[_0x232a[117]][_0x232a[119]][_0x232a[171]][_0x232a[17]][_0x232a[170]]= _0x2230x10+ _0x232a[139];this[_0x232a[117]][_0x232a[119]][_0x232a[171]][_0x232a[17]][_0x232a[155]]= _0x2230x11+ _0x232a[139]};_0x2230x12+= document[_0x232a[174]](_0x232a[173])[_0x232a[172]];_0x2230x13+= 90;this[_0x232a[114]][_0x232a[17]][_0x232a[19]]= _0x232a[20];this[_0x232a[114]][_0x232a[17]][_0x232a[170]]= _0x2230x12+ _0x232a[139];this[_0x232a[114]][_0x232a[17]][_0x232a[155]]= _0x2230x13+ _0x232a[139];this[_0x232a[123]][_0x232a[17]][_0x232a[170]]= (_0x2230x12- 13)+ _0x232a[139];this[_0x232a[123]][_0x232a[17]][_0x232a[155]]= (_0x2230x13+ _0x2230xe/ 2- 13)+ _0x232a[139]});if(this[_0x232a[114]]!= null&& this[_0x232a[114]][_0x232a[17]][_0x232a[129]]!= _0x232a[156]){_0x2230xb()}else {this[_0x232a[112]]= window[_0x232a[175]](_0x2230xb,this[_0x232a[101]])};this[_0x232a[32]]= _0x2230x7}}};Sidebar[_0x232a[40]][_0x232a[29]]= function(){if(this[_0x232a[112]]!= null){window[_0x232a[113]](this[_0x232a[112]]);this[_0x232a[112]]= null};if(this[_0x232a[114]]!= null){this[_0x232a[114]][_0x232a[17]][_0x232a[129]]= _0x232a[156];this[_0x232a[123]][_0x232a[17]][_0x232a[16]]= _0x232a[18];this[_0x232a[32]]= null}};Sidebar[_0x232a[40]][_0x232a[176]]= function(_0x2230x14){var _0x2230x7=document[_0x232a[7]](_0x232a[177]);_0x2230x7[_0x232a[169]](_0x232a[178],_0x232a[179]);_0x2230x7[_0x232a[115]]= _0x232a[180];mxUtils[_0x232a[152]](_0x2230x7,_0x2230x14);return _0x2230x7};Sidebar[_0x232a[40]][_0x232a[181]]= function(_0x2230x8,_0x2230xd,_0x2230xe,_0x2230x15,_0x2230x9,_0x2230xa){this[_0x232a[5]][_0x232a[131]]= (_0x2230xa== null|| _0x2230xa);this[_0x232a[5]][_0x232a[119]][_0x232a[182]](1,0,0);this[_0x232a[5]][_0x232a[134]](_0x2230x8);var _0x2230xc=this[_0x232a[5]][_0x232a[135]]();var _0x2230x16=this[_0x232a[100]];var _0x2230x17=Math[_0x232a[158]]((_0x2230xd- 2)/ (_0x2230xc[_0x232a[125]]- _0x2230xc[_0x232a[157]]+ _0x2230x16),(_0x2230xe- 2)/ (_0x2230xc[_0x232a[127]]- _0x2230xc[_0x232a[159]]+ _0x2230x16));var _0x2230x10=-Math[_0x232a[158]](_0x2230xc[_0x232a[157]],0);var _0x2230x11=-Math[_0x232a[158]](_0x2230xc[_0x232a[159]],0);this[_0x232a[5]][_0x232a[119]][_0x232a[182]](_0x2230x17,_0x2230x10,_0x2230x11);_0x2230xc= this[_0x232a[5]][_0x232a[135]]();var _0x2230x18=Math[_0x232a[164]](0,Math[_0x232a[183]]((_0x2230xd- _0x2230xc[_0x232a[125]]- _0x2230xc[_0x232a[157]])/ 2));var _0x2230xf=Math[_0x232a[164]](0,Math[_0x232a[183]]((_0x2230xe- _0x2230xc[_0x232a[127]]- _0x2230xc[_0x232a[159]])/ 2));var _0x2230x19=null;if(this[_0x232a[5]][_0x232a[184]]== mxConstants[_0x232a[185]]&& !mxClient[_0x232a[186]]){_0x2230x19= this[_0x232a[5]][_0x232a[119]][_0x232a[189]]()[_0x232a[188]][_0x232a[187]](true)}else {_0x2230x19= this[_0x232a[5]][_0x232a[2]][_0x232a[187]](false);_0x2230x19[_0x232a[150]]= this[_0x232a[5]][_0x232a[2]][_0x232a[150]]};this[_0x232a[5]][_0x232a[190]]()[_0x232a[132]]();if(mxClient[_0x232a[191]]){_0x2230x15[_0x232a[17]][_0x232a[192]]= _0x232a[193]+ this[_0x232a[1]][_0x232a[9]][_0x232a[194]]+ _0x232a[168]};var _0x2230x1a=3;_0x2230x19[_0x232a[17]][_0x232a[19]]= _0x232a[122];_0x2230x19[_0x232a[17]][_0x232a[137]]= _0x232a[18];_0x2230x19[_0x232a[17]][_0x232a[195]]= _0x232a[196];_0x2230x19[_0x232a[17]][_0x232a[170]]= (_0x2230x18+ _0x2230x1a)+ _0x232a[139];_0x2230x19[_0x232a[17]][_0x232a[155]]= (_0x2230xf+ _0x2230x1a)+ _0x232a[139];_0x2230x19[_0x232a[17]][_0x232a[125]]= _0x2230xd+ _0x232a[139];_0x2230x19[_0x232a[17]][_0x232a[127]]= _0x2230xe+ _0x232a[139];_0x2230x19[_0x232a[17]][_0x232a[16]]= _0x232a[151];_0x2230x19[_0x232a[17]][_0x232a[197]]= _0x232a[151];_0x2230x19[_0x232a[17]][_0x232a[198]]= _0x232a[151];_0x2230x15[_0x232a[21]](_0x2230x19);if(this[_0x232a[109]]&& _0x2230x9!= null){var _0x2230x1b=(mxClient[_0x232a[136]])?2* this[_0x232a[107]]+ 2:0;_0x2230x15[_0x232a[17]][_0x232a[127]]= (this[_0x232a[106]]+ _0x2230x1b+ this[_0x232a[108]]+ 8)+ _0x232a[139];var _0x2230x1c=document[_0x232a[7]](_0x232a[6]);_0x2230x1c[_0x232a[17]][_0x232a[199]]= this[_0x232a[108]]+ _0x232a[139];_0x2230x1c[_0x232a[17]][_0x232a[144]]= _0x232a[145];_0x2230x1c[_0x232a[17]][_0x232a[200]]= _0x232a[201];if(mxClient[_0x232a[202]]){_0x2230x1c[_0x232a[17]][_0x232a[127]]= (this[_0x232a[108]]+ 12)+ _0x232a[139]};_0x2230x1c[_0x232a[17]][_0x232a[147]]= _0x232a[203];mxUtils[_0x232a[152]](_0x2230x1c,_0x2230x9);_0x2230x15[_0x232a[21]](_0x2230x1c)}};Sidebar[_0x232a[40]][_0x232a[204]]= function(_0x2230x8,_0x2230x9,_0x2230xa){var _0x2230x7=document[_0x232a[7]](_0x232a[177]);_0x2230x7[_0x232a[169]](_0x232a[178],_0x232a[179]);_0x2230x7[_0x232a[115]]= _0x232a[205];_0x2230x7[_0x232a[17]][_0x232a[137]]= _0x232a[18];var _0x2230x1b=(mxClient[_0x232a[136]])?8+ 2* this[_0x232a[107]]:6;_0x2230x7[_0x232a[17]][_0x232a[125]]= (this[_0x232a[105]]+ _0x2230x1b)+ _0x232a[139];_0x2230x7[_0x232a[17]][_0x232a[127]]= (this[_0x232a[106]]+ _0x2230x1b)+ _0x232a[139];_0x2230x7[_0x232a[17]][_0x232a[206]]= this[_0x232a[107]]+ _0x232a[139];mxEvent[_0x232a[26]](_0x2230x7,_0x232a[207],function(_0x2230x4){mxEvent[_0x232a[208]](_0x2230x4)});this[_0x232a[181]](_0x2230x8,this[_0x232a[105]],this[_0x232a[106]],_0x2230x7,_0x2230x9,_0x2230xa);return _0x2230x7};Sidebar[_0x232a[40]][_0x232a[209]]= function(_0x2230x8,_0x2230x1d){return function(_0x2230x1e,_0x2230x4,_0x2230x1f,_0x2230x20,_0x2230x21){if(_0x2230x1e[_0x232a[210]]()){_0x2230x8= _0x2230x1e[_0x232a[211]](_0x2230x8);if(_0x2230x8[_0x232a[140]]> 0){var _0x2230x22=(_0x2230x1f!= null)?_0x2230x1e[_0x232a[212]](_0x2230x1f,_0x2230x8,_0x2230x4):false;var _0x2230x23=null;if(_0x2230x1f!= null&&  !_0x2230x22){_0x2230x1f= null};if(_0x2230x1d&& _0x2230x1e[_0x232a[213]]()&& _0x2230x1e[_0x232a[214]](_0x2230x1f,_0x2230x8,_0x2230x4)){_0x2230x1e[_0x232a[215]](_0x2230x1f,_0x2230x8,null,_0x2230x20,_0x2230x21);_0x2230x23= _0x2230x8}else {if(_0x2230x8[_0x232a[140]]> 0){_0x2230x23= _0x2230x1e[_0x232a[216]](_0x2230x8,_0x2230x20,_0x2230x21,_0x2230x1f)}};if(_0x2230x23!= null&& _0x2230x23[_0x232a[140]]> 0){_0x2230x1e[_0x232a[217]](_0x2230x23[0]);_0x2230x1e[_0x232a[218]](_0x2230x23)}}}}};Sidebar[_0x232a[40]][_0x232a[219]]= function(_0x2230xd,_0x2230xe){var _0x2230x7=document[_0x232a[7]](_0x232a[6]);_0x2230x7[_0x232a[17]][_0x232a[220]]= _0x232a[221];_0x2230x7[_0x232a[17]][_0x232a[125]]= _0x2230xd+ _0x232a[139];_0x2230x7[_0x232a[17]][_0x232a[127]]= _0x2230xe+ _0x232a[139];return _0x2230x7};Sidebar[_0x232a[40]][_0x232a[222]]= function(_0x2230x7,_0x2230x24,_0x2230x25){var _0x2230x26=mxUtils[_0x232a[224]](_0x2230x7,this[_0x232a[1]][_0x232a[9]][_0x232a[5]],_0x2230x24,_0x2230x25,0,0,this[_0x232a[1]][_0x232a[9]][_0x232a[5]][_0x232a[223]],true,true);_0x2230x26[_0x232a[225]]= function(_0x2230x1e,_0x2230x20,_0x2230x21){var _0x2230x1f=mxDragSource[_0x232a[40]][_0x232a[225]][_0x232a[226]](this,arguments);if(!_0x2230x1e[_0x232a[227]](_0x2230x1f)){_0x2230x1f= null};return _0x2230x1f};return _0x2230x26};Sidebar[_0x232a[40]][_0x232a[228]]= function(_0x2230x7,_0x2230x27){var _0x2230x1e=this[_0x232a[1]][_0x232a[9]][_0x232a[5]];var _0x2230x28=null;mxEvent[_0x232a[231]](_0x2230x7,function(_0x2230x4){_0x2230x28=  new mxPoint(mxEvent[_0x232a[229]](_0x2230x4),mxEvent[_0x232a[230]](_0x2230x4))});var _0x2230x29=_0x2230x27[_0x232a[232]];_0x2230x27[_0x232a[232]]= function(_0x2230x4){if(!mxEvent[_0x232a[233]](_0x2230x4)&& this[_0x232a[234]]== null&& _0x2230x28!= null){var _0x2230x2a=_0x2230x1e[_0x232a[235]];if(Math[_0x232a[236]](_0x2230x28[_0x232a[157]]- mxEvent[_0x232a[229]](_0x2230x4))<= _0x2230x2a&& Math[_0x232a[236]](_0x2230x28[_0x232a[159]]- mxEvent[_0x232a[230]](_0x2230x4))<= _0x2230x2a){var _0x2230x2b=_0x2230x1e[_0x232a[237]]();_0x2230x27[_0x232a[238]](_0x2230x1e,_0x2230x4,null,_0x2230x2b,_0x2230x2b)}};_0x2230x29[_0x232a[226]](this,arguments);_0x2230x28= null}};Sidebar[_0x232a[40]][_0x232a[239]]= function(_0x2230x2c,_0x2230x14,_0x2230x2d,_0x2230x2e){var _0x2230x2f=mxUtils[_0x232a[239]]();var _0x2230x19=_0x2230x2f[_0x232a[7]](_0x2230x2c);_0x2230x19[_0x232a[169]](_0x232a[240],_0x2230x14);_0x2230x2d[_0x232a[241]](function(_0x2230x30,_0x2230x31){_0x2230x19[_0x232a[169]](_0x2230x30,_0x2230x2e[_0x2230x31]?_0x2230x2e[_0x2230x31]:_0x232a[151])});return _0x2230x19};Sidebar[_0x232a[40]][_0x232a[242]]= function(_0x2230x32,_0x2230xd,_0x2230xe,_0x2230x33,_0x2230x9,_0x2230xa){var _0x2230x2d=[];var _0x2230x2e=[];switch(_0x2230x33){case _0x232a[52]:break;case _0x232a[79]:_0x2230x2d= [_0x232a[243],_0x232a[133],_0x232a[244],_0x232a[245],_0x232a[246],_0x232a[247]];_0x2230x2e= [_0x232a[151],0,_0x232a[248],1,_0x232a[249],true];break;case _0x232a[63]:_0x2230x2d= [_0x232a[250],_0x232a[251]];_0x2230x2e= [_0x232a[252]];break;case _0x232a[257]:_0x2230x2d= [_0x232a[250],_0x232a[253],_0x232a[254]];_0x2230x2e= [_0x232a[252],_0x232a[255],_0x232a[256]];break;case _0x232a[65]:_0x2230x2d= [_0x232a[250],_0x232a[253],_0x232a[254],_0x232a[258],_0x232a[259]];_0x2230x2e= [_0x232a[252],_0x232a[255],_0x232a[256],_0x232a[256],_0x232a[252]];break;case _0x232a[71]:_0x2230x2d= [_0x232a[250],_0x232a[253],_0x232a[260],_0x232a[261],_0x232a[258],_0x232a[259]];_0x2230x2e= [_0x232a[252],_0x232a[255],_0x232a[256],_0x232a[262],_0x232a[256],_0x232a[252]];break;case _0x232a[72]:_0x2230x2d= [_0x232a[250],_0x232a[253],_0x232a[260],_0x232a[261],_0x232a[258],_0x232a[263],_0x232a[264],_0x232a[259]];_0x2230x2e= [_0x232a[252],_0x232a[255],_0x232a[256],_0x232a[262],_0x232a[256],_0x232a[252],_0x232a[265],_0x232a[252]];break;case _0x232a[97]:_0x2230x2d= [_0x232a[266],_0x232a[267]];_0x2230x2e= [_0x232a[151],_0x232a[151]];break;case _0x232a[61]:_0x2230x2d= [_0x232a[259],_0x232a[268]];_0x2230x2e= [_0x232a[252],_0x232a[151]];break;case _0x232a[78]:_0x2230x2d= [_0x232a[269],_0x232a[270],_0x232a[259]];_0x2230x2e= [_0x232a[252],_0x232a[151],_0x232a[252]];break;case _0x232a[93]:_0x2230x2d= [_0x232a[271]];_0x2230x2e= [];break;case _0x232a[84]:_0x2230x2d= [_0x232a[272],_0x232a[273]];_0x2230x2e= [];break;case _0x232a[94]:_0x2230x2d= [_0x232a[259],_0x232a[274]];_0x2230x2e= [];break;case _0x232a[95]:_0x2230x2d= [_0x232a[275],_0x232a[274]];_0x2230x2e= [];break;case _0x232a[85]:_0x2230x2d= [_0x232a[276]];_0x2230x2e= [];break;case _0x232a[86]:_0x2230x2d= [_0x232a[277]];_0x2230x2e= [_0x232a[252]];break;case _0x232a[278]:_0x2230x2d= [_0x232a[277]];_0x2230x2e= [_0x232a[252]];break;case _0x232a[87]:_0x2230x2d= [_0x232a[259]];_0x2230x2e= [_0x232a[252]];break;case _0x232a[66]:_0x2230x2d= [_0x232a[279],_0x232a[280]];_0x2230x2e= [_0x232a[151],_0x232a[249]];break;case _0x232a[67]:_0x2230x2d= [_0x232a[281],_0x232a[280]];_0x2230x2e= [_0x232a[151],_0x232a[249]];break;case _0x232a[68]:_0x2230x2d= [_0x232a[282],_0x232a[280]];_0x2230x2e= [_0x232a[151],_0x232a[249]];break;case _0x232a[75]:_0x2230x2d= [_0x232a[283],_0x232a[245],_0x232a[280]];_0x2230x2e= [_0x232a[151],_0x232a[284],_0x232a[249]];break;case _0x232a[54]:_0x2230x2d= [_0x232a[285],_0x232a[245],_0x232a[97],_0x232a[286]];_0x2230x2e= [_0x232a[252],_0x232a[287]];break;case _0x232a[55]:_0x2230x2d= [_0x232a[288],_0x232a[289],_0x232a[245],_0x232a[251],_0x232a[286]];_0x2230x2e= [_0x232a[151],_0x232a[284],_0x232a[287]];break;case _0x232a[69]:_0x2230x2d= [_0x232a[282],_0x232a[290]];_0x2230x2e= [_0x232a[151],_0x232a[291]];break;case _0x232a[70]:_0x2230x2d= [_0x232a[282],_0x232a[243],_0x232a[292],_0x232a[293],_0x232a[246]];_0x2230x2e= [_0x232a[151],_0x232a[151],_0x232a[294],_0x232a[252],_0x232a[249]];break;case _0x232a[56]:_0x2230x2d= [_0x232a[295],_0x232a[251],_0x232a[286],_0x232a[250],_0x232a[245],_0x232a[95],_0x232a[296],_0x232a[297],_0x232a[19]];_0x2230x2e= [_0x232a[284],_0x232a[151],_0x232a[151],_0x232a[252],_0x232a[298]];break;case _0x232a[57]:_0x2230x2d= [_0x232a[299],_0x232a[267]];_0x2230x2e= [_0x232a[151],_0x232a[151]];break;case _0x232a[96]:_0x2230x2d= [_0x232a[300]];_0x2230x2e= [_0x232a[252]];break;case _0x232a[62]:_0x2230x2d= [_0x232a[301],_0x232a[259]];_0x2230x2e= [_0x232a[151],_0x232a[252]];break;case _0x232a[310]:_0x2230x2d= [_0x232a[302],_0x232a[303],_0x232a[304],_0x232a[305],_0x232a[306],_0x232a[307],_0x232a[308],_0x232a[309]];_0x2230x2e= [];break;case _0x232a[90]:_0x2230x2d= [_0x232a[311]];_0x2230x2e= [];break;case _0x232a[58]:_0x2230x2d= [_0x232a[312],_0x232a[288],_0x232a[313],_0x232a[314]];_0x2230x2e= [_0x232a[151],_0x232a[315],_0x232a[252],_0x232a[255]];break;case _0x232a[80]:_0x2230x2d= [_0x232a[316],_0x232a[317],_0x232a[318]];_0x2230x2e= [_0x232a[252]];break;case _0x232a[81]:_0x2230x2d= [_0x232a[316],_0x232a[317],_0x232a[319],_0x232a[320],_0x232a[282]];_0x2230x2e= [_0x232a[252]];break;default:_0x2230x2d= [];_0x2230x2e= [];break};var _0x2230x19=this[_0x232a[239]](_0x2230x33,_0x2230x9,_0x2230x2d,_0x2230x2e);var _0x2230x8=[ new mxCell(_0x2230x19, new mxGeometry(0,0,_0x2230xd,_0x2230xe),_0x2230x32)];_0x2230x8[0][_0x232a[321]]= true;return this[_0x232a[322]](_0x2230x8,_0x2230xd,_0x2230xe,_0x2230x9,_0x2230xa)};Sidebar[_0x232a[40]][_0x232a[322]]= function(_0x2230x8,_0x2230xd,_0x2230xe,_0x2230x9,_0x2230xa){var _0x2230x7=this[_0x232a[204]](_0x2230x8,_0x2230x9,_0x2230xa);var _0x2230x27=this[_0x232a[222]](_0x2230x7,this[_0x232a[209]](_0x2230x8,true),this[_0x232a[219]](_0x2230xd,_0x2230xe));this[_0x232a[228]](_0x2230x7,_0x2230x27);_0x2230x27[_0x232a[323]]= mxUtils[_0x232a[25]](this,function(){return this[_0x232a[1]][_0x232a[9]][_0x232a[5]][_0x232a[325]][_0x232a[324]]});if(!touchStyle){mxEvent[_0x232a[26]](_0x2230x7,_0x232a[30],mxUtils[_0x232a[25]](this,function(_0x2230x4){this[_0x232a[111]](_0x2230x7,_0x2230x8,_0x2230x9,_0x2230xa)}))};return _0x2230x7};Sidebar[_0x232a[40]][_0x232a[326]]= function(_0x2230x32,_0x2230xd,_0x2230xe,_0x2230x33,_0x2230x9,_0x2230xa){var _0x2230x8=[ new mxCell((_0x2230x33!= null)?_0x2230x33:_0x232a[151], new mxGeometry(0,0,_0x2230xd,_0x2230xe),_0x2230x32)];_0x2230x8[0][_0x232a[328]][_0x232a[327]]( new mxPoint(0,_0x2230xe),true);_0x2230x8[0][_0x232a[328]][_0x232a[327]]( new mxPoint(_0x2230xd,0),false);_0x2230x8[0][_0x232a[328]][_0x232a[122]]= true;_0x2230x8[0][_0x232a[329]]= true;return this[_0x232a[330]](_0x2230x8,_0x2230xd,_0x2230xe,_0x2230x9,_0x2230xa)};Sidebar[_0x232a[40]][_0x232a[330]]= function(_0x2230x8,_0x2230xd,_0x2230xe,_0x2230x9,_0x2230xa){var _0x2230x7=this[_0x232a[204]](_0x2230x8,_0x2230x9,_0x2230xa);this[_0x232a[222]](_0x2230x7,this[_0x232a[209]](_0x2230x8,false),this[_0x232a[219]](_0x2230xd,_0x2230xe));var _0x2230x1e=this[_0x232a[1]][_0x232a[9]][_0x232a[5]];mxEvent[_0x232a[26]](_0x2230x7,_0x232a[207],mxUtils[_0x232a[25]](this,function(_0x2230x4){if(this[_0x232a[102]]){_0x2230x1e[_0x232a[331]](_0x2230x8[0])};_0x2230x7[_0x232a[17]][_0x232a[332]]= _0x232a[333];window[_0x232a[175]](function(){_0x2230x7[_0x232a[17]][_0x232a[332]]= _0x232a[151]},300);mxEvent[_0x232a[208]](_0x2230x4)}));if(!touchStyle){mxEvent[_0x232a[26]](_0x2230x7,_0x232a[30],mxUtils[_0x232a[25]](this,function(_0x2230x4){this[_0x232a[111]](_0x2230x7,_0x2230x8,_0x2230x9,_0x2230xa)}))};return _0x2230x7};Sidebar[_0x232a[40]][_0x232a[334]]= function(_0x2230x34,_0x2230x9,_0x2230x35,_0x2230x36){var _0x2230x7=this[_0x232a[176]](_0x2230x9);this[_0x232a[2]][_0x232a[21]](_0x2230x7);var _0x2230x1c=document[_0x232a[7]](_0x232a[6]);_0x2230x1c[_0x232a[115]]= _0x232a[335];if(_0x2230x35){_0x2230x36(_0x2230x1c);_0x2230x36= null}else {_0x2230x1c[_0x232a[17]][_0x232a[129]]= _0x232a[156]};this[_0x232a[336]](_0x2230x7,_0x2230x1c,_0x2230x36);var _0x2230x37=document[_0x232a[7]](_0x232a[6]);_0x2230x37[_0x232a[21]](_0x2230x1c);this[_0x232a[2]][_0x232a[21]](_0x2230x37);if(_0x2230x34!= null){this[_0x232a[3]][_0x2230x34]= [_0x2230x7,_0x2230x37]}};Sidebar[_0x232a[40]][_0x232a[336]]= function(_0x2230x9,_0x2230x38,_0x2230x39){var _0x2230x3a=false;_0x2230x9[_0x232a[17]][_0x232a[192]]= (_0x2230x38[_0x232a[17]][_0x232a[129]]== _0x232a[156])?_0x232a[193]+ IMAGE_PATH+ _0x232a[337]:_0x232a[193]+ IMAGE_PATH+ _0x232a[338];_0x2230x9[_0x232a[17]][_0x232a[339]]= _0x232a[340];_0x2230x9[_0x232a[17]][_0x232a[341]]= _0x232a[342];mxEvent[_0x232a[26]](_0x2230x9,_0x232a[207],function(_0x2230x4){if(_0x2230x38[_0x232a[17]][_0x232a[129]]== _0x232a[156]){if(!_0x2230x3a){_0x2230x3a= true;if(_0x2230x39!= null){_0x2230x9[_0x232a[17]][_0x232a[195]]= _0x232a[343];window[_0x232a[175]](function(){_0x2230x39(_0x2230x38);_0x2230x9[_0x232a[17]][_0x232a[195]]= _0x232a[151]},0)}};_0x2230x9[_0x232a[17]][_0x232a[192]]= _0x232a[193]+ IMAGE_PATH+ _0x232a[338];_0x2230x38[_0x232a[17]][_0x232a[129]]= _0x232a[130]}else {_0x2230x9[_0x232a[17]][_0x232a[192]]= _0x232a[193]+ IMAGE_PATH+ _0x232a[337];_0x2230x38[_0x232a[17]][_0x232a[129]]= _0x232a[156]};mxEvent[_0x232a[208]](_0x2230x4)})};Sidebar[_0x232a[40]][_0x232a[344]]= function(_0x2230x34){var _0x2230x3b=this[_0x232a[3]][_0x2230x34];if(_0x2230x3b!= null){this[_0x232a[3]][_0x2230x34]= null;for(var _0x2230x3c=0;_0x2230x3c< _0x2230x3b[_0x232a[140]];_0x2230x3c++){this[_0x232a[2]][_0x232a[345]](_0x2230x3b[_0x2230x3c])};return true};return false};Sidebar[_0x232a[40]][_0x232a[49]]= function(_0x2230x34,_0x2230x9,_0x2230x3d,_0x2230x3e,_0x2230x3f,_0x2230x40){this[_0x232a[334]](_0x2230x34,_0x2230x9,(_0x2230x34=== _0x232a[42]),mxUtils[_0x232a[25]](this,function(_0x2230x38){var _0x2230x41=_0x2230x40!= null;for(var _0x2230x3c=0;_0x2230x3c< _0x2230x3f[_0x232a[140]];_0x2230x3c++){var _0x2230x42=_0x2230x3d+ _0x2230x3f[_0x2230x3c]+ _0x2230x3e;_0x2230x38[_0x232a[21]](this[_0x232a[242]](_0x232a[346]+ _0x2230x42,80,80,_0x2230x3f[_0x2230x3c],(_0x2230x41)?_0x2230x40[_0x2230x3c]:null,_0x2230x41))}}))}
\ No newline at end of file