Mercurial > repos > proteore > proteore_venn_diagram
annotate jvenn_template.html @ 1:760470ddb9ca draft
planemo upload commit 5774fd6a5a746f36f6bf4671a51a39ea2b978300-dirty
author | proteore |
---|---|
date | Fri, 16 Feb 2018 03:37:16 -0500 |
parents | 9d4f20618ab4 |
children | 6d0ecc59728f |
rev | line source |
---|---|
0
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
1 <!DOCTYPE html> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
2 <!-- |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
3 # Copyright (C) 2015 INRA |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
4 # |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
5 # This program is free software: you can redistribute it and/or modify |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
6 # it under the terms of the GNU General Public License as published by |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
7 # the Free Software Foundation, either version 3 of the License, or |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
8 # (at your option) any later version. |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
9 # |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
10 # This program is distributed in the hope that it will be useful, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
13 # GNU General Public License for more details. |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
14 # |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
15 # You should have received a copy of the GNU General Public License |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
16 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
17 --> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
18 <html> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
19 <head> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
20 <title>Jvenn+</title> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
21 <meta charset="UTF-8"> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
22 <meta name="version" content="2.0.1"> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
23 <link rel="stylesheet" href="https://cdn.datatables.net/1.10.6/css/jquery.dataTables.css"></link> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
24 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"></link> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
25 <style type="text/css"> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
26 #js-alert { |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
27 width: 90%; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
28 margin-right: auto; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
29 margin-left: auto; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
30 } |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
31 #content { |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
32 width: 90%; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
33 margin-right: auto; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
34 margin-left: auto; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
35 } |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
36 .clear { |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
37 clear: both; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
38 height: 0px; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
39 width: 100%; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
40 float: none !important; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
41 } |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
42 ul.nav-tabs { |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
43 margin-bottom: 30px; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
44 } |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
45 #venn-filters { |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
46 padding: 10px; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
47 background-color: #FFF; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
48 background-clip: padding-box; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
49 border: 1px solid rgba(0, 0, 0, 0.15); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
50 border-radius: 4px; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
51 box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
52 margin-right: auto; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
53 margin-left: auto; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
54 margin-bottom: 30px; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
55 } |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
56 #byFilters-jvenn { |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
57 margin-right: auto; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
58 margin-left: auto; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
59 } |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
60 #venn-filters ul { |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
61 list-style-type: none; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
62 } |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
63 </style> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
64 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
65 <script type="text/javascript" src="http://code.jquery.com/jquery-2.1.3.min.js"></script> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
66 <script type="text/javascript" src="http://code.highcharts.com/4.1.4/highcharts.js"></script> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
67 <script type="text/javascript" src="http://code.highcharts.com/4.1.4/modules/exporting.js"></script> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
68 <script type="text/javascript" src="https://cdn.datatables.net/1.10.6/js/jquery.dataTables.min.js"></script> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
69 <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
70 <script type="text/javascript"> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
71 /*************************************************************** |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
72 * Copyright notice |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
73 * |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
74 * (c) 2014 PF bioinformatique de Toulouse |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
75 * All rights reserved |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
76 * |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
77 * |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
78 * This script is an adaptation of the venny script developed by |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
79 * Juan Carlos Oliveros, BioinfoGP, CNB-CSIC: |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
80 * Oliveros, J.C. (2007) VENNY. An interactive tool for comparing |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
81 * lists with Venn Diagrams. |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
82 * http://bioinfogp.cnb.csic.es/tools/venny/index.html. |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
83 * It is distributed under the terms of the GNU General Public |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
84 * License as published by the Free Software Foundation; either |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
85 * version 2 of the License, or (at your option) any later version. |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
86 * |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
87 * The GNU General Public License can be found at |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
88 * http://www.gnu.org/copyleft/gpl.html. |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
89 * |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
90 * This script is distributed in the hope that it will be useful, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
91 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
92 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
93 * GNU General Public License for more details. |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
94 * |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
95 * This copyright notice MUST APPEAR in all copies of the script! |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
96 ***************************************************************/ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
97 !function(){"use strict";function s(s,t){var e,l=Object.keys(t);for(e=0;e<l.length;e++)s=s.replace(new RegExp("\\{"+l[e]+"\\}","gi"),t[l[e]]);return s}function t(s){var t,e,l;if(!s)throw new Error("cannot create a random attribute name for an undefined object");t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",e="";do for(e="",l=0;12>l;l++)e+=t[Math.floor(Math.random()*t.length)];while(s[e]);return e}function e(s,t){var e,l,r,o={};for(s=s.split(","),t=t||10,e=0;e<s.length;e+=2)l="&"+s[e+1]+";",r=parseInt(s[e],t),o[l]="&#"+r+";";return o["\\xa0"]=" ",o}function l(s){var t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[s]||t.start}function r(s){var t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[s]||t.alphabetic}var o,c,i,a,u;u=e("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32),o={strokeStyle:{svgAttr:"stroke",canvas:"#000000",svg:"none",apply:"stroke"},fillStyle:{svgAttr:"fill",canvas:"#000000",svg:null,apply:"fill"},lineCap:{svgAttr:"stroke-linecap",canvas:"butt",svg:"butt",apply:"stroke"},lineJoin:{svgAttr:"stroke-linejoin",canvas:"miter",svg:"miter",apply:"stroke"},miterLimit:{svgAttr:"stroke-miterlimit",canvas:10,svg:4,apply:"stroke"},lineWidth:{svgAttr:"stroke-width",canvas:1,svg:1,apply:"stroke"},globalAlpha:{svgAttr:"opacity",canvas:1,svg:1,apply:"fill stroke"},font:{canvas:"10px sans-serif"},shadowColor:{canvas:"#000000"},shadowOffsetX:{canvas:0},shadowOffsetY:{canvas:0},shadowBlur:{canvas:0},textAlign:{canvas:"start"},textBaseline:{canvas:"alphabetic"}},i=function(s){this.__root=s},i.prototype.addColorStop=function(t,e){var l,r,o=document.createElementNS("http://www.w3.org/2000/svg","stop");o.setAttribute("offset",t),-1!==e.indexOf("rgba")?(l=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi,r=l.exec(e),o.setAttribute("stop-color",s("rgb({r},{g},{b})",{r:r[1],g:r[2],b:r[3]})),o.setAttribute("stop-opacity",r[4])):o.setAttribute("stop-color",e),this.__root.appendChild(o)},a=function(s,t){this.__root=s,this.__ctx=t},c=function(s){var t,e={width:500,height:500,enableMirroring:!1};return arguments.length>1?(t=e,t.width=arguments[0],t.height=arguments[1]):t=s?s:e,this instanceof c?(this.width=t.width||e.width,this.height=t.height||e.height,this.enableMirroring=void 0!==t.enableMirroring?t.enableMirroring:e.enableMirroring,this.canvas=this,this.__canvas=document.createElement("canvas"),this.__ctx=this.__canvas.getContext("2d"),this.__setDefaultStyles(),this.__stack=[this.__getStyleState()],this.__groupStack=[],this.__root=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.__root.setAttribute("version",1.1),this.__root.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.__root.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),this.__root.setAttribute("width",this.width),this.__root.setAttribute("height",this.height),this.__ids={},this.__defs=document.createElementNS("http://www.w3.org/2000/svg","defs"),this.__root.appendChild(this.__defs),this.__currentElement=document.createElementNS("http://www.w3.org/2000/svg","g"),void this.__root.appendChild(this.__currentElement)):new c(t)},c.prototype.__createElement=function(s,t,e){var l,r,o=document.createElementNS("http://www.w3.org/2000/svg",s),c=Object.keys(t);for(e&&(o.setAttribute("fill","none"),o.setAttribute("stroke","none")),l=0;l<c.length;l++)r=c[l],o.setAttribute(r,t[r]);return o},c.prototype.__setDefaultStyles=function(){var s,t,e=Object.keys(o);for(s=0;s<e.length;s++)t=e[s],this[t]=o[t].canvas},c.prototype.__applyStyleState=function(s){var t,e,l=Object.keys(s);for(t=0;t<l.length;t++)e=l[t],this[e]=s[e]},c.prototype.__getStyleState=function(){var s,t,e={},l=Object.keys(o);for(s=0;s<l.length;s++)t=l[s],e[t]=this[t];return e},c.prototype.__applyStyleToCurrentElement=function(t){var e,l,r,c,u,p,n=Object.keys(o);for(e=0;e<n.length;e++)if(l=o[n[e]],r=this[n[e]],l.apply)if(-1!==l.apply.indexOf("fill")&&r instanceof a){if(r.__ctx)for(;r.__ctx.__defs.childNodes.length;)c=r.__ctx.__defs.childNodes[0].getAttribute("id"),this.__ids[c]=c,this.__defs.appendChild(r.__ctx.__defs.childNodes[0]);this.__currentElement.setAttribute("fill",s("url(#{id})",{id:r.__root.getAttribute("id")}))}else-1!==l.apply.indexOf("fill")&&r instanceof i?this.__currentElement.setAttribute("fill",s("url(#{id})",{id:r.__root.getAttribute("id")})):-1!==l.apply.indexOf(t)&&l.svg!==r&&("stroke"!==l.svgAttr&&"fill"!==l.svgAttr||-1===r.indexOf("rgba")?this.__currentElement.setAttribute(l.svgAttr,r):(u=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi,p=u.exec(r),this.__currentElement.setAttribute(l.svgAttr,s("rgb({r},{g},{b})",{r:p[1],g:p[2],b:p[3]})),this.__currentElement.setAttribute(l.svgAttr+"-opacity",p[4])))},c.prototype.__closestGroupOrSvg=function(s){return s=s||this.__currentElement,"g"===s.nodeName||"svg"===s.nodeName?s:this.__closestGroupOrSvg(s.parentNode)},c.prototype.getSerializedSvg=function(s){var t,e,l,r,o,c,i=(new XMLSerializer).serializeToString(this.__root);if(c=/xmlns="http:\/\/www\.w3\.org\/2000\/svg".+xmlns="http:\/\/www\.w3\.org\/2000\/svg/gi,c.test(i)&&(i=i.replace('xmlns="http://www.w3.org/2000/svg','xmlns:xlink="http://www.w3.org/1999/xlink')),s)for(t=Object.keys(u),e=0;e<t.length;e++)l=t[e],r=u[l],o=new RegExp(l,"gi"),o.test(i)&&(i=i.replace(o,r));return i},c.prototype.getSvg=function(){return this.__root},c.prototype.save=function(){var s=document.createElementNS("http://www.w3.org/2000/svg","g"),t=this.__closestGroupOrSvg();this.__groupStack.push(t),t.appendChild(s),this.__currentElement=s,this.__stack.push(this.__getStyleState())},c.prototype.restore=function(){this.__currentElement=this.__groupStack.pop();var s=this.__stack.pop();this.__applyStyleState(s)},c.prototype.__addTransform=function(s){var t=this.__currentElement.getAttribute("transform");t?t+=" ":t="",t+=s,this.__currentElement.setAttribute("transform",t)},c.prototype.scale=function(t,e){void 0===e&&(e=t),this.__addTransform(s("scale({x},{y})",{x:t,y:e}))},c.prototype.rotate=function(t){var e=180*t/Math.PI;this.__addTransform(s("rotate({angle},{cx},{cy})",{angle:e,cx:0,cy:0}))},c.prototype.translate=function(t,e){this.__addTransform(s("translate({x},{y})",{x:t,y:e}))},c.prototype.transform=function(t,e,l,r,o,c){this.__addTransform(s("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:e,c:l,d:r,e:o,f:c}))},c.prototype.beginPath=function(){var s,t;s=this.__createElement("path",{},!0),t=this.__closestGroupOrSvg(),t.appendChild(s),this.__currentElement=s},c.prototype.__addPathCommand=function(s){if("path"!==this.__currentElement.nodeName)throw new Error("Attempted to add path command to node "+this.__currentElement.nodeName);var t=this.__currentElement.getAttribute("d");t?t+=" ":t="",t+=s,this.__currentElement.setAttribute("d",t)},c.prototype.moveTo=function(t,e){"path"!==this.__currentElement.nodeName&&this.beginPath(),this.__addPathCommand(s("M {x} {y}",{x:t,y:e}))},c.prototype.closePath=function(){this.__addPathCommand("Z")},c.prototype.lineTo=function(t,e){this.__addPathCommand(s("L {x} {y}",{x:t,y:e}))},c.prototype.bezierCurveTo=function(t,e,l,r,o,c){this.__addPathCommand(s("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:e,cp2x:l,cp2y:r,x:o,y:c}))},c.prototype.quadraticCurveTo=function(t,e,l,r){this.__addPathCommand(s("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:e,x:l,y:r}))},c.prototype.stroke=function(){this.__applyStyleToCurrentElement("stroke")},c.prototype.fill=function(){this.__applyStyleToCurrentElement("fill")},c.prototype.rect=function(s,t,e,l){"path"!==this.__currentElement.nodeName&&this.beginPath(),this.moveTo(s,t),this.lineTo(s+e,t),this.lineTo(s+e,t+l),this.lineTo(s,t+l),this.lineTo(s,t),this.closePath()},c.prototype.fillRect=function(s,t,e,l){var r,o;r=this.__createElement("rect",{x:s,y:t,width:e,height:l},!0),o=this.__closestGroupOrSvg(),o.appendChild(r),this.__currentElement=r,this.__applyStyleToCurrentElement("fill")},c.prototype.strokeRect=function(s,t,e,l){var r,o;r=this.__createElement("rect",{x:s,y:t,width:e,height:l},!0),o=this.__closestGroupOrSvg(),o.appendChild(r),this.__currentElement=r,this.__applyStyleToCurrentElement("stroke")},c.prototype.clearRect=function(s,t,e,l){var r,o=this.__closestGroupOrSvg();r=this.__createElement("rect",{x:s,y:t,width:e,height:l,fill:"#FFFFFF"},!0),o.appendChild(r)},c.prototype.createLinearGradient=function(s,e,l,r){var o=this.__createElement("linearGradient",{id:t(this.__ids),x1:s+"px",x2:l+"px",y1:e+"px",y2:r+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__defs.appendChild(o),new i(o)},c.prototype.createRadialGradient=function(s,e,l,r,o,c){var a=this.__createElement("radialGradient",{id:t(this.__ids),cx:r+"px",cy:o+"px",r:c+"px",fx:s+"px",fy:e+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__defs.appendChild(a),new i(a)},c.prototype.__parseFont=function(){var s,t,e=this.font,l=0,r={style:"normal",size:"10px",family:"sans-serif",weight:"normal",decoration:"none",href:null};for("underline"===this.__fontUnderline&&(r.decoration="underline"),this.__fontHref&&(r.href=this.__fontHref),s=e.split(" "),t=s[l];/italic|bold|normal/.test(t);)"bold"===t?r.weight=t:r.style=t,l++,t=s[l];return/em|px|pt|%/.test(t)&&(r.size=t,l++),s.splice(0,l),r.family=s.join(" "),r},c.prototype.__wrapTextLink=function(s,t){if(s.href){var e=document.createElementNS("http://www.w3.org/2000/svg","a");return e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s.href),e.appendChild(t),e}return t},c.prototype.__applyText=function(s,t,e,o){var c=this.__parseFont(),i=this.__closestGroupOrSvg(),a=this.__createElement("text",{"font-family":c.family,"font-size":c.size,"font-style":c.style,"font-weight":c.weight,"text-decoration":c.decoration,x:t,y:e,"text-anchor":l(this.textAlign),"dominant-baseline":r(this.textBaseline)},!0);a.appendChild(document.createTextNode(s)),this.__currentElement=a,this.__applyStyleToCurrentElement(o),i.appendChild(this.__wrapTextLink(c,a))},c.prototype.fillText=function(s,t,e){this.__applyText(s,t,e,"fill")},c.prototype.strokeText=function(s,t,e){this.__applyText(s,t,e,"stroke")},c.prototype.measureText=function(s){return this.__ctx.font=this.font,this.__ctx.measureText(s)},c.prototype.arc=function(t,e,l,r,o,c){r%=2*Math.PI,o%=2*Math.PI,r===o&&(o=(o+2*Math.PI-.001*(c?-1:1))%(2*Math.PI));var i=t+l*Math.cos(o),a=e+l*Math.sin(o),u=t+l*Math.cos(r),p=e+l*Math.sin(r),n=c?0:1,C=0,f=o-r;0>f&&(f+=2*Math.PI),C=c?f>Math.PI?0:1:f>Math.PI?1:0,this.moveTo(u,p),this.__addPathCommand(s("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:l,ry:l,xAxisRotation:0,largeArcFlag:C,sweepFlag:n,endX:i,endY:a}))},c.prototype.clip=function(){var e=this.__closestGroupOrSvg(),l=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),r=t(this.__ids),o=document.createElementNS("http://www.w3.org/2000/svg","g");e.removeChild(this.__currentElement),l.setAttribute("id",r),l.appendChild(this.__currentElement),this.__defs.appendChild(l),e.setAttribute("clip-path",s("url(#{id})",{id:r})),e.appendChild(o),this.__currentElement=o},c.prototype.drawImage=function(){var s,t,e,l,r,o,i,a,u,p,n,C,f,h,d,b=Array.prototype.slice.call(arguments),v=b[0],m=0,g=0;if(3===b.length)s=b[1],t=b[2],r=v.width,o=v.height,e=r,l=o;else if(5===b.length)s=b[1],t=b[2],e=b[3],l=b[4],r=v.width,o=v.height;else{if(9!==b.length)throw new Error("Inavlid number of arguments passed to drawImage: "+arguments.length);m=b[1],g=b[2],r=b[3],o=b[4],s=b[5],t=b[6],e=b[7],l=b[8]}if(i=this.__closestGroupOrSvg(),n=this.__currentElement,v instanceof c){for(a=v.getSvg(),u=a.childNodes[0];u.childNodes.length;)d=u.childNodes[0].getAttribute("id"),this.__ids[d]=d,this.__defs.appendChild(u.childNodes[0]);p=a.childNodes[1],i.appendChild(p),this.__currentElement=p,this.translate(s,t),this.__currentElement=n}else("CANVAS"===v.nodeName||"IMG"===v.nodeName)&&(C=document.createElementNS("http://www.w3.org/2000/svg","image"),C.setAttribute("width",e),C.setAttribute("height",l),C.setAttribute("preserveAspectRatio","none"),(m||g||r!==v.width||o!==v.height)&&(f=document.createElement("canvas"),f.width=e,f.height=l,h=f.getContext("2d"),h.drawImage(v,m,g,r,o,0,0,e,l),v=f),C.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","CANVAS"===v.nodeName?v.toDataURL():v.getAttribute("src")),i.appendChild(C),this.__currentElement=C,this.translate(s,t),this.__currentElement=n)},c.prototype.createPattern=function(s){var e,l=document.createElementNS("http://www.w3.org/2000/svg","pattern"),r=t(this.__ids);return l.setAttribute("id",r),l.setAttribute("width",s.width),l.setAttribute("height",s.height),"CANVAS"===s.nodeName||"IMG"===s.nodeName?(e=document.createElementNS("http://www.w3.org/2000/svg","image"),e.setAttribute("width",s.width),e.setAttribute("height",s.height),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","CANVAS"===s.nodeName?s.toDataURL():s.getAttribute("src")),l.appendChild(e),this.__defs.appendChild(l)):s instanceof c&&(l.appendChild(s.__root.childNodes[1]),this.__defs.appendChild(l)),new a(l,this)},c.prototype.drawFocusRing=function(){},c.prototype.createImageData=function(){},c.prototype.getImageData=function(){},c.prototype.putImageData=function(){},c.prototype.globalCompositeOperation=function(){},c.prototype.arcTo=function(){},c.prototype.setTransform=function(){},window.C2S=c}(),function(s){s.fn.jvenn=function(e){function l(s,t,e,l,r,o,c){j.beginPath(),j.save(),j.translate(s,t),j.rotate(o*Math.PI/180),j.scale(l,r),j.arc(0,0,e,0,2*Math.PI),j.fillStyle=c,j.fill(),j.restore()}function r(s,t,e,l,r,o,c){j.beginPath(),j.save(),j.moveTo(s,t),j.lineTo(e,l),j.lineTo(r,o),j.fillStyle=c,j.fill(),j.restore()}function o(s,t,e,l,r){j.lineWidth=1,j.beginPath(),j.moveTo(s,t),j.lineTo(e,l),j.strokeStyle=r,j.stroke()}function c(s,t,e,l,r,o,c){j.beginPath(),j.save(),j.translate(s,t),j.rotate(o*Math.PI/180),j.scale(l,r),j.arc(0,0,e,0,2*Math.PI),j.lineWidth=3,j.strokeStyle=c,d(c)>=.6&&(j.fillStyle=h(c,.1),j.fill()),j.stroke(),j.restore()}function a(s){var t=!1;j.strokeStyle=s,j.lineWidth=3,j.beginPath(),j.arc(120,205,90,.25*Math.PI,1.75*Math.PI,t),j.stroke(),j.beginPath(),j.arc(370,205,90,1.25*Math.PI,.75*Math.PI,t),j.stroke(),j.beginPath(),j.arc(245,360,110,1.3*Math.PI,1.7*Math.PI,t),j.stroke(),j.beginPath(),j.arc(245,50,110,.3*Math.PI,.7*Math.PI,t),j.stroke(),d(s)>=.6&&(j.save(),j.beginPath(),j.moveTo(0,0),j.lineTo(500,0),j.lineTo(500,415),j.lineTo(0,415),j.closePath(),j.clip(),j.strokeStyle="rgba(0,0,0,0)",j.lineCap="butt",j.lineJoin="miter",j.miterLimit=4,j.save(),j.restore(),j.save(),j.restore(),j.save(),j.translate(-11,-633),j.save(),j.strokeStyle="rgba(0,0,0,0)",j.translate(0,636),j.beginPath(),j.moveTo(116.68996,288.55847),j.bezierCurveTo(114.18984,288.06339,109.64415,287.21717,106.58843999999999,286.67797),j.bezierCurveTo(91.905866,284.08711,74.873379,272.58587,62.202665,256.70632),j.bezierCurveTo(50.11906,241.56257,44.228048,226.01748,43.257799,206.71498),j.bezierCurveTo(41.560634,172.95091,57.502272,144.04252,87.68464900000001,126.1518),j.bezierCurveTo(113.85468,110.63942,151.67555000000002,111.15554999999999,176.27348,127.36075),j.bezierCurveTo(180.25579000000002,129.9843,185.18402,133.59167,187.22511,135.37712),j.bezierCurveTo(194.61144,141.83832999999998,205.94366,148.05088999999998,218.69964,152.63209999999998),j.bezierCurveTo(245.95179,162.41950999999997,276.56952,161.09978999999998,302.53531,149.01852999999997),j.bezierCurveTo(312.66749999999996,144.30425999999997,319.21466,140.23029999999997,324.17127999999997,135.55560999999997),j.bezierCurveTo(333.89739,126.38270999999997,351.79472999999996,118.14201999999997,367.20779999999996,115.73977999999997),j.bezierCurveTo(378.37728999999996,113.99892999999997,395.02293999999995,115.10837999999997,406.09866999999997,118.33190999999997),j.bezierCurveTo(427.39104999999995,124.52893999999996,447.81205,140.89770999999996,458.49307999999996,160.32946999999996),j.bezierCurveTo(466.21541999999994,174.37854999999996,468.14135,182.79986999999997,468.18706999999995,202.71742999999995),j.bezierCurveTo(468.21646999999996,215.53506999999996,467.84246999999993,219.76843999999994,466.13687999999996,225.92328999999995),j.bezierCurveTo(460.34646999999995,246.81870999999995,443.97394999999995,267.47014999999993,423.77633999999995,279.35468999999995),j.bezierCurveTo(411.54527999999993,286.55159999999995,399.98404999999997,289.09283999999997,379.83469999999994,289.01338999999996),j.bezierCurveTo(354.90229999999997,288.91508999999996,338.08241999999996,282.66270999999995,322.01485999999994,267.52031999999997),j.bezierCurveTo(312.0940299999999,258.17073,292.45028999999994,249.89035999999996,272.32759999999996,246.57576999999998),j.bezierCurveTo(254.94397999999995,243.71236999999996,234.25916999999995,245.61216,218.58554999999996,251.51169),j.bezierCurveTo(206.28085999999996,256.14317,191.57338999999996,264.45267,188.72360999999995,268.38324),j.bezierCurveTo(186.89117999999996,270.91063,172.96095999999994,280.26608,166.96462999999994,282.99643),j.bezierCurveTo(164.03704999999994,284.32946999999996,158.23248999999996,286.16623,154.06560999999994,287.07811999999996),j.bezierCurveTo(145.28290999999993,289.00015999999994,123.31454999999994,289.87026999999995,116.68995999999993,288.55846999999994),j.lineTo(116.68995999999993,288.55846999999994),j.closePath(),j.fillStyle=h(s,.1),j.fill(),j.stroke(),j.restore(),j.restore(),j.restore())}function u(s){var t=!1;j.strokeStyle=s,j.lineWidth=3,j.beginPath(),j.arc(145,205,40,.35*Math.PI,1.65*Math.PI,t),j.stroke(),j.beginPath(),j.arc(345,205,40,1.35*Math.PI,.65*Math.PI,t),j.stroke(),j.beginPath(),j.arc(245,100,40,.8*Math.PI,2.2*Math.PI,t),j.stroke(),j.beginPath(),j.arc(245,310,40,1.82*Math.PI,1.18*Math.PI,t),j.stroke(),j.beginPath(),j.arc(182,140,35,1.84*Math.PI,.7*Math.PI,t),j.stroke(),j.beginPath(),j.arc(308,140,35,.3*Math.PI,1.18*Math.PI,t),j.stroke(),j.beginPath(),j.arc(182,270,35,1.3*Math.PI,.2*Math.PI,t),j.stroke(),j.beginPath(),j.arc(308,270,35,.8*Math.PI,1.7*Math.PI,t),j.stroke(),d(s)>=.6&&(j.save(),j.beginPath(),j.moveTo(0,0),j.lineTo(500,0),j.lineTo(500,415),j.lineTo(0,415),j.closePath(),j.clip(),j.strokeStyle="rgba(0,0,0,0)",j.lineCap="butt",j.lineJoin="miter",j.miterLimit=4,j.save(),j.restore(),j.save(),j.restore(),j.save(),j.translate(-140,-212),j.save(),j.strokeStyle="rgba(0,0,0,0)",j.translate(139,217),j.beginPath(),j.moveTo(234.95394,341.16933),j.bezierCurveTo(231.80731999999998,340.135,227.61570999999998,338.28931,225.63925999999998,337.0678),j.bezierCurveTo(221.28248999999997,334.37516999999997,214.37806999999998,326.70736999999997,211.83772,321.74032),j.bezierCurveTo(207.9414,314.12196,208.45042999999998,293.37118,212.67719,287.51943),j.bezierCurveTo(215.87649,283.09018,218.95801,274.65101,219.59244,268.58113),j.bezierCurveTo(220.45250000000001,260.35249,218.0029,251.63114999999996,212.48275,243.26837999999998),j.bezierCurveTo(206.02273000000002,233.48175999999998,198.89664000000002,229.43794999999997,185.95006,228.21201),j.bezierCurveTo(178.17816000000002,227.47606,172.06373000000002,228.9391,162.89332000000002,233.72894),j.bezierCurveTo(156.28128,237.18251999999998,155.23208000000002,237.42228,146.73088,237.42244),j.bezierCurveTo(135.51808000000003,237.42266,128.41302000000002,234.90269,121.10778000000002,228.33465999999999),j.bezierCurveTo(114.30638000000002,222.21962,111.33466000000001,216.76216,109.78745000000002,207.54525999999998),j.bezierCurveTo(108.21951000000003,198.20489999999998,109.69855000000003,187.35654,113.42449000000002,180.86914),j.bezierCurveTo(116.70310000000002,175.16054,123.50535000000002,169.17129,130.61112000000003,165.73660999999998),j.bezierCurveTo(135.84135000000003,163.2085,137.81975000000003,162.82216,145.72073000000003,162.78605),j.bezierCurveTo(154.43018000000004,162.74624999999997,155.21524000000002,162.9348,164.40855000000002,167.27446999999998),j.bezierCurveTo(173.55745000000002,171.59319999999997,174.43144,171.80518999999998,183.14876,171.82016),j.bezierCurveTo(191.71748000000002,171.83496,192.78155,171.59418,200.06856000000002,167.99274),j.bezierCurveTo(206.71571000000003,164.70754,208.40559000000002,163.31437,211.70876,158.39629),j.bezierCurveTo(216.86766,150.71523,219.00004,144.97677,219.64970000000002,137.02646),j.bezierCurveTo(220.25703000000001,129.59413999999998,217.81806000000003,120.60798999999999,213.36866000000003,113.88449999999999),j.bezierCurveTo(208.31047000000004,106.24103999999998,207.60430000000002,86.789031,212.06743000000003,78.04059099999999),j.bezierCurveTo(215.36468000000002,71.57742099999999,222.48250000000002,64.79066099999999,229.83172000000002,61.10251999999999),j.bezierCurveTo(236.05208000000002,57.98088699999999,237.41276000000002,57.68862899999999,245.72583000000003,57.68862899999999),j.bezierCurveTo(253.41441000000003,57.68862899999999,255.67446000000004,58.09343499999999,260.37304,60.31215099999999),j.bezierCurveTo(277.08479,68.203604,286.51407,86.23497699999999,282.57463,102.76767),j.bezierCurveTo(281.86319000000003,105.75339,279.29147,112.06009,276.85971,116.78255),j.bezierCurveTo(273.65874,122.99881,272.27383000000003,127.0461,271.84239,131.44528),j.bezierCurveTo(270.33639000000005,146.80139,279.61874,162.9296,293.20300000000003,168.5596),j.bezierCurveTo(306.55802000000006,174.09458999999998,314.0903,173.65240999999997,329.06341000000003,166.45448),j.bezierCurveTo(336.00568000000004,163.11717,337.40021,162.8096,345.73093000000006,162.77846),j.bezierCurveTo(353.96010000000007,162.74776,355.45355000000006,163.05339,361.47832000000005,166.00153),j.bezierCurveTo(369.53210000000007,169.94254,376.64791,177.20452,380.3403400000001,185.25103000000001),j.bezierCurveTo(382.5644300000001,190.09773,382.9971500000001,192.49377,383.0256800000001,200.12014000000002),j.bezierCurveTo(383.0562800000001,208.31117000000003,382.74275000000006,209.86176000000003,379.8593200000001,215.77750000000003),j.bezierCurveTo(376.0651900000001,223.56169000000003,370.1637800000001,229.56756000000004,362.0334900000001,233.91890000000004),j.bezierCurveTo(351.4550500000001,239.58048000000002,339.7398500000001,239.17006000000003,326.6582200000001,232.67959000000005),j.bezierCurveTo(310.6073100000001,224.71590000000003,294.4869300000001,227.24494000000004,281.98739000000006,239.68774000000005),j.bezierCurveTo(270.03863000000007,251.58229000000006,268.4080000000001,270.18789000000004,277.92910000000006,285.99336000000005),j.bezierCurveTo(284.3299400000001,296.61906000000005,285.13914000000005,307.05507000000006,280.51249000000007,319.31069),j.bezierCurveTo(277.5959900000001,327.03626,268.9701400000001,335.93369,260.6715500000001,339.77631),j.bezierCurveTo(253.04107000000008,343.30956000000003,243.1026400000001,343.84789,234.95394000000007,341.16933),j.lineTo(234.95394000000007,341.16933),j.closePath(),j.fillStyle=h(s,.1),j.fill(),j.stroke(),j.restore(),j.restore(),j.restore())}function p(s){var t=!1;j.strokeStyle=s,j.lineWidth=3,j.beginPath(),j.arc(151,205,18,.4*Math.PI,1.6*Math.PI,t),j.stroke(),j.beginPath(),j.arc(167,238,18,1.35*Math.PI,2.42*Math.PI,t),j.stroke(),j.beginPath(),j.arc(180,272,18,.18*Math.PI,1.33*Math.PI,t),j.stroke(),j.beginPath(),j.arc(212,289,18,1.15*Math.PI,2.1*Math.PI,t),j.stroke(),j.beginPath(),j.arc(245,302,18,1.85*Math.PI,1.15*Math.PI,t),j.stroke(),j.beginPath(),j.arc(279,289,18,.87*Math.PI,1.85*Math.PI,t),j.stroke(),j.beginPath(),j.arc(311,272,18,1.65*Math.PI,.85*Math.PI,t),j.stroke(),j.beginPath(),j.arc(325,238,18,.54*Math.PI,1.68*Math.PI,t),j.stroke(),j.beginPath(),j.arc(340,205,18,1.37*Math.PI,.59*Math.PI,t),j.stroke(),j.beginPath(),j.arc(325,172,18,.35*Math.PI,1.4*Math.PI,t),j.stroke(),j.beginPath(),j.arc(311,138,18,1.15*Math.PI,2.35*Math.PI,t),j.stroke(),j.beginPath(),j.arc(279,122,18,.17*Math.PI,1.1*Math.PI,t),j.stroke(),j.beginPath(),j.arc(245,108,18,.8*Math.PI,2.15*Math.PI,t),j.stroke(),j.beginPath(),j.arc(212,122,18,1.9*Math.PI,.85*Math.PI,t),j.stroke(),j.beginPath(),j.arc(180,138,18,.65*Math.PI,1.85*Math.PI,t),j.stroke(),j.beginPath(),j.arc(167,172,18,1.6*Math.PI,.7*Math.PI,t),j.stroke(),d(s)>=.6&&(j.save(),j.beginPath(),j.moveTo(0,0),j.lineTo(500,0),j.lineTo(500,415),j.lineTo(0,415),j.closePath(),j.clip(),j.strokeStyle="rgba(0,0,0,0)",j.lineCap="butt",j.lineJoin="miter",j.miterLimit=4,j.save(),j.restore(),j.save(),j.restore(),j.save(),j.translate(-4,-637),j.save(),j.strokeStyle="rgba(0,0,0,0)",j.translate(0,637),j.beginPath(),j.moveTo(242.80929,316.76895),j.bezierCurveTo(239.2558,315.3947,234.83257,308.84895,234.18254000000002,304.00262000000004),j.bezierCurveTo(233.85998,301.59777,234.27994,298.62012000000004,235.27891000000002,296.22928),j.bezierCurveTo(237.39948,291.15406,237.29592000000002,285.99823000000004,234.97058,280.87787000000003),j.bezierCurveTo(231.58546,273.42388000000005,224.01393000000002,268.42150000000004,216.05280000000002,268.37923),j.bezierCurveTo(210.33377000000002,268.34883,202.51030000000003,272.78013,198.27794000000003,278.44704),j.bezierCurveTo(196.41545000000002,280.94083,193.36619000000002,284.00917000000004,191.50181000000003,285.26557),j.bezierCurveTo(180.81154000000004,292.46974,165.85368000000003,281.37461,168.71196000000003,268.36097),j.bezierCurveTo(169.66342000000003,264.02899,174.42957000000004,258.84685,179.89636000000004,256.20042),j.bezierCurveTo(188.48844000000005,252.04107000000002,193.00795000000005,242.34352,190.58184000000006,233.27254000000002),j.bezierCurveTo(189.87870000000007,230.64358000000001,188.21908000000005,227.07100000000003,186.89381000000006,225.33348),j.bezierCurveTo(182.51221000000007,219.58889000000002,172.48125000000005,216.46373,166.00572000000005,218.82574),j.bezierCurveTo(160.88401000000005,220.69395,153.47334000000006,221.17446999999999,149.58323000000004,219.89061),j.bezierCurveTo(147.65941000000004,219.25570000000002,144.69894000000005,217.15717,143.00442000000004,215.22721),j.bezierCurveTo(140.25313000000003,212.09367,139.92347000000004,211.02317000000002,139.92347000000004,205.22251),j.bezierCurveTo(139.92347000000004,199.42185,140.25313000000003,198.35135,143.00442000000004,195.21781),j.bezierCurveTo(148.08184000000003,189.43495,155.59116000000003,188.31217999999998,166.73325000000003,191.66995999999997),j.bezierCurveTo(171.89873000000003,193.22662999999997,176.76581000000002,192.32402999999996,182.19737000000003,188.80213999999998),j.bezierCurveTo(186.99980000000002,185.68819,191.44125000000003,178.0236,191.44125000000003,172.85002999999998),j.bezierCurveTo(191.44125000000003,165.91124999999997,187.02605000000003,157.91411999999997,181.72540000000004,155.25199999999998),j.bezierCurveTo(168.68097000000003,148.70074999999997,164.62205000000003,137.69753999999998,171.78539000000004,128.30592),j.bezierCurveTo(178.71368000000004,119.22245999999998,190.67567000000003,120.01398999999998,197.23888000000002,129.99017999999998),j.bezierCurveTo(204.51058000000003,141.04331,214.32951000000003,144.72351999999998,224.37555000000003,140.16123),j.bezierCurveTo(235.23365000000004,135.23013999999998,238.86734000000004,125.44275999999999,234.78543000000002,112.12207),j.bezierCurveTo(233.16446000000002,106.83225999999999,234.54797000000002,101.56208,238.76789000000002,96.95178),j.bezierCurveTo(248.33151000000004,86.503446,267.39820000000003,96.55735,264.708,110.63005),j.bezierCurveTo(262.24834000000004,123.49681,263.43732,130.24138,269.17704000000003,135.9811),j.bezierCurveTo(273.84920000000005,140.65326,279.80664,142.46487,287.54524000000004,141.56671),j.bezierCurveTo(290.80029,141.18892,293.25246000000004,140.53831,292.99449000000004,140.12091),j.bezierCurveTo(292.73652000000004,139.70352,293.68403000000006,138.74196,295.10007,137.98412000000002),j.bezierCurveTo(296.51611,137.22628000000003,298.81193,134.66566000000003,300.2019,132.29385000000002),j.bezierCurveTo(303.47878000000003,126.70229000000002,307.77937000000003,123.14413000000002,312.28166000000004,122.29950000000002),j.bezierCurveTo(323.19238000000007,120.25263000000002,332.5219000000001,130.29284,330.36964000000006,141.76535),j.bezierCurveTo(329.6006300000001,145.86456,323.8285400000001,152.29884,317.5065000000001,156.10419000000002),j.bezierCurveTo(312.2969800000001,159.23989,308.17124000000007,167.72107000000003,308.8642700000001,173.86973),j.bezierCurveTo(309.6787300000001,181.09556,313.7704700000001,186.95133,320.2047800000001,190.09934),j.bezierCurveTo(326.1904100000001,193.02784000000003,330.20042000000007,193.13284000000002,338.9627100000001,190.59052000000003),j.bezierCurveTo(344.9917000000001,188.84125000000003,350.1988400000001,189.89377000000002,354.59001000000006,193.74927000000002),j.bezierCurveTo(368.2933100000001,205.78092000000004,353.68808000000007,226.52374000000003,336.55395000000004,219.36465),j.bezierCurveTo(323.93852000000004,214.09358,308.93266000000006,224.16784,308.71798000000007,238.05247),j.bezierCurveTo(308.6646800000001,241.50290999999999,311.2253800000001,248.07176,313.86683000000005,251.26035),j.bezierCurveTo(314.59179000000006,252.13548,316.54865000000007,253.7222,318.21540000000005,254.7864),j.bezierCurveTo(324.03371000000004,258.50135,328.85284000000007,263.67991,329.97401,267.42204),j.bezierCurveTo(332.95992,277.3881,325.11943,287.55831,314.45977000000005,287.54616999999996),j.bezierCurveTo(309.88386,287.54116999999997,305.3854400000001,284.53792999999996,300.84666000000004,278.45842999999996),j.bezierCurveTo(295.84636000000006,271.76072,288.36647000000005,267.87215,281.88796,268.60236999999995),j.bezierCurveTo(274.64614,269.41862999999995,268.80722000000003,273.50679999999994,265.64137,279.97756999999996),j.bezierCurveTo(263.21128,284.94451999999995,262.99769,286.21504999999996,263.64589,291.84819999999996),j.bezierCurveTo(265.39685000000003,307.06499999999994,264.64547,310.09781999999996,257.87161000000003,315.15523999999994),j.bezierCurveTo(254.81776000000002,317.43526999999995,246.76347000000004,318.2981699999999,242.80929000000003,316.76894999999996),j.lineTo(242.80929000000003,316.76894999999996),j.closePath(),j.fillStyle=h(s,.1),j.fill(),j.stroke(),j.restore(),j.restore(),j.restore()) |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
98 }function n(s,t,e,l,r){var o=10;j.beginPath(),j.moveTo(s+o,t),j.lineTo(s+e-o,t),j.quadraticCurveTo(s+e,t,s+e,t+o),j.lineTo(s+e,t+l-o),j.quadraticCurveTo(s+e,t+l,s+e-o,t+l),j.lineTo(s+o,t+l),j.quadraticCurveTo(s,t+l,s,t+l-o),j.lineTo(s,t+o),j.quadraticCurveTo(s,t,s+o,t),j.closePath(),j.lineWidth=3,j.strokeStyle=r,d(r)>=.6&&(j.fillStyle=h(r,.1),j.fill()),j.stroke()}function C(s,t,e,l,r){s.beginPath(),s.moveTo(t,e),s.lineTo(l,r),s.closePath(),s.stroke()}function f(s,t,e,l,r,o,c){s.beginPath(),s.rect(t,e,l,r),s.closePath(),s.lineWidth=.75,s.shadowColor="rgba(0,0,0, 0.4)",s.shadowBlur=7,s.shadowOffsetX=2,s.shadowOffsetY=-2,s.strokeStyle=c,s.stroke(),s.fillStyle=o,s.fill()}function h(s,t){var e=s.slice(s.indexOf("(")+1,s.indexOf(")")),l=e.split(",");return"rgba("+l[0]+","+l[1]+","+l[2]+","+t+")"}function d(s){var t=s.slice(s.indexOf("(")+1,s.indexOf(")")),e=t.split(",");return e[3]}function b(){j.clearRect(0,0,O,N)}function v(t){for(var e="rgba(0,0,0, 0.7)",l=120,o=70,c=415,i=20,a=(370-t*i)/t,u=265,p=A(),n=new Array,d=0,b=0;t>b;b++)d=Math.max(d,p[b]);for(var b=0;t>b;b++)n.push(p[b]/d*(l-50));j.fillStyle="#000",j.font="italic 10pt Arial",j.textAlign="center",j.fillText("Size of each list",250,c+27),j.font="normal 8pt Arial",j.textAlign="right",j.fillText(0,45,c+l+2),j.fillText(d/2,45,c+(l+55)/2),j.fillText(d,45,c+54),j.textAlign="left";for(var b=0;t>b;b++)f(j,o+b*a+b*i,c+l-n[b],a,n[b],h(B.colors[b],.5),B.colors[b]),l-n[b]+15<=l-10?(j.textAlign="right",j.fillStyle="white",j.fillText(p[b],a+65+b*a+b*i,c+l-n[b]+15)):(j.textAlign="right",j.fillText(p[b],a+65+b*a+b*i,c+l-n[b]-10)),u=b%2&&t>2?c+l+25:c+l+15,j.fillStyle="#000",j.textAlign="center",j.fillText(s("#label"+(b+1)).html(),o+b*a+b*i+a/2,u,200),j.strokeStyle=e,j.lineWidth=.4,C(j,o+b*a+b*i+a/2,c+l,o+b*a+b*i+a/2,c+l+5);j.lineWidth=1,j.strokeStyle=e,C(j,50,c+l,50,c+35),C(j,50,c+l,450,c+l),j.lineWidth=.4,C(j,47,c+(l+48)/2,53,c+(l+48)/2),C(j,47,c+50,53,c+50),r(50,c+25,46,c+35,54,c+35,e),r(460,c+l,450,c+l-4,450,c+l+4,e);var v=k(),m=new Array;i=2,o=60,c+=l+50;for(var g=390+i,x=0,b=0;t>b;b++)x+=v[b];for(var b=0;t>b;b++)m.push(v[b]/x*g);j.font="italic 10pt Arial",j.textAlign="center",j.fillText("Number of elements: specific (1) or shared by 2, 3, ... lists",250,c),j.font="normal 8pt Arial";for(var y=0,_=0,b=t-1;b>=0;b--)0!=m[b]&&(f(j,o+y,c+15,m[b]-i,20,h("rgb(156,106,156)",1/(b+1.5)),"rgba(0,0,0,0.5)"),j.textAlign="center",j.fillStyle="white",m[b]-i<25?(j.fillStyle="#000",j.fillText(b+1,(m[b]-i)/2+o+y,c+57+_),j.textAlign="left",j.fillText("("+v[b]+")",(m[b]-i)/2+o+y+6,c+57+_),48!=_?_+=12:_=0):(_>=24&&(_=0),j.fillText(v[b],(m[b]-i)/2+o+y,c+29),j.fillStyle="#000",j.fillText(b+1,(m[b]-i)/2+o+y,c+57+_),_=0),j.strokeStyle=e,j.lineWidth=.4,C(j,(m[b]-i)/2+o+y,c+40,(m[b]-i)/2+o+y,c+45),y+=m[b]);j.lineWidth=1,j.strokeStyle=e,C(j,50,c+40,460,c+40)}function m(s,t,e,l){B.shortNumber&&s.text().length>l&&s.html("<span title="+s.text()+">?</span>");var r=t-(s.text().length-1)/2*4;s.css("left",r).css("top",e)}function g(s){var t=s.length?s.length:0,e=s[0]instanceof Array?s[0].length:0;for(l=0;t>l;l++)s[l]instanceof Array&&s[l].length>e&&(e=s[l].length);if(0===e||0===t)return[];var l,r,o=[];for(l=0;e>l;l++)for(o[l]=[],r=0;t>r;r++)o[l][r]=s[r][l];return o}function x(t){var e="rgba(0,0,0,0.1)";6==t?(r(0,11,254,160,174,235,h(B.colors[0],s("#label1").css("opacity"))),r(188,0,134,242,236,202,h(B.colors[1],s("#label2").css("opacity"))),r(338,52,135,123,191,242,h(B.colors[2],s("#label3").css("opacity"))),r(500,260,163,117,134,219,h(B.colors[3],s("#label4").css("opacity"))),r(250,415,133,150,203,67,h(B.colors[4],s("#label5").css("opacity"))),r(11,307,263,81,214,220,h(B.colors[5],s("#label6").css("opacity"))),s("#label1").css("left",35).css("top",10).css("color",B.colors[0]),s("#label2").css("left",200).css("top",5).css("color",B.colors[1]),s("#label3").css("left",335).css("top",60).css("color",B.colors[2]),s("#label4").css("left",410).css("top",200).css("color",B.colors[3]),s("#label5").css("left",255).css("top",385).css("color",B.colors[4]),s("#label6").css("left",30).css("top",300).css("color",B.colors[5]),m(s("#resultC100000"),98,90,6),m(s("#resultC010000"),187,50,4),m(s("#resultC001000"),280,80,6),m(s("#resultC000100"),320,205,6),m(s("#resultC000010"),212,272,5),m(s("#resultC000001"),100,240,6),m(s("#resultC111111"),185,170,6),o(140,80,166,110,e),m(s("#resultC110000"),132,60,6),m(s("#resultC101000"),142,116,2),o(75,180,145,185,e),o(75,180,65,175,e),m(s("#resultC100100"),55,157,6),m(s("#resultC100010"),140,145,2),o(75,200,142,190,e),o(75,200,65,195,e),m(s("#resultC100001"),55,177,6),o(230,80,212,115,e),m(s("#resultC011000"),230,60,6),m(s("#resultC010100"),225,190,1),m(s("#resultC010010"),193,82,3),m(s("#resultC010001"),145,218,2),o(295,145,235,180,e),m(s("#resultC001100"),302,132,6),o(275,270,193,233,e),m(s("#resultC001010"),275,268,6),m(s("#resultC001001"),232,113,4),m(s("#resultC000110"),216,211,1),o(75,220,140,205,e),o(75,220,65,215,e),m(s("#resultC000101"),55,197,6),o(150,270,183,230,e),m(s("#resultC000011"),145,268,6),m(s("#resultC111110"),170,130,6),s("#resultC111110").hide(),m(s("#resultC111101"),218,155,6),s("#resultC111101").hide(),m(s("#resultC111011"),205,125,6),s("#resultC111011").hide(),m(s("#resultC110111"),160,190,6),s("#resultC110111").hide(),m(s("#resultC101111"),180,212,6),s("#resultC101111").hide(),m(s("#resultC011111"),208,197,6),s("#resultC011111").hide(),m(s("#resultC111100"),225,170,6),s("#resultC111100").hide(),m(s("#resultC111010"),182,113,6),s("#resultC111010").hide(),m(s("#resultC110110"),149,163,6),s("#resultC110110").hide(),m(s("#resultC101110"),152,140,6),s("#resultC101110").hide(),m(s("#resultC011110"),215,195,6),s("#resultC011110").hide(),m(s("#resultC111001"),212,128,6),s("#resultC111001").hide(),m(s("#resultC110101"),150,194,6),s("#resultC110101").hide(),m(s("#resultC110011"),168,216,6),s("#resultC110011").hide(),m(s("#resultC101101"),226,145,6),s("#resultC101101").hide(),m(s("#resultC101011"),178,216,6),s("#resultC101011").hide(),m(s("#resultC100111"),178,214,6),s("#resultC100111").hide(),m(s("#resultC011101"),218,180,6),s("#resultC011101").hide(),m(s("#resultC011011"),206,122,6),s("#resultC011011").hide(),m(s("#resultC010111"),215,198,6),s("#resultC010111").hide(),m(s("#resultC001111"),200,208,6),s("#resultC001111").hide(),m(s("#resultC111000"),156,105,6),s("#resultC111000").hide(),m(s("#resultC110100"),145,174,6),s("#resultC110100").hide(),m(s("#resultC110010"),163,100,6),s("#resultC110010").hide(),m(s("#resultC101100"),238,152,6),s("#resultC101100").hide(),m(s("#resultC101010"),148,128,6),s("#resultC101010").hide(),m(s("#resultC100110"),145,158,6),s("#resultC100110").hide(),m(s("#resultC011100"),226,178,6),s("#resultC011100").hide(),m(s("#resultC011010"),195,105,6),s("#resultC011010").hide(),m(s("#resultC010110"),218,198,6),s("#resultC010110").hide(),m(s("#resultC001110"),202,216,6),s("#resultC001110").hide(),m(s("#resultC110001"),160,213,6),s("#resultC110001").hide(),m(s("#resultC101001"),220,132,6),s("#resultC101001").hide(),m(s("#resultC100101"),139,182,6),s("#resultC100101").hide(),m(s("#resultC100011"),170,220,6),s("#resultC100011").hide(),m(s("#resultC011001"),212,122,6),s("#resultC011001").hide(),m(s("#resultC010101"),146,203,6),s("#resultC010101").hide(),m(s("#resultC010011"),164,220,6),s("#resultC010011").hide(),m(s("#resultC001101"),233,138,6),s("#resultC001101").hide(),m(s("#resultC001011"),185,218,6),s("#resultC001011").hide(),m(s("#resultC000111"),209,207,6),s("#resultC000111").hide()):5==t?(l(214,230,10,18.6,9.5,25,h(B.colors[0],s("#label1").css("opacity"))),l(232,187,10,18.6,9.5,98,h(B.colors[1],s("#label2").css("opacity"))),l(273,196,10,18.6,9.5,170,h(B.colors[2],s("#label3").css("opacity"))),l(282,238,10,18.6,9.5,62,h(B.colors[3],s("#label4").css("opacity"))),l(242,260,10,18.6,9.5,134,h(B.colors[4],s("#label5").css("opacity"))),s("#label1").css("left",0).css("top",100).css("color",B.colors[0]),s("#label2").css("left",310).css("top",15).css("color",B.colors[1]),s("#label3").css("left",450).css("top",120).css("color",B.colors[2]),s("#label4").css("left",387).css("top",400).css("color",B.colors[3]),s("#label5").css("left",40).css("top",400).css("color",B.colors[4]),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),75,150,6),m(s("#resultC010000"),245,30,6),m(s("#resultC001000"),415,162,6),m(s("#resultC000100"),350,370,6),m(s("#resultC000010"),132,370,6),m(s("#resultC110000"),152,118,2),m(s("#resultC101000"),110,200,6),m(s("#resultC100100"),350,295,6),m(s("#resultC100010"),125,273,2),m(s("#resultC011000"),309,94,3),m(s("#resultC010100"),215,82,6),m(s("#resultC010010"),195,340,6),m(s("#resultC001100"),378,232,2),m(s("#resultC001010"),360,140,5),m(s("#resultC000110"),261,347,2),m(s("#resultC111000"),148,180,4),m(s("#resultC110100"),168,113,2),m(s("#resultC110010"),176,295,6),m(s("#resultC101100"),367,248,2),m(s("#resultC101010"),127,256,2),m(s("#resultC100110"),305,300,4),m(s("#resultC011100"),240,110,6),m(s("#resultC011010"),317,108,2),m(s("#resultC010110"),248,338,2),m(s("#resultC001110"),345,180,4),m(s("#resultC111100"),185,140,6),m(s("#resultC111010"),158,245,6),m(s("#resultC110110"),250,310,6),m(s("#resultC101110"),330,240,6),m(s("#resultC011110"),290,133,6),m(s("#resultC111110"),245,210,6),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):4==t?(l(181,238,10,18.5,11.5,40,h(B.colors[0],s("#label1").css("opacity"))),l(242,177,10,18.5,11.5,40,h(B.colors[1],s("#label2").css("opacity"))),l(259,177,10,18.5,11.5,140,h(B.colors[2],s("#label3").css("opacity"))),l(320,238,10,18.5,11.5,140,h(B.colors[3],s("#label4").css("opacity"))),s("#label1").css("left",5).css("top",70).css("color",B.colors[0]),s("#label2").css("left",85).css("top",5).css("color",B.colors[1]),s("#label3").css("left",350).css("top",5).css("color",B.colors[2]),s("#label4").css("left",428).css("top",70).css("color",B.colors[3]),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),55,190,6),m(s("#resultC010000"),140,60,6),m(s("#resultC001000"),335,60,6),m(s("#resultC000100"),430,190,6),m(s("#resultC110000"),105,120,6),m(s("#resultC101000"),130,260,6),m(s("#resultC100100"),245,340,6),m(s("#resultC011000"),245,90,6),m(s("#resultC010100"),365,260,6),m(s("#resultC001100"),385,120,6),m(s("#resultC111000"),160,170,6),m(s("#resultC110100"),310,290,6),m(s("#resultC101100"),180,290,6),m(s("#resultC011100"),330,170,6),m(s("#resultC111100"),245,220,6),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):3==t?(l(171,142,120,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),l(327,142,120,1,1,0,h(B.colors[1],s("#label2").css("opacity"))),l(249,271,120,1,1,0,h(B.colors[2],s("#label3").css("opacity"))),s("#label1").css("left",55).css("top",5).css("color",B.colors[0]),s("#label2").css("left",380).css("top",5).css("color",B.colors[1]),s("#label3").css("left",220).css("top",400).css("color",B.colors[2]),s("#label4").css("left",-1e3).css("top",-2200),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),120,100,8),m(s("#resultC010000"),360,100,8),m(s("#resultC001000"),245,330,8),m(s("#resultC110000"),245,100,8),m(s("#resultC101000"),170,220,8),m(s("#resultC011000"),320,220,8),m(s("#resultC111000"),245,175,8),s("#resultC000100").css("left",-1e3).css("top",-2200),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC100100").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC010100").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001100").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC110100").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101100").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011100").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111100").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):2==t?(l(171,206,140,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),l(327,206,140,1,1,0,h(B.colors[1],s("#label2").css("opacity"))),s("#label1").css("left",95).css("top",40).css("color",B.colors[0]),s("#label2").css("left",360).css("top",40).css("color",B.colors[1]),s("#label3").css("left",-1e3).css("top",-2200),s("#label4").css("left",-1e3).css("top",-2200),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),120,195,10),m(s("#resultC010000"),360,195,10),m(s("#resultC110000"),250,195,10),s("#resultC001000").css("left",-1e3).css("top",-2200),s("#resultC000100").css("left",-1e3).css("top",-2200),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC101000").css("left",-1e3).css("top",-2200),s("#resultC100100").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC011000").css("left",-1e3).css("top",-2200),s("#resultC010100").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001100").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC111000").css("left",-1e3).css("top",-2200),s("#resultC110100").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101100").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011100").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111100").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):(l(246,210,140,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),s("#label1").css("left",225).css("top",30).css("color",B.colors[0]),s("#label2").css("left",-1e3).css("top",-2200),s("#label3").css("left",-1e3).css("top",-2200),s("#label4").css("left",-1e3).css("top",-2200),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),245,200,10),s("#resultC010000").css("left",-1e3).css("top",-2200),s("#resultC001000").css("left",-1e3).css("top",-2200),s("#resultC000100").css("left",-1e3).css("top",-2200),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC110000").css("left",-1e3).css("top",-2200),s("#resultC101000").css("left",-1e3).css("top",-2200),s("#resultC100100").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC011000").css("left",-1e3).css("top",-2200),s("#resultC010100").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001100").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC111000").css("left",-1e3).css("top",-2200),s("#resultC110100").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101100").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011100").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111100").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200))}function y(t){6==t?(c(246,206,90,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),n(245,25,250,365,h(B.colors[1],s("#label2").css("opacity"))),n(5,205,490,185,h(B.colors[2],s("#label3").css("opacity"))),a(h(B.colors[3],s("#label4").css("opacity"))),u(h(B.colors[4],s("#label5").css("opacity"))),p(h(B.colors[5],s("#label6").css("opacity"))),s("#label1").css("left",297).css("top",90).css("color",B.colors[0]),s("#label2").css("left",267).css("top",0).css("color",B.colors[1]),s("#label3").css("left",27).css("top",400).css("color",B.colors[2]),s("#label4").css("left",55).css("top",90).css("color",B.colors[3]),s("#label5").css("left",282).css("top",45).css("color",B.colors[4]),s("#label6").css("left",297).css("top",302).css("color",B.colors[5]),m(s("#resultC100000"),204,122,1),m(s("#resultC010000"),390,70,6),m(s("#resultC001000"),85,330,6),m(s("#resultC000100"),85,150,6),m(s("#resultC000010"),225,70,3),m(s("#resultC110000"),280,122,1),m(s("#resultC101000"),204,269,1),m(s("#resultC100100"),172,155,1),m(s("#resultC100010"),218,118,1),m(s("#resultC011000"),390,330,6),m(s("#resultC010100"),390,150,6),m(s("#resultC010010"),258,70,3),m(s("#resultC001100"),85,240,6),m(s("#resultC001010"),225,320,3),m(s("#resultC000110"),120,178,2),m(s("#resultC111000"),280,269,1),m(s("#resultC110100"),314,155,1),m(s("#resultC110010"),266,118,1),m(s("#resultC101100"),172,235,1),m(s("#resultC101010"),219,274,1),m(s("#resultC100110"),167,171,1),m(s("#resultC011100"),390,240,6),m(s("#resultC011010"),258,320,3),m(s("#resultC010110"),365,178,2),m(s("#resultC001110"),120,212,2),m(s("#resultC111100"),315,235,1),m(s("#resultC111010"),266,274,1),m(s("#resultC110110"),320,171,1),m(s("#resultC101110"),166,218,1),m(s("#resultC011110"),365,212,2),m(s("#resultC111110"),320,218,1),m(s("#resultC000001"),180,120,1),m(s("#resultC100001"),199,134,1),m(s("#resultC010001"),304,120,1),m(s("#resultC001001"),179,271,1),m(s("#resultC000101"),169,132,1),m(s("#resultC000011"),234,95,1),m(s("#resultC110001"),286,134,1),m(s("#resultC101001"),199,256,1),m(s("#resultC100101"),190,149,1),m(s("#resultC100011"),228,135,3),m(s("#resultC011001"),306,272,1),m(s("#resultC010101"),317,132,1),m(s("#resultC010011"),250,95,1),m(s("#resultC001101"),167,260,1),m(s("#resultC001011"),233,296,1),m(s("#resultC000111"),143,187,1),m(s("#resultC111001"),285,256,1),m(s("#resultC110101"),295,149,1),m(s("#resultC110011"),255,135,3),m(s("#resultC101101"),190,242,1),m(s("#resultC101011"),227,255,3),m(s("#resultC100111"),213,178,6),m(s("#resultC011101"),318,259,1),m(s("#resultC011011"),250,296,1),m(s("#resultC010111"),342,187,1),m(s("#resultC001111"),143,203,1),m(s("#resultC111101"),295,240,1),m(s("#resultC111011"),256,255,3),m(s("#resultC110111"),270,178,6),m(s("#resultC101111"),213,212,6),m(s("#resultC011111"),342,203,1),m(s("#resultC111111"),270,212,6)):5==t?(c(246,206,90,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),n(245,25,250,365,h(B.colors[1],s("#label2").css("opacity"))),n(5,205,490,185,h(B.colors[2],s("#label3").css("opacity"))),a(h(B.colors[3],s("#label4").css("opacity"))),u(h(B.colors[4],s("#label5").css("opacity"))),s("#label1").css("left",297).css("top",90).css("color",B.colors[0]),s("#label2").css("left",267).css("top",0).css("color",B.colors[1]),s("#label3").css("left",27).css("top",400).css("color",B.colors[2]),s("#label4").css("left",55).css("top",90).css("color",B.colors[3]),s("#label5").css("left",282).css("top",45).css("color",B.colors[4]),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),200,130,3),m(s("#resultC010000"),390,70,6),m(s("#resultC001000"),85,330,6),m(s("#resultC000100"),85,150,6),m(s("#resultC000010"),225,80,4),m(s("#resultC110000"),284,130,3),m(s("#resultC101000"),200,260,3),m(s("#resultC100100"),185,150,4),m(s("#resultC100010"),228,130,3),m(s("#resultC011000"),390,330,6),m(s("#resultC010100"),390,150,6),m(s("#resultC010010"),258,80,4),m(s("#resultC001100"),85,240,6),m(s("#resultC001010"),225,310,4),m(s("#resultC000110"),133,178,6),m(s("#resultC111000"),284,260,3),m(s("#resultC110100"),300,150,4),m(s("#resultC110010"),255,130,3),m(s("#resultC101100"),185,240,4),m(s("#resultC101010"),228,260,3),m(s("#resultC100110"),213,178,6),m(s("#resultC011100"),390,240,6),m(s("#resultC011010"),258,310,4),m(s("#resultC010110"),355,178,6),m(s("#resultC001110"),133,212,6),m(s("#resultC111100"),300,240,4),m(s("#resultC111010"),256,260,3),m(s("#resultC110110"),270,178,6),m(s("#resultC101110"),213,212,6),m(s("#resultC011110"),355,212,6),m(s("#resultC111110"),270,212,6),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):4==t?(c(246,206,90,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),n(245,25,250,365,h(B.colors[1],s("#label2").css("opacity"))),n(5,205,490,185,h(B.colors[2],s("#label3").css("opacity"))),a(h(B.colors[3],s("#label4").css("opacity"))),s("#label1").css("left",267).css("top",90).css("color",B.colors[0]),s("#label2").css("left",267).css("top",0).css("color",B.colors[1]),s("#label3").css("left",27).css("top",400).css("color",B.colors[2]),s("#label4").css("left",27).css("top",90).css("color",B.colors[3]),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),215,130,6),m(s("#resultC010000"),390,70,6),m(s("#resultC001000"),85,330,6),m(s("#resultC000100"),85,150,6),m(s("#resultC110000"),265,130,6),m(s("#resultC101000"),215,260,6),m(s("#resultC100100"),200,170,6),m(s("#resultC011000"),390,330,6),m(s("#resultC010100"),390,150,6),m(s("#resultC001100"),85,240,6),m(s("#resultC111000"),265,260,6),m(s("#resultC110100"),280,170,6),m(s("#resultC101100"),200,220,6),m(s("#resultC011100"),390,240,6),m(s("#resultC111100"),280,220,6),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):3==t?(c(246,206,110,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),n(245,25,250,365,h(B.colors[1],s("#label2").css("opacity"))),n(5,205,490,185,h(B.colors[2],s("#label3").css("opacity"))),s("#label1").css("left",95).css("top",75).css("color",B.colors[0]),s("#label2").css("left",267).css("top",0).css("color",B.colors[1]),s("#label3").css("left",27).css("top",400).css("color",B.colors[2]),s("#label4").css("left",-1e3).css("top",-2200),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),190,150,8),m(s("#resultC010000"),390,70,8),m(s("#resultC001000"),85,330,8),m(s("#resultC110000"),290,150,8),m(s("#resultC101000"),190,240,8),m(s("#resultC011000"),390,330,8),m(s("#resultC111000"),290,240,8),s("#resultC000100").css("left",-1e3).css("top",-2200),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC100100").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC010100").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001100").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC110100").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101100").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011100").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111100").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):2==t?(c(246,206,110,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),n(245,25,250,365,h(B.colors[1],s("#label2").css("opacity"))),s("#label1").css("left",95).css("top",75).css("color",B.colors[0]),s("#label2").css("left",267).css("top",0).css("color",B.colors[1]),s("#label3").css("left",-1e3).css("top",-2200),s("#label4").css("left",-1e3).css("top",-2200),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),180,195,10),m(s("#resultC010000"),420,195,10),m(s("#resultC110000"),290,195,10),s("#resultC001000").css("left",-1e3).css("top",-2200),s("#resultC000100").css("left",-1e3).css("top",-2200),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC101000").css("left",-1e3).css("top",-2200),s("#resultC100100").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC011000").css("left",-1e3).css("top",-2200),s("#resultC010100").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001100").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC111000").css("left",-1e3).css("top",-2200),s("#resultC110100").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101100").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011100").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111100").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)):(c(246,210,140,1,1,0,h(B.colors[0],s("#label1").css("opacity"))),s("#label1").css("left",225).css("top",30).css("color",B.colors[0]),s("#label2").css("left",-1e3).css("top",-2200),s("#label3").css("left",-1e3).css("top",-2200),s("#label4").css("left",-1e3).css("top",-2200),s("#label5").css("left",-1e3).css("top",-2200),s("#label6").css("left",-1e3).css("top",-2200),m(s("#resultC100000"),245,200,10),s("#resultC010000").css("left",-1e3).css("top",-2200),s("#resultC001000").css("left",-1e3).css("top",-2200),s("#resultC000100").css("left",-1e3).css("top",-2200),s("#resultC000010").css("left",-1e3).css("top",-2200),s("#resultC110000").css("left",-1e3).css("top",-2200),s("#resultC101000").css("left",-1e3).css("top",-2200),s("#resultC100100").css("left",-1e3).css("top",-2200),s("#resultC100010").css("left",-1e3).css("top",-2200),s("#resultC011000").css("left",-1e3).css("top",-2200),s("#resultC010100").css("left",-1e3).css("top",-2200),s("#resultC010010").css("left",-1e3).css("top",-2200),s("#resultC001100").css("left",-1e3).css("top",-2200),s("#resultC001010").css("left",-1e3).css("top",-2200),s("#resultC000110").css("left",-1e3).css("top",-2200),s("#resultC111000").css("left",-1e3).css("top",-2200),s("#resultC110100").css("left",-1e3).css("top",-2200),s("#resultC110010").css("left",-1e3).css("top",-2200),s("#resultC101100").css("left",-1e3).css("top",-2200),s("#resultC101010").css("left",-1e3).css("top",-2200),s("#resultC100110").css("left",-1e3).css("top",-2200),s("#resultC011100").css("left",-1e3).css("top",-2200),s("#resultC011010").css("left",-1e3).css("top",-2200),s("#resultC010110").css("left",-1e3).css("top",-2200),s("#resultC001110").css("left",-1e3).css("top",-2200),s("#resultC111100").css("left",-1e3).css("top",-2200),s("#resultC111010").css("left",-1e3).css("top",-2200),s("#resultC110110").css("left",-1e3).css("top",-2200),s("#resultC101110").css("left",-1e3).css("top",-2200),s("#resultC011110").css("left",-1e3).css("top",-2200),s("#resultC111110").css("left",-1e3).css("top",-2200),s("#resultC000001").css("left",-1e3).css("top",-2200),s("#resultC100001").css("left",-1e3).css("top",-2200),s("#resultC010001").css("left",-1e3).css("top",-2200),s("#resultC001001").css("left",-1e3).css("top",-2200),s("#resultC000101").css("left",-1e3).css("top",-2200),s("#resultC000011").css("left",-1e3).css("top",-2200),s("#resultC110001").css("left",-1e3).css("top",-2200),s("#resultC101001").css("left",-1e3).css("top",-2200),s("#resultC100101").css("left",-1e3).css("top",-2200),s("#resultC100011").css("left",-1e3).css("top",-2200),s("#resultC011001").css("left",-1e3).css("top",-2200),s("#resultC010101").css("left",-1e3).css("top",-2200),s("#resultC010011").css("left",-1e3).css("top",-2200),s("#resultC001101").css("left",-1e3).css("top",-2200),s("#resultC001011").css("left",-1e3).css("top",-2200),s("#resultC000111").css("left",-1e3).css("top",-2200),s("#resultC111001").css("left",-1e3).css("top",-2200),s("#resultC110101").css("left",-1e3).css("top",-2200),s("#resultC110011").css("left",-1e3).css("top",-2200),s("#resultC101101").css("left",-1e3).css("top",-2200),s("#resultC101011").css("left",-1e3).css("top",-2200),s("#resultC100111").css("left",-1e3).css("top",-2200),s("#resultC011101").css("left",-1e3).css("top",-2200),s("#resultC011011").css("left",-1e3).css("top",-2200),s("#resultC010111").css("left",-1e3).css("top",-2200),s("#resultC001111").css("left",-1e3).css("top",-2200),s("#resultC111101").css("left",-1e3).css("top",-2200),s("#resultC111011").css("left",-1e3).css("top",-2200),s("#resultC110111").css("left",-1e3).css("top",-2200),s("#resultC101111").css("left",-1e3).css("top",-2200),s("#resultC011111").css("left",-1e3).css("top",-2200),s("#resultC111111").css("left",-1e3).css("top",-2200)) |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
99 }function _(t,e){$t=t;var l=1,r="",o='<div class="module-legend">';s("*[id^=label]").each(function(){o+='<div id="item-'+l+'" name="'+s(this).text()+'" class="leg-items" style="opacity:0.5; background-color:'+s(this).css("color")+r+'">',o+='<span style="background-color:white; margin-left:0px; padding:0px 2px 0px 2px; transition: margin-left .3s ease-in-out;">off</span></div>',l+=1,l>e&&(r=";display:none")}),o+="</div>",$t.append(o),s("*[id^=item]").hover(function(){s(this).css("opacity",.75),s(this).css("box-shadow","0px 0px 8px 1px lightgrey")},function(){"off"===s(this).children("span").text()&&s(this).css("opacity",.5),s(this).css("box-shadow","none")}),s("*[id^=item]").click(function(){var t=null;t="off"===s(this).children("span").text()?M(s(this).attr("name")):I(s(this).attr("name")),null!=B.searchInput&&(B.searchInput.val(""),null!=B.searchStatus&&B.searchStatus.text("")),b(),"edwards"==B.displayMode?y(e):x(e),B.displayStat&&v(e),"resultC000000"!=t&&s("#"+t).show()})}function w(){var e=new Array,l=new Array;for(l[0]=new Array,l[1]=new Array,l[2]=new Array,l[3]=new Array,l[4]=new Array,l[5]=new Array,c=0;c<B.series.length;c++){l[c]=new Array;var r=B.series[c].data;for(t=0;t<r.length;t++)r[t].length>0&&(l[c][r[t]]?l[c][r[t]]++:l[c][r[t]]=1,e[r[t]]="C")}for(t=0;6>t;t++){for(tt in l[t])e[tt]&&(e[tt]=e[tt]+"1");for(cl in e)e[cl].length<t+2&&(e[cl]=e[cl]+"0")}for(cl in e){var o=parseInt(s("#result"+e[cl]).html());if(B.useValues)for(var c=0;c<B.series.length;c++){var i=B.series[c].data.indexOf(cl);-1!=i&&(o+=parseInt(B.series[c].values[i]))}else o+=1;s("#result"+e[cl]).html(o),s("#result"+e[cl]).removeClass("number-empty")}6==B.series.length?(s("#label1").html(B.series[0].name),s("#label2").html(B.series[1].name),s("#label3").html(B.series[2].name),s("#label4").html(B.series[3].name),s("#label5").html(B.series[4].name),s("#label6").html(B.series[5].name)):5==B.series.length?(s("#label1").html(B.series[0].name),s("#label2").html(B.series[1].name),s("#label3").html(B.series[2].name),s("#label4").html(B.series[3].name),s("#label5").html(B.series[4].name)):4==B.series.length?(s("#label1").html(B.series[0].name),s("#label2").html(B.series[1].name),s("#label3").html(B.series[2].name),s("#label4").html(B.series[3].name)):3==B.series.length?(s("#label1").html(B.series[0].name),s("#label2").html(B.series[1].name),s("#label3").html(B.series[2].name)):2==B.series.length?(s("#label1").html(B.series[0].name),s("#label2").html(B.series[1].name)):1==B.series.length&&s("#label1").html(B.series[0].name),B.disableClick||(s("*[id^=resultC]").mouseover(function(){s(this).addClass("number-over")}),s("*[id^=resultC]").mouseout(function(){s(this).removeClass("number-over")}),s("*[id^=resultC]").click(B.fnClickCallback)),s("*[id^=resultC]").each(function(){this.listnames=new Array;for(var t=6;t<s(this).attr("id").length;t++)if("1"==s(this).attr("id").substring(t+1,t+2))try{this.listnames.push(B.series[t-6].name)}catch(l){}this.empty=!0,this.list=new Array;var r=s(this).attr("id").substring(6,13);for(cl in e)e[cl]==r&&(this.list.push(cl),this.empty=!1)})}function k(){var t=new Array(0,0,0,0,0,0);return s("*[id^=resultC]").each(function(){for(var e=0,l=6;l<s(this).attr("id").length;l++)e+="1"==s(this).attr("id").substring(l+1,l+2);var r=s(this).text();"?"==r&&(r=s(this).children("span").attr("title")),t[e-1]+=parseInt(r)}),t}function A(){var t=new Array(0,0,0,0,0,0);return s("*[id^=resultC]").each(function(){for(var e=6;e<s(this).attr("id").length;e++)if("1"==s(this).attr("id").substring(e+1,e+2)){var l=s(this).text();"?"==l&&(l=s(this).children("span").attr("title")),t[e-6]+=parseInt(l)}}),t}function T(t){t.A&&s("#resultC100000").html(t.A),t.B&&s("#resultC010000").html(t.B),t.C&&s("#resultC001000").html(t.C),t.D&&s("#resultC000100").html(t.D),t.E&&s("#resultC000010").html(t.E),t.F&&s("#resultC000001").html(t.F),t.AB&&s("#resultC110000").html(t.AB),t.AC&&s("#resultC101000").html(t.AC),t.AD&&s("#resultC100100").html(t.AD),t.AE&&s("#resultC100010").html(t.AE),t.AF&&s("#resultC100001").html(t.AF),t.BC&&s("#resultC011000").html(t.BC),t.BD&&s("#resultC010100").html(t.BD),t.BE&&s("#resultC010010").html(t.BE),t.BF&&s("#resultC010001").html(t.BF),t.CD&&s("#resultC001100").html(t.CD),t.CE&&s("#resultC001010").html(t.CE),t.CF&&s("#resultC001001").html(t.CF),t.DE&&s("#resultC000110").html(t.DE),t.DF&&s("#resultC000101").html(t.DF),t.EF&&s("#resultC000011").html(t.EF),t.ABC&&s("#resultC111000").html(t.ABC),t.ABD&&s("#resultC110100").html(t.ABD),t.ABE&&s("#resultC110010").html(t.ABE),t.ABF&&s("#resultC110001").html(t.ABF),t.ACD&&s("#resultC101100").html(t.ACD),t.ACE&&s("#resultC101010").html(t.ACE),t.ACF&&s("#resultC101001").html(t.ACF),t.ADE&&s("#resultC100110").html(t.ADE),t.ADF&&s("#resultC100101").html(t.ADF),t.AEF&&s("#resultC100011").html(t.AEF),t.BCD&&s("#resultC011100").html(t.BCD),t.BCE&&s("#resultC011010").html(t.BCE),t.BCF&&s("#resultC011001").html(t.BCF),t.BDE&&s("#resultC010110").html(t.BDE),t.BDF&&s("#resultC010101").html(t.BDF),t.BEF&&s("#resultC010011").html(t.BEF),t.CDE&&s("#resultC001110").html(t.CDE),t.CDF&&s("#resultC001101").html(t.CDF),t.CEF&&s("#resultC001011").html(t.CEF),t.DEF&&s("#resultC000111").html(t.DEF),t.ABCD&&s("#resultC111100").html(t.ABCD),t.ABCE&&s("#resultC111010").html(t.ABCE),t.ABCF&&s("#resultC111001").html(t.ABCF),t.ABDE&&s("#resultC110110").html(t.ABDE),t.ABDF&&s("#resultC110101").html(t.ABDF),t.ACDE&&s("#resultC101110").html(t.ACDE),t.ACDF&&s("#resultC101101").html(t.ACDF),t.BCDE&&s("#resultC011110").html(t.BCDE),t.BCDF&&s("#resultC011101").html(t.BCDF),t.CDEF&&s("#resultC001111").html(t.CDEF),t.BDEF&&s("#resultC010111").html(t.BDEF),t.BCEF&&s("#resultC011011").html(t.BCEF),t.ADEF&&s("#resultC100111").html(t.ADEF),t.ACEF&&s("#resultC101011").html(t.ACEF),t.ABEF&&s("#resultC110011").html(t.ABEF),t.ABCDE&&s("#resultC111110").html(t.ABCDE),t.ABCDF&&s("#resultC111101").html(t.ABCDF),t.ABCEF&&s("#resultC111011").html(t.ABCEF),t.ABDEF&&s("#resultC110111").html(t.ABDEF),t.ACDEF&&s("#resultC101111").html(t.ACDEF),t.BCDEF&&s("#resultC011111").html(t.BCDEF),t.ABCDEF&&s("#resultC111111").html(t.ABCDEF)}function E(){if(B.series[0].name.A&&s("#label1").html(B.series[0].name.A),B.series[0].name.B&&s("#label2").html(B.series[0].name.B),B.series[0].name.C&&s("#label3").html(B.series[0].name.C),B.series[0].name.D&&s("#label4").html(B.series[0].name.D),B.series[0].name.E&&s("#label5").html(B.series[0].name.E),B.series[0].name.F&&s("#label6").html(B.series[0].name.F),B.series[0].hasOwnProperty("values")&&B.series[0].hasOwnProperty("data"))T(B.series[0].values);else if(B.series[0].hasOwnProperty("data")){var t={};for(var e in B.series[0].data)t[e]=B.series[0].data[e].length;T(t)}else B.series[0].hasOwnProperty("values")&&T(B.series[0].values);s("*[id^=resultC]").each(function(){this.listnames=new Array;for(var t=6;t<s(this).attr("id").length;t++)if("1"==s(this).attr("id").substring(t+1,t+2))try{t-6==0?this.listnames.push(B.series[0].name.A):t-6==1?this.listnames.push(B.series[0].name.B):t-6==2?this.listnames.push(B.series[0].name.C):t-6==3?this.listnames.push(B.series[0].name.D):t-6==4?this.listnames.push(B.series[0].name.E):t-6==5&&this.listnames.push(B.series[0].name.F)}catch(e){}if(B.series[0].hasOwnProperty("data")){for(var l="",t=6;t<s(this).attr("id").length;t++)"1"==s(this).attr("id").substring(t+1,t+2)&&(6==t?l+="A":7==t?l+="B":8==t?l+="C":9==t?l+="D":10==t?l+="E":11==t&&(l+="F"));this.list=B.series[0].data[l],B.disableClick||(s(this).mouseover(function(){s(this).addClass("number-over")}),s(this).mouseout(function(){s(this).removeClass("number-over")}),s(this).click(B.fnClickCallback))}s(this).text()>0&&s(this).removeClass("number-empty")})}function z(){if(B.series.length>1)return new Array("list",B.series.length);if(void 0!=B.series[0]&&B.series[0].name.A){var s=0;for(i in B.series[0].name)s++;return new Array("count",s)}return new Array("list",B.series.length)}function P(s,t,e,l,r,o,c,i,a){return a?(t=parseInt(t.replace("px",""))+20,e=parseInt(e.replace("px",""))+14):(t=parseInt(t.replace("px",""))+5,e=parseInt(e.replace("px",""))+14),'<text fill="'+l+'" fill-opacity="'+r+'" stroke="none" font-family="'+o+'" font-size="'+c+'"pt font-style="normal" font-weight="'+i+'" text-decoration="none" x="'+t+'"pt y="'+e+'"pt text-anchor="middle" dominant-baseline="alphabetic">'+s+"</text>"}function S(t,e,l){$t=t;var r='<div id="module-export" style="position: relative; left:475px; top: -'+(418+e)+'px; width: 25px; height: 20px;">';r+='<a id="data-export" href="" download="" style="display:none;"></a>',r+='<canvas id="canvasExport" style="border:1px solid white" width="25" height="20"></canvas>',r+='<div id="export-menu" style="position: relative;width:150px; height:30px; display:none; right:123px; top:-4px;">',r+='<div style="box-shadow: 3px 3px 10px rgb(136, 136, 136); border: 1px solid rgb(160, 160, 160); background: none repeat scroll 0% 0% rgb(255, 255, 255);padding: 5px 0px;">',r+='<div id="format-png" style="padding: 0px 10px; background: none repeat scroll 0% 0% transparent; color: rgb(48, 48, 48); font-size: 12px;">Download PNG image</div>',r+='<div id="format-svg" style="padding: 0px 10px; background: none repeat scroll 0% 0% transparent; color: rgb(48, 48, 48); font-size: 12px;">Download SVG image</div>',"list"==l&&(r+='<div id="format-csv" style="padding: 0px 10px; background: none repeat scroll 0% 0% transparent; color: rgb(48, 48, 48); font-size: 12px;">Download CSV lists</div>'),r+="</div>",r+="</div>",r+="</div>",$t.append(r);var o=s("#canvasExport")[0],c=o.getContext("2d");for(i=0;3>i;i++)c.lineWidth=3,c.beginPath(),c.lineCap="round",c.moveTo(5,5+5.2*i),c.lineTo(20,5+5.2*i),c.strokeStyle="#666",c.stroke();var a=s("#export-menu"),u=s("#canvasExport").css("background");s("#format-png").click(function(){s("#canvasExport").css("background",u),s("#canvasExport").css("border-color","white"),s("#canvasExport").hover(function(){s(this).css("background","linear-gradient(to bottom, white, #AECEFF) repeat scroll 0 0 transparent"),s(this).css("border","1px solid #6688AA"),s(this).css("border-radius","3px")},function(){s(this).css("background",u),s(this).css("border-color","white")}),a.hide();var t=document.createElement("canvas");export_ctx=t.getContext("2d"),t.width=O,t.height=N;var e=document.createElement("img"),l=s("<div></div>");l.append(j.getSerializedSvg(!0)),s("[id^=resultC]").each(function(){"none"!=s(this).css("display")&&(value=0===s(this).html().indexOf("<span")?"?":s(this).html(),l.children("svg").children("g").append(P(value,s(this).css("left"),s(this).css("top"),s(this).css("color"),s(this).css("opacity"),s(this).css("font-family"),s(this).css("font-size"),s(this).css("font-weight"),!1)))}),s("[id^=label]").each(function(){l.children("svg").children("g").append(P(s(this).html(),s(this).css("left"),s(this).css("top"),s(this).css("color"),s(this).css("opacity"),s(this).css("font-family"),s(this).css("font-size"),s(this).css("font-weight"),!0))}),e.setAttribute("src","data:image/svg+xml;base64,"+window.btoa(l.html())),e.setAttribute("height","700px"),e.setAttribute("width","500px"),e.onload=function(){export_ctx.drawImage(e,0,0);var l=t.toDataURL("image/png");s("#data-export").attr("href",l),s("#data-export").attr("download","jVenn_chart.png"),s("#data-export")[0].click()}}),s("#format-svg").click(function(){s("#canvasExport").css("background",u),s("#canvasExport").css("border-color","white"),s("#canvasExport").hover(function(){s(this).css("background","linear-gradient(to bottom, white, #AECEFF) repeat scroll 0 0 transparent"),s(this).css("border","1px solid #6688AA"),s(this).css("border-radius","3px")},function(){s(this).css("background",u),s(this).css("border-color","white")}),a.hide();var t=s("<div></div>");t.append(j.getSerializedSvg(!0)),s("[id^=resultC]").each(function(){"none"!=s(this).css("display")&&(value=0===s(this).html().indexOf("<span")?"?":s(this).html(),t.children("svg").children("g").append(P(value,s(this).css("left"),s(this).css("top"),s(this).css("color"),s(this).css("opacity"),s(this).css("font-family"),s(this).css("font-size"),s(this).css("font-weight"),!1)))}),s("[id^=label]").each(function(){t.children("svg").children("g").append(P(s(this).html(),s(this).css("left"),s(this).css("top"),s(this).css("color"),s(this).css("opacity"),s(this).css("font-family"),s(this).css("font-size"),s(this).css("font-weight"),!0))});var e="data:image/svg+xml;base64,"+window.btoa(t.html()),l=encodeURI(e);s("#data-export").attr("href",l),s("#data-export").attr("download","jVenn_chart.svg"),s("#data-export")[0].click()}),s("#format-csv").click(function(){s("#canvasExport").css("background",u),s("#canvasExport").css("border-color","white"),s("#canvasExport").hover(function(){s(this).css("background","linear-gradient(to bottom, white, #AECEFF) repeat scroll 0 0 transparent"),s(this).css("border","1px solid #6688AA"),s(this).css("border-radius","3px")},function(){s(this).css("background",u),s(this).css("border-color","white")}),a.hide();var t=new Array,e=!1;s("*[id^=resultC]").each(function(){if(!this.empty){var s=new Array,l=this.listnames.join("|");l.indexOf(",")>=0&&(e=!0,l=l.replace(/,/g,"_")),s.push(l);for(var r=0;r<this.list.length;r++)l=this.list[r],this.list[r].indexOf(",")>=0&&(e=!0,l=this.list[r].replace(/,/g,"_")),s.push(l);t.push(s)}});var l="data:text/csv;charset=utf-8,";e&&(l+="##\n## Warning: comma(s) have been replaced by underscore(s)\n##\n"),g(t).forEach(function(s){l+=s.join(",")+"\n"});var r=encodeURI(l);s("#data-export").attr("href",r),s("#data-export").attr("download","jVenn.csv"),s("#data-export")[0].click()}),s("#canvasExport").click(function(){s(this).css("background","linear-gradient(to bottom, #AECEFF, white) repeat scroll 0 0 transparent"),s(this).css("border","1px solid #6688AA"),s("#canvasExport").unbind("mouseenter mouseleave"),a.show(),a.is(":visible")&&s(document).mouseup(function(t){0===a.has(t.target).length&&(s("#canvasExport").css("background",u),s("#canvasExport").css("border-color","white"),s("#canvasExport").hover(function(){s(this).css("background","linear-gradient(to bottom, white, #AECEFF) repeat scroll 0 0 transparent"),s(this).css("border","1px solid #6688AA"),s(this).css("border-radius","3px")},function(){s(this).css("background",u),s(this).css("border-color","white")}),a.hide())});var t=s("div[id^=format-]").css("background");s("div[id^=format-]").hover(function(){s(this).css("background","rgba(69,114,165,0.75)"),s(this).css("color","white")},function(){s(this).css("background",t),s(this).css("color","")})}),s("#canvasExport").hover(function(){s(this).css("background","linear-gradient(to bottom, white, #AECEFF) repeat scroll 0 0 transparent"),s(this).css("border","1px solid #6688AA"),s(this).css("border-radius","3px")},function(){s(this).css("background",u),s(this).css("border-color","white")})}function I(t,e){var e=null==e?!0:e,l=null;s("*[id^=label]").each(function(){if(s(this).html()==t){s(this).css("opacity",.1),s(this).removeClass("is-selected");var e=s(this).attr("id");l=e.charAt(e.length-1)}}),legend_button=s("#item-"+l),legend_button.children("span").css("margin-left","0px"),legend_button.css("opacity",.5),legend_button.children("span").text("off");var r="resultC000000";return s(".is-selected").each(function(){var t=s(this).attr("id"),e=6+parseInt(t.charAt(t.length-1));r=r.substr(0,e)+1+r.substr(e+1)}),"resultC000000"==r&&e?(s(".number-black").each(function(){s(this).css("opacity",1)}),s("*[id^=label]").each(function(){s(this).css("opacity",.6)})):s(".number-black").each(function(){s(this).attr("id")==r?s(this).css("opacity",1):s(this).css("opacity",.1)}),r}function M(t){var e=null;s("*[id^=label]").each(function(){if(s(this).html()==t){s(this).css("opacity",.6),s(this).addClass("is-selected");var l=s(this).attr("id");e=l.charAt(l.length-1)}else s(this).hasClass("is-selected")||s(this).css("opacity",.1)}),legend_button=s("#item-"+e),legend_button.children("span").css("margin-left","13px"),legend_button.css("opacity",.75),legend_button.css("color","black"),legend_button.children("span").text("on");var l="resultC000000";return s(".is-selected").each(function(){var t=s(this).attr("id"),e=6+parseInt(t.charAt(t.length-1));l=l.substr(0,e)+1+l.substr(e+1)}),s(".number-black").each(function(){s(this).attr("id")==l?s(this).css("opacity",1):s(this).css("opacity",.1)}),l}function F(t,e){var e=null==e?1:e,l=new Array,r="resultC000000",o=0;if(s("*[id^=label]").each(function(){""!=s(this).html()&&(l[s(this).html()]="unselected")}),""==t||e>t.length)for(var c in l)r=I(c);else{var i=null,a=!1;if(s(".number-black:not(.number-empty)").each(function(){for(var s=0;s<this.list.length&&!a;s++)-1!=this.list[s].indexOf(t)&&(this.list[s]==t&&(a=!0),i=this.listnames,o++)}),1==o||a){for(var u=0;u<i.length;u++)l[i[u]]="selected";o=1}if(1>=o)for(var c in l)r="selected"==l[c]?M(c):I(c,!1);else for(var c in l)r=I(c)}null!=B.searchStatus&&(""==t||e>t.length?B.searchStatus.text(""):0==o?B.searchStatus.text("not found"):1==o?B.searchStatus.text("found"):o>1&&B.searchStatus.text("ambiguous")),b(),"edwards"==B.displayMode?y(z()[1]):x(z()[1]),B.displayStat&&v(z()[1]),"resultC000000"!=r&&s("#"+r).show()}var D={series:[{name:"Actors",data:["Marilyn Monroe","Arnold Schwarzenegger","Jack Nicholson","Barbra Streisand","Robert de Niro","Dean Martin","Harrison Ford"]},{name:"Singers",data:["Freddy Mercury","Barbra Streisand","Dean Martin","Ricky Martin","Celine Dion","Marilyn Monroe"]}],fnClickCallback:function(){var s="";s+=1==this.listnames.length?"Elements only in ":"Common elements in ";for(name in this.listnames)s+=this.listnames[name]+" ";s+=":\n";for(val in this.list)s+=this.list[val]+"\n";alert(s)},disableClick:!1,useValues:!1,exporting:!0,displayMode:"classic",displayStat:!1,shortNumber:!0,searchInput:null,searchStatus:null,searchMinSize:1,colors:["rgb(0,102,0)","rgb(90,155,212)","rgb(241,90,96)","rgb(250,220,91)","rgb(255,117,0)","rgb(192,152,83)"],fontSize:"12px",fontFamily:"Arial"},B=s.extend(D,e),O=500,N=415,j=null;return this.each(function(){var t=s(this),e=0;B.displayStat&&(e=280,N+=e),t.css({width:"500px",height:""+(450+e)+"px"}),s("<style>.number-black{font-weight:bold;color:#000000;text-decoration:none;font-size:12px;}.number-over{font-weight:bold;cursor:pointer;color:#0000FF;text-decoration:underline;}.number-empty{font-weight:normal;font-size:12px;}</style>").appendTo("body");var l=434,r=130;"edwards"==B.displayMode&&(l=10,r=425),s("<style>.module-legend{border:1px solid lightgrey;border-radius:5px;position:relative;left:"+l+"px;top:-"+(r+e)+"px;width:35px;padding-bottom:3px}</style>").appendTo("body"),s("<style>.leg-items{padding-top:1px;margin:3px 3px 0px 3px;cursor:pointer;border: 1px solid grey;border-radius:2px;width:27px;height:11px;font-size:0.65em;line-height:10px;opacity:0.75}</style>").appendTo("body");var o='<div id="frame" style="position: relative; left: 0pt; top: 5pt; width: 500px; height: "'+(445+e)+'px;">';o+='<div id="canvasEllipse" width="500px" height="'+(415+e)+'px;"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111000"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111100"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111010"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111110"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC000111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC001111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC010111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC011111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC100111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC101111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC110111"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111001"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111011"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111101"></div>',o+='<div class="number-black" style="position: absolute; left: -1000px; top: -2200px;" id="resultC111111"></div>',o+='<div style="position: absolute; left: -1000px; top: -1000px; opacity:0.5;" id="label1"></div>',o+='<div style="position: absolute; left: -1000px; top: -1000px; opacity:0.5;" id="label2"></div>',o+='<div style="position: absolute; left: -1000px; top: -1000px; opacity:0.5;" id="label3"></div>',o+='<div style="position: absolute; left: -1000px; top: -1000px; opacity:0.5;" id="label4"></div>',o+='<div style="position: absolute; left: -1000px; top: -1000px; opacity:0.5;" id="label5"></div>',o+='<div style="position: absolute; left: -1000px; top: -1000px; opacity:0.5;" id="label6"></div>',o+="</div>",t.html(o),j=new C2S(O,N),s("*[id^=resultC]").each(function(){s(this).html(0),s(this).addClass("number-empty"),s(this).css("font-size",B.fontSize),s(this).css("font-family",B.fontFamily)}),s("*[id^=label]").each(function(){s(this).css("font-family",B.fontFamily)});var c=z();"list"==c[0]?w():"count"==c[0]&&E(),null!=B.searchInput&&B.searchInput.keyup(function(){F(B.searchInput.val(),B.searchMinSize)}),"edwards"==B.displayMode?y(c[1]):x(c[1]),B.displayStat&&v(c[1]),B.exporting===!0&&S(t,e,c[0]),c[1]>=4&&_(t,c[1]),s(".number-black").hover(function(){var t=!1;s("*[id^=item]").each(function(){"on"===s(this).children("span").text()&&(t=!0)});var e=!1;if(null!=B.searchInput&&""!=B.searchInput.val()&&(e=!0),!t&&!e&&""!==s(this).text()){var l=this.listnames,r=this;s("*[id^=label]").each(function(){l.indexOf(s(this).text())<0?s(this).css("opacity",.1):s(this).css("opacity",.6)}),s(".number-black").each(function(){this!=r&&s(this).css("opacity",.1)}),b(),"edwards"==B.displayMode?y(c[1]):x(c[1]),B.displayStat&&v(c[1])}},function(){var t=!1;s("*[id^=item]").each(function(){"on"===s(this).children("span").text()&&(t=!0)});var e=!1;if(null!=B.searchInput&&""!=B.searchInput.val()&&(e=!0),!t&&!e&&""!==s(this).text()){{this.listnames}s("*[id^=label]").each(function(){s(this).css("opacity",.5)}),s(".number-black").each(function(){s(this).css("opacity",1)}),b(),"edwards"==B.displayMode?y(c[1]):x(c[1]),B.displayStat&&v(c[1])}}),s("#canvasEllipse").html(j.getSvg())}),this}}(jQuery); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
100 </script> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
101 <script type="text/javascript"> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
102 /* |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
103 * HTMLTable.js 0.1.0 - HTMLTable Library |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
104 * |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
105 * Copyright (c) 2015 Escudie Frederic |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
106 * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
107 */ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
108 function HTMLtable(e){var t,r,n=e,a=";";this.deleteColumns=function(e){for(var a=n.getElementsByTagName("tr"),o=0;o<a.length;o++){s=0;var i=a[o].getElementsByTagName("td");0==i.length&&(i=a[o].getElementsByTagName("th"));for(var v=0,s=0;s<t[1];s++)if(!r[o][s]){var f=i[v].getAttribute("colspan");if(null!=f)for(var m=0;f>m;m++){if(in_array(s+m,e)){var u=i[v].getAttribute("colspan");u-1==0?i[v].removeAttribute("colspan"):i[v].setAttribute("colspan",u-1)}if(null==i[v].getAttribute("colspan")){var h=i[v];a[o].removeChild(h),v--}}else if(in_array(s,e)){var h=i[v];a[o].removeChild(h),v--}v++}}l(),g()},this.filter=function(e,a){var l=new RegExp(e),g=new Array;null!=a&&a||(g.c0=!0);for(var o=n.getElementsByTagName("tr"),i=0;i<o.length;i++){f=0;var v=o[i].getElementsByTagName("td");if(0!=v.length)for(var s=0,f=0;f<t[1];f++)r[i][f]||(l.test(v[s].innerHTML)&&(g["c"+f]=!0),s++)}for(var m=new Array,u=0;u<t[1];u++)void 0===g["c"+u]&&m.push(u);this.deleteColumns(m)},this.getModel=function(){return n};var l=function(){for(var e=0,r=0,a=n.getElementsByTagName("tr"),l=0;l<a.length;l++){var g=0;e++;var o=a[l].getElementsByTagName("td");0==o.length&&(o=a[l].getElementsByTagName("th"));for(var i=0;i<o.length;i++){var v=o[i].getAttribute("colspan");g+=null==v?1:parseInt(v)}g>r&&(r=g)}t=new Array(2),t[0]=e,t[1]=r},g=function(){r=new Array(t[0]);for(var e=0;e<t[0];e++){r[e]=new Array(t[1]);for(var a=0;a<t[1];a++)r[e][a]=!1}for(var l=n.getElementsByTagName("tr"),g=0;g<l.length;g++){v=0;var o=l[g].getElementsByTagName("td");0==o.length&&(o=l[g].getElementsByTagName("th"));for(var i=0,v=0;v<t[1];v++)if(!r[g][v]){var s=0,f=0,m=o[i].getAttribute("rowspan");null!=m&&(s=parseInt(m)-1);var u=o[i].getAttribute("colspan");null!=u&&(f=parseInt(u)-1);for(var h=s;h>=0;h--)for(var y=f;y>=0;y--)(0!=h||0!=y)&&(r[g+h][v+y]=!0);i++}}};this.replace=function(e,a,l){var g=new RegExp(e);null==a&&(a=""),null==l&&(l="");for(var o=n.getElementsByTagName("tr"),i=0;i<o.length;i++){f=0;var v=o[i].getElementsByTagName("td");if(0!=v.length)for(var s=0,f=0;f<t[1];f++)if(!r[i][f]){var m=g.exec(v[s].innerHTML);null!=m&&(void 0===m[1]&&(m[1]=""),v[s].innerHTML=a+m[1]+l),s++}}},this.toCSV=function(){for(var e="",l=n.getElementsByTagName("tr"),g=0;g<l.length;g++){var o=l[g].getElementsByTagName("td");0==o.length&&(o=l[g].getElementsByTagName("th"));for(var i=0,v=0;v<t[1];v++)r[g][v]||(e+=o[i].innerHTML,i++),e+=a;e=e.substr(0,e.length-1)+"\n"}return e},l(),g()}var in_array=function(e,t){for(var r in t)if(t[r]==e)return!0;return!1}; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
109 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
110 /* |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
111 * dataTableExtractor.plugin.js 0.1.0 - datatableExport Library |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
112 * |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
113 * Copyright (c) 2015 Escudie Frederic |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
114 * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
115 */ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
116 !function(t){t.fn.datatableExport=function(a){var e={anchor_id:t(this).attr("id"),table_id:null,csv_separator:";",omitted_columns:[]},n=t.extend(e,a);if(!t(this).length)throw"The element where the datatableExport is called does not exist.";if(void 0==n.anchor_id)throw"The datatableExport plugin must be called on an element with id.";if(null==n.table_id)throw"You must set the table_id parameter in datatableExport plugin.";if(!t("#"+n.table_id))throw"The datatable '#"+n.table_id+"' cannot be retieve in DOM.";return this.each(function(){var a=t(this);a.on("click",function(){t.fn.datatableExport.csv(n.anchor_id,n.table_id,n.csv_separator,n.omitted_columns)})})},t.fn.datatableExport.cleanCellMarkup=function(a,e){t.parseHTML(e);t("#"+a).append('<div class="hidden data-tmp">'+e+"</div>"),t("#"+a+" .data-tmp").find("input").each(function(){var a="";a=t(this).is(":checkbox")?t(this).is(":checked")?"true":"false":t(this).val(),t(this).replaceWith(a)});var n=t("#"+a+" .data-tmp").text();return t("#"+a+" .data-tmp").remove(),n},t.fn.datatableExport.csv=function(a,e,n,i){var l="",r=t("#"+e).DataTable(),d=t("#"+e+" thead")[0],o=new HTMLtable(d.cloneNode(!0));o.deleteColumns(i),l+=o.toCSV();var c=r.rows().data();t.each(c,function(e,n){for(var r="",d=0;d<n.length;d++)-1==t.inArray(d,i)&&(r+='"'+t.fn.datatableExport.cleanCellMarkup(a,n[d])+'";');""!=r&&(r=r.slice(0,-1)),l+=r+"\n"}),t("#"+a+"-extract-csv").length||t("#"+a).append('<a id="'+a+'-extract-csv" href="data:text/csv;charset=UTF-8,'+encodeURI(l)+'" download="data.csv" style="display:none;"></a>'),t("#"+a+"-extract-csv")[0].click()}}(jQuery); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
117 </script> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
118 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
119 <script type="text/javascript"> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
120 /* |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
121 $(document).ready(function(){ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
122 $('#example').jvenn({ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
123 series: [{ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
124 name: {A: 'Actors', |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
125 B: 'Singers'}, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
126 data: {A: ["Arnold Schwarzenegger", "Jack Nicholson", "Robert de Niro", "Harrison Ford"], B: ["Freddy Mercury", "Ricky Martin", "Celine Dion"], AB: ["Marilyn Monroe", "Barbra Streisand", "Dean Martin"]}, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
127 values: {A: 4, B: 3, AB: 3} |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
128 }], |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
129 }); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
130 }); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
131 */ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
132 var jvenn_data = ###JVENN_DATA### ; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
133 $(document).ready(function(){ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
134 $('#example').jvenn(jvenn_data); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
135 }); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
136 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
137 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
138 // |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
139 // Data |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
140 // |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
141 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
142 //var processed_filters = ###PORCESSED_FILTERS### ; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
143 /* Example: |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
144 ['filterA', 'filterB', 'filterC'] |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
145 */ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
146 //var global_results = ###GLOBAL_RESULTS### ; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
147 /* Example: |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
148 { |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
149 'nb_clstr_kept': 100, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
150 'nb_clstr_ini': 300, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
151 'nb_seq_kept': 100, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
152 'nb_seq_ini': 100000 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
153 } |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
154 */ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
155 //var by_samples_results = ###SAMPLES_RESULTS### ; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
156 /* Example: |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
157 { |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
158 'sampleA':{ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
159 'filtered':{ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
160 'filterA': 10, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
161 'filterB': 20 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
162 }, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
163 'initial': 75, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
164 'kept': 50 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
165 }, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
166 'sampleB':{ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
167 'filtered':{ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
168 'filterB': 20, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
169 }, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
170 'initial': 110, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
171 'kept': 90 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
172 } |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
173 } |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
174 */ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
175 //var by_filters_results = ###FILTERS_RESULTS### ; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
176 /* Example: |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
177 [ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
178 {'filters':['filterA'], 'count': 10}, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
179 {'filters':['filterB'], 'count': 20}, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
180 {'filters':['filterC'], 'count': 30}, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
181 {'filters':['filterA', 'filterB'], 'count': 1}, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
182 {'filters':['filterA', 'filterC'], 'count': 2}, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
183 {'filters':['filterB', 'filterC'], 'count': 3}, |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
184 {'filters':['filterA', 'filterB', 'filterC'], 'count': 4} |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
185 ]; |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
186 */ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
187 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
188 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
189 // |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
190 // Main |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
191 // |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
192 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
193 $(function() { |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
194 // Remove alert |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
195 $('#js-alert').remove(); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
196 $('#content').removeClass("hidden"); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
197 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
198 // Load active tab |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
199 global_filters_load(); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
200 intersections_filters_load(); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
201 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
202 // Add tab listener |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
203 $('.nav-tabs a').click(function (e) { |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
204 e.preventDefault(); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
205 $(this).tab('show'); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
206 if( $(this).attr('href') == "#view-by-samples" && $('#view-by-samples').hasClass('disabled') ){ |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
207 $('#view-by-samples').removeClass('disabled') |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
208 samples_filters_load( "filter-log" ); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
209 } |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
210 }) |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
211 }); |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
212 </script> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
213 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
214 </head> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
215 <body> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
216 <!-- Alert --> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
217 <p id="js-alert" class="alert alert-warning"> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
218 javascript is needed to display data.<br /> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
219 If you try to view this data on galaxy please contact your administrator to authorise javascript or download the file to view. |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
220 </p> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
221 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
222 <!-- Content --> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
223 <div id="example"></div> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
224 </div> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
225 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
226 |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
227 </body> |
9d4f20618ab4
planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
proteore
parents:
diff
changeset
|
228 </html> |