diff options
author | j180240 <jiaxiangli@huawei.com> | 2016-09-13 15:37:48 +0800 |
---|---|---|
committer | j180240 <jiaxiangli@huawei.com> | 2016-09-13 15:37:48 +0800 |
commit | 9230369a383b8bdd4b51940c69000a4fbc4aa6b1 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /openoiui-standlone/src/main/assembly | |
parent | d0cd8bdedcb2809d51ff960af8e8a39aed732fe9 (diff) |
clear the old code.
Change-Id: I6e3116979251f69e728f2a20006421948e1c4b35
Signed-off-by: j180240 <jiaxiangli@huawei.com>
Diffstat (limited to 'openoiui-standlone/src/main/assembly')
31 files changed, 0 insertions, 2136 deletions
diff --git a/openoiui-standlone/src/main/assembly/run.bat b/openoiui-standlone/src/main/assembly/run.bat deleted file mode 100644 index d345ea91..00000000 --- a/openoiui-standlone/src/main/assembly/run.bat +++ /dev/null @@ -1,20 +0,0 @@ -@REM
-@REM Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-@echo off
-title openoiui-service
-set RUNHOME=%~dp0
-cd /d %RUNHOME%
-"%JAVA_HOME%\bin\java.exe" -jar openoiui.jar
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/run.sh b/openoiui-standlone/src/main/assembly/run.sh deleted file mode 100644 index 7b363ab0..00000000 --- a/openoiui-standlone/src/main/assembly/run.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash
-DIRNAME=`dirname $0`
-RUNHOME=`cd $DIRNAME/; pwd`
-cd $RUNHOME
-$JAVA_HOME/bin/java -Djava.security.egd=file:/dev/urandom -jar openoiui.jar
diff --git a/openoiui-standlone/src/main/assembly/stop.bat b/openoiui-standlone/src/main/assembly/stop.bat deleted file mode 100644 index 6de98b76..00000000 --- a/openoiui-standlone/src/main/assembly/stop.bat +++ /dev/null @@ -1,34 +0,0 @@ -@REM
-@REM Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-@echo off
-title stopping openoiui-service
-
-set HOME=%~dp0
-set Main_Class="openoiui.jar"
-
-echo ================== umc-service info =============================================
-echo HOME=$HOME
-echo Main_Class=%Main_Class%
-echo ===============================================================================
-
-echo ### Stopping umc-service
-cd /d %HOME%
-
-rem set JAVA_HOME=D:\WorkSoftware\jdk1.7.0_60
-for /f "delims=" %%i in ('"%JAVA_HOME%\bin\jcmd"') do (
- call find_kill_process "%%i" %Main_Class%
-)
-exit
diff --git a/openoiui-standlone/src/main/assembly/stop.sh b/openoiui-standlone/src/main/assembly/stop.sh deleted file mode 100644 index 77513ba1..00000000 --- a/openoiui-standlone/src/main/assembly/stop.sh +++ /dev/null @@ -1,43 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-#!/bin/bash
-DIRNAME=`dirname $0`
-HOME=`cd $DIRNAME/; pwd`
-Main_Class="openoiui.jar"
-
-echo ================== umc-service info =============================================
-echo HOME=$HOME
-echo Main_Class=$Main_Class
-echo ===============================================================================
-cd $HOME; pwd
-
-echo @WORK_DIR@ $HOME
-
-function save_service_pid(){
- service_pid=`ps -ef | grep $Main_Class | grep -v grep | awk '{print $2}'`
- echo @service_pid@ $service_pid
-}
-
-function kill_service_process(){
- ps -p $service_pid
- if [ $? == 0 ]; then
- kill -9 $service_pid
- fi
-}
-
-save_service_pid;
-echo @C_CMD@ kill -9 $service_pid
-kill_service_process;
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/component/openotopo/openotopo.js b/openoiui-standlone/src/main/assembly/webroot/component/openotopo/openotopo.js deleted file mode 100644 index b106a38d..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/component/openotopo/openotopo.js +++ /dev/null @@ -1,302 +0,0 @@ -
-/**openo tools**/
-// generate a random graph
-function oTopo() {
-
- var topo;
-
- /**
- * <Creat topological graph object>
- * @param id: The id of DIV which display topological graph.
- * @param settings: Init parameters .
- * @see []
- */
- this.canvas = function (id, settings)
- {
- var g =
- {
- nodes : [],// nodes
- edges : [] // links
- };
-
- topo = new sigma(
- {
- graph : g,
- renderer :
- {
- // IMPORTANT:
- // This works only with the canvas renderer, so the
- // renderer type set as "canvas" is necessary here.
- container : document.getElementById(id),
- type : 'canvas'
- },
- settings : settings
- });
-
- CustomShapes.init(topo);
- };
-
-
- /**
- * <Refresh topological graph object>
- * @see []
- */
- this.refresh = function()
- {
- topo.refresh();
- };
-
-
- /**
- * <Creat node object>
- * @param id: The id of node.
- * @see []
- */
- this.Node = function(id)
- {
- var pr = this;
- this.id = id,
- this.label = "",
- this.type = "square",/**equilateral,star,square,diamond,circle,cross**/
- this.x = 1,
- this.y = 1,
- this.size = 10,
- this.image = {};
- this.color = "transparent",
- this.borderColor = "#1E90FF",
-
- this.setName = function(v)
- {
- pr.label = v;
- };
-
- this.setType = function(v)
- {
- pr.type = v;
- };
-
- this.setSize = function(v)
- {
- pr.size = v;
- };
-
- this.setImg = function(url)
- {
- pr.image =
- {
- url : url,
- // scale/clip are ratio values applied on top of 'size'
- scale : 1,
- clip : 0,
- };
- pr.borderColor = "transparent";
- pr.color = "transparent";
- };
-
- this.setImgScale = function(s)
- {
- pr.image.scale = s;
- };
-
- this.setImgClip = function(c)
- {
- pr.image.clip = c;
- };
-
- this.setColor = function(v)
- {
- pr.color = v;
- };
-
- this.setBorderColor = function(v)
- {
- pr.borderColor = v;
- };
-
- this.setLocation = function(x,y)
- {
- pr.x = x;
- pr.y = y;
- };
-
- this.setProperty = function(k,v)
- {
- pr[k] = v;
- };
- };
-
- /**
- * <Creat link object>
- * @param id: The id of link.
- * @see []
- */
- this.Link = function(id)
- {
- var pr = this;
- this.id = id,
- this.type = "arrow",/*'line','curve','arrow','curvedArrow','dashed','dotted','parallel','tapered'*/
- this.source = 1,
- this.target = 1,
- this.size = Math.random(),
- this.color = "#1E90FF",
-
- this.setType = function(v)
- {
- pr.type = v;
- };
-
- this.setSize = function(v)
- {
- pr.size = v;
- };
-
- this.setConnect = function(s,t)
- {
- pr.source = s;
- pr.target = t;
- };
-
- this.setColor = function(v)
- {
- pr.color = v;
- };
-
- this.setProperty = function(k,v)
- {
- pr[k] = v;
- };
- };
-
- /**
- * <Add node to the topological graph>
- * @param v: Node object.
- * @see []
- */
- this.addNode = function(v)
- {
- topo.graph.addNode(v);
- };
-
- /**
- * <Delete node from the topological graph>
- * @param id: The id of node.
- * @see []
- */
- this.dropNode = function(id)
- {
- topo.graph.dropNode(id);
- };
-
-
- /**
- * <Add link to the topological graph>
- * @param v: Link object.
- * @see []
- */
- this.addLink = function(v)
- {
- topo.graph.addEdge(v);
- };
-
- /**
- * <Delete link from the topological graph>
- * @param id: The id of link.
- * @see []
- */
- this.dropLink = function(id)
- {
- topo.graph.dropEdge(id);
- };
-
- /**
- * <Returns all of the nodes>
- * @see []
- */
- this.allNodes = function()
- {
- return topo.graph.nodes();
- };
-
- /**
- * Define drag and drop object.
- */
- var dragListener = null;
-
- /**
- * <Set the node drag and drop>
- * @param b: The node can be dragged and dropped when the parameter is TRUE.Set after canvas init.
- * @see []
- */
- this.setDrag = function(b)
- {
- if (b)
- {
- dragListener = sigma.plugins.dragNodes(topo, topo.renderers[0]);
- }
- };
-
- /**
- * <Binding the event of drag and drop>
- * @param method: The binding method include:startdrag,drag,drop,dragend.
- * @param e: Callback method.
- * @see []
- */
- var dragBind = function(method,e)
- {
- if (null != dragListener)
- {
- dragListener.bind(method, function(event){
- e(event);
- });
- }
- };
-
-
- /**
- * <Binding the event of mouse>
- * @param method: The binding method include:rightClick,clickStage,doubleClickStage,rightClickStage,clickNode,clickNodes,clickEdge,
- * clickEdges,doubleClickNode,doubleClickNodes,doubleClickEdge,doubleClickEdges,rightClickNode,
- * rightClickNodes,rightClickEdge,rightClickEdges,overNode,overNodes,overEdge,overEdges,outNode,
- * outNodes,outEdge,outEdges,downNode,downNodes,downEdge,downEdges,upNode,upNodes,upEdge,upEdges
- * @param e Callback method.
- * @see []
- */
- this.mouseBind = function(method,e)
- {
- if (null != topo)
- {
- topo.bind(method, function(event){
- e(event);
- });
- }
- };
-
-
- /**
- * <Disable the right mouse button for browser>
- * @param obj: The object to be disabled.
- * @see []
- */
- this.noright = function(obj) {
- if (obj) {
- obj.oncontextmenu = function() {
- return false;
- }
- obj.ondragstart = function() {
- return false;
- }
- obj.onselectstart = function() {
- return false;
- }
- obj.onselect = function() {
- obj.selection.empty();
- }
- obj.oncopy = function() {
- obj.selection.empty();
- }
- obj.onbeforecopy = function() {
- return false;
- }
- }
- }
-}
diff --git a/openoiui-standlone/src/main/assembly/webroot/component/openotopo/openotopo.min.js b/openoiui-standlone/src/main/assembly/webroot/component/openotopo/openotopo.min.js deleted file mode 100644 index 7c180da2..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/component/openotopo/openotopo.min.js +++ /dev/null @@ -1,18 +0,0 @@ -/* sigma.js - A JavaScript library dedicated to graph drawing. - Version: 1.0.3 - Author: Alexis Jacomy, Sciences-Po Médialab - License: MIT */
-(function(a){"use strict";var b={},c=function(a){var d,e,f,g,h;c.classes.dispatcher.extend(this);var i=this,j=a||{};if("string"==typeof j||j instanceof HTMLElement?j={renderers:[j]}:"[object Array]"===Object.prototype.toString.call(j)&&(j={renderers:j}),g=j.renderers||j.renderer||j.container,j.renderers&&0!==j.renderers.length||("string"==typeof g||g instanceof HTMLElement||"object"==typeof g&&"container"in g)&&(j.renderers=[g]),j.id){if(b[j.id])throw'sigma: Instance "'+j.id+'" already exists.';Object.defineProperty(this,"id",{value:j.id})}else{for(h=0;b[h];)h++;Object.defineProperty(this,"id",{value:""+h})}for(b[this.id]=this,this.settings=new c.classes.configurable(c.settings,j.settings||{}),Object.defineProperty(this,"graph",{value:new c.classes.graph(this.settings),configurable:!0}),Object.defineProperty(this,"middlewares",{value:[],configurable:!0}),Object.defineProperty(this,"cameras",{value:{},configurable:!0}),Object.defineProperty(this,"renderers",{value:{},configurable:!0}),Object.defineProperty(this,"renderersPerCamera",{value:{},configurable:!0}),Object.defineProperty(this,"cameraFrames",{value:{},configurable:!0}),Object.defineProperty(this,"camera",{get:function(){return this.cameras[0]}}),Object.defineProperty(this,"events",{value:["click","rightClick","clickStage","doubleClickStage","rightClickStage","clickNode","clickNodes","doubleClickNode","doubleClickNodes","rightClickNode","rightClickNodes","overNode","overNodes","outNode","outNodes","downNode","downNodes","upNode","upNodes"],configurable:!0}),this._handler=function(a){var b,c={};for(b in a.data)c[b]=a.data[b];c.renderer=a.target,this.dispatchEvent(a.type,c)}.bind(this),f=j.renderers||[],d=0,e=f.length;e>d;d++)this.addRenderer(f[d]);for(f=j.middlewares||[],d=0,e=f.length;e>d;d++)this.middlewares.push("string"==typeof f[d]?c.middlewares[f[d]]:f[d]);"object"==typeof j.graph&&j.graph&&(this.graph.read(j.graph),this.refresh()),window.addEventListener("resize",function(){i.settings&&i.refresh()})};if(c.prototype.addCamera=function(b){var d,e=this;if(!arguments.length){for(b=0;this.cameras[""+b];)b++;b=""+b}if(this.cameras[b])throw'sigma.addCamera: The camera "'+b+'" already exists.';return d=new c.classes.camera(b,this.graph,this.settings),this.cameras[b]=d,d.quadtree=new c.classes.quad,c.classes.edgequad!==a&&(d.edgequadtree=new c.classes.edgequad),d.bind("coordinatesUpdated",function(a){e.renderCamera(d,d.isAnimated)}),this.renderersPerCamera[b]=[],d},c.prototype.killCamera=function(a){if(a="string"==typeof a?this.cameras[a]:a,!a)throw"sigma.killCamera: The camera is undefined.";var b,c,d=this.renderersPerCamera[a.id];for(c=d.length,b=c-1;b>=0;b--)this.killRenderer(d[b]);return delete this.renderersPerCamera[a.id],delete this.cameraFrames[a.id],delete this.cameras[a.id],a.kill&&a.kill(),this},c.prototype.addRenderer=function(a){var b,d,e,f,g=a||{};if("string"==typeof g?g={container:document.getElementById(g)}:g instanceof HTMLElement&&(g={container:g}),"string"==typeof g.container&&(g.container=document.getElementById(g.container)),"id"in g)b=g.id;else{for(b=0;this.renderers[""+b];)b++;b=""+b}if(this.renderers[b])throw'sigma.addRenderer: The renderer "'+b+'" already exists.';if(d="function"==typeof g.type?g.type:c.renderers[g.type],d=d||c.renderers.def,e="camera"in g?g.camera instanceof c.classes.camera?g.camera:this.cameras[g.camera]||this.addCamera(g.camera):this.addCamera(),this.cameras[e.id]!==e)throw"sigma.addRenderer: The camera is not properly referenced.";return f=new d(this.graph,e,this.settings,g),this.renderers[b]=f,Object.defineProperty(f,"id",{value:b}),f.bind&&f.bind(["click","rightClick","clickStage","doubleClickStage","rightClickStage","clickNode","clickNodes","clickEdge","clickEdges","doubleClickNode","doubleClickNodes","doubleClickEdge","doubleClickEdges","rightClickNode","rightClickNodes","rightClickEdge","rightClickEdges","overNode","overNodes","overEdge","overEdges","outNode","outNodes","outEdge","outEdges","downNode","downNodes","downEdge","downEdges","upNode","upNodes","upEdge","upEdges"],this._handler),this.renderersPerCamera[e.id].push(f),f},c.prototype.killRenderer=function(a){if(a="string"==typeof a?this.renderers[a]:a,!a)throw"sigma.killRenderer: The renderer is undefined.";var b=this.renderersPerCamera[a.camera.id],c=b.indexOf(a);return c>=0&&b.splice(c,1),a.kill&&a.kill(),delete this.renderers[a.id],this},c.prototype.refresh=function(b){var d,e,f,g,h,i,j=0;for(b=b||{},g=this.middlewares||[],d=0,e=g.length;e>d;d++)g[d].call(this,0===d?"":"tmp"+j+":",d===e-1?"ready:":"tmp"+ ++j+":");for(f in this.cameras)h=this.cameras[f],h.settings("autoRescale")&&this.renderersPerCamera[h.id]&&this.renderersPerCamera[h.id].length?c.middlewares.rescale.call(this,g.length?"ready:":"",h.readPrefix,{width:this.renderersPerCamera[h.id][0].width,height:this.renderersPerCamera[h.id][0].height}):c.middlewares.copy.call(this,g.length?"ready:":"",h.readPrefix),b.skipIndexation||(i=c.utils.getBoundaries(this.graph,h.readPrefix),h.quadtree.index(this.graph.nodes(),{prefix:h.readPrefix,bounds:{x:i.minX,y:i.minY,width:i.maxX-i.minX,height:i.maxY-i.minY}}),h.edgequadtree!==a&&h.settings("drawEdges")&&h.settings("enableEdgeHovering")&&h.edgequadtree.index(this.graph,{prefix:h.readPrefix,bounds:{x:i.minX,y:i.minY,width:i.maxX-i.minX,height:i.maxY-i.minY}}));for(g=Object.keys(this.renderers),d=0,e=g.length;e>d;d++)if(this.renderers[g[d]].process)if(this.settings("skipErrors"))try{this.renderers[g[d]].process()}catch(k){console.log('Warning: The renderer "'+g[d]+'" crashed on ".process()"')}else this.renderers[g[d]].process();return this.render(),this},c.prototype.render=function(){var a,b,c;for(c=Object.keys(this.renderers),a=0,b=c.length;b>a;a++)if(this.settings("skipErrors"))try{this.renderers[c[a]].render()}catch(d){this.settings("verbose")&&console.log('Warning: The renderer "'+c[a]+'" crashed on ".render()"')}else this.renderers[c[a]].render();return this},c.prototype.renderCamera=function(a,b){var c,d,e,f=this;if(b)for(e=this.renderersPerCamera[a.id],c=0,d=e.length;d>c;c++)if(this.settings("skipErrors"))try{e[c].render()}catch(g){this.settings("verbose")&&console.log('Warning: The renderer "'+e[c].id+'" crashed on ".render()"')}else e[c].render();else if(!this.cameraFrames[a.id]){for(e=this.renderersPerCamera[a.id],c=0,d=e.length;d>c;c++)if(this.settings("skipErrors"))try{e[c].render()}catch(g){this.settings("verbose")&&console.log('Warning: The renderer "'+e[c].id+'" crashed on ".render()"')}else e[c].render();this.cameraFrames[a.id]=requestAnimationFrame(function(){delete f.cameraFrames[a.id]})}return this},c.prototype.kill=function(){var a;this.dispatchEvent("kill"),this.graph.kill(),delete this.middlewares;for(a in this.renderers)this.killRenderer(this.renderers[a]);for(a in this.cameras)this.killCamera(this.cameras[a]);delete this.renderers,delete this.cameras;for(a in this)this.hasOwnProperty(a)&&delete this[a];delete b[this.id]},c.instances=function(a){return arguments.length?b[a]:c.utils.extend({},b)},c.version="1.0.3","undefined"!=typeof this.sigma)throw"An object called sigma is already in the global scope.";this.sigma=c}).call(this),function(a){"use strict";function b(a,c){var d,e,f,g;if(arguments.length)if(1===arguments.length&&Object(arguments[0])===arguments[0])for(a in arguments[0])b(a,arguments[0][a]);else if(arguments.length>1)for(g=Array.isArray(a)?a:a.split(/ /),d=0,e=g.length;d!==e;d+=1)f=g[d],C[f]||(C[f]=[]),C[f].push({handler:c})}function c(a,b){var c,d,e,f,g,h,i=Array.isArray(a)?a:a.split(/ /);if(arguments.length)if(b)for(c=0,d=i.length;c!==d;c+=1){if(h=i[c],C[h]){for(g=[],e=0,f=C[h].length;e!==f;e+=1)C[h][e].handler!==b&&g.push(C[h][e]);C[h]=g}C[h]&&0===C[h].length&&delete C[h]}else for(c=0,d=i.length;c!==d;c+=1)delete C[i[c]];else C=Object.create(null)}function d(a,b){var c,d,e,f,g,h,i=Array.isArray(a)?a:a.split(/ /);for(b=void 0===b?{}:b,c=0,e=i.length;c!==e;c+=1)if(h=i[c],C[h])for(g={type:h,data:b||{}},d=0,f=C[h].length;d!==f;d+=1)try{C[h][d].handler(g)}catch(j){}}function e(){var a,b,c,d,e=!1,f=s(),g=x.shift();if(c=g.job(),f=s()-f,g.done++,g.time+=f,g.currentTime+=f,g.weightTime=g.currentTime/(g.weight||1),g.averageTime=g.time/g.done,d=g.count?g.count<=g.done:!c,!d){for(a=0,b=x.length;b>a;a++)if(x[a].weightTime>g.weightTime){x.splice(a,0,g),e=!0;break}e||x.push(g)}return d?g:null}function f(a){var b=x.length;w[a.id]=a,a.status="running",b&&(a.weightTime=x[b-1].weightTime,a.currentTime=a.weightTime*(a.weight||1)),a.startTime=s(),d("jobStarted",q(a)),x.push(a)}function g(){var a,b,c;for(a in v)b=v[a],b.after?y[a]=b:f(b),delete v[a];for(u=!!x.length;x.length&&s()-t<B.frameDuration;)if(c=e()){i(c.id);for(a in y)y[a].after===c.id&&(f(y[a]),delete y[a])}u?(t=s(),d("enterFrame"),setTimeout(g,0)):d("stop")}function h(a,b){var c,e,f;if(Array.isArray(a)){for(A=!0,c=0,e=a.length;e>c;c++)h(a[c].id,p(a[c],b));A=!1,u||(t=s(),d("start"),g())}else if("object"==typeof a)if("string"==typeof a.id)h(a.id,a);else{A=!0;for(c in a)"function"==typeof a[c]?h(c,p({job:a[c]},b)):h(c,p(a[c],b));A=!1,u||(t=s(),d("start"),g())}else{if("string"!=typeof a)throw new Error("[conrad.addJob] Wrong arguments.");if(k(a))throw new Error('[conrad.addJob] Job with id "'+a+'" already exists.');if("function"==typeof b)f={id:a,done:0,time:0,status:"waiting",currentTime:0,averageTime:0,weightTime:0,job:b};else{if("object"!=typeof b)throw new Error("[conrad.addJob] Wrong arguments.");f=p({id:a,done:0,time:0,status:"waiting",currentTime:0,averageTime:0,weightTime:0},b)}v[a]=f,d("jobAdded",q(f)),u||A||(t=s(),d("start"),g())}return this}function i(a){var b,c,e,f,g=!1;if(Array.isArray(a))for(b=0,c=a.length;c>b;b++)i(a[b]);else{if("string"!=typeof a)throw new Error("[conrad.killJob] Wrong arguments.");for(e=[w,y,v],b=0,c=e.length;c>b;b++)a in e[b]&&(f=e[b][a],B.history&&(f.status="done",z.push(f)),d("jobEnded",q(f)),delete e[b][a],"function"==typeof f.end&&f.end(),g=!0);for(e=x,b=0,c=e.length;c>b;b++)if(e[b].id===a){e.splice(b,1);break}if(!g)throw new Error('[conrad.killJob] Job "'+a+'" not found.')}return this}function j(){var a,b=p(v,w,y);if(B.history)for(a in b)b[a].status="done",z.push(b[a]),"function"==typeof b[a].end&&b[a].end();return v={},y={},w={},x=[],u=!1,this}function k(a){var b=v[a]||w[a]||y[a];return b?p(b):null}function l(a,b){var c;if("string"==typeof a1&&1===arguments.length)return B[a1];c="object"==typeof a1&&1===arguments.length?a1||{}:{},"string"==typeof a1&&(c[a1]=a2);for(var d in c)void 0!==c[d]?B[d]=c[d]:delete B[d];return this}function m(){return u}function n(){return z=[],this}function o(a,b){var c,d,e,f,g,h,i;if(!arguments.length){g=[];for(d in v)g.push(v[d]);for(d in y)g.push(y[d]);for(d in w)g.push(w[d]);g=g.concat(z)}if("string"==typeof a)switch(a){case"waiting":g=r(y);break;case"running":g=r(w);break;case"done":g=z;break;default:h=a}if(a instanceof RegExp&&(h=a),!h&&("string"==typeof b||b instanceof RegExp)&&(h=b),h){if(i="string"==typeof h,g instanceof Array)c=g;else if("object"==typeof g){c=[];for(d in g)c=c.concat(g[d])}else{c=[];for(d in v)c.push(v[d]);for(d in y)c.push(y[d]);for(d in w)c.push(w[d]);c=c.concat(z)}for(g=[],e=0,f=c.length;f>e;e++)(i?c[e].id===h:c[e].id.match(h))&&g.push(c[e])}return q(g)}function p(){var a,b,c={},d=arguments.length;for(a=d-1;a>=0;a--)for(b in arguments[a])c[b]=arguments[a][b];return c}function q(a){var b,c,d;if(!a)return a;if(Array.isArray(a))for(b=[],c=0,d=a.length;d>c;c++)b.push(q(a[c]));else if("object"==typeof a){b={};for(c in a)b[c]=q(a[c])}else b=a;return b}function r(a){var b,c=[];for(b in a)c.push(a[b]);return c}function s(){return Date.now?Date.now():(new Date).getTime()}if(a.conrad)throw new Error("conrad already exists");var t,u=!1,v={},w={},x=[],y={},z=[],A=!1,B={frameDuration:20,history:!0},C=Object.create(null);Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});var D={hasJob:k,addJob:h,killJob:i,killAll:j,settings:l,getStats:o,isRunning:m,clearHistory:n,bind:b,unbind:c,version:"0.1.0"};"undefined"!=typeof exports&&("undefined"!=typeof module&&module.exports&&(exports=module.exports=D),exports.conrad=D),a.conrad=D}(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";var b=this;sigma.utils=sigma.utils||{},sigma.utils.extend=function(){var a,b,c={},d=arguments.length;for(a=d-1;a>=0;a--)for(b in arguments[a])c[b]=arguments[a][b];return c},sigma.utils.dateNow=function(){return Date.now?Date.now():(new Date).getTime()},sigma.utils.pkg=function(a){return(a||"").split(".").reduce(function(a,b){return b in a?a[b]:a[b]={}},b)},sigma.utils.id=function(){var a=0;return function(){return++a}}(),sigma.utils.floatColor=function(a){var b=[0,0,0];return a.match(/^#/)?(a=(a||"").replace(/^#/,""),b=3===a.length?[parseInt(a.charAt(0)+a.charAt(0),16),parseInt(a.charAt(1)+a.charAt(1),16),parseInt(a.charAt(2)+a.charAt(2),16)]:[parseInt(a.charAt(0)+a.charAt(1),16),parseInt(a.charAt(2)+a.charAt(3),16),parseInt(a.charAt(4)+a.charAt(5),16)]):a.match(/^ *rgba? *\(/)&&(a=a.match(/^ *rgba? *\( *([0-9]*) *, *([0-9]*) *, *([0-9]*) *(,.*)?\) *$/),b=[+a[1],+a[2],+a[3]]),256*b[0]*256+256*b[1]+b[2]},sigma.utils.zoomTo=function(a,b,c,d,e){var f,g,h,i=a.settings;g=Math.max(i("zoomMin"),Math.min(i("zoomMax"),a.ratio*d)),g!==a.ratio&&(d=g/a.ratio,h={x:b*(1-d)+a.x,y:c*(1-d)+a.y,ratio:g},e&&e.duration?(f=sigma.misc.animation.killAll(a),e=sigma.utils.extend(e,{easing:f?"quadraticOut":"quadraticInOut"}),sigma.misc.animation.camera(a,h,e)):(a.goTo(h),e&&e.onComplete&&e.onComplete()))},sigma.utils.getQuadraticControlPoint=function(a,b,c,d){return{x:(a+c)/2+(d-b)/4,y:(b+d)/2+(a-c)/4}},sigma.utils.getPointOnQuadraticCurve=function(a,b,c,d,e,f,g){return{x:Math.pow(1-a,2)*b+2*(1-a)*a*f+Math.pow(a,2)*d,y:Math.pow(1-a,2)*c+2*(1-a)*a*g+Math.pow(a,2)*e}},sigma.utils.getPointOnBezierCurve=function(a,b,c,d,e,f,g,h,i){var j=Math.pow(1-a,3),k=3*a*Math.pow(1-a,2),l=3*Math.pow(a,2)*(1-a),m=Math.pow(a,3);return{x:j*b+k*f+l*h+m*d,y:j*c+k*g+l*i+m*e}},sigma.utils.getSelfLoopControlPoints=function(a,b,c){return{x1:a-7*c,y1:b,x2:a,y2:b+7*c}},sigma.utils.getDistance=function(a,b,c,d){return Math.sqrt(Math.pow(c-a,2)+Math.pow(d-b,2))},sigma.utils.getCircleIntersection=function(a,b,c,d,e,f){var g,h,i,j,k,l,m,n,o;if(h=d-a,i=e-b,j=Math.sqrt(i*i+h*h),j>c+f)return!1;if(j<Math.abs(c-f))return!1;g=(c*c-f*f+j*j)/(2*j),n=a+h*g/j,o=b+i*g/j,k=Math.sqrt(c*c-g*g),l=-i*(k/j),m=h*(k/j);var p=n+l,q=n-l,r=o+m,s=o-m;return{xi:p,xi_prime:q,yi:r,yi_prime:s}},sigma.utils.isPointOnSegment=function(a,b,c,d,e,f,g){var h=Math.abs((b-d)*(e-c)-(a-c)*(f-d)),i=sigma.utils.getDistance(c,d,e,f),j=h/i;return g>j&&Math.min(c,e)<=a&&a<=Math.max(c,e)&&Math.min(d,f)<=b&&b<=Math.max(d,f)},sigma.utils.isPointOnQuadraticCurve=function(a,b,c,d,e,f,g,h,i){var j=sigma.utils.getDistance(c,d,e,f);if(Math.abs(a-c)>j||Math.abs(b-d)>j)return!1;for(var k,l=sigma.utils.getDistance(a,b,c,d),m=sigma.utils.getDistance(a,b,e,f),n=.5,o=m>l?-.01:.01,p=.001,q=100,r=sigma.utils.getPointOnQuadraticCurve(n,c,d,e,f,g,h),s=sigma.utils.getDistance(a,b,r.x,r.y);q-- >0&&n>=0&&1>=n&&s>i&&(o>p||-p>o);)k=s,r=sigma.utils.getPointOnQuadraticCurve(n,c,d,e,f,g,h),s=sigma.utils.getDistance(a,b,r.x,r.y),s>k?(o=-o/2,n+=o):0>n+o||n+o>1?(o/=2,s=k):n+=o;return i>s},sigma.utils.isPointOnBezierCurve=function(a,b,c,d,e,f,g,h,i,j,k){var l=sigma.utils.getDistance(c,d,g,h);if(Math.abs(a-c)>l||Math.abs(b-d)>l)return!1;for(var m,n=sigma.utils.getDistance(a,b,c,d),o=sigma.utils.getDistance(a,b,e,f),p=.5,q=o>n?-.01:.01,r=.001,s=100,t=sigma.utils.getPointOnBezierCurve(p,c,d,e,f,g,h,i,j),u=sigma.utils.getDistance(a,b,t.x,t.y);s-- >0&&p>=0&&1>=p&&u>k&&(q>r||-r>q);)m=u,t=sigma.utils.getPointOnBezierCurve(p,c,d,e,f,g,h,i,j),u=sigma.utils.getDistance(a,b,t.x,t.y),u>m?(q=-q/2,p+=q):0>p+q||p+q>1?(q/=2,u=m):p+=q;return k>u},sigma.utils.getX=function(b){return b.offsetX!==a&&b.offsetX||b.layerX!==a&&b.layerX||b.clientX!==a&&b.clientX},sigma.utils.getY=function(b){return b.offsetY!==a&&b.offsetY||b.layerY!==a&&b.layerY||b.clientY!==a&&b.clientY},sigma.utils.getWidth=function(b){var c=b.target.ownerSVGElement?b.target.ownerSVGElement.width:b.target.width;return"number"==typeof c&&c||c!==a&&c.baseVal!==a&&c.baseVal.value},sigma.utils.getHeight=function(b){var c=b.target.ownerSVGElement?b.target.ownerSVGElement.height:b.target.height;return"number"==typeof c&&c||c!==a&&c.baseVal!==a&&c.baseVal.value},sigma.utils.getDelta=function(b){return b.wheelDelta!==a&&b.wheelDelta||b.detail!==a&&-b.detail},sigma.utils.getOffset=function(a){for(var b=0,c=0;a;)c+=parseInt(a.offsetTop),b+=parseInt(a.offsetLeft),a=a.offsetParent;return{top:c,left:b}},sigma.utils.doubleClick=function(a,b,c){var d,e=0;a._doubleClickHandler=a._doubleClickHandler||{},a._doubleClickHandler[b]=a._doubleClickHandler[b]||[],d=a._doubleClickHandler[b],d.push(function(a){return e++,2===e?(e=0,c(a)):void(1===e&&setTimeout(function(){e=0},sigma.settings.doubleClickTimeout))}),a.addEventListener(b,d[d.length-1],!1)},sigma.utils.unbindDoubleClick=function(a,b){for(var c,d=(a._doubleClickHandler||{})[b]||[];c=d.pop();)a.removeEventListener(b,c);delete(a._doubleClickHandler||{})[b]},sigma.utils.easings=sigma.utils.easings||{},sigma.utils.easings.linearNone=function(a){return a},sigma.utils.easings.quadraticIn=function(a){return a*a},sigma.utils.easings.quadraticOut=function(a){return a*(2-a)},sigma.utils.easings.quadraticInOut=function(a){return(a*=2)<1?.5*a*a:-.5*(--a*(a-2)-1)},sigma.utils.easings.cubicIn=function(a){return a*a*a},sigma.utils.easings.cubicOut=function(a){return--a*a*a+1},sigma.utils.easings.cubicInOut=function(a){return(a*=2)<1?.5*a*a*a:.5*((a-=2)*a*a+2)},sigma.utils.loadShader=function(a,b,c,d){var e,f=a.createShader(c);return a.shaderSource(f,b),a.compileShader(f),e=a.getShaderParameter(f,a.COMPILE_STATUS),e?f:(d&&d('Error compiling shader "'+f+'":'+a.getShaderInfoLog(f)),a.deleteShader(f),null)},sigma.utils.loadProgram=function(a,b,c,d,e){var f,g,h=a.createProgram();for(f=0;f<b.length;++f)a.attachShader(h,b[f]);if(c)for(f=0;f<c.length;++f)a.bindAttribLocation(h,locations?locations[f]:f,opt_attribs[f]);return a.linkProgram(h),g=a.getProgramParameter(h,a.LINK_STATUS),g?h:(e&&e("Error in program linking: "+a.getProgramInfoLog(h)),a.deleteProgram(h),null)},sigma.utils.pkg("sigma.utils.matrices"),sigma.utils.matrices.translation=function(a,b){return[1,0,0,0,1,0,a,b,1]},sigma.utils.matrices.rotation=function(a,b){var c=Math.cos(a),d=Math.sin(a);return b?[c,-d,d,c]:[c,-d,0,d,c,0,0,0,1]},sigma.utils.matrices.scale=function(a,b){return b?[a,0,0,a]:[a,0,0,0,a,0,0,0,1]},sigma.utils.matrices.multiply=function(a,b,c){var d=c?2:3,e=a[0*d+0],f=a[0*d+1],g=a[0*d+2],h=a[1*d+0],i=a[1*d+1],j=a[1*d+2],k=a[2*d+0],l=a[2*d+1],m=a[2*d+2],n=b[0*d+0],o=b[0*d+1],p=b[0*d+2],q=b[1*d+0],r=b[1*d+1],s=b[1*d+2],t=b[2*d+0],u=b[2*d+1],v=b[2*d+2];return c?[e*n+f*q,e*o+f*r,h*n+i*q,h*o+i*r]:[e*n+f*q+g*t,e*o+f*r+g*u,e*p+f*s+g*v,h*n+i*q+j*t,h*o+i*r+j*u,h*p+i*s+j*v,k*n+l*q+m*t,k*o+l*r+m*u,k*p+l*s+m*v]}}.call(this),function(a){"use strict";var b,c=0,d=["ms","moz","webkit","o"];for(b=0;b<d.length&&!a.requestAnimationFrame;b++)a.requestAnimationFrame=a[d[b]+"RequestAnimationFrame"],a.cancelAnimationFrame=a[d[b]+"CancelAnimationFrame"]||a[d[b]+"CancelRequestAnimationFrame"];a.requestAnimationFrame||(a.requestAnimationFrame=function(b,d){var e=(new Date).getTime(),f=Math.max(0,16-(e-c)),g=a.setTimeout(function(){b(e+f)},f);return c=e+f,g}),a.cancelAnimationFrame||(a.cancelAnimationFrame=function(a){clearTimeout(a)}),Function.prototype.bind||(Function.prototype.bind=function(a){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var b,c,d=Array.prototype.slice.call(arguments,1),e=this;return b=function(){},c=function(){return e.apply(this instanceof b&&a?this:a,d.concat(Array.prototype.slice.call(arguments)))},b.prototype=this.prototype,c.prototype=new b,c})}(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.settings");var b={clone:!0,immutable:!0,verbose:!1,classPrefix:"sigma",defaultNodeType:"def",defaultEdgeType:"def",defaultLabelColor:"#000",defaultEdgeColor:"#000",defaultNodeColor:"#000",defaultLabelSize:14,edgeColor:"source",minArrowSize:0,font:"arial",fontStyle:"",labelColor:"default",labelSize:"fixed",labelSizeRatio:1,labelThreshold:8,webglOversamplingRatio:2,borderSize:0,defaultNodeBorderColor:"#000",hoverFont:"",singleHover:!0,hoverFontStyle:"",labelHoverShadow:"default",labelHoverShadowColor:"#000",nodeHoverColor:"node",defaultNodeHoverColor:"#000",labelHoverBGColor:"default",defaultHoverLabelBGColor:"#fff",labelHoverColor:"default",defaultLabelHoverColor:"#000",edgeHoverColor:"edge",edgeHoverSizeRatio:1,defaultEdgeHoverColor:"#000",edgeHoverExtremities:!1,drawEdges:!0,drawNodes:!0,drawLabels:!0,drawEdgeLabels:!1,batchEdgesDrawing:!1,hideEdgesOnMove:!1,canvasEdgesBatchSize:500,webglEdgesBatchSize:1e3,scalingMode:"inside",sideMargin:0,minEdgeSize:.5,maxEdgeSize:1,minNodeSize:1,maxNodeSize:8,touchEnabled:!0,mouseEnabled:!0,mouseWheelEnabled:!0,doubleClickEnabled:!0,eventsEnabled:!0,zoomingRatio:1.7,doubleClickZoomingRatio:2.2,zoomMin:.0625,zoomMax:2,mouseZoomDuration:200,doubleClickZoomDuration:200,mouseInertiaDuration:200,mouseInertiaRatio:3,touchInertiaDuration:200,touchInertiaRatio:3,doubleClickTimeout:300,doubleTapTimeout:300,dragTimeout:200,autoResize:!0,autoRescale:!0,enableCamera:!0,enableHovering:!0,enableEdgeHovering:!1,edgeHoverPrecision:5,rescaleIgnoreSize:!1,skipErrors:!1,nodesPowRatio:.5,edgesPowRatio:.5,animationsTime:200};sigma.settings=sigma.utils.extend(sigma.settings||{},b)}.call(this),function(){"use strict";var a=function(){Object.defineProperty(this,"_handlers",{value:{}})};a.prototype.bind=function(a,b){var c,d,e,f;if(1===arguments.length&&"object"==typeof arguments[0])for(a in arguments[0])this.bind(a,arguments[0][a]);else{if(2!==arguments.length||"function"!=typeof arguments[1])throw"bind: Wrong arguments.";for(f="string"==typeof a?a.split(" "):a,c=0,d=f.length;c!==d;c+=1)e=f[c],e&&(this._handlers[e]||(this._handlers[e]=[]),this._handlers[e].push({handler:b}))}return this},a.prototype.unbind=function(a,b){var c,d,e,f,g,h,i,j="string"==typeof a?a.split(" "):a;if(!arguments.length){for(g in this._handlers)delete this._handlers[g];return this}if(b)for(c=0,d=j.length;c!==d;c+=1){if(i=j[c],this._handlers[i]){for(h=[],e=0,f=this._handlers[i].length;e!==f;e+=1)this._handlers[i][e].handler!==b&&h.push(this._handlers[i][e]);this._handlers[i]=h}this._handlers[i]&&0===this._handlers[i].length&&delete this._handlers[i]}else for(c=0,d=j.length;c!==d;c+=1)delete this._handlers[j[c]];return this},a.prototype.dispatchEvent=function(a,b){var c,d,e,f,g,h,i,j=this,k="string"==typeof a?a.split(" "):a;for(b=void 0===b?{}:b,c=0,d=k.length;c!==d;c+=1)if(i=k[c],this._handlers[i]){for(h=j.getEvent(i,b),g=[],e=0,f=this._handlers[i].length;e!==f;e+=1)this._handlers[i][e].handler(h),this._handlers[i][e].one||g.push(this._handlers[i][e]);this._handlers[i]=g}return this},a.prototype.getEvent=function(a,b){return{type:a,data:b||{},target:this}},a.extend=function(b,c){var d;for(d in a.prototype)a.prototype.hasOwnProperty(d)&&(b[d]=a.prototype[d]);a.apply(b,c)},"undefined"!=typeof this.sigma?(this.sigma.classes=this.sigma.classes||{},this.sigma.classes.dispatcher=a):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=a),exports.dispatcher=a):this.dispatcher=a}.call(this),function(){"use strict";var a=function(){var b,c,d={},e=Array.prototype.slice.call(arguments,0),f=function(a,b){var c,g,h,i;{if(1!==arguments.length||"string"!=typeof a){if("object"==typeof a&&"string"==typeof b)return void 0!==(a||{})[b]?a[b]:f(b);for(c="object"==typeof a&&void 0===b?a:{},"string"==typeof a&&(c[a]=b),g=0,i=Object.keys(c),h=i.length;h>g;g++)d[i[g]]=c[i[g]];return this}if(void 0!==d[a])return d[a];for(g=0,h=e.length;h>g;g++)if(void 0!==e[g][a])return e[g][a]}};for(f.embedObjects=function(){var b=e.concat(d).concat(Array.prototype.splice.call(arguments,0));return a.apply({},b)},b=0,c=arguments.length;c>b;b++)f(arguments[b]);return f};"undefined"!=typeof this.sigma?(this.sigma.classes=this.sigma.classes||{},this.sigma.classes.configurable=a):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=a),exports.configurable=a):this.configurable=a}.call(this),function(a){"use strict";function b(a,b,c){var d=function(){var d,e;for(d in h[a])h[a][d].apply(b,arguments);e=c.apply(b,arguments);for(d in g[a])g[a][d].apply(b,arguments);return e};return d}function c(a){var b;for(b in a)"hasOwnProperty"in a&&!a.hasOwnProperty(b)||delete a[b];return a}var d=Object.create(null),e=Object.create(null),f=Object.create(null),g=Object.create(null),h=Object.create(null),i={immutable:!0,clone:!0},j=function(a){return i[a]},k=function(a){var c,e,g;g={settings:a||j,nodesArray:[],edgesArray:[],nodesIndex:Object.create(null),edgesIndex:Object.create(null),inNeighborsIndex:Object.create(null),outNeighborsIndex:Object.create(null),allNeighborsIndex:Object.create(null),inNeighborsCount:Object.create(null),outNeighborsCount:Object.create(null),allNeighborsCount:Object.create(null)};for(c in f)f[c].call(g);for(c in d)e=b(c,g,d[c]),this[c]=e,g[c]=e};k.addMethod=function(a,b){if("string"!=typeof a||"function"!=typeof b||2!==arguments.length)throw"addMethod: Wrong arguments.";if(d[a]||k[a])throw'The method "'+a+'" already exists.';return d[a]=b,g[a]=Object.create(null),h[a]=Object.create(null),this},k.hasMethod=function(a){return!(!d[a]&&!k[a])},k.attach=function(a,b,c,d){if("string"!=typeof a||"string"!=typeof b||"function"!=typeof c||arguments.length<3||arguments.length>4)throw"attach: Wrong arguments.";var e;if("constructor"===a)e=f;else if(d){if(!h[a])throw'The method "'+a+'" does not exist.';e=h[a]}else{if(!g[a])throw'The method "'+a+'" does not exist.';e=g[a]}if(e[b])throw'A function "'+b+'" is already attached to the method "'+a+'".';return e[b]=c,this},k.attachBefore=function(a,b,c){return this.attach(a,b,c,!0)},k.addIndex=function(a,b){if("string"!=typeof a||Object(b)!==b||2!==arguments.length)throw"addIndex: Wrong arguments.";if(e[a])throw'The index "'+a+'" already exists.';var c;e[a]=b;for(c in b){if("function"!=typeof b[c])throw"The bindings must be functions.";k.attach(c,a,b[c])}return this},k.addMethod("addNode",function(a){if(Object(a)!==a||1!==arguments.length)throw"addNode: Wrong arguments.";if("string"!=typeof a.id&&"number"!=typeof a.id)throw"The node must have a string or number id.";if(this.nodesIndex[a.id])throw'The node "'+a.id+'" already exists.';var b,c=a.id,d=Object.create(null);if(this.settings("clone"))for(b in a)"id"!==b&&(d[b]=a[b]);else d=a;return this.settings("immutable")?Object.defineProperty(d,"id",{value:c,enumerable:!0}):d.id=c,this.inNeighborsIndex[c]=Object.create(null),this.outNeighborsIndex[c]=Object.create(null),this.allNeighborsIndex[c]=Object.create(null),this.inNeighborsCount[c]=0,this.outNeighborsCount[c]=0,this.allNeighborsCount[c]=0,this.nodesArray.push(d),this.nodesIndex[d.id]=d,this}),k.addMethod("addEdge",function(a){if(Object(a)!==a||1!==arguments.length)throw"addEdge: Wrong arguments.";if("string"!=typeof a.id&&"number"!=typeof a.id)throw"The edge must have a string or number id.";if("string"!=typeof a.source&&"number"!=typeof a.source||!this.nodesIndex[a.source])throw"The edge source must have an existing node id.";if("string"!=typeof a.target&&"number"!=typeof a.target||!this.nodesIndex[a.target])throw"The edge target must have an existing node id.";if(this.edgesIndex[a.id])throw'The edge "'+a.id+'" already exists.';var b,c=Object.create(null);if(this.settings("clone"))for(b in a)"id"!==b&&"source"!==b&&"target"!==b&&(c[b]=a[b]);else c=a;return this.settings("immutable")?(Object.defineProperty(c,"id",{value:a.id,enumerable:!0}),Object.defineProperty(c,"source",{value:a.source,enumerable:!0}),Object.defineProperty(c,"target",{value:a.target,enumerable:!0})):(c.id=a.id,c.source=a.source,c.target=a.target),this.edgesArray.push(c),this.edgesIndex[c.id]=c,this.inNeighborsIndex[c.target][c.source]||(this.inNeighborsIndex[c.target][c.source]=Object.create(null)),this.inNeighborsIndex[c.target][c.source][c.id]=c,this.outNeighborsIndex[c.source][c.target]||(this.outNeighborsIndex[c.source][c.target]=Object.create(null)),this.outNeighborsIndex[c.source][c.target][c.id]=c,this.allNeighborsIndex[c.source][c.target]||(this.allNeighborsIndex[c.source][c.target]=Object.create(null)),this.allNeighborsIndex[c.source][c.target][c.id]=c,c.target!==c.source&&(this.allNeighborsIndex[c.target][c.source]||(this.allNeighborsIndex[c.target][c.source]=Object.create(null)),this.allNeighborsIndex[c.target][c.source][c.id]=c),this.inNeighborsCount[c.target]++,this.outNeighborsCount[c.source]++,this.allNeighborsCount[c.target]++,this.allNeighborsCount[c.source]++,this}),k.addMethod("dropNode",function(a){if("string"!=typeof a&&"number"!=typeof a||1!==arguments.length)throw"dropNode: Wrong arguments.";if(!this.nodesIndex[a])throw'The node "'+a+'" does not exist.';var b,c,d;for(delete this.nodesIndex[a],b=0,d=this.nodesArray.length;d>b;b++)if(this.nodesArray[b].id===a){this.nodesArray.splice(b,1);break}for(b=this.edgesArray.length-1;b>=0;b--)(this.edgesArray[b].source===a||this.edgesArray[b].target===a)&&this.dropEdge(this.edgesArray[b].id);delete this.inNeighborsIndex[a],delete this.outNeighborsIndex[a],delete this.allNeighborsIndex[a],delete this.inNeighborsCount[a],delete this.outNeighborsCount[a],delete this.allNeighborsCount[a];for(c in this.nodesIndex)delete this.inNeighborsIndex[c][a],delete this.outNeighborsIndex[c][a],delete this.allNeighborsIndex[c][a];return this}),k.addMethod("dropEdge",function(a){if("string"!=typeof a&&"number"!=typeof a||1!==arguments.length)throw"dropEdge: Wrong arguments.";if(!this.edgesIndex[a])throw'The edge "'+a+'" does not exist.';var b,c,d;for(d=this.edgesIndex[a],delete this.edgesIndex[a],b=0,c=this.edgesArray.length;c>b;b++)if(this.edgesArray[b].id===a){this.edgesArray.splice(b,1);break}return delete this.inNeighborsIndex[d.target][d.source][d.id],Object.keys(this.inNeighborsIndex[d.target][d.source]).length||delete this.inNeighborsIndex[d.target][d.source],delete this.outNeighborsIndex[d.source][d.target][d.id],Object.keys(this.outNeighborsIndex[d.source][d.target]).length||delete this.outNeighborsIndex[d.source][d.target],delete this.allNeighborsIndex[d.source][d.target][d.id],Object.keys(this.allNeighborsIndex[d.source][d.target]).length||delete this.allNeighborsIndex[d.source][d.target],d.target!==d.source&&(delete this.allNeighborsIndex[d.target][d.source][d.id],Object.keys(this.allNeighborsIndex[d.target][d.source]).length||delete this.allNeighborsIndex[d.target][d.source]),this.inNeighborsCount[d.target]--,this.outNeighborsCount[d.source]--,this.allNeighborsCount[d.source]--,this.allNeighborsCount[d.target]--,this}),k.addMethod("kill",function(){this.nodesArray.length=0,this.edgesArray.length=0,delete this.nodesArray,delete this.edgesArray,delete this.nodesIndex,delete this.edgesIndex,delete this.inNeighborsIndex,delete this.outNeighborsIndex,delete this.allNeighborsIndex,delete this.inNeighborsCount,delete this.outNeighborsCount,delete this.allNeighborsCount}),k.addMethod("clear",function(){return this.nodesArray.length=0,this.edgesArray.length=0,c(this.nodesIndex),c(this.edgesIndex),c(this.nodesIndex),c(this.inNeighborsIndex),c(this.outNeighborsIndex),c(this.allNeighborsIndex),c(this.inNeighborsCount),c(this.outNeighborsCount),c(this.allNeighborsCount),this}),k.addMethod("read",function(a){var b,c,d;for(c=a.nodes||[],b=0,d=c.length;d>b;b++)this.addNode(c[b]);for(c=a.edges||[],b=0,d=c.length;d>b;b++)this.addEdge(c[b]);return this}),k.addMethod("nodes",function(a){if(!arguments.length)return this.nodesArray.slice(0);if(1===arguments.length&&("string"==typeof a||"number"==typeof a))return this.nodesIndex[a];if(1===arguments.length&&"[object Array]"===Object.prototype.toString.call(a)){
-var b,c,d=[];for(b=0,c=a.length;c>b;b++){if("string"!=typeof a[b]&&"number"!=typeof a[b])throw"nodes: Wrong arguments.";d.push(this.nodesIndex[a[b]])}return d}throw"nodes: Wrong arguments."}),k.addMethod("degree",function(a,b){if(b={"in":this.inNeighborsCount,out:this.outNeighborsCount}[b||""]||this.allNeighborsCount,"string"==typeof a||"number"==typeof a)return b[a];if("[object Array]"===Object.prototype.toString.call(a)){var c,d,e=[];for(c=0,d=a.length;d>c;c++){if("string"!=typeof a[c]&&"number"!=typeof a[c])throw"degree: Wrong arguments.";e.push(b[a[c]])}return e}throw"degree: Wrong arguments."}),k.addMethod("edges",function(a){if(!arguments.length)return this.edgesArray.slice(0);if(1===arguments.length&&("string"==typeof a||"number"==typeof a))return this.edgesIndex[a];if(1===arguments.length&&"[object Array]"===Object.prototype.toString.call(a)){var b,c,d=[];for(b=0,c=a.length;c>b;b++){if("string"!=typeof a[b]&&"number"!=typeof a[b])throw"edges: Wrong arguments.";d.push(this.edgesIndex[a[b]])}return d}throw"edges: Wrong arguments."}),"undefined"!=typeof sigma?(sigma.classes=sigma.classes||Object.create(null),sigma.classes.graph=k):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=k),exports.graph=k):this.graph=k}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.classes"),sigma.classes.camera=function(a,b,c,d){sigma.classes.dispatcher.extend(this),Object.defineProperty(this,"graph",{value:b}),Object.defineProperty(this,"id",{value:a}),Object.defineProperty(this,"readPrefix",{value:"read_cam"+a+":"}),Object.defineProperty(this,"prefix",{value:"cam"+a+":"}),this.x=0,this.y=0,this.ratio=1,this.angle=0,this.isAnimated=!1,this.settings="object"==typeof d&&d?c.embedObject(d):c},sigma.classes.camera.prototype.goTo=function(b){if(!this.settings("enableCamera"))return this;var c,d,e=b||{},f=["x","y","ratio","angle"];for(c=0,d=f.length;d>c;c++)if(e[f[c]]!==a){if("number"!=typeof e[f[c]]||isNaN(e[f[c]]))throw'Value for "'+f[c]+'" is not a number.';this[f[c]]=e[f[c]]}return this.dispatchEvent("coordinatesUpdated"),this},sigma.classes.camera.prototype.applyView=function(b,c,d){d=d||{},c=c!==a?c:this.prefix,b=b!==a?b:this.readPrefix;var e,f,g,h=d.nodes||this.graph.nodes(),i=d.edges||this.graph.edges(),j=Math.cos(this.angle),k=Math.sin(this.angle),l=Math.pow(this.ratio,this.settings("nodesPowRatio")),m=Math.pow(this.ratio,this.settings("edgesPowRatio"));for(e=0,f=h.length;f>e;e++)g=h[e],g[c+"x"]=(((g[b+"x"]||0)-this.x)*j+((g[b+"y"]||0)-this.y)*k)/this.ratio+(d.width||0)/2,g[c+"y"]=(((g[b+"y"]||0)-this.y)*j-((g[b+"x"]||0)-this.x)*k)/this.ratio+(d.height||0)/2,g[c+"size"]=(g[b+"size"]||0)/l;for(e=0,f=i.length;f>e;e++)i[e][c+"size"]=(i[e][b+"size"]||0)/m;return this},sigma.classes.camera.prototype.graphPosition=function(a,b,c){var d=0,e=0,f=Math.cos(this.angle),g=Math.sin(this.angle);return c||(d=-(this.x*f+this.y*g)/this.ratio,e=-(this.y*f-this.x*g)/this.ratio),{x:(a*f+b*g)/this.ratio+d,y:(b*f-a*g)/this.ratio+e}},sigma.classes.camera.prototype.cameraPosition=function(a,b,c){var d=0,e=0,f=Math.cos(this.angle),g=Math.sin(this.angle);return c||(d=-(this.x*f+this.y*g)/this.ratio,e=-(this.y*f-this.x*g)/this.ratio),{x:((a-d)*f-(b-e)*g)*this.ratio,y:((b-e)*f+(a-d)*g)*this.ratio}},sigma.classes.camera.prototype.getMatrix=function(){var a=sigma.utils.matrices.scale(1/this.ratio),b=sigma.utils.matrices.rotation(this.angle),c=sigma.utils.matrices.translation(-this.x,-this.y),d=sigma.utils.matrices.multiply(c,sigma.utils.matrices.multiply(b,a));return d},sigma.classes.camera.prototype.getRectangle=function(a,b){var c=this.cameraPosition(a,0,!0),d=this.cameraPosition(0,b,!0),e=this.cameraPosition(a/2,b/2,!0),f=this.cameraPosition(a/4,0,!0).x,g=this.cameraPosition(0,b/4,!0).y;return{x1:this.x-e.x-f,y1:this.y-e.y-g,x2:this.x-e.x+f+c.x,y2:this.y-e.y-g+c.y,height:Math.sqrt(Math.pow(d.x,2)+Math.pow(d.y+2*g,2))}}}.call(this),function(a){"use strict";function b(a,b){var c=b.x+b.width/2,d=b.y+b.height/2,e=a.y<d,f=a.x<c;return e?f?0:1:f?2:3}function c(a,b){for(var c=[],d=0;4>d;d++)a.x2>=b[d][0].x&&a.x1<=b[d][1].x&&a.y1+a.height>=b[d][0].y&&a.y1<=b[d][2].y&&c.push(d);return c}function d(a,b){for(var c=[],d=0;4>d;d++)j.collision(a,b[d])&&c.push(d);return c}function e(a,b){var c,d,e=b.level+1,f=Math.round(b.bounds.width/2),g=Math.round(b.bounds.height/2),h=Math.round(b.bounds.x),j=Math.round(b.bounds.y);switch(a){case 0:c=h,d=j;break;case 1:c=h+f,d=j;break;case 2:c=h,d=j+g;break;case 3:c=h+f,d=j+g}return i({x:c,y:d,width:f,height:g},e,b.maxElements,b.maxLevel)}function f(b,d,g){if(g.level<g.maxLevel)for(var h=c(d,g.corners),i=0,j=h.length;j>i;i++)g.nodes[h[i]]===a&&(g.nodes[h[i]]=e(h[i],g)),f(b,d,g.nodes[h[i]]);else g.elements.push(b)}function g(c,d){if(d.level<d.maxLevel){var e=b(c,d.bounds);return d.nodes[e]!==a?g(c,d.nodes[e]):[]}return d.elements}function h(b,c,d,e){if(e=e||{},c.level<c.maxLevel)for(var f=d(b,c.corners),g=0,i=f.length;i>g;g++)c.nodes[f[g]]!==a&&h(b,c.nodes[f[g]],d,e);else for(var j=0,k=c.elements.length;k>j;j++)e[c.elements[j].id]===a&&(e[c.elements[j].id]=c.elements[j]);return e}function i(a,b,c,d){return{level:b||0,bounds:a,corners:j.splitSquare(a),maxElements:c||20,maxLevel:d||4,elements:[],nodes:[]}}var j={pointToSquare:function(a){return{x1:a.x-a.size,y1:a.y-a.size,x2:a.x+a.size,y2:a.y-a.size,height:2*a.size}},isAxisAligned:function(a){return a.x1===a.x2||a.y1===a.y2},axisAlignedTopPoints:function(a){return a.y1===a.y2&&a.x1<a.x2?a:a.x1===a.x2&&a.y2>a.y1?{x1:a.x1-a.height,y1:a.y1,x2:a.x1,y2:a.y1,height:a.height}:a.x1===a.x2&&a.y2<a.y1?{x1:a.x1,y1:a.y2,x2:a.x2+a.height,y2:a.y2,height:a.height}:{x1:a.x2,y1:a.y1-a.height,x2:a.x1,y2:a.y1-a.height,height:a.height}},lowerLeftCoor:function(a){var b=Math.sqrt(Math.pow(a.x2-a.x1,2)+Math.pow(a.y2-a.y1,2));return{x:a.x1-(a.y2-a.y1)*a.height/b,y:a.y1+(a.x2-a.x1)*a.height/b}},lowerRightCoor:function(a,b){return{x:b.x-a.x1+a.x2,y:b.y-a.y1+a.y2}},rectangleCorners:function(a){var b=this.lowerLeftCoor(a),c=this.lowerRightCoor(a,b);return[{x:a.x1,y:a.y1},{x:a.x2,y:a.y2},{x:b.x,y:b.y},{x:c.x,y:c.y}]},splitSquare:function(a){return[[{x:a.x,y:a.y},{x:a.x+a.width/2,y:a.y},{x:a.x,y:a.y+a.height/2},{x:a.x+a.width/2,y:a.y+a.height/2}],[{x:a.x+a.width/2,y:a.y},{x:a.x+a.width,y:a.y},{x:a.x+a.width/2,y:a.y+a.height/2},{x:a.x+a.width,y:a.y+a.height/2}],[{x:a.x,y:a.y+a.height/2},{x:a.x+a.width/2,y:a.y+a.height/2},{x:a.x,y:a.y+a.height},{x:a.x+a.width/2,y:a.y+a.height}],[{x:a.x+a.width/2,y:a.y+a.height/2},{x:a.x+a.width,y:a.y+a.height/2},{x:a.x+a.width/2,y:a.y+a.height},{x:a.x+a.width,y:a.y+a.height}]]},axis:function(a,b){return[{x:a[1].x-a[0].x,y:a[1].y-a[0].y},{x:a[1].x-a[3].x,y:a[1].y-a[3].y},{x:b[0].x-b[2].x,y:b[0].y-b[2].y},{x:b[0].x-b[1].x,y:b[0].y-b[1].y}]},projection:function(a,b){var c=(a.x*b.x+a.y*b.y)/(Math.pow(b.x,2)+Math.pow(b.y,2));return{x:c*b.x,y:c*b.y}},axisCollision:function(a,b,c){for(var d=[],e=[],f=0;4>f;f++){var g=this.projection(b[f],a),h=this.projection(c[f],a);d.push(g.x*a.x+g.y*a.y),e.push(h.x*a.x+h.y*a.y)}var i=Math.max.apply(Math,d),j=Math.max.apply(Math,e),k=Math.min.apply(Math,d),l=Math.min.apply(Math,e);return i>=l&&j>=k},collision:function(a,b){for(var c=this.axis(a,b),d=!0,e=0;4>e;e++)d=d&&this.axisCollision(c[e],a,b);return d}},k=function(){this._geom=j,this._tree=null,this._cache={query:!1,result:!1}};k.prototype.index=function(a,b){if(!b.bounds)throw"sigma.classes.quad.index: bounds information not given.";var c=b.prefix||"";this._tree=i(b.bounds,0,b.maxElements,b.maxLevel);for(var d=0,e=a.length;e>d;d++)f(a[d],j.pointToSquare({x:a[d][c+"x"],y:a[d][c+"y"],size:a[d][c+"size"]}),this._tree);return this._cache={query:!1,result:!1},this._tree},k.prototype.point=function(a,b){return this._tree?g({x:a,y:b},this._tree)||[]:[]},k.prototype.area=function(a){var b,e,f=JSON.stringify(a);if(this._cache.query===f)return this._cache.result;j.isAxisAligned(a)?(b=c,e=j.axisAlignedTopPoints(a)):(b=d,e=j.rectangleCorners(a));var g=this._tree?h(e,this._tree,b):[],i=[];for(var k in g)i.push(g[k]);return this._cache.query=f,this._cache.result=i,i},"undefined"!=typeof this.sigma?(this.sigma.classes=this.sigma.classes||{},this.sigma.classes.quad=k):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=k),exports.quad=k):this.quad=k}.call(this),function(a){"use strict";function b(a,b){var c=b.x+b.width/2,d=b.y+b.height/2,e=a.y<d,f=a.x<c;return e?f?0:1:f?2:3}function c(a,b){for(var c=[],d=0;4>d;d++)a.x2>=b[d][0].x&&a.x1<=b[d][1].x&&a.y1+a.height>=b[d][0].y&&a.y1<=b[d][2].y&&c.push(d);return c}function d(a,b){for(var c=[],d=0;4>d;d++)j.collision(a,b[d])&&c.push(d);return c}function e(a,b){var c,d,e=b.level+1,f=Math.round(b.bounds.width/2),g=Math.round(b.bounds.height/2),h=Math.round(b.bounds.x),j=Math.round(b.bounds.y);switch(a){case 0:c=h,d=j;break;case 1:c=h+f,d=j;break;case 2:c=h,d=j+g;break;case 3:c=h+f,d=j+g}return i({x:c,y:d,width:f,height:g},e,b.maxElements,b.maxLevel)}function f(b,d,g){if(g.level<g.maxLevel)for(var h=c(d,g.corners),i=0,j=h.length;j>i;i++)g.nodes[h[i]]===a&&(g.nodes[h[i]]=e(h[i],g)),f(b,d,g.nodes[h[i]]);else g.elements.push(b)}function g(c,d){if(d.level<d.maxLevel){var e=b(c,d.bounds);return d.nodes[e]!==a?g(c,d.nodes[e]):[]}return d.elements}function h(b,c,d,e){if(e=e||{},c.level<c.maxLevel)for(var f=d(b,c.corners),g=0,i=f.length;i>g;g++)c.nodes[f[g]]!==a&&h(b,c.nodes[f[g]],d,e);else for(var j=0,k=c.elements.length;k>j;j++)e[c.elements[j].id]===a&&(e[c.elements[j].id]=c.elements[j]);return e}function i(a,b,c,d){return{level:b||0,bounds:a,corners:j.splitSquare(a),maxElements:c||40,maxLevel:d||8,elements:[],nodes:[]}}var j={pointToSquare:function(a){return{x1:a.x-a.size,y1:a.y-a.size,x2:a.x+a.size,y2:a.y-a.size,height:2*a.size}},lineToSquare:function(a){return a.y1<a.y2?a.x1<a.x2?{x1:a.x1-a.size,y1:a.y1-a.size,x2:a.x2+a.size,y2:a.y1-a.size,height:a.y2-a.y1+2*a.size}:{x1:a.x2-a.size,y1:a.y1-a.size,x2:a.x1+a.size,y2:a.y1-a.size,height:a.y2-a.y1+2*a.size}:a.x1<a.x2?{x1:a.x1-a.size,y1:a.y2-a.size,x2:a.x2+a.size,y2:a.y2-a.size,height:a.y1-a.y2+2*a.size}:{x1:a.x2-a.size,y1:a.y2-a.size,x2:a.x1+a.size,y2:a.y2-a.size,height:a.y1-a.y2+2*a.size}},quadraticCurveToSquare:function(a,b){var c=sigma.utils.getPointOnQuadraticCurve(.5,a.x1,a.y1,a.x2,a.y2,b.x,b.y),d=Math.min(a.x1,a.x2,c.x),e=Math.max(a.x1,a.x2,c.x),f=Math.min(a.y1,a.y2,c.y),g=Math.max(a.y1,a.y2,c.y);return{x1:d-a.size,y1:f-a.size,x2:e+a.size,y2:f-a.size,height:g-f+2*a.size}},selfLoopToSquare:function(a){var b=sigma.utils.getSelfLoopControlPoints(a.x,a.y,a.size),c=Math.min(a.x,b.x1,b.x2),d=Math.max(a.x,b.x1,b.x2),e=Math.min(a.y,b.y1,b.y2),f=Math.max(a.y,b.y1,b.y2);return{x1:c-a.size,y1:e-a.size,x2:d+a.size,y2:e-a.size,height:f-e+2*a.size}},isAxisAligned:function(a){return a.x1===a.x2||a.y1===a.y2},axisAlignedTopPoints:function(a){return a.y1===a.y2&&a.x1<a.x2?a:a.x1===a.x2&&a.y2>a.y1?{x1:a.x1-a.height,y1:a.y1,x2:a.x1,y2:a.y1,height:a.height}:a.x1===a.x2&&a.y2<a.y1?{x1:a.x1,y1:a.y2,x2:a.x2+a.height,y2:a.y2,height:a.height}:{x1:a.x2,y1:a.y1-a.height,x2:a.x1,y2:a.y1-a.height,height:a.height}},lowerLeftCoor:function(a){var b=Math.sqrt(Math.pow(a.x2-a.x1,2)+Math.pow(a.y2-a.y1,2));return{x:a.x1-(a.y2-a.y1)*a.height/b,y:a.y1+(a.x2-a.x1)*a.height/b}},lowerRightCoor:function(a,b){return{x:b.x-a.x1+a.x2,y:b.y-a.y1+a.y2}},rectangleCorners:function(a){var b=this.lowerLeftCoor(a),c=this.lowerRightCoor(a,b);return[{x:a.x1,y:a.y1},{x:a.x2,y:a.y2},{x:b.x,y:b.y},{x:c.x,y:c.y}]},splitSquare:function(a){return[[{x:a.x,y:a.y},{x:a.x+a.width/2,y:a.y},{x:a.x,y:a.y+a.height/2},{x:a.x+a.width/2,y:a.y+a.height/2}],[{x:a.x+a.width/2,y:a.y},{x:a.x+a.width,y:a.y},{x:a.x+a.width/2,y:a.y+a.height/2},{x:a.x+a.width,y:a.y+a.height/2}],[{x:a.x,y:a.y+a.height/2},{x:a.x+a.width/2,y:a.y+a.height/2},{x:a.x,y:a.y+a.height},{x:a.x+a.width/2,y:a.y+a.height}],[{x:a.x+a.width/2,y:a.y+a.height/2},{x:a.x+a.width,y:a.y+a.height/2},{x:a.x+a.width/2,y:a.y+a.height},{x:a.x+a.width,y:a.y+a.height}]]},axis:function(a,b){return[{x:a[1].x-a[0].x,y:a[1].y-a[0].y},{x:a[1].x-a[3].x,y:a[1].y-a[3].y},{x:b[0].x-b[2].x,y:b[0].y-b[2].y},{x:b[0].x-b[1].x,y:b[0].y-b[1].y}]},projection:function(a,b){var c=(a.x*b.x+a.y*b.y)/(Math.pow(b.x,2)+Math.pow(b.y,2));return{x:c*b.x,y:c*b.y}},axisCollision:function(a,b,c){for(var d=[],e=[],f=0;4>f;f++){var g=this.projection(b[f],a),h=this.projection(c[f],a);d.push(g.x*a.x+g.y*a.y),e.push(h.x*a.x+h.y*a.y)}var i=Math.max.apply(Math,d),j=Math.max.apply(Math,e),k=Math.min.apply(Math,d),l=Math.min.apply(Math,e);return i>=l&&j>=k},collision:function(a,b){for(var c=this.axis(a,b),d=!0,e=0;4>e;e++)d=d&&this.axisCollision(c[e],a,b);return d}},k=function(){this._geom=j,this._tree=null,this._cache={query:!1,result:!1},this._enabled=!0};k.prototype.index=function(a,b){if(!this._enabled)return this._tree;if(!b.bounds)throw"sigma.classes.edgequad.index: bounds information not given.";var c,d,e,g,h,k=b.prefix||"";this._tree=i(b.bounds,0,b.maxElements,b.maxLevel);for(var l=a.edges(),m=0,n=l.length;n>m;m++)d=a.nodes(l[m].source),e=a.nodes(l[m].target),h={x1:d[k+"x"],y1:d[k+"y"],x2:e[k+"x"],y2:e[k+"y"],size:l[m][k+"size"]||0},"curve"===l[m].type||"curvedArrow"===l[m].type?d.id===e.id?(g={x:d[k+"x"],y:d[k+"y"],size:d[k+"size"]||0},f(l[m],j.selfLoopToSquare(g),this._tree)):(c=sigma.utils.getQuadraticControlPoint(h.x1,h.y1,h.x2,h.y2),f(l[m],j.quadraticCurveToSquare(h,c),this._tree)):f(l[m],j.lineToSquare(h),this._tree);return this._cache={query:!1,result:!1},this._tree},k.prototype.point=function(a,b){return this._enabled&&this._tree?g({x:a,y:b},this._tree)||[]:[]},k.prototype.area=function(a){if(!this._enabled)return[];var b,e,f=JSON.stringify(a);if(this._cache.query===f)return this._cache.result;j.isAxisAligned(a)?(b=c,e=j.axisAlignedTopPoints(a)):(b=d,e=j.rectangleCorners(a));var g=this._tree?h(e,this._tree,b):[],i=[];for(var k in g)i.push(g[k]);return this._cache.query=f,this._cache.result=i,i},"undefined"!=typeof this.sigma?(this.sigma.classes=this.sigma.classes||{},this.sigma.classes.edgequad=k):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=k),exports.edgequad=k):this.edgequad=k}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.captors"),sigma.captors.mouse=function(a,b,c){function d(a){var b,c,d;return y("mouseEnabled")&&v.dispatchEvent("mousemove",{x:sigma.utils.getX(a)-sigma.utils.getWidth(a)/2,y:sigma.utils.getY(a)-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),y("mouseEnabled")&&q?(r=!0,s=!0,u&&clearTimeout(u),u=setTimeout(function(){r=!1},y("dragTimeout")),sigma.misc.animation.killAll(x),x.isMoving=!0,d=x.cameraPosition(sigma.utils.getX(a)-o,sigma.utils.getY(a)-p,!0),b=k-d.x,c=l-d.y,(b!==x.x||c!==x.y)&&(m=x.x,n=x.y,x.goTo({x:b,y:c})),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1):void 0}function e(a){if(y("mouseEnabled")&&q){q=!1,u&&clearTimeout(u),x.isMoving=!1;var b=sigma.utils.getX(a),c=sigma.utils.getY(a);r?(sigma.misc.animation.killAll(x),sigma.misc.animation.camera(x,{x:x.x+y("mouseInertiaRatio")*(x.x-m),y:x.y+y("mouseInertiaRatio")*(x.y-n)},{easing:"quadraticOut",duration:y("mouseInertiaDuration")})):(o!==b||p!==c)&&x.goTo({x:x.x,y:x.y}),v.dispatchEvent("mouseup",{x:b-sigma.utils.getWidth(a)/2,y:c-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),r=!1}}function f(a){if(y("mouseEnabled"))switch(k=x.x,l=x.y,m=x.x,n=x.y,o=sigma.utils.getX(a),p=sigma.utils.getY(a),s=!1,t=(new Date).getTime(),a.which){case 2:break;case 3:v.dispatchEvent("rightclick",{x:o-sigma.utils.getWidth(a)/2,y:p-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey});break;default:q=!0,v.dispatchEvent("mousedown",{x:o-sigma.utils.getWidth(a)/2,y:p-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey})}}function g(a){y("mouseEnabled")&&v.dispatchEvent("mouseout")}function h(a){return y("mouseEnabled")&&v.dispatchEvent("click",{x:sigma.utils.getX(a)-sigma.utils.getWidth(a)/2,y:sigma.utils.getY(a)-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey,isDragging:(new Date).getTime()-t>100&&s}),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1}function i(a){var b,c,d;return y("mouseEnabled")?(c=1/y("doubleClickZoomingRatio"),v.dispatchEvent("doubleclick",{x:o-sigma.utils.getWidth(a)/2,y:p-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),y("doubleClickEnabled")&&(b=x.cameraPosition(sigma.utils.getX(a)-sigma.utils.getWidth(a)/2,sigma.utils.getY(a)-sigma.utils.getHeight(a)/2,!0),d={duration:y("doubleClickZoomDuration")},sigma.utils.zoomTo(x,b.x,b.y,c,d)),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1):void 0}function j(a){var b,c,d;return y("mouseEnabled")&&y("mouseWheelEnabled")?(c=sigma.utils.getDelta(a)>0?1/y("zoomingRatio"):y("zoomingRatio"),b=x.cameraPosition(sigma.utils.getX(a)-sigma.utils.getWidth(a)/2,sigma.utils.getY(a)-sigma.utils.getHeight(a)/2,!0),d={duration:y("mouseZoomDuration")},sigma.utils.zoomTo(x,b.x,b.y,c,d),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1):void 0}var k,l,m,n,o,p,q,r,s,t,u,v=this,w=a,x=b,y=c;sigma.classes.dispatcher.extend(this),sigma.utils.doubleClick(w,"click",i),w.addEventListener("DOMMouseScroll",j,!1),w.addEventListener("mousewheel",j,!1),w.addEventListener("mousemove",d,!1),w.addEventListener("mousedown",f,!1),w.addEventListener("click",h,!1),w.addEventListener("mouseout",g,!1),document.addEventListener("mouseup",e,!1),this.kill=function(){sigma.utils.unbindDoubleClick(w,"click"),w.removeEventListener("DOMMouseScroll",j),w.removeEventListener("mousewheel",j),w.removeEventListener("mousemove",d),w.removeEventListener("mousedown",f),w.removeEventListener("click",h),w.removeEventListener("mouseout",g),document.removeEventListener("mouseup",e)}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.captors"),sigma.captors.touch=function(a,b,c){function d(a){var b=sigma.utils.getOffset(B);return{x:a.pageX-b.left,y:a.pageY-b.top}}function e(a){if(D("touchEnabled")){var b,c,e,f,g,h;switch(E=a.touches,E.length){case 1:C.isMoving=!0,w=1,i=C.x,j=C.y,m=C.x,n=C.y,g=d(E[0]),q=g.x,r=g.y;break;case 2:return C.isMoving=!0,w=2,g=d(E[0]),h=d(E[1]),b=g.x,e=g.y,c=h.x,f=h.y,m=C.x,n=C.y,k=C.angle,l=C.ratio,i=C.x,j=C.y,q=b,r=e,s=c,t=f,u=Math.atan2(t-r,s-q),v=Math.sqrt(Math.pow(t-r,2)+Math.pow(s-q,2)),a.preventDefault(),!1}}}function f(a){if(D("touchEnabled")){E=a.touches;var b=D("touchInertiaRatio");switch(z&&(x=!1,clearTimeout(z)),w){case 2:if(1===a.touches.length){e(a),a.preventDefault();break}case 1:C.isMoving=!1,A.dispatchEvent("stopDrag"),x&&(y=!1,sigma.misc.animation.camera(C,{x:C.x+b*(C.x-m),y:C.y+b*(C.y-n)},{easing:"quadraticOut",duration:D("touchInertiaDuration")})),x=!1,w=0}}}function g(a){if(!y&&D("touchEnabled")){var b,c,e,f,g,h,B,F,G,H,I,J,K,L,M,N,O;switch(E=a.touches,x=!0,z&&clearTimeout(z),z=setTimeout(function(){x=!1},D("dragTimeout")),w){case 1:F=d(E[0]),b=F.x,e=F.y,H=C.cameraPosition(b-q,e-r,!0),L=i-H.x,M=j-H.y,(L!==C.x||M!==C.y)&&(m=C.x,n=C.y,C.goTo({x:L,y:M}),A.dispatchEvent("mousemove",{x:F.x-sigma.utils.getWidth(a)/2,y:F.y-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),A.dispatchEvent("drag"));break;case 2:F=d(E[0]),G=d(E[1]),b=F.x,e=F.y,c=G.x,f=G.y,I=C.cameraPosition((q+s)/2-sigma.utils.getWidth(a)/2,(r+t)/2-sigma.utils.getHeight(a)/2,!0),B=C.cameraPosition((b+c)/2-sigma.utils.getWidth(a)/2,(e+f)/2-sigma.utils.getHeight(a)/2,!0),J=Math.atan2(f-e,c-b)-u,K=Math.sqrt(Math.pow(f-e,2)+Math.pow(c-b,2))/v,b=I.x,e=I.y,N=l/K,b*=K,e*=K,O=k-J,g=Math.cos(-J),h=Math.sin(-J),c=b*g+e*h,f=e*g-b*h,b=c,e=f,L=b-B.x+i,M=e-B.y+j,(N!==C.ratio||O!==C.angle||L!==C.x||M!==C.y)&&(m=C.x,n=C.y,o=C.angle,p=C.ratio,C.goTo({x:L,y:M,angle:O,ratio:N}),A.dispatchEvent("drag"))}return a.preventDefault(),!1}}function h(a){var b,c,e;return a.touches&&1===a.touches.length&&D("touchEnabled")?(y=!0,c=1/D("doubleClickZoomingRatio"),b=d(a.touches[0]),A.dispatchEvent("doubleclick",{x:b.x-sigma.utils.getWidth(a)/2,y:b.y-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),D("doubleClickEnabled")&&(b=C.cameraPosition(b.x-sigma.utils.getWidth(a)/2,b.y-sigma.utils.getHeight(a)/2,!0),e={duration:D("doubleClickZoomDuration"),onComplete:function(){y=!1}},sigma.utils.zoomTo(C,b.x,b.y,c,e)),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1):void 0}var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A=this,B=a,C=b,D=c,E=[];sigma.classes.dispatcher.extend(this),sigma.utils.doubleClick(B,"touchstart",h),B.addEventListener("touchstart",e,!1),B.addEventListener("touchend",f,!1),B.addEventListener("touchcancel",f,!1),B.addEventListener("touchleave",f,!1),B.addEventListener("touchmove",g,!1),this.kill=function(){sigma.utils.unbindDoubleClick(B,"touchstart"),B.addEventListener("touchstart",e),B.addEventListener("touchend",f),B.addEventListener("touchcancel",f),B.addEventListener("touchleave",f),B.addEventListener("touchmove",g)}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";if("undefined"==typeof conrad)throw"conrad is not declared";sigma.utils.pkg("sigma.renderers"),sigma.renderers.canvas=function(a,b,c,d){if("object"!=typeof d)throw"sigma.renderers.canvas: Wrong arguments.";if(!(d.container instanceof HTMLElement))throw"Container not found.";var e,f,g,h;for(sigma.classes.dispatcher.extend(this),Object.defineProperty(this,"conradId",{value:sigma.utils.id()}),this.graph=a,this.camera=b,this.contexts={},this.domElements={},this.options=d,this.container=this.options.container,this.settings="object"==typeof d.settings&&d.settings?c.embedObjects(d.settings):c,this.nodesOnScreen=[],this.edgesOnScreen=[],this.jobs={},this.options.prefix="renderer"+this.conradId+":",this.settings("batchEdgesDrawing")?(this.initDOM("canvas","edges"),this.initDOM("canvas","scene"),this.contexts.nodes=this.contexts.scene,this.contexts.labels=this.contexts.scene):(this.initDOM("canvas","scene"),this.contexts.edges=this.contexts.scene,this.contexts.nodes=this.contexts.scene,this.contexts.labels=this.contexts.scene),this.initDOM("canvas","mouse"),this.contexts.hover=this.contexts.mouse,this.captors=[],g=this.options.captors||[sigma.captors.mouse,sigma.captors.touch],e=0,f=g.length;f>e;e++)h="function"==typeof g[e]?g[e]:sigma.captors[g[e]],this.captors.push(new h(this.domElements.mouse,this.camera,this.settings));sigma.misc.bindEvents.call(this,this.options.prefix),sigma.misc.drawHovers.call(this,this.options.prefix),this.resize(!1)},sigma.renderers.canvas.prototype.render=function(b){b=b||{};var c,d,e,f,g,h,i,j,k,l,m,n,o,p={},q=this.graph,r=this.graph.nodes,s=(this.options.prefix||"",this.settings(b,"drawEdges")),t=this.settings(b,"drawNodes"),u=this.settings(b,"drawLabels"),v=this.settings(b,"drawEdgeLabels"),w=this.settings.embedObjects(b,{prefix:this.options.prefix});this.resize(!1),this.settings(b,"hideEdgesOnMove")&&(this.camera.isAnimated||this.camera.isMoving)&&(s=!1),this.camera.applyView(a,this.options.prefix,{width:this.width,height:this.height}),this.clear();for(e in this.jobs)conrad.hasJob(e)&&conrad.killJob(e);for(this.edgesOnScreen=[],this.nodesOnScreen=this.camera.quadtree.area(this.camera.getRectangle(this.width,this.height)),c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)p[c[d].id]=c[d];if(s){for(c=q.edges(),d=0,f=c.length;f>d;d++)g=c[d],!p[g.source]&&!p[g.target]||g.hidden||r(g.source).hidden||r(g.target).hidden||this.edgesOnScreen.push(g);if(this.settings(b,"batchEdgesDrawing"))h="edges_"+this.conradId,n=w("canvasEdgesBatchSize"),l=this.edgesOnScreen,f=l.length,k=0,i=Math.min(l.length,k+n),j=function(){for(o=this.contexts.edges.globalCompositeOperation,this.contexts.edges.globalCompositeOperation="destination-over",m=sigma.canvas.edges,d=k;i>d;d++)g=l[d],(m[g.type||this.settings(b,"defaultEdgeType")]||m.def)(g,q.nodes(g.source),q.nodes(g.target),this.contexts.edges,w);if(v)for(m=sigma.canvas.edges.labels,d=k;i>d;d++)g=l[d],g.hidden||(m[g.type||this.settings(b,"defaultEdgeType")]||m.def)(g,q.nodes(g.source),q.nodes(g.target),this.contexts.labels,w);return this.contexts.edges.globalCompositeOperation=o,i===l.length?(delete this.jobs[h],!1):(k=i+1,i=Math.min(l.length,k+n),!0)},this.jobs[h]=j,conrad.addJob(h,j.bind(this));else{for(m=sigma.canvas.edges,c=this.edgesOnScreen,d=0,f=c.length;f>d;d++)g=c[d],(m[g.type||this.settings(b,"defaultEdgeType")]||m.def)(g,q.nodes(g.source),q.nodes(g.target),this.contexts.edges,w);if(v)for(m=sigma.canvas.edges.labels,c=this.edgesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||(m[c[d].type||this.settings(b,"defaultEdgeType")]||m.def)(c[d],q.nodes(c[d].source),q.nodes(c[d].target),this.contexts.labels,w)}}if(t)for(m=sigma.canvas.nodes,c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||(m[c[d].type||this.settings(b,"defaultNodeType")]||m.def)(c[d],this.contexts.nodes,w);if(u)for(m=sigma.canvas.labels,c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||(m[c[d].type||this.settings(b,"defaultNodeType")]||m.def)(c[d],this.contexts.labels,w);return this.dispatchEvent("render"),this},sigma.renderers.canvas.prototype.initDOM=function(a,b){var c=document.createElement(a);c.style.position="absolute",c.setAttribute("class","sigma-"+b),this.domElements[b]=c,this.container.appendChild(c),"canvas"===a.toLowerCase()&&(this.contexts[b]=c.getContext("2d"))},sigma.renderers.canvas.prototype.resize=function(b,c){var d,e=this.width,f=this.height,g=1;if(b!==a&&c!==a?(this.width=b,this.height=c):(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,b=this.width,c=this.height),e!==this.width||f!==this.height)for(d in this.domElements)this.domElements[d].style.width=b+"px",this.domElements[d].style.height=c+"px","canvas"===this.domElements[d].tagName.toLowerCase()&&(this.domElements[d].setAttribute("width",b*g+"px"),this.domElements[d].setAttribute("height",c*g+"px"),1!==g&&this.contexts[d].scale(g,g));return this},sigma.renderers.canvas.prototype.clear=function(){var a;for(a in this.domElements)"CANVAS"===this.domElements[a].tagName&&(this.domElements[a].width=this.domElements[a].width);return this},sigma.renderers.canvas.prototype.kill=function(){for(var a,b;b=this.captors.pop();)b.kill();delete this.captors;for(a in this.domElements)this.domElements[a].parentNode.removeChild(this.domElements[a]),delete this.domElements[a],delete this.contexts[a];delete this.domElements,delete this.contexts},sigma.utils.pkg("sigma.canvas.nodes"),sigma.utils.pkg("sigma.canvas.edges"),sigma.utils.pkg("sigma.canvas.labels")}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.renderers"),sigma.renderers.webgl=function(a,b,c,d){if("object"!=typeof d)throw"sigma.renderers.webgl: Wrong arguments.";if(!(d.container instanceof HTMLElement))throw"Container not found.";var e,f,g,h;for(sigma.classes.dispatcher.extend(this),this.jobs={},Object.defineProperty(this,"conradId",{value:sigma.utils.id()}),this.graph=a,this.camera=b,this.contexts={},this.domElements={},this.options=d,this.container=this.options.container,this.settings="object"==typeof d.settings&&d.settings?c.embedObjects(d.settings):c,this.options.prefix=this.camera.readPrefix,Object.defineProperty(this,"nodePrograms",{value:{}}),Object.defineProperty(this,"edgePrograms",{value:{}}),Object.defineProperty(this,"nodeFloatArrays",{value:{}}),Object.defineProperty(this,"edgeFloatArrays",{value:{}}),this.settings(d,"batchEdgesDrawing")?(this.initDOM("canvas","edges",!0),this.initDOM("canvas","nodes",!0)):(this.initDOM("canvas","scene",!0),this.contexts.nodes=this.contexts.scene,this.contexts.edges=this.contexts.scene),this.initDOM("canvas","labels"),this.initDOM("canvas","mouse"),this.contexts.hover=this.contexts.mouse,this.captors=[],g=this.options.captors||[sigma.captors.mouse,sigma.captors.touch],e=0,f=g.length;f>e;e++)h="function"==typeof g[e]?g[e]:sigma.captors[g[e]],this.captors.push(new h(this.domElements.mouse,this.camera,this.settings));sigma.misc.bindEvents.call(this,this.camera.prefix),sigma.misc.drawHovers.call(this,this.camera.prefix),this.resize()},sigma.renderers.webgl.prototype.process=function(){var a,b,c,d,e,f,g=this.graph,h=sigma.utils.extend(h,this.options);for(d in this.nodeFloatArrays)delete this.nodeFloatArrays[d];for(d in this.edgeFloatArrays)delete this.edgeFloatArrays[d];for(a=g.edges(),b=0,c=a.length;c>b;b++)e=a[b].type||this.settings(h,"defaultEdgeType"),d=e&&sigma.webgl.edges[e]?e:"def",this.edgeFloatArrays[d]||(this.edgeFloatArrays[d]={edges:[]}),this.edgeFloatArrays[d].edges.push(a[b]);for(a=g.nodes(),b=0,c=a.length;c>b;b++)e=a[b].type||this.settings(h,"defaultNodeType"),d=e&&sigma.webgl.nodes[e]?e:"def",this.nodeFloatArrays[d]||(this.nodeFloatArrays[d]={nodes:[]}),this.nodeFloatArrays[d].nodes.push(a[b]);for(d in this.edgeFloatArrays)for(f=sigma.webgl.edges[d],a=this.edgeFloatArrays[d].edges,b=0,c=a.length;c>b;b++)this.edgeFloatArrays[d].array||(this.edgeFloatArrays[d].array=new Float32Array(a.length*f.POINTS*f.ATTRIBUTES)),a[b].hidden||g.nodes(a[b].source).hidden||g.nodes(a[b].target).hidden||f.addEdge(a[b],g.nodes(a[b].source),g.nodes(a[b].target),this.edgeFloatArrays[d].array,b*f.POINTS*f.ATTRIBUTES,h.prefix,this.settings);for(d in this.nodeFloatArrays)for(f=sigma.webgl.nodes[d],a=this.nodeFloatArrays[d].nodes,b=0,c=a.length;c>b;b++)this.nodeFloatArrays[d].array||(this.nodeFloatArrays[d].array=new Float32Array(a.length*f.POINTS*f.ATTRIBUTES)),a[b].hidden||f.addNode(a[b],this.nodeFloatArrays[d].array,b*f.POINTS*f.ATTRIBUTES,h.prefix,this.settings);return this},sigma.renderers.webgl.prototype.render=function(b){var c,d,e,f,g,h,i=this,j=(this.graph,this.contexts.nodes),k=this.contexts.edges,l=this.camera.getMatrix(),m=sigma.utils.extend(b,this.options),n=this.settings(m,"drawLabels"),o=this.settings(m,"drawEdges"),p=this.settings(m,"drawNodes");this.resize(!1),this.settings(m,"hideEdgesOnMove")&&(this.camera.isAnimated||this.camera.isMoving)&&(o=!1),this.clear(),l=sigma.utils.matrices.multiply(l,sigma.utils.matrices.translation(this.width/2,this.height/2));for(f in this.jobs)conrad.hasJob(f)&&conrad.killJob(f);if(o)if(this.settings(m,"batchEdgesDrawing"))(function(){var a,b,c,d,e,f,g,h,i;c="edges_"+this.conradId,i=this.settings(m,"webglEdgesBatchSize"),a=Object.keys(this.edgeFloatArrays),a.length&&(b=0,h=sigma.webgl.edges[a[b]],e=this.edgeFloatArrays[a[b]].array,g=0,f=Math.min(g+i*h.POINTS,e.length/h.ATTRIBUTES),d=function(){return this.edgePrograms[a[b]]||(this.edgePrograms[a[b]]=h.initProgram(k)),f>g&&(k.useProgram(this.edgePrograms[a[b]]),h.render(k,this.edgePrograms[a[b]],e,{settings:this.settings,matrix:l,width:this.width,height:this.height,ratio:this.camera.ratio,scalingRatio:this.settings(m,"webglOversamplingRatio"),start:g,count:f-g})),f>=e.length/h.ATTRIBUTES&&b===a.length-1?(delete this.jobs[c],!1):(f>=e.length/h.ATTRIBUTES?(b++,e=this.edgeFloatArrays[a[b]].array,h=sigma.webgl.edges[a[b]],g=0,f=Math.min(g+i*h.POINTS,e.length/h.ATTRIBUTES)):(g=f,f=Math.min(g+i*h.POINTS,e.length/h.ATTRIBUTES)),!0)},this.jobs[c]=d,conrad.addJob(c,d.bind(this)))}).call(this);else for(f in this.edgeFloatArrays)h=sigma.webgl.edges[f],this.edgePrograms[f]||(this.edgePrograms[f]=h.initProgram(k)),this.edgeFloatArrays[f]&&(k.useProgram(this.edgePrograms[f]),h.render(k,this.edgePrograms[f],this.edgeFloatArrays[f].array,{
-settings:this.settings,matrix:l,width:this.width,height:this.height,ratio:this.camera.ratio,scalingRatio:this.settings(m,"webglOversamplingRatio")}));if(p){j.blendFunc(j.SRC_ALPHA,j.ONE_MINUS_SRC_ALPHA),j.enable(j.BLEND);for(f in this.nodeFloatArrays)h=sigma.webgl.nodes[f],this.nodePrograms[f]||(this.nodePrograms[f]=h.initProgram(j)),this.nodeFloatArrays[f]&&(j.useProgram(this.nodePrograms[f]),h.render(j,this.nodePrograms[f],this.nodeFloatArrays[f].array,{settings:this.settings,matrix:l,width:this.width,height:this.height,ratio:this.camera.ratio,scalingRatio:this.settings(m,"webglOversamplingRatio")}))}if(n)for(c=this.camera.quadtree.area(this.camera.getRectangle(this.width,this.height)),this.camera.applyView(a,a,{nodes:c,edges:[],width:this.width,height:this.height}),g=function(a){return i.settings({prefix:i.camera.prefix},a)},d=0,e=c.length;e>d;d++)c[d].hidden||(sigma.canvas.labels[c[d].type||this.settings(m,"defaultNodeType")]||sigma.canvas.labels.def)(c[d],this.contexts.labels,g);return this.dispatchEvent("render"),this},sigma.renderers.webgl.prototype.initDOM=function(a,b,c){var d=document.createElement(a),e=this;d.style.position="absolute",d.setAttribute("class","sigma-"+b),this.domElements[b]=d,this.container.appendChild(d),"canvas"===a.toLowerCase()&&(this.contexts[b]=d.getContext(c?"experimental-webgl":"2d",{preserveDrawingBuffer:!0}),c&&(d.addEventListener("webglcontextlost",function(a){a.preventDefault()},!1),d.addEventListener("webglcontextrestored",function(a){e.render()},!1)))},sigma.renderers.webgl.prototype.resize=function(b,c){var d,e=this.width,f=this.height;if(b!==a&&c!==a?(this.width=b,this.height=c):(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,b=this.width,c=this.height),e!==this.width||f!==this.height)for(d in this.domElements)this.domElements[d].style.width=b+"px",this.domElements[d].style.height=c+"px","canvas"===this.domElements[d].tagName.toLowerCase()&&(this.contexts[d]&&this.contexts[d].scale?(this.domElements[d].setAttribute("width",b+"px"),this.domElements[d].setAttribute("height",c+"px")):(this.domElements[d].setAttribute("width",b*this.settings("webglOversamplingRatio")+"px"),this.domElements[d].setAttribute("height",c*this.settings("webglOversamplingRatio")+"px")));for(d in this.contexts)this.contexts[d]&&this.contexts[d].viewport&&this.contexts[d].viewport(0,0,this.width*this.settings("webglOversamplingRatio"),this.height*this.settings("webglOversamplingRatio"));return this},sigma.renderers.webgl.prototype.clear=function(){var a;for(a in this.domElements)"CANVAS"===this.domElements[a].tagName&&(this.domElements[a].width=this.domElements[a].width);return this.contexts.nodes.clear(this.contexts.nodes.COLOR_BUFFER_BIT),this.contexts.edges.clear(this.contexts.edges.COLOR_BUFFER_BIT),this},sigma.renderers.webgl.prototype.kill=function(){for(var a,b;b=this.captors.pop();)b.kill();delete this.captors;for(a in this.domElements)this.domElements[a].parentNode.removeChild(this.domElements[a]),delete this.domElements[a],delete this.contexts[a];delete this.domElements,delete this.contexts},sigma.utils.pkg("sigma.webgl.nodes"),sigma.utils.pkg("sigma.webgl.edges"),sigma.utils.pkg("sigma.canvas.labels")}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";if("undefined"==typeof conrad)throw"conrad is not declared";sigma.utils.pkg("sigma.renderers"),sigma.renderers.svg=function(a,b,c,d){if("object"!=typeof d)throw"sigma.renderers.svg: Wrong arguments.";if(!(d.container instanceof HTMLElement))throw"Container not found.";var e,f,g,h,i=this;for(sigma.classes.dispatcher.extend(this),this.graph=a,this.camera=b,this.domElements={graph:null,groups:{},nodes:{},edges:{},labels:{},hovers:{}},this.measurementCanvas=null,this.options=d,this.container=this.options.container,this.settings="object"==typeof d.settings&&d.settings?c.embedObjects(d.settings):c,this.settings("freeStyle",!!this.options.freeStyle),this.settings("xmlns","http://www.w3.org/2000/svg"),this.nodesOnScreen=[],this.edgesOnScreen=[],this.options.prefix="renderer"+sigma.utils.id()+":",this.initDOM("svg"),this.captors=[],g=this.options.captors||[sigma.captors.mouse,sigma.captors.touch],e=0,f=g.length;f>e;e++)h="function"==typeof g[e]?g[e]:sigma.captors[g[e]],this.captors.push(new h(this.domElements.graph,this.camera,this.settings));window.addEventListener("resize",function(){i.resize()}),sigma.misc.bindDOMEvents.call(this,this.domElements.graph),this.bindHovers(this.options.prefix),this.resize(!1)},sigma.renderers.svg.prototype.render=function(b){b=b||{};var c,d,e,f,g,h,i,j,k,l={},m=this.graph,n=this.graph.nodes,o=(this.options.prefix||"",this.settings(b,"drawEdges")),p=this.settings(b,"drawNodes"),q=(this.settings(b,"drawLabels"),this.settings.embedObjects(b,{prefix:this.options.prefix,forceLabels:this.options.forceLabels}));for(this.settings(b,"hideEdgesOnMove")&&(this.camera.isAnimated||this.camera.isMoving)&&(o=!1),this.camera.applyView(a,this.options.prefix,{width:this.width,height:this.height}),this.hideDOMElements(this.domElements.nodes),this.hideDOMElements(this.domElements.edges),this.hideDOMElements(this.domElements.labels),this.edgesOnScreen=[],this.nodesOnScreen=this.camera.quadtree.area(this.camera.getRectangle(this.width,this.height)),c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)l[c[d].id]=c[d];for(c=m.edges(),d=0,f=c.length;f>d;d++)g=c[d],!l[g.source]&&!l[g.target]||g.hidden||n(g.source).hidden||n(g.target).hidden||this.edgesOnScreen.push(g);if(j=sigma.svg.nodes,k=sigma.svg.labels,p)for(c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||this.domElements.nodes[c[d].id]||(e=(j[c[d].type]||j.def).create(c[d],q),this.domElements.nodes[c[d].id]=e,this.domElements.groups.nodes.appendChild(e),e=(k[c[d].type]||k.def).create(c[d],q),this.domElements.labels[c[d].id]=e,this.domElements.groups.labels.appendChild(e));if(p)for(c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||((j[c[d].type]||j.def).update(c[d],this.domElements.nodes[c[d].id],q),(k[c[d].type]||k.def).update(c[d],this.domElements.labels[c[d].id],q));if(j=sigma.svg.edges,o)for(c=this.edgesOnScreen,d=0,f=c.length;f>d;d++)this.domElements.edges[c[d].id]||(h=n(c[d].source),i=n(c[d].target),e=(j[c[d].type]||j.def).create(c[d],h,i,q),this.domElements.edges[c[d].id]=e,this.domElements.groups.edges.appendChild(e));if(o)for(c=this.edgesOnScreen,d=0,f=c.length;f>d;d++)h=n(c[d].source),i=n(c[d].target),(j[c[d].type]||j.def).update(c[d],this.domElements.edges[c[d].id],h,i,q);return this.dispatchEvent("render"),this},sigma.renderers.svg.prototype.initDOM=function(a){var b,c,d,e=document.createElementNS(this.settings("xmlns"),a),f=this.settings("classPrefix");e.style.position="absolute",e.setAttribute("class",f+"-svg"),e.setAttribute("xmlns",this.settings("xmlns")),e.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),e.setAttribute("version","1.1");var g=document.createElement("canvas");g.setAttribute("class",f+"-measurement-canvas"),this.domElements.graph=this.container.appendChild(e);var h=["edges","nodes","labels","hovers"];for(d=0,c=h.length;c>d;d++)b=document.createElementNS(this.settings("xmlns"),"g"),b.setAttributeNS(null,"id",f+"-group-"+h[d]),b.setAttributeNS(null,"class",f+"-group"),this.domElements.groups[h[d]]=this.domElements.graph.appendChild(b);this.container.appendChild(g),this.measurementCanvas=g.getContext("2d")},sigma.renderers.svg.prototype.hideDOMElements=function(a){var b,c;for(c in a)b=a[c],sigma.svg.utils.hide(b);return this},sigma.renderers.svg.prototype.bindHovers=function(a){function b(b){var c=b.data.node,d=g.settings.embedObjects({prefix:a});if(d("enableHovering")){var h=(f[c.type]||f.def).create(c,g.domElements.nodes[c.id],g.measurementCanvas,d);g.domElements.hovers[c.id]=h,g.domElements.groups.hovers.appendChild(h),e=c}}function c(b){var c=b.data.node,d=g.settings.embedObjects({prefix:a});d("enableHovering")&&(g.domElements.groups.hovers.removeChild(g.domElements.hovers[c.id]),e=null,delete g.domElements.hovers[c.id],g.domElements.groups.nodes.appendChild(g.domElements.nodes[c.id]))}function d(){if(e){var b=g.settings.embedObjects({prefix:a});g.domElements.groups.hovers.removeChild(g.domElements.hovers[e.id]),delete g.domElements.hovers[e.id];var c=(f[e.type]||f.def).create(e,g.domElements.nodes[e.id],g.measurementCanvas,b);g.domElements.hovers[e.id]=c,g.domElements.groups.hovers.appendChild(c)}}var e,f=sigma.svg.hovers,g=this;this.bind("overNode",b),this.bind("outNode",c),this.bind("render",d)},sigma.renderers.svg.prototype.resize=function(b,c){var d=this.width,e=this.height,f=1;return b!==a&&c!==a?(this.width=b,this.height=c):(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,b=this.width,c=this.height),(d!==this.width||e!==this.height)&&(this.domElements.graph.style.width=b+"px",this.domElements.graph.style.height=c+"px","svg"===this.domElements.graph.tagName.toLowerCase()&&(this.domElements.graph.setAttribute("width",b*f),this.domElements.graph.setAttribute("height",c*f))),this},sigma.utils.pkg("sigma.svg.nodes"),sigma.utils.pkg("sigma.svg.edges"),sigma.utils.pkg("sigma.svg.labels")}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.renderers");var b,c=!!a.WebGLRenderingContext;if(c){b=document.createElement("canvas");try{c=!(!b.getContext("webgl")&&!b.getContext("experimental-webgl"))}catch(d){c=!1}}sigma.renderers.def=c?sigma.renderers.webgl:sigma.renderers.canvas}(this),function(){"use strict";sigma.utils.pkg("sigma.webgl.nodes"),sigma.webgl.nodes.def={POINTS:3,ATTRIBUTES:5,addNode:function(a,b,c,d,e){var f=sigma.utils.floatColor(a.color||e("defaultNodeColor"));b[c++]=a[d+"x"],b[c++]=a[d+"y"],b[c++]=a[d+"size"],b[c++]=f,b[c++]=0,b[c++]=a[d+"x"],b[c++]=a[d+"y"],b[c++]=a[d+"size"],b[c++]=f,b[c++]=2*Math.PI/3,b[c++]=a[d+"x"],b[c++]=a[d+"y"],b[c++]=a[d+"size"],b[c++]=f,b[c++]=4*Math.PI/3},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_position"),g=a.getAttribLocation(b,"a_size"),h=a.getAttribLocation(b,"a_color"),i=a.getAttribLocation(b,"a_angle"),j=a.getUniformLocation(b,"u_resolution"),k=a.getUniformLocation(b,"u_matrix"),l=a.getUniformLocation(b,"u_ratio"),m=a.getUniformLocation(b,"u_scale");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.DYNAMIC_DRAW),a.uniform2f(j,d.width,d.height),a.uniform1f(l,1/Math.pow(d.ratio,d.settings("nodesPowRatio"))),a.uniform1f(m,d.scalingRatio),a.uniformMatrix3fv(k,!1,d.matrix),a.enableVertexAttribArray(f),a.enableVertexAttribArray(g),a.enableVertexAttribArray(h),a.enableVertexAttribArray(i),a.vertexAttribPointer(f,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(g,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.vertexAttribPointer(h,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,12),a.vertexAttribPointer(i,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,16),a.drawArrays(a.TRIANGLES,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_position;","attribute float a_size;","attribute float a_color;","attribute float a_angle;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_scale;","uniform mat3 u_matrix;","varying vec4 color;","varying vec2 center;","varying float radius;","void main() {","radius = a_size * u_ratio;","vec2 position = (u_matrix * vec3(a_position, 1)).xy;","center = position * u_scale;","center = vec2(center.x, u_scale * u_resolution.y - center.y);","position = position +","2.0 * radius * vec2(cos(a_angle), sin(a_angle));","position = (position / u_resolution * 2.0 - 1.0) * vec2(1, -1);","radius = radius * u_scale;","gl_Position = vec4(position, 0, 1);","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","varying vec2 center;","varying float radius;","void main(void) {","vec4 color0 = vec4(0.0, 0.0, 0.0, 0.0);","vec2 m = gl_FragCoord.xy - center;","float diff = radius - sqrt(m.x * m.x + m.y * m.y);","if (diff > 0.0)","gl_FragColor = color;","else","gl_FragColor = color0;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(){"use strict";sigma.utils.pkg("sigma.webgl.nodes"),sigma.webgl.nodes.fast={POINTS:1,ATTRIBUTES:4,addNode:function(a,b,c,d,e){b[c++]=a[d+"x"],b[c++]=a[d+"y"],b[c++]=a[d+"size"],b[c++]=sigma.utils.floatColor(a.color||e("defaultNodeColor"))},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_position"),g=a.getAttribLocation(b,"a_size"),h=a.getAttribLocation(b,"a_color"),i=a.getUniformLocation(b,"u_resolution"),j=a.getUniformLocation(b,"u_matrix"),k=a.getUniformLocation(b,"u_ratio"),l=a.getUniformLocation(b,"u_scale");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.DYNAMIC_DRAW),a.uniform2f(i,d.width,d.height),a.uniform1f(k,1/Math.pow(d.ratio,d.settings("nodesPowRatio"))),a.uniform1f(l,d.scalingRatio),a.uniformMatrix3fv(j,!1,d.matrix),a.enableVertexAttribArray(f),a.enableVertexAttribArray(g),a.enableVertexAttribArray(h),a.vertexAttribPointer(f,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(g,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.vertexAttribPointer(h,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,12),a.drawArrays(a.POINTS,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_position;","attribute float a_size;","attribute float a_color;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_scale;","uniform mat3 u_matrix;","varying vec4 color;","void main() {","gl_Position = vec4(","((u_matrix * vec3(a_position, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","gl_PointSize = a_size * u_ratio * u_scale * 2.0;","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(){"use strict";sigma.utils.pkg("sigma.webgl.edges"),sigma.webgl.edges.def={POINTS:6,ATTRIBUTES:7,addEdge:function(a,b,c,d,e,f,g){var h=(a[f+"size"]||1)/2,i=b[f+"x"],j=b[f+"y"],k=c[f+"x"],l=c[f+"y"],m=a.color;if(!m)switch(g("edgeColor")){case"source":m=b.color||g("defaultNodeColor");break;case"target":m=c.color||g("defaultNodeColor");break;default:m=g("defaultEdgeColor")}m=sigma.utils.floatColor(m),d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=0,d[e++]=m,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=1,d[e++]=m,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=0,d[e++]=m,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=0,d[e++]=m,d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=1,d[e++]=m,d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=0,d[e++]=m},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_color"),g=a.getAttribLocation(b,"a_position1"),h=a.getAttribLocation(b,"a_position2"),i=a.getAttribLocation(b,"a_thickness"),j=a.getAttribLocation(b,"a_minus"),k=a.getUniformLocation(b,"u_resolution"),l=a.getUniformLocation(b,"u_matrix"),m=a.getUniformLocation(b,"u_matrixHalfPi"),n=a.getUniformLocation(b,"u_matrixHalfPiMinus"),o=a.getUniformLocation(b,"u_ratio"),p=a.getUniformLocation(b,"u_scale");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.STATIC_DRAW),a.uniform2f(k,d.width,d.height),a.uniform1f(o,d.ratio/Math.pow(d.ratio,d.settings("edgesPowRatio"))),a.uniform1f(p,d.scalingRatio),a.uniformMatrix3fv(l,!1,d.matrix),a.uniformMatrix2fv(m,!1,sigma.utils.matrices.rotation(Math.PI/2,!0)),a.uniformMatrix2fv(n,!1,sigma.utils.matrices.rotation(-Math.PI/2,!0)),a.enableVertexAttribArray(f),a.enableVertexAttribArray(g),a.enableVertexAttribArray(h),a.enableVertexAttribArray(i),a.enableVertexAttribArray(j),a.vertexAttribPointer(g,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(h,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.vertexAttribPointer(i,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,16),a.vertexAttribPointer(j,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,20),a.vertexAttribPointer(f,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,24),a.drawArrays(a.TRIANGLES,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_position1;","attribute vec2 a_position2;","attribute float a_thickness;","attribute float a_minus;","attribute float a_color;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_scale;","uniform mat3 u_matrix;","uniform mat2 u_matrixHalfPi;","uniform mat2 u_matrixHalfPiMinus;","varying vec4 color;","void main() {","vec2 position = a_thickness * u_ratio *","normalize(a_position2 - a_position1);","mat2 matrix = a_minus * u_matrixHalfPiMinus +","(1.0 - a_minus) * u_matrixHalfPi;","position = matrix * position + a_position1;","gl_Position = vec4(","((u_matrix * vec3(position, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(){"use strict";sigma.utils.pkg("sigma.webgl.edges"),sigma.webgl.edges.fast={POINTS:2,ATTRIBUTES:3,addEdge:function(a,b,c,d,e,f,g){var h=((a[f+"size"]||1)/2,b[f+"x"]),i=b[f+"y"],j=c[f+"x"],k=c[f+"y"],l=a.color;if(!l)switch(g("edgeColor")){case"source":l=b.color||g("defaultNodeColor");break;case"target":l=c.color||g("defaultNodeColor");break;default:l=g("defaultEdgeColor")}l=sigma.utils.floatColor(l),d[e++]=h,d[e++]=i,d[e++]=l,d[e++]=j,d[e++]=k,d[e++]=l},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_color"),g=a.getAttribLocation(b,"a_position"),h=a.getUniformLocation(b,"u_resolution"),i=a.getUniformLocation(b,"u_matrix");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.DYNAMIC_DRAW),a.uniform2f(h,d.width,d.height),a.uniformMatrix3fv(i,!1,d.matrix),a.enableVertexAttribArray(g),a.enableVertexAttribArray(f),a.vertexAttribPointer(g,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(f,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.lineWidth(3),a.drawArrays(a.LINES,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_position;","attribute float a_color;","uniform vec2 u_resolution;","uniform mat3 u_matrix;","varying vec4 color;","void main() {","gl_Position = vec4(","((u_matrix * vec3(a_position, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(){"use strict";sigma.utils.pkg("sigma.webgl.edges"),sigma.webgl.edges.arrow={POINTS:9,ATTRIBUTES:11,addEdge:function(a,b,c,d,e,f,g){var h=(a[f+"size"]||1)/2,i=b[f+"x"],j=b[f+"y"],k=c[f+"x"],l=c[f+"y"],m=c[f+"size"],n=a.color;if(!n)switch(g("edgeColor")){case"source":n=b.color||g("defaultNodeColor");break;case"target":n=c.color||g("defaultNodeColor");break;default:n=g("defaultEdgeColor")}n=sigma.utils.floatColor(n),d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=m,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=1,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=m,d[e++]=0,d[e++]=1,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=m,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=1,d[e++]=-1,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=1,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=1,d[e++]=1,d[e++]=n},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_pos1"),g=a.getAttribLocation(b,"a_pos2"),h=a.getAttribLocation(b,"a_thickness"),i=a.getAttribLocation(b,"a_tSize"),j=a.getAttribLocation(b,"a_delay"),k=a.getAttribLocation(b,"a_minus"),l=a.getAttribLocation(b,"a_head"),m=a.getAttribLocation(b,"a_headPosition"),n=a.getAttribLocation(b,"a_color"),o=a.getUniformLocation(b,"u_resolution"),p=a.getUniformLocation(b,"u_matrix"),q=a.getUniformLocation(b,"u_matrixHalfPi"),r=a.getUniformLocation(b,"u_matrixHalfPiMinus"),s=a.getUniformLocation(b,"u_ratio"),t=a.getUniformLocation(b,"u_nodeRatio"),u=a.getUniformLocation(b,"u_arrowHead"),v=a.getUniformLocation(b,"u_scale");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.STATIC_DRAW),a.uniform2f(o,d.width,d.height),a.uniform1f(s,d.ratio/Math.pow(d.ratio,d.settings("edgesPowRatio"))),a.uniform1f(t,Math.pow(d.ratio,d.settings("nodesPowRatio"))/d.ratio),a.uniform1f(u,5),a.uniform1f(v,d.scalingRatio),a.uniformMatrix3fv(p,!1,d.matrix),a.uniformMatrix2fv(q,!1,sigma.utils.matrices.rotation(Math.PI/2,!0)),a.uniformMatrix2fv(r,!1,sigma.utils.matrices.rotation(-Math.PI/2,!0)),a.enableVertexAttribArray(f),a.enableVertexAttribArray(g),a.enableVertexAttribArray(h),a.enableVertexAttribArray(i),a.enableVertexAttribArray(j),a.enableVertexAttribArray(k),a.enableVertexAttribArray(l),a.enableVertexAttribArray(m),a.enableVertexAttribArray(n),a.vertexAttribPointer(f,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(g,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.vertexAttribPointer(h,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,16),a.vertexAttribPointer(i,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,20),a.vertexAttribPointer(j,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,24),a.vertexAttribPointer(k,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,28),a.vertexAttribPointer(l,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,32),a.vertexAttribPointer(m,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,36),a.vertexAttribPointer(n,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,40),a.drawArrays(a.TRIANGLES,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_pos1;","attribute vec2 a_pos2;","attribute float a_thickness;","attribute float a_tSize;","attribute float a_delay;","attribute float a_minus;","attribute float a_head;","attribute float a_headPosition;","attribute float a_color;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_nodeRatio;","uniform float u_arrowHead;","uniform float u_scale;","uniform mat3 u_matrix;","uniform mat2 u_matrixHalfPi;","uniform mat2 u_matrixHalfPiMinus;","varying vec4 color;","void main() {","vec2 pos = normalize(a_pos2 - a_pos1);","mat2 matrix = (1.0 - a_head) *","(","a_minus * u_matrixHalfPiMinus +","(1.0 - a_minus) * u_matrixHalfPi",") + a_head * (","a_headPosition * u_matrixHalfPiMinus * 0.6 +","(a_headPosition * a_headPosition - 1.0) * mat2(1.0)",");","pos = a_pos1 + (","(1.0 - a_head) * a_thickness * u_ratio * matrix * pos +","a_head * u_arrowHead * a_thickness * u_ratio * matrix * pos +","a_delay * pos * (","a_tSize / u_nodeRatio +","u_arrowHead * a_thickness * u_ratio",")",");","gl_Position = vec4(","((u_matrix * vec3(pos, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.canvas.labels"),sigma.canvas.labels.def=function(a,b,c){var d,e=c("prefix")||"",f=a[e+"size"];f<c("labelThreshold")||a.label&&"string"==typeof a.label&&(d="fixed"===c("labelSize")?c("defaultLabelSize"):c("labelSizeRatio")*f,b.font=(c("fontStyle")?c("fontStyle")+" ":"")+d+"px "+c("font"),b.fillStyle="node"===c("labelColor")?a.color||c("defaultNodeColor"):c("defaultLabelColor"),b.fillText(a.label,Math.round(a[e+"x"]+f+3),Math.round(a[e+"y"]+d/3)))}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.canvas.hovers"),sigma.canvas.hovers.def=function(a,b,c){var d,e,f,g,h,i=c("hoverFontStyle")||c("fontStyle"),j=c("prefix")||"",k=a[j+"size"],l="fixed"===c("labelSize")?c("defaultLabelSize"):c("labelSizeRatio")*k;b.font=(i?i+" ":"")+l+"px "+(c("hoverFont")||c("font")),b.beginPath(),b.fillStyle="node"===c("labelHoverBGColor")?a.color||c("defaultNodeColor"):c("defaultHoverLabelBGColor"),a.label&&c("labelHoverShadow")&&(b.shadowOffsetX=0,b.shadowOffsetY=0,b.shadowBlur=8,b.shadowColor=c("labelHoverShadowColor")),a.label&&"string"==typeof a.label&&(d=Math.round(a[j+"x"]-l/2-2),e=Math.round(a[j+"y"]-l/2-2),f=Math.round(b.measureText(a.label).width+l/2+k+7),g=Math.round(l+4),h=Math.round(l/2+2),b.moveTo(d,e+h),b.arcTo(d,e,d+h,e,h),b.lineTo(d+f,e),b.lineTo(d+f,e+g),b.lineTo(d+h,e+g),b.arcTo(d,e+g,d,e+g-h,h),b.lineTo(d,e+h),b.closePath(),b.fill(),b.shadowOffsetX=0,b.shadowOffsetY=0,b.shadowBlur=0),c("borderSize")>0&&(b.beginPath(),b.fillStyle="node"===c("nodeBorderColor")?a.color||c("defaultNodeColor"):c("defaultNodeBorderColor"),b.arc(a[j+"x"],a[j+"y"],k+c("borderSize"),0,2*Math.PI,!0),b.closePath(),b.fill());var m=sigma.canvas.nodes[a.type]||sigma.canvas.nodes.def;m(a,b,c),a.label&&"string"==typeof a.label&&(b.fillStyle="node"===c("labelHoverColor")?a.color||c("defaultNodeColor"):c("defaultLabelHoverColor"),b.fillText(a.label,Math.round(a[j+"x"]+k+3),Math.round(a[j+"y"]+l/3)))}}.call(this),function(){"use strict";sigma.utils.pkg("sigma.canvas.nodes"),sigma.canvas.nodes.def=function(a,b,c){var d=c("prefix")||"";b.fillStyle=a.color||c("defaultNodeColor"),b.beginPath(),b.arc(a[d+"x"],a[d+"y"],a[d+"size"],0,2*Math.PI,!0),b.closePath(),b.fill()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edges"),sigma.canvas.edges.def=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=a[g+"size"]||1,i=e("edgeColor"),j=e("defaultNodeColor"),k=e("defaultEdgeColor");if(!f)switch(i){case"source":f=b.color||j;break;case"target":f=c.color||j;break;default:f=k}d.strokeStyle=f,d.lineWidth=h,d.beginPath(),d.moveTo(b[g+"x"],b[g+"y"]),d.lineTo(c[g+"x"],c[g+"y"]),d.stroke()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edges"),sigma.canvas.edges.curve=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=a[g+"size"]||1,i=e("edgeColor"),j=e("defaultNodeColor"),k=e("defaultEdgeColor"),l={},m=b[g+"size"],n=b[g+"x"],o=b[g+"y"],p=c[g+"x"],q=c[g+"y"];if(l=b.id===c.id?sigma.utils.getSelfLoopControlPoints(n,o,m):sigma.utils.getQuadraticControlPoint(n,o,p,q),!f)switch(i){case"source":f=b.color||j;break;case"target":f=c.color||j;break;default:f=k}d.strokeStyle=f,d.lineWidth=h,d.beginPath(),d.moveTo(n,o),b.id===c.id?d.bezierCurveTo(l.x1,l.y1,l.x2,l.y2,p,q):d.quadraticCurveTo(l.x,l.y,p,q),d.stroke()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edges"),sigma.canvas.edges.arrow=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=e("edgeColor"),i=e("defaultNodeColor"),j=e("defaultEdgeColor"),k=a[g+"size"]||1,l=c[g+"size"],m=b[g+"x"],n=b[g+"y"],o=c[g+"x"],p=c[g+"y"],q=Math.max(2.5*k,e("minArrowSize")),r=Math.sqrt(Math.pow(o-m,2)+Math.pow(p-n,2)),s=m+(o-m)*(r-q-l)/r,t=n+(p-n)*(r-q-l)/r,u=(o-m)*q/r,v=(p-n)*q/r;if(!f)switch(h){case"source":f=b.color||i;break;case"target":f=c.color||i;break;default:f=j}d.strokeStyle=f,d.lineWidth=k,d.beginPath(),d.moveTo(m,n),d.lineTo(s,t),d.stroke(),d.fillStyle=f,d.beginPath(),d.moveTo(s+u,t+v),d.lineTo(s+.6*v,t-.6*u),d.lineTo(s-.6*v,t+.6*u),d.lineTo(s+u,t+v),d.closePath(),d.fill()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edges"),sigma.canvas.edges.curvedArrow=function(a,b,c,d,e){var f,g,h,i,j,k=a.color,l=e("prefix")||"",m=e("edgeColor"),n=e("defaultNodeColor"),o=e("defaultEdgeColor"),p={},q=a[l+"size"]||1,r=c[l+"size"],s=b[l+"x"],t=b[l+"y"],u=c[l+"x"],v=c[l+"y"],w=Math.max(2.5*q,e("minArrowSize"));if(p=b.id===c.id?sigma.utils.getSelfLoopControlPoints(s,t,r):sigma.utils.getQuadraticControlPoint(s,t,u,v),b.id===c.id?(f=Math.sqrt(Math.pow(u-p.x1,2)+Math.pow(v-p.y1,2)),g=p.x1+(u-p.x1)*(f-w-r)/f,h=p.y1+(v-p.y1)*(f-w-r)/f,i=(u-p.x1)*w/f,j=(v-p.y1)*w/f):(f=Math.sqrt(Math.pow(u-p.x,2)+Math.pow(v-p.y,2)),g=p.x+(u-p.x)*(f-w-r)/f,h=p.y+(v-p.y)*(f-w-r)/f,i=(u-p.x)*w/f,j=(v-p.y)*w/f),!k)switch(m){case"source":k=b.color||n;break;case"target":k=c.color||n;break;default:k=o}d.strokeStyle=k,d.lineWidth=q,d.beginPath(),d.moveTo(s,t),b.id===c.id?d.bezierCurveTo(p.x2,p.y2,p.x1,p.y1,g,h):d.quadraticCurveTo(p.x,p.y,g,h),d.stroke(),d.fillStyle=k,d.beginPath(),d.moveTo(g+i,h+j),d.lineTo(g+.6*j,h-.6*i),d.lineTo(g-.6*j,h+.6*i),d.lineTo(g+i,h+j),d.closePath(),d.fill()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edgehovers"),sigma.canvas.edgehovers.def=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=a[g+"size"]||1,i=e("edgeColor"),j=e("defaultNodeColor"),k=e("defaultEdgeColor");if(!f)switch(i){case"source":f=b.color||j;break;case"target":f=c.color||j;break;default:f=k}f="edge"===e("edgeHoverColor")?a.hover_color||f:a.hover_color||e("defaultEdgeHoverColor")||f,h*=e("edgeHoverSizeRatio"),d.strokeStyle=f,d.lineWidth=h,d.beginPath(),d.moveTo(b[g+"x"],b[g+"y"]),d.lineTo(c[g+"x"],c[g+"y"]),d.stroke()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edgehovers"),sigma.canvas.edgehovers.curve=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=e("edgeHoverSizeRatio")*(a[g+"size"]||1),i=e("edgeColor"),j=e("defaultNodeColor"),k=e("defaultEdgeColor"),l={},m=b[g+"size"],n=b[g+"x"],o=b[g+"y"],p=c[g+"x"],q=c[g+"y"];if(l=b.id===c.id?sigma.utils.getSelfLoopControlPoints(n,o,m):sigma.utils.getQuadraticControlPoint(n,o,p,q),!f)switch(i){case"source":f=b.color||j;break;case"target":f=c.color||j;break;default:f=k}f="edge"===e("edgeHoverColor")?a.hover_color||f:a.hover_color||e("defaultEdgeHoverColor")||f,d.strokeStyle=f,d.lineWidth=h,d.beginPath(),d.moveTo(n,o),b.id===c.id?d.bezierCurveTo(l.x1,l.y1,l.x2,l.y2,p,q):d.quadraticCurveTo(l.x,l.y,p,q),d.stroke()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edgehovers"),sigma.canvas.edgehovers.arrow=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=e("edgeColor"),i=e("defaultNodeColor"),j=e("defaultEdgeColor"),k=a[g+"size"]||1,l=c[g+"size"],m=b[g+"x"],n=b[g+"y"],o=c[g+"x"],p=c[g+"y"];
-k=a.hover?e("edgeHoverSizeRatio")*k:k;var q=2.5*k,r=Math.sqrt(Math.pow(o-m,2)+Math.pow(p-n,2)),s=m+(o-m)*(r-q-l)/r,t=n+(p-n)*(r-q-l)/r,u=(o-m)*q/r,v=(p-n)*q/r;if(!f)switch(h){case"source":f=b.color||i;break;case"target":f=c.color||i;break;default:f=j}f="edge"===e("edgeHoverColor")?a.hover_color||f:a.hover_color||e("defaultEdgeHoverColor")||f,d.strokeStyle=f,d.lineWidth=k,d.beginPath(),d.moveTo(m,n),d.lineTo(s,t),d.stroke(),d.fillStyle=f,d.beginPath(),d.moveTo(s+u,t+v),d.lineTo(s+.6*v,t-.6*u),d.lineTo(s-.6*v,t+.6*u),d.lineTo(s+u,t+v),d.closePath(),d.fill()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edgehovers"),sigma.canvas.edgehovers.curvedArrow=function(a,b,c,d,e){var f,g,h,i,j,k,l=a.color,m=e("prefix")||"",n=e("edgeColor"),o=e("defaultNodeColor"),p=e("defaultEdgeColor"),q={},r=e("edgeHoverSizeRatio")*(a[m+"size"]||1),s=c[m+"size"],t=b[m+"x"],u=b[m+"y"],v=c[m+"x"],w=c[m+"y"];if(q=b.id===c.id?sigma.utils.getSelfLoopControlPoints(t,u,s):sigma.utils.getQuadraticControlPoint(t,u,v,w),b.id===c.id?(f=Math.sqrt(Math.pow(v-q.x1,2)+Math.pow(w-q.y1,2)),g=2.5*r,h=q.x1+(v-q.x1)*(f-g-s)/f,i=q.y1+(w-q.y1)*(f-g-s)/f,j=(v-q.x1)*g/f,k=(w-q.y1)*g/f):(f=Math.sqrt(Math.pow(v-q.x,2)+Math.pow(w-q.y,2)),g=2.5*r,h=q.x+(v-q.x)*(f-g-s)/f,i=q.y+(w-q.y)*(f-g-s)/f,j=(v-q.x)*g/f,k=(w-q.y)*g/f),!l)switch(n){case"source":l=b.color||o;break;case"target":l=c.color||o;break;default:l=p}l="edge"===e("edgeHoverColor")?a.hover_color||l:a.hover_color||e("defaultEdgeHoverColor")||l,d.strokeStyle=l,d.lineWidth=r,d.beginPath(),d.moveTo(t,u),b.id===c.id?d.bezierCurveTo(q.x2,q.y2,q.x1,q.y1,h,i):d.quadraticCurveTo(q.x,q.y,h,i),d.stroke(),d.fillStyle=l,d.beginPath(),d.moveTo(h+j,i+k),d.lineTo(h+.6*k,i-.6*j),d.lineTo(h-.6*k,i+.6*j),d.lineTo(h+j,i+k),d.closePath(),d.fill()}}(),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.canvas.extremities"),sigma.canvas.extremities.def=function(a,b,c,d,e){(sigma.canvas.hovers[b.type]||sigma.canvas.hovers.def)(b,d,e),(sigma.canvas.hovers[c.type]||sigma.canvas.hovers.def)(c,d,e)}}.call(this),function(){"use strict";sigma.utils.pkg("sigma.svg.utils"),sigma.svg.utils={show:function(a){return a.style.display="",this},hide:function(a){return a.style.display="none",this}}}(),function(){"use strict";sigma.utils.pkg("sigma.svg.nodes"),sigma.svg.nodes.def={create:function(a,b){var c=(b("prefix")||"",document.createElementNS(b("xmlns"),"circle"));return c.setAttributeNS(null,"data-node-id",a.id),c.setAttributeNS(null,"class",b("classPrefix")+"-node"),c.setAttributeNS(null,"fill",a.color||b("defaultNodeColor")),c},update:function(a,b,c){var d=c("prefix")||"";return b.setAttributeNS(null,"cx",a[d+"x"]),b.setAttributeNS(null,"cy",a[d+"y"]),b.setAttributeNS(null,"r",a[d+"size"]),c("freeStyle")||b.setAttributeNS(null,"fill",a.color||c("defaultNodeColor")),b.style.display="",this}}}(),function(){"use strict";sigma.utils.pkg("sigma.svg.edges"),sigma.svg.edges.def={create:function(a,b,c,d){var e=a.color,f=(d("prefix")||"",d("edgeColor")),g=d("defaultNodeColor"),h=d("defaultEdgeColor");if(!e)switch(f){case"source":e=b.color||g;break;case"target":e=c.color||g;break;default:e=h}var i=document.createElementNS(d("xmlns"),"line");return i.setAttributeNS(null,"data-edge-id",a.id),i.setAttributeNS(null,"class",d("classPrefix")+"-edge"),i.setAttributeNS(null,"stroke",e),i},update:function(a,b,c,d,e){var f=e("prefix")||"";return b.setAttributeNS(null,"stroke-width",a[f+"size"]||1),b.setAttributeNS(null,"x1",c[f+"x"]),b.setAttributeNS(null,"y1",c[f+"y"]),b.setAttributeNS(null,"x2",d[f+"x"]),b.setAttributeNS(null,"y2",d[f+"y"]),b.style.display="",this}}}(),function(){"use strict";sigma.utils.pkg("sigma.svg.edges"),sigma.svg.edges.curve={create:function(a,b,c,d){var e=a.color,f=(d("prefix")||"",d("edgeColor")),g=d("defaultNodeColor"),h=d("defaultEdgeColor");if(!e)switch(f){case"source":e=b.color||g;break;case"target":e=c.color||g;break;default:e=h}var i=document.createElementNS(d("xmlns"),"path");return i.setAttributeNS(null,"data-edge-id",a.id),i.setAttributeNS(null,"class",d("classPrefix")+"-edge"),i.setAttributeNS(null,"stroke",e),i},update:function(a,b,c,d,e){var f=e("prefix")||"";b.setAttributeNS(null,"stroke-width",a[f+"size"]||1);var g=(c[f+"x"]+d[f+"x"])/2+(d[f+"y"]-c[f+"y"])/4,h=(c[f+"y"]+d[f+"y"])/2+(c[f+"x"]-d[f+"x"])/4,i="M"+c[f+"x"]+","+c[f+"y"]+" Q"+g+","+h+" "+d[f+"x"]+","+d[f+"y"];return b.setAttributeNS(null,"d",i),b.setAttributeNS(null,"fill","none"),b.style.display="",this}}}(),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.svg.labels"),sigma.svg.labels.def={create:function(a,b){var c=b("prefix")||"",d=a[c+"size"],e=document.createElementNS(b("xmlns"),"text"),f="fixed"===b("labelSize")?b("defaultLabelSize"):b("labelSizeRatio")*d,g="node"===b("labelColor")?a.color||b("defaultNodeColor"):b("defaultLabelColor");return e.setAttributeNS(null,"data-label-target",a.id),e.setAttributeNS(null,"class",b("classPrefix")+"-label"),e.setAttributeNS(null,"font-size",f),e.setAttributeNS(null,"font-family",b("font")),e.setAttributeNS(null,"fill",g),e.innerHTML=a.label,e.textContent=a.label,e},update:function(a,b,c){var d=c("prefix")||"",e=a[d+"size"],f="fixed"===c("labelSize")?c("defaultLabelSize"):c("labelSizeRatio")*e;return!c("forceLabels")&&e<c("labelThreshold")||"string"!=typeof a.label?void 0:(b.setAttributeNS(null,"x",Math.round(a[d+"x"]+e+3)),b.setAttributeNS(null,"y",Math.round(a[d+"y"]+f/3)),b.style.display="",this)}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.svg.hovers"),sigma.svg.hovers.def={create:function(a,b,c,d){var e,f,g,h,i,j=(d("hoverFontStyle")||d("fontStyle"),d("prefix")||""),k=a[j+"size"],l="fixed"===d("labelSize")?d("defaultLabelSize"):d("labelSizeRatio")*k,m="node"===d("labelHoverColor")?a.color||d("defaultNodeColor"):d("defaultLabelHoverColor"),n=document.createElementNS(d("xmlns"),"g"),o=document.createElementNS(d("xmlns"),"rect"),p=document.createElementNS(d("xmlns"),"circle"),q=document.createElementNS(d("xmlns"),"text");return n.setAttributeNS(null,"class",d("classPrefix")+"-hover"),n.setAttributeNS(null,"data-node-id",a.id),"string"==typeof a.label&&(q.innerHTML=a.label,q.textContent=a.label,q.setAttributeNS(null,"class",d("classPrefix")+"-hover-label"),q.setAttributeNS(null,"font-size",l),q.setAttributeNS(null,"font-family",d("font")),q.setAttributeNS(null,"fill",m),q.setAttributeNS(null,"x",Math.round(a[j+"x"]+k+3)),q.setAttributeNS(null,"y",Math.round(a[j+"y"]+l/3)),e=Math.round(a[j+"x"]-l/2-2),f=Math.round(a[j+"y"]-l/2-2),g=Math.round(c.measureText(a.label).width+l/2+k+9),h=Math.round(l+4),i=Math.round(l/2+2),p.setAttributeNS(null,"class",d("classPrefix")+"-hover-area"),p.setAttributeNS(null,"fill","#fff"),p.setAttributeNS(null,"cx",a[j+"x"]),p.setAttributeNS(null,"cy",a[j+"y"]),p.setAttributeNS(null,"r",i),o.setAttributeNS(null,"class",d("classPrefix")+"-hover-area"),o.setAttributeNS(null,"fill","#fff"),o.setAttributeNS(null,"x",a[j+"x"]+i/4),o.setAttributeNS(null,"y",a[j+"y"]-i),o.setAttributeNS(null,"width",g),o.setAttributeNS(null,"height",h)),n.appendChild(p),n.appendChild(o),n.appendChild(q),n.appendChild(b),n}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.middlewares"),sigma.utils.pkg("sigma.utils"),sigma.middlewares.rescale=function(a,b,c){var d,e,f,g,h,i,j,k,l=this.graph.nodes(),m=this.graph.edges(),n=this.settings.embedObjects(c||{}),o=n("bounds")||sigma.utils.getBoundaries(this.graph,a,!0),p=o.minX,q=o.minY,r=o.maxX,s=o.maxY,t=o.sizeMax,u=o.weightMax,v=n("width")||1,w=n("height")||1,x=n("autoRescale"),y={nodePosition:1,nodeSize:1,edgeSize:1};for(x instanceof Array||(x=["nodePosition","nodeSize","edgeSize"]),d=0,e=x.length;e>d;d++)if(!y[x[d]])throw new Error('The rescale setting "'+x[d]+'" is not recognized.');var z=~x.indexOf("nodePosition"),A=~x.indexOf("nodeSize"),B=~x.indexOf("edgeSize");for(j="outside"===n("scalingMode")?Math.max(v/Math.max(r-p,1),w/Math.max(s-q,1)):Math.min(v/Math.max(r-p,1),w/Math.max(s-q,1)),k=(n("rescaleIgnoreSize")?0:(n("maxNodeSize")||t)/j)+(n("sideMargin")||0),r+=k,p-=k,s+=k,q-=k,j="outside"===n("scalingMode")?Math.max(v/Math.max(r-p,1),w/Math.max(s-q,1)):Math.min(v/Math.max(r-p,1),w/Math.max(s-q,1)),n("maxNodeSize")||n("minNodeSize")?n("maxNodeSize")===n("minNodeSize")?(f=0,g=+n("maxNodeSize")):(f=(n("maxNodeSize")-n("minNodeSize"))/t,g=+n("minNodeSize")):(f=1,g=0),n("maxEdgeSize")||n("minEdgeSize")?n("maxEdgeSize")===n("minEdgeSize")?(h=0,i=+n("minEdgeSize")):(h=(n("maxEdgeSize")-n("minEdgeSize"))/u,i=+n("minEdgeSize")):(h=1,i=0),d=0,e=m.length;e>d;d++)m[d][b+"size"]=m[d][a+"size"]*(B?h:1)+(B?i:0);for(d=0,e=l.length;e>d;d++)l[d][b+"size"]=l[d][a+"size"]*(A?f:1)+(A?g:0),l[d][b+"x"]=(l[d][a+"x"]-(r+p)/2)*(z?j:1),l[d][b+"y"]=(l[d][a+"y"]-(s+q)/2)*(z?j:1)},sigma.utils.getBoundaries=function(a,b,c){var d,e,f=a.edges(),g=a.nodes(),h=-(1/0),i=-(1/0),j=1/0,k=1/0,l=-(1/0),m=-(1/0);if(c)for(d=0,e=f.length;e>d;d++)h=Math.max(f[d][b+"size"],h);for(d=0,e=g.length;e>d;d++)i=Math.max(g[d][b+"size"],i),l=Math.max(g[d][b+"x"],l),j=Math.min(g[d][b+"x"],j),m=Math.max(g[d][b+"y"],m),k=Math.min(g[d][b+"y"],k);return h=h||1,i=i||1,{weightMax:h,sizeMax:i,minX:j,minY:k,maxX:l,maxY:m}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.middlewares"),sigma.middlewares.copy=function(a,b){var c,d,e;if(b+""!=a+""){for(e=this.graph.nodes(),c=0,d=e.length;d>c;c++)e[c][b+"x"]=e[c][a+"x"],e[c][b+"y"]=e[c][a+"y"],e[c][b+"size"]=e[c][a+"size"];for(e=this.graph.edges(),c=0,d=e.length;d>c;c++)e[c][b+"size"]=e[c][a+"size"]}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.misc.animation.running");var b=function(){var a=0;return function(){return""+ ++a}}();sigma.misc.animation.camera=function(c,d,e){if(!(c instanceof sigma.classes.camera&&"object"==typeof d&&d))throw"animation.camera: Wrong arguments.";if("number"!=typeof d.x&&"number"!=typeof d.y&&"number"!=typeof d.ratio&&"number"!=typeof d.angle)throw"There must be at least one valid coordinate in the given val.";var f,g,h,i,j,k,l=e||{},m=sigma.utils.dateNow();return k={x:c.x,y:c.y,ratio:c.ratio,angle:c.angle},j=l.duration,i="function"!=typeof l.easing?sigma.utils.easings[l.easing||"quadraticInOut"]:l.easing,f=function(){var b,e=l.duration?(sigma.utils.dateNow()-m)/l.duration:1;e>=1?(c.isAnimated=!1,c.goTo({x:d.x!==a?d.x:k.x,y:d.y!==a?d.y:k.y,ratio:d.ratio!==a?d.ratio:k.ratio,angle:d.angle!==a?d.angle:k.angle}),cancelAnimationFrame(g),delete sigma.misc.animation.running[g],"function"==typeof l.onComplete&&l.onComplete()):(b=i(e),c.isAnimated=!0,c.goTo({x:d.x!==a?k.x+(d.x-k.x)*b:k.x,y:d.y!==a?k.y+(d.y-k.y)*b:k.y,ratio:d.ratio!==a?k.ratio+(d.ratio-k.ratio)*b:k.ratio,angle:d.angle!==a?k.angle+(d.angle-k.angle)*b:k.angle}),"function"==typeof l.onNewFrame&&l.onNewFrame(),h.frameId=requestAnimationFrame(f))},g=b(),h={frameId:requestAnimationFrame(f),target:c,type:"camera",options:l,fn:f},sigma.misc.animation.running[g]=h,g},sigma.misc.animation.kill=function(a){if(1!==arguments.length||"number"!=typeof a)throw"animation.kill: Wrong arguments.";var b=sigma.misc.animation.running[a];return b&&(cancelAnimationFrame(a),delete sigma.misc.animation.running[b.frameId],"camera"===b.type&&(b.target.isAnimated=!1),"function"==typeof(b.options||{}).onComplete&&b.options.onComplete()),this},sigma.misc.animation.killAll=function(a){var b,c,d=0,e="string"==typeof a?a:null,f="object"==typeof a?a:null,g=sigma.misc.animation.running;for(c in g)e&&g[c].type!==e||f&&g[c].target!==f||(b=sigma.misc.animation.running[c],cancelAnimationFrame(b.frameId),delete sigma.misc.animation.running[c],"camera"===b.type&&(b.target.isAnimated=!1),d++,"function"==typeof(b.options||{}).onComplete&&b.options.onComplete());return d},sigma.misc.animation.has=function(a){var b,c="string"==typeof a?a:null,d="object"==typeof a?a:null,e=sigma.misc.animation.running;for(b in e)if(!(c&&e[b].type!==c||d&&e[b].target!==d))return!0;return!1}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.misc"),sigma.misc.bindEvents=function(b){function c(a){a&&(h="x"in a.data?a.data.x:h,i="y"in a.data?a.data.y:i);var c,d,e,f,g,k,l,m,n=[],o=h+j.width/2,p=i+j.height/2,q=j.camera.cameraPosition(h,i),r=j.camera.quadtree.point(q.x,q.y);if(r.length)for(c=0,e=r.length;e>c;c++)if(f=r[c],g=f[b+"x"],k=f[b+"y"],l=f[b+"size"],!f.hidden&&o>g-l&&g+l>o&&p>k-l&&k+l>p&&Math.sqrt(Math.pow(o-g,2)+Math.pow(p-k,2))<l){for(m=!1,d=0;d<n.length;d++)if(f.size>n[d].size){n.splice(d,0,f),m=!0;break}m||n.push(f)}return n}function d(c){function d(a,b){for(r=!1,g=0;g<a.length;g++)if(b.size>a[g].size){a.splice(g,0,b),r=!0;break}r||a.push(b)}if(!j.settings("enableEdgeHovering"))return[];var e=sigma.renderers.canvas&&j instanceof sigma.renderers.canvas;if(!e)throw new Error("The edge events feature is not compatible with the WebGL renderer");c&&(h="x"in c.data?c.data.x:h,i="y"in c.data?c.data.y:i);var f,g,k,l,m,n,o,p,q,r,s=j.settings("edgeHoverPrecision"),t={},u=[],v=h+j.width/2,w=i+j.height/2,x=j.camera.cameraPosition(h,i),y=[];if(e){var z=j.camera.quadtree.area(j.camera.getRectangle(j.width,j.height));for(l=z,f=0,k=l.length;k>f;f++)t[l[f].id]=l[f]}if(j.camera.edgequadtree!==a&&(y=j.camera.edgequadtree.point(x.x,x.y)),y.length)for(f=0,k=y.length;k>f;f++)m=y[f],o=j.graph.nodes(m.source),p=j.graph.nodes(m.target),n=m[b+"size"]||m["read_"+b+"size"],!m.hidden&&!o.hidden&&!p.hidden&&(!e||t[m.source]||t[m.target])&&sigma.utils.getDistance(o[b+"x"],o[b+"y"],v,w)>o[b+"size"]&&sigma.utils.getDistance(p[b+"x"],p[b+"y"],v,w)>p[b+"size"]&&("curve"==m.type||"curvedArrow"==m.type?o.id===p.id?(q=sigma.utils.getSelfLoopControlPoints(o[b+"x"],o[b+"y"],o[b+"size"]),sigma.utils.isPointOnBezierCurve(v,w,o[b+"x"],o[b+"y"],p[b+"x"],p[b+"y"],q.x1,q.y1,q.x2,q.y2,Math.max(n,s))&&d(u,m)):(q=sigma.utils.getQuadraticControlPoint(o[b+"x"],o[b+"y"],p[b+"x"],p[b+"y"]),sigma.utils.isPointOnQuadraticCurve(v,w,o[b+"x"],o[b+"y"],p[b+"x"],p[b+"y"],q.x,q.y,Math.max(n,s))&&d(u,m)):sigma.utils.isPointOnSegment(v,w,o[b+"x"],o[b+"y"],p[b+"x"],p[b+"y"],Math.max(n,s))&&d(u,m));return u}function e(a){function b(a){j.settings("eventsEnabled")&&(j.dispatchEvent("click",a.data),i=c(a),k=d(a),i.length?(j.dispatchEvent("clickNode",{node:i[0],captor:a.data}),j.dispatchEvent("clickNodes",{node:i,captor:a.data})):k.length?(j.dispatchEvent("clickEdge",{edge:k[0],captor:a.data}),j.dispatchEvent("clickEdges",{edge:k,captor:a.data})):j.dispatchEvent("clickStage",{captor:a.data}))}function e(a){j.settings("eventsEnabled")&&(j.dispatchEvent("doubleClick",a.data),i=c(a),k=d(a),i.length?(j.dispatchEvent("doubleClickNode",{node:i[0],captor:a.data}),j.dispatchEvent("doubleClickNodes",{node:i,captor:a.data})):k.length?(j.dispatchEvent("doubleClickEdge",{edge:k[0],captor:a.data}),j.dispatchEvent("doubleClickEdges",{edge:k,captor:a.data})):j.dispatchEvent("doubleClickStage",{captor:a.data}))}function f(a){j.settings("eventsEnabled")&&(j.dispatchEvent("rightClick",a.data),i=c(a),k=d(a),i.length?(j.dispatchEvent("rightClickNode",{node:i[0],captor:a.data}),j.dispatchEvent("rightClickNodes",{node:i,captor:a.data})):k.length?(j.dispatchEvent("rightClickEdge",{edge:k[0],captor:a.data}),j.dispatchEvent("rightClickEdges",{edge:k,captor:a.data})):j.dispatchEvent("rightClickStage",{captor:a.data}))}function g(a){if(j.settings("eventsEnabled")){var b,c,d,e,f=[],g=[];for(b in l)f.push(l[b]);for(l={},c=0,d=f.length;d>c;c++)j.dispatchEvent("outNode",{node:f[c],captor:a.data});for(f.length&&j.dispatchEvent("outNodes",{nodes:f,captor:a.data}),m={},c=0,e=g.length;e>c;c++)j.dispatchEvent("outEdge",{edge:g[c],captor:a.data});g.length&&j.dispatchEvent("outEdges",{edges:g,captor:a.data})}}function h(a){if(j.settings("eventsEnabled")){i=c(a),k=d(a);var b,e,f,g,h=[],n=[],o={},p=i.length,q=[],r=[],s={},t=k.length;for(b=0;p>b;b++)f=i[b],o[f.id]=f,l[f.id]||(n.push(f),l[f.id]=f);for(e in l)o[e]||(h.push(l[e]),delete l[e]);for(b=0,p=n.length;p>b;b++)j.dispatchEvent("overNode",{node:n[b],captor:a.data});for(b=0,p=h.length;p>b;b++)j.dispatchEvent("outNode",{node:h[b],captor:a.data});for(n.length&&j.dispatchEvent("overNodes",{nodes:n,captor:a.data}),h.length&&j.dispatchEvent("outNodes",{nodes:h,captor:a.data}),b=0;t>b;b++)g=k[b],s[g.id]=g,m[g.id]||(r.push(g),m[g.id]=g);for(e in m)s[e]||(q.push(m[e]),delete m[e]);for(b=0,t=r.length;t>b;b++)j.dispatchEvent("overEdge",{edge:r[b],captor:a.data});for(b=0,t=q.length;t>b;b++)j.dispatchEvent("outEdge",{edge:q[b],captor:a.data});r.length&&j.dispatchEvent("overEdges",{edges:r,captor:a.data}),q.length&&j.dispatchEvent("outEdges",{edges:q,captor:a.data})}}var i,k,l={},m={};a.bind("click",b),a.bind("mousedown",h),a.bind("mouseup",h),a.bind("mousemove",h),a.bind("mouseout",g),a.bind("doubleclick",e),a.bind("rightclick",f),j.bind("render",h)}var f,g,h,i,j=this;for(f=0,g=this.captors.length;g>f;f++)e(this.captors[f])}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.misc"),sigma.misc.bindDOMEvents=function(a){function b(a){this.attr=function(b){return a.getAttributeNS(null,b)},this.tag=a.tagName,this["class"]=this.attr("class"),this.id=this.attr("id"),this.isNode=function(){return!!~this["class"].indexOf(g.settings("classPrefix")+"-node")},this.isEdge=function(){return!!~this["class"].indexOf(g.settings("classPrefix")+"-edge")},this.isHover=function(){return!!~this["class"].indexOf(g.settings("classPrefix")+"-hover")}}function c(a){if(g.settings("eventsEnabled")){g.dispatchEvent("click",a);var c=new b(a.target);c.isNode()?g.dispatchEvent("clickNode",{node:h.nodes(c.attr("data-node-id"))}):g.dispatchEvent("clickStage"),a.preventDefault(),a.stopPropagation()}}function d(a){if(g.settings("eventsEnabled")){g.dispatchEvent("doubleClick",a);var c=new b(a.target);c.isNode()?g.dispatchEvent("doubleClickNode",{node:h.nodes(c.attr("data-node-id"))}):g.dispatchEvent("doubleClickStage"),a.preventDefault(),a.stopPropagation()}}function e(a){var c=a.toElement||a.target;if(g.settings("eventsEnabled")&&c){var d=new b(c);if(d.isNode())g.dispatchEvent("overNode",{node:h.nodes(d.attr("data-node-id"))});else if(d.isEdge()){var e=h.edges(d.attr("data-edge-id"));g.dispatchEvent("overEdge",{edge:e,source:h.nodes(e.source),target:h.nodes(e.target)})}}}function f(a){var c=a.fromElement||a.originalTarget;if(g.settings("eventsEnabled")){var d=new b(c);if(d.isNode())g.dispatchEvent("outNode",{node:h.nodes(d.attr("data-node-id"))});else if(d.isEdge()){var e=h.edges(d.attr("data-edge-id"));g.dispatchEvent("outEdge",{edge:e,source:h.nodes(e.source),target:h.nodes(e.target)})}}}var g=this,h=this.graph;a.addEventListener("click",c,!1),sigma.utils.doubleClick(a,"click",d),a.addEventListener("touchstart",c,!1),sigma.utils.doubleClick(a,"touchstart",d),a.addEventListener("mouseover",e,!0),a.addEventListener("mouseout",f,!0)}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.misc"),sigma.misc.drawHovers=function(a){function b(){c.contexts.hover.canvas.width=c.contexts.hover.canvas.width;var b,f,g,h,i,j=c.settings("defaultNodeType"),k=c.settings("defaultEdgeType"),l=sigma.canvas.hovers,m=sigma.canvas.edgehovers,n=sigma.canvas.extremities,o=c.settings.embedObjects({prefix:a});if(o("enableHovering")&&o("singleHover")&&Object.keys(d).length&&(h=d[Object.keys(d)[0]],(l[h.type]||l[j]||l.def)(h,c.contexts.hover,o)),o("enableHovering")&&!o("singleHover"))for(b in d)(l[d[b].type]||l[j]||l.def)(d[b],c.contexts.hover,o);if(o("enableEdgeHovering")&&o("singleHover")&&Object.keys(e).length&&(i=e[Object.keys(e)[0]],f=c.graph.nodes(i.source),g=c.graph.nodes(i.target),i.hidden||((m[i.type]||m[k]||m.def)(i,f,g,c.contexts.hover,o),o("edgeHoverExtremities")?(n[i.type]||n.def)(i,f,g,c.contexts.hover,o):((sigma.canvas.nodes[f.type]||sigma.canvas.nodes.def)(f,c.contexts.hover,o),(sigma.canvas.nodes[g.type]||sigma.canvas.nodes.def)(g,c.contexts.hover,o)))),o("enableEdgeHovering")&&!o("singleHover"))for(b in e)i=e[b],f=c.graph.nodes(i.source),g=c.graph.nodes(i.target),i.hidden||((m[i.type]||m[k]||m.def)(i,f,g,c.contexts.hover,o),o("edgeHoverExtremities")?(n[i.type]||n.def)(i,f,g,c.contexts.hover,o):((sigma.canvas.nodes[f.type]||sigma.canvas.nodes.def)(f,c.contexts.hover,o),(sigma.canvas.nodes[g.type]||sigma.canvas.nodes.def)(g,c.contexts.hover,o)))}var c=this,d={},e={};this.bind("overNode",function(a){var c=a.data.node;c.hidden||(d[c.id]=c,b())}),this.bind("outNode",function(a){delete d[a.data.node.id],b()}),this.bind("overEdge",function(a){var c=a.data.edge;c.hidden||(e[c.id]=c,b())}),this.bind("outEdge",function(a){delete e[a.data.edge.id],b()}),this.bind("render",function(a){b()})}}.call(this);
-
-/**sigma.plugins.dragNodes**/
-(function(){"use strict";function a(a,b){function c(a){var b=window.getComputedStyle(a),c=function(a){return parseInt(b.getPropertyValue(a).replace("px",""))||0};return{left:a.getBoundingClientRect().left+c("padding-left"),top:a.getBoundingClientRect().top+c("padding-top")}}function d(a){t=!1,l.removeEventListener("mousemove",i),l.removeEventListener("mouseup",h),r.length||(p=null)}function e(a){s[a.data.node.id]||(r.push(a.data.node),s[a.data.node.id]=!0,r.length&&!t&&(p=r[r.length-1],n.addEventListener("mousedown",g)))}function f(a){var b=r.map(function(a){return a}).indexOf(a.data.node);r.splice(b,1),delete s[a.data.node.id],r.length&&!t?p=r[r.length-1]:n.removeEventListener("mousedown",g)}function g(a){t=!0;var b=k.graph.nodes().length;if(p&&b>1){n.removeEventListener("mousedown",g),l.addEventListener("mousemove",i),l.addEventListener("mouseup",h);var c,d;for(c in k.cameras)d=k.cameras[c],void 0!==d.edgequadtree&&(d.edgequadtree._enabled=!1);m.settings({mouseEnabled:!1,enableHovering:!1}),k.refresh(),j.dispatchEvent("startdrag",{node:p,captor:a,renderer:m})}}function h(a){t=!1,n.addEventListener("mousedown",g),l.removeEventListener("mousemove",i),l.removeEventListener("mouseup",h);var b,c;for(b in k.cameras)c=k.cameras[b],void 0!==c.edgequadtree&&(c.edgequadtree._enabled=!0);m.settings({mouseEnabled:!0,enableHovering:!0}),k.refresh(),u&&j.dispatchEvent("drop",{node:p,captor:a,renderer:m}),j.dispatchEvent("dragend",{node:p,captor:a,renderer:m}),u=!1,p=null}function i(a){function b(){for(var b=c(m.container),d=a.clientX-b.left,e=a.clientY-b.top,f=Math.cos(o.angle),g=Math.sin(o.angle),h=k.graph.nodes(),i=[],l=0;2>l;l++){var n=h[l],r={x:n.x*f+n.y*g,y:n.y*f-n.x*g,renX:n[q+"x"],renY:n[q+"y"]};i.push(r)}if(i[0].x===i[1].x&&i[0].y===i[1].y){var s=0===i[0].renX?1:i[0].renX,t=0===i[0].renY?1:i[0].renY;d=i[0].x/s*(d-i[0].renX)+i[0].x,e=i[0].y/t*(e-i[0].renY)+i[0].y}else{var s=(i[1].renX-i[0].renX)/(i[1].x-i[0].x),t=(i[1].renY-i[0].renY)/(i[1].y-i[0].y);i[1].x===i[0].x&&(s=t),i[1].y===i[0].y&&(t=s),d=(d-i[0].renX)/s+i[0].x,e=(e-i[0].renY)/t+i[0].y}p.x=d*f-e*g,p.y=e*f+d*g,k.refresh(),u=!0,j.dispatchEvent("drag",{node:p,captor:a,renderer:m})}if(navigator.userAgent.toLowerCase().indexOf("firefox")>-1){clearTimeout(d);var d=setTimeout(b,0)}else b()}if(sigma.classes.dispatcher.extend(this),sigma.renderers.webgl&&b instanceof sigma.renderers.webgl)throw new Error("The sigma.plugins.dragNodes is not compatible with the WebGL renderer");var j=this,k=a,l=document.body,m=b,n=b.container.lastChild,o=b.camera,p=null,q="",r=[],s={},t=!1,u=!1;b instanceof sigma.renderers.svg&&(n=b.container.firstChild),q=b instanceof sigma.renderers.webgl?b.options.prefix.substr(5):b.options.prefix,b.bind("overNode",e),b.bind("outNode",f),b.bind("click",d),k.bind("kill",function(){j.unbindAll()}),this.unbindAll=function(){n.removeEventListener("mousedown",g),l.removeEventListener("mousemove",i),l.removeEventListener("mouseup",h),m.unbind("overNode",e),m.unbind("outNode",f)}}if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.plugins");var b={};sigma.plugins.dragNodes=function(c,d){return b[c.id]||(b[c.id]=new a(c,d)),c.bind("kill",function(){sigma.plugins.killDragNodes(c)}),b[c.id]},sigma.plugins.killDragNodes=function(c){b[c.id]instanceof a&&(b[c.id].unbindAll(),delete b[c.id])}}).call(window);
-
-/**shape-library**/
-(function(c){var b=[];var m=function(o,n,p){b.push({"name":o,"drawShape":n,"drawBorder":p})};var d=function(){return b};var h=function(n){return function(s,o,t,r,p,q){q.fillStyle=p;q.beginPath();n(s,o,t,r,q);q.closePath();q.fill()}};var j=function(n){return function(s,o,t,r,p,q){q.strokeStyle=p;q.lineWidth=r/5;q.beginPath();n(s,o,t,r,q);q.closePath();q.stroke()}};var f=function(s,n,t,r,q){var o=Math.PI*45/180;q.moveTo(n+r*Math.sin(o),t-r*Math.cos(o));for(var p=1;p<4;p++){q.lineTo(n+Math.sin(o+2*Math.PI*p/4)*r,t-Math.cos(o+2*Math.PI*p/4)*r)}};m("square",h(f),j(f));var i=function(q,n,r,p,o){o.arc(n,r,p,0,Math.PI*2,true)};m("circle",h(i),j(i));var a=function(q,n,r,p,o){o.moveTo(n-p,r);o.lineTo(n,r-p);o.lineTo(n+p,r);o.lineTo(n,r+p)};m("diamond",h(a),j(a));var g=function(r,n,s,q,p){var o=(r.cross&&r.cross.lineWeight)||5;p.moveTo(n-q,s-o);p.lineTo(n-q,s+o);p.lineTo(n-o,s+o);p.lineTo(n-o,s+q);p.lineTo(n+o,s+q);p.lineTo(n+o,s+o);p.lineTo(n+q,s+o);p.lineTo(n+q,s-o);p.lineTo(n+o,s-o);p.lineTo(n+o,s-q);p.lineTo(n-o,s-q);p.lineTo(n-o,s-o)};m("cross",h(g),j(g));var e=function(o,t,s,v,n){var u=(o.equilateral&&o.equilateral.numPoints)||5;var p=((o.equilateral&&o.equilateral.rotate)||0)*Math.PI/180;var r=v;n.moveTo(t+r*Math.sin(p),s-r*Math.cos(p));for(var q=1;q<u;q++){n.lineTo(t+Math.sin(p+2*Math.PI*q/u)*r,s-Math.cos(p+2*Math.PI*q/u)*r)}};m("equilateral",h(e),j(e));var k=function(p,u,t,z,o){var v=(p.star&&p.star.numPoints)||5,n=(p.star&&p.star.innerRatio)||0.5,s=z,w=z*n,q=Math.PI/v;o.moveTo(u,t-z);for(var r=0;r<v;r++){o.lineTo(u+Math.sin(q+2*Math.PI*r/v)*w,t-Math.cos(q+2*Math.PI*r/v)*w);o.lineTo(u+Math.sin(2*Math.PI*(r+1)/v)*s,t-Math.cos(2*Math.PI*(r+1)/v)*s)}};m("star",h(k),j(k));var l=function(r,n,s,q,o,p){p.fillStyle="yellow";p.beginPath();p.arc(n,s,q,1.25*Math.PI,0,false);p.arc(n,s,q,0,0.75*Math.PI,false);p.lineTo(n,s);p.closePath();p.fill();p.fillStyle="white";p.strokeStyle="black";p.beginPath();p.arc(n+q/3,s-q/3,q/4,0,2*Math.PI,false);p.closePath();p.fill();p.stroke();p.fillStyle="black";p.beginPath();p.arc(n+4*q/9,s-q/3,q/8,0,2*Math.PI,false);p.closePath();p.fill()};m("pacman",l,null);this.ShapeLibrary={enumerate:d,version:"0.1"}}).call(this);
-
-/**sigma.renderers.customShapes**/
-(function(a){"use strict";var b=[],c=function(a,c,d){b.push({name:a,drawShape:c,drawBorder:d})},d=function(){return b},e=function(a){return function(b,c,d,e,f,g){g.fillStyle=f,g.beginPath(),a(b,c,d,e,g),g.closePath(),g.fill()}},f=function(a){return function(b,c,d,e,f,g){g.strokeStyle=f,g.lineWidth=e/5,g.beginPath(),a(b,c,d,e,g),g.closePath(),g.stroke()}},g=function(a,b,c,d,e){var f=45*Math.PI/180;e.moveTo(b+d*Math.sin(f),c-d*Math.cos(f));for(var g=1;4>g;g++)e.lineTo(b+Math.sin(f+2*Math.PI*g/4)*d,c-Math.cos(f+2*Math.PI*g/4)*d)};c("square",e(g),f(g));var h=function(a,b,c,d,e){e.arc(b,c,d,0,2*Math.PI,!0)};c("circle",e(h),f(h));var i=function(a,b,c,d,e){e.moveTo(b-d,c),e.lineTo(b,c-d),e.lineTo(b+d,c),e.lineTo(b,c+d)};c("diamond",e(i),f(i));var j=function(a,b,c,d,e){var f=a.cross&&a.cross.lineWeight||5;e.moveTo(b-d,c-f),e.lineTo(b-d,c+f),e.lineTo(b-f,c+f),e.lineTo(b-f,c+d),e.lineTo(b+f,c+d),e.lineTo(b+f,c+f),e.lineTo(b+d,c+f),e.lineTo(b+d,c-f),e.lineTo(b+f,c-f),e.lineTo(b+f,c-d),e.lineTo(b-f,c-d),e.lineTo(b-f,c-f)};c("cross",e(j),f(j));var k=function(a,b,c,d,e){var f=a.equilateral&&a.equilateral.numPoints||5,g=(a.equilateral&&a.equilateral.rotate||0)*Math.PI/180,h=d;e.moveTo(b+h*Math.sin(g),c-h*Math.cos(g));for(var i=1;f>i;i++)e.lineTo(b+Math.sin(g+2*Math.PI*i/f)*h,c-Math.cos(g+2*Math.PI*i/f)*h)};c("equilateral",e(k),f(k));var l=function(a,b,c,d,e){var f=a.star&&a.star.numPoints||5,g=a.star&&a.star.innerRatio||.5,h=d,i=d*g,j=Math.PI/f;e.moveTo(b,c-d);for(var k=0;f>k;k++)e.lineTo(b+Math.sin(j+2*Math.PI*k/f)*i,c-Math.cos(j+2*Math.PI*k/f)*i),e.lineTo(b+Math.sin(2*Math.PI*(k+1)/f)*h,c-Math.cos(2*Math.PI*(k+1)/f)*h)};c("star",e(l),f(l));var m=function(a,b,c,d,e,f){f.fillStyle="yellow",f.beginPath(),f.arc(b,c,d,1.25*Math.PI,0,!1),f.arc(b,c,d,0,.75*Math.PI,!1),f.lineTo(b,c),f.closePath(),f.fill(),f.fillStyle="white",f.strokeStyle="black",f.beginPath(),f.arc(b+d/3,c-d/3,d/4,0,2*Math.PI,!1),f.closePath(),f.fill(),f.stroke(),f.fillStyle="black",f.beginPath(),f.arc(b+4*d/9,c-d/3,d/8,0,2*Math.PI,!1),f.closePath(),f.fill()};c("pacman",m,null),this.ShapeLibrary={enumerate:d,version:"0.1"}}).call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";if("undefined"==typeof ShapeLibrary)throw"ShapeLibrary is not declared";sigma.utils.pkg("sigma.canvas.nodes"),sigma.utils.pkg("sigma.svg.nodes");var b=a,c={},d=function(a){b=a},e=function(a,d,e,f,g){if(b&&a.image&&a.image.url){var h=a.image.url,i=a.image.h||1,j=a.image.w||1,k=a.image.scale||1,l=a.image.clip||1,m=c[h];m||(m=document.createElement("IMG"),m.src=h,m.status="loading",m.onerror=function(){/*console.log("error loading",h),*/m.status="error"},m.onload=function(){/*console.log("redraw on image load",h),*/m.status="ok",b.refresh()},c[h]=m);var n=i>j?j/i:1,o=j>i?i/j:1,p=f*k;g.save(),g.beginPath(),g.arc(d,e,f*l,0,2*Math.PI,!0),g.closePath(),g.clip(),"ok"===m.status&&g.drawImage(m,d+Math.sin(-0.7855)*p*n,e-Math.cos(-0.7855)*p*o,p*n*2*Math.sin(-0.7855)*-1,p*o*2*Math.cos(-0.7855)),g.restore()}},f=function(a,c,d){if(b&&a.image&&a.image.url){var e=document.createElementNS(d("xmlns"),"circle"),f=document.createElementNS(d("xmlns"),"clipPath"),g=d("classPrefix")+"-clip-path-"+a.id,h=document.createElementNS(d("xmlns"),"defs"),i=document.createElementNS(d("xmlns"),"image");a.image.url;f.setAttributeNS(null,"id",g),f.appendChild(e),h.appendChild(f);var j=/MSIE [5-9]/.test(navigator.userAgent)?"":document.location.href;j=j.split("#")[0],i.setAttributeNS(null,"class",d("classPrefix")+"-node-image"),i.setAttributeNS(null,"clip-path","url("+j+"#"+g+")"),i.setAttributeNS(null,"pointer-events","none"),i.setAttributeNS("http://www.w3.org/1999/xlink","href",a.image.url),c.appendChild(h),c.appendChild(i)}},g=function(a,b,c){sigma.canvas.nodes[a]=function(a,d,f){var g=(arguments,f("prefix")||""),h=a[g+"size"],i=a.color||f("defaultNodeColor"),j=a.borderColor||i,k=a[g+"x"],l=a[g+"y"];d.save(),b&&b(a,k,l,h,i,d),c&&c(a,k,l,h,j,d),e(a,k,l,h,d),d.restore()},sigma.svg.nodes[a]={create:function(a,b){var c=document.createElementNS(b("xmlns"),"g"),d=document.createElementNS(b("xmlns"),"circle");return c.setAttributeNS(null,"class",b("classPrefix")+"-node-group"),c.setAttributeNS(null,"data-node-id",a.id),d.setAttributeNS(null,"data-node-id",a.id),d.setAttributeNS(null,"class",b("classPrefix")+"-node"),d.setAttributeNS(null,"fill",a.color||b("defaultNodeColor")),c.appendChild(d),f(a,c,b),c},update:function(a,b,c){for(var d=c("classPrefix"),e=a.image.clip||1,f=a.image.h||1,g=a.image.w||1,h=c("prefix")||"",i=a.image.scale||1,j=a[h+"size"],k=a[h+"x"],l=a[h+"y"],m=i*j,n=f>g?g/f:1,o=g>f?f/g:1,p=0,q=b.childNodes;p<q.length;p++){var r=q[p].getAttribute("class");switch(r){case d+"-node":q[p].setAttributeNS(null,"cx",k),q[p].setAttributeNS(null,"cy",l),q[p].setAttributeNS(null,"r",j),c("freeStyle")||q[p].setAttributeNS(null,"fill",a.color||c("defaultNodeColor"));break;case d+"-node-image":q[p].setAttributeNS(null,"x",k+Math.sin(-0.7855)*m*n),q[p].setAttributeNS(null,"y",l-Math.cos(-0.7855)*m*o),q[p].setAttributeNS(null,"width",m*n*2*Math.sin(-0.7855)*-1),q[p].setAttributeNS(null,"height",m*o*2*Math.cos(-0.7855));break;default:var s=q[p].firstChild;if(null!=s){var t=d+"-clip-path-"+a.id;s.getAttribute("id")===t&&(s.firstChild.setAttributeNS(null,"cx",k),s.firstChild.setAttributeNS(null,"cy",l),s.firstChild.setAttributeNS(null,"r",e*j))}}}b.style.display=""}}};ShapeLibrary.enumerate().forEach(function(a){g(a.name,a.drawShape,a.drawBorder)}),this.CustomShapes={init:d,version:"0.1"}}.call(this);
-
-/**openo tools**/
-// generate a random graph
-function oTopo(){var b;this.canvas=function(f,d){var e={nodes:[],edges:[]};b=new sigma({graph:e,renderer:{container:document.getElementById(f),type:"canvas"},settings:d});CustomShapes.init(b)};this.refresh=function(){b.refresh()};this.Node=function(e){var d=this;this.id=e,this.label="",this.type="square",this.x=1,this.y=1,this.size=10,this.image={};this.color="transparent",this.borderColor="#1E90FF",this.setName=function(f){d.label=f};this.setType=function(f){d.type=f};this.setSize=function(f){d.size=f};this.setImg=function(f){d.image={url:f,scale:1,clip:0,};d.borderColor="transparent";d.color="transparent"};this.setImgScale=function(f){d.image.scale=f};this.setImgClip=function(f){d.image.clip=f};this.setColor=function(f){d.color=f};this.setBorderColor=function(f){d.borderColor=f};this.setLocation=function(f,g){d.x=f;d.y=g};this.setProperty=function(g,f){d[g]=f}};this.Link=function(e){var d=this;this.id=e,this.type="arrow",this.source=1,this.target=1,this.size=Math.random(),this.color="#1E90FF",this.setType=function(f){d.type=f};this.setSize=function(f){d.size=f};this.setConnect=function(g,f){d.source=g;d.target=f};this.setColor=function(f){d.color=f};this.setProperty=function(g,f){d[g]=f}};this.addNode=function(d){b.graph.addNode(d)};this.dropNode=function(d){b.graph.dropNode(d)};this.addLink=function(d){b.graph.addEdge(d)};this.dropLink=function(d){b.graph.dropEdge(d)};this.allNodes=function(){return b.graph.nodes()};var c=null;this.setDrag=function(d){if(d){c=sigma.plugins.dragNodes(b,b.renderers[0])}};var a=function(f,d){if(null!=c){c.bind(f,function(e){d(e)})}};this.mouseBind=function(f,d){if(null!=b){b.bind(f,function(e){d(e)})}};this.noright=function(d){if(d){d.oncontextmenu=function(){return false};d.ondragstart=function(){return false};d.onselectstart=function(){return false};d.onselect=function(){d.selection.empty()};d.oncopy=function(){d.selection.empty()};d.onbeforecopy=function(){return false}}}};
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-nsoc/i18n/loadi18n-openo-nsoc.js b/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-nsoc/i18n/loadi18n-openo-nsoc.js deleted file mode 100644 index 724477b6..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-nsoc/i18n/loadi18n-openo-nsoc.js +++ /dev/null @@ -1,20 +0,0 @@ -/*
- * Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-function loadnsocPropertiesSideMenu(lang){
- loadPropertiesSideMenu(lang, 'openo-nsoc-i18n', '/iui/framework/hsif/openo-nsoc/i18n/');
-}
-loadnsocPropertiesSideMenu(lang);
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-nsoc/i18n/openo-nsoc-i18n-en-US.properties b/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-nsoc/i18n/openo-nsoc-i18n-en-US.properties deleted file mode 100644 index 49d21c9c..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-nsoc/i18n/openo-nsoc-i18n-en-US.properties +++ /dev/null @@ -1,23 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-org_openo_orchestrator_nsoc_service=Service
-org_openo_orchestrator_nsoc_orchestrator=Orchestrator
-org_openo_orchestrator_nsoc_model_design=Model Design
-org_openo_orchestrator_nsoc_node_type=Node Type
-org_openo_orchestrator_nsoc_pkg=Package
-org_openo_orchestrator_nsoc_template=Service Template
-org_openo_orchestrator_nsoc_lifecycle=Lifecycle
-org_openo_orchestrator_nsoc_hostimage=Host Image
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-nsoc/i18n/openo-nsoc-i18n-zh-CN.properties b/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-nsoc/i18n/openo-nsoc-i18n-zh-CN.properties deleted file mode 100644 index 355d1ef7..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-nsoc/i18n/openo-nsoc-i18n-zh-CN.properties +++ /dev/null @@ -1,23 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-org_openo_orchestrator_nsoc_service=业务
-org_openo_orchestrator_nsoc_orchestrator=编排
-org_openo_orchestrator_nsoc_model_design=模型设计
-org_openo_orchestrator_nsoc_node_type=节点类型
-org_openo_orchestrator_nsoc_pkg=包管理
-org_openo_orchestrator_nsoc_template=模板管理
-org_openo_orchestrator_nsoc_lifecycle=生命周期管理
-org_openo_orchestrator_nsoc_hostimage=主机镜像
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-roc/i18n/loadi18n-openo-roc.js b/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-roc/i18n/loadi18n-openo-roc.js deleted file mode 100644 index 0325a24d..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-roc/i18n/loadi18n-openo-roc.js +++ /dev/null @@ -1,21 +0,0 @@ -/*
- * Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-function loadrocPropertiesSideMenu(lang){
-
- loadPropertiesSideMenu(lang, 'openo-roc-i18n', '/iui/framework/hsif/openo-roc/i18n/');
-}
-loadrocPropertiesSideMenu(lang);
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-roc/i18n/openo-roc-i18n-en-US.properties b/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-roc/i18n/openo-roc-i18n-en-US.properties deleted file mode 100644 index c8c917a4..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-roc/i18n/openo-roc-i18n-en-US.properties +++ /dev/null @@ -1,22 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-org_openo_orchestrator_roc_resource=Resource
-org_openo_orchestrator_roc_managementview=Manage View
-org_openo_orchestrator_roc_vim=VIM Manage
-org_openo_orchestrator_roc_sdn=SDN Manage
-org_openo_orchestrator_roc_vnfm=VNFM
-org_openo_orchestrator_roc_resourceview=Resource View
-org_openo_orchestrator_roc_overview=Overview
diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-roc/i18n/openo-roc-i18n-zh-CN.properties b/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-roc/i18n/openo-roc-i18n-zh-CN.properties deleted file mode 100644 index 4d84a910..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-roc/i18n/openo-roc-i18n-zh-CN.properties +++ /dev/null @@ -1,22 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-org_openo_orchestrator_roc_resource=资源
-org_openo_orchestrator_roc_managementview=管理视图
-org_openo_orchestrator_roc_vim=VIM管理
-org_openo_orchestrator_roc_sdn=SDN管理
-org_openo_orchestrator_roc_vnfm=VNFM管理
-org_openo_orchestrator_roc_resourceview=资源视图
-org_openo_orchestrator_roc_overview=资源概览
diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-umc/i18n/loadi18n-openo-umc.js b/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-umc/i18n/loadi18n-openo-umc.js deleted file mode 100644 index 2f8b1f7a..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-umc/i18n/loadi18n-openo-umc.js +++ /dev/null @@ -1,19 +0,0 @@ -/*
- * Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-function loadumcPropertiesSideMenu(lang){
- loadPropertiesSideMenu(lang, 'openo-umc-i18n', '/iui/framework/hsif/openo-umc/i18n/');
-}
-loadumcPropertiesSideMenu(lang);
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-umc/i18n/openo-umc-i18n-en-US.properties b/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-umc/i18n/openo-umc-i18n-en-US.properties deleted file mode 100644 index 9a2b6501..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-umc/i18n/openo-umc-i18n-en-US.properties +++ /dev/null @@ -1,27 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-org_openo_orchestrator_umc_monitor=Monitor
-org_openo_orchestrator_umc_monitor_setting=Setting
-org_openo_orchestrator_umc_monitor_para_setting=Monitor Para Setting
-org_openo_orchestrator_umc_topo=Topology
-org_openo_orchestrator_umc_physical_topo=Physical Topology
-org_openo_orchestrator_umc_service_topo=Service Topology
-org_openo_orchestrator_umc_fm=Alarm
-org_openo_orchestrator_umc_fm_currentAlarm=Alarm Query
-org_openo_orchestrator_umc_pm=Performance
-org_openo_orchestrator_umc_pm_performance_query=Performance Query
-org_openo_orchestrator_umc_monitor_service=Service List
-org_openo_orchestrator_umc_monitor_service_overview=Overview
diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-umc/i18n/openo-umc-i18n-zh-CN.properties b/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-umc/i18n/openo-umc-i18n-zh-CN.properties deleted file mode 100644 index ea316465..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/hsif/openo-umc/i18n/openo-umc-i18n-zh-CN.properties +++ /dev/null @@ -1,27 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-org_openo_orchestrator_umc_monitor=监控
-org_openo_orchestrator_umc_monitor_setting=设置
-org_openo_orchestrator_umc_monitor_para_setting=监控参数设置
-org_openo_orchestrator_umc_topo=拓扑
-org_openo_orchestrator_umc_physical_topo=物理拓扑
-org_openo_orchestrator_umc_service_topo=业务拓扑
-org_openo_orchestrator_umc_fm=告警
-org_openo_orchestrator_umc_fm_currentAlarm=告警查询
-org_openo_orchestrator_umc_pm=性能
-org_openo_orchestrator_umc_pm_performance_query=性能查询
-org_openo_orchestrator_umc_monitor_service=业务监控
-org_openo_orchestrator_umc_monitor_service_overview=业务概览
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/i18n/web-framework-integration-i18n-en-US.properties b/openoiui-standlone/src/main/assembly/webroot/framework/i18n/web-framework-integration-i18n-en-US.properties deleted file mode 100644 index 16341f2c..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/i18n/web-framework-integration-i18n-en-US.properties +++ /dev/null @@ -1,224 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-?com_zte_ums_ict_framework_ui_main_title=
-com_zte_ums_ict_framework_ui_skin_select=Theme Color
-com_zte_ums_ict_framework_ui_language=Language
-com_zte_ums_ict_framework_ui_language_zhcn=\u4e2d\u6587
-com_zte_ums_ict_framework_ui_language_en=English
-com_zte_ums_ict_framework_ui_skin_layout=Layout
-com_zte_ums_ict_framework_ui_layout_fluid=Fluid
-com_zte_ums_ict_framework_ui_layout_boxed=Boxed
-com_zte_ums_ict_framework_ui_page_head=Header
-com_zte_ums_ict_framework_ui_page_fixed=Fixed
-com_zte_ums_ict_framework_ui_page_default=Default
-com_zte_ums_ict_framework_ui_page_head_fixed=Fixed
-com_zte_ums_ict_framework_ui_page_head_default=Default
-com_zte_ums_ict_framework_ui_page_sidebar_fixed=Fixed
-com_zte_ums_ict_framework_ui_page_sidebar_default=Default
-com_zte_ums_ict_framework_ui_side_bar=Sidebar
-com_zte_ums_ict_framework_ui_sidebar_location=Sidebar Position
-com_zte_ums_ict_framework_ui_navbar_direction=Menu Direction
-com_zte_ums_ict_framework_ui_navbar_direction_horizontal=Horizontal
-com_zte_ums_ict_framework_ui_navbar_direction_vertical=Vertical
-com_zte_ums_ict_framework_ui_navbar_direction_fmenu=Category Navigation
-com_zte_ums_ict_framework_ui_keep_top=Top
-com_zte_ums_ict_framework_ui_keep_left=Left
-com_zte_ums_ict_framework_ui_keep_right=Right
-com_zte_ums_ict_framework_ui_page_footer=Footer
-
-com_zte_ums_ict_framework_ui_basic_info=Basic Information
-com_zte_ums_ict_framework_ui_search_value=Search...
-com_zte_ums_ict_framework_ui_sidebar_mainPage=Home
-com_zte_ums_ict_framework_ui_sidebar_topo=Topology
-com_zte_ums_ict_framework_ui_sidebar_resList=Resource Table
-com_zte_ums_ict_framework_ui_sidebar_physicTopo=Physical Topology
-com_zte_ums_ict_framework_ui_sidebar_linkTopo=Relation Topology
-com_zte_ums_ict_framework_ui_sidebar_alarm=Alarm
-com_zte_ums_ict_framework_ui_sidebar_currentAlarm=Active Alarm
-com_zte_ums_ict_framework_ui_sidebar_historyAlarm=History Alarm
-com_zte_ums_ict_framework_ui_sidebar_notice=Notification
-com_zte_ums_ict_framework_ui_sidebar_alarmRule=Alarm Rule
-com_zte_ums_ict_framework_ui_sidebar_queryAlarm=Query Alarm
-com_zte_ums_ict_framework_ui_sidebar_alarmStat=Alarm Statistic
-com_zte_ums_ict_framework_ui_sidebar_alarmSetup=Alarm Setting
-com_zte_ums_ict_framework_ui_sidebar_perform=Performance
-com_zte_ums_ict_framework_ui_sidebar_historySearch=History Query
-com_zte_ums_ict_framework_ui_sidebar_realTimeSearch=Realtime Data Query
-com_zte_ums_ict_framework_ui_sidebar_counterAndIndicator=Counter and Index
-com_zte_ums_ict_framework_ui_sidebar_measureTaskMang=Measurement Task
-com_zte_ums_ict_framework_ui_sidebar_generalTemplateMang=Common Template
-com_zte_ums_ict_framework_ui_sidebar_config=Configuration
-com_zte_ums_ict_framework_ui_sidebar_itDevMang=IT Resource Management
-com_zte_ums_ict_framework_ui_sidebar_ipDevMang=IP Resource Management
-com_zte_ums_ict_framework_ui_sidebar_autoFind=Auto Discovery
-com_zte_ums_ict_framework_ui_sidebar_pollConfig=Poll Configuration
-com_zte_ums_ict_framework_ui_sidebar_security=Security
-com_zte_ums_ict_framework_ui_sidebar_smGuide=security Entry
-com_zte_ums_ict_framework_ui_sidebar_deptMang=Department Management
-com_zte_ums_ict_framework_ui_sidebar_userMang=User Management
-com_zte_ums_ict_framework_ui_sidebar_roleMang=Role Management
-com_zte_ums_ict_framework_ui_sidebar_acccRule=Customize User Account Rule
-com_zte_ums_ict_framework_ui_sidebar_roleAndRoleset=Role & Role Set
-com_zte_ums_ict_framework_ui_sidebar_log=Log
-com_zte_ums_ict_framework_ui_sidebar_operationLog=Operation Log
-com_zte_ums_ict_framework_ui_sidebar_sysLog=System Log
-com_zte_ums_ict_framework_ui_sidebar_securityLog=Security Log
-com_zte_ums_ict_framework_ui_sidebar_sysLogMultiTab=System Log(Multi-tab Example)
-com_zte_ums_ict_framework_ui_sidebar_operationLogMultiTab=Operation Log(Multi-tab Example)
-com_zte_ums_ict_framework_ui_sidebar_system=System
-com_zte_ums_ict_framework_ui_sidebar_dataBackup=Backup Data
-com_zte_ums_ict_framework_ui_sidebar_fileBackup=Backup Files
-com_zte_ums_ict_framework_ui_sidebar_license=License
-com_zte_ums_ict_framework_ui_sidebar_sysState=System Status
-com_zte_ums_ict_framework_ui_sidebar_SystemMang=System Management
-
-com_zte_ums_ict_framework_ui_sidebar_monitor=Monitor
-com_zte_ums_ict_framework_ui_sidebar_alarmByCell=Active Alarm Statistic by NE
-com_zte_ums_ict_framework_ui_sidebar_alarmByCellType=Active Alarm Statistic by NE Type
-com_zte_ums_ict_framework_ui_breadcrumbs_moreOper=More Operation
-com_zte_ums_ict_framework_ui_sidebar_dbStructBack=DB Struct Backup
-com_zte_ums_ict_framework_ui_sidebar_baseDataBack=Base Data Backup
-com_zte_ums_ict_framework_ui_sidebar_logDataBackRestore=Log Data Back&Restore
-com_zte_ums_ict_framework_ui_sidebar_alarmDataBackRestore=Alarm Data Back&Restore
-com_zte_ums_ict_framework_ui_sidebar_dbBack=Database Backup
-com_zte_ums_ict_framework_ui_breadcrumbs_ruleSetup=Rule Setup
-com_zte_ums_ngict_dashboard=Dashboard
-
-com_zte_ums_ict_framework_ui_sidebar_levelRedefineSetup=Severity Regrading Setting
-com_zte_ums_ict_framework_ui_sidebar_disposeSuggestionSetup=Handing Suggestion Setting
-com_zte_ums_ict_framework_ui_sidebar_AlarmBoxSetup=Set Alarm Box
-com_zte_ums_ict_framework_ui_sidebar_measureObjectMang=MO Management
-com_zte_ums_ict_framework_ui_sidebar_thresholdTaskMang=Threshold Task
-com_zte_ums_ict_framework_ui_sidebar_anDevMan=AN Device Management
-com_zte_ums_ict_framework_ui_sidebar_cellMang=Cell management
-com_zte_ums_ict_framework_ui_sidebar_snmpPing= SNMP Ping
-com_zte_ums_ict_framework_ui_sidebar_telnet=Telnet
-com_zte_ums_ict_framework_ui_sidebar_workOder=Work Order
-com_zte_ums_ict_framework_ui_sidebar_resMang=Resource Management
-com_zte_ums_ict_framework_ui_sidebar_SecurityMang=Security Management
-com_zte_ums_ict_framework_ui_sidebar_userLockStatus=Show Locked Users
-com_zte_ums_ict_framework_ui_sidebar_loginUserMang=Login User Management
-com_zte_ums_ict_framework_ui_sidebar_userBlackList=User Blacklist
-com_zte_ums_ict_framework_ui_sidebar_operationSet=Operation Set Management
-com_zte_ums_ict_framework_ui_sidebar_LogMang=Log Management
-com_zte_ums_ict_framework_ui_sidebar_backRestore=Backup and Restore
-com_zte_ums_ict_framework_ui_sidebar_dbStructBack=Backup Whole DB Structure
-com_zte_ums_ict_framework_ui_sidebar_baseDataBack=Backup Basic Data
-com_zte_ums_ict_framework_ui_sidebar_logDataBackRestore=Log Data Backup and Restore
-com_zte_ums_ict_framework_ui_sidebar_alarmDataBackRestore=Alarm Data Backup and Restore
-com_zte_ums_ict_framework_ui_loading=loading......
-com_zte_ums_ict_framework_ui_searching=searching......
-com_zte_ums_ict_framework_ui_clickTooFast=You click on too fast, please wait for a while to click the menu, thank you!
-com_zte_ums_ict_framework_ui_loadmenuerror=loading menu failed.
-com_zte_ums_ict_framework_ui_confirmlogout=Do you confirm to logout?
-com_zte_ums_aos_framework_ui_heartbeat_fail=The session is invalidated.
-com_zte_ums_ict_framework_ui_fixedsidedefaultheaderError=Default Header with Fixed Sidebar option is not supported. Proceed with Fixed Header with Fixed Sidebar.
-com_zte_ums_ict_framework_ui_fixedsiderightpositionError=Fixed Sidebar with right position is not supported. Set Sidebar as default.
-com_zte_ums_ict_framework_ui_loadchgpwdpageError=loading change password page failed.
-com_zte_ums_ict_framework_ui_searchmessage=The {0} keyword search results as follows:
-com_zte_ums_ict_framework_ui_month=January,February,March,April,May,June,July,August,September,October,November,December
-com_zte_ums_ict_framework_ui_customdate=Custom date
-com_zte_ums_ict_framework_ui_from=From
-com_zte_ums_ict_framework_ui_to=To
-com_zte_ums_ict_framework_ui_apply=Apply
-com_zte_ums_ict_framework_ui_today=Today
-com_zte_ums_ict_framework_ui_yestoday=Yestoday
-com_zte_ums_ict_framework_ui_lastdays=Last {0} days
-com_zte_ums_ict_framework_ui_thismonth=This month
-com_zte_ums_ict_framework_ui_lastmonth=Last month
-
-com_zte_ums_ict_framework_ui_group_about=About
-com_zte_ums_ict_framework_ui_group_logout=Logout
-com_zte_ums_ict_framework_ui_changePwd=Change Password
-com_zte_ums_ict_framework_ui_group_fullscreen=Full Screen
-com_zte_ums_ict_framework_ui_group_exitfullscreen=Exit Full Screen
-com_zte_ums_ict_framework_moudle_help = Help
-com_zte_ums_ict_framework_moudle_menutoggler=More
-
-
-com_zte_ums_ict_alarmcount_total_label = Total:{0}
-com_zte_ums_ict_alarmcount_critical_label = Critical:{0}
-com_zte_ums_ict_alarmcount_critical_text = Critical Alarm
-com_zte_ums_ict_alarmcount_major_label = Major:{0}
-com_zte_ums_ict_alarmcount_major_text = Major Alarm
-com_zte_ums_ict_alarmcount_minor_label = Minor:{0}
-com_zte_ums_ict_alarmcount_minor_text = Minor Alarm
-com_zte_ums_ict_alarmcount_warning_label = Warning:{0}
-com_zte_ums_ict_alarmcount_warning_text = Warning Alarm
-com_zte_ums_ict_alarmcount_none_label=No alarm Now!
-com_zte_ums_ict_alarmcount_total_after_text = ,Now!"
-com_zte_ums_ict_alarmcount_total_before_text =Total Alarm Number:
-
-com_zte_ums_ict_framework_ui_sidebar_performMonitor=Perform Monitor
-com_zte_ums_ict_framework_ui_sidebar_resource=Resource
-com_zte_ums_ict_framework_ui_sidebar_manualAdd=Manual Add
-com_zte_ums_ict_framework_ui_sidebar_gisTopo=GIS Topo
-
-
-com_zte_ums_ict_framework_ui_sidebar_userDispatch=User Dispatch
-com_zte_ums_ict_framework_ui_sidebar_roleCollect=Role Collection
-
-com_zte_ums_ict_sm_user_op_ok=Operation succeeded.
-com_zte_ums_ict_sm_user_close_button=Close
-com_zte_ums_ict_sm_user_confirm=OK
-com_zte_ums_ict_sm_user_ok=OK
-com_zte_ums_ict_sm_user_modify_current_password_label= User Password Set
-com_zte_ums_ict_sm_user_modify_current_password=User Password Set
-com_zte_ums_ict_sm_user_old_password=Old Password
-com_zte_ums_ict_sm_user_confirmpassword=Confirm New Password
-com_zte_ums_ict_sm_user_cancel_button=Cancel
-com_zte_ums_ict_sm_user_password=New Password
-com_zte_ums_ict_sm_password_confirm_not_consistent = The New Password and the Confirm New Password are inconsistent.
-com_zte_ums_ict_sm_user_inputoldpwd=Please input old password
-com_zte_ums_ict_sm_user_inputnewpwd=Please input new password
-com_zte_ums_ict_sm_user_inputnewpwdagain=Please input new password again
-com_zte_ums_ict_portal_chgpwd_oldpwdError=Old password error
-com_zte_ums_ict_login_inputname=Please input user name
-com_zte_ums_ict_login_inputpwd=Please input user password
-
-com_zte_ums_eco_service=Service
-
-com_zte_ums_ict_framework_ui_ztebluelight=ZTE Blue Light
-com_zte_ums_ict_framework_ui_zteblue=ZTE Blue
-com_zte_ums_ict_framework_ui_blue=Blue
-
-com_zte_ums_ict_about_ppu_field_name =Name
-com_zte_ums_ict_about_ppu_field_version = Version
-com_zte_ums_ict_about_ppu_field_desc = Description
-com_zte_ums_ict_about_ppu_field_time = Update Time
-com_zte_ums_ict_framework_moudle_about = About
-com_zte_ums_ict_framework_about_detail = Info
-com_zte_ums_ict_framework_about_version=Version:
-com_zte_ums_ict_portal_login_companyName=2015 @; ZTE - Corporation
-
-com_zte_ums_ict_framework_ui_main_title=
-com_zte_ums_ict_framework_ui_page_title=NFV Mano System
-com_zte_ums_ict_framework_ui_page_title_1=NFV Mano System
-com_zte_ums_ict_framework_ui_page_title_2=NFV Mano System
-
-com_zte_ums_ict_framework_ui_main_title=OPEN-O
-com_zte_ums_ict_framework_ui_page_title=OPEN-O System
-com_zte_ums_ict_framework_ui_page_title_1=OPEN-O System
-com_zte_ums_ict_framework_ui_page_title_2=OPEN-O System
-
-org_openo_orchestrator_framework_main_page_service=Service
-org_openo_orchestrator_framework_main_page_cloud=Cloud
-org_openo_orchestrator_framework_main_page_orchestrator=Orchestrator
-org_openo_orchestrator_framework_main_page_monitor=Monitor
-org_openo_orchestrator_framework_main_page_resource=Resource
-org_openo_orchestrator_framework_main_page_design=Design
-org_openo_orchestrator_framework_main_page_alarm=Alarm
-org_openo_orchestrator_framework_main_page_performance=Performance
diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/i18n/web-framework-integration-i18n-zh-CN.properties b/openoiui-standlone/src/main/assembly/webroot/framework/i18n/web-framework-integration-i18n-zh-CN.properties deleted file mode 100644 index a8a86ab9..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/i18n/web-framework-integration-i18n-zh-CN.properties +++ /dev/null @@ -1,224 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-com_zte_ums_ict_framework_ui_main_title=
-com_zte_ums_ict_framework_ui_skin_select=皮肤选择
-com_zte_ums_ict_framework_ui_language=语言
-com_zte_ums_ict_framework_ui_language_zhcn=中文
-com_zte_ums_ict_framework_ui_language_en=English
-com_zte_ums_ict_framework_ui_skin_layout=布局
-com_zte_ums_ict_framework_ui_layout_fluid=流动布局
-com_zte_ums_ict_framework_ui_layout_boxed=盒子布局
-com_zte_ums_ict_framework_ui_page_head=页头
-com_zte_ums_ict_framework_ui_page_fixed=固定
-com_zte_ums_ict_framework_ui_page_default=默认
-com_zte_ums_ict_framework_ui_page_head_fixed=固定
-com_zte_ums_ict_framework_ui_page_head_default=默认
-com_zte_ums_ict_framework_ui_page_sidebar_fixed=固定
-com_zte_ums_ict_framework_ui_page_sidebar_default=默认
-com_zte_ums_ict_framework_ui_side_bar=边栏
-com_zte_ums_ict_framework_ui_sidebar_location=边栏位置
-com_zte_ums_ict_framework_ui_navbar_direction=菜单方向
-com_zte_ums_ict_framework_ui_navbar_direction_horizontal=横向
-com_zte_ums_ict_framework_ui_navbar_direction_vertical=纵向
-com_zte_ums_ict_framework_ui_navbar_direction_fmenu=分类导航
-com_zte_ums_ict_framework_ui_keep_top=靠上
-com_zte_ums_ict_framework_ui_keep_left=靠左
-com_zte_ums_ict_framework_ui_keep_right=靠右
-com_zte_ums_ict_framework_ui_page_footer=页脚
-
-com_zte_ums_ict_framework_ui_basic_info=基本信息
-com_zte_ums_ict_framework_ui_search_value=搜索...
-com_zte_ums_ict_framework_ui_sidebar_mainPage=主页
-com_zte_ums_ict_framework_ui_sidebar_topo=拓扑
-com_zte_ums_ict_framework_ui_sidebar_resList=资源列表
-com_zte_ums_ict_framework_ui_sidebar_physicTopo=物理拓扑
-com_zte_ums_ict_framework_ui_sidebar_linkTopo=链路拓扑
-com_zte_ums_ict_framework_ui_sidebar_alarm=告警
-com_zte_ums_ict_framework_ui_sidebar_alarm_summary=告警概览
-com_zte_ums_ict_framework_ui_sidebar_currentAlarm=当前告警
-com_zte_ums_ict_framework_ui_sidebar_historyAlarm=历史告警
-com_zte_ums_ict_framework_ui_sidebar_notice=通知
-com_zte_ums_ict_framework_ui_sidebar_alarmRule=告警规则
-com_zte_ums_ict_framework_ui_sidebar_queryAlarm=告警查询
-com_zte_ums_ict_framework_ui_sidebar_alarmStat=告警统计
-com_zte_ums_ict_framework_ui_sidebar_alarmSetup=告警设置
-com_zte_ums_ict_framework_ui_sidebar_perform=性能
-com_zte_ums_ict_framework_ui_sidebar_historySearch=历史查询
-com_zte_ums_ict_framework_ui_sidebar_realTimeSearch=实时查询
-com_zte_ums_ict_framework_ui_sidebar_counterAndIndicator=计数器与指标
-com_zte_ums_ict_framework_ui_sidebar_measureTaskMang=测量任务管理
-com_zte_ums_ict_framework_ui_sidebar_generalTemplateMang=通用模板管理
-com_zte_ums_ict_framework_ui_sidebar_config=配置
-com_zte_ums_ict_framework_ui_sidebar_itDevMang=IT设备管理
-com_zte_ums_ict_framework_ui_sidebar_ipDevMang=IP设备管理
-com_zte_ums_ict_framework_ui_sidebar_autoFind=自动发现
-com_zte_ums_ict_framework_ui_sidebar_pollConfig=轮询设置
-com_zte_ums_ict_framework_ui_sidebar_security=安全
-com_zte_ums_ict_framework_ui_sidebar_smGuide=安全入门
-com_zte_ums_ict_framework_ui_sidebar_deptMang=部门管理
-com_zte_ums_ict_framework_ui_sidebar_userMang=用户管理
-com_zte_ums_ict_framework_ui_sidebar_acccRule=帐户规则
-com_zte_ums_ict_framework_ui_sidebar_roleMang=角色管理
-com_zte_ums_ict_framework_ui_sidebar_roleAndRoleset=角色和角色集
-com_zte_ums_ict_framework_ui_sidebar_log=日志
-com_zte_ums_ict_framework_ui_sidebar_operationLog=操作日志
-com_zte_ums_ict_framework_ui_sidebar_sysLog=系统日志
-com_zte_ums_ict_framework_ui_sidebar_securityLog=安全日志
-com_zte_ums_ict_framework_ui_sidebar_sysLogMultiTab=系统日志(多TAB示例)
-com_zte_ums_ict_framework_ui_sidebar_operationLogMultiTab=操作日志(多TAB示例)
-com_zte_ums_ict_framework_ui_sidebar_system=系统
-com_zte_ums_ict_framework_ui_sidebar_dataBackup=数据备份
-com_zte_ums_ict_framework_ui_sidebar_fileBackup=文件备份
-com_zte_ums_ict_framework_ui_sidebar_license=许可证
-com_zte_ums_ict_framework_ui_sidebar_sysState=系统状态
-com_zte_ums_ict_framework_ui_sidebar_SystemMang=系统管理
-
-com_zte_ums_ict_framework_ui_sidebar_monitor=监控
-com_zte_ums_ict_framework_ui_sidebar_alarmByCell=按网元统计告警
-com_zte_ums_ict_framework_ui_sidebar_alarmByCellType=按网元类型统计告警
-com_zte_ums_ict_framework_ui_breadcrumbs_moreOper=更多操作
-com_zte_ums_ict_framework_ui_sidebar_dbStructBack=整库结构备份
-com_zte_ums_ict_framework_ui_sidebar_baseDataBack=基础数据备份
-com_zte_ums_ict_framework_ui_sidebar_logDataBackRestore=日志数据备份恢复
-com_zte_ums_ict_framework_ui_sidebar_alarmDataBackRestore=告警数据备份恢复
-com_zte_ums_ict_framework_ui_sidebar_dbBack=数据库备份
-com_zte_ums_ngict_dashboard=仪表盘
-com_zte_ums_ict_framework_ui_breadcrumbs_ruleSetup=规则设置
-com_zte_ums_ict_framework_ui_sidebar_levelRedefineSetup=级别重定义设置
-com_zte_ums_ict_framework_ui_sidebar_disposeSuggestionSetup=处理建议设置
-com_zte_ums_ict_framework_ui_sidebar_AlarmBoxSetup=告警箱设置
-com_zte_ums_ict_framework_ui_sidebar_measureObjectMang=测量对象管理
-
-com_zte_ums_ict_framework_ui_sidebar_thresholdTaskMang=门限任务管理
-com_zte_ums_ict_framework_ui_sidebar_anDevMan=AN产品管理
-com_zte_ums_ict_framework_ui_sidebar_cellMang=网元管理
-com_zte_ums_ict_framework_ui_sidebar_snmpPing= SNMP Ping
-com_zte_ums_ict_framework_ui_sidebar_telnet=Telnet
-com_zte_ums_ict_framework_ui_sidebar_workOder=工单管理
-com_zte_ums_ict_framework_ui_sidebar_resMang=资源管理
-com_zte_ums_ict_framework_ui_sidebar_SecurityMang=安全管理
-com_zte_ums_ict_framework_ui_sidebar_operationSet=操作集管理
-com_zte_ums_ict_framework_ui_sidebar_userLockStatus=用户锁定情况
-com_zte_ums_ict_framework_ui_sidebar_loginUserMang=登录用户管理
-com_zte_ums_ict_framework_ui_sidebar_userBlackList=用户黑名单
-com_zte_ums_ict_framework_ui_sidebar_operationSet=操作集
-com_zte_ums_ict_framework_ui_sidebar_LogMang=日志管理
-com_zte_ums_ict_framework_ui_sidebar_backRestore=备份恢复
-com_zte_ums_ict_framework_ui_sidebar_dbStructBack=整库结构备份
-com_zte_ums_ict_framework_ui_sidebar_baseDataBack=基础数据备份
-com_zte_ums_ict_framework_ui_sidebar_logDataBackRestore=日志数据备份恢复
-com_zte_ums_ict_framework_ui_sidebar_alarmDataBackRestore=告警数据备份恢复
-com_zte_ums_ict_framework_ui_loading=加载中......
-com_zte_ums_ict_framework_ui_searching=搜索中......
-com_zte_ums_ict_framework_ui_clickTooFast=您点击的太快了,请稍候重新点击下该菜单,谢谢
-com_zte_ums_ict_framework_ui_loadmenuerror=菜单加载失败
-com_zte_ums_ict_framework_ui_confirmlogout=你确认要注销吗?
-com_zte_ums_aos_framework_ui_heartbeat_fail=会话已经失效。
-com_zte_ums_ict_framework_ui_fixedsidedefaultheaderError=页头不支持固定边栏,先固定页头才能固定边栏.
-com_zte_ums_ict_framework_ui_fixedsiderightpositionError=固定边栏不支持边栏靠右,先设置边栏为默认.
-com_zte_ums_ict_framework_ui_loadchgpwdpageError=加载修改密码页面失败
-com_zte_ums_ict_framework_ui_searchmessage=关键字{0}的搜索结果如下:
-com_zte_ums_ict_framework_ui_month=一月,二月,三月,四月,五月,六月,七月,八月,九月,十月,十一月,十二月
-com_zte_ums_ict_framework_ui_customdate=自定义日期
-com_zte_ums_ict_framework_ui_from=从
-com_zte_ums_ict_framework_ui_to=到
-com_zte_ums_ict_framework_ui_apply=应用
-com_zte_ums_ict_framework_ui_today=今天
-com_zte_ums_ict_framework_ui_yestoday=昨天
-com_zte_ums_ict_framework_ui_lastdays=最近{0}天
-com_zte_ums_ict_framework_ui_thismonth=本月
-com_zte_ums_ict_framework_ui_lastmonth=上个月
-com_zte_ums_ict_framework_ui_group_about=关于
-
-com_zte_ums_ict_framework_ui_group_logout=注销
-com_zte_ums_ict_framework_ui_changePwd=修改密码
-com_zte_ums_ict_framework_ui_group_fullscreen=全屏
-com_zte_ums_ict_framework_ui_group_exitfullscreen=退出全屏
-com_zte_ums_ict_framework_moudle_help = 帮助
-com_zte_ums_ict_framework_moudle_menutoggler=更多...
-
-com_zte_ums_ict_alarmcount_total_label = 总计:{0}
-com_zte_ums_ict_alarmcount_critical_label = 严重:{0}
-com_zte_ums_ict_alarmcount_critical_text = 严重告警
-com_zte_ums_ict_alarmcount_major_label = 主要:{0}
-com_zte_ums_ict_alarmcount_major_text = 主要告警
-com_zte_ums_ict_alarmcount_minor_label = 次要:{0}
-com_zte_ums_ict_alarmcount_minor_text = 次要告警
-com_zte_ums_ict_alarmcount_warning_label = 警告:{0}
-com_zte_ums_ict_alarmcount_warning_text = 警告告警
-com_zte_ums_ict_alarmcount_none_label=当前系统无告警
-com_zte_ums_ict_alarmcount_total_before_text =当前系统共有
-com_zte_ums_ict_alarmcount_total_after_text =个告警
-
-com_zte_ums_ict_framework_ui_sidebar_performMonitor=性能监视
-com_zte_ums_ict_framework_ui_sidebar_resource=资源
-com_zte_ums_ict_framework_ui_sidebar_manualAdd=手动添加
-com_zte_ums_ict_framework_ui_sidebar_gisTopo=GIS拓扑
-
-
-com_zte_ums_ict_framework_ui_sidebar_userDispatch=用户分发
-com_zte_ums_ict_framework_ui_sidebar_roleCollect=角色收集
-
-com_zte_ums_ict_sm_user_op_ok=操作成功。
-com_zte_ums_ict_sm_user_close_button=关闭
-com_zte_ums_ict_sm_user_confirm=确定
-com_zte_ums_ict_sm_user_ok=确定
-com_zte_ums_ict_sm_user_modify_current_password_label= 当前用户密码设置
-com_zte_ums_ict_sm_user_modify_current_password=当前用户密码设置
-com_zte_ums_ict_sm_user_old_password=旧密码
-com_zte_ums_ict_sm_user_confirmpassword=确认新密码
-com_zte_ums_ict_sm_user_cancel_button=取消
-com_zte_ums_ict_sm_user_password=新密码
-com_zte_ums_ict_sm_password_confirm_not_consistent = 密码输入不一致
-com_zte_ums_ict_sm_user_inputoldpwd=请输入原密码
-com_zte_ums_ict_sm_user_inputnewpwd=请输入新密码
-com_zte_ums_ict_sm_user_inputnewpwdagain=请再次输入新密码
-com_zte_ums_ict_portal_chgpwd_oldpwdError=原始密码错误
-com_zte_ums_ict_login_inputname=请输入用户名
-com_zte_ums_ict_login_inputpwd=请输入密码
-
-com_zte_ums_eco_service=业务
-
-com_zte_ums_ict_framework_ui_blue=中兴蓝3
-com_zte_ums_ict_framework_ui_ztebluelight=中兴蓝1
-com_zte_ums_ict_framework_ui_zteblue=中兴蓝2
-
-com_zte_ums_ict_about_ppu_field_name = 名称
-com_zte_ums_ict_about_ppu_field_version = 版本号
-com_zte_ums_ict_about_ppu_field_desc = 描述
-com_zte_ums_ict_about_ppu_field_time = 更新时间
-com_zte_ums_ict_framework_moudle_about = 关于
-com_zte_ums_ict_framework_about_detail = 详情
-com_zte_ums_ict_framework_about_version=版本号:
-com_zte_ums_ict_portal_login_companyName=2015 © ZTE - 中兴通讯股份有限公司
-
-com_zte_ums_ict_framework_ui_main_title=
-com_zte_ums_ict_framework_ui_page_title=虚拟化管理编排系统
-com_zte_ums_ict_framework_ui_page_title_2=虚拟化管理编排系统
-
-com_zte_ums_ict_framework_ui_main_title=OPEN-O
-com_zte_ums_ict_framework_ui_page_title=OPEN-O系统
-com_zte_ums_ict_framework_ui_page_title_1=OPEN-O系统
-com_zte_ums_ict_framework_ui_page_title_2=OPEN-O系统
-
-org_openo_orchestrator_framework_main_page_service=业务
-org_openo_orchestrator_framework_main_page_cloud=云管理
-org_openo_orchestrator_framework_main_page_orchestrator=目录管理
-org_openo_orchestrator_framework_main_page_monitor=监控
-org_openo_orchestrator_framework_main_page_resource=资源
-org_openo_orchestrator_framework_main_page_design=设计
-org_openo_orchestrator_framework_main_page_alarm=告警
-org_openo_orchestrator_framework_main_page_performance=性能
diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/i18n/web-portal-login-integration-i18n-en-US.properties b/openoiui-standlone/src/main/assembly/webroot/framework/i18n/web-portal-login-integration-i18n-en-US.properties deleted file mode 100644 index e7140cb6..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/i18n/web-portal-login-integration-i18n-en-US.properties +++ /dev/null @@ -1,53 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-
-com_zte_ums_ict_portal_login_title=ICT Management System
-com_zte_ums_ict_portal_login_welcome=Welcome
-com_zte_ums_ict_portal_login_userPassword=User Name or Password Error
-inputUserName=Please Input User Name
-inputPassword=Please Input Password
-com_zte_ums_ict_portal_login_rememberMe=Remember Me
-com_zte_ums_ict_portal_login_companyName=2014 @; ZTE - Corporation
-com_zte_ums_ict_login_inputname=Please Input User Name
-com_zte_ums_ict_login_inputpwd=Please Input Password
-com_zte_ums_aos_portal_login_username=Username:
-com_zte_ums_aos_portal_login_password=Password:
-com_zte_ums_aos_portal_login_validateCode=Validate Code:
-com_zte_ums_aos_portal_login_login=Login
-com_zte_ums_aos_portal_login_reset=Reset
-com_zte_ums_aos_portal_login_notice=To make your experience more smoothly and better, please download the lastest browser(Windows 32bit):
-com_zte_ums_aos_portal_login_group_localdownload=Local download
-com_zte_ums_aos_portal_login_group_officialdownload=Official download
-com_zte_ums_aos_portal_ui_changePwd=Change Password
-com_zte_ums_aos_sm_user_op_ok=Operation succeeded.
-com_zte_ums_aos_sm_user_close_button=Close
-com_zte_ums_aos_sm_user_confirm=Confirm
-com_zte_ums_aos_login_warning_title = Warning
-com_zte_ums_aos_sm_user_modify_current_password_label= User Password Set
-com_zte_ums_aos_sm_user_modify_current_password=User Password Set
-com_zte_ums_aos_sm_user_old_password=Old Password
-com_zte_ums_aos_sm_user_confirmpassword=Confirm Password
-com_zte_ums_aos_sm_user_cancel_button=Cancel
-com_zte_ums_aos_sm_user_password=New Password
-com_zte_ums_aos_sm_password_confirm_not_consistent = password and confirm password is not the same.
-com_zte_ums_aos_portal_login_group_download = Download
-com_zte_ums_aos_portal_login_notice_about_chromeFrame=Please download and install the following browser.Otherwise, some functions may become exceptional.
-com_zte_ums_aos_portal_login_recommend_notice=Recommend the use of IE8, IE9, IE10, Chrome27, Firefox20.1 browser, recommend the display resolution: 1280 * 800.
-com_zte_ums_ict_portal_login_serv_error=Login Error
-
-com_zte_ums_ict_portal_login_title=OPEN-O System
-com_zte_ums_ict_portal_login_companyName=
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/i18n/web-portal-login-integration-i18n-zh-CN.properties b/openoiui-standlone/src/main/assembly/webroot/framework/i18n/web-portal-login-integration-i18n-zh-CN.properties deleted file mode 100644 index 1bd9755a..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/i18n/web-portal-login-integration-i18n-zh-CN.properties +++ /dev/null @@ -1,53 +0,0 @@ -#
-# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-
-com_zte_ums_ict_portal_login_title=ICT管理系统
-com_zte_ums_ict_portal_login_welcome=欢迎登录
-com_zte_ums_ict_portal_login_userPassword=用户名和密码错误
-inputUserName=请输入用户名
-inputPassword=请输入密码
-com_zte_ums_ict_portal_login_rememberMe=记住我
-com_zte_ums_ict_portal_login_companyName=2014 © ZTE - 中兴通讯股份有限公司
-com_zte_ums_ict_login_inputname=请输入用户名
-com_zte_ums_ict_login_inputpwd=请输入密码
-com_zte_ums_aos_portal_login_username=用户名:
-com_zte_ums_aos_portal_login_password=密 码:
-com_zte_ums_aos_portal_login_validateCode=验证码:
-com_zte_ums_aos_portal_login_login=登录
-com_zte_ums_aos_portal_login_reset=重置
-com_zte_ums_aos_portal_login_notice=为了有更好更流畅的操作体验,请更新到最新的浏览器,请下载(Windows 32位):
-com_zte_ums_aos_portal_login_group_localdownload=本地下载
-com_zte_ums_aos_portal_login_group_officialdownload=官方下载
-com_zte_ums_aos_portal_ui_changePwd=修改密码
-com_zte_ums_aos_sm_user_op_ok=操作成功。
-com_zte_ums_aos_sm_user_close_button=关闭
-com_zte_ums_aos_sm_user_confirm=确定
-com_zte_ums_aos_login_warning_title = 警告
-com_zte_ums_aos_sm_user_modify_current_password_label= 当前用户密码设置
-com_zte_ums_aos_sm_user_modify_current_password=当前用户密码设置
-com_zte_ums_aos_sm_user_old_password=旧密码
-com_zte_ums_aos_sm_user_confirmpassword=确认密码
-com_zte_ums_aos_sm_user_cancel_button=取消
-com_zte_ums_aos_sm_user_password=新密码
-com_zte_ums_aos_sm_password_confirm_not_consistent = 密码输入不一致。
-com_zte_ums_aos_portal_login_group_download = 下载
-com_zte_ums_aos_portal_login_notice_about_chromeFrame=为了不影响系统的功能正常使用,请连网安装并使用下面的浏览器:
-com_zte_ums_aos_portal_login_recommend_notice=推荐使用IE8及以上、Chrome27及以上、Firefox20.1及以上版本浏览器,推荐显示分辨率:1280×800。
-com_zte_ums_ict_portal_login_serv_error=登录异常
-
-com_zte_ums_ict_portal_login_title=OPEN-O系统
-com_zte_ums_ict_portal_login_companyName=
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/logo.png b/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/logo.png Binary files differdeleted file mode 100644 index 9277eb11..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/logo.png +++ /dev/null diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/netnumenLogo.png b/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/netnumenLogo.png Binary files differdeleted file mode 100644 index 21f9e87a..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/netnumenLogo.png +++ /dev/null diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/zte_logo_16.gif b/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/zte_logo_16.gif Binary files differdeleted file mode 100644 index 2a2d258b..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/zte_logo_16.gif +++ /dev/null diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/zte_logo_white.png b/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/zte_logo_white.png Binary files differdeleted file mode 100644 index ef9aedb7..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/zte_logo_white.png +++ /dev/null diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/ztelogo.png b/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/ztelogo.png Binary files differdeleted file mode 100644 index ebe122a2..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/img/integration/ztelogo.png +++ /dev/null diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/js/core/const.js b/openoiui-standlone/src/main/assembly/webroot/framework/js/core/const.js deleted file mode 100644 index 1b86b79d..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/js/core/const.js +++ /dev/null @@ -1,57 +0,0 @@ -/*
- * Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-var fMenuSiderDivId = 'page-f-sidebar-menu';
-var ICTFRAME_CONST_SPINNER_GIF_PATH="../../iui/framework/img/loading-spinner-grey.gif";
-var ICTFRAME_CONST_IFRAME_HEIGHT_AJUST = 10;
-var ICTFRAME_CONST_IFRAME_HEIGHT_AJUST_IE = 5;
-var ICTFRAME_CONST_THEME_COLOR_CSS_PREFFIX = "css/themes/";
-var ICTFRAME_CONST_DEFAULTPAGE_PATH = "default.html?";
-var ICTFRAME_CONST_DATABACKUP_PATH = 'menus/dataBackup-mysql.html';
-var IS_V5_TESTVERSION = true;
-
-
-var FrameConst={};
-
-FrameConst.DEFAULT_LOGINSKIP_PAGE = "main-page.html";
-
-FrameConst.do_heartbeat = false;
-FrameConst.change_pass = false;
-
-FrameConst.isEncypt = "false";
-//FrameConst.REST_FRAMECOMMIFO = "/web/rest/web-common/getMenuItemVisible";
-FrameConst.REST_FRAMECOMMIFO = "../../api/uiframe/v1/frameCommInfo";
-//FrameConst.REST_HEARTBEAT = "/web/rest/web-common/common?action=heartbeat";
-FrameConst.REST_HEARTBEAT = "../../api/uiframe/v1/heartbeat";
-//FrameConst.REST_GETLICENSEINFO = "/web/rest/web-license/getlicensevalueinfo";
-FrameConst.REST_GETLICENSEINFO = "../../api/uiframe/v1/licensevalueinfo";
-//FrameConst.REST_CHECKRIGHT = "/web/rest/web-common/checkRight";
-FrameConst.REST_CHECKRIGHT = "../../api/uiframe/v1/checkRight";
-//FrameConst.REST_LOGIN = "/web/res/web-common/login";
-FrameConst.REST_LOGIN = "../../api/uiframe/v1/login";
-//FrameConst.REST_LOGOUT = "/web/res/web-common/loginOut?SSOAction=SSOLogout";
-FrameConst.REST_LOGOUT = "../../api/uiframe/v1/loginOut?SSOAction=SSOLogout";
-//FrameConst.REST_GET_FRAME_MENUDIRECTION = "/web/rest/web-common/GetConfByKey?key=usf.mainframe.web.navigation.direction";
-FrameConst.REST_GET_FRAME_MENUDIRECTION = "../../api/uiframe/v1/confByKey?key=usf.mainframe.web.navigation.direction";
-//FrameConst.REST_GET_USERNAME = "/web/rest/web-common/common?action=getUserName";
-FrameConst.REST_GET_USERNAME = "../../api/uiframe/v1/userName";
-
-
-//FrameConst.REST_GET_VERSIONINFO = "/web/rest/web-common/getVersionInfo";
-FrameConst.REST_GET_VERSIONINFO = "../../api/uiframe/v1/versionInfo";
-var zte_http_headers=new Array();
-zte_http_headers.push({"key":"ICTAuthentication","value":"icttka","store":true});
-zte_http_headers.push({"key":"isFromWeb","value":"1","store":false});
-zte_http_headers.push({"key":"language-option","value":"language-option","store":true});
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/json/main-page.json b/openoiui-standlone/src/main/assembly/webroot/framework/json/main-page.json deleted file mode 100644 index 0b57f581..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/json/main-page.json +++ /dev/null @@ -1,105 +0,0 @@ -{
- "propertiesFileNamePrefix":"web-framework-integration-i18n",
- "productName":"OPENO",
- "productImage":"img/integration/zte_logo_white.png",
- "modules":[
- {
- "cover":"org_openo_orchestrator_framework_main_page_service",
- "background":"skyBlue-mainpage",
- "toolsImage":"toolsImageBrokenLine",
- "url":"",
- "linkId":"openo-nsoc-template",
- "contentTip":""
- },
- {
- "cover":"org_openo_orchestrator_framework_main_page_cloud",
- "background":"golden-mainpage",
- "toolsImage":"toolsImageHierachy",
- "url":"",
- "linkId":"openo-roc-vim",
- "contentTip":""
- },
- {
- "cover":"",
- "background":"manLieONCloud-image",
- "toolsImage":"",
- "url":"http://vnjs.net/www/project/freewall/",
- "contentTip":""
- },
- {
- "cover":"org_openo_orchestrator_framework_main_page_orchestrator",
- "background":"orange-mainpage",
- "toolsImage":"toolsImageGear",
- "url":"",
- "linkId":"openo-nsoc-vApp",
-
- "contentTip":""
- },
- {
- "cover":"org_openo_orchestrator_framework_main_page_monitor",
- "background":"pinkishRed-mainpage",
- "toolsImage":"toolsImagePresent",
- "url":"",
- "linkId":"openo-umc-monitor-setting",
-
- "contentTip":""
- },
- {
- "cover":"",
- "background":"magicCube-image",
- "toolsImage":"",
- "url":"",
- "contentTip":""
- },
- {
- "cover":"org_openo_orchestrator_framework_main_page_resource",
- "background":"grassGreen-mainpage",
- "toolsImage":"toolsImageFile",
- "url":"",
- "linkId":"openo-roc-rs-view-overview",
-
- "contentTip":""
- },
- {
- "cover":"",
- "background":"meeting-image",
- "toolsImage":"",
- "url":"",
- "contentTip":""
- },
- {
- "cover":"",
- "background":"earth-image",
- "toolsImage":"",
- "url":"",
- "contentTip":""
- },
- {
- "cover":"org_openo_orchestrator_framework_main_page_design",
- "background":"orange-mainpage",
- "toolsImage":"toolsImageGear",
- "url":"",
- "linkId":"openo-nsoc-model-design",
-
- "contentTip":""
- },
- {
- "cover":"org_openo_orchestrator_framework_main_page_alarm",
- "background":"skyBlue-mainpage",
- "toolsImage":"toolsImageBriefcase",
- "url":"",
- "linkId":"openo-umc-monitor-alarm-currentAlarm",
-
- "contentTip":""
- },
- {
- "cover":"org_openo_orchestrator_framework_main_page_performance",
- "background":"pinkishRed-mainpage",
- "toolsImage":"toolsImagePresent",
- "url":"",
- "linkId":"openo-umc-monitor-pm-historyQuery",
-
- "contentTip":""
- }
- ]
-}
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/login.html b/openoiui-standlone/src/main/assembly/webroot/framework/login.html deleted file mode 100644 index e82cb513..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/login.html +++ /dev/null @@ -1,187 +0,0 @@ -<!--
-
- Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8"/>
-<title id="com_zte_ums_ict_portal_login_title" name_i18n="com_zte_ums_ict_framework_ui_i18n_login"></title>
-<meta http-equiv="X-UA-Compatible" content="IE=edge">
-<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
-<meta content="" name="description"/>
-<meta content="" name="author"/>
-<link href="../component/thirdparty/fakeLoader/fakeLoader.css" rel="stylesheet" type="text/css" />
-<script>
- if(top != window){
- top.location.href = location.href;
- }
-</script>
-<link href="../component/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
-<link href="../component/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
-<link href="../component/thirdparty/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
-<link href="./css/style-custom.css" rel="stylesheet" type="text/css"/>
-<link href="./css/style.css" rel="stylesheet" type="text/css"/>
-<link href="./css/style-responsive.css" rel="stylesheet" type="text/css"/>
-<link href="./css/plugins.css" rel="stylesheet" type="text/css"/>
-<link href="./css/login.css" rel="stylesheet" type="text/css"/>
-<link href="./css/custom_default.css" rel="stylesheet" type="text/css"/>
-<link rel="shortcut icon" href="./img/integration/zte_logo_16.gif"/>
-<script type="text/javascript" src="../component/thirdparty/jquery/jquery-1.10.2.min.js"></script>
-<script type="text/javascript" src="./js/core/const.js" ></script>
-<script type="text/javascript" src="./appRes/js/custom-const.js" ></script>
-<script type="text/javascript" src="./js/security/security.js"></script>
-<script type="text/javascript" src="../component/thirdparty/fakeLoader/fakeLoader.min.js"></script>
-<script type="text/javascript" src="./js/core/hk.min.js" ></script>
-<script type="text/javascript" src="./js/tools.js"></script>
-<script type="text/javascript">
-var Sys = {};
-var ua = navigator.userAgent.toLowerCase();
-var s;
-(s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] :
-(s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] :
-(s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] :
-(s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] :
-(s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
-
-
-function judgeVersion(configVer,localVer){
- var configs= configVer.split(".");
- var locals= localVer.split(".");
- var length = 0;
- if(configs.length >= locals.length){
- length = locals.length;
- }else{
- length = configs.length;
- }
- for(var i = 0; i < length; i++){
- var tempConfig = parseInt(configs[i],10);
- var tempLocal = parseInt(locals[i],10);
- if(tempConfig > tempLocal){
- return true;
- }
- }
- return false;
-
-
-}
-
-function showPrompt(flag){
- if(flag == "chromeFrame"){
- document.getElementById("downloadChromeFrame").style.display="";
-
- $("#chromedown").attr("href","https://www.google.com/intl/"+getLanguage()+"/chrome/browser/");
- }
-}
-function hidetip(tipid) {
- var tip = $("#" + tipid);
- tip.hide();
- tip.attr("tipstatus", "close");
-}
-</script>
-</head>
-<body class="login"><div id="pageLoading" class="fakeloader" ></div>
- <script type="text/javascript">
- $("#pageLoading").fakeLoader({text:"",bgColor:"#1178ee",opacity:'1',spinner:"spinner2",zIndex:99999999});
- </script>
-<div class="logo">
- <a href="./default.html">
- <img id="com_zte_ums_ict_framework_img_login_logo" src="./img/integration/ztelogo.png" name_img="com_zte_ums_ict_framework_img" style="display:none" alt=""/>
- <img id="com_zte_ums_ict_framework_img_login_logo_white" src="./img/integration/zte_logo_white.png" name_img="com_zte_ums_ict_framework_img" style="display:none" alt=""/>
- </a>
-</div>
-<div class="content">
- <form class="login-form" method="post" id="fm1" action="./login">
- <h3 class="form-title"><span id="com_zte_ums_ict_portal_login_welcome" name_i18n="com_zte_ums_ict_framework_ui_i18n_login"></span> </h3>
- <div class="alert display-hide" id="nameOrpwdError" tipstatus="normal">
- <button class="close" data-close="alert" onclick="hidetip('nameOrpwdError');"></button>
- <div id="com_zte_ums_ict_portal_login_userPassword" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" style="display:inline"></div>
- </div>
- <div class="alert display-hide" id="loginConnError" tipstatus="normal">
- <button class="close" data-close="alert" onclick="hidetip('loginConnError');"></button>
- <div id="com_zte_ums_ict_portal_login_serv_error" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" style="display:inline"></div>
- </div>
- <div class="form-group">
- <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
- <label id="com_zte_ums_aos_portal_login_username" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" class="control-label visible-ie8 visible-ie9" i18n-html="com_zte_ums_aos_portal_login_username"></label>
- <div class="input-icon">
- <i class="fa fa-user"></i>
- <input class="form-control placeholder-no-fix" id="inputUserName" type="text" autocomplete="off" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" placeholder="" name="username"/>
- </div>
- </div>
- <div class="form-group">
- <label id="com_zte_ums_aos_portal_login_password" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" class="control-label visible-ie8 visible-ie9" i18n-html="com_zte_ums_aos_portal_login_password"></label>
- <div class="input-icon">
- <i class="fa fa-lock"></i>
- <input class="form-control placeholder-no-fix" id="inputPassword" type="password" autocomplete="off" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" placeholder="" name="password"/>
- </div>
- </div>
- <div class="form-actions">
- <label class="checkbox"><input type="checkbox" name="remember" value="1"><span id="com_zte_ums_ict_portal_login_rememberMe" name_i18n="com_zte_ums_ict_framework_ui_i18n_login">
- </span></label>
- <button type="submit" i18n-value="com_zte_ums_aos_portal_login_login" id="submitBtn" class="btn blue pull-right">
- <span id="com_zte_ums_aos_portal_login_login" name_i18n="com_zte_ums_ict_framework_ui_i18n_login">
- </span> <i class="m-icon-swapright m-icon-white"></i>
- </button>
- </div>
- </form>
-</div>
-<center>
-<div class="download" id="downloadChromeFrame" style="display:none">
- <p id="notice3" i18n-html="com_zte_ums_aos_portal_login_notice_about_chromeFrame"></p>
- <div id="chromeFrameUrl">
- <image class="browser_logo" src="./img/chrome_icon.png"/> <a href="https://www.google.com/intl/en_US/chrome/browser/" id="chromedown">Chrome</a> <image class="browser_logo" src="./img/firefox_icon.png"/> <a href="http://www.mozilla.org/" id="firefoxdown">Firefox</a> <br/>
- </div>
-</div>
-</center>
-<div class="copyright">
- <span id="com_zte_ums_ict_portal_login_companyName" name_i18n="com_zte_ums_ict_framework_ui_i18n_login">
- </span>.
-</div>
-
-<!--[if lt IE 9]>
- <script src="/ngict/iui/component/thirdparty/respond/respond.min.js"></script>
- <script src="/ngict/iui/component/thirdparty/excanvas/excanvas.min.js"></script>
- <![endif]-->
-<script src="../component/thirdparty/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
-<script src="../component/thirdparty/jquery-blockui/jquery.blockui.min.js" type="text/javascript"></script>
-<script src="../component/thirdparty/uniform/jquery.uniform.min.js" type="text/javascript"></script>
-<script src="../component/thirdparty/jquery-validation/js/jquery.validate.min.js" type="text/javascript"></script>
-<script src="../component/thirdparty/backstretch/jquery.backstretch.min.js" type="text/javascript"></script>
-<script src="./js/security/aes.js" type="text/javascript"></script>
-<script src="./js/security/framework-util.js" type="text/javascript"></script>
-<script src="./js/login.js" type="text/javascript"></script>
-<script src="../component/thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js" type="text/javascript"></script>
-<script src="./js/international/loadi18n-login.js" type="text/javascript"></script>
-<script type="text/javascript" src="./appRes/js/custom.js" ></script>
-<script>
- jQuery(document).ready(function() {
- var lang = getLanguage();
- //lang = "en-US";
- loadi18n_login(lang);
- $("#com_zte_ums_ict_framework_img_login_logo").css('display','inline');
- $("#com_zte_ums_ict_framework_img_login_logo_white").css('display','inline');
- Login.init();
-
- if(store("inputUserName")){
- $("#inputUserName").val(store("inputUserName"));
- }
-
- $("#pageLoading").setToHide();
- });
-</script>
-
-</html>
diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/menus/main_Fmegabar.html b/openoiui-standlone/src/main/assembly/webroot/framework/menus/main_Fmegabar.html deleted file mode 100644 index a7dd5610..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/menus/main_Fmegabar.html +++ /dev/null @@ -1,62 +0,0 @@ -<!--
-
- Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<li class="mega-menu-dropdown">
- <a href="/iui/umcdrill/monitorns.html" id="openo-nsoc" parentid="openo-nsoc" hparentid="openo-nsoc"
- order="20.0" class="iframe" shiftjs="" cachenum="openo-nsoc" breadcrumgroupbuttonsrc=""
- operation="" iframeautoscroll="auto" defaultdisplay="">
- <span id="org_openo_orchestrator_nsoc_service" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
-</li>
-<li class="mega-menu-dropdown">
- <a href="/iui/rocvim/vimView.html" id="openo-roc" parentid="openo-roc" hparentid="openo-roc"
- order="30.0" class="iframe" shiftjs="" cachenum="openo-roc" breadcrumgroupbuttonsrc=""
- operation="" iframeautoscroll="auto" defaultdisplay="">
- <span id="org_openo_orchestrator_roc_resource" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
-</li>
-<li class="mega-menu-dropdown">
- <a href="/iui/umcmonitor/monitorSettingList.html" id="openo-umc" parentid="openo-umc" hparentid="openo-umc"
- order="40.0" class="iframe" shiftjs="" cachenum="openo-umc" breadcrumgroupbuttonsrc=""
- operation="" iframeautoscroll="auto" defaultdisplay="">
- <span id="org_openo_orchestrator_umc_monitor" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
-</li>
-<script type="text/javascript" src="/iui/framework/hsif/openo-nsoc/i18n/loadi18n-openo-nsoc.js">
-</script>
-<script type="text/javascript" src="/iui/framework/hsif/openo-roc/i18n/loadi18n-openo-roc.js">
-</script>
-<script type="text/javascript" src="/iui/framework/hsif/openo-umc/i18n/loadi18n-openo-umc.js">
-</script>
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/menus/main_Fsiderbar.html b/openoiui-standlone/src/main/assembly/webroot/framework/menus/main_Fsiderbar.html deleted file mode 100644 index 3c22912a..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/menus/main_Fsiderbar.html +++ /dev/null @@ -1,297 +0,0 @@ -<!--
-
- Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<li>
- <a href="javascript:;" id="col-openo-umc-monitor-service" hparentid="openo-nsoc">
- <i class="fa fa-comments">
- </i>
- <span id="org_openo_orchestrator_umc_monitor_service" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
- <ul class="sub-menu">
- <li>
- <a class="iframe" id="openo-umc-monitor-service-overview" parentid="openo-nsoc" hparentid="col-openo-umc-monitor-service"
- order="10.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/umcdrill/monitorns.html">
- <i class="fa fa-comments">
- </i>
- <span id="org_openo_orchestrator_umc_monitor_service_overview" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- </ul>
-</li>
-<li>
- <a href="javascript:;" id="col-openo-nsoc-orchestrator" hparentid="openo-nsoc">
- <i class="fa fa-folder-open-o">
- </i>
- <span id="org_openo_orchestrator_nsoc_orchestrator" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
- <ul class="sub-menu">
- <li>
- <a class="iframe" id="openo-nsoc-model-design" parentid="openo-nsoc" hparentid="col-openo-nsoc-orchestrator"
- order="10.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/winery/servicetemplates">
- <i class="fa fa-folder-open-o">
- </i>
- <span id="org_openo_orchestrator_nsoc_model_design" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-nsoc-node-type" parentid="openo-nsoc" hparentid="col-openo-nsoc-orchestrator"
- order="20.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/winery/nodetypes">
- <i class="fa fa-folder-open-o">
- </i>
- <span id="org_openo_orchestrator_nsoc_node_type" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-nsoc-vnfd" parentid="openo-nsoc" hparentid="col-openo-nsoc-orchestrator"
- order="30.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/nsoc/csarPackage.html">
- <i class="fa fa-folder-open-o">
- </i>
- <span id="org_openo_orchestrator_nsoc_pkg" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-nsoc-template" parentid="openo-nsoc" hparentid="col-openo-nsoc-orchestrator"
- order="40.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/nsoc/template.html">
- <i class="fa fa-list-alt">
- </i>
- <span id="org_openo_orchestrator_nsoc_template" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-nsoc-hostimage" parentid="openo-nsoc" hparentid="col-openo-nsoc-orchestrator"
- order="50.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/nsoc/hostMirror.html">
- <i class="fa fa-list-alt">
- </i>
- <span id="org_openo_orchestrator_nsoc_hostimage" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-nsoc-vApp" parentid="openo-nsoc" hparentid="col-openo-nsoc-orchestrator"
- order="60.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/nsoc/virtualApplication.html">
- <i class="ict-VNF">
- </i>
- <span id="org_openo_orchestrator_nsoc_lifecycle" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- </ul>
-</li>
-<li>
- <a href="javascript:;" id="col-openo-roc-manageview" hparentid="openo-roc">
- <i class="fa fa-cube">
- </i>
- <span id="org_openo_orchestrator_roc_managementview" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
- <ul class="sub-menu">
- <li>
- <a class="iframe" id="openo-roc-vim" parentid="openo-roc" hparentid="col-openo-roc-manageview"
- order="10.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/rocvim/vimView.html">
- <i class="fa fa-cube">
- </i>
- <span id="org_openo_orchestrator_roc_vim" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-roc-vnfm" parentid="openo-roc" hparentid="col-openo-roc-manageview"
- order="20.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/nsoc/vnfmView.html">
- <i class="ict-VNFM">
- </i>
- <span id="org_openo_orchestrator_roc_vnfm" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-roc-sdn" parentid="openo-roc" hparentid="col-openo-roc-manageview"
- order="30.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/rocsdn/sdnView.html">
- <i class="fa fa-cube">
- </i>
- <span id="org_openo_orchestrator_roc_sdn" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- </ul>
-</li>
-<li>
- <a href="javascript:;" id="col-openo-roc-resourceview" hparentid="openo-roc">
- <i class="fa fa-cubes">
- </i>
- <span id="org_openo_orchestrator_roc_resourceview" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
- <ul class="sub-menu">
- <li>
- <a class="iframe" id="openo-roc-rs-view-overview" parentid="openo-roc" hparentid="col-openo-roc-resourceview"
- order="8.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/rocrsview/resView.html">
- <i class="fa fa-cubes">
- </i>
- <span id="org_openo_orchestrator_roc_overview" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- </ul>
-</li>
-<li>
- <a href="javascript:;" id="col-openo-umc-setting" hparentid="openo-umc">
- <i class="fa fa-puzzle-piece">
- </i>
- <span id="org_openo_orchestrator_umc_monitor_setting" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
- <ul class="sub-menu">
- <li>
- <a class="iframe" id="openo-umc-monitor-setting" parentid="openo-umc" hparentid="col-openo-umc-setting"
- order="10.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/umcmonitor/monitorSettingList.html">
- <i class="fa fa-puzzle-piece">
- </i>
- <span id="org_openo_orchestrator_umc_monitor_para_setting" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- </ul>
-</li>
-<li>
- <a href="javascript:;" id="col-openo-umc-topo" hparentid="openo-umc">
- <i class="fa fa-puzzle-piece">
- </i>
- <span id="org_openo_orchestrator_umc_topo" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
- <ul class="sub-menu">
- <li>
- <a class="iframe" id="openo-umc-physical-topo" parentid="openo-umc" hparentid="col-openo-umc-topo"
- order="10.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/umctopo/physicalTopology.html">
- <i class="fa fa-puzzle-piece">
- </i>
- <span id="org_openo_orchestrator_umc_physical_topo" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-umc-service-topo" parentid="openo-umc" hparentid="col-openo-umc-topo"
- order="10.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/umctopo/serviceTopology.html">
- <i class="fa fa-puzzle-piece">
- </i>
- <span id="org_openo_orchestrator_umc_service_topo" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- </ul>
-</li>
-<li>
- <a href="javascript:;" id="col-openo-umc-fm" hparentid="openo-umc">
- <i class="fa fa-comments">
- </i>
- <span id="org_openo_orchestrator_umc_fm" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
- <ul class="sub-menu">
- <li>
- <a class="iframe" id="openo-umc-monitor-alarm-currentAlarm" parentid="openo-umc" hparentid="col-openo-umc-fm"
- order="10.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/umcfm/html/fm_currentAlarm_view.html">
- <i class="fa fa-comments">
- </i>
- <span id="org_openo_orchestrator_umc_fm_currentAlarm" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- </ul>
-</li>
-<li>
- <a href="javascript:;" id="col-openo-umc-pm" hparentid="openo-umc">
- <i class="fa fa-coffee">
- </i>
- <span id="org_openo_orchestrator_umc_pm" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
- <ul class="sub-menu">
- <li>
- <a class="iframe" id="openo-umc-monitor-pm-historyQuery" parentid="openo-umc" hparentid="col-openo-umc-pm"
- order="10.0" horgroup="10.0" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/umcpm/html/meatask/meataskQueryView.html">
- <i class="fa fa-coffee">
- </i>
- <span id="org_openo_orchestrator_umc_pm_performance_query" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- </ul>
-</li>
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/menus/main_siderbar.html b/openoiui-standlone/src/main/assembly/webroot/framework/menus/main_siderbar.html deleted file mode 100644 index 517fe12a..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/menus/main_siderbar.html +++ /dev/null @@ -1,231 +0,0 @@ -<!--
-
- Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<li>
- <a href="javascript:;" id="eco-roc" parentid="eco-roc" order="30.0">
- <i class="fa fa-cloud">
- </i>
- <span id="com_zte_ums_eco_roc" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
- <ul class="sub-menu">
- <li>
- <a class="iframe" id="eco-roc-rs-view" parentid="eco-roc" hparentid="col-eco-roc-resourceview"
- order="8.0" horgroup="10" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/roc-resource/resView.html">
- <i class="fa fa-cubes">
- </i>
- <span id="com_zte_ums_eco_roc_overview" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="eco_roc_vimmgr" parentid="eco-roc" hparentid="col-roc-managementview"
- order="10.0" horgroup="10" cachenum="eco-roc-vim" shiftjs="" iframeautoscroll="auto"
- href="/iui/roc-vim/vimView.html" defaultdisplay="false" vimopencos-multiinsrc="/ngict/iui/framework/menus/more/vim/eco_opencos_menu_more.html"
- vimopenstack-multiinsrc="/ngict/iui/framework/menus/more/vim/eco_openstack_menu_more.html"
- breadcrumgroupbuttonsrc="/ngict/iui/framework/menus/more/vim/eco_opencos_menu_more.html">
- <i class="fa fa-cube">
- </i>
- <span id="com_zte_ums_eco_roc_vim" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- </ul>
-</li>
-<li>
- <a href="javascript:;" id="openo-nsoc" parentid="openo-nsoc" order="30.0">
- <i class="fa fa-bell">
- </i>
- <span id="org_openo_orchestrator_nsoc" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
- <ul class="sub-menu">
- <li>
- <a class="iframe" id="openo-nsoc-model-design" parentid="openo-nsoc" hparentid="col-openo-nsoc"
- order="10.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
- href="/winery/servicetemplates">
- <i class="fa fa-folder-open-o">
- </i>
- <span id="org_openo_orchestrator_nsoc_model_design" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-nsoc-vnfd" parentid="openo-nsoc" hparentid="col-openo-nsoc"
- order="10.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
- href="/iui/nsoc/package.html">
- <i class="fa fa-folder-open-o">
- </i>
- <span id="org_openo_orchestrator_nsoc_pkg" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-umc-monitor-service-overview" parentid="openo-nsoc"
- hparentid="col-openo-umc-monitor-service" order="10.0" horgroup="10" cachenum="openo-umc-monitor"
- shiftjs="" iframeautoscroll="auto" href="/iui/umc-monitor/monitorns.html">
- <i class="fa fa-comments">
- </i>
- <span id="org_openo_orchestrator_umc_monitor_service_overview" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="eco-roc-vnfm" parentid="openo-nsoc" hparentid="col-roc-managementview"
- order="20.0" horgroup="10" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/nsoc/vnfmView.html">
- <i class="ict-VNFM">
- </i>
- <span id="org_openo_orchestrator_roc_vnfm" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-nsoc-template" parentid="openo-nsoc" hparentid="col-openo-nsoc"
- order="20.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
- href="/iui/nsoc/template.html">
- <i class="fa fa-list-alt">
- </i>
- <span id="org_openo_orchestrator_nsoc_template" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li hidden="">
- <a class="iframe" id="openo-nsoc-templateDetail" parentid="openo-nsoc"
- hparentid="col-openo-nsoc" order="30.0" horgroup="10" cachenum="openo-nsoc"
- shiftjs="" iframeautoscroll="auto" href="/iui/nsoc/templateDetail.html">
- <i class="fa fa-sitemap">
- </i>
- <span id="org_openo_orchestrator_nsoc_templateDetail" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-nsoc-vApp" parentid="openo-nsoc" hparentid="col-openo-nsoc"
- order="50.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
- href="/iui/nsoc/virtualApplication.html">
- <i class="ict-VNF">
- </i>
- <span id="org_openo_orchestrator_nsoc_lifecycle" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li hidden="">
- <a class="iframe" id="openo-nsoc-nodesApp" parentid="openo-nsoc" hparentid="col-openo-nsoc"
- order="100.0" horgroup="10" cachenum="" shiftjs="" iframeautoscroll="auto"
- href="/iui/nsoc/virtualApplicationDetail.html">
- <i class="fa fa-sitemap">
- </i>
- <span id="org_openo_orchestrator_nsoc_nodesApp" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- </ul>
-</li>
-<li class="mega-menu-dropdown">
- <a href="#" id="openo-umc-monitor" parentid="openo-umc-monitor" hparentid="openo-umc-monitor"
- order="40.0" defaultchildmenuid="openo-umc-monitor-itmp" data-hover="dropdown"
- data-toggle="dropdown" data-close-others="true" class="dropdown-toggle">
- <i class="fa fa-bar-chart-o">
- </i>
- <span id="org_openo_orchestrator_umc_monitor" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- <i class="fa fa-angle-down">
- </i>
- </a>
- <ul class="sub-menu">
- <li>
- <a class="iframe" id="openo-umc-monitor-alarm-currentAlarm" parentid="openo-umc-monitor"
- hparentid="col-openo-umc-monitor-alarm" order="10.0" horgroup="10" cachenum="openo-umc-monitor-alarm"
- shiftjs="openFmPage('1');" href="/web/res/web-fm/index.html?action=1" operation="common.fm.currentview">
- <i class="fa fa-comments">
- </i>
- <span id="org_openo_orchestrator_umc_monitor_alarm_currentAlarm" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-umc-monitor-itmp" parentid="openo-umc-monitor"
- hparentid="col-openo-umc-monitor-access" order="10.0" horgroup="10" cachenum="openo-umc-monitor"
- shiftjs="openItConfPage('configuration');" href="/web/res/web-conf/index.html?action=configuration"
- operation="it.devGet">
- <i class="fa fa-puzzle-piece">
- </i>
- <span id="org_openo_orchestrator_umc_monitor_access_itmp" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- <li>
- <a class="iframe" id="openo-umc-monitor-pm-historyQuery" parentid="openo-umc-monitor"
- hparentid="col-openo-umc-monitor-pm" order="10.0" horgroup="10" cachenum="openo-umc-monitor-pm"
- shiftjs="openAosPmPage('queryData');" href="/web/res/web-pm/index.html?action=queryData"
- operation="uca.pm.querydata">
- <i class="fa fa-coffee">
- </i>
- <span id="org_openo_orchestrator_umc_monitor_perform_historySearch" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- </ul>
-</li>
-<li>
- <a href="javascript:;" id="ngict-system" parentid="ngict-system" order="100.0">
- <i class="fa fa-cogs">
- </i>
- <span id="com_zte_ums_ict_framework_ui_sidebar_system" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- </a>
- <ul class="sub-menu">
- <li>
- <a class="iframe" id="ngict-license" parentid="ngict-system" hparentid="col-ngict-system"
- order="200.0" cachenum="system" href="/web/res/web-license/index.html"
- operation="adminrole.operation">
- <i class="fa fa-tags">
- </i>
- <span id="com_zte_ums_ict_framework_ui_sidebar_license" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
- </a>
- </li>
- </ul>
-</li>
-<script type="text/javascript" src="/iui/framework/hsif/openo-nsoc/i18n/loadi18n-openo-nsoc.js">
-</script>
-<script type="text/javascript" src="/iui/framework/hsif/openo-roc/i18n/loadi18n-openo-roc.js">
-</script>
-<script type="text/javascript" src="/iui/framework/hsif/openo-umc/i18n/loadi18n-openo-umc.js">
-</script>
\ No newline at end of file diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/menus/readme.txt b/openoiui-standlone/src/main/assembly/webroot/framework/menus/readme.txt deleted file mode 100644 index ac089ae8..00000000 --- a/openoiui-standlone/src/main/assembly/webroot/framework/menus/readme.txt +++ /dev/null @@ -1,17 +0,0 @@ -====
- Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-====
-
-本目录放置菜单。
\ No newline at end of file |