/**
* (c) 2008 mOblu, inc.
* All rights are reserved. Copying or other reproduction of this program is prohibited.
*/
window.Raphael=(function(){var _1=/[, ]+/,_2=document,_3=window,_4={was:"Raphael" in _3,is:_3.Raphael},R=function(){if(R.is(arguments[0],"array")){var a=arguments[0],_7=_8[_9](R,a.splice(0,3+R.is(a[0],nu))),_b=_7.set();for(var i=0,ii=a[_e];i<ii;i++){var j=a[i]||{};({circle:1,rect:1,path:1,ellipse:1,text:1,image:1})[has](j.type)&&_b[_11](_7[j.type]().attr(j));}return _b;}return _8[_9](R,arguments);},_12="appendChild",_9="apply",_13="concat",E="",_15=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup"],has="hasOwnProperty",_16=/^\[object\s+|\]$/gi,_17="join",_e="length",_18="prototype",_19=String[_18].toLowerCase,_1a=Math.max,_1b=Math.min,nu="number",_1c="toString",_1d=Object[_18][_1c],_1e={},pow=Math.pow,_11="push",rg=/^(?=[\da-f]$)/,_21=/^url\(['"]?([^\)]+)['"]?\)$/i,_22=Math.round,S=" ",_24="setAttribute",_25="split",_26=parseFloat,_27=parseInt,_28=String[_18].toUpperCase,_29={"clip-rect":"0 0 10e9 10e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:"10px \"Arial\"","font-family":"\"Arial\"","font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/",opacity:1,path:"M0,0",r:0,rotation:0,rx:0,ry:0,scale:"1 1",src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",translation:"0 0",width:0,x:0,y:0},_2a={"clip-rect":"csv",cx:nu,cy:nu,fill:"colour","fill-opacity":nu,"font-size":nu,height:nu,opacity:nu,path:"path",r:nu,rotation:"csv",rx:nu,ry:nu,scale:"csv",stroke:"colour","stroke-opacity":nu,"stroke-width":nu,translation:"csv",width:nu,x:nu,y:nu},rp="replace";R.version="1.2.5";R.type=(_3.SVGAngle||_2.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML");R.svg=!(R.vml=R.type=="VML");R._id=0;R._oid=0;R.fn={};R.is=function(o,_2d){_2d=_19.call(_2d);return ((_2d=="object"||_2d=="undefined")&&typeof o==_2d)||(o==null&&_2d=="null")||_19.call(_1d.call(o)[rp](_16,E))==_2d;};R.setWindow=function(_2e){_3=_2e;_2=_3.document;};var _2f=function(_30){if(R.vml){var _31=/^\s+|\s+$/g;_2f=cacher(function(_32){var bod;_32=(_32+E).replace(_31,E);try{var _34=new ActiveXObject("htmlfile");_34.write("<body>");_34.close();bod=_34.body;}catch(e){bod=createPopup().document.body;}var _35=bod.createTextRange();try{bod.style.color=_32;var _36=_35.queryCommandValue("ForeColor");_36=((_36&255)<<16)|(_36&65280)|((_36&16711680)>>>16);return "#"+("000000"+_36[_1c](16)).slice(-6);}catch(e){return "none";}});}else{var i=_2.createElement("i");i.className="Rapha?l Colour Picker";i.style.cssText="display:none";_2.body[_12](i);_2f=cacher(function(_38){i.style.color=_38;return _2.defaultView.getComputedStyle(i,E).getPropertyValue("color");});}return _2f(_30);};R.hsb2rgb=cacher(function(hue,_3a,_3b){if(R.is(hue,"object")&&"h" in hue&&"s" in hue&&"b" in hue){_3b=hue.b;_3a=hue.s;hue=hue.h;}var red,_3d,_3e;if(_3b==0){return {r:0,g:0,b:0,hex:"#000"};}if(hue>1||_3a>1||_3b>1){hue/=255;_3a/=255;_3b/=255;}var i=~~(hue*6),f=(hue*6)-i,p=_3b*(1-_3a),q=_3b*(1-(_3a*f)),t=_3b*(1-(_3a*(1-f)));red=[_3b,q,p,p,t,_3b,_3b][i];_3d=[t,_3b,_3b,q,p,p,t][i];_3e=[p,p,t,_3b,_3b,q,p][i];red*=255;_3d*=255;_3e*=255;var rgb={r:red,g:_3d,b:_3e},r=(~~red)[_1c](16),g=(~~_3d)[_1c](16),b=(~~_3e)[_1c](16);r=r[rp](rg,"0");g=g[rp](rg,"0");b=b[rp](rg,"0");rgb.hex="#"+r+g+b;return rgb;},R);R.rgb2hsb=cacher(function(red,_49,_4a){if(R.is(red,"object")&&"r" in red&&"g" in red&&"b" in red){_4a=red.b;_49=red.g;red=red.r;}if(R.is(red,"string")){var clr=R.getRGB(red);red=clr.r;_49=clr.g;_4a=clr.b;}if(red>1||_49>1||_4a>1){red/=255;_49/=255;_4a/=255;}var max=_1a(red,_49,_4a),min=_1b(red,_49,_4a),hue,_4f,_50=max;if(min==max){return {h:0,s:0,b:max};}else{var _51=(max-min);_4f=_51/max;if(red==max){hue=(_49-_4a)/_51;}else{if(_49==max){hue=2+((_4a-red)/_51);}else{hue=4+((red-_49)/_51);}}hue/=6;hue<0&&hue++;hue>1&&hue--;}return {h:hue,s:_4f,b:_50};},R);var p2s=/,?([achlmqrstvxz]),?/gi;R._path2string=function(){return this.join(",")[rp](p2s,"$1");};function cacher(f,_54,_55){function newf(){var arg=Array[_18].slice.call(arguments,0),_57=arg[_17]("?"),_58=newf.cache=newf.cache||{},_59=newf.count=newf.count||[];if(_58[has](_57)){return _55?_55(_58[_57]):_58[_57];}_59[_e]>=1000&&delete _58[_59.shift()];_59[_11](_57);_58[_57]=f[_9](_54,arg);return _55?_55(_58[_57]):_58[_57];};return newf;};R.getRGB=cacher(function(_5a){if(!_5a||!!((_5a+E).indexOf("-")+1)){return {r:-1,g:-1,b:-1,hex:"none",error:1};}_5a=_5a+E;if(_5a=="none"){return {r:-1,g:-1,b:-1,hex:"none"};}!({hs:1,rg:1})[has](_5a.substring(0,2))&&(_5a=_2f(_5a));var res,red,_5d,_5e,rgb=_5a.match(/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgb\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|rgb\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\)|hs[bl]\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|hs[bl]\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\))\s*$/i);if(rgb){if(rgb[2]){_5e=_27(rgb[2].substring(5),16);_5d=_27(rgb[2].substring(3,5),16);red=_27(rgb[2].substring(1,3),16);}if(rgb[3]){_5e=_27(rgb[3].substring(3)+rgb[3].substring(3),16);_5d=_27(rgb[3].substring(2,3)+rgb[3].substring(2,3),16);red=_27(rgb[3].substring(1,2)+rgb[3].substring(1,2),16);}if(rgb[4]){rgb=rgb[4][_25](/\s*,\s*/);red=_26(rgb[0]);_5d=_26(rgb[1]);_5e=_26(rgb[2]);}if(rgb[5]){rgb=rgb[5][_25](/\s*,\s*/);red=_26(rgb[0])*2.55;_5d=_26(rgb[1])*2.55;_5e=_26(rgb[2])*2.55;}if(rgb[6]){rgb=rgb[6][_25](/\s*,\s*/);red=_26(rgb[0]);_5d=_26(rgb[1]);_5e=_26(rgb[2]);return R.hsb2rgb(red,_5d,_5e);}if(rgb[7]){rgb=rgb[7][_25](/\s*,\s*/);red=_26(rgb[0])*2.55;_5d=_26(rgb[1])*2.55;_5e=_26(rgb[2])*2.55;return R.hsb2rgb(red,_5d,_5e);}rgb={r:red,g:_5d,b:_5e};var r=(~~red)[_1c](16),g=(~~_5d)[_1c](16),b=(~~_5e)[_1c](16);r=r[rp](rg,"0");g=g[rp](rg,"0");b=b[rp](rg,"0");rgb.hex="#"+r+g+b;return rgb;}return {r:-1,g:-1,b:-1,hex:"none",error:1};},R);R.getColor=function(_63){var _64=this.getColor.start=this.getColor.start||{h:0,s:1,b:_63||0.75},rgb=this.hsb2rgb(_64.h,_64.s,_64.b);_64.h+=0.075;if(_64.h>1){_64.h=0;_64.s-=0.2;_64.s<=0&&(this.getColor.start={h:0,s:1,b:_64.b});}return rgb.hex;};R.getColor.reset=function(){delete this.start;};R.parsePathString=cacher(function(_66){if(!_66){return null;}var _67={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},_68=[];if(R.is(_66,"array")&&R.is(_66[0],"array")){_68=pathClone(_66);}if(!_68[_e]){(_66+E)[rp](/([achlmqstvz])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?\s*,?\s*)+)/ig,function(a,b,c){var _6c=[],_6d=_19.call(b);c[rp](/(-?\d*\.?\d*(?:e[-+]?\d+)?)\s*,?\s*/ig,function(a,b){b&&_6c[_11](+b);});while(_6c[_e]>=_67[_6d]){_68[_11]([b][_13](_6c.splice(0,_67[_6d])));if(!_67[_6d]){break;}}});}_68[_1c]=R._path2string;return _68;});var _70=cacher(function(_71){if(!_71){return {x:0,y:0,width:0,height:0};}_71=_72(_71);var x=0,y=0,X=[],Y=[],p;for(var i=0,ii=_71[_e];i<ii;i++){p=_71[i];if(p[0]=="M"){x=p[1];y=p[2];X[_11](x);Y[_11](y);}else{var dim=_7b(x,y,p[1],p[2],p[3],p[4],p[5],p[6]);X=X[_13](dim.min.x,dim.max.x);Y=Y[_13](dim.min.y,dim.max.y);x=p[5];y=p[6];}}var _7c=_1b[_9](0,X),_7d=_1b[_9](0,Y);return {x:_7c,y:_7d,width:_1a[_9](0,X)-_7c,height:_1a[_9](0,Y)-_7d};}),_7e=function(_7f){var res=[];if(!R.is(_7f,"array")||!R.is(_7f&&_7f[0],"array")){_7f=R.parsePathString(_7f);}for(var i=0,ii=_7f[_e];i<ii;i++){res[i]=[];for(var j=0,jj=_7f[i][_e];j<jj;j++){res[i][j]=_7f[i][j];}}res[_1c]=R._path2string;return res;},_85=cacher(function(_86){if(!R.is(_86,"array")||!R.is(_86&&_86[0],"array")){_86=R.parsePathString(_86);}var res=[],x=0,y=0,mx=0,my=0,_8c=0;if(_86[0][0]=="M"){x=_86[0][1];y=_86[0][2];mx=x;my=y;_8c++;res[_11](["M",x,y]);}for(var i=_8c,ii=_86[_e];i<ii;i++){var r=res[i]=[],pa=_86[i];if(pa[0]!=_19.call(pa[0])){r[0]=_19.call(pa[0]);switch(r[0]){case "a":r[1]=pa[1];r[2]=pa[2];r[3]=pa[3];r[4]=pa[4];r[5]=pa[5];r[6]=+(pa[6]-x).toFixed(3);r[7]=+(pa[7]-y).toFixed(3);break;case "v":r[1]=+(pa[1]-y).toFixed(3);break;case "m":mx=pa[1];my=pa[2];default:for(var j=1,jj=pa[_e];j<jj;j++){r[j]=+(pa[j]-((j%2)?x:y)).toFixed(3);}}}else{r=res[i]=[];if(pa[0]=="m"){mx=pa[1]+x;my=pa[2]+y;}for(var k=0,kk=pa[_e];k<kk;k++){res[i][k]=pa[k];}}var len=res[i][_e];switch(res[i][0]){case "z":x=mx;y=my;break;case "h":x+=+res[i][len-1];break;case "v":y+=+res[i][len-1];break;default:x+=+res[i][len-2];y+=+res[i][len-1];}}res[_1c]=R._path2string;return res;},0,_7e),_96=cacher(function(_97){if(!R.is(_97,"array")||!R.is(_97&&_97[0],"array")){_97=R.parsePathString(_97);}var res=[],x=0,y=0,mx=0,my=0,_9d=0;if(_97[0][0]=="M"){x=+_97[0][1];y=+_97[0][2];mx=x;my=y;_9d++;res[0]=["M",x,y];}for(var i=_9d,ii=_97[_e];i<ii;i++){var r=res[i]=[],pa=_97[i];if(pa[0]!=_28.call(pa[0])){r[0]=_28.call(pa[0]);switch(r[0]){case "A":r[1]=pa[1];r[2]=pa[2];r[3]=pa[3];r[4]=pa[4];r[5]=pa[5];r[6]=+(pa[6]+x);r[7]=+(pa[7]+y);break;case "V":r[1]=+pa[1]+y;break;case "H":r[1]=+pa[1]+x;break;case "M":mx=+pa[1]+x;my=+pa[2]+y;default:for(var j=1,jj=pa[_e];j<jj;j++){r[j]=+pa[j]+((j%2)?x:y);}}}else{for(var k=0,kk=pa[_e];k<kk;k++){res[i][k]=pa[k];}}switch(r[0]){case "Z":x=mx;y=my;break;case "H":x=r[1];break;case "V":y=r[1];break;default:x=res[i][res[i][_e]-2];y=res[i][res[i][_e]-1];}}res[_1c]=R._path2string;return res;},null,_7e),l2c=function(x1,y1,x2,y2){return [x1,y1,x2,y2,x2,y2];},q2c=function(x1,y1,ax,ay,x2,y2){var _13=1/3,_23=2/3;return [_13*x1+_23*ax,_13*y1+_23*ay,_13*x2+_23*ax,_13*y2+_23*ay,x2,y2];},a2c=function(x1,y1,rx,ry,_b9,_ba,_bb,x2,y2,_be){var PI=Math.PI,_c0=PI*120/180,rad=PI/180*(+_b9||0),res=[],xy,_c4=cacher(function(x,y,rad){var X=x*Math.cos(rad)-y*Math.sin(rad),Y=x*Math.sin(rad)+y*Math.cos(rad);return {x:X,y:Y};});if(!_be){xy=_c4(x1,y1,-rad);x1=xy.x;y1=xy.y;xy=_c4(x2,y2,-rad);x2=xy.x;y2=xy.y;var cos=Math.cos(PI/180*_b9),sin=Math.sin(PI/180*_b9),x=(x1-x2)/2,y=(y1-y2)/2;rx=_1a(rx,Math.abs(x));ry=_1a(ry,Math.abs(y));var rx2=rx*rx,ry2=ry*ry,k=(_ba==_bb?-1:1)*Math.sqrt(Math.abs((rx2*ry2-rx2*y*y-ry2*x*x)/(rx2*y*y+ry2*x*x))),cx=k*rx*y/ry+(x1+x2)/2,cy=k*-ry*x/rx+(y1+y2)/2,f1=Math.asin((y1-cy)/ry),f2=Math.asin((y2-cy)/ry);f1=x1<cx?PI-f1:f1;f2=x2<cx?PI-f2:f2;f1<0&&(f1=PI*2+f1);f2<0&&(f2=PI*2+f2);if(_bb&&f1>f2){f1=f1-PI*2;}if(!_bb&&f2>f1){f2=f2-PI*2;}}else{f1=_be[0];f2=_be[1];cx=_be[2];cy=_be[3];}var df=f2-f1;if(Math.abs(df)>_c0){var _d6=f2,_d7=x2,_d8=y2;f2=f1+_c0*(_bb&&f2>f1?1:-1);x2=cx+rx*Math.cos(f2);y2=cy+ry*Math.sin(f2);res=a2c(x2,y2,rx,ry,_b9,0,_bb,_d7,_d8,[f2,_d6,cx,cy]);}df=f2-f1;var c1=Math.cos(f1),s1=Math.sin(f1),c2=Math.cos(f2),s2=Math.sin(f2),t=Math.tan(df/4),hx=4/3*rx*t,hy=4/3*ry*t,m1=[x1,y1],m2=[x1+hx*s1,y1-hy*c1],m3=[x2+hx*s2,y2-hy*c2],m4=[x2,y2];m2[0]=2*m1[0]-m2[0];m2[1]=2*m1[1]-m2[1];if(_be){return [m2,m3,m4][_13](res);}else{res=[m2,m3,m4][_13](res)[_17](",")[_25](",");var _e4=[];for(var i=0,ii=res[_e];i<ii;i++){_e4[i]=i%2?_c4(res[i-1],res[i],rad).y:_c4(res[i],res[i+1],rad).x;}return _e4;}},_e7=cacher(function(p1x,p1y,c1x,c1y,c2x,c2y,p2x,p2y,t){var t1=1-t;return {x:pow(t1,3)*p1x+pow(t1,2)*3*t*c1x+t1*3*t*t*c2x+pow(t,3)*p2x,y:pow(t1,3)*p1y+pow(t1,2)*3*t*c1y+t1*3*t*t*c2y+pow(t,3)*p2y};}),_f2=cacher(function(p1x,p1y,c1x,c1y,c2x,c2y,p2x,p2y,t){var t1=1-t,x=pow(t1,3)*p1x+pow(t1,2)*3*t*c1x+t1*3*t*t*c2x+pow(t,3)*p2x,y=pow(t1,3)*p1y+pow(t1,2)*3*t*c1y+t1*3*t*t*c2y+pow(t,3)*p2y,mx=p1x+2*t*(c1x-p1x)+t*t*(c2x-2*c1x+p1x),my=p1y+2*t*(c1y-p1y)+t*t*(c2y-2*c1y+p1y),nx=c1x+2*t*(c2x-c1x)+t*t*(p2x-2*c2x+c1x),ny=c1y+2*t*(c2y-c1y)+t*t*(p2y-2*c2y+c1y),ax=(1-t)*p1x+t*c1x,ay=(1-t)*p1y+t*c1y,cx=(1-t)*c2x+t*p2x,cy=(1-t)*c2y+t*p2y;return {x:x,y:y,m:{x:mx,y:my},n:{x:nx,y:ny},start:{x:ax,y:ay},end:{x:cx,y:cy}};}),_7b=cacher(function(p1x,p1y,c1x,c1y,c2x,c2y,p2x,p2y){var a=(c2x-2*c1x+p1x)-(p2x-2*c2x+c1x),b=2*(c1x-p1x)-2*(c2x-c1x),c=p1x-c1x,t1=(-b+Math.sqrt(b*b-4*a*c))/2/a,t2=(-b-Math.sqrt(b*b-4*a*c))/2/a,y=[p1y,p2y],x=[p1x,p2x],dot;!isFinite(t1)&&(t1=0.5);!isFinite(t2)&&(t2=0.5);if(t1>0&&t1<1){dot=_e7(p1x,p1y,c1x,c1y,c2x,c2y,p2x,p2y,t1);x[_11](dot.x);y[_11](dot.y);}if(t2>0&&t2<1){dot=_e7(p1x,p1y,c1x,c1y,c2x,c2y,p2x,p2y,t2);x[_11](dot.x);y[_11](dot.y);}a=(c2y-2*c1y+p1y)-(p2y-2*c2y+c1y);b=2*(c1y-p1y)-2*(c2y-c1y);c=p1y-c1y;t1=(-b+Math.sqrt(b*b-4*a*c))/2/a;t2=(-b-Math.sqrt(b*b-4*a*c))/2/a;!isFinite(t1)&&(t1=0.5);!isFinite(t2)&&(t2=0.5);if(t1>0&&t1<1){dot=_e7(p1x,p1y,c1x,c1y,c2x,c2y,p2x,p2y,t1);x[_11](dot.x);y[_11](dot.y);}if(t2>0&&t2<1){dot=_e7(p1x,p1y,c1x,c1y,c2x,c2y,p2x,p2y,t2);x[_11](dot.x);y[_11](dot.y);}return {min:{x:_1b[_9](0,x),y:_1b[_9](0,y)},max:{x:_1a[_9](0,x),y:_1a[_9](0,y)}};}),_72=cacher(function(path,_118){var p=_96(path),p2=_118&&_96(_118),_11b={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},_11c={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},_11d=function(path,d){var nx,ny;if(!path){return ["C",d.x,d.y,d.x,d.y,d.x,d.y];}!(path[0] in {T:1,Q:1})&&(d.qx=d.qy=null);switch(path[0]){case "M":d.X=path[1];d.Y=path[2];break;case "A":path=["C"][_13](a2c[_9](0,[d.x,d.y][_13](path.slice(1))));break;case "S":nx=d.x+(d.x-(d.bx||d.x));ny=d.y+(d.y-(d.by||d.y));path=["C",nx,ny][_13](path.slice(1));break;case "T":d.qx=d.x+(d.x-(d.qx||d.x));d.qy=d.y+(d.y-(d.qy||d.y));path=["C"][_13](q2c(d.x,d.y,d.qx,d.qy,path[1],path[2]));break;case "Q":d.qx=path[1];d.qy=path[2];path=["C"][_13](q2c(d.x,d.y,path[1],path[2],path[3],path[4]));break;case "L":path=["C"][_13](l2c(d.x,d.y,path[1],path[2]));break;case "H":path=["C"][_13](l2c(d.x,d.y,path[1],d.y));break;case "V":path=["C"][_13](l2c(d.x,d.y,d.x,path[1]));break;case "Z":path=["C"][_13](l2c(d.x,d.y,d.X,d.Y));break;}return path;},_122=function(pp,i){if(pp[i][_e]>7){pp[i].shift();var pi=pp[i];while(pi[_e]){pp.splice(i++,0,["C"][_13](pi.splice(0,6)));}pp.splice(i,1);ii=_1a(p[_e],p2&&p2[_e]||0);}},fixM=function(_128,_129,a1,a2,i){if(_128&&_129&&_128[i][0]=="M"&&_129[i][0]!="M"){_129.splice(i,0,["M",a2.x,a2.y]);a1.bx=0;a1.by=0;a1.x=_128[i][1];a1.y=_128[i][2];ii=_1a(p[_e],p2&&p2[_e]||0);}};for(var i=0,ii=_1a(p[_e],p2&&p2[_e]||0);i<ii;i++){p[i]=_11d(p[i],_11b);_122(p,i);p2&&(p2[i]=_11d(p2[i],_11c));p2&&_122(p2,i);fixM(p,p2,_11b,_11c,i);fixM(p2,p,_11c,_11b,i);var seg=p[i],seg2=p2&&p2[i],_130=seg[_e],_131=p2&&seg2[_e];_11b.x=seg[_130-2];_11b.y=seg[_130-1];_11b.bx=_26(seg[_130-4])||_11b.x;_11b.by=_26(seg[_130-3])||_11b.y;_11c.bx=p2&&(_26(seg2[_131-4])||_11c.x);_11c.by=p2&&(_26(seg2[_131-3])||_11c.y);_11c.x=p2&&seg2[_131-2];_11c.y=p2&&seg2[_131-1];}return p2?[p,p2]:p;},null,_7e),_132=cacher(function(_133){var dots=[];for(var i=0,ii=_133[_e];i<ii;i++){var dot={},par=_133[i].match(/^([^:]*):?([\d\.]*)/);dot.color=R.getRGB(par[1]);if(dot.color.error){return null;}dot.color=dot.color.hex;par[2]&&(dot.offset=par[2]+"%");dots[_11](dot);}for(var i=1,ii=dots[_e]-1;i<ii;i++){if(!dots[i].offset){var _139=_26(dots[i-1].offset||0),end=0;for(var j=i+1;j<ii;j++){if(dots[j].offset){end=dots[j].offset;break;}}if(!end){end=100;j=ii;}end=_26(end);var d=(end-_139)/(j-i+1);for(;i<j;i++){_139+=d;dots[i].offset=_139+"%";}}}return dots;}),_13d=function(){var _13e,x,y,_141,_142;if(R.is(arguments[0],"string")||R.is(arguments[0],"object")){if(R.is(arguments[0],"string")){_13e=_2.getElementById(arguments[0]);}else{_13e=arguments[0];}if(_13e.tagName){if(arguments[1]==null){return {container:_13e,width:_13e.style.pixelWidth||_13e.offsetWidth,height:_13e.style.pixelHeight||_13e.offsetHeight};}else{return {container:_13e,width:arguments[1],height:arguments[2]};}}}else{if(R.is(arguments[0],nu)&&arguments[_e]>3){return {container:1,x:arguments[0],y:arguments[1],width:arguments[2],height:arguments[3]};}}},_143=function(con,add){var that=this;for(var prop in add){if(add[has](prop)&&!(prop in con)){switch(typeof add[prop]){case "function":(function(f){con[prop]=con===that?f:function(){return f[_9](that,arguments);};})(add[prop]);break;case "object":con[prop]=con[prop]||{};_143.call(this,con[prop],add[prop]);break;default:con[prop]=add[prop];break;}}}},tear=function(el,_14b){el==_14b.top&&(_14b.top=el.prev);el==_14b.bottom&&(_14b.bottom=el.next);el.next&&(el.next.prev=el.prev);el.prev&&(el.prev.next=el.next);},_14c=function(el,_14e){if(_14e.top===el){return;}tear(el,_14e);el.next=null;el.prev=_14e.top;_14e.top.next=el;_14e.top=el;},_14f=function(el,_151){if(_151.bottom===el){return;}tear(el,_151);el.next=_151.bottom;el.prev=null;_151.bottom.prev=el;_151.bottom=el;},_152=function(el,el2,_155){tear(el,_155);el2==_155.top&&(_155.top=el);el2.next&&(el2.next.prev=el);el.next=el2.next;el.prev=el2;el2.next=el;},_156=function(el,el2,_159){tear(el,_159);el2==_159.bottom&&(_159.bottom=el);el2.prev&&(el2.prev.next=el);el.prev=el2.prev;el2.prev=el;el.next=el2;};if(R.svg){_1e.svgns="http://www.w3.org/2000/svg";_1e.xlink="http://www.w3.org/1999/xlink";var _22=function(num){return +num+(~~num===num)*0.5;},_15b=function(path){for(var i=0,ii=path[_e];i<ii;i++){if(_19.call(path[i][0])!="a"){for(var j=1,jj=path[i][_e];j<jj;j++){path[i][j]=_22(path[i][j]);}}else{path[i][6]=_22(path[i][6]);path[i][7]=_22(path[i][7]);}}return path;},$=function(el,attr){if(attr){for(var key in attr){if(attr[has](key)){el[_24](key,attr[key]);}}}else{return _2.createElementNS(_1e.svgns,el);}};R[_1c]=function(){return "Your browser supports SVG.\nYou are running Rapha?l "+this.version;};var _165=function(_166,SVG){var el=$("path");SVG.canvas&&SVG.canvas[_12](el);var p=new _16a(el,SVG);p.type="path";_16b(p,{fill:"none",stroke:"#000",path:_166});return p;};var _16c=function(o,_16e,SVG){var type="linear",fx=0.5,fy=0.5,s=o.style;_16e=(_16e+E)[rp](/^r(?:\(([^,]+?)\s*,\s*([^\)]+?)\))?/,function(all,_fx,_fy){type="radial";if(_fx&&_fy){fx=_26(_fx);fy=_26(_fy);if(pow(fx-0.5,2)+pow(fy-0.5,2)>0.25){fy=Math.sqrt(0.25-pow(fx-0.5,2))+0.5;}}return E;});_16e=_16e[_25](/\s*\-\s*/);if(type=="linear"){var _177=_16e.shift();_177=-_26(_177);if(isNaN(_177)){return null;}var _178=[0,0,Math.cos(_177*Math.PI/180),Math.sin(_177*Math.PI/180)],max=1/(_1a(Math.abs(_178[2]),Math.abs(_178[3]))||1);_178[2]*=max;_178[3]*=max;if(_178[2]<0){_178[0]=-_178[2];_178[2]=0;}if(_178[3]<0){_178[1]=-_178[3];_178[3]=0;}}var dots=_132(_16e);if(!dots){return null;}var el=$(type+"Gradient");el.id="r"+(R._id++)[_1c](36);type=="radial"?$(el,{fx:fx,fy:fy}):$(el,{x1:_178[0],y1:_178[1],x2:_178[2],y2:_178[3]});SVG.defs[_12](el);for(var i=0,ii=dots[_e];i<ii;i++){var stop=$("stop");$(stop,{offset:dots[i].offset?dots[i].offset:!i?"0%":"100%","stop-color":dots[i].color||"#fff"});el[_12](stop);}$(o,{fill:"url(#"+el.id+")",opacity:1,"fill-opacity":1});s.fill=E;s.opacity=1;s.fillOpacity=1;return 1;};var _17f=function(o){var bbox=o.getBBox();$(o.pattern,{patternTransform:R.format("translate({0},{1})",bbox.x,bbox.y)});};var _16b=function(o,_183){var _184={"":[0],"none":[0],"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},node=o.node,_186=o.attrs,rot=o.rotate(),_188=function(o,_18a){_18a=_184[_19.call(_18a)];if(_18a){var _18b=o.attrs["stroke-width"]||"1",butt={round:_18b,square:_18b,butt:0}[o.attrs["stroke-linecap"]||_183["stroke-linecap"]]||0,_18d=[];var i=_18a[_e];while(i--){_18d[i]=_18a[i]*_18b+((i%2)?1:-1)*butt;}$(node,{"stroke-dasharray":_18d[_17](",")});}};_183[has]("rotation")&&(rot=_183.rotation);var _18f=(rot+E)[_25](_1);if(!(_18f.length-1)){_18f=null;}else{_18f[1]=+_18f[1];_18f[2]=+_18f[2];}_26(rot)&&o.rotate(0,true);for(var att in _183){if(_183[has](att)){if(!_29[has](att)){continue;}var _191=_183[att];_186[att]=_191;switch(att){case "rotation":o.rotate(_191,true);break;case "href":case "title":case "target":var pn=node.parentNode;if(_19.call(pn.tagName)!="a"){var hl=$("a");pn.insertBefore(hl,node);hl[_12](node);pn=hl;}pn.setAttributeNS(o.paper.xlink,att,_191);break;case "cursor":node.style.cursor=_191;break;case "clip-rect":var rect=(_191+E)[_25](_1);if(rect[_e]==4){o.clip&&o.clip.parentNode.parentNode.removeChild(o.clip.parentNode);var el=$("clipPath"),rc=$("rect");el.id="r"+(R._id++)[_1c](36);$(rc,{x:rect[0],y:rect[1],width:rect[2],height:rect[3]});el[_12](rc);o.paper.defs[_12](el);$(node,{"clip-path":"url(#"+el.id+")"});o.clip=rc;}if(!_191){var clip=_2.getElementById(node.getAttribute("clip-path")[rp](/(^url\(#|\)$)/g,E));clip&&clip.parentNode.removeChild(clip);$(node,{"clip-path":E});delete o.clip;}break;case "path":if(_191&&o.type=="path"){_186.path=_15b(_96(_191));$(node,{d:_186.path});}break;case "width":node[_24](att,_191);if(_186.fx){att="x";_191=_186.x;}else{break;}case "x":if(_186.fx){_191=-_186.x-(_186.width||0);}case "rx":if(att=="rx"&&o.type=="rect"){break;}case "cx":_18f&&(att=="x"||att=="cx")&&(_18f[1]+=_191-_186[att]);node[_24](att,_22(_191));o.pattern&&_17f(o);break;case "height":node[_24](att,_191);if(_186.fy){att="y";_191=_186.y;}else{break;}case "y":if(_186.fy){_191=-_186.y-(_186.height||0);}case "ry":if(att=="ry"&&o.type=="rect"){break;}case "cy":_18f&&(att=="y"||att=="cy")&&(_18f[2]+=_191-_186[att]);node[_24](att,_22(_191));o.pattern&&_17f(o);break;case "r":if(o.type=="rect"){$(node,{rx:_191,ry:_191});}else{node[_24](att,_191);}break;case "src":if(o.type=="image"){node.setAttributeNS(o.paper.xlink,"href",_191);}break;case "stroke-width":node.style.strokeWidth=_191;node[_24](att,_191);if(_186["stroke-dasharray"]){_188(o,_186["stroke-dasharray"]);}break;case "stroke-dasharray":_188(o,_191);break;case "translation":var xy=(_191+E)[_25](_1);xy[0]=+xy[0]||0;xy[1]=+xy[1]||0;if(_18f){_18f[1]+=xy[0];_18f[2]+=xy[1];}translate.call(o,xy[0],xy[1]);break;case "scale":var xy=(_191+E)[_25](_1);o.scale(+xy[0]||1,+xy[1]||+xy[0]||1,+xy[2]||null,+xy[3]||null);break;case "fill":var _199=(_191+E).match(_21);if(_199){var el=$("pattern"),ig=$("image");el.id="r"+(R._id++)[_1c](36);$(el,{x:0,y:0,patternUnits:"userSpaceOnUse"});$(ig,{x:0,y:0});ig.setAttributeNS(o.paper.xlink,"href",_199[1]);el[_12](ig);var img=_2.createElement("img");img.style.cssText="position:absolute;left:-9999em;top-9999em";img.onload=function(){$(el,{width:this.offsetWidth,height:this.offsetHeight});$(ig,{width:this.offsetWidth,height:this.offsetHeight});_2.body.removeChild(this);_1e.safari();};_2.body[_12](img);img.src=_199[1];o.paper.defs[_12](el);node.style.fill="url(#"+el.id+")";$(node,{fill:"url(#"+el.id+")"});o.pattern=el;o.pattern&&_17f(o);break;}if(!R.getRGB(_191).error){delete _183.gradient;delete _186.gradient;!R.is(_186.opacity,"undefined")&&R.is(_183.opacity,"undefined")&&$(node,{opacity:_186.opacity});!R.is(_186["fill-opacity"],"undefined")&&R.is(_183["fill-opacity"],"undefined")&&$(node,{"fill-opacity":_186["fill-opacity"]});}else{if((({circle:1,ellipse:1})[has](o.type)||(_191+E).charAt()!="r")&&_16c(node,_191,o.paper)){_186.gradient=_191;_186.fill="none";break;}}case "stroke":node[_24](att,R.getRGB(_191).hex);break;case "gradient":(({circle:1,ellipse:1})[has](o.type)||(_191+E).charAt()!="r")&&_16c(node,_191,o.paper);break;case "opacity":case "fill-opacity":if(_186.gradient){var _19c=_2.getElementById(node.getAttribute("fill")[rp](/^url\(#|\)$/g,E));if(_19c){var _19d=_19c.getElementsByTagName("stop");_19d[_19d[_e]-1][_24]("stop-opacity",_191);}break;}default:att=="font-size"&&(_191=_27(_191,10)+"px");var _19e=att[rp](/(\-.)/g,function(w){return _28.call(w.substring(1));});node.style[_19e]=_191;node[_24](att,_191);break;}}}_1a0(o,_183);if(_18f){o.rotate(_18f.join(S));}else{_26(rot)&&o.rotate(rot,true);}};var _1a1=1.2;var _1a0=function(el,_1a3){if(el.type!="text"||!(_1a3[has]("text")||_1a3[has]("font")||_1a3[has]("font-size")||_1a3[has]("x")||_1a3[has]("y"))){return;}var a=el.attrs,node=el.node,_1a6=node.firstChild?_27(_2.defaultView.getComputedStyle(node.firstChild,E).getPropertyValue("font-size"),10):10;if(_1a3[has]("text")){a.text=_1a3.text;while(node.firstChild){node.removeChild(node.firstChild);}var _1a7=(_1a3.text+E)[_25]("\n");for(var i=0,ii=_1a7[_e];i<ii;i++){if(_1a7[i]){var _1aa=$("tspan");i&&$(_1aa,{dy:_1a6*_1a1,x:a.x});_1aa[_12](_2.createTextNode(_1a7[i]));node[_12](_1aa);}}}else{var _1a7=node.getElementsByTagName("tspan");for(var i=0,ii=_1a7[_e];i<ii;i++){i&&$(_1a7[i],{dy:_1a6*_1a1,x:a.x});}}$(node,{y:a.y});var bb=el.getBBox(),dif=a.y-(bb.y+bb.height/2);dif&&isFinite(dif)&&$(node,{y:a.y+dif});};var _16a=function(node,svg){var X=0,Y=0;this[0]=node;this.id=R._oid++;this.node=node;node.raphael=this;this.paper=svg;this.attrs=this.attrs||{};this.transformations=[];this._={tx:0,ty:0,rt:{deg:0,cx:0,cy:0},sx:1,sy:1};!svg.bottom&&(svg.bottom=this);this.prev=svg.top;svg.top&&(svg.top.next=this);svg.top=this;this.next=null;};_16a[_18].rotate=function(deg,cx,cy){if(this.removed){return this;}if(deg==null){if(this._.rt.cx){return [this._.rt.deg,this._.rt.cx,this._.rt.cy][_17](S);}return this._.rt.deg;}var bbox=this.getBBox();deg=(deg+E)[_25](_1);if(deg[_e]-1){cx=_26(deg[1]);cy=_26(deg[2]);}deg=_26(deg[0]);if(cx!=null){this._.rt.deg=deg;}else{this._.rt.deg+=deg;}(cy==null)&&(cx=null);this._.rt.cx=cx;this._.rt.cy=cy;cx=cx==null?bbox.x+bbox.width/2:cx;cy=cy==null?bbox.y+bbox.height/2:cy;if(this._.rt.deg){this.transformations[0]=R.format("rotate({0} {1} {2})",this._.rt.deg,cx,cy);this.clip&&$(this.clip,{transform:R.format("rotate({0} {1} {2})",-this._.rt.deg,cx,cy)});}else{this.transformations[0]=E;this.clip&&$(this.clip,{transform:E});}$(this.node,{transform:this.transformations[_17](S)});return this;};_16a[_18].hide=function(){!this.removed&&(this.node.style.display="none");return this;};_16a[_18].show=function(){!this.removed&&(this.node.style.display="");return this;};_16a[_18].remove=function(){if(this.removed){return;}tear(this,this.paper);this.node.parentNode.removeChild(this.node);for(var i in this){delete this[i];}this.removed=true;};_16a[_18].getBBox=function(){if(this.removed){return this;}if(this.type=="path"){return _70(this.attrs.path);}if(this.node.style.display=="none"){this.show();var hide=true;}var bbox={};try{bbox=this.node.getBBox();}catch(e){}finally{bbox=bbox||{};}if(this.type=="text"){bbox={x:bbox.x,y:Infinity,width:0,height:0};for(var i=0,ii=this.node.getNumberOfChars();i<ii;i++){var bb=this.node.getExtentOfChar(i);(bb.y<bbox.y)&&(bbox.y=bb.y);(bb.y+bb.height-bbox.y>bbox.height)&&(bbox.height=bb.y+bb.height-bbox.y);(bb.x+bb.width-bbox.x>bbox.width)&&(bbox.width=bb.x+bb.width-bbox.x);}}hide&&this.hide();return bbox;};_16a[_18].attr=function(){if(this.removed){return this;}if(arguments[_e]==0){var res={};for(var i in this.attrs){if(this.attrs[has](i)){res[i]=this.attrs[i];}}return res;}if(arguments[_e]==1&&R.is(arguments[0],"string")){if(arguments[0]=="translation"){return _1bd.call(this);}if(arguments[0]=="rotation"){return this.rotate();}if(arguments[0]=="scale"){return this.scale();}if(arguments[0]=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient){return this.attrs.gradient;}return this.attrs[arguments[0]];}if(arguments[_e]==1&&R.is(arguments[0],"array")){var _1be={};for(var j in arguments[0]){if(arguments[0][has](j)){_1be[arguments[0][j]]=this.attrs[arguments[0][j]];}}return _1be;}if(arguments[_e]==2){var _1c0={};_1c0[arguments[0]]=arguments[1];_16b(this,_1c0);}else{if(arguments[_e]==1&&R.is(arguments[0],"object")){_16b(this,arguments[0]);}}return this;};_16a[_18].toFront=function(){if(this.removed){return this;}this.node.parentNode[_12](this.node);var svg=this.paper;svg.top!=this&&_14c(this,svg);return this;};_16a[_18].toBack=function(){if(this.removed){return this;}if(this.node.parentNode.firstChild!=this.node){this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild);_14f(this,this.paper);var svg=this.paper;}return this;};_16a[_18].insertAfter=function(_1c3){if(this.removed){return this;}var svg=this.paper,node=_1c3.node;if(node.nextSibling){node.parentNode.insertBefore(this.node,node.nextSibling);}else{node.parentNode[_12](this.node);}_152(this,_1c3,this.paper);return this;};_16a[_18].insertBefore=function(_1c6){if(this.removed){return this;}var node=_1c6.node;node.parentNode.insertBefore(this.node,node);_156(this,_1c6,this.paper);return this;};var _1c8=function(svg,x,y,r){x=_22(x);y=_22(y);var el=$("circle");svg.canvas&&svg.canvas[_12](el);var res=new _16a(el,svg);res.attrs={cx:x,cy:y,r:r,fill:"none",stroke:"#000"};res.type="circle";$(el,res.attrs);return res;};var _1cf=function(svg,x,y,w,h,r){x=_22(x);y=_22(y);var el=$("rect");svg.canvas&&svg.canvas[_12](el);var res=new _16a(el,svg);res.attrs={x:x,y:y,width:w,height:h,r:r||0,rx:r||0,ry:r||0,fill:"none",stroke:"#000"};res.type="rect";$(el,res.attrs);return res;};var _1d8=function(svg,x,y,rx,ry){x=_22(x);y=_22(y);var el=$("ellipse");svg.canvas&&svg.canvas[_12](el);var res=new _16a(el,svg);res.attrs={cx:x,cy:y,rx:rx,ry:ry,fill:"none",stroke:"#000"};res.type="ellipse";$(el,res.attrs);return res;};var _1e0=function(svg,src,x,y,w,h){var el=$("image");$(el,{x:x,y:y,width:w,height:h,preserveAspectRatio:"none"});el.setAttributeNS(svg.xlink,"href",src);svg.canvas&&svg.canvas[_12](el);var res=new _16a(el,svg);res.attrs={x:x,y:y,width:w,height:h,src:src};res.type="image";return res;};var _1e9=function(svg,x,y,text){var el=$("text");$(el,{x:x,y:y,"text-anchor":"middle"});svg.canvas&&svg.canvas[_12](el);var res=new _16a(el,svg);res.attrs={x:x,y:y,"text-anchor":"middle",text:text,font:_29.font,stroke:"none",fill:"#000"};res.type="text";_16b(res,res.attrs);return res;};var _1f0=function(_1f1,_1f2){this.width=_1f1||this.width;this.height=_1f2||this.height;this.canvas[_24]("width",this.width);this.canvas[_24]("height",this.height);return this;};var _8=function(){var con=_13d[_9](null,arguments),_1f4=con&&con.container,x=con.x,y=con.y,_1f7=con.width,_1f8=con.height;if(!_1f4){throw new Error("SVG container not found.");}_1e.canvas=$("svg");var cnvs=_1e.canvas;_1e.width=_1f7||512;_1e.height=_1f8||342;cnvs[_24]("width",_1e.width);cnvs[_24]("height",_1e.height);if(_1f4==1){cnvs.style.cssText="position:absolute;left:"+x+"px;top:"+y+"px";_2.body[_12](cnvs);}else{if(_1f4.firstChild){_1f4.insertBefore(cnvs,_1f4.firstChild);}else{_1f4[_12](cnvs);}}_1f4={canvas:cnvs};for(var prop in _1e){if(_1e[has](prop)){_1f4[prop]=_1e[prop];}}_1f4.bottom=_1f4.top=null;_143.call(_1f4,_1f4,R.fn);_1f4.clear();_1f4.raphael=R;return _1f4;};_1e.clear=function(){var c=this.canvas;while(c.firstChild){c.removeChild(c.firstChild);}this.bottom=this.top=null;(this.desc=$("desc"))[_12](_2.createTextNode("Created with Rapha?l"));c[_12](this.desc);c[_12](this.defs=$("defs"));};_1e.remove=function(){this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);for(var i in this){delete this[i];}};}if(R.vml){var _1fd=function(path){var _1ff=/[ahqtv]/ig,_200=_96;(path+E).match(_1ff)&&(_200=_72);_1ff=/[clmz]/g;if(_200==_96&&!(path+E).match(_1ff)){var map={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},_202=/([clmz]),?([^clmz]*)/gi,val=/-?[^,\s-]+/g;var res=(path+E)[rp](_202,function(all,_206,args){var vals=[];args[rp](val,function(_209){vals[_11](_22(_209));});return map[_206]+vals;});return res;}var pa=_200(path),p,res=[],r;for(var i=0,ii=pa[_e];i<ii;i++){p=pa[i];r=_19.call(pa[i][0]);r=="z"&&(r="x");for(var j=1,jj=p[_e];j<jj;j++){r+=_22(p[j])+(j!=jj-1?",":E);}res[_11](r);}return res[_17](S);};R[_1c]=function(){return "Your browser doesn?t support SVG. Falling down to VML.\nYou are running Rapha?l "+this.version;};var _165=function(_211,VML){var g=_214("group");g.style.cssText="position:absolute;left:0;top:0;width:"+VML.width+"px;height:"+VML.height+"px";g.coordsize=VML.coordsize;g.coordorigin=VML.coordorigin;var el=_214("shape"),ol=el.style;ol.width=VML.width+"px";ol.height=VML.height+"px";el.coordsize=this.coordsize;el.coordorigin=this.coordorigin;g[_12](el);var p=new _16a(el,g,VML);p.isAbsolute=true;p.type="path";p.path=[];p.Path=E;_211&&_16b(p,{fill:"none",stroke:"#000",path:_211});VML.canvas[_12](g);return p;};var _16b=function(o,_219){o.attrs=o.attrs||{};var node=o.node,a=o.attrs,s=node.style,xy,res=o;for(var par in _219){if(_219[has](par)){a[par]=_219[par];}}_219.href&&(node.href=_219.href);_219.title&&(node.title=_219.title);_219.target&&(node.target=_219.target);_219.cursor&&(s.cursor=_219.cursor);if(_219.path&&o.type=="path"){a.path=_219.path;node.path=_1fd(a.path);}if(_219.rotation!=null){o.rotate(_219.rotation,true);}if(_219.translation){xy=(_219.translation+E)[_25](_1);_1bd.call(o,xy[0],xy[1]);if(o._.rt.cx!=null){o._.rt.cx+=+xy[0];o._.rt.cy+=+xy[1];o.setBox(o.attrs,xy[0],xy[1]);}}if(_219.scale){xy=(_219.scale+E)[_25](_1);o.scale(+xy[0]||1,+xy[1]||+xy[0]||1,+xy[2]||null,+xy[3]||null);}if("clip-rect" in _219){var rect=(_219["clip-rect"]+E)[_25](_1);if(rect[_e]==4){rect[2]=+rect[2]+(+rect[0]);rect[3]=+rect[3]+(+rect[1]);var div=node.clipRect||_2.createElement("div"),_222=div.style,_223=node.parentNode;_222.clip=R.format("rect({1}px {2}px {3}px {0}px)",rect);if(!node.clipRect){_222.position="absolute";_222.top=0;_222.left=0;_222.width=o.paper.width+"px";_222.height=o.paper.height+"px";_223.parentNode.insertBefore(div,_223);div[_12](_223);node.clipRect=div;}}if(!_219["clip-rect"]){node.clipRect&&(node.clipRect.style.clip=E);}}if(o.type=="image"&&_219.src){node.src=_219.src;}if(o.type=="image"&&_219.opacity){node.filterOpacity=" progid:DXImageTransform.Microsoft.Alpha(opacity="+(_219.opacity*100)+")";s.filter=(node.filterMatrix||E)+(node.filterOpacity||E);}_219.font&&(s.font=_219.font);_219["font-family"]&&(s.fontFamily="\""+_219["font-family"][_25](",")[0][rp](/^['"]+|['"]+$/g,E)+"\"");_219["font-size"]&&(s.fontSize=_219["font-size"]);_219["font-weight"]&&(s.fontWeight=_219["font-weight"]);_219["font-style"]&&(s.fontStyle=_219["font-style"]);if(_219.opacity!=null||_219["stroke-width"]!=null||_219.fill!=null||_219.stroke!=null||_219["stroke-width"]!=null||_219["stroke-opacity"]!=null||_219["fill-opacity"]!=null||_219["stroke-dasharray"]!=null||_219["stroke-miterlimit"]!=null||_219["stroke-linejoin"]!=null||_219["stroke-linecap"]!=null){node=o.shape||node;var fill=(node.getElementsByTagName("fill")&&node.getElementsByTagName("fill")[0]),_225=false;!fill&&(_225=fill=_214("fill"));if("fill-opacity" in _219||"opacity" in _219){var _226=((+a["fill-opacity"]+1||2)-1)*((+a.opacity+1||2)-1);_226<0&&(_226=0);_226>1&&(_226=1);fill.opacity=_226;}_219.fill&&(fill.on=true);if(fill.on==null||_219.fill=="none"){fill.on=false;}if(fill.on&&_219.fill){var _227=_219.fill.match(_21);if(_227){fill.src=_227[1];fill.type="tile";}else{fill.color=R.getRGB(_219.fill).hex;fill.src=E;fill.type="solid";if(R.getRGB(_219.fill).error&&(res.type in {circle:1,ellipse:1}||(_219.fill+E).charAt()!="r")&&_16c(res,_219.fill)){a.fill="none";a.gradient=_219.fill;}}}_225&&node[_12](fill);var _228=(node.getElementsByTagName("stroke")&&node.getElementsByTagName("stroke")[0]),_229=false;!_228&&(_229=_228=_214("stroke"));if((_219.stroke&&_219.stroke!="none")||_219["stroke-width"]||_219["stroke-opacity"]!=null||_219["stroke-dasharray"]||_219["stroke-miterlimit"]||_219["stroke-linejoin"]||_219["stroke-linecap"]){_228.on=true;}(_219.stroke=="none"||_228.on==null||_219.stroke==0||_219["stroke-width"]==0)&&(_228.on=false);_228.on&&_219.stroke&&(_228.color=R.getRGB(_219.stroke).hex);var _226=((+a["stroke-opacity"]+1||2)-1)*((+a.opacity+1||2)-1),_22a=(_26(_219["stroke-width"])||1)*0.75;_226<0&&(_226=0);_226>1&&(_226=1);_219["stroke-width"]==null&&(_22a=a["stroke-width"]);_219["stroke-width"]&&(_228.weight=_22a);_22a&&_22a<1&&(_226*=_22a)&&(_228.weight=1);_228.opacity=_226;_219["stroke-linejoin"]&&(_228.joinstyle=_219["stroke-linejoin"]||"miter");_228.miterlimit=_219["stroke-miterlimit"]||8;_219["stroke-linecap"]&&(_228.endcap=_219["stroke-linecap"]=="butt"?"flat":_219["stroke-linecap"]=="square"?"square":"round");if(_219["stroke-dasharray"]){var _22b={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};_228.dashstyle=_22b[has](_219["stroke-dasharray"])?_22b[_219["stroke-dasharray"]]:E;}_229&&node[_12](_228);}if(res.type=="text"){var s=res.paper.span.style;a.font&&(s.font=a.font);a["font-family"]&&(s.fontFamily=a["font-family"]);a["font-size"]&&(s.fontSize=a["font-size"]);a["font-weight"]&&(s.fontWeight=a["font-weight"]);a["font-style"]&&(s.fontStyle=a["font-style"]);res.node.string&&(res.paper.span.innerHTML=(res.node.string+E)[rp](/</g,"&#60;")[rp](/&/g,"&#38;")[rp](/\n/g,"<br>"));res.W=a.w=res.paper.span.offsetWidth;res.H=a.h=res.paper.span.offsetHeight;res.X=a.x;res.Y=a.y+_22(res.H/2);switch(a["text-anchor"]){case "start":res.node.style["v-text-align"]="left";res.bbx=_22(res.W/2);break;case "end":res.node.style["v-text-align"]="right";res.bbx=-_22(res.W/2);break;default:res.node.style["v-text-align"]="center";break;}}};var _16c=function(o,_22d){o.attrs=o.attrs||{};var _22e=o.attrs,fill=o.node.getElementsByTagName("fill"),type="linear",fxfy=".5 .5";o.attrs.gradient=_22d;_22d=(_22d+E)[rp](/^r(?:\(([^,]+?)\s*,\s*([^\)]+?)\))?/,function(all,fx,fy){type="radial";if(fx&&fy){fx=_26(fx);fy=_26(fy);if(pow(fx-0.5,2)+pow(fy-0.5,2)>0.25){fy=Math.sqrt(0.25-pow(fx-0.5,2))+0.5;}fxfy=fx+S+fy;}return E;});_22d=_22d[_25](/\s*\-\s*/);if(type=="linear"){var _235=_22d.shift();_235=-_26(_235);if(isNaN(_235)){return null;}}var dots=_132(_22d);if(!dots){return null;}o=o.shape||o.node;fill=fill[0]||_214("fill");if(dots[_e]){fill.on=true;fill.method="none";fill.type=(type=="radial")?"gradientradial":"gradient";fill.color=dots[0].color;fill.color2=dots[dots[_e]-1].color;var clrs=[];for(var i=0,ii=dots[_e];i<ii;i++){dots[i].offset&&clrs[_11](dots[i].offset+S+dots[i].color);}fill.colors.value=clrs[_e]?clrs[_17](","):"0% "+fill.color;if(type=="radial"){fill.focus="100%";fill.focussize=fxfy;fill.focusposition=fxfy;}else{fill.angle=(270-_235)%360;}}return 1;};var _16a=function(node,_23b,vml){var _23d=0,RotX=0,RotY=0,_240=1;this[0]=node;this.id=R._oid++;this.node=node;node.raphael=this;this.X=0;this.Y=0;this.attrs={};this.Group=_23b;this.paper=vml;this._={tx:0,ty:0,rt:{deg:0},sx:1,sy:1};!vml.bottom&&(vml.bottom=this);this.prev=vml.top;vml.top&&(vml.top.next=this);vml.top=this;this.next=null;};_16a[_18].rotate=function(deg,cx,cy){if(this.removed){return this;}if(deg==null){if(this._.rt.cx){return [this._.rt.deg,this._.rt.cx,this._.rt.cy][_17](S);}return this._.rt.deg;}deg=(deg+E)[_25](_1);if(deg[_e]-1){cx=_26(deg[1]);cy=_26(deg[2]);}deg=_26(deg[0]);if(cx!=null){this._.rt.deg=deg;}else{this._.rt.deg+=deg;}cy==null&&(cx=null);this._.rt.cx=cx;this._.rt.cy=cy;this.setBox(this.attrs,cx,cy);this.Group.style.rotation=this._.rt.deg;return this;};_16a[_18].setBox=function(_244,cx,cy){if(this.removed){return this;}var gs=this.Group.style,os=(this.shape&&this.shape.style)||this.node.style;_244=_244||{};for(var i in _244){if(_244[has](i)){this.attrs[i]=_244[i];}}cx=cx||this._.rt.cx;cy=cy||this._.rt.cy;var attr=this.attrs,x,y,w,h;switch(this.type){case "circle":x=attr.cx-attr.r;y=attr.cy-attr.r;w=h=attr.r*2;break;case "ellipse":x=attr.cx-attr.rx;y=attr.cy-attr.ry;w=attr.rx*2;h=attr.ry*2;break;case "rect":case "image":x=+attr.x;y=+attr.y;w=attr.width||0;h=attr.height||0;break;case "text":this.textpath.v=["m",_22(attr.x),", ",_22(attr.y-2),"l",_22(attr.x)+1,", ",_22(attr.y-2)][_17](E);x=attr.x-_22(this.W/2);y=attr.y-this.H/2;w=this.W;h=this.H;break;case "path":if(!this.attrs.path){x=0;y=0;w=this.paper.width;h=this.paper.height;}else{var dim=_70(this.attrs.path);x=dim.x;y=dim.y;w=dim.width;h=dim.height;}break;default:x=0;y=0;w=this.paper.width;h=this.paper.height;break;}cx=(cx==null)?x+w/2:cx;cy=(cy==null)?y+h/2:cy;var left=cx-this.paper.width/2,top=cy-this.paper.height/2;if(this.type=="path"||this.type=="text"){(gs.left!=left+"px")&&(gs.left=left+"px");(gs.top!=top+"px")&&(gs.top=top+"px");this.X=this.type=="text"?x:-left;this.Y=this.type=="text"?y:-top;this.W=w;this.H=h;(os.left!=-left+"px")&&(os.left=-left+"px");(os.top!=-top+"px")&&(os.top=-top+"px");}else{(gs.left!=left+"px")&&(gs.left=left+"px");(gs.top!=top+"px")&&(gs.top=top+"px");this.X=x;this.Y=y;this.W=w;this.H=h;(gs.width!=this.paper.width+"px")&&(gs.width=this.paper.width+"px");(gs.height!=this.paper.height+"px")&&(gs.height=this.paper.height+"px");(os.left!=x-left+"px")&&(os.left=x-left+"px");(os.top!=y-top+"px")&&(os.top=y-top+"px");(os.width!=w+"px")&&(os.width=w+"px");(os.height!=h+"px")&&(os.height=h+"px");var _252=(+_244.r||0)/_1b(w,h);if(this.type=="rect"&&this.arcsize!=_252&&(_252||this.arcsize)){var o=_214(_252?"roundrect":"rect");o.arcsize=_252;this.Group[_12](o);this.node.parentNode.removeChild(this.node);this.node=o;this.arcsize=_252;this.attr(this.attrs);}}};_16a[_18].hide=function(){!this.removed&&(this.Group.style.display="none");return this;};_16a[_18].show=function(){!this.removed&&(this.Group.style.display="block");return this;};_16a[_18].getBBox=function(){if(this.removed){return this;}if(this.type=="path"){return _70(this.attrs.path);}return {x:this.X+(this.bbx||0),y:this.Y,width:this.W,height:this.H};};_16a[_18].remove=function(){if(this.removed){return;}tear(this,this.paper);this.node.parentNode.removeChild(this.node);this.Group.parentNode.removeChild(this.Group);this.shape&&this.shape.parentNode.removeChild(this.shape);for(var i in this){delete this[i];}this.removed=true;};_16a[_18].attr=function(){if(this.removed){return this;}if(arguments[_e]==0){var res={};for(var i in this.attrs){if(this.attrs[has](i)){res[i]=this.attrs[i];}}return res;}if(arguments[_e]==1&&R.is(arguments[0],"string")){if(arguments[0]=="translation"){return _1bd.call(this);}if(arguments[0]=="rotation"){return this.rotate();}if(arguments[0]=="scale"){return this.scale();}if(arguments[0]=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient){return this.attrs.gradient;}return this.attrs[arguments[0]];}if(this.attrs&&arguments[_e]==1&&R.is(arguments[0],"array")){var _257={};for(var i=0,ii=arguments[0][_e];i<ii;i++){_257[arguments[0][i]]=this.attrs[arguments[0][i]];}return _257;}var _259;if(arguments[_e]==2){_259={};_259[arguments[0]]=arguments[1];}arguments[_e]==1&&R.is(arguments[0],"object")&&(_259=arguments[0]);if(_259){if(_259.text&&this.type=="text"){this.node.string=_259.text;}_16b(this,_259);if(_259.gradient&&(({circle:1,ellipse:1})[has](this.type)||(_259.gradient+E).charAt()!="r")){_16c(this,_259.gradient);}(this.type!="path"||this._.rt.deg)&&this.setBox(this.attrs);}return this;};_16a[_18].toFront=function(){!this.removed&&this.Group.parentNode[_12](this.Group);this.paper.top!=this&&_14c(this,this.paper);return this;};_16a[_18].toBack=function(){if(this.removed){return this;}if(this.Group.parentNode.firstChild!=this.Group){this.Group.parentNode.insertBefore(this.Group,this.Group.parentNode.firstChild);_14f(this,this.paper);}return this;};_16a[_18].insertAfter=function(_25a){if(this.removed){return this;}if(_25a.Group.nextSibling){_25a.Group.parentNode.insertBefore(this.Group,_25a.Group.nextSibling);}else{_25a.Group.parentNode[_12](this.Group);}_152(this,_25a,this.paper);return this;};_16a[_18].insertBefore=function(_25b){if(this.removed){return this;}_25b.Group.parentNode.insertBefore(this.Group,_25b.Group);_156(this,_25b,this.paper);return this;};var _1c8=function(vml,x,y,r){var g=_214("group"),o=_214("oval"),ol=o.style;g.style.cssText="position:absolute;left:0;top:0;width:"+vml.width+"px;height:"+vml.height+"px";g.coordsize=vml.coordsize;g.coordorigin=vml.coordorigin;g[_12](o);var res=new _16a(o,g,vml);res.type="circle";_16b(res,{stroke:"#000",fill:"none"});res.attrs.cx=x;res.attrs.cy=y;res.attrs.r=r;res.setBox({x:x-r,y:y-r,width:r*2,height:r*2});vml.canvas[_12](g);return res;};var _1cf=function(vml,x,y,w,h,r){var g=_214("group"),o=_214("roundrect"),_26c=(+r||0)/(_1b(w,h));g.style.cssText="position:absolute;left:0;top:0;width:"+vml.width+"px;height:"+vml.height+"px";g.coordsize=vml.coordsize;g.coordorigin=vml.coordorigin;g[_12](o);o.arcsize=_26c;var res=new _16a(o,g,vml);res.type="rect";_16b(res,{stroke:"#000"});res.arcsize=_26c;res.setBox({x:x,y:y,width:w,height:h,r:r});vml.canvas[_12](g);return res;};var _1d8=function(vml,x,y,rx,ry){var g=_214("group"),o=_214("oval"),ol=o.style;g.style.cssText="position:absolute;left:0;top:0;width:"+vml.width+"px;height:"+vml.height+"px";g.coordsize=vml.coordsize;g.coordorigin=vml.coordorigin;g[_12](o);var res=new _16a(o,g,vml);res.type="ellipse";_16b(res,{stroke:"#000"});res.attrs.cx=x;res.attrs.cy=y;res.attrs.rx=rx;res.attrs.ry=ry;res.setBox({x:x-rx,y:y-ry,width:rx*2,height:ry*2});vml.canvas[_12](g);return res;};var _1e0=function(vml,src,x,y,w,h){var g=_214("group"),o=_214("image"),ol=o.style;g.style.cssText="position:absolute;left:0;top:0;width:"+vml.width+"px;height:"+vml.height+"px";g.coordsize=vml.coordsize;g.coordorigin=vml.coordorigin;o.src=src;g[_12](o);var res=new _16a(o,g,vml);res.type="image";res.attrs.src=src;res.attrs.x=x;res.attrs.y=y;res.attrs.w=w;res.attrs.h=h;res.setBox({x:x,y:y,width:w,height:h});vml.canvas[_12](g);return res;};var _1e9=function(vml,x,y,text){var g=_214("group"),el=_214("shape"),ol=el.style,path=_214("path"),ps=path.style,o=_214("textpath");g.style.cssText="position:absolute;left:0;top:0;width:"+vml.width+"px;height:"+vml.height+"px";g.coordsize=vml.coordsize;g.coordorigin=vml.coordorigin;path.v=R.format("m{0},{1}l{2},{1}",_22(x),_22(y),_22(x)+1);path.textpathok=true;ol.width=vml.width;ol.height=vml.height;o.string=text+E;o.on=true;el[_12](o);el[_12](path);g[_12](el);var res=new _16a(o,g,vml);res.shape=el;res.textpath=path;res.type="text";res.attrs.text=text;res.attrs.x=x;res.attrs.y=y;res.attrs.w=1;res.attrs.h=1;_16b(res,{font:_29.font,stroke:"none",fill:"#000"});res.setBox();vml.canvas[_12](g);return res;};var _1f0=function(_28c,_28d){var cs=this.canvas.style;_28c==+_28c&&(_28c+="px");_28d==+_28d&&(_28d+="px");cs.width=_28c;cs.height=_28d;cs.clip="rect(0 "+_28c+" "+_28d+" 0)";return this;};_2.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)");try{!_2.namespaces.rvml&&_2.namespaces.add("rvml","urn:schemas-microsoft-com:vml");var _214=function(_28f){return _2.createElement("<rvml:"+_28f+" class=\"rvml\">");};}catch(e){var _214=function(_290){return _2.createElement("<"+_290+" xmlns=\"urn:schemas-microsoft.com:vml\" class=\"rvml\">");};}var _8=function(){var con=_13d[_9](null,arguments),_292=con.container,_293=con.height,s,_295=con.width,x=con.x,y=con.y;if(!_292){throw new Error("VML container not found.");}var res={},c=res.canvas=_2.createElement("div"),cs=c.style;_295=_295||512;_293=_293||342;_295==+_295&&(_295+="px");_293==+_293&&(_293+="px");res.width=1000;res.height=1000;res.coordsize="1000 1000";res.coordorigin="0 0";res.span=_2.createElement("span");res.span.style.cssText="position:absolute;left:-9999px;top:-9999px;padding:0;margin:0;line-height:1;display:inline;";c[_12](res.span);cs.cssText=R.format("width:{0};height:{1};position:absolute;clip:rect(0 {0} {1} 0);overflow:hidden",_295,_293);if(_292==1){_2.body[_12](c);cs.left=x+"px";cs.top=y+"px";_292={style:{width:_295,height:_293}};}else{_292.style.width=_295;_292.style.height=_293;if(_292.firstChild){_292.insertBefore(c,_292.firstChild);}else{_292[_12](c);}}for(var prop in _1e){if(_1e[has](prop)){res[prop]=_1e[prop];}}_143.call(res,res,R.fn);res.top=res.bottom=null;res.raphael=R;return res;};_1e.clear=function(){this.canvas.innerHTML=E;this.bottom=this.top=null;};_1e.remove=function(){this.canvas.parentNode.removeChild(this.canvas);for(var i in this){delete this[i];}};}if({"Apple Computer, Inc.":1,"Google Inc.":1}[navigator.vendor]&&!(navigator.userAgent.indexOf("Version/4.0")+1)){_1e.safari=function(){var rect=this.rect(-99,-99,this.width+99,this.height+99);setTimeout(function(){rect.remove();});};}else{_1e.safari=function(){};}var _29e=(function(){if(_2.addEventListener){return function(obj,type,fn,_2a2){var f=function(e){return fn.call(_2a2,e);};obj.addEventListener(type,f,false);return function(){obj.removeEventListener(type,f,false);return true;};};}else{if(_2.attachEvent){return function(obj,type,fn,_2a8){var f=function(e){return fn.call(_2a8,e||_3.event);};obj.attachEvent("on"+type,f);var _2ab=function(){obj.detachEvent("on"+type,f);return true;};if(type=="mouseover"){obj.attachEvent("onmouseenter",f);return function(){obj.detachEvent("onmouseenter",f);return _2ab();};}else{if(type=="mouseout"){obj.attachEvent("onmouseleave",f);return function(){obj.detachEvent("onmouseleave",f);return _2ab();};}}return _2ab;};}}})();for(var i=_15[_e];i--;){(function(_2ad){_16a[_18][_2ad]=function(fn){if(R.is(fn,"function")){this.events=this.events||{};this.events[_2ad]=this.events[_2ad]||{};this.events[_2ad][fn]=this.events[_2ad][fn]||[];this.events[_2ad][fn][_11](_29e(this.shape||this.node,_2ad,fn,this));}return this;};_16a[_18]["un"+_2ad]=function(fn){var e=this.events;e&&e[_2ad]&&e[_2ad][fn]&&e[_2ad][fn][_e]&&e[_2ad][fn].shift()()&&!e[_2ad][fn][_e]&&delete e[_2ad][fn];return this;};})(_15[i]);}_16a[_18].hover=function(f_in,_2b2){return this.mouseover(f_in).mouseout(_2b2);};_1e.circle=function(x,y,r){return _1c8(this,x||0,y||0,r||0);};_1e.rect=function(x,y,w,h,r){return _1cf(this,x||0,y||0,w||0,h||0,r||0);};_1e.ellipse=function(x,y,rx,ry){return _1d8(this,x||0,y||0,rx||0,ry||0);};_1e.path=function(_2bf){_2bf&&!R.is(_2bf,"string")&&!R.is(_2bf[0],"array")&&(_2bf+=E);return _165(R.format[_9](R,arguments),this);};_1e.image=function(src,x,y,w,h){return _1e0(this,src||"about:blank",x||0,y||0,w||0,h||0);};_1e.text=function(x,y,text){return _1e9(this,x||0,y||0,text||E);};_1e.set=function(_2c8){arguments[_e]>1&&(_2c8=Array[_18].splice.call(arguments,0,arguments[_e]));return new Set(_2c8);};_1e.setSize=_1f0;_16a[_18].scale=function(x,y,cx,cy){if(x==null&&y==null){return {x:this._.sx,y:this._.sy,toString:function(){return this.x+S+this.y;}};}y=y||x;!+y&&(y=x);var dx,dy,dcx,dcy,a=this.attrs;if(x!=0){var bb=this.getBBox(),rcx=bb.x+bb.width/2,rcy=bb.y+bb.height/2,kx=x/this._.sx,ky=y/this._.sy;cx=(+cx||cx==0)?cx:rcx;cy=(+cy||cy==0)?cy:rcy;var dirx=~~(x/Math.abs(x)),diry=~~(y/Math.abs(y)),s=this.node.style,ncx=cx+(rcx-cx)*kx,ncy=cy+(rcy-cy)*ky;switch(this.type){case "rect":case "image":var neww=a.width*dirx*kx,newh=a.height*diry*ky,newr=a.r*_1b(kx,ky),newx=ncx-neww/2,newy=ncy-newh/2;this.attr({width:neww,height:newh,x:newx,y:newy,r:newr});break;case "circle":case "ellipse":this.attr({rx:a.rx*dirx*kx,ry:a.ry*diry*ky,r:a.r*_1b(dirx*kx,diry*ky),cx:ncx,cy:ncy});break;case "path":var path=_85(a.path),skip=true;for(var i=0,ii=path[_e];i<ii;i++){var p=path[i],j,P0=_28.call(p[0]);if(P0=="M"&&skip){continue;}else{skip=false;}if(P0=="A"){p[path[i][_e]-2]*=kx;p[path[i][_e]-1]*=ky;p[1]*=dirx*kx;p[2]*=diry*ky;p[5]=+(dirx+diry?!!+p[5]:!+p[5]);}else{if(P0=="H"){for(j=1,jj=p[_e];j<jj;j++){p[j]*=kx;}}else{if(P0=="V"){for(j=1,jj=p[_e];j<jj;j++){p[j]*=ky;}}else{for(j=1,jj=p[_e];j<jj;j++){p[j]*=(j%2)?kx:ky;}}}}}var dim2=_70(path),dx=ncx-dim2.x-dim2.width/2,dy=ncy-dim2.y-dim2.height/2;path[0][1]+=dx;path[0][2]+=dy;this.attr({path:path});break;}if(this.type in {text:1,image:1}&&(dirx!=1||diry!=1)){if(this.transformations){this.transformations[2]="scale("[_13](dirx,",",diry,")");this.node[_24]("transform",this.transformations[_17](S));dx=(dirx==-1)?-a.x-(neww||0):a.x;dy=(diry==-1)?-a.y-(newh||0):a.y;this.attr({x:dx,y:dy});a.fx=dirx-1;a.fy=diry-1;}else{this.node.filterMatrix=" progid:DXImageTransform.Microsoft.Matrix(M11="[_13](dirx,", M12=0, M21=0, M22=",diry,", Dx=0, Dy=0, sizingmethod='auto expand', filtertype='bilinear')");s.filter=(this.node.filterMatrix||E)+(this.node.filterOpacity||E);}}else{if(this.transformations){this.transformations[2]=E;this.node[_24]("transform",this.transformations[_17](S));a.fx=0;a.fy=0;}else{this.node.filterMatrix=E;s.filter=(this.node.filterMatrix||E)+(this.node.filterOpacity||E);}}a.scale=[x,y,cx,cy][_17](S);this._.sx=x;this._.sy=y;}return this;};R.easing_formulas={linear:function(n){return n;},"<":function(n){return pow(n,3);},">":function(n){return pow(n-1,3)+1;},"<>":function(n){n=n*2;if(n<1){return pow(n,3)/2;}n-=2;return (pow(n,3)+2)/2;},backIn:function(n){var s=1.70158;return n*n*((s+1)*n-s);},backOut:function(n){n=n-1;var s=1.70158;return n*n*((s+1)*n+s)+1;},elastic:function(n){if(n==0||n==1){return n;}var p=0.3,s=p/4;return pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p)+1;},bounce:function(n){var s=7.5625,p=2.75,l;if(n<(1/p)){l=s*n*n;}else{if(n<(2/p)){n-=(1.5/p);l=s*n*n+0.75;}else{if(n<(2.5/p)){n-=(2.25/p);l=s*n*n+0.9375;}else{n-=(2.625/p);l=s*n*n+0.984375;}}}return l;}};var _2f9={length:0},_2fa=function(){var Now=+new Date;for(var l in _2f9){if(l!="length"&&_2f9[has](l)){var e=_2f9[l];if(e.stop){delete _2f9[l];_2f9[_e]--;continue;}var time=Now-e.start,ms=e.ms,_300=e.easing,from=e.from,diff=e.diff,to=e.to,t=e.t,prev=e.prev||0,that=e.el,_307=e.callback,set={},now;if(time<ms){var pos=R.easing_formulas[_300]?R.easing_formulas[_300](time/ms):time/ms;for(var attr in from){if(from[has](attr)){switch(_2a[attr]){case "number":now=+from[attr]+pos*ms*diff[attr];break;case "colour":now="rgb("+[_30c(_22(from[attr].r+pos*ms*diff[attr].r)),_30c(_22(from[attr].g+pos*ms*diff[attr].g)),_30c(_22(from[attr].b+pos*ms*diff[attr].b))][_17](",")+")";break;case "path":now=[];for(var i=0,ii=from[attr][_e];i<ii;i++){now[i]=[from[attr][i][0]];for(var j=1,jj=from[attr][i][_e];j<jj;j++){now[i][j]=+from[attr][i][j]+pos*ms*diff[attr][i][j];}now[i]=now[i][_17](S);}now=now[_17](S);break;case "csv":switch(attr){case "translation":var x=diff[attr][0]*(time-prev),y=diff[attr][1]*(time-prev);t.x+=x;t.y+=y;now=x+S+y;break;case "rotation":now=+from[attr][0]+pos*ms*diff[attr][0];from[attr][1]&&(now+=","+from[attr][1]+","+from[attr][2]);break;case "scale":now=[+from[attr][0]+pos*ms*diff[attr][0],+from[attr][1]+pos*ms*diff[attr][1],(2 in to[attr]?to[attr][2]:E),(3 in to[attr]?to[attr][3]:E)][_17](S);break;case "clip-rect":now=[];var i=4;while(i--){now[i]=+from[attr][i]+pos*ms*diff[attr][i];}break;}break;}set[attr]=now;}}that.attr(set);that._run&&that._run.call(that);}else{(t.x||t.y)&&that.translate(-t.x,-t.y);to.scale&&(to.scale=to.scale+E);that.attr(to);delete _2f9[l];_2f9[_e]--;that.in_animation=null;R.is(_307,"function")&&_307.call(that);}e.prev=time;}}R.svg&&_1e.safari();_2f9[_e]&&setTimeout(_2fa);},_30c=function(_313){return _313>255?255:(_313<0?0:_313);},_1bd=function(x,y){if(x==null){return {x:this._.tx,y:this._.ty};}this._.tx+=+x;this._.ty+=+y;switch(this.type){case "circle":case "ellipse":this.attr({cx:+x+this.attrs.cx,cy:+y+this.attrs.cy});break;case "rect":case "image":case "text":this.attr({x:+x+this.attrs.x,y:+y+this.attrs.y});break;case "path":var path=_85(this.attrs.path);path[0][1]+=+x;path[0][2]+=+y;this.attr({path:path});break;}return this;};_16a[_18].animateWith=function(_317,_318,ms,_31a,_31b){_2f9[_317.id]&&(_318.start=_2f9[_317.id].start);return this.animate(_318,ms,_31a,_31b);};_16a[_18].onAnimation=function(f){this._run=f||null;return this;};_16a[_18].animate=function(_31d,ms,_31f,_320){if(R.is(_31f,"function")||!_31f){_320=_31f||null;}var from={},to={},diff={};for(var attr in _31d){if(_31d[has](attr)){if(_2a[has](attr)){from[attr]=this.attr(attr);(from[attr]==null)&&(from[attr]=_29[attr]);to[attr]=_31d[attr];switch(_2a[attr]){case "number":diff[attr]=(to[attr]-from[attr])/ms;break;case "colour":from[attr]=R.getRGB(from[attr]);var _325=R.getRGB(to[attr]);diff[attr]={r:(_325.r-from[attr].r)/ms,g:(_325.g-from[attr].g)/ms,b:(_325.b-from[attr].b)/ms};break;case "path":var _326=_72(from[attr],to[attr]);from[attr]=_326[0];to[attr]=_326[1];diff[attr]=[];for(var i=0,ii=from[attr][_e];i<ii;i++){diff[attr][i]=[0];for(var j=1,jj=from[attr][i][_e];j<jj;j++){diff[attr][i][j]=(to[attr][i][j]-from[attr][i][j])/ms;}}break;case "csv":var _32b=(_31d[attr]+E)[_25](_1),_32c=(from[attr]+E)[_25](_1);switch(attr){case "translation":from[attr]=[0,0];diff[attr]=[_32b[0]/ms,_32b[1]/ms];break;case "rotation":from[attr]=(_32c[1]==_32b[1]&&_32c[2]==_32b[2])?_32c:[0,_32b[1],_32b[2]];diff[attr]=[(_32b[0]-from[attr][0])/ms,0,0];break;case "scale":_31d[attr]=_32b;from[attr]=(from[attr]+E)[_25](_1);diff[attr]=[(_32b[0]-from[attr][0])/ms,(_32b[1]-from[attr][1])/ms,0,0];break;case "clip-rect":from[attr]=(from[attr]+E)[_25](_1);diff[attr]=[];var i=4;while(i--){diff[attr][i]=(_32b[i]-from[attr][i])/ms;}break;}to[attr]=_32b;}}}}this.stop();this.in_animation=1;_2f9[this.id]={start:_31d.start||+new Date,ms:ms,easing:_31f,from:from,diff:diff,to:to,el:this,callback:_320,t:{x:0,y:0}};++_2f9[_e]==1&&_2fa();return this;};_16a[_18].stop=function(){_2f9[this.id]&&_2f9[_e]--;delete _2f9[this.id];return this;};_16a[_18].translate=function(x,y){return this.attr({translation:x+" "+y});};_16a[_18][_1c]=function(){return "Rapha?l?s object";};R.ae=_2f9;var Set=function(_32f){this.items=[];this[_e]=0;if(_32f){for(var i=0,ii=_32f[_e];i<ii;i++){if(_32f[i]&&(_32f[i].constructor==_16a||_32f[i].constructor==Set)){this[this.items[_e]]=this.items[this.items[_e]]=_32f[i];this[_e]++;}}}};Set[_18][_11]=function(){var item,len;for(var i=0,ii=arguments[_e];i<ii;i++){item=arguments[i];if(item&&(item.constructor==_16a||item.constructor==Set)){len=this.items[_e];this[len]=this.items[len]=item;this[_e]++;}}return this;};Set[_18].pop=function(){delete this[this[_e]--];return this.items.pop();};for(var _336 in _16a[_18]){if(_16a[_18][has](_336)){Set[_18][_336]=(function(_337){return function(){for(var i=0,ii=this.items[_e];i<ii;i++){this.items[i][_337][_9](this.items[i],arguments);}return this;};})(_336);}}Set[_18].attr=function(name,_33b){if(name&&R.is(name,"array")&&R.is(name[0],"object")){for(var j=0,jj=name[_e];j<jj;j++){this.items[j].attr(name[j]);}}else{for(var i=0,ii=this.items[_e];i<ii;i++){this.items[i].attr[_9](this.items[i],arguments);}}return this;};Set[_18].animate=function(_340,ms,_342,_343){(R.is(_342,"function")||!_342)&&(_343=_342||null);var len=this.items[_e],i=len,set=this,_346;_343&&(_346=function(){!--len&&_343.call(set);});this.items[--i].animate(_340,ms,_342||_346,_346);while(i--){this.items[i].animateWith(this.items[len-1],_340,ms,_342||_346,_346);}return this;};Set[_18].insertAfter=function(el){var i=this.items[_e];while(i--){this.items[i].insertAfter(el);}};Set[_18].getBBox=function(){var x=[],y=[],w=[],h=[];for(var i=this.items[_e];i--;){var box=this.items[i].getBBox();x[_11](box.x);y[_11](box.y);w[_11](box.x+box.width);h[_11](box.y+box.height);}x=_1b[_9](0,x);y=_1b[_9](0,y);return {x:x,y:y,width:_1a[_9](0,w)-x,height:_1a[_9](0,h)-y};};R.registerFont=function(font){if(!font.face){return font;}this.fonts=this.fonts||{};var _350={w:font.w,face:{},glyphs:{}},_351=font.face["font-family"];for(var prop in font.face){if(font.face[has](prop)){_350.face[prop]=font.face[prop];}}if(this.fonts[_351]){this.fonts[_351][_11](_350);}else{this.fonts[_351]=[_350];}if(!font.svg){_350.face["units-per-em"]=_27(font.face["units-per-em"],10);for(var _353 in font.glyphs){if(font.glyphs[has](_353)){var path=font.glyphs[_353];_350.glyphs[_353]={w:path.w,k:{},d:path.d&&"M"+path.d[rp](/[mlcxtrv]/g,function(_355){return {l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[_355]||"M";})+"z"};if(path.k){for(var k in path.k){if(path[has](k)){_350.glyphs[_353].k[k]=path.k[k];}}}}}}return font;};_1e.getFont=function(_357,_358,_359,_35a){_35a=_35a||"normal";_359=_359||"normal";_358=+_358||{normal:400,bold:700,lighter:300,bolder:800}[_358]||400;var font=R.fonts[_357];if(!font){var name=new RegExp("(^|\\s)"+_357[rp](/[^\w\d\s+!~.:_-]/g,E)+"(\\s|$)","i");for(var _35d in R.fonts){if(R.fonts[has](_35d)){if(name.test(_35d)){font=R.fonts[_35d];break;}}}}var _35e;if(font){for(var i=0,ii=font[_e];i<ii;i++){_35e=font[i];if(_35e.face["font-weight"]==_358&&(_35e.face["font-style"]==_359||!_35e.face["font-style"])&&_35e.face["font-stretch"]==_35a){break;}}}return _35e;};_1e.print=function(x,y,_363,font,size,_366){_366=_366||"middle";var out=this.set(),_368=(_363+E)[_25](E),_369=0,path=E,_36b;R.is(font,"string")&&(font=this.getFont(font));if(font){_36b=(size||16)/font.face["units-per-em"];var bb=font.face.bbox.split(_1),top=+bb[0],_36e=+bb[1]+(_366=="baseline"?bb[3]-bb[1]+(+font.face.descent):(bb[3]-bb[1])/2);for(var i=0,ii=_368[_e];i<ii;i++){var prev=i&&font.glyphs[_368[i-1]]||{},curr=font.glyphs[_368[i]];_369+=i?(prev.w||font.w)+(prev.k&&prev.k[_368[i]]||0):0;curr&&curr.d&&out[_11](this.path(curr.d).attr({fill:"#000",stroke:"none",translation:[_369,0]}));}out.scale(_36b,_36b,top,_36e).translate(x-top,y-_36e);}return out;};R.format=function(_373){var args=R.is(arguments[1],"array")?[0][_13](arguments[1]):arguments,rg=/\{(\d+)\}/g;_373&&R.is(_373,"string")&&args[_e]-1&&(_373=_373[rp](rg,function(str,i){return args[++i]==null?E:args[i];}));return _373||E;};R.ninja=function(){var r=_3.Raphael,u;if(_4.was){_3.Raphael=_4.is;}else{try{delete _3.Raphael;}catch(e){_3.Raphael=u;}}return r;};R.el=_16a[_18];return R;})();