/*
 * Raphael 1.4.7 - JavaScript Vector Library
 *
 * Copyright (c) 2010 Dmitry Baranovskiy (http://raphaeljs.com)
 * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
 */
Raphael=function(){function l(){if(l.is(arguments[0],U)){for(var a=arguments[0],b=Ca[K](l,a.splice(0,3+l.is(a[0],P))),c=b.set(),d=0,f=a[o];d<f;d++){var e=a[d]||{};sb.test(e.type)&&c[F](b[e.type]().attr(e))}return c}return Ca[K](l,arguments)}l.version="1.4.7";var V=/[, ]+/,sb=/^(circle|rect|path|ellipse|text|image)$/,p="prototype",z="hasOwnProperty",C=document,aa=window,Qa={was:Object[p][z].call(aa,"Raphael"),is:aa.Raphael};function H(){}var x="appendChild",K="apply",M="concat",Da="createTouch"in C,
A="",N=" ",D=String,G="split",Ra="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend orientationchange touchcancel gesturestart gesturechange gestureend"[G](N),Ea={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},R="join",o="length",fa=String[p].toLowerCase,v=Math,Y=v.max,ba=v.min,P="number",ga="string",U="array",O="toString",ca="fill",tb=Object[p][O],E=v.pow,F="push",ja=/^(?=[\da-f]$)/,Sa=/^url\(['"]?([^\)]+?)['"]?\)$/i,ub=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+(?:\s*,\s*[\d\.]+)?)\s*\)|rgba?\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%(?:\s*,\s*[\d\.]+%)?)\s*\)|hsb\(\s*([\d\.]+(?:deg|\xb0)?\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|hsb\(\s*([\d\.]+(?:deg|\xb0|%)\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\)|hsl\(\s*([\d\.]+(?:deg|\xb0)?\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|hsl\(\s*([\d\.]+(?:deg|\xb0|%)\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\))\s*$/i,
Q=v.round,W="setAttribute",y=parseFloat,ha=parseInt,Fa=" progid:DXImageTransform.Microsoft",sa=String[p].toUpperCase,ta={blur:0,"clip-rect":"0 0 1e9 1e9",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},Ga={along:"along",blur:P,"clip-rect":"csv",cx:P,cy:P,fill:"colour","fill-opacity":P,"font-size":P,height:P,opacity:P,path:"path",r:P,rotation:"csv",rx:P,ry:P,scale:"csv",stroke:"colour","stroke-opacity":P,"stroke-width":P,translation:"csv",width:P,x:P,y:P},I="replace";l.type=aa.SVGAngle||C.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure",
"1.1")?"SVG":"VML";if(l.type=="VML"){var da=C.createElement("div");da.innerHTML='<v:shape adj="1"/>';da=da.firstChild;da.style.behavior="url(#default#VML)";if(!(da&&typeof da.adj=="object"))return l.type=null;da=null}l.svg=!(l.vml=l.type=="VML");H[p]=l[p];l._id=0;l._oid=0;l.fn={};l.is=function(a,b){b=fa.call(b);return b=="object"&&a===Object(a)||b=="undefined"&&typeof a==b||b=="null"&&a==null||b=="array"&&Array.isArray&&Array.isArray(a)||fa.call(tb.call(a).slice(8,-1))==b};l.setWindow=function(a){aa=
a;C=aa.document};function ua(a){if(l.vml){var b=/^\s+|\s+$/g;ua=Z(function(d){var f;d=D(d)[I](b,A);try{var e=new aa.ActiveXObject("htmlfile");e.write("<body>");e.close();f=e.body}catch(g){f=aa.createPopup().document.body}e=f.createTextRange();try{f.style.color=d;var h=e.queryCommandValue("ForeColor");h=(h&255)<<16|h&65280|(h&16711680)>>>16;return"#"+("000000"+h[O](16)).slice(-6)}catch(i){return"none"}})}else{var c=C.createElement("i");c.title="Rapha\u00ebl Colour Picker";c.style.display="none";C.body[x](c);
ua=Z(function(d){c.style.color=d;return C.defaultView.getComputedStyle(c,A).getPropertyValue("color")})}return ua(a)}function Ta(){return"hsb("+[this.h,this.s,this.b]+")"}function vb(){return"hsl("+[this.h,this.s,this.l]+")"}function wb(){return this.hex}l.hsb2rgb=function(a,b,c){if(l.is(a,"object")&&"h"in a&&"s"in a&&"b"in a){c=a.b;b=a.s;a=a.h}return l.hsl2rgb(a,b,c/2)};l.hsl2rgb=function(a,b,c){if(l.is(a,"object")&&"h"in a&&"s"in a&&"l"in a){c=a.l;b=a.s;a=a.h}if(a>1||b>1||c>1){a/=255;b/=255;c/=
255}var d={},f=["r","g","b"],e;if(b){b=c<0.5?c*(1+b):c+b-c*b;c=2*c-b;for(var g=0,h=f.length;g<h;g++){e=a+1/3*-(g-1);e<0&&e++;e>1&&e--;d[f[g]]=e*6<1?c+(b-c)*6*e:e*2<1?b:e*3<2?c+(b-c)*(2/3-e)*6:c}}else d={r:c,g:c,b:c};d.r*=255;d.g*=255;d.b*=255;a=(~~d.r)[O](16);f=(~~d.g)[O](16);b=(~~d.b)[O](16);a=a[I](ja,"0");f=f[I](ja,"0");b=b[I](ja,"0");d.hex="#"+a+f+b;d.toString=wb;return d};l.rgb2hsb=function(a,b,c){if(b==null&&l.is(a,"object")&&"r"in a&&"g"in a&&"b"in a){c=a.b;b=a.g;a=a.r}if(b==null&&l.is(a,ga)){var d=
l.getRGB(a);a=d.r;b=d.g;c=d.b}if(a>1||b>1||c>1){a/=255;b/=255;c/=255}var f=Y(a,b,c),e=ba(a,b,c);d=f;if(e==f)return{h:0,s:0,b:f,toString:Ta};else{var g=f-e;e=g/f;a=a==f?(b-c)/g:b==f?2+(c-a)/g:4+(a-b)/g;a/=6;a<0&&a++;a>1&&a--}return{h:a,s:e,b:d,toString:Ta}};l.rgb2hsl=function(a,b,c){if(b==null&&l.is(a,"object")&&"r"in a&&"g"in a&&"b"in a){c=a.b;b=a.g;a=a.r}if(b==null&&l.is(a,ga)){var d=l.getRGB(a);a=d.r;b=d.g;c=d.b}if(a>1||b>1||c>1){a/=255;b/=255;c/=255}var f=Y(a,b,c),e=ba(a,b,c);d=(f+e)/2;if(e==f)a=
{h:0,s:0,l:d};else{var g=f-e;e=d<0.5?g/(f+e):g/(2-f-e);a=a==f?(b-c)/g:b==f?2+(c-a)/g:4+(a-b)/g;a/=6;a<0&&a++;a>1&&a--;a={h:a,s:e,l:d}}a.toString=vb;return a};var xb=/,?([achlmqrstvxz]),?/gi,ka=/\s*,\s*/,yb={hs:1,rg:1};l._path2string=function(){return this.join(",")[I](xb,"$1")};function Z(a,b,c){function d(){var f=Array[p].slice.call(arguments,0),e=f[R]("\u25ba"),g=d.cache=d.cache||{},h=d.count=d.count||[];if(g[z](e))return c?c(g[e]):g[e];h[o]>=1000&&delete g[h.shift()];h[F](e);g[e]=a[K](b,f);return c?
c(g[e]):g[e]}return d}l.getRGB=Z(function(a){if(!a||(a=D(a)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1};if(a=="none")return{r:-1,g:-1,b:-1,hex:"none"};!(yb[z](a.substring(0,2))||a.charAt()=="#")&&(a=ua(a));var b,c,d,f,e;if(a=a.match(ub)){if(a[2]){d=ha(a[2].substring(5),16);c=ha(a[2].substring(3,5),16);b=ha(a[2].substring(1,3),16)}if(a[3]){d=ha((e=a[3].charAt(3))+e,16);c=ha((e=a[3].charAt(2))+e,16);b=ha((e=a[3].charAt(1))+e,16)}if(a[4]){a=a[4][G](ka);b=y(a[0]);c=y(a[1]);d=y(a[2]);f=y(a[3])}if(a[5]){a=
a[5][G](ka);b=y(a[0])*2.55;c=y(a[1])*2.55;d=y(a[2])*2.55;f=y(a[3])}if(a[6]){a=a[6][G](ka);b=y(a[0]);c=y(a[1]);d=y(a[2]);(a[0].slice(-3)=="deg"||a[0].slice(-1)=="\u00b0")&&(b/=360);return l.hsb2rgb(b,c,d)}if(a[7]){a=a[7][G](ka);b=y(a[0])*2.55;c=y(a[1])*2.55;d=y(a[2])*2.55;(a[0].slice(-3)=="deg"||a[0].slice(-1)=="\u00b0")&&(b/=360*2.55);return l.hsb2rgb(b,c,d)}if(a[8]){a=a[8][G](ka);b=y(a[0]);c=y(a[1]);d=y(a[2]);(a[0].slice(-3)=="deg"||a[0].slice(-1)=="\u00b0")&&(b/=360);return l.hsl2rgb(b,c,d)}if(a[9]){a=
a[9][G](ka);b=y(a[0])*2.55;c=y(a[1])*2.55;d=y(a[2])*2.55;(a[0].slice(-3)=="deg"||a[0].slice(-1)=="\u00b0")&&(b/=360*2.55);return l.hsl2rgb(b,c,d)}a={r:b,g:c,b:d};b=(~~b)[O](16);c=(~~c)[O](16);d=(~~d)[O](16);b=b[I](ja,"0");c=c[I](ja,"0");d=d[I](ja,"0");a.hex="#"+b+c+d;isFinite(y(f))&&(a.o=f);return a}return{r:-1,g:-1,b:-1,hex:"none",error:1}},l);l.getColor=function(a){a=this.getColor.start=this.getColor.start||{h:0,s:1,b:a||0.75};var b=this.hsb2rgb(a.h,a.s,a.b);a.h+=0.075;if(a.h>1){a.h=0;a.s-=0.2;
a.s<=0&&(this.getColor.start={h:0,s:1,b:a.b})}return b.hex};l.getColor.reset=function(){delete this.start};var zb=/([achlmqstvz])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?\s*,?\s*)+)/ig,Ab=/(-?\d*\.?\d*(?:e[-+]?\d+)?)\s*,?\s*/ig;l.parsePathString=Z(function(a){if(!a)return null;var b={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},c=[];if(l.is(a,U)&&l.is(a[0],U))c=va(a);c[o]||D(a)[I](zb,function(d,f,e){var g=[];d=fa.call(f);e[I](Ab,function(h,i){i&&g[F](+i)});if(d=="m"&&g[o]>2){c[F]([f][M](g.splice(0,2)));d="l";
f=f=="m"?"l":"L"}for(;g[o]>=b[d];){c[F]([f][M](g.splice(0,b[d])));if(!b[d])break}});c[O]=l._path2string;return c});l.findDotsAtSegment=function(a,b,c,d,f,e,g,h,i){var j=1-i,m=E(j,3)*a+E(j,2)*3*i*c+j*3*i*i*f+E(i,3)*g;j=E(j,3)*b+E(j,2)*3*i*d+j*3*i*i*e+E(i,3)*h;var n=a+2*i*(c-a)+i*i*(f-2*c+a),r=b+2*i*(d-b)+i*i*(e-2*d+b),q=c+2*i*(f-c)+i*i*(g-2*f+c),k=d+2*i*(e-d)+i*i*(h-2*e+d);a=(1-i)*a+i*c;b=(1-i)*b+i*d;f=(1-i)*f+i*g;e=(1-i)*e+i*h;h=90-v.atan((n-q)/(r-k))*180/v.PI;(n>q||r<k)&&(h+=180);return{x:m,y:j,
m:{x:n,y:r},n:{x:q,y:k},start:{x:a,y:b},end:{x:f,y:e},alpha:h}};var xa=Z(function(a){if(!a)return{x:0,y:0,width:0,height:0};a=wa(a);for(var b=0,c=0,d=[],f=[],e,g=0,h=a[o];g<h;g++){e=a[g];if(e[0]=="M"){b=e[1];c=e[2];d[F](b);f[F](c)}else{b=Bb(b,c,e[1],e[2],e[3],e[4],e[5],e[6]);d=d[M](b.min.x,b.max.x);f=f[M](b.min.y,b.max.y);b=e[5];c=e[6]}}a=ba[K](0,d);e=ba[K](0,f);return{x:a,y:e,width:Y[K](0,d)-a,height:Y[K](0,f)-e}});function va(a){var b=[];if(!l.is(a,U)||!l.is(a&&a[0],U))a=l.parsePathString(a);for(var c=
0,d=a[o];c<d;c++){b[c]=[];for(var f=0,e=a[c][o];f<e;f++)b[c][f]=a[c][f]}b[O]=l._path2string;return b}var Ha=Z(function(a){if(!l.is(a,U)||!l.is(a&&a[0],U))a=l.parsePathString(a);var b=[],c=0,d=0,f=0,e=0,g=0;if(a[0][0]=="M"){c=a[0][1];d=a[0][2];f=c;e=d;g++;b[F](["M",c,d])}g=g;for(var h=a[o];g<h;g++){var i=b[g]=[],j=a[g];if(j[0]!=fa.call(j[0])){i[0]=fa.call(j[0]);switch(i[0]){case "a":i[1]=j[1];i[2]=j[2];i[3]=j[3];i[4]=j[4];i[5]=j[5];i[6]=+(j[6]-c).toFixed(3);i[7]=+(j[7]-d).toFixed(3);break;case "v":i[1]=
+(j[1]-d).toFixed(3);break;case "m":f=j[1];e=j[2];default:for(var m=1,n=j[o];m<n;m++)i[m]=+(j[m]-(m%2?c:d)).toFixed(3)}}else{b[g]=[];if(j[0]=="m"){f=j[1]+c;e=j[2]+d}i=0;for(m=j[o];i<m;i++)b[g][i]=j[i]}j=b[g][o];switch(b[g][0]){case "z":c=f;d=e;break;case "h":c+=+b[g][j-1];break;case "v":d+=+b[g][j-1];break;default:c+=+b[g][j-2];d+=+b[g][j-1]}}b[O]=l._path2string;return b},0,va),oa=Z(function(a){if(!l.is(a,U)||!l.is(a&&a[0],U))a=l.parsePathString(a);var b=[],c=0,d=0,f=0,e=0,g=0;if(a[0][0]=="M"){c=
+a[0][1];d=+a[0][2];f=c;e=d;g++;b[0]=["M",c,d]}g=g;for(var h=a[o];g<h;g++){var i=b[g]=[],j=a[g];if(j[0]!=sa.call(j[0])){i[0]=sa.call(j[0]);switch(i[0]){case "A":i[1]=j[1];i[2]=j[2];i[3]=j[3];i[4]=j[4];i[5]=j[5];i[6]=+(j[6]+c);i[7]=+(j[7]+d);break;case "V":i[1]=+j[1]+d;break;case "H":i[1]=+j[1]+c;break;case "M":f=+j[1]+c;e=+j[2]+d;default:for(var m=1,n=j[o];m<n;m++)i[m]=+j[m]+(m%2?c:d)}}else{m=0;for(n=j[o];m<n;m++)b[g][m]=j[m]}switch(i[0]){case "Z":c=f;d=e;break;case "H":c=i[1];break;case "V":d=i[1];
break;case "M":f=b[g][b[g][o]-2];e=b[g][b[g][o]-1];default:c=b[g][b[g][o]-2];d=b[g][b[g][o]-1]}}b[O]=l._path2string;return b},null,va);function ya(a,b,c,d){return[a,b,c,d,c,d]}function Ua(a,b,c,d,f,e){var g=1/3,h=2/3;return[g*a+h*c,g*b+h*d,g*f+h*c,g*e+h*d,f,e]}function Va(a,b,c,d,f,e,g,h,i,j){var m=v.PI,n=m*120/180,r=m/180*(+f||0),q=[],k,t=Z(function(J,ia,za){var Cb=J*v.cos(za)-ia*v.sin(za);J=J*v.sin(za)+ia*v.cos(za);return{x:Cb,y:J}});if(j){w=j[0];k=j[1];e=j[2];B=j[3]}else{k=t(a,b,-r);a=k.x;b=k.y;
k=t(h,i,-r);h=k.x;i=k.y;v.cos(m/180*f);v.sin(m/180*f);k=(a-h)/2;w=(b-i)/2;B=k*k/(c*c)+w*w/(d*d);if(B>1){B=v.sqrt(B);c=B*c;d=B*d}B=c*c;var L=d*d;B=(e==g?-1:1)*v.sqrt(v.abs((B*L-B*w*w-L*k*k)/(B*w*w+L*k*k)));e=B*c*w/d+(a+h)/2;var B=B*-d*k/c+(b+i)/2,w=v.asin(((b-B)/d).toFixed(7));k=v.asin(((i-B)/d).toFixed(7));w=a<e?m-w:w;k=h<e?m-k:k;w<0&&(w=m*2+w);k<0&&(k=m*2+k);if(g&&w>k)w-=m*2;if(!g&&k>w)k-=m*2}m=k-w;if(v.abs(m)>n){q=k;m=h;L=i;k=w+n*(g&&k>w?1:-1);h=e+c*v.cos(k);i=B+d*v.sin(k);q=Va(h,i,c,d,f,0,g,m,
L,[k,q,e,B])}m=k-w;f=v.cos(w);e=v.sin(w);g=v.cos(k);k=v.sin(k);m=v.tan(m/4);c=4/3*c*m;m=4/3*d*m;d=[a,b];a=[a+c*e,b-m*f];b=[h+c*k,i-m*g];h=[h,i];a[0]=2*d[0]-a[0];a[1]=2*d[1]-a[1];if(j)return[a,b,h][M](q);else{q=[a,b,h][M](q)[R]()[G](",");j=[];h=0;for(i=q[o];h<i;h++)j[h]=h%2?t(q[h-1],q[h],r).y:t(q[h],q[h+1],r).x;return j}}function la(a,b,c,d,f,e,g,h,i){var j=1-i;return{x:E(j,3)*a+E(j,2)*3*i*c+j*3*i*i*f+E(i,3)*g,y:E(j,3)*b+E(j,2)*3*i*d+j*3*i*i*e+E(i,3)*h}}var Bb=Z(function(a,b,c,d,f,e,g,h){var i=f-2*
c+a-(g-2*f+c),j=2*(c-a)-2*(f-c),m=a-c,n=(-j+v.sqrt(j*j-4*i*m))/2/i;i=(-j-v.sqrt(j*j-4*i*m))/2/i;var r=[b,h],q=[a,g];v.abs(n)>1000000000000&&(n=0.5);v.abs(i)>1000000000000&&(i=0.5);if(n>0&&n<1){n=la(a,b,c,d,f,e,g,h,n);q[F](n.x);r[F](n.y)}if(i>0&&i<1){n=la(a,b,c,d,f,e,g,h,i);q[F](n.x);r[F](n.y)}i=e-2*d+b-(h-2*e+d);j=2*(d-b)-2*(e-d);m=b-d;n=(-j+v.sqrt(j*j-4*i*m))/2/i;i=(-j-v.sqrt(j*j-4*i*m))/2/i;v.abs(n)>1000000000000&&(n=0.5);v.abs(i)>1000000000000&&(i=0.5);if(n>0&&n<1){n=la(a,b,c,d,f,e,g,h,n);q[F](n.x);
r[F](n.y)}if(i>0&&i<1){n=la(a,b,c,d,f,e,g,h,i);q[F](n.x);r[F](n.y)}return{min:{x:ba[K](0,q),y:ba[K](0,r)},max:{x:Y[K](0,q),y:Y[K](0,r)}}}),wa=Z(function(a,b){var c=oa(a),d=b&&oa(b);a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null};b={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null};function f(q,k){var t;if(!q)return["C",k.x,k.y,k.x,k.y,k.x,k.y];!(q[0]in{T:1,Q:1})&&(k.qx=k.qy=null);switch(q[0]){case "M":k.X=q[1];k.Y=q[2];break;case "A":q=["C"][M](Va[K](0,[k.x,k.y][M](q.slice(1))));break;case "S":t=k.x+(k.x-
(k.bx||k.x));k=k.y+(k.y-(k.by||k.y));q=["C",t,k][M](q.slice(1));break;case "T":k.qx=k.x+(k.x-(k.qx||k.x));k.qy=k.y+(k.y-(k.qy||k.y));q=["C"][M](Ua(k.x,k.y,k.qx,k.qy,q[1],q[2]));break;case "Q":k.qx=q[1];k.qy=q[2];q=["C"][M](Ua(k.x,k.y,q[1],q[2],q[3],q[4]));break;case "L":q=["C"][M](ya(k.x,k.y,q[1],q[2]));break;case "H":q=["C"][M](ya(k.x,k.y,q[1],k.y));break;case "V":q=["C"][M](ya(k.x,k.y,k.x,q[1]));break;case "Z":q=["C"][M](ya(k.x,k.y,k.X,k.Y));break}return q}function e(q,k){if(q[k][o]>7){q[k].shift();
for(var t=q[k];t[o];)q.splice(k++,0,["C"][M](t.splice(0,6)));q.splice(k,1);i=Y(c[o],d&&d[o]||0)}}function g(q,k,t,L,B){if(q&&k&&q[B][0]=="M"&&k[B][0]!="M"){k.splice(B,0,["M",L.x,L.y]);t.bx=0;t.by=0;t.x=q[B][1];t.y=q[B][2];i=Y(c[o],d&&d[o]||0)}}for(var h=0,i=Y(c[o],d&&d[o]||0);h<i;h++){c[h]=f(c[h],a);e(c,h);d&&(d[h]=f(d[h],b));d&&e(d,h);g(c,d,a,b,h);g(d,c,b,a,h);var j=c[h],m=d&&d[h],n=j[o],r=d&&m[o];a.x=j[n-2];a.y=j[n-1];a.bx=y(j[n-4])||a.x;a.by=y(j[n-3])||a.y;b.bx=d&&(y(m[r-4])||b.x);b.by=d&&(y(m[r-
3])||b.y);b.x=d&&m[r-2];b.y=d&&m[r-1]}return d?[c,d]:c},null,va),Wa=Z(function(a){for(var b=[],c=0,d=a[o];c<d;c++){var f={},e=a[c].match(/^([^:]*):?([\d\.]*)/);f.color=l.getRGB(e[1]);if(f.color.error)return null;f.color=f.color.hex;e[2]&&(f.offset=e[2]+"%");b[F](f)}c=1;for(d=b[o]-1;c<d;c++)if(!b[c].offset){a=y(b[c-1].offset||0);e=0;for(f=c+1;f<d;f++)if(b[f].offset){e=b[f].offset;break}if(!e){e=100;f=d}e=y(e);for(e=(e-a)/(f-c+1);c<f;c++){a+=e;b[c].offset=a+"%"}}return b});function Xa(a,b,c,d){if(l.is(a,
ga)||l.is(a,"object")){a=l.is(a,ga)?C.getElementById(a):a;if(a.tagName)return b==null?{container:a,width:a.style.pixelWidth||a.offsetWidth,height:a.style.pixelHeight||a.offsetHeight}:{container:a,width:b,height:c}}else return{container:1,x:a,y:b,width:c,height:d}}function Ia(a,b){var c=this;for(var d in b)if(b[z](d)&&!(d in a))switch(typeof b[d]){case "function":(function(f){a[d]=a===c?f:function(){return f[K](c,arguments)}})(b[d]);break;case "object":a[d]=a[d]||{};Ia.call(this,a[d],b[d]);break;default:a[d]=
b[d];break}}function ma(a,b){a==b.top&&(b.top=a.prev);a==b.bottom&&(b.bottom=a.next);a.next&&(a.next.prev=a.prev);a.prev&&(a.prev.next=a.next)}function Ya(a,b){if(b.top!==a){ma(a,b);a.next=null;a.prev=b.top;b.top.next=a;b.top=a}}function Za(a,b){if(b.bottom!==a){ma(a,b);a.next=b.bottom;a.prev=null;b.bottom.prev=a;b.bottom=a}}function $a(a,b,c){ma(a,c);b==c.top&&(c.top=a);b.next&&(b.next.prev=a);a.next=b.next;a.prev=b;b.next=a}function ab(a,b,c){ma(a,c);b==c.bottom&&(c.bottom=a);b.prev&&(b.prev.next=
a);a.prev=b.prev;b.prev=a;a.next=b}function bb(a){return function(){throw new Error("Rapha\u00ebl: you are calling to method \u201c"+a+"\u201d of removed object");}}var cb=/^r(?:\(([^,]+?)\s*,\s*([^\)]+?)\))?/;l.pathToRelative=Ha;if(l.svg){H[p].svgns="http://www.w3.org/2000/svg";H[p].xlink="http://www.w3.org/1999/xlink";Q=function(a){return+a+(~~a===a)*0.5};var u=function(a,b){if(b)for(var c in b)b[z](c)&&a[W](c,D(b[c]));else{a=C.createElementNS(H[p].svgns,a);a.style.webkitTapHighlightColor="rgba(0,0,0,0)";
return a}};l[O]=function(){return"Your browser supports SVG.\nYou are running Rapha\u00ebl "+this.version};var db=function(a,b){var c=u("path");b.canvas&&b.canvas[x](c);b=new s(c,b);b.type="path";ea(b,{fill:"none",stroke:"#000",path:a});return b},pa=function(a,b,c){var d="linear",f=0.5,e=0.5,g=a.style;b=D(b)[I](cb,function(m,n,r){d="radial";if(n&&r){f=y(n);e=y(r);m=(e>0.5)*2-1;E(f-0.5,2)+E(e-0.5,2)>0.25&&(e=v.sqrt(0.25-E(f-0.5,2))*m+0.5)&&e!=0.5&&(e=e.toFixed(5)-1.0E-5*m)}return A});b=b[G](/\s*\-\s*/);
if(d=="linear"){var h=b.shift();h=-y(h);if(isNaN(h))return null;h=[0,0,v.cos(h*v.PI/180),v.sin(h*v.PI/180)];var i=1/(Y(v.abs(h[2]),v.abs(h[3]))||1);h[2]*=i;h[3]*=i;if(h[2]<0){h[0]=-h[2];h[2]=0}if(h[3]<0){h[1]=-h[3];h[3]=0}}b=Wa(b);if(!b)return null;i=a.getAttribute(ca);(i=i.match(/^url\(#(.*)\)$/))&&c.defs.removeChild(C.getElementById(i[1]));i=u(d+"Gradient");i.id="r"+(l._id++)[O](36);u(i,d=="radial"?{fx:f,fy:e}:{x1:h[0],y1:h[1],x2:h[2],y2:h[3]});c.defs[x](i);c=0;for(h=b[o];c<h;c++){var j=u("stop");
u(j,{offset:b[c].offset?b[c].offset:!c?"0%":"100%","stop-color":b[c].color||"#fff"});i[x](j)}u(a,{fill:"url(#"+i.id+")",opacity:1,"fill-opacity":1});g.fill=A;g.opacity=1;return g.fillOpacity=1},Ja=function(a){var b=a.getBBox();u(a.pattern,{patternTransform:l.format("translate({0},{1})",b.x,b.y)})},ea=function(a,b){var c={"":[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]},d=a.node,f=a.attrs,e=
a.rotate();function g(k,t){if(t=c[fa.call(t)]){var L=k.attrs["stroke-width"]||"1";k={round:L,square:L,butt:0}[k.attrs["stroke-linecap"]||b["stroke-linecap"]]||0;for(var B=[],w=t[o];w--;)B[w]=t[w]*L+(w%2?1:-1)*k;u(d,{"stroke-dasharray":B[R](",")})}}b[z]("rotation")&&(e=b.rotation);var h=D(e)[G](V);if(h.length-1){h[1]=+h[1];h[2]=+h[2]}else h=null;y(e)&&a.rotate(0,true);for(var i in b)if(b[z](i))if(ta[z](i)){var j=b[i];f[i]=j;switch(i){case "blur":a.blur(j);break;case "rotation":a.rotate(j,true);break;
case "href":case "title":case "target":var m=d.parentNode;if(fa.call(m.tagName)!="a"){var n=u("a");m.insertBefore(n,d);n[x](d);m=n}m.setAttributeNS(a.paper.xlink,i,j);break;case "cursor":d.style.cursor=j;break;case "clip-rect":m=D(j)[G](V);if(m[o]==4){a.clip&&a.clip.parentNode.parentNode.removeChild(a.clip.parentNode);var r=u("clipPath");n=u("rect");r.id="r"+(l._id++)[O](36);u(n,{x:m[0],y:m[1],width:m[2],height:m[3]});r[x](n);a.paper.defs[x](r);u(d,{"clip-path":"url(#"+r.id+")"});a.clip=n}if(!j){(j=
C.getElementById(d.getAttribute("clip-path")[I](/(^url\(#|\)$)/g,A)))&&j.parentNode.removeChild(j);u(d,{"clip-path":A});delete a.clip}break;case "path":if(a.type=="path")u(d,{d:j?(f.path=oa(j)):"M0,0"});break;case "width":d[W](i,j);if(f.fx){i="x";j=f.x}else break;case "x":if(f.fx)j=-f.x-(f.width||0);case "rx":if(i=="rx"&&a.type=="rect")break;case "cx":h&&(i=="x"||i=="cx")&&(h[1]+=j-f[i]);d[W](i,j);a.pattern&&Ja(a);break;case "height":d[W](i,j);if(f.fy){i="y";j=f.y}else break;case "y":if(f.fy)j=-f.y-
(f.height||0);case "ry":if(i=="ry"&&a.type=="rect")break;case "cy":h&&(i=="y"||i=="cy")&&(h[2]+=j-f[i]);d[W](i,j);a.pattern&&Ja(a);break;case "r":a.type=="rect"?u(d,{rx:j,ry:j}):d[W](i,j);break;case "src":a.type=="image"&&d.setAttributeNS(a.paper.xlink,"href",j);break;case "stroke-width":d.style.strokeWidth=j;d[W](i,j);f["stroke-dasharray"]&&g(a,f["stroke-dasharray"]);break;case "stroke-dasharray":g(a,j);break;case "translation":j=D(j)[G](V);j[0]=+j[0]||0;j[1]=+j[1]||0;if(h){h[1]+=j[0];h[2]+=j[1]}Aa.call(a,
j[0],j[1]);break;case "scale":j=D(j)[G](V);a.scale(+j[0]||1,+j[1]||+j[0]||1,isNaN(y(j[2]))?null:+j[2],isNaN(y(j[3]))?null:+j[3]);break;case ca:if(m=D(j).match(Sa)){r=u("pattern");var q=u("image");r.id="r"+(l._id++)[O](36);u(r,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1});u(q,{x:0,y:0});q.setAttributeNS(a.paper.xlink,"href",m[1]);r[x](q);j=C.createElement("img");j.style.cssText="position:absolute;left:-9999em;top-9999em";j.onload=function(){u(r,{width:this.offsetWidth,height:this.offsetHeight});
u(q,{width:this.offsetWidth,height:this.offsetHeight});C.body.removeChild(this);a.paper.safari()};C.body[x](j);j.src=m[1];a.paper.defs[x](r);d.style.fill="url(#"+r.id+")";u(d,{fill:"url(#"+r.id+")"});a.pattern=r;a.pattern&&Ja(a);break}m=l.getRGB(j);if(m.error){if(({circle:1,ellipse:1}[z](a.type)||D(j).charAt()!="r")&&pa(d,j,a.paper)){f.gradient=j;f.fill="none";break}}else{delete b.gradient;delete f.gradient;!l.is(f.opacity,"undefined")&&l.is(b.opacity,"undefined")&&u(d,{opacity:f.opacity});!l.is(f["fill-opacity"],
"undefined")&&l.is(b["fill-opacity"],"undefined")&&u(d,{"fill-opacity":f["fill-opacity"]})}m[z]("o")&&u(d,{"fill-opacity":m.o>1?m.o/100:m.o});case "stroke":m=l.getRGB(j);d[W](i,m.hex);i=="stroke"&&m[z]("o")&&u(d,{"stroke-opacity":m.o>1?m.o/100:m.o});break;case "gradient":(({circle:1,ellipse:1})[z](a.type)||D(j).charAt()!="r")&&pa(d,j,a.paper);break;case "opacity":case "fill-opacity":if(f.gradient){if(m=C.getElementById(d.getAttribute(ca)[I](/^url\(#|\)$/g,A))){m=m.getElementsByTagName("stop");m[m[o]-
1][W]("stop-opacity",j)}break}default:i=="font-size"&&(j=ha(j,10)+"px");m=i[I](/(\-.)/g,function(k){return sa.call(k.substring(1))});d.style[m]=j;d[W](i,j);break}}Db(a,b);if(h)a.rotate(h.join(N));else y(e)&&a.rotate(e,true)},eb=1.2,Db=function(a,b){if(!(a.type!="text"||!(b[z]("text")||b[z]("font")||b[z]("font-size")||b[z]("x")||b[z]("y")))){var c=a.attrs,d=a.node,f=d.firstChild?ha(C.defaultView.getComputedStyle(d.firstChild,A).getPropertyValue("font-size"),10):10;if(b[z]("text")){for(c.text=b.text;d.firstChild;)d.removeChild(d.firstChild);
b=D(b.text)[G]("\n");for(var e=0,g=b[o];e<g;e++)if(b[e]){var h=u("tspan");e&&u(h,{dy:f*eb,x:c.x});h[x](C.createTextNode(b[e]));d[x](h)}}else{b=d.getElementsByTagName("tspan");e=0;for(g=b[o];e<g;e++)e&&u(b[e],{dy:f*eb,x:c.x})}u(d,{y:c.y});a=a.getBBox();(a=c.y-(a.y+a.height/2))&&isFinite(a)&&u(d,{y:c.y+a})}},s=function(a,b){this[0]=a;this.id=l._oid++;this.node=a;a.raphael=this;this.paper=b;this.attrs=this.attrs||{};this.transformations=[];this._={tx:0,ty:0,rt:{deg:0,cx:0,cy:0},sx:1,sy:1};!b.bottom&&
(b.bottom=this);(this.prev=b.top)&&(b.top.next=this);b.top=this;this.next=null};s[p].rotate=function(a,b,c){if(this.removed)return this;if(a==null){if(this._.rt.cx)return[this._.rt.deg,this._.rt.cx,this._.rt.cy][R](N);return this._.rt.deg}var d=this.getBBox();a=D(a)[G](V);if(a[o]-1){b=y(a[1]);c=y(a[2])}a=y(a[0]);if(b!=null)this._.rt.deg=a;else this._.rt.deg+=a;c==null&&(b=null);this._.rt.cx=b;this._.rt.cy=c;b=b==null?d.x+d.width/2:b;c=c==null?d.y+d.height/2:c;if(this._.rt.deg){this.transformations[0]=
l.format("rotate({0} {1} {2})",this._.rt.deg,b,c);this.clip&&u(this.clip,{transform:l.format("rotate({0} {1} {2})",-this._.rt.deg,b,c)})}else{this.transformations[0]=A;this.clip&&u(this.clip,{transform:A})}u(this.node,{transform:this.transformations[R](N)});return this};s[p].hide=function(){!this.removed&&(this.node.style.display="none");return this};s[p].show=function(){!this.removed&&(this.node.style.display="");return this};s[p].remove=function(){if(!this.removed){ma(this,this.paper);this.node.parentNode.removeChild(this.node);
for(var a in this)delete this[a];this.removed=true}};s[p].getBBox=function(){if(this.removed)return this;if(this.type=="path")return xa(this.attrs.path);if(this.node.style.display=="none"){this.show();var a=true}var b={};try{b=this.node.getBBox()}catch(c){}finally{b=b||{}}if(this.type=="text"){b={x:b.x,y:Infinity,width:0,height:0};for(var d=0,f=this.node.getNumberOfChars();d<f;d++){var e=this.node.getExtentOfChar(d);e.y<b.y&&(b.y=e.y);e.y+e.height-b.y>b.height&&(b.height=e.y+e.height-b.y);e.x+e.width-
b.x>b.width&&(b.width=e.x+e.width-b.x)}}a&&this.hide();return b};s[p].attr=function(a,b){if(this.removed)return this;if(a==null){a={};for(var c in this.attrs)if(this.attrs[z](c))a[c]=this.attrs[c];this._.rt.deg&&(a.rotation=this.rotate());(this._.sx!=1||this._.sy!=1)&&(a.scale=this.scale());a.gradient&&a.fill=="none"&&(a.fill=a.gradient)&&delete a.gradient;return a}if(b==null&&l.is(a,ga)){if(a=="translation")return Aa.call(this);if(a=="rotation")return this.rotate();if(a=="scale")return this.scale();
if(a==ca&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;return this.attrs[a]}if(b==null&&l.is(a,U)){b={};c=0;for(var d=a.length;c<d;c++)b[a[c]]=this.attr(a[c]);return b}if(b!=null){c={};c[a]=b;ea(this,c)}else a!=null&&l.is(a,"object")&&ea(this,a);return this};s[p].toFront=function(){if(this.removed)return this;this.node.parentNode[x](this.node);var a=this.paper;a.top!=this&&Ya(this,a);return this};s[p].toBack=function(){if(this.removed)return this;if(this.node.parentNode.firstChild!=
this.node){this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild);Za(this,this.paper)}return this};s[p].insertAfter=function(a){if(this.removed)return this;var b=a.node||a[a.length].node;b.nextSibling?b.parentNode.insertBefore(this.node,b.nextSibling):b.parentNode[x](this.node);$a(this,a,this.paper);return this};s[p].insertBefore=function(a){if(this.removed)return this;var b=a.node||a[0].node;b.parentNode.insertBefore(this.node,b);ab(this,a,this.paper);return this};s[p].blur=
function(a){var b=this;if(+a!==0){var c=u("filter"),d=u("feGaussianBlur");b.attrs.blur=a;c.id="r"+(l._id++)[O](36);u(d,{stdDeviation:+a||1.5});c.appendChild(d);b.paper.defs.appendChild(c);b._blur=c;u(b.node,{filter:"url(#"+c.id+")"})}else{if(b._blur){b._blur.parentNode.removeChild(b._blur);delete b._blur;delete b.attrs.blur}b.node.removeAttribute("filter")}};var fb=function(a,b,c,d){var f=u("circle");a.canvas&&a.canvas[x](f);a=new s(f,a);a.attrs={cx:b,cy:c,r:d,fill:"none",stroke:"#000"};a.type="circle";
u(f,a.attrs);return a},gb=function(a,b,c,d,f,e){var g=u("rect");a.canvas&&a.canvas[x](g);a=new s(g,a);a.attrs={x:b,y:c,width:d,height:f,r:e||0,rx:e||0,ry:e||0,fill:"none",stroke:"#000"};a.type="rect";u(g,a.attrs);return a},hb=function(a,b,c,d,f){var e=u("ellipse");a.canvas&&a.canvas[x](e);a=new s(e,a);a.attrs={cx:b,cy:c,rx:d,ry:f,fill:"none",stroke:"#000"};a.type="ellipse";u(e,a.attrs);return a},ib=function(a,b,c,d,f,e){var g=u("image");u(g,{x:c,y:d,width:f,height:e,preserveAspectRatio:"none"});g.setAttributeNS(a.xlink,
"href",b);a.canvas&&a.canvas[x](g);a=new s(g,a);a.attrs={x:c,y:d,width:f,height:e,src:b};a.type="image";return a},jb=function(a,b,c,d){var f=u("text");u(f,{x:b,y:c,"text-anchor":"middle"});a.canvas&&a.canvas[x](f);a=new s(f,a);a.attrs={x:b,y:c,"text-anchor":"middle",text:d,font:ta.font,stroke:"none",fill:"#000"};a.type="text";ea(a,a.attrs);return a},kb=function(a,b){this.width=a||this.width;this.height=b||this.height;this.canvas[W]("width",this.width);this.canvas[W]("height",this.height);return this},
Ca=function(){var a=Xa[K](0,arguments),b=a&&a.container,c=a.x,d=a.y,f=a.width;a=a.height;if(!b)throw new Error("SVG container not found.");var e=u("svg");c=c||0;d=d||0;f=f||512;a=a||342;u(e,{xmlns:"http://www.w3.org/2000/svg",version:1.1,width:f,height:a});if(b==1){e.style.cssText="position:absolute;left:"+c+"px;top:"+d+"px";C.body[x](e)}else b.firstChild?b.insertBefore(e,b.firstChild):b[x](e);b=new H;b.width=f;b.height=a;b.canvas=e;Ia.call(b,b,l.fn);b.clear();return b};H[p].clear=function(){for(var a=
this.canvas;a.firstChild;)a.removeChild(a.firstChild);this.bottom=this.top=null;(this.desc=u("desc"))[x](C.createTextNode("Created with Rapha\u00ebl"));a[x](this.desc);a[x](this.defs=u("defs"))};H[p].remove=function(){this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);for(var a in this)this[a]=bb(a)}}if(l.vml){var lb={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},Eb=/([clmz]),?([^clmz]*)/gi,Fb=/-?[^,\s-]+/g,qa=1000+N+1000,na=10,ra={path:1,rect:1},Gb=function(a){var b=/[ahqstv]/ig,
c=oa;D(a).match(b)&&(c=wa);b=/[clmz]/g;if(c==oa&&!D(a).match(b))return a=D(a)[I](Eb,function(i,j,m){var n=[],r=fa.call(j)=="m",q=lb[j];m[I](Fb,function(k){if(r&&n[o]==2){q+=n+lb[j=="m"?"l":"L"];n=[]}n[F](Q(k*na))});return q+n});b=c(a);var d;a=[];for(var f=0,e=b[o];f<e;f++){c=b[f];d=fa.call(b[f][0]);d=="z"&&(d="x");for(var g=1,h=c[o];g<h;g++)d+=Q(c[g]*na)+(g!=h-1?",":A);a[F](d)}return a[R](N)};l[O]=function(){return"Your browser doesn\u2019t support SVG. Falling down to VML.\nYou are running Rapha\u00ebl "+
this.version};db=function(a,b){var c=S("group");c.style.cssText="position:absolute;left:0;top:0;width:"+b.width+"px;height:"+b.height+"px";c.coordsize=b.coordsize;c.coordorigin=b.coordorigin;var d=S("shape"),f=d.style;f.width=b.width+"px";f.height=b.height+"px";d.coordsize=qa;d.coordorigin=b.coordorigin;c[x](d);d=new s(d,c,b);f={fill:"none",stroke:"#000"};a&&(f.path=a);d.isAbsolute=true;d.type="path";d.path=[];d.Path=A;ea(d,f);b.canvas[x](c);return d};ea=function(a,b){a.attrs=a.attrs||{};var c=a.node,
d=a.attrs,f=c.style,e;e=(b.x!=d.x||b.y!=d.y||b.width!=d.width||b.height!=d.height||b.r!=d.r)&&a.type=="rect";var g=a;for(var h in b)if(b[z](h))d[h]=b[h];if(e){d.path=mb(d.x,d.y,d.width,d.height,d.r);a.X=d.x;a.Y=d.y;a.W=d.width;a.H=d.height}b.href&&(c.href=b.href);b.title&&(c.title=b.title);b.target&&(c.target=b.target);b.cursor&&(f.cursor=b.cursor);"blur"in b&&a.blur(b.blur);if(b.path&&a.type=="path"||e)c.path=Gb(d.path);b.rotation!=null&&a.rotate(b.rotation,true);if(b.translation){e=D(b.translation)[G](V);
Aa.call(a,e[0],e[1]);if(a._.rt.cx!=null){a._.rt.cx+=+e[0];a._.rt.cy+=+e[1];a.setBox(a.attrs,e[0],e[1])}}if(b.scale){e=D(b.scale)[G](V);a.scale(+e[0]||1,+e[1]||+e[0]||1,+e[2]||null,+e[3]||null)}if("clip-rect"in b){e=D(b["clip-rect"])[G](V);if(e[o]==4){e[2]=+e[2]+ +e[0];e[3]=+e[3]+ +e[1];h=c.clipRect||C.createElement("div");var i=h.style,j=c.parentNode;i.clip=l.format("rect({1}px {2}px {3}px {0}px)",e);if(!c.clipRect){i.position="absolute";i.top=0;i.left=0;i.width=a.paper.width+"px";i.height=a.paper.height+
"px";j.parentNode.insertBefore(h,j);h[x](j);c.clipRect=h}}if(!b["clip-rect"])c.clipRect&&(c.clipRect.style.clip=A)}if(a.type=="image"&&b.src)c.src=b.src;if(a.type=="image"&&b.opacity){c.filterOpacity=Fa+".Alpha(opacity="+b.opacity*100+")";f.filter=(c.filterMatrix||A)+(c.filterOpacity||A)}b.font&&(f.font=b.font);b["font-family"]&&(f.fontFamily='"'+b["font-family"][G](",")[0][I](/^['"]+|['"]+$/g,A)+'"');b["font-size"]&&(f.fontSize=b["font-size"]);b["font-weight"]&&(f.fontWeight=b["font-weight"]);b["font-style"]&&
(f.fontStyle=b["font-style"]);if(b.opacity!=null||b["stroke-width"]!=null||b.fill!=null||b.stroke!=null||b["stroke-width"]!=null||b["stroke-opacity"]!=null||b["fill-opacity"]!=null||b["stroke-dasharray"]!=null||b["stroke-miterlimit"]!=null||b["stroke-linejoin"]!=null||b["stroke-linecap"]!=null){c=a.shape||c;f=c.getElementsByTagName(ca)&&c.getElementsByTagName(ca)[0];e=false;!f&&(e=f=S(ca));if("fill-opacity"in b||"opacity"in b){a=((+d["fill-opacity"]+1||2)-1)*((+d.opacity+1||2)-1)*((+l.getRGB(b.fill).o+
1||2)-1);a<0&&(a=0);a>1&&(a=1);f.opacity=a}b.fill&&(f.on=true);if(f.on==null||b.fill=="none")f.on=false;if(f.on&&b.fill)if(a=b.fill.match(Sa)){f.src=a[1];f.type="tile"}else{f.color=l.getRGB(b.fill).hex;f.src=A;f.type="solid";if(l.getRGB(b.fill).error&&(g.type in{circle:1,ellipse:1}||D(b.fill).charAt()!="r")&&pa(g,b.fill)){d.fill="none";d.gradient=b.fill}}e&&c[x](f);f=c.getElementsByTagName("stroke")&&c.getElementsByTagName("stroke")[0];e=false;!f&&(e=f=S("stroke"));if(b.stroke&&b.stroke!="none"||
b["stroke-width"]||b["stroke-opacity"]!=null||b["stroke-dasharray"]||b["stroke-miterlimit"]||b["stroke-linejoin"]||b["stroke-linecap"])f.on=true;(b.stroke=="none"||f.on==null||b.stroke==0||b["stroke-width"]==0)&&(f.on=false);a=l.getRGB(b.stroke);f.on&&b.stroke&&(f.color=a.hex);a=((+d["stroke-opacity"]+1||2)-1)*((+d.opacity+1||2)-1)*((+a.o+1||2)-1);h=(y(b["stroke-width"])||1)*0.75;a<0&&(a=0);a>1&&(a=1);b["stroke-width"]==null&&(h=d["stroke-width"]);b["stroke-width"]&&(f.weight=h);h&&h<1&&(a*=h)&&(f.weight=
1);f.opacity=a;b["stroke-linejoin"]&&(f.joinstyle=b["stroke-linejoin"]||"miter");f.miterlimit=b["stroke-miterlimit"]||8;b["stroke-linecap"]&&(f.endcap=b["stroke-linecap"]=="butt"?"flat":b["stroke-linecap"]=="square"?"square":"round");if(b["stroke-dasharray"]){a={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};f.dashstyle=a[z](b["stroke-dasharray"])?a[b["stroke-dasharray"]]:
A}e&&c[x](f)}if(g.type=="text"){f=g.paper.span.style;d.font&&(f.font=d.font);d["font-family"]&&(f.fontFamily=d["font-family"]);d["font-size"]&&(f.fontSize=d["font-size"]);d["font-weight"]&&(f.fontWeight=d["font-weight"]);d["font-style"]&&(f.fontStyle=d["font-style"]);g.node.string&&(g.paper.span.innerHTML=D(g.node.string)[I](/</g,"&#60;")[I](/&/g,"&#38;")[I](/\n/g,"<br>"));g.W=d.w=g.paper.span.offsetWidth;g.H=d.h=g.paper.span.offsetHeight;g.X=d.x;g.Y=d.y+Q(g.H/2);switch(d["text-anchor"]){case "start":g.node.style["v-text-align"]=
"left";g.bbx=Q(g.W/2);break;case "end":g.node.style["v-text-align"]="right";g.bbx=-Q(g.W/2);break;default:g.node.style["v-text-align"]="center";break}}};pa=function(a,b){a.attrs=a.attrs||{};var c="linear",d=".5 .5";a.attrs.gradient=b;b=D(b)[I](cb,function(i,j,m){c="radial";if(j&&m){j=y(j);m=y(m);E(j-0.5,2)+E(m-0.5,2)>0.25&&(m=v.sqrt(0.25-E(j-0.5,2))*((m>0.5)*2-1)+0.5);d=j+N+m}return A});b=b[G](/\s*\-\s*/);if(c=="linear"){var f=b.shift();f=-y(f);if(isNaN(f))return null}var e=Wa(b);if(!e)return null;
a=a.shape||a.node;b=a.getElementsByTagName(ca)[0]||S(ca);!b.parentNode&&a.appendChild(b);if(e[o]){b.on=true;b.method="none";b.color=e[0].color;b.color2=e[e[o]-1].color;a=[];for(var g=0,h=e[o];g<h;g++)e[g].offset&&a[F](e[g].offset+N+e[g].color);b.colors&&(b.colors.value=a[o]?a[R]():"0% "+b.color);if(c=="radial"){b.type="gradientradial";b.focus="100%";b.focussize=d;b.focusposition=d}else{b.type="gradient";b.angle=(270-f)%360}}return 1};s=function(a,b,c){this[0]=a;this.id=l._oid++;this.node=a;a.raphael=
this;this.Y=this.X=0;this.attrs={};this.Group=b;this.paper=c;this._={tx:0,ty:0,rt:{deg:0},sx:1,sy:1};!c.bottom&&(c.bottom=this);(this.prev=c.top)&&(c.top.next=this);c.top=this;this.next=null};s[p].rotate=function(a,b,c){if(this.removed)return this;if(a==null){if(this._.rt.cx)return[this._.rt.deg,this._.rt.cx,this._.rt.cy][R](N);return this._.rt.deg}a=D(a)[G](V);if(a[o]-1){b=y(a[1]);c=y(a[2])}a=y(a[0]);if(b!=null)this._.rt.deg=a;else this._.rt.deg+=a;c==null&&(b=null);this._.rt.cx=b;this._.rt.cy=c;
this.setBox(this.attrs,b,c);this.Group.style.rotation=this._.rt.deg;return this};s[p].setBox=function(a,b,c){if(this.removed)return this;var d=this.Group.style,f=this.shape&&this.shape.style||this.node.style;a=a||{};for(var e in a)if(a[z](e))this.attrs[e]=a[e];b=b||this._.rt.cx;c=c||this._.rt.cy;var g=this.attrs,h;switch(this.type){case "circle":a=g.cx-g.r;e=g.cy-g.r;h=g=g.r*2;break;case "ellipse":a=g.cx-g.rx;e=g.cy-g.ry;h=g.rx*2;g=g.ry*2;break;case "image":a=+g.x;e=+g.y;h=g.width||0;g=g.height||
0;break;case "text":this.textpath.v=["m",Q(g.x),", ",Q(g.y-2),"l",Q(g.x)+1,", ",Q(g.y-2)][R](A);a=g.x-Q(this.W/2);e=g.y-this.H/2;h=this.W;g=this.H;break;case "rect":case "path":if(this.attrs.path){g=xa(this.attrs.path);a=g.x;e=g.y;h=g.width;g=g.height}else{e=a=0;h=this.paper.width;g=this.paper.height}break;default:e=a=0;h=this.paper.width;g=this.paper.height;break}b=b==null?a+h/2:b;c=c==null?e+g/2:c;b=b-this.paper.width/2;c=c-this.paper.height/2;var i;d.left!=(i=b+"px")&&(d.left=i);d.top!=(i=c+"px")&&
(d.top=i);this.X=ra[z](this.type)?-b:a;this.Y=ra[z](this.type)?-c:e;this.W=h;this.H=g;if(ra[z](this.type)){f.left!=(i=-b*na+"px")&&(f.left=i);f.top!=(i=-c*na+"px")&&(f.top=i)}else if(this.type=="text"){f.left!=(i=-b+"px")&&(f.left=i);f.top!=(i=-c+"px")&&(f.top=i)}else{d.width!=(i=this.paper.width+"px")&&(d.width=i);d.height!=(i=this.paper.height+"px")&&(d.height=i);f.left!=(i=a-b+"px")&&(f.left=i);f.top!=(i=e-c+"px")&&(f.top=i);f.width!=(i=h+"px")&&(f.width=i);f.height!=(i=g+"px")&&(f.height=i)}};
s[p].hide=function(){!this.removed&&(this.Group.style.display="none");return this};s[p].show=function(){!this.removed&&(this.Group.style.display="block");return this};s[p].getBBox=function(){if(this.removed)return this;if(ra[z](this.type))return xa(this.attrs.path);return{x:this.X+(this.bbx||0),y:this.Y,width:this.W,height:this.H}};s[p].remove=function(){if(!this.removed){ma(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 a in this)delete this[a];this.removed=true}};s[p].attr=function(a,b){if(this.removed)return this;if(a==null){a={};for(var c in this.attrs)if(this.attrs[z](c))a[c]=this.attrs[c];this._.rt.deg&&(a.rotation=this.rotate());(this._.sx!=1||this._.sy!=1)&&(a.scale=this.scale());a.gradient&&a.fill=="none"&&(a.fill=a.gradient)&&delete a.gradient;return a}if(b==null&&l.is(a,ga)){if(a=="translation")return Aa.call(this);if(a=="rotation")return this.rotate();if(a=="scale")return this.scale();if(a==ca&&
this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;return this.attrs[a]}if(this.attrs&&b==null&&l.is(a,U)){var d={};c=0;for(b=a[o];c<b;c++)d[a[c]]=this.attr(a[c]);return d}if(b!=null){d={};d[a]=b}b==null&&l.is(a,"object")&&(d=a);if(d){if(d.text&&this.type=="text")this.node.string=d.text;ea(this,d);if(d.gradient&&({circle:1,ellipse:1}[z](this.type)||D(d.gradient).charAt()!="r"))pa(this,d.gradient);(!ra[z](this.type)||this._.rt.deg)&&this.setBox(this.attrs)}return this};s[p].toFront=
function(){!this.removed&&this.Group.parentNode[x](this.Group);this.paper.top!=this&&Ya(this,this.paper);return this};s[p].toBack=function(){if(this.removed)return this;if(this.Group.parentNode.firstChild!=this.Group){this.Group.parentNode.insertBefore(this.Group,this.Group.parentNode.firstChild);Za(this,this.paper)}return this};s[p].insertAfter=function(a){if(this.removed)return this;if(a.constructor==X)a=a[a.length];a.Group.nextSibling?a.Group.parentNode.insertBefore(this.Group,a.Group.nextSibling):
a.Group.parentNode[x](this.Group);$a(this,a,this.paper);return this};s[p].insertBefore=function(a){if(this.removed)return this;if(a.constructor==X)a=a[0];a.Group.parentNode.insertBefore(this.Group,a.Group);ab(this,a,this.paper);return this};var Hb=/ progid:\S+Blur\([^\)]+\)/g;s[p].blur=function(a){var b=this.node.runtimeStyle,c=b.filter;c=c.replace(Hb,A);if(+a!==0){this.attrs.blur=a;b.filter=c+N+Fa+".Blur(pixelradius="+(+a||1.5)+")";b.margin=l.format("-{0}px 0 0 -{0}px",Q(+a||1.5))}else{b.filter=
c;b.margin=0;delete this.attrs.blur}};fb=function(a,b,c,d){var f=S("group"),e=S("oval");f.style.cssText="position:absolute;left:0;top:0;width:"+a.width+"px;height:"+a.height+"px";f.coordsize=qa;f.coordorigin=a.coordorigin;f[x](e);e=new s(e,f,a);e.type="circle";ea(e,{stroke:"#000",fill:"none"});e.attrs.cx=b;e.attrs.cy=c;e.attrs.r=d;e.setBox({x:b-d,y:c-d,width:d*2,height:d*2});a.canvas[x](f);return e};function mb(a,b,c,d,f){return f?l.format("M{0},{1}l{2},0a{3},{3},0,0,1,{3},{3}l0,{5}a{3},{3},0,0,1,{4},{3}l{6},0a{3},{3},0,0,1,{4},{4}l0,{7}a{3},{3},0,0,1,{3},{4}z",
a+f,b,c-f*2,f,-f,d-f*2,f*2-c,f*2-d):l.format("M{0},{1}l{2},0,0,{3},{4},0z",a,b,c,d,-c)}gb=function(a,b,c,d,f,e){var g=mb(b,c,d,f,e);a=a.path(g);var h=a.attrs;a.X=h.x=b;a.Y=h.y=c;a.W=h.width=d;a.H=h.height=f;h.r=e;h.path=g;a.type="rect";return a};hb=function(a,b,c,d,f){var e=S("group"),g=S("oval");e.style.cssText="position:absolute;left:0;top:0;width:"+a.width+"px;height:"+a.height+"px";e.coordsize=qa;e.coordorigin=a.coordorigin;e[x](g);g=new s(g,e,a);g.type="ellipse";ea(g,{stroke:"#000"});g.attrs.cx=
b;g.attrs.cy=c;g.attrs.rx=d;g.attrs.ry=f;g.setBox({x:b-d,y:c-f,width:d*2,height:f*2});a.canvas[x](e);return g};ib=function(a,b,c,d,f,e){var g=S("group"),h=S("image");g.style.cssText="position:absolute;left:0;top:0;width:"+a.width+"px;height:"+a.height+"px";g.coordsize=qa;g.coordorigin=a.coordorigin;h.src=b;g[x](h);h=new s(h,g,a);h.type="image";h.attrs.src=b;h.attrs.x=c;h.attrs.y=d;h.attrs.w=f;h.attrs.h=e;h.setBox({x:c,y:d,width:f,height:e});a.canvas[x](g);return h};jb=function(a,b,c,d){var f=S("group"),
e=S("shape"),g=e.style,h=S("path"),i=S("textpath");f.style.cssText="position:absolute;left:0;top:0;width:"+a.width+"px;height:"+a.height+"px";f.coordsize=qa;f.coordorigin=a.coordorigin;h.v=l.format("m{0},{1}l{2},{1}",Q(b*10),Q(c*10),Q(b*10)+1);h.textpathok=true;g.width=a.width;g.height=a.height;i.string=D(d);i.on=true;e[x](i);e[x](h);f[x](e);g=new s(i,f,a);g.shape=e;g.textpath=h;g.type="text";g.attrs.text=d;g.attrs.x=b;g.attrs.y=c;g.attrs.w=1;g.attrs.h=1;ea(g,{font:ta.font,stroke:"none",fill:"#000"});
g.setBox();a.canvas[x](f);return g};kb=function(a,b){var c=this.canvas.style;a==+a&&(a+="px");b==+b&&(b+="px");c.width=a;c.height=b;c.clip="rect(0 "+a+" "+b+" 0)";return this};var S;C.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)");try{!C.namespaces.rvml&&C.namespaces.add("rvml","urn:schemas-microsoft-com:vml");S=function(a){return C.createElement("<rvml:"+a+' class="rvml">')}}catch(Pb){S=function(a){return C.createElement("<"+a+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}Ca=
function(){var a=Xa[K](0,arguments),b=a.container,c=a.height,d=a.width,f=a.x;a=a.y;if(!b)throw new Error("VML container not found.");var e=new H,g=e.canvas=C.createElement("div"),h=g.style;f=f||0;a=a||0;d=d||512;c=c||342;d==+d&&(d+="px");c==+c&&(c+="px");e.width=1000;e.height=1000;e.coordsize=na*1000+N+na*1000;e.coordorigin="0 0";e.span=C.createElement("span");e.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;";g[x](e.span);h.cssText=
l.format("width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",d,c);if(b==1){C.body[x](g);h.left=f+"px";h.top=a+"px";h.position="absolute"}else b.firstChild?b.insertBefore(g,b.firstChild):b[x](g);Ia.call(e,e,l.fn);return e};H[p].clear=function(){this.canvas.innerHTML=A;this.span=C.createElement("span");this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;";this.canvas[x](this.span);this.bottom=
this.top=null};H[p].remove=function(){this.canvas.parentNode.removeChild(this.canvas);for(var a in this)this[a]=bb(a);return true}}H[p].safari=navigator.vendor=="Apple Computer, Inc."&&(navigator.userAgent.match(/Version\/(.*?)\s/)[1]<4||aa.navigator.platform.slice(0,2)=="iP")?function(){var a=this.rect(-99,-99,this.width+99,this.height+99).attr({stroke:"none"});aa.setTimeout(function(){a.remove()})}:function(){};function Ib(){this.returnValue=false}function Jb(){return this.originalEvent.preventDefault()}
function Kb(){this.cancelBubble=true}function Lb(){return this.originalEvent.stopPropagation()}var Mb=function(){if(C.addEventListener)return function(a,b,c,d){var f=Da&&Ea[b]?Ea[b]:b;function e(g){if(Da&&Ea[z](b))for(var h=0,i=g.targetTouches&&g.targetTouches.length;h<i;h++)if(g.targetTouches[h].target==a){i=g;g=g.targetTouches[h];g.originalEvent=i;g.preventDefault=Jb;g.stopPropagation=Lb;break}return c.call(d,g)}a.addEventListener(f,e,false);return function(){a.removeEventListener(f,e,false);return true}};
else if(C.attachEvent)return function(a,b,c,d){function f(g){g=g||aa.event;g.preventDefault=g.preventDefault||Ib;g.stopPropagation=g.stopPropagation||Kb;return c.call(d,g)}a.attachEvent("on"+b,f);function e(){a.detachEvent("on"+b,f);return true}return e}}(),$=[];function Ka(a){for(var b=a.clientX,c=a.clientY,d,f=$.length;f--;){d=$[f];if(Da)for(var e=a.touches.length,g;e--;){g=a.touches[e];if(g.identifier==d.el._drag.id){b=g.clientX;c=g.clientY;(a.originalEvent?a.originalEvent:a).preventDefault();
break}}else a.preventDefault();d.move&&d.move.call(d.el,b-d.el._drag.x,c-d.el._drag.y,b,c)}}function La(){l.unmousemove(Ka).unmouseup(La);for(var a=$.length,b;a--;){b=$[a];b.el._drag={};b.end&&b.end.call(b.el)}$=[]}for(da=Ra[o];da--;)(function(a){l[a]=s[p][a]=function(b){if(l.is(b,"function")){this.events=this.events||[];this.events.push({name:a,f:b,unbind:Mb(this.shape||this.node||C,a,b,this)})}return this};l["un"+a]=s[p]["un"+a]=function(b){for(var c=this.events,d=c[o];d--;)if(c[d].name==a&&c[d].f==
b){c[d].unbind();c.splice(d,1);!c.length&&delete this.events;return this}return this}})(Ra[da]);s[p].hover=function(a,b){return this.mouseover(a).mouseout(b)};s[p].unhover=function(a,b){return this.unmouseover(a).unmouseout(b)};s[p].drag=function(a,b,c){this._drag={};this.mousedown(function(d){(d.originalEvent||d).preventDefault();this._drag.x=d.clientX;this._drag.y=d.clientY;this._drag.id=d.identifier;b&&b.call(this,d.clientX,d.clientY);!$.length&&l.mousemove(Ka).mouseup(La);$.push({el:this,move:a,
end:c})});return this};s[p].undrag=function(a,b,c){for(b=$.length;b--;){$[b].el==this&&$[b].move==a&&$[b].end==c&&$.splice(b,1);!$.length&&l.unmousemove(Ka).unmouseup(La)}};H[p].circle=function(a,b,c){return fb(this,a||0,b||0,c||0)};H[p].rect=function(a,b,c,d,f){return gb(this,a||0,b||0,c||0,d||0,f||0)};H[p].ellipse=function(a,b,c,d){return hb(this,a||0,b||0,c||0,d||0)};H[p].path=function(a){a&&!l.is(a,ga)&&!l.is(a[0],U)&&(a+=A);return db(l.format[K](l,arguments),this)};H[p].image=function(a,b,c,
d,f){return ib(this,a||"about:blank",b||0,c||0,d||0,f||0)};H[p].text=function(a,b,c){return jb(this,a||0,b||0,c||A)};H[p].set=function(a){arguments[o]>1&&(a=Array[p].splice.call(arguments,0,arguments[o]));return new X(a)};H[p].setSize=kb;H[p].top=H[p].bottom=null;H[p].raphael=l;function nb(){return this.x+N+this.y}s[p].resetScale=function(){if(this.removed)return this;this._.sx=1;this._.sy=1;this.attrs.scale="1 1"};s[p].scale=function(a,b,c,d){if(this.removed)return this;if(a==null&&b==null)return{x:this._.sx,
y:this._.sy,toString:nb};b=b||a;!+b&&(b=a);var f,e,g=this.attrs;if(a!=0){var h=this.getBBox(),i=h.x+h.width/2,j=h.y+h.height/2;f=a/this._.sx;e=b/this._.sy;c=+c||c==0?c:i;d=+d||d==0?d:j;h=~~(a/v.abs(a));var m=~~(b/v.abs(b)),n=this.node.style,r=c+(i-c)*f;j=d+(j-d)*e;switch(this.type){case "rect":case "image":var q=g.width*h*f,k=g.height*m*e;this.attr({height:k,r:g.r*ba(h*f,m*e),width:q,x:r-q/2,y:j-k/2});break;case "circle":case "ellipse":this.attr({rx:g.rx*h*f,ry:g.ry*m*e,r:g.r*ba(h*f,m*e),cx:r,cy:j});
break;case "text":this.attr({x:r,y:j});break;case "path":i=Ha(g.path);for(var t=true,L=0,B=i[o];L<B;L++){var w=i[L],J=sa.call(w[0]);if(!(J=="M"&&t)){t=false;if(J=="A"){w[i[L][o]-2]*=f;w[i[L][o]-1]*=e;w[1]*=h*f;w[2]*=m*e;w[5]=+!(h+m?!+w[5]:+w[5])}else if(J=="H"){J=1;for(var ia=w[o];J<ia;J++)w[J]*=f}else if(J=="V"){J=1;for(ia=w[o];J<ia;J++)w[J]*=e}else{J=1;for(ia=w[o];J<ia;J++)w[J]*=J%2?f:e}}}e=xa(i);f=r-e.x-e.width/2;e=j-e.y-e.height/2;i[0][1]+=f;i[0][2]+=e;this.attr({path:i});break}if(this.type in
{text:1,image:1}&&(h!=1||m!=1))if(this.transformations){this.transformations[2]="scale("[M](h,",",m,")");this.node[W]("transform",this.transformations[R](N));f=h==-1?-g.x-(q||0):g.x;e=m==-1?-g.y-(k||0):g.y;this.attr({x:f,y:e});g.fx=h-1;g.fy=m-1}else{this.node.filterMatrix=Fa+".Matrix(M11="[M](h,", M12=0, M21=0, M22=",m,", Dx=0, Dy=0, sizingmethod='auto expand', filtertype='bilinear')");n.filter=(this.node.filterMatrix||A)+(this.node.filterOpacity||A)}else if(this.transformations){this.transformations[2]=
A;this.node[W]("transform",this.transformations[R](N));g.fx=0;g.fy=0}else{this.node.filterMatrix=A;n.filter=(this.node.filterMatrix||A)+(this.node.filterOpacity||A)}g.scale=[a,b,c,d][R](N);this._.sx=a;this._.sy=b}return this};s[p].clone=function(){if(this.removed)return null;var a=this.attr();delete a.scale;delete a.translation;return this.paper[this.type]().attr(a)};var ob=Z(function(a,b,c,d,f,e,g,h,i){for(var j=0,m,n=0;n<1.01;n+=0.01){var r=la(a,b,c,d,f,e,g,h,n);n&&(j+=E(E(m.x-r.x,2)+E(m.y-r.y,
2),0.5));if(j>=i)return r;m=r}});function Ma(a,b){return function(c,d,f){c=wa(c);for(var e,g,h,i,j="",m={},n=0,r=0,q=c.length;r<q;r++){h=c[r];if(h[0]=="M"){e=+h[1];g=+h[2]}else{i=Nb(e,g,h[1],h[2],h[3],h[4],h[5],h[6]);if(n+i>d){if(b&&!m.start){e=ob(e,g,h[1],h[2],h[3],h[4],h[5],h[6],d-n);j+=["C",e.start.x,e.start.y,e.m.x,e.m.y,e.x,e.y];if(f)return j;m.start=j;j=["M",e.x,e.y+"C",e.n.x,e.n.y,e.end.x,e.end.y,h[5],h[6]][R]();n+=i;e=+h[5];g=+h[6];continue}if(!a&&!b){e=ob(e,g,h[1],h[2],h[3],h[4],h[5],h[6],
d-n);return{x:e.x,y:e.y,alpha:e.alpha}}}n+=i;e=+h[5];g=+h[6]}j+=h}m.end=j;e=a?n:b?m:l.findDotsAtSegment(e,g,h[1],h[2],h[3],h[4],h[5],h[6],1);e.alpha&&(e={x:e.x,y:e.y,alpha:e.alpha});return e}}var Nb=Z(function(a,b,c,d,f,e,g,h){for(var i={x:0,y:0},j=0,m=0;m<1.01;m+=0.01){var n=la(a,b,c,d,f,e,g,h,m);m&&(j+=E(E(i.x-n.x,2)+E(i.y-n.y,2),0.5));i=n}return j}),pb=Ma(1),Ba=Ma(),Na=Ma(0,1);s[p].getTotalLength=function(){if(this.type=="path"){if(this.node.getTotalLength)return this.node.getTotalLength();return pb(this.attrs.path)}};
s[p].getPointAtLength=function(a){if(this.type=="path"){if(this.node.getPointAtLength)return this.node.getPointAtLength(a);return Ba(this.attrs.path,a)}};s[p].getSubpath=function(a,b){if(this.type=="path"){if(v.abs(this.getTotalLength()-b)<1.0E-6)return Na(this.attrs.path,a).end;b=Na(this.attrs.path,b,1);return a?Na(b,a).end:b}};l.easing_formulas={linear:function(a){return a},"<":function(a){return E(a,3)},">":function(a){return E(a-1,3)+1},"<>":function(a){a*=2;if(a<1)return E(a,3)/2;a-=2;return(E(a,
3)+2)/2},backIn:function(a){var b=1.70158;return a*a*((b+1)*a-b)},backOut:function(a){a-=1;var b=1.70158;return a*a*((b+1)*a+b)+1},elastic:function(a){if(a==0||a==1)return a;var b=0.3,c=b/4;return E(2,-10*a)*v.sin((a-c)*2*v.PI/b)+1},bounce:function(a){var b=7.5625,c=2.75;if(a<1/c)a=b*a*a;else if(a<2/c){a-=1.5/c;a=b*a*a+0.75}else if(a<2.5/c){a-=2.25/c;a=b*a*a+0.9375}else{a-=2.625/c;a=b*a*a+0.984375}return a}};var T={length:0};function qb(){var a=+new Date;for(var b in T)if(b!="length"&&T[z](b)){var c=
T[b];if(c.stop||c.el.removed){delete T[b];T[o]--}else{var d=a-c.start,f=c.ms,e=c.easing,g=c.from,h=c.diff,i=c.to,j=c.t,m=c.prev||0,n=c.el,r=c.callback,q={},k;if(d<f){r=l.easing_formulas[e]?l.easing_formulas[e](d/f):d/f;for(var t in g)if(g[z](t)){switch(Ga[t]){case "along":k=r*f*h[t];i.back&&(k=i.len-k);e=Ba(i[t],k);n.translate(h.sx-h.x||0,h.sy-h.y||0);h.x=e.x;h.y=e.y;n.translate(e.x-h.sx,e.y-h.sy);i.rot&&n.rotate(h.r+e.alpha,e.x,e.y);break;case P:k=+g[t]+r*f*h[t];break;case "colour":k="rgb("+[Oa(Q(g[t].r+
r*f*h[t].r)),Oa(Q(g[t].g+r*f*h[t].g)),Oa(Q(g[t].b+r*f*h[t].b))][R](",")+")";break;case "path":k=[];e=0;for(var L=g[t][o];e<L;e++){k[e]=[g[t][e][0]];for(var B=1,w=g[t][e][o];B<w;B++)k[e][B]=+g[t][e][B]+r*f*h[t][e][B];k[e]=k[e][R](N)}k=k[R](N);break;case "csv":switch(t){case "translation":k=h[t][0]*(d-m);e=h[t][1]*(d-m);j.x+=k;j.y+=e;k=k+N+e;break;case "rotation":k=+g[t][0]+r*f*h[t][0];g[t][1]&&(k+=","+g[t][1]+","+g[t][2]);break;case "scale":k=[+g[t][0]+r*f*h[t][0],+g[t][1]+r*f*h[t][1],2 in i[t]?i[t][2]:
A,3 in i[t]?i[t][3]:A][R](N);break;case "clip-rect":k=[];for(e=4;e--;)k[e]=+g[t][e]+r*f*h[t][e];break}break}q[t]=k}n.attr(q);n._run&&n._run.call(n)}else{if(i.along){e=Ba(i.along,i.len*!i.back);n.translate(h.sx-(h.x||0)+e.x-h.sx,h.sy-(h.y||0)+e.y-h.sy);i.rot&&n.rotate(h.r+e.alpha,e.x,e.y)}(j.x||j.y)&&n.translate(-j.x,-j.y);i.scale&&(i.scale+=A);n.attr(i);delete T[b];T[o]--;n.in_animation=null;l.is(r,"function")&&r.call(n)}c.prev=d}}l.svg&&n&&n.paper&&n.paper.safari();T[o]&&aa.setTimeout(qb)}function Oa(a){return Y(ba(a,
255),0)}function Aa(a,b){if(a==null)return{x:this._.tx,y:this._.ty,toString:nb};this._.tx+=+a;this._.ty+=+b;switch(this.type){case "circle":case "ellipse":this.attr({cx:+a+this.attrs.cx,cy:+b+this.attrs.cy});break;case "rect":case "image":case "text":this.attr({x:+a+this.attrs.x,y:+b+this.attrs.y});break;case "path":var c=Ha(this.attrs.path);c[0][1]+=+a;c[0][2]+=+b;this.attr({path:c});break}return this}s[p].animateWith=function(a,b,c,d,f){T[a.id]&&(b.start=T[a.id].start);return this.animate(b,c,d,
f)};s[p].animateAlong=rb();s[p].animateAlongBack=rb(1);function rb(a){return function(b,c,d,f){var e={back:a};l.is(d,"function")?(f=d):(e.rot=d);b&&b.constructor==s&&(b=b.attrs.path);b&&(e.along=b);return this.animate(e,c,f)}}s[p].onAnimation=function(a){this._run=a||0;return this};s[p].animate=function(a,b,c,d){if(l.is(c,"function")||!c)d=c||null;var f={},e={},g={};for(var h in a)if(a[z](h))if(Ga[z](h)){f[h]=this.attr(h);f[h]==null&&(f[h]=ta[h]);e[h]=a[h];switch(Ga[h]){case "along":var i=pb(a[h]),
j=Ba(a[h],i*!!a.back),m=this.getBBox();g[h]=i/b;g.tx=m.x;g.ty=m.y;g.sx=j.x;g.sy=j.y;e.rot=a.rot;e.back=a.back;e.len=i;a.rot&&(g.r=y(this.rotate())||0);break;case P:g[h]=(e[h]-f[h])/b;break;case "colour":f[h]=l.getRGB(f[h]);i=l.getRGB(e[h]);g[h]={r:(i.r-f[h].r)/b,g:(i.g-f[h].g)/b,b:(i.b-f[h].b)/b};break;case "path":i=wa(f[h],e[h]);f[h]=i[0];j=i[1];g[h]=[];i=0;for(m=f[h][o];i<m;i++){g[h][i]=[0];for(var n=1,r=f[h][i][o];n<r;n++)g[h][i][n]=(j[i][n]-f[h][i][n])/b}break;case "csv":j=D(a[h])[G](V);i=D(f[h])[G](V);
switch(h){case "translation":f[h]=[0,0];g[h]=[j[0]/b,j[1]/b];break;case "rotation":f[h]=i[1]==j[1]&&i[2]==j[2]?i:[0,j[1],j[2]];g[h]=[(j[0]-f[h][0])/b,0,0];break;case "scale":a[h]=j;f[h]=D(f[h])[G](V);g[h]=[(j[0]-f[h][0])/b,(j[1]-f[h][1])/b,0,0];break;case "clip-rect":f[h]=D(f[h])[G](V);g[h]=[];for(i=4;i--;)g[h][i]=(j[i]-f[h][i])/b;break}e[h]=j}}this.stop();this.in_animation=1;T[this.id]={start:a.start||+new Date,ms:b,easing:c,from:f,diff:g,to:e,el:this,callback:d,t:{x:0,y:0}};++T[o]==1&&qb();return this};
s[p].stop=function(){T[this.id]&&T[o]--;delete T[this.id];return this};s[p].translate=function(a,b){return this.attr({translation:a+" "+b})};s[p][O]=function(){return"Rapha\u00ebl\u2019s object"};l.ae=T;function X(a){this.items=[];this[o]=0;this.type="set";if(a)for(var b=0,c=a[o];b<c;b++)if(a[b]&&(a[b].constructor==s||a[b].constructor==X)){this[this.items[o]]=this.items[this.items[o]]=a[b];this[o]++}}X[p][F]=function(){for(var a,b,c=0,d=arguments[o];c<d;c++)if((a=arguments[c])&&(a.constructor==s||
a.constructor==X)){b=this.items[o];this[b]=this.items[b]=a;this[o]++}return this};X[p].pop=function(){delete this[this[o]--];return this.items.pop()};for(var Pa in s[p])if(s[p][z](Pa))X[p][Pa]=function(a){return function(){for(var b=0,c=this.items[o];b<c;b++)this.items[b][a][K](this.items[b],arguments);return this}}(Pa);X[p].attr=function(a,b){if(a&&l.is(a,U)&&l.is(a[0],"object")){b=0;for(var c=a[o];b<c;b++)this.items[b].attr(a[b])}else{c=0;for(var d=this.items[o];c<d;c++)this.items[c].attr(a,b)}return this};
X[p].animate=function(a,b,c,d){(l.is(c,"function")||!c)&&(d=c||null);var f=this.items[o],e=f,g,h=this,i;d&&(i=function(){!--f&&d.call(h)});c=l.is(c,ga)?c:i;for(g=this.items[--e].animate(a,b,c,i);e--;)this.items[e].animateWith(g,a,b,c,i);return this};X[p].insertAfter=function(a){for(var b=this.items[o];b--;)this.items[b].insertAfter(a);return this};X[p].getBBox=function(){for(var a=[],b=[],c=[],d=[],f=this.items[o];f--;){var e=this.items[f].getBBox();a[F](e.x);b[F](e.y);c[F](e.x+e.width);d[F](e.y+
e.height)}a=ba[K](0,a);b=ba[K](0,b);return{x:a,y:b,width:Y[K](0,c)-a,height:Y[K](0,d)-b}};X[p].clone=function(a){a=new X;for(var b=0,c=this.items[o];b<c;b++)a[F](this.items[b].clone());return a};l.registerFont=function(a){if(!a.face)return a;this.fonts=this.fonts||{};var b={w:a.w,face:{},glyphs:{}},c=a.face["font-family"];for(var d in a.face)if(a.face[z](d))b.face[d]=a.face[d];if(this.fonts[c])this.fonts[c][F](b);else this.fonts[c]=[b];if(!a.svg){b.face["units-per-em"]=ha(a.face["units-per-em"],10);
for(var f in a.glyphs)if(a.glyphs[z](f)){c=a.glyphs[f];b.glyphs[f]={w:c.w,k:{},d:c.d&&"M"+c.d[I](/[mlcxtrv]/g,function(g){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[g]||"M"})+"z"};if(c.k)for(var e in c.k)if(c[z](e))b.glyphs[f].k[e]=c.k[e]}}return a};H[p].getFont=function(a,b,c,d){d=d||"normal";c=c||"normal";b=+b||{normal:400,bold:700,lighter:300,bolder:800}[b]||400;if(l.fonts){var f=l.fonts[a];if(!f){a=new RegExp("(^|\\s)"+a[I](/[^\w\d\s+!~.:_-]/g,A)+"(\\s|$)","i");for(var e in l.fonts)if(l.fonts[z](e))if(a.test(e)){f=
l.fonts[e];break}}var g;if(f){e=0;for(a=f[o];e<a;e++){g=f[e];if(g.face["font-weight"]==b&&(g.face["font-style"]==c||!g.face["font-style"])&&g.face["font-stretch"]==d)break}}return g}};H[p].print=function(a,b,c,d,f,e){e=e||"middle";var g=this.set(),h=D(c)[G](A),i=0;l.is(d,c)&&(d=this.getFont(d));if(d){c=(f||16)/d.face["units-per-em"];var j=d.face.bbox.split(V);f=+j[0];e=+j[1]+(e=="baseline"?j[3]-j[1]+ +d.face.descent:(j[3]-j[1])/2);j=0;for(var m=h[o];j<m;j++){var n=j&&d.glyphs[h[j-1]]||{},r=d.glyphs[h[j]];
i+=j?(n.w||d.w)+(n.k&&n.k[h[j]]||0):0;r&&r.d&&g[F](this.path(r.d).attr({fill:"#000",stroke:"none",translation:[i,0]}))}g.scale(c,c,f,e).translate(a-f,b-e)}return g};var Ob=/\{(\d+)\}/g;l.format=function(a,b){var c=l.is(b,U)?[0][M](b):arguments;a&&l.is(a,ga)&&c[o]-1&&(a=a[I](Ob,function(d,f){return c[++f]==null?A:c[f]}));return a||A};l.ninja=function(){Qa.was?(Raphael=Qa.is):delete Raphael;return l};l.el=s[p];return l}();

if(typeof addEvent!="function"){var addEvent=function(g,b,c,a){var e="addEventListener",h="on"+b;if(g[e]&&!a){return g[e](b,c,false)}if(!g._evts){g._evts={}}if(!g._evts[b]){g._evts[b]={};if(g[h]){addEvent(g,b,g[h],a)}g[h]=new Function("e",'var r = true, o = this, a = o._evts["'+b+'"], i; for (i in a) {o._f = a[i]; if (o._f._i) r = o._f(e||window.event) != false && r;} o._f = null; return r')}if(!c._i){c._i=addEvent._i++}g._evts[b][c._i]=c;if(b!="unload"){addEvent(window,"unload",function(){removeEvent(g,b,c,a)})}};addEvent._i=1;var removeEvent=function(g,b,c,a){var e="removeEventListener";if(g[e]&&!a){return g[e](b,c,false)}if(g._evts&&g._evts[b]&&c._i){delete g._evts[b][c._i]}}}function cancelEvent(a,b){a.returnValue=false;if(a.preventDefault){a.preventDefault()}if(b){a.cancelBubble=true;if(a.stopPropagation){a.stopPropagation()}}}var HTMLHttp={};HTMLHttp.Request=function(a){this.myName=a;this.callback=null;this.loadingURI="";this.xmlhttp=null;if(window.XMLHttpRequest&&!window.ActiveXObject){this.xmlhttp=new XMLHttpRequest()}if(!this.xmlhttp&&window.ActiveXObject){try{this.xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{this.xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}}if(!this.xmlhttp&&this.iframeSetup){this.iframeSetup()}return this};HTMLHttp.Request.prototype.parseForm=function(d){var e="",c="getElementsByTagName",a=[(d[c]?d[c]("input"):d.all?d.all.tags("input"):[]),(d[c]?d[c]("select"):d.all?d.all.tags("select"):[]),(d[c]?d[c]("textarea"):d.all?d.all.tags("textarea"):[])];for(var b=0;b<a.length;b++){for(j=0;j<a[b].length;j++){if(a[b][j]){var g=a[b][j];if((g.nodeName.toLowerCase()=="input")&&{radio:1,checkbox:1}[g.type]&&!g.checked){continue}var f="++".substring(0,1);e+=escape(g.name).replace(f,"%2B")+"="+escape(g.value).replace(f,"%2B")+"&"}}}return e.substring(0,e.length-1)};HTMLHttp.Request.prototype.xmlhttpSend=function(b,a){this.xmlhttp.open(a?"POST":"GET",b,true);var c=this;this.xmlhttp.onreadystatechange=function(){if(c.xmlhttp.readyState==4){if(c.callback){c.callback(c.xmlhttp.responseXML,c.xmlhttp.responseText)}c.loadingURI=""}};if(a){this.xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded")}if(typeof this.xmlhttp.overrideMimeType=="function"){this.xmlhttp.overrideMimeType((/\.txt/i).test(b)?"text/plain":"text/xml")}this.xmlhttp.send(a);this.loadingURI=b;return true};HTMLHttp.Request.prototype.load=function(a,b){if(!a||(!this.xmlhttp&&!this.iframe)){return false}this.callback=b;if(this.xmlhttp){return this.xmlhttpSend(a,"")}else{if(this.iframe){return this.iframeSend(a,null)}else{return false}}};HTMLHttp.Request.prototype.submit=function(d,c){if(!d||(!this.xmlhttp&&!this.iframe)){return false}var b=d.getAttribute("method"),a=d.getAttribute("action");if(b&&b.toUpperCase()=="POST"){this.callback=c;if(this.xmlhttp){return this.xmlhttpSend(a,this.parseForm(d))}else{if(this.iframe){return this.iframeSend(a,d)}else{return false}}}else{return this.load(a+(a.indexOf("?")==-1?"?":"&")+this.parseForm(d),c)}};HTMLHttp.Threader=function(a){this.myName=a;this.threads=[];this.loadingIDs={}};HTMLHttp.Threader.prototype.getThread=function(destId,callback){with(this){var thr=-1;for(var id in loadingIDs){if(id==destId){thr=loadingIDs[id];break}}if(thr==-1){for(var t=0;t<threads.length;t++){if(!threads[t].loadingURI){thr=t;break}}}if(thr==-1){thr=threads.length;threads[thr]=new HTMLHttp.Request(myName+".threads["+thr+"]");loadingIDs[destId]=thr}return threads[thr]}};HTMLHttp.Threader.prototype.loadInto=function(a,c,e){var b=this;var d=function(f,g){delete b.loadingIDs[c];e(f,g,c)};return this.getThread(c).load(a,d)};HTMLHttp.Threader.prototype.submitInto=function(e,b,d){var a=this;var c=function(f,g){delete a.loadingIDs[b];d(f,g,b)};return this.getThread(b).submit(e,c)};HTMLHttp.Capture=function(a,b){this.myName=a;this.threader=new HTMLHttp.Threader(a+".threader");this.waitHTML=b};HTMLHttp.Capture.prototype.loadInto=function(c,d,a,e){if(this.waitHTML){document.getElementById(d).innerHTML=this.waitHTML}var b=this.threader.loadInto(c,d,(e||this.copyContent));if(b&&a){cancelEvent(a)}};HTMLHttp.Capture.prototype.toggleInto=function(c,d,a,f){var b=document.getElementById(d);if(!b.contentLoaded){if(this.loadInto(c,d,a,f)){b.contentLoaded=true}}if(a){cancelEvent(a)}var e=a.srcElement||a.target;if(e.nodeType&&e.nodeType!=1){e=e.parentNode}if(!b.toggleState){e.innerHTML="Close: "+e.innerHTML;b.style.display="block";b.toggleState=1}else{e.innerHTML=e.innerHTML.replace(/^Close: /,"");b.style.display="none";b.toggleState=0}};HTMLHttp.Capture.prototype.submitInto=function(d,b,a,c){if(this.waitHTML){document.getElementById(b).innerHTML=this.waitHTML}if(this.threader.submitInto(d,b,(c||this.copyContent))){cancelEvent(a)}};HTMLHttp.Capture.prototype.apply=function(a){var b=this;addEvent(a,"click",function(d){d=d||window.event;if(d.which>1||d.button>1){return}var g=d.target||d.srcElement;if(g.nodeType&&g.nodeType!=1){g=g.parentNode}var c=false;while(g){var e=(g.nodeName||g.tagName||"").toLowerCase();if(e=="input"&&g.type.toLowerCase()=="submit"){c=true}if(e=="form"&&c&&g.className&&g.className.match(/^submitinto-(.+)$/)){return b.submitInto(g,RegExp.$1,d,null)}if(e=="a"&&g.className&&g.className.match(/^(load|toggle)into-(.+)$/)){var f=g.href||g.getAttribute("href");if(RegExp.$1=="load"){return b.loadInto(f,RegExp.$2,d,null)}if(RegExp.$1=="toggle"){return b.toggleInto(f,RegExp.$2,d,null)}}g=g.parentNode}})};HTMLHttp.Capture.prototype.copyContent=function(a,c,e){var f=a?(typeof a.getElementsByTagName=="function"?a.getElementsByTagName("body").item(0):(a.body?a.body:null)):null;var b=document.getElementById?document.getElementById(e):(document.all?document.all[e]:null);if(!b||(!f&&!c)){return}if(f&&f.innerHTML){b.innerHTML=f.innerHTML}else{if(f&&document.importNode){while(b.firstChild){b.removeChild(b.firstChild)}for(var d=0;d<f.childNodes.length;d++){b.appendChild(document.importNode(f.childNodes.item(d),true))}}else{if(c){if(c.match(/(<body>)(.*)(<\/body>)/i)){c=RegExp.$2}b.innerHTML=c}}}};var docClickLoader=new HTMLHttp.Capture("docClickLoader");docClickLoader.waitHTML='<img style="width: 16px; height: 16px" src="working.gif" />';docClickLoader.apply(document);window.onload=function(){var d=Raphael("paper",400,400);var a={fill:"#c0000f",stroke:"#fff","stroke-width":0.8,"stroke-linejoin":"miter"};var b={};b.alberta=d.path("M 76,261 C 62.5,257.4 63.9,257.9 63.1,256.1 C 61.8,253 63.7,250 62.8,246.6 C 60.1,241.7 58.5,236.5 55.6,231.8 C 54.5,229.2 53.9,226.6 52.6,224.1 C 51.7,222.9 50.6,222.5 50.8,221 L 65.1,179.4 C 73.8,182.4 82.6,185 91.5,187.6 C 94.5,188.5 97.1,189.2 97.1,189.2 C 97.3,189.4 96.4,193.1 96.1,193.3 C 94.3,193.9 93,195.4 91.9,196.9 C 91.9,197.1 92.3,197.4 92.8,197.6 C 94.2,198.3 94.9,197.2 95.6,196.1 C 95.7,196.2 95.3,198.1 94.7,200.4 C 92.5,209.8 90.2,219.2 88,228.6 C 85,239.6 83.1,251.3 79.8,262 C 79.7,261.9 78,261.5 76,261 z").attr(a);b.bc=d.path("M 62.3,257.3 C 50.6,253.9 39.3,249.3 27.8,244.9 C 26.2,242.1 23.9,239.5 22.3,236.4 C 21.3,231.7 17.6,228.5 15.1,224.6 C 14.2,221.1 16.2,217.9 16,214.5 C 14.4,210.2 12.6,202.1 14.6,197.6 C 18.9,195.5 23.3,190.6 21.4,185.5 C 17.6,177.9 19.4,168.2 17.5,159.5 C 16.8,152.7 11.6,155.9 7.5,157.7 C 9,154.8 6,151.4 7.4,148.8 C 16.3,154.3 25,160.1 34.2,165.2 C 39.3,168 44.4,170.6 49.6,173.1 C 54.4,175.3 59.3,177 64.1,179 C 59.2,193 54.1,206.7 49.9,220.8 C 49.4,221.6 49.7,222.7 50.6,223.3 C 53.3,225.3 53,228.6 54.4,231.3 C 56,234.1 57.5,237 58.8,240 C 58.9,240.5 59.8,242.5 60.7,244.5 C 64.2,248.2 60.8,252.6 62.4,256.6 C 62.8,257.2 62.8,257.4 62.3,257.3 z M 22.1,247.7 C 19.4,246.5 19.1,243.1 17.3,241.4 C 15.6,239.7 15,237 13.9,234.8 C 12.2,232.2 11.4,229.2 10.4,226.3 C 10,225 11.1,224.6 12.1,224.2 C 15.3,226.5 17.8,229.9 20.4,233.1 C 21.5,235.5 21.3,238.1 22.9,240.4 C 24.8,242.5 24.9,245.4 25.5,248.1 C 25.1,248.5 23,248.3 22.1,247.7 z M 4.2,209.4 C 2.8,205.4 2.3,201.1 3.2,196.9 C 3.4,196.2 3.5,195.4 4.1,195 C 4.7,194.8 5.3,195.1 5.8,195.3 C 6.9,196.1 7.8,196.9 8.6,197.9 C 8.8,198.5 8,199 7.7,199.5 C 6.7,200.7 5.5,201.7 4.6,203 C 4,203.8 4,204.8 4.3,205.8 C 4.6,207.2 5.2,208.6 5.3,210.1 C 5.4,210.8 4.7,210.5 4.6,210.1 C 4.4,209.8 4.3,209.6 4.2,209.4 z").attr(a);b.manitoba=d.path("M 125.2,194.5 C 124.7,198.8 123.9,203.1 123.4,207.4 C 124.9,210.6 121.4,212.5 122,215.7 C 120.9,233.5 119.2,251.2 118.4,269 C 126.7,269.9 135,271 143.3,271.2 C 144,262.9 144.1,254.5 145.2,246.3 C 153.4,237.1 161.6,228 169.5,218.7 C 166.4,217.3 163,215.8 159.6,216.9 C 155.5,218.4 157.3,211.9 156,209.5 C 156.4,205.5 152.3,205.1 149.7,204.1 C 149.1,201.7 149.7,199.4 149.9,197 C 141.7,196.2 133.4,195.3 125.2,194.5 z M 134.6,239.5 C 137,243.1 137.1,247.6 138.5,251.6 C 139.1,254.4 140.4,257.4 139.7,260.3 C 137.6,262.4 135.5,260.9 136.9,258.3 C 137.7,256.9 138.9,253.3 136,254.8 C 137.3,252.4 135.7,250.3 133.1,250.5 C 131,248.5 131.5,243.1 127.9,243.5 C 126.6,245.5 126.3,249.1 127.8,251.2 C 131.3,253.1 130.5,257.6 132.1,260.7 C 132.7,263.5 129.1,262.7 129.7,260.3 C 129.2,257.4 129,254 126,252.5 C 122.7,250.9 126.9,247.5 124.6,245.3 C 122.2,244.3 123.2,242.4 124.3,241.2 C 122.4,237.9 127.5,238.9 128,241.4 C 129.3,243.5 129.5,237.6 131.9,238.1 C 133,237.9 134,238.6 134.6,239.5 z").attr(a);b.newbrunswick=d.path("M 271.4,283.4 C 268.3,280.9 266.6,277.6 266.2,273.7 C 266.2,271.6 264.2,270.8 262.5,270.4 L 261.7,270.4 C 261.5,269.2 261.5,268.1 261.5,267 C 265.7,267.3 268.6,263.5 272.7,264.1 C 274.7,264.6 275.9,262.3 278.1,262.8 C 276.6,265.8 278,268.6 279.8,271 C 281,272.4 282.6,272.1 284.2,272.3 C 281.6,275.3 280,279.9 276.2,281.5 C 274.5,282.5 273.8,283.7 271.4,283.4 z").attr(a);b.newfoundland=d.path("M 299.7,255.5 C 298.7,254.4 299.5,253 300,251.8 C 300.5,250.4 299.6,249 300,247.6 C 300.3,241.6 300.3,235.6 300.9,229.7 C 301.3,227.7 302.8,225.9 304.9,225.5 C 306.7,227.8 305.9,231 305.7,233.7 C 305.5,234.7 305.4,235.7 305.2,236.7 C 305.9,235.3 307.6,234.1 309.1,235.2 C 309.2,236.3 309.5,237.7 311,237.4 C 313.4,237.2 315.3,235.5 317.6,235.2 C 319.5,234.9 319.3,236.8 319.7,238.1 C 320.1,239.9 322.6,239.3 323.5,240.1 C 323.2,241.6 321.4,242.4 322.3,244 C 322.3,246.1 323.8,244.2 324.2,243.3 C 325.5,242.9 325.4,246 326.9,244.6 C 328.5,243.4 328.6,246.1 328.4,247.1 C 328.4,248.6 328.4,250.4 326.9,251.3 C 325.7,251.6 324.6,250.3 323.4,251 C 322.5,249.7 322.9,247.8 322.1,246.5 C 321.1,247.2 320.8,248.8 319.7,249.6 C 318.8,251.1 319.9,253.3 318,254.2 C 317.2,255 314.3,255 315.6,253.4 C 316.9,252.3 316.3,250.1 314.4,251 C 312.6,251.3 311.2,252.4 309.5,252.8 C 306.5,253.7 303.8,255.7 300.6,255.7 C 300.3,255.6 300,255.6 299.7,255.5 z M 265.7,236.5 C 262.9,236.9 260.8,234.8 260.4,232.7 C 258.6,233 256.1,232.7 257.2,230.3 C 256.1,227.6 251.7,226.3 253.3,222.6 C 254,219.8 256.5,218 259.2,219.2 C 261,218.2 266.6,217.4 263.9,220.9 C 262,221.5 259.7,225.7 263.4,224.6 C 265.2,222.5 269.5,224.1 269.6,220.7 C 269.5,218.2 264.9,221.7 266,218.4 C 268.3,215.7 266.4,212.8 264.8,210.4 C 263,207.3 261.3,203.9 261.7,200.2 C 262,196.9 256.8,196.6 258.2,193.3 C 259.1,191.4 258.3,189.1 255.9,189.8 C 254.4,188 254.2,185.4 252.8,183.5 C 252,182.5 252,179.9 253.6,181.9 C 256,184.5 258.7,186.8 261.2,189.3 C 262.5,192.4 266.6,192.7 267.5,196.1 C 268,198.6 271.4,198 270.4,200.9 C 270,204.4 274,205.1 276.5,206 C 278.7,207.7 280.8,208.4 283.6,208.3 C 286,209.5 289.1,206.7 291.1,209.2 C 290.7,211.6 287.1,213.2 285.7,215.6 C 284.8,216.5 281.8,219.3 283.9,219.8 C 287,217.8 287.4,212.9 291.2,211.7 C 293.7,212.5 296.2,213 298.6,214 C 302.2,214.8 300,219 302.9,220.7 C 305.1,222.6 302.6,224.7 301.5,226.5 C 300.4,229.3 299.5,224.4 297.2,225.2 C 294.8,225.6 292.7,226.8 290.4,227.5 C 285,229.5 279.7,231.9 274.1,233.4 C 272.5,233 269.1,231.3 270.1,234.7 C 270.3,237.2 267.4,237.6 265.7,236.5 z").attr(a);b.novascotia=d.path("M 280,291.6 C 278,291.1 277.1,289 277.1,287.1 C 276.9,285.9 277.8,285 278.4,284 C 279.4,282.4 280.7,280.9 282.3,279.7 C 283.2,279 284.2,278.3 285,277.5 C 284.1,277.6 283.4,278.2 282.6,278.6 C 281.7,279.3 281,278.2 281.6,277.4 C 282.3,275.9 283.4,274.6 284.6,273.5 C 285.4,272.9 286.3,273.3 287.2,273.2 C 288.9,273 290.6,272.9 292.1,272 C 294,271.3 296.1,272.3 297.4,273.6 C 297.3,275.3 295.7,276.3 294.6,277.4 C 293.6,278.4 292.5,279.3 291.4,280 C 290.4,280.7 289.4,281.4 288.9,282.5 C 288.2,283.5 286.2,283 286.2,284.6 C 285.6,286.5 284.9,288.4 283.5,289.8 C 282.7,290.4 282.2,291.7 281,291.7 C 280.7,291.7 280.4,291.7 280,291.6 z M 297.1,272.3 C 296,271.4 295.1,270.2 294.5,269 C 295.7,266.7 296,264 297.6,262 C 298.1,262 298.6,263.1 298.7,264 C 298.5,266.3 300.8,266.4 301.7,268.2 C 301.3,270 299.9,270.9 298.4,271.9 C 297.8,272.7 297.7,272.8 297.1,272.3 z").attr(a);b.nwt=d.path("M 53.9,95.1 C 51.5,95.3 48.3,95.1 48.5,98.1 C 44.9,97.6 43.8,105.1 41.9,108.2 C 39.7,111.7 48.1,112.3 45,116.7 C 41.8,120.4 48.6,124.4 43.4,127.2 C 40.8,131.8 45.9,136.7 44.7,141.4 C 44,145.1 42.4,149.4 43.7,153 C 44.9,155.4 45.6,158.1 46.5,160.6 C 43.3,165.1 50.5,166 52.4,167.3 C 53.1,169.6 50.9,173.9 54.4,174.3 C 69.1,180.3 84.4,184.7 99.7,188.9 C 107.5,190.7 115.3,192.1 123.1,193.4 C 126.3,191.8 124.3,184.9 125.6,181.4 C 126.2,174.9 126.7,168.3 127.3,161.8 C 121.4,158.6 115.5,155.4 109.6,152.3 C 108.4,150.6 107.5,148.5 106.2,147.1 C 104.4,146.7 102.5,146.4 100.7,146 C 95.2,138.4 89.5,130.9 84.2,123.2 C 84.4,118.9 89.3,114.4 86.4,110.3 C 84.9,106.3 80.5,108.7 78.4,108.5 C 80.8,106.3 78.8,101.4 76.3,105.5 C 71.5,109.8 76,98.2 71.5,98.8 C 69,100.6 68,99 67.3,97 C 63.5,94.5 56.7,100 54.6,96 L 54.3,95.5 L 53.9,95.1 L 53.9,95.1 z M 74.9,130.7 C 77.2,130.7 85,130 80.3,133.9 C 79.5,136.3 89.9,136 85,139.7 C 83.1,142.5 80.3,137.6 78.6,140.1 C 79.2,143.4 70.9,145.2 75.1,141.2 C 74.5,139.9 67.4,143.7 69.3,139.1 C 71.5,137.5 76.2,133.7 70.8,133 C 63.4,130.2 72.6,130.7 74.9,130.7 z M 86.3,166.4 C 88.6,170.3 93.4,173.4 97.4,169.7 C 101,166.8 102.3,171.1 98.2,172.4 C 94.6,175.1 90.3,176.5 86.2,178.2 C 83.1,179.5 75.5,176.1 77.4,173.5 C 81.2,174 88.4,172 84.5,167 C 83.3,165.3 83.1,162.2 85.2,165.3 L 85.8,165.9 L 86.3,166.4 L 86.3,166.4 z M 99.1,111.2 C 98.4,111.2 97,110.5 98.5,110.5 C 100.6,110.4 102.7,110.4 104.7,110.8 C 106.1,111.3 107.3,112.3 108.8,112.2 C 109.5,111.3 107.8,110.4 107.1,109.8 C 106,109.1 104.8,108.7 103.5,108.6 C 101.4,108.1 99.4,107.6 97.4,106.7 C 96.3,106 96.3,104.4 96,103.3 C 97,102.4 98.4,102.3 99.6,101.9 C 100.3,101.7 101,101.5 101.7,101.3 C 100.8,101.1 99.8,101 98.9,100.7 C 97.7,99.7 97.3,98.1 96.7,96.7 C 96.6,94.8 98.6,93.8 99,92.1 C 100.7,89.4 104,88.4 106.9,87.9 C 108.2,87.7 109.4,87.3 110.7,87.3 C 112.4,87.6 111.7,89.6 111.3,90.6 C 110.7,91.4 110.4,93.4 111.9,92.1 C 112.2,91.8 112.6,91.5 113,91.2 C 114.5,92.1 116,92.9 117.3,94.1 C 117,94.9 116.7,95.7 116.3,96.5 C 117.1,96.3 118.3,96.4 118.5,95.4 C 118.5,94.4 117.5,93.2 119,92.9 C 120.3,92.2 119.1,94.4 119.1,95 C 117.5,101.7 115.9,108.4 114.1,115.1 C 113.1,115.6 111.3,114.6 110,114.4 C 106.4,113.5 102.8,112.3 99.1,111.2 z M 85.1,95.5 C 85,93.4 83.9,91.7 82.7,90 C 81.8,88.9 82.4,87.3 83.5,86.6 C 85.2,85 86.1,82.7 87.7,80.9 C 88.7,79.5 89.8,78.3 90.8,76.9 C 91.6,75.6 91.7,74 91.6,72.5 C 92.2,71.2 93.9,71.3 95,71.8 C 96.4,72.3 97.9,72.6 99.2,73.3 C 100.3,74.2 100.7,75.5 101.8,76.4 C 102.5,77.6 103.9,77.8 105.2,77.6 C 106.9,77.6 107.3,79.5 107.8,80.7 C 108.2,82.3 109,83.9 108.9,85.6 C 108.5,86.9 106.9,87.1 105.8,87.4 C 101.3,88.7 97,91.4 94.3,95.4 C 93.8,96.9 92.3,97.7 90.8,97.9 C 89.4,98.1 87.8,98.6 86.4,98.1 C 85.4,97.7 85.2,96.5 85.1,95.5 z M 114.9,79.1 C 114.4,78.5 113.6,77.7 114,76.9 C 114.7,76.1 115.9,75.9 116.9,75.6 C 117.5,75.6 119.2,74.9 117.8,74.4 C 116.9,74.1 116,73.9 115,73.6 C 114,74.2 112.7,74.2 111.7,73.4 C 110.5,72.5 109.8,71.2 109,70 C 108.7,68.9 110.1,68.7 110.5,67.9 C 111.3,66 112.3,64 114,62.8 C 114.8,62.1 116,61.2 117.1,61.8 C 118.4,62.6 118.9,64.3 120.2,65.2 C 121.6,66.1 122,67.9 122,69.5 C 122,70.3 122.2,71.4 123.3,71.5 C 124.1,71.3 124.9,71.8 124.5,72.7 C 124.3,73.8 124.1,74.9 123.8,76.1 C 123,78.8 120.1,80.5 117.3,80.3 C 116.9,80.3 116.5,80.3 116.1,80.3 C 115.7,79.9 115.3,79.5 114.9,79.1 z M 106.4,66.7 C 106,65.4 106.5,64.8 108.5,64 C 110.2,63.3 110.7,63.2 111.1,63.7 C 111.6,64.3 111.3,64.9 110.5,65.6 C 109.5,66.3 108.6,67.2 107.6,67.9 C 106.8,67.8 106.7,67.4 106.4,66.7 z M 104.7,63.5 C 104.2,62.3 104.4,61.9 102.9,61.8 C 99.5,61.9 100.5,58.7 102.8,57.9 C 105,57.2 106.9,56.3 108.6,54.8 C 111,52.6 111.4,52.4 113.3,52.4 C 114.9,52.4 116.4,52.1 117.6,53.3 C 118.3,55.6 116.1,56.3 115.8,58.2 C 115.8,59.9 114.2,60.3 113.2,61.3 C 111.3,63 111,60.7 111.7,59.1 C 113.2,57 108.9,61.4 108.7,61.5 C 106.3,64 105.6,64.3 104.7,63.5 z M 122.9,54.7 C 122.6,53.8 122.4,53.1 121.8,52.4 C 120.4,51.5 119.9,49.1 121,49.1 C 121.5,49.1 122.3,49.9 122.3,50.4 C 122.3,50.6 122.6,50.7 123.2,50.5 C 124.2,50.3 128.6,50.1 129.1,50.2 C 129.3,50.3 129.3,50.6 129.1,51.5 C 128.7,53.2 128.6,54.9 127.7,56.4 C 125.7,57.4 123.8,56.6 122.9,54.7 z M 128.9,49.2 C 128.4,48.7 127.6,48.3 127,47.8 C 126.7,47.5 126.4,47.4 125.9,47.5 C 123.7,47.4 126.3,45.7 127.2,45.5 C 127.3,45.6 127.6,45.5 127.8,45.3 C 128.1,45.1 130.1,45.1 130.3,45.4 C 130.5,45.6 129.5,49.4 129.3,49.4 C 129.1,49.4 128.9,49.3 128.9,49.2 z").attr(a);b.nunavut=d.path("M 125.2,193.3 C 126.2,182.7 127.4,172.1 128.2,161.5 C 122.7,157.8 116.3,155.3 110.6,151.8 C 108.4,150.3 108.3,146.2 105.3,146.1 C 103.1,145.5 100.4,145.8 99.7,143.1 C 95,136.2 89.2,130.1 85,122.9 C 86.6,120.4 86.7,113.3 89.5,114 C 92.5,117.3 95.7,120 99.6,121.3 C 102.8,123.7 101.9,127.3 98,127.7 C 99.1,131.8 105.8,132.3 109.5,131.4 C 113,130.4 114.6,139 115.8,138.1 C 114.8,134.3 116.9,132.8 120.1,131.4 C 118.9,131.7 113.2,132 116.1,128.6 C 119.4,126.1 124.6,126 124.8,131 C 126.9,133.5 130.1,134.7 132,137.2 C 135.3,136.2 141.7,140.8 142,135.6 C 141.7,130.9 152.2,134.9 149,138.6 C 147,141.2 151.2,144.2 149.9,139.8 C 149,135.6 157.7,135.7 154.6,130.4 C 155.7,125.3 147.4,124.8 149.1,119.3 C 149,116.7 146.8,113.5 150.2,111.6 C 151,108.7 154,104.6 156.6,109 C 159.5,112.2 159.2,117.2 161.1,121 C 158,123.1 160.6,126.8 164.1,125.7 C 168.6,127 160,127.5 164,130.3 C 165,132.5 165.4,134.6 165.9,130.8 C 167.9,124.2 174.5,133.9 171,137.1 C 171.1,142 176.2,143.9 175.9,137.8 C 177.2,133.4 180.2,129.6 177.5,125.1 C 179.1,119.8 185.8,124.9 188.4,127 C 190.3,128.9 191.1,133.2 187.5,134.3 C 189.6,138.2 192.9,142.4 189,146.5 C 188,149.8 184.3,148.4 183.6,150.2 C 181.8,151.3 176,147 177,150.5 C 179.5,153.9 172.7,157.2 175.1,160.9 C 173.5,165 170.8,169 166.3,168.9 C 166,172.3 160,169.7 163.6,173.3 C 164.3,177.9 158,175.5 158.4,179 C 155.2,182.6 152.5,186.6 151,191.2 C 149.6,193.7 151.1,197.8 146.8,196 C 139.6,195.4 132.4,194.4 125.2,193.3 z M 125.6,126.7 C 124.2,125.2 121.9,124.4 119.9,125.2 C 116.6,126.2 113.1,127.2 109.6,126.9 C 107.7,126.5 105,127.1 103.5,125.7 C 103.3,123.9 103.4,122.1 102.9,120.3 C 101.4,118.7 98.4,118.9 97.2,116.7 C 96.2,115 96.2,113.1 95.7,111.3 C 97.4,111.4 99.2,112.2 101,112.6 C 105.5,113.9 110,115.4 114.6,116.6 C 116.6,108.9 118.5,101.2 120.5,93.5 C 122.1,95.7 122.5,98.4 122.6,101 C 122.6,101.9 123.4,104.2 123.6,102 C 123.9,99 123.8,96 123.6,93 C 124.5,91.2 126.4,91.5 127.8,92 C 126.9,89.8 129.5,87.8 131.5,89.1 C 132.9,89.9 134.1,91.9 132.8,93.4 C 132.2,94.6 131.1,95.5 130.4,96.7 C 130.5,100.4 130.3,104.1 131.5,107.7 C 131,109.4 130,111.3 131.2,113 C 132.3,115.1 134.4,116.5 136.1,118.1 C 137.1,119.3 139.1,122.3 136.7,123.1 C 135.3,122.8 132.3,122.2 134.1,124.6 C 135.1,126.4 134.5,129.4 132,129.1 C 129.7,129.1 127.4,128.1 125.6,126.7 z M 201.1,242.1 C 202.8,241.7 204.6,243.8 203,244.9 C 200.9,244.8 197.2,242.6 201.1,242.1 z M 199,177.3 C 202.1,175.8 201.6,180.4 200.4,182.1 C 197.5,183.5 197.9,179 199,177.3 z M 187.3,174.9 C 188.7,174 190.9,173.6 192.1,175 C 192.4,177.5 189.6,179.3 187.4,179.7 C 184.2,180.1 186,176.1 187.3,174.9 z M 180.1,173.8 C 179.5,173.1 179.6,171.9 179.4,171 C 177.4,170.2 173.5,171.2 175.9,168.1 C 176.8,167.1 177,166.6 176.9,165.2 C 176.8,160.2 176.9,158.6 177.9,154.8 C 178.2,153.1 179.5,152.9 180.6,153.8 C 182.4,157.3 186.4,158.6 189.5,160.8 C 190.8,161.5 191.1,162.5 191.7,163.7 C 192.4,165 192.1,165.5 193.7,165.4 C 195.4,165.2 196.5,166.1 196.8,167.6 C 196.7,168.9 196.5,169.2 195.5,169.8 C 193.4,170.3 190.3,170 189.4,168 C 186.7,164.5 185.5,169.7 183.8,171.6 C 182.7,173.2 181.9,173.9 180.1,173.8 z M 141.1,129.5 C 141.1,128.9 145.1,123.5 145.6,123.5 C 148.7,125.4 150.2,128.7 151,132.2 C 148.6,136.6 143.3,131.8 141.1,129.5 z M 241,172 C 237.9,171.5 234.2,172.6 231.9,170 C 228.8,169.1 223.6,169.4 223.1,165 C 222.1,162.9 218.3,161.7 216.3,159.8 C 213.4,159.5 210.4,160.7 208.3,162.5 C 205.9,162.7 202.8,162.8 201.9,160 C 201.5,156.3 204.1,152.5 208.2,153.6 C 211.4,154.1 216.5,150.5 212.2,147.9 C 211.7,146.3 213.2,144.8 213.7,143.3 C 214.3,141.4 216.2,139.7 215,137.7 C 213.1,133.7 209.3,129.4 206,127.4 C 204.6,128.8 201.3,129 203.3,126.5 C 204.1,124 198.9,126.8 200.6,123.3 C 199.9,121.7 195.9,117.7 196.2,121.4 C 191.9,121.3 187.7,121.9 183.5,122.2 C 179.7,122.2 175.8,122.6 173.2,119.8 C 169.3,121.3 163.9,114.6 169.4,113.6 C 164.8,113.5 165.4,108.4 165.9,105.1 C 166.5,100.1 167.5,94 172.2,91.2 C 175.5,89.6 179.7,92.6 176.1,95.7 C 174.9,98.3 173.5,103.4 176,104.8 C 175.8,100.7 176.5,96.7 179.7,93.7 C 182.2,90.3 187,92.2 188,95.9 C 188.2,98.5 190.9,103.8 193,100 C 194.7,96.6 199.8,97.5 201.9,100.1 C 204.2,102.1 206.1,108.6 209.3,104.3 C 213.4,104.8 214.2,111.7 218.8,109.7 C 221.7,110.1 219.2,115.2 222.4,112.3 C 224.9,113.9 227.6,118.2 228,120.4 C 226.6,121.9 223.6,120.2 225.3,123 C 224.7,127.4 231.5,128.3 235,128.3 C 237.1,128.7 238.4,131.6 241,131.5 C 241.5,134.9 244.5,131.1 246.2,132.5 C 248.8,134.8 246.1,139.6 246.2,142.7 C 242.1,143.6 248.7,148.6 243.6,148.2 C 239.3,147.7 237.8,143.1 234.1,141.5 C 231.8,140.1 230,142.4 232.1,144.1 C 229.8,146.9 235.1,147.8 236.3,150 C 239.4,150.3 241.1,152.7 242.9,154.9 C 244,156.1 245.1,157.3 246.1,158.5 C 245.9,161.6 247.3,167.7 242.5,164.9 C 239.3,164.6 235.9,160.9 233.2,161.6 C 235.3,165.3 240,165.9 243.1,168.4 C 244.8,168.8 243.8,170.7 244,171.9 C 243.3,172.3 241.8,172 241,172 z M 203.3,169.3 C 204.9,168.4 205.7,169.9 205.5,171.4 C 204.1,171.8 203.3,170.5 203.3,169.3 z M 206.4,167.4 C 207,165.9 208.2,167 208.7,167.9 C 207.6,168.7 206.9,168.3 206.4,167.4 z M 203.6,131.7 C 208.4,130.7 209,138.5 205.5,140.3 C 200.4,141.8 201.5,134.2 203.6,131.7 z M 208.6,133.6 C 210.1,133 212.4,133.6 210.9,135.2 C 209.5,135.8 209,134.8 208.6,133.6 z M 194.5,128.6 C 195.3,126.7 195.7,124.6 196.9,123 C 197.5,125.1 196.7,128 194.5,128.6 z M 141.5,109.1 C 141.2,104.4 134.2,102.6 137.5,97.8 C 139.9,98.1 142.5,99.8 141.7,96 C 138.4,90.7 141.3,90.2 145.4,91.1 C 147.9,89.2 150.5,90.6 149.3,93.4 C 149.4,94.2 149.7,94.8 148.6,96.1 C 146.8,97.7 148.8,98.5 149.3,100.4 C 151.2,103.8 150.7,107.2 147.1,109 C 145.3,111.7 143.3,111.7 141.5,109.1 z M 153,92.9 C 153.9,88.3 157.5,88.2 161.1,89.5 C 167.9,90.7 162.4,97 160.8,101 C 157.2,101.2 156.8,101.7 156.6,105.1 C 150.3,108.2 152.1,96.1 153,92.9 z M 187.1,91.4 C 187.3,90.8 192.4,90.9 193.5,91.5 C 195.4,92.7 200.4,97 195.5,97.1 C 194.3,97 193.7,97.1 192.9,97.6 C 189.3,99.4 188,94 187.1,91.4 z M 161,82.4 C 160.4,79.4 161.1,76.2 159.9,73.3 C 159.1,71.4 157,70.5 155,70.1 C 153.5,68.7 151.7,67 152,64.7 C 152.6,63 154.9,63.7 156.3,64 C 158,64.6 158.9,66.9 161,66.8 C 162.8,66.2 164,67.6 164.6,69.1 C 166.3,69.9 165.6,71.6 165.6,73 C 166.4,74.3 167.2,76 168.9,76.1 C 170.4,76.3 171.9,76.6 173.5,76.9 C 174.9,76.1 176.6,75.7 177.9,74.6 C 180.6,73.1 184.4,73.4 186.5,75.9 C 187.9,77.5 188.6,79.8 188.1,81.9 C 187.5,84.3 184.8,85.5 182.5,84.9 C 181.1,84.2 179.7,84.5 178.3,85 C 175.2,85.8 171.7,86.5 168.8,84.9 C 167.2,84.6 165.4,85.7 163.8,85.1 C 162.4,84.9 161.3,83.8 161,82.4 z M 151.9,81.7 C 151.1,79.8 152.7,77 154.5,76.1 C 157.8,75.5 158.6,77.5 158.8,80.4 C 159.5,86.4 154.7,84.1 151.9,81.7 z M 143.6,77.3 L 145.3,75.5 L 142.9,75.6 C 140.2,75.6 139.8,75.4 139.8,73.8 C 139.8,72.6 139.5,72.1 138.1,71.2 C 136.1,70.4 137.1,69.1 138.8,68.8 C 140.2,69 140.9,69.3 140.9,69.8 C 140.9,70 141.4,70.6 142,71.3 C 143,72.3 144.2,73.2 144.7,71.6 C 144.8,70.6 144.5,70.1 143.1,69.2 C 141.2,67.9 144.5,66.7 145.6,66.3 C 147,66.4 148.3,66.6 149.7,67 L 150.3,67.4 L 150.1,72.2 C 149.7,74.4 150.8,79.3 148.1,80.3 C 146.1,80.2 144.5,79.1 143.6,77.3 z M 127.6,78.2 C 126.5,77.4 125.4,77.9 124.4,78.4 C 123.9,75.7 126,73.6 126.1,71.1 C 126.1,69.4 127.3,63.4 127.8,62.7 C 128.6,61.5 130.6,62.5 129.9,63.7 C 129.7,64 129.7,64.4 129.9,64.7 C 130.3,66.2 129.6,67.6 129.5,69.1 C 130.1,70.9 132.1,69.7 133.5,70.1 C 135,72.4 134.4,74.9 133,77 C 131.8,78.8 129.4,79.4 127.6,78.2 z M 136,75.9 C 137.8,76.3 138.1,78.3 136,78.7 C 133.7,78.8 134.4,76.5 136,75.9 z M 183.8,69.5 C 182,67.6 178.8,69.7 177,67.6 C 175.7,71.3 171.1,69.1 168.3,69.6 C 164.3,67.9 167.1,62.8 170.2,61.8 C 169.2,60.3 167,57.7 169.7,56.2 C 171.8,55.2 173.8,59.1 174.9,58.8 C 173.3,57.6 173.3,55.9 174.3,54.2 C 171.8,54.9 168.7,53.3 170.5,50.5 C 171,48.2 173.7,45.5 176.1,46.8 C 177,48.2 179.7,48 177.7,46.3 C 175,44.7 174.2,41.3 172.1,39.2 C 170.8,37.4 170.2,33.1 173.3,33.2 C 175.3,33 177.5,37 178.1,36.3 C 176,34.4 176.9,31.5 179.8,31.2 C 181.4,30.1 185.4,27 182.1,25.6 C 180.8,28.7 177.4,30.9 174,30.9 C 171.1,32.3 172.4,25.7 170.7,29 C 167.6,31 166.6,26.5 164.9,25 C 165.4,23.6 168,21.4 164.9,20.9 C 161.6,18.4 167.3,16.2 169.2,15.2 C 171.2,14.3 171.9,9.4 174.7,12 C 177.8,10.6 177.3,5.9 180.8,4.8 C 183.3,3.1 186.3,3.6 189.1,2.8 C 192.5,2.9 196,1.7 199.3,3 C 202.1,4.3 205.2,6.9 203.8,10.5 C 203.8,14.2 198.6,15 198.5,18.5 C 199.5,17.2 203,14.5 202.5,18 C 201.6,21.3 200.1,24.4 198.9,27.6 C 197,30.2 198,33.8 196.2,36.2 C 193.5,36.8 193.4,39.5 190.6,40.2 C 187.7,42 191.1,45 192.7,46.4 C 193.2,48.2 191.2,49.5 192.9,51.2 C 191.8,52.5 191.4,54.7 189,55.2 C 188.5,57 189,59.6 187.2,61 C 187.5,63.2 191.4,64.6 189,67.1 C 188.1,68.7 185.5,72.1 183.8,69.5 z M 136.1,57.6 C 137.9,55.6 138.5,59.7 137.5,61.1 C 135.6,61.1 135.8,59 136.1,57.6 z M 154.4,57.3 C 156.6,55.3 160.9,57.5 158.3,60.2 C 156.3,61.7 152.2,59.8 154.4,57.3 z M 152.9,56.1 C 152,55.8 151.6,55 151.9,54.3 C 151.2,52.7 150.3,51.6 150.3,49.7 C 151.1,46.1 153.8,48.8 155.8,49.9 C 156.2,49.9 156.6,51.3 156.6,52.9 L 156.6,54.7 L 155.4,55.6 C 154.1,56.6 154,56.6 152.9,56.1 z M 147.4,55.7 C 145.8,53.9 144.5,52 142,51.9 C 139.9,52 138.9,50.5 139.3,48.6 C 139.7,48.1 140.3,48 140.8,47.6 C 141.3,47.2 141.3,47 141.1,46.2 C 140,44.3 137.4,41.8 141.1,41 C 142.2,41 143.6,42 143.6,42.8 C 143.6,43.3 144,43.6 144.6,43.7 C 146.3,44.4 147,46.2 148,47.6 C 148.8,48.5 148.9,49 148.6,50 C 147.8,51.7 149,52.7 149.7,54 C 149.4,55.6 148.7,56.3 147.4,55.7 z M 160.7,51.4 C 159.6,49.8 158.6,48.2 158.1,46.3 C 158.5,44.9 160.1,44.4 161.1,43.5 C 161.6,42.1 159.2,42.1 158.3,42.4 C 157,42.7 155.3,41.9 155.9,40.4 C 155.6,39.2 154.3,38.3 154.9,36.9 C 154.6,35.3 157.8,35.7 156.7,34.2 C 155.9,33.4 155.1,31.8 156.6,31.3 C 157.7,31.1 159,29.9 157.7,29 C 157.4,28.6 157,28.4 156.9,28 C 157.3,27 158,26.2 158.8,25.5 C 159.4,24.6 159.9,22.6 161.4,23.4 C 162.9,24.4 163.8,26.1 164.4,27.8 C 165.1,30 167.4,31.4 167.9,33.7 C 168.5,35.2 170.1,36.2 170.3,37.9 C 170.9,39.7 172.6,40.8 173.3,42.5 C 173.7,43.8 173,45.2 172.1,46.2 C 170.3,47.8 169.7,50.6 167.6,52 C 166.5,52.2 165.7,52.7 165.1,53.7 C 163.8,54.4 162.2,53.5 161.4,52.3 C 161.2,52 161,51.7 160.7,51.4 z M 130.5,48.9 C 130.6,48 130.9,47.1 131.2,46.4 C 131.6,46.4 131.2,48.7 130.8,49.1 C 130.4,49.5 130.4,49.5 130.5,48.9 z M 149.7,34.4 C 151.1,34.9 152.1,36.4 151.3,37.7 C 149,38.7 147.4,35.4 149.7,34.4 z").attr(a);b.ontario=d.path("M 201.7,316.2 C 204.2,313.9 204.2,309.7 205.8,306.6 C 204.6,302.5 209.1,298.9 205.7,295.2 C 207.4,298.6 215.2,301.1 212.2,295.2 C 208.9,290.3 202.7,290.2 197.4,289.9 C 191.6,290.1 190.3,284.9 188.6,280.9 C 186.5,278.7 182.2,278.7 182.4,275 C 181.6,272.7 176.8,274.5 174.7,272.9 C 172.1,276.3 168.5,280.3 163.7,278.4 C 158.2,278.3 154,274.2 148.6,274.3 C 143.6,270.8 144.5,264.2 145,258.7 C 145.7,253.5 143.8,247 148.7,243.4 C 156.2,235.5 163.2,227.1 170.5,219 C 173.9,221.8 176.8,224.8 181.2,226 C 184.1,227.5 186.4,229.7 190,228.8 C 192.8,228.9 198.7,228.5 196.7,233 C 197.1,237.5 197.2,242.9 200.3,246.6 C 202.7,248.8 205.2,251.8 206.4,254.4 C 210.6,252.8 209.4,257.7 210.1,260.5 C 211,267.3 211.5,274.3 212.6,281.1 C 213.9,286.7 220.1,286.8 224.4,288.4 C 226.8,289.1 227.8,292.6 230.8,291 C 233,290.1 239,287.4 236.3,292 C 232.2,295.6 229.1,301.7 223,302 C 219.5,302 212.4,306.8 218.8,308.5 C 218.4,310.4 211.9,310.2 213.1,312.8 C 208.4,310.9 206.1,315.7 202.5,317.6 C 200.9,317.6 198,318.4 201.7,316.2 z").attr(a);b.pei=d.path("M 289.4,272 C 286.6,271.8 283.9,271.2 281.1,270.6 C 280.1,270.6 280,270.2 280.6,268.9 C 281,268.1 281.4,267.6 281.6,267.6 C 282.6,268.2 283.5,269.1 284.5,269.4 C 286.6,269.2 288.7,268.2 290.9,268 C 290.7,268.9 290.4,269.8 290.2,270.7 C 290.2,271.7 289.8,272.3 289.4,272 z").attr(a);b.quebec=d.path("M 238.2,290.7 C 236.5,284.7 228.9,294.1 225.6,287.9 C 221.3,285.9 214.4,286.4 213.4,280.4 C 211.9,271.3 211.3,262 210,252.8 C 214.9,247.5 209.1,241.3 208.2,235.6 C 203,230.4 212.1,228.1 213.9,223.3 C 217,218.9 215.4,212.9 213,208.6 C 210.1,205.8 203.7,203 207.8,198.3 C 210.7,193.5 206.2,189.1 206.3,184.2 C 206.9,181.5 203.6,179.4 204.6,177 C 207.8,171.9 215.2,178.9 218.6,173.5 C 223.1,174.7 226.4,177.9 229.2,180.9 C 232.6,181.2 236.9,181.1 235.6,185.6 C 236.4,188.4 237,193.9 240,194.6 C 243.7,195.9 247.6,199.1 249.2,193.3 C 252.3,190.2 248.1,185.5 251.5,182.7 C 253,186.2 254.3,190.9 257.4,191.3 C 256.3,195 257.7,197.1 260.5,199.1 C 260,205.4 264.5,210.2 266.1,215.8 C 265.3,219.2 260.9,216.4 258.8,218.5 C 254.6,215.3 251,222.7 252.7,226.1 C 255.2,228.4 256.2,230.9 257.2,233.6 C 261.4,232.3 260.5,238.6 265.2,237.3 C 269.1,240.8 270.7,234.4 271.7,233.7 C 276.2,235 280.6,231.7 284.9,230.5 C 289.2,228.8 293.7,227.1 298.1,225.9 C 302.6,229.8 292.8,232.1 293.2,237.2 C 291.7,242.5 285.6,243.6 281,245.1 C 275.4,246.7 269.3,247.5 264.6,251.1 C 264.3,257 258.6,259 256.7,264 C 254.9,268.3 253.7,272.9 250.2,276.1 C 248.1,278.2 242.8,283.6 243.2,283.7 C 248.2,278.7 254.7,274.3 256.3,267 C 260.1,261.3 265.8,257 272,254.3 C 279.9,252.4 277.5,264.3 271,263 C 267.9,265.2 262.1,264.8 260.7,267.9 C 262.5,272.5 254.9,270.7 255.5,275.9 C 255.1,281.5 254.3,289.7 247.1,290.2 C 244.2,290.4 240.9,292.5 238.2,290.7 z M 279.6,251.9 C 278.5,251.5 277.5,250.9 276.3,250.6 C 273,249.7 275.7,248.2 277.6,248 C 280.4,248.1 285.5,247.8 287,250.5 C 285.9,252.4 281.9,252 279.6,251.9 z").attr(a);b.saskatchewan=d.path("M 116.7,268.7 C 104.7,267.7 92.8,265.1 81.1,262.2 C 80.5,261.3 81.5,259.9 81.6,258.8 C 86.6,237.7 91.7,216.6 96.7,195.6 C 99.7,196 102.7,195.9 105.7,195.9 C 107.4,196.4 111,197 107.6,195.5 C 104.5,194.1 101,192 97.5,192.3 C 96.9,187.4 102.3,190.9 104.9,190.8 C 111.3,192.1 117.7,193.3 124.1,194.5 C 124.2,197.5 123.4,200.6 123.1,203.6 C 123.2,206.6 121.9,208.9 120,211.1 C 119.6,213 118.3,216.5 119,217.6 C 122.1,215 120.1,221 120.6,222.9 C 120,238 118.3,253 117.4,268.1 C 117.5,268.4 117.1,269.3 116.7,268.7 z").attr(a);b.yukon=d.path("M 48.5,171.7 C 34.4,165 21.1,156.7 8.1,148 C 5.2,146.1 13,142.1 6.5,142.5 C 1.5,141.1 5.7,137.1 7.4,134.5 C 18.3,118.3 29.3,102.1 40.2,86 C 44.9,87.4 43.5,93.9 46.7,97 C 43.7,100.8 42.2,105.4 40.3,109.7 C 43,112.2 46.6,114.9 43.2,118.8 C 42.6,122 46.8,125.1 42.3,127.2 C 39.6,132.3 46,137.6 43.4,143 C 41,149.2 43.2,154.3 45.5,160.1 C 42.5,165.3 49.4,166.5 51.7,168.4 C 51.1,171.4 53.2,174.8 48.5,171.7 z").attr(a);var f={};f.alberta=createLabel(d,"Alberta",72,275,55,1);f.bc=createLabel(d,"British\nColumbia",36,277,66,2);f.manitoba=createLabel(d,"Manitoba",130,287,66,1);f.newbrunswick=createLabel(d,"New\nBrunswick",296,309,68,2);f.newfoundland=createLabel(d,"Newfoundland\nAnd\nLabrador",290,158,82,3);f.novascotia=createLabel(d,"Nova\nScotia",270,309,42,2);f.nwt=createLabel(d,"Northwest\nTerritories",66,39,70,2);f.nunavut=createLabel(d,"Nunavut",246,100,64,1);f.ontario=createLabel(d,"Ontario",176,300,54,1);f.pei=createLabel(d,"Prince\nEdward\nIsland",300,317,54,3);f.quebec=createLabel(d,"Quebec",181,208,50,1);f.saskatchewan=createLabel(d,"Saskatchewan",98,284,96,1);f.yukon=createLabel(d,"Yukon\nTerritories",33,68,68,2);var e=null;for(var c in b){b[c].color=Raphael.getColor();(function(g,h,i){g[0].style.cursor="pointer";g[0].onmouseover=function(){g.animate({fill:"#ffff38",stroke:"#c0000f"},100);i.attr("opacity","1.0");d.safari()};g[0].onmouseout=function(){i.attr("opacity","0");if(e!=h){g.animate({fill:"#c0000f",stroke:"#fff"},100);d.safari()}};g[0].onmouseup=function(){e&&b[e].animate({fill:"#c0000f",stroke:"#fff"},500);g.animate({fill:"#ffff38",stroke:"#c0000f"},500);d.safari();e=h;docClickLoader.loadInto("100-job-listings.php?province="+h,"targetArea")}})(b[c],c,f[c])}};function createLabel(d,e,i,h,k,l){var p=16;var o=16;var c=2;var n=Math.max(o*l,p);var g=-1;var a={fill:"#000000",stroke:"#c0000f","stroke-width":1};var f={"font-size":"12",stroke:"#ffffff"};var b=d.set();var m=d.rect(i-k/2,h-n/2+g,k,n,c);var q=d.text(i,h,e);m.attr(a);q.attr(f);b.push(m);b.push(q);b.attr("opacity","0");return b};