text: !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var a=e();for(var i in a)("object"==typeof exports?exports:t)[i]=a[i]}}(this,function(){return webpackJsonp([5],{0:function(t,e,a){var i,r;i=[a(1),a(24),a(2),a(5),a(7),a(12),a(19),a(10),a(11),a(114),a(113),a(112)],r=function(t,e,a,i,r,n,s,o,l,h,c,u){var p=t.createClass({displayName:"Earnings",render:function(){return t.createElement("div",{className:"wrapper"},t.createElement(n,null),t.createElement(s,null),t.createElement("div",{className:"content-wrapper"},t.createElement("section",{className:"content-header"},t.createElement("h1",null,"Earnings"),t.createElement("small",null,"A snapshot of all the recent earnings"),t.createElement("ol",{className:"breadcrumb"},t.createElement("li",null,t.createElement("a",{href:"#"},t.createElement("i",{className:"fa fa-dashboard"})," Home")),t.createElement("li",{className:"active"},"Earnings"))),t.createElement("section",{className:"content"},t.createElement("div",{className:"row"},t.createElement(h,null)),t.createElement("div",{className:"col-lg-12"},t.createElement("div",{className:"row"},t.createElement(c,null))),t.createElement("div",{className:"col-lg-12"},t.createElement("div",{className:"row"},t.createElement(u,null))))),t.createElement("footer",{className:"main-footer"},t.createElement("div",{className:"pull-right hidden-xs"},t.createElement("b",null,"Version")," 0.0.0"),"By your continued use of our website means you accept our ",t.createElement("a",{href:"/"},"Terms")," and ",t.createElement("a",{href:"/"},"Fines Policy"),t.createElement("br",null),t.createElement("strong",null,"Copyright © 2017 ",t.createElement("a",{href:"/"},"Academic Research Assistants"),".")," All rights reserved."))}});e.render(t.createElement(p,null),document.getElementById("earnings-container"))}.apply(e,i),!(void 0!==r&&(t.exports=r))},5:function(t,e,a){var i,r,n,r,s,r,o,r,l;!function(r,n){!(i=function(){return n()}.call(e,a,e,t))}(this,function(){var t,e,a="0.4.2",i="hasOwnProperty",r=/[\.\/]/,n="*",s=function(){},o=function(t,e){return t-e},l={n:{}},h=function(a,i){a=String(a);var r,n=e,s=Array.prototype.slice.call(arguments,2),l=h.listeners(a),c=0,u=[],p={},d=[],f=t;t=a,e=0;for(var m=0,g=l.length;m<g;m++)"zIndex"in l[m]&&(u.push(l[m].zIndex),l[m].zIndex<0&&(p[l[m].zIndex]=l[m]));for(u.sort(o);u[c]<0;)if(r=p[u[c++]],d.push(r.apply(i,s)),e)return e=n,d;for(m=0;m<g;m++)if(r=l[m],"zIndex"in r)if(r.zIndex==u[c]){if(d.push(r.apply(i,s)),e)break;do if(c++,r=p[u[c]],r&&d.push(r.apply(i,s)),e)break;while(r)}else p[r.zIndex]=r;else if(d.push(r.apply(i,s)),e)break;return e=n,t=f,d.length?d:null};return h._events=l,h.listeners=function(t){var e,a,i,s,o,h,c,u,p=t.split(r),d=l,f=[d],m=[];for(s=0,o=p.length;s<o;s++){for(u=[],h=0,c=f.length;h<c;h++)for(d=f[h].n,a=[d[p[s]],d[n]],i=2;i--;)e=a[i],e&&(u.push(e),m=m.concat(e.f||[]));f=u}return m},h.on=function(t,e){if(t=String(t),"function"!=typeof e)return function(){};for(var a=t.split(r),i=l,n=0,o=a.length;n<o;n++)i=i.n,i=i.hasOwnProperty(a[n])&&i[a[n]]||(i[a[n]]={n:{}});for(i.f=i.f||[],n=0,o=i.f.length;n<o;n++)if(i.f[n]==e)return s;return i.f.push(e),function(t){+t==+t&&(e.zIndex=+t)}},h.f=function(t){var e=[].slice.call(arguments,1);return function(){h.apply(null,[t,null].concat(e).concat([].slice.call(arguments,0)))}},h.stop=function(){e=1},h.nt=function(e){return e?new RegExp("(?:\\.|\\/|^)"+e+"(?:\\.|\\/|$)").test(t):t},h.nts=function(){return t.split(r)},h.off=h.unbind=function(t,e){if(!t)return void(h._events=l={n:{}});var a,s,o,c,u,p,d,f=t.split(r),m=[l];for(c=0,u=f.length;c<u;c++)for(p=0;p<m.length;p+=o.length-2){if(o=[p,1],a=m[p].n,f[c]!=n)a[f[c]]&&o.push(a[f[c]]);else for(s in a)a[i](s)&&o.push(a[s]);m.splice.apply(m,o)}for(c=0,u=m.length;c<u;c++)for(a=m[c];a.n;){if(e){if(a.f){for(p=0,d=a.f.length;p<d;p++)if(a.f[p]==e){a.f.splice(p,1);break}!a.f.length&&delete a.f}for(s in a.n)if(a.n[i](s)&&a.n[s].f){var g=a.n[s].f;for(p=0,d=g.length;p<d;p++)if(g[p]==e){g.splice(p,1);break}!g.length&&delete a.n[s].f}}else{delete a.f;for(s in a.n)a.n[i](s)&&a.n[s].f&&delete a.n[s].f}a=a.n}},h.once=function(t,e){var a=function(){return h.unbind(t,a),e.apply(this,arguments)};return h.on(t,a)},h.version=a,h.toString=function(){return"You are running Eve "+a},h}),function(t,a){r=[i],!(n=function(t){return a(t)}.apply(e,r))}(this,function(t){function e(a){if(e.is(a,"function"))return x?a():t.on("raphael.DOMload",a);if(e.is(a,q))return e._engine.create[B](e,a.splice(0,3+e.is(a[0],G))).add(a);var i=Array.prototype.slice.call(arguments,0);if(e.is(i[i.length-1],"function")){var r=i.pop();return x?r.call(e._engine.create[B](e,i)):t.on("raphael.DOMload",function(){r.call(e._engine.create[B](e,i))})}return e._engine.create[B](e,arguments)}function a(t){if("function"==typeof t||Object(t)!==t)return t;var e=new t.constructor;for(var i in t)t[k](i)&&(e[i]=a(t[i]));return e}function i(t,e){for(var a=0,i=t.length;a<i;a++)if(t[a]===e)return t.push(t.splice(a,1)[0])}function r(t,e,a){function r(){var n=Array.prototype.slice.call(arguments,0),s=n.join("␀"),o=r.cache=r.cache||{},l=r.count=r.count||[];return o[k](s)?(i(l,s),a?a(o[s]):o[s]):(l.length>=1e3&&delete o[l.shift()],l.push(s),o[s]=t[B](e,n),a?a(o[s]):o[s])}return r}function n(){return this.hex}function s(t,e){for(var a=[],i=0,r=t.length;r-2*!e>i;i+=2){var n=[{x:+t[i-2],y:+t[i-1]},{x:+t[i],y:+t[i+1]},{x:+t[i+2],y:+t[i+3]},{x:+t[i+4],y:+t[i+5]}];e?i?r-4==i?n[3]={x:+t[0],y:+t[1]}:r-2==i&&(n[2]={x:+t[0],y:+t[1]},n[3]={x:+t[2],y:+t[3]}):n[0]={x:+t[r-2],y:+t[r-1]}:r-4==i?n[3]=n[2]:i||(n[0]={x:+t[i],y:+t[i+1]}),a.push(["C",(-n[0].x+6*n[1].x+n[2].x)/6,(-n[0].y+6*n[1].y+n[2].y)/6,(n[1].x+6*n[2].x-n[3].x)/6,(n[1].y+6*n[2].y-n[3].y)/6,n[2].x,n[2].y])}return a}function o(t,e,a,i,r){var n=-3*e+9*a-9*i+3*r,s=t*n+6*e-12*a+6*i;return t*s-3*e+3*a}function l(t,e,a,i,r,n,s,l,h){null==h&&(h=1),h=h>1?1:h<0?0:h;for(var c=h/2,u=12,p=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],f=0,m=0;m<u;m++){var g=c*p[m]+c,v=o(g,t,a,r,s),y=o(g,e,i,n,l),x=v*v+y*y;f+=d[m]*R.sqrt(x)}return c*f}function h(t,e,a,i,r,n,s,o,h){if(!(h<0||l(t,e,a,i,r,n,s,o)<h)){var c,u=1,p=u/2,d=u-p,f=.01;for(c=l(t,e,a,i,r,n,s,o,d);Y(c-h)>f;)p/=2,d+=(c<h?1:-1)*p,c=l(t,e,a,i,r,n,s,o,d);return d}}function c(t,e,a,i,r,n,s,o){if(!(H(t,a)<j(r,s)||j(t,a)>H(r,s)||H(e,i)<j(n,o)||j(e,i)>H(n,o))){var l=(t*i-e*a)*(r-s)-(t-a)*(r*o-n*s),h=(t*i-e*a)*(n-o)-(e-i)*(r*o-n*s),c=(t-a)*(n-o)-(e-i)*(r-s);if(c){var u=l/c,p=h/c,d=+u.toFixed(2),f=+p.toFixed(2);if(!(d<+j(t,a).toFixed(2)||d>+H(t,a).toFixed(2)||d<+j(r,s).toFixed(2)||d>+H(r,s).toFixed(2)||f<+j(e,i).toFixed(2)||f>+H(e,i).toFixed(2)||f<+j(n,o).toFixed(2)||f>+H(n,o).toFixed(2)))return{x:u,y:p}}}}function u(t,a,i){var r=e.bezierBBox(t),n=e.bezierBBox(a);if(!e.isBBoxIntersect(r,n))return i?0:[];for(var s=l.apply(0,t),o=l.apply(0,a),h=H(~~(s/5),1),u=H(~~(o/5),1),p=[],d=[],f={},m=i?0:[],g=0;g<h+1;g++){var v=e.findDotsAtSegment.apply(e,t.concat(g/h));p.push({x:v.x,y:v.y,t:g/h})}for(g=0;g<u+1;g++)v=e.findDotsAtSegment.apply(e,a.concat(g/u)),d.push({x:v.x,y:v.y,t:g/u});for(g=0;g<h;g++)for(var y=0;y<u;y++){var x=p[g],b=p[g+1],w=d[y],E=d[y+1],_=Y(b.x-x.x)<.001?"y":"x",k=Y(E.x-w.x)<.001?"y":"x",N=c(x.x,x.y,b.x,b.y,w.x,w.y,E.x,E.y);if(N){if(f[N.x.toFixed(4)]==N.y.toFixed(4))continue;f[N.x.toFixed(4)]=N.y.toFixed(4);var S=x.t+Y((N[_]-x[_])/(b[_]-x[_]))*(b.t-x.t),C=w.t+Y((N[k]-w[k])/(E[k]-w[k]))*(E.t-w.t);S>=0&&S<=1.001&&C>=0&&C<=1.001&&(i?m++:m.push({x:N.x,y:N.y,t1:j(S,1),t2:j(C,1)}))}}return m}function p(t,a,i){t=e._path2curve(t),a=e._path2curve(a);for(var r,n,s,o,l,h,c,p,d,f,m=i?0:[],g=0,v=t.length;g<v;g++){var y=t[g];if("M"==y[0])r=l=y[1],n=h=y[2];else{"C"==y[0]?(d=[r,n].concat(y.slice(1)),r=d[6],n=d[7]):(d=[r,n,r,n,l,h,l,h],r=l,n=h);for(var x=0,b=a.length;x<b;x++){var w=a[x];if("M"==w[0])s=c=w[1],o=p=w[2];else{"C"==w[0]?(f=[s,o].concat(w.slice(1)),s=f[6],o=f[7]):(f=[s,o,s,o,c,p,c,p],s=c,o=p);var E=u(d,f,i);if(i)m+=E;else{for(var _=0,k=E.length;_<k;_++)E[_].segment1=g,E[_].segment2=x,E[_].bez1=d,E[_].bez2=f;m=m.concat(E)}}}}}return m}function d(t,e,a,i,r,n){null!=t?(this.a=+t,this.b=+e,this.c=+a,this.d=+i,this.e=+r,this.f=+n):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}function f(){return this.x+A+this.y+A+this.width+" × "+this.height}function m(t,e,a,i,r,n){function s(t){return((u*t+c)*t+h)*t}function o(t,e){var a=l(t,e);return((f*a+d)*a+p)*a}function l(t,e){var a,i,r,n,o,l;for(r=t,l=0;l<8;l++){if(n=s(r)-t,Y(n)<e)return r;if(o=(3*u*r+2*c)*r+h,Y(o)<1e-6)break;r-=n/o}if(a=0,i=1,r=t,r<a)return a;if(r>i)return i;for(;a<i;){if(n=s(r),Y(n-t)<e)return r;t>n?a=r:i=r,r=(i-a)/2+a}return r}var h=3*e,c=3*(i-e)-h,u=1-h-c,p=3*a,d=3*(r-a)-p,f=1-p-d;return o(t,1/(200*n))}function g(t,e){var a=[],i={};if(this.ms=e,this.times=1,t){for(var r in t)t[k](r)&&(i[J(r)]=t[r],a.push(J(r)));a.sort(ct)}this.anim=i,this.top=a[a.length-1],this.percents=a}function v(a,i,r,n,s,o){r=J(r);var l,h,c,u,p,f,g=a.ms,v={},y={},x={};if(n)for(E=0,_=ne.length;E<_;E++){var b=ne[E];if(b.el.id==i.id&&b.anim==a){b.percent!=r?(ne.splice(E,1),c=1):h=b,i.attr(b.totalOrigin);break}}else n=+y;for(var E=0,_=a.percents.length;E<_;E++){if(a.percents[E]==r||a.percents[E]>n*a.top){r=a.percents[E],p=a.percents[E-1]||0,g=g/a.top*(r-p),u=a.percents[E+1],l=a.anim[r];break}n&&i.attr(a.anim[a.percents[E]])}if(l){if(h)h.initstatus=n,h.start=new Date-h.ms*n;else{for(var N in l)if(l[k](N)&&(at[k](N)||i.paper.customAttributes[k](N)))switch(v[N]=i.attr(N),null==v[N]&&(v[N]=et[N]),y[N]=l[N],at[N]){case G:x[N]=(y[N]-v[N])/g;break;case"colour":v[N]=e.getRGB(v[N]);var S=e.getRGB(y[N]);x[N]={r:(S.r-v[N].r)/g,g:(S.g-v[N].g)/g,b:(S.b-v[N].b)/g};break;case"path":var C=zt(v[N],y[N]),B=C[1];for(v[N]=C[0],x[N]=[],E=0,_=v[N].length;E<_;E++){x[N][E]=[0];for(var T=1,L=v[N][E].length;T<L;T++)x[N][E][T]=(B[E][T]-v[N][E][T])/g}break;case"transform":var A=i._,P=Ht(A[N],y[N]);if(P)for(v[N]=P.from,y[N]=P.to,x[N]=[],x[N].real=!0,E=0,_=v[N].length;E<_;E++)for(x[N][E]=[v[N][E][0]],T=1,L=v[N][E].length;T<L;T++)x[N][E][T]=(y[N][E][T]-v[N][E][T])/g;else{var I=i.matrix||new d,D={_:{transform:A.transform},getBBox:function(){return i.getBBox(1)}};v[N]=[I.a,I.b,I.c,I.d,I.e,I.f],Dt(D,y[N]),y[N]=D._.transform,x[N]=[(D.matrix.a-I.a)/g,(D.matrix.b-I.b)/g,(D.matrix.c-I.c)/g,(D.matrix.d-I.d)/g,(D.matrix.e-I.e)/g,(D.matrix.f-I.f)/g]}break;case"csv":var R=F(l[N])[z](w),H=F(v[N])[z](w);if("clip-rect"==N)for(v[N]=H,x[N]=[],E=H.length;E--;)x[N][E]=(R[E]-v[N][E])/g;y[N]=R;break;default:for(R=[][M](l[N]),H=[][M](v[N]),x[N]=[],E=i.paper.customAttributes[N].length;E--;)x[N][E]=((R[E]||0)-(H[E]||0))/g}var j=l.easing,Y=e.easing_formulas[j];if(!Y)if(Y=F(j).match(Z),Y&&5==Y.length){var O=Y;Y=function(t){return m(t,+O[1],+O[2],+O[3],+O[4],g)}}else Y=ut;if(f=l.start||a.start||+new Date,b={anim:a,percent:r,timestamp:f,start:f+(a.del||0),status:0,initstatus:n||0,stop:!1,ms:g,easing:Y,from:v,diff:x,to:y,el:i,callback:l.callback,prev:p,next:u,repeat:o||a.times,origin:i.attr(),totalOrigin:s},ne.push(b),n&&!h&&!c&&(b.stop=!0,b.start=new Date-g*n,1==ne.length))return oe();c&&(b.start=new Date-b.ms*n),1==ne.length&&se(oe)}t("raphael.anim.start."+i.id,i,a)}}function y(t){for(var e=0;e<ne.length;e++)ne[e].el.paper==t&&ne.splice(e--,1)}e.version="2.1.4",e.eve=t;var x,b,w=/[, ]+/,E={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},_=/\{(\d+)\}/g,k="hasOwnProperty",N={doc:document,win:window},S={was:Object.prototype[k].call(N.win,"Raphael"),is:N.win.Raphael},C=function(){this.ca=this.customAttributes={}},B="apply",M="concat",T="ontouchstart"in N.win||N.win.DocumentTouch&&N.doc instanceof DocumentTouch,L="",A=" ",F=String,z="split",P="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[z](A),I={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},D=F.prototype.toLowerCase,R=Math,H=R.max,j=R.min,Y=R.abs,O=R.pow,W=R.PI,G="number",X="string",q="array",V=Object.prototype.toString,U=(e._ISURL=/^url\(['"]?(.+?)['"]?\)$/i,/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i),$={NaN:1,Infinity:1,"-Infinity":1},Z=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,Q=R.round,J=parseFloat,K=parseInt,tt=F.prototype.toUpperCase,et=e._availableAttrs={"arrow-end":"none","arrow-start":"none",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/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,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",transform:"",width:0,x:0,y:0},at=e._availableAnimAttrs={blur:G,"clip-rect":"csv",cx:G,cy:G,fill:"colour","fill-opacity":G,"font-size":G,height:G,opacity:G,path:"path",r:G,rx:G,ry:G,stroke:"colour","stroke-opacity":G,"stroke-width":G,transform:"transform",width:G,x:G,y:G},it=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,rt={hs:1,rg:1},nt=/,?([achlmqrstvxz]),?/gi,st=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,ot=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,lt=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,ht=(e._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,{}),ct=function(t,e){return J(t)-J(e)},ut=function(t){return t},pt=e._rectPath=function(t,e,a,i,r){return r?[["M",t+r,e],["l",a-2*r,0],["a",r,r,0,0,1,r,r],["l",0,i-2*r],["a",r,r,0,0,1,-r,r],["l",2*r-a,0],["a",r,r,0,0,1,-r,-r],["l",0,2*r-i],["a",r,r,0,0,1,r,-r],["z"]]:[["M",t,e],["l",a,0],["l",0,i],["l",-a,0],["z"]]},dt=function(t,e,a,i){return null==i&&(i=a),[["M",t,e],["m",0,-i],["a",a,i,0,1,1,0,2*i],["a",a,i,0,1,1,0,-2*i],["z"]]},ft=e._getPath={path:function(t){return t.attr("path")},circle:function(t){var e=t.attrs;return dt(e.cx,e.cy,e.r)},ellipse:function(t){var e=t.attrs;return dt(e.cx,e.cy,e.rx,e.ry)},rect:function(t){var e=t.attrs;return pt(e.x,e.y,e.width,e.height,e.r)},image:function(t){var e=t.attrs;return pt(e.x,e.y,e.width,e.height)},text:function(t){var e=t._getBBox();return pt(e.x,e.y,e.width,e.height)},set:function(t){var e=t._getBBox();return pt(e.x,e.y,e.width,e.height)}},mt=e.mapPath=function(t,e){if(!e)return t;var a,i,r,n,s,o,l;for(t=zt(t),r=0,s=t.length;r<s;r++)for(l=t[r],n=1,o=l.length;n<o;n+=2)a=e.x(l[n],l[n+1]),i=e.y(l[n],l[n+1]),l[n]=a,l[n+1]=i;return t};if(e._g=N,e.type=N.win.SVGAngle||N.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML","VML"==e.type){var gt,vt=N.doc.createElement("div");if(vt.innerHTML='<v:shape adj="1"/>',gt=vt.firstChild,gt.style.behavior="url(#default#VML)",!gt||"object"!=typeof gt.adj)return e.type=L;vt=null}e.svg=!(e.vml="VML"==e.type),e._Paper=C,e.fn=b=C.prototype=e.prototype,e._id=0,e._oid=0,e.is=function(t,e){return e=D.call(e),"finite"==e?!$[k](+t):"array"==e?t instanceof Array:"null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||"array"==e&&Array.isArray&&Array.isArray(t)||V.call(t).slice(8,-1).toLowerCase()==e},e.angle=function(t,a,i,r,n,s){if(null==n){var o=t-i,l=a-r;return o||l?(180+180*R.atan2(-l,-o)/W+360)%360:0}return e.angle(t,a,n,s)-e.angle(i,r,n,s)},e.rad=function(t){return t%360*W/180},e.deg=function(t){return Math.round(180*t/W%360*1e3)/1e3},e.snapTo=function(t,a,i){if(i=e.is(i,"finite")?i:10,e.is(t,q)){for(var r=t.length;r--;)if(Y(t[r]-a)<=i)return t[r]}else{t=+t;var n=a%t;if(n<i)return a-n;if(n>t-i)return a-n+t}return a},e.createUUID=function(t,e){return function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(t,e).toUpperCase()}}(/[xy]/g,function(t){var e=16*R.random()|0,a="x"==t?e:3&e|8;return a.toString(16)}),e.setWindow=function(a){t("raphael.setWindow",e,N.win,a),N.win=a,N.doc=N.win.document,e._engine.initWin&&e._engine.initWin(N.win)};var yt=function(t){if(e.vml){var a,i=/^\s+|\s+$/g;try{var n=new ActiveXObject("htmlfile");n.write("<body>"),n.close(),a=n.body}catch(t){a=createPopup().document.body}var s=a.createTextRange();yt=r(function(t){try{a.style.color=F(t).replace(i,L);var e=s.queryCommandValue("ForeColor");return e=(255&e)<<16|65280&e|(16711680&e)>>>16,"#"+("000000"+e.toString(16)).slice(-6)}catch(t){return"none"}})}else{var o=N.doc.createElement("i");o.title="Raphaël Colour Picker",o.style.display="none",N.doc.body.appendChild(o),yt=r(function(t){return o.style.color=t,N.doc.defaultView.getComputedStyle(o,L).getPropertyValue("color")})}return yt(t)},xt=function(){return"hsb("+[this.h,this.s,this.b]+")"},bt=function(){return"hsl("+[this.h,this.s,this.l]+")"},wt=function(){return this.hex},Et=function(t,a,i){if(null==a&&e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(i=t.b,a=t.g,t=t.r),null==a&&e.is(t,X)){var r=e.getRGB(t);t=r.r,a=r.g,i=r.b}return(t>1||a>1||i>1)&&(t/=255,a/=255,i/=255),[t,a,i]},_t=function(t,a,i,r){t*=255,a*=255,i*=255;var n={r:t,g:a,b:i,hex:e.rgb(t,a,i),toString:wt};return e.is(r,"finite")&&(n.opacity=r),n};e.color=function(t){var a;return e.is(t,"object")&&"h"in t&&"s"in t&&"b"in t?(a=e.hsb2rgb(t),t.r=a.r,t.g=a.g,t.b=a.b,t.hex=a.hex):e.is(t,"object")&&"h"in t&&"s"in t&&"l"in t?(a=e.hsl2rgb(t),t.r=a.r,t.g=a.g,t.b=a.b,t.hex=a.hex):(e.is(t,"string")&&(t=e.getRGB(t)),e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t?(a=e.rgb2hsl(t),t.h=a.h,t.s=a.s,t.l=a.l,a=e.rgb2hsb(t),t.v=a.b):(t={hex:"none"},t.r=t.g=t.b=t.h=t.s=t.v=t.l=-1)),t.toString=wt,t},e.hsb2rgb=function(t,e,a,i){this.is(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(a=t.b,e=t.s,i=t.o,t=t.h),t*=360;var r,n,s,o,l;return t=t%360/60,l=a*e,o=l*(1-Y(t%2-1)),r=n=s=a-l,t=~~t,r+=[l,o,0,0,o,l][t],n+=[o,l,l,o,0,0][t],s+=[0,0,o,l,l,o][t],_t(r,n,s,i)},e.hsl2rgb=function(t,e,a,i){this.is(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(a=t.l,e=t.s,t=t.h),(t>1||e>1||a>1)&&(t/=360,e/=100,a/=100),t*=360;var r,n,s,o,l;return t=t%360/60,l=2*e*(a<.5?a:1-a),o=l*(1-Y(t%2-1)),r=n=s=a-l/2,t=~~t,r+=[l,o,0,0,o,l][t],n+=[o,l,l,o,0,0][t],s+=[0,0,o,l,l,o][t],_t(r,n,s,i)},e.rgb2hsb=function(t,e,a){a=Et(t,e,a),t=a[0],e=a[1],a=a[2];var i,r,n,s;return n=H(t,e,a),s=n-j(t,e,a),i=0==s?null:n==t?(e-a)/s:n==e?(a-t)/s+2:(t-e)/s+4,i=(i+360)%6*60/360,r=0==s?0:s/n,{h:i,s:r,b:n,toString:xt}},e.rgb2hsl=function(t,e,a){a=Et(t,e,a),t=a[0],e=a[1],a=a[2];var i,r,n,s,o,l;return s=H(t,e,a),o=j(t,e,a),l=s-o,i=0==l?null:s==t?(e-a)/l:s==e?(a-t)/l+2:(t-e)/l+4,i=(i+360)%6*60/360,n=(s+o)/2,r=0==l?0:n<.5?l/(2*n):l/(2-2*n),{h:i,s:r,l:n,toString:bt}},e._path2string=function(){return this.join(",").replace(nt,"$1")},e._preload=function(t,e){var a=N.doc.createElement("img");a.style.cssText="position:absolute;left:-9999em;top:-9999em",a.onload=function(){e.call(this),this.onload=null,N.doc.body.removeChild(this)},a.onerror=function(){N.doc.body.removeChild(this)},N.doc.body.appendChild(a),a.src=t},e.getRGB=r(function(t){if(!t||(t=F(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:n};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:n};!(rt[k](t.toLowerCase().substring(0,2))||"#"==t.charAt())&&(t=yt(t));var a,i,r,s,o,l,h=t.match(U);return h?(h[2]&&(r=K(h[2].substring(5),16),i=K(h[2].substring(3,5),16),a=K(h[2].substring(1,3),16)),h[3]&&(r=K((o=h[3].charAt(3))+o,16),i=K((o=h[3].charAt(2))+o,16),a=K((o=h[3].charAt(1))+o,16)),h[4]&&(l=h[4][z](it),a=J(l[0]),"%"==l[0].slice(-1)&&(a*=2.55),i=J(l[1]),"%"==l[1].slice(-1)&&(i*=2.55),r=J(l[2]),"%"==l[2].slice(-1)&&(r*=2.55),"rgba"==h[1].toLowerCase().slice(0,4)&&(s=J(l[3])),l[3]&&"%"==l[3].slice(-1)&&(s/=100)),h[5]?(l=h[5][z](it),a=J(l[0]),"%"==l[0].slice(-1)&&(a*=2.55),i=J(l[1]),"%"==l[1].slice(-1)&&(i*=2.55),r=J(l[2]),"%"==l[2].slice(-1)&&(r*=2.55),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(a/=360),"hsba"==h[1].toLowerCase().slice(0,4)&&(s=J(l[3])),l[3]&&"%"==l[3].slice(-1)&&(s/=100),e.hsb2rgb(a,i,r,s)):h[6]?(l=h[6][z](it),a=J(l[0]),"%"==l[0].slice(-1)&&(a*=2.55),i=J(l[1]),"%"==l[1].slice(-1)&&(i*=2.55),r=J(l[2]),"%"==l[2].slice(-1)&&(r*=2.55),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(a/=360),"hsla"==h[1].toLowerCase().slice(0,4)&&(s=J(l[3])),l[3]&&"%"==l[3].slice(-1)&&(s/=100),e.hsl2rgb(a,i,r,s)):(h={r:a,g:i,b:r,toString:n},h.hex="#"+(16777216|r|i<<8|a<<16).toString(16).slice(1),e.is(s,"finite")&&(h.opacity=s),h)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:n}},e),e.hsb=r(function(t,a,i){return e.hsb2rgb(t,a,i).hex}),e.hsl=r(function(t,a,i){return e.hsl2rgb(t,a,i).hex}),e.rgb=r(function(t,e,a){function i(t){return t+.5|0}return"#"+(16777216|i(a)|i(e)<<8|i(t)<<16).toString(16).slice(1)}),e.getColor=function(t){var e=this.getColor.start=this.getColor.start||{h:0,s:1,b:t||.75},a=this.hsb2rgb(e.h,e.s,e.b);return e.h+=.075,e.h>1&&(e.h=0,e.s-=.2,e.s<=0&&(this.getColor.start={h:0,s:1,b:e.b})),a.hex},e.getColor.reset=function(){delete this.start},e.parsePathString=function(t){if(!t)return null;var a=kt(t);if(a.arr)return St(a.arr);var i={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},r=[];return e.is(t,q)&&e.is(t[0],q)&&(r=St(t)),r.length||F(t).replace(st,function(t,e,a){var n=[],s=e.toLowerCase();if(a.replace(lt,function(t,e){e&&n.push(+e)}),"m"==s&&n.length>2&&(r.push([e][M](n.splice(0,2))),s="l",e="m"==e?"l":"L"),"r"==s)r.push([e][M](n));else for(;n.length>=i[s]&&(r.push([e][M](n.splice(0,i[s]))),i[s]););}),r.toString=e._path2string,a.arr=St(r),r},e.parseTransformString=r(function(t){if(!t)return null;var a=[];return e.is(t,q)&&e.is(t[0],q)&&(a=St(t)),a.length||F(t).replace(ot,function(t,e,i){var r=[];D.call(e),i.replace(lt,function(t,e){e&&r.push(+e)}),a.push([e][M](r))}),a.toString=e._path2string,a});var kt=function(t){var e=kt.ps=kt.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout(function(){for(var a in e)e[k](a)&&a!=t&&(e[a].sleep--,!e[a].sleep&&delete e[a])}),e[t]};e.findDotsAtSegment=function(t,e,a,i,r,n,s,o,l){var h=1-l,c=O(h,3),u=O(h,2),p=l*l,d=p*l,f=c*t+3*u*l*a+3*h*l*l*r+d*s,m=c*e+3*u*l*i+3*h*l*l*n+d*o,g=t+2*l*(a-t)+p*(r-2*a+t),v=e+2*l*(i-e)+p*(n-2*i+e),y=a+2*l*(r-a)+p*(s-2*r+a),x=i+2*l*(n-i)+p*(o-2*n+i),b=h*t+l*a,w=h*e+l*i,E=h*r+l*s,_=h*n+l*o,k=90-180*R.atan2(g-y,v-x)/W;return(g>y||v<x)&&(k+=180),{x:f,y:m,m:{x:g,y:v},n:{x:y,y:x},start:{x:b,y:w},end:{x:E,y:_},alpha:k}},e.bezierBBox=function(t,a,i,r,n,s,o,l){e.is(t,"array")||(t=[t,a,i,r,n,s,o,l]);var h=Ft.apply(null,t);return{x:h.min.x,y:h.min.y,x2:h.max.x,y2:h.max.y,width:h.max.x-h.min.x,height:h.max.y-h.min.y}},e.isPointInsideBBox=function(t,e,a){return e>=t.x&&e<=t.x2&&a>=t.y&&a<=t.y2},e.isBBoxIntersect=function(t,a){var i=e.isPointInsideBBox;return i(a,t.x,t.y)||i(a,t.x2,t.y)||i(a,t.x,t.y2)||i(a,t.x2,t.y2)||i(t,a.x,a.y)||i(t,a.x2,a.y)||i(t,a.x,a.y2)||i(t,a.x2,a.y2)||(t.x<a.x2&&t.x>a.x||a.x<t.x2&&a.x>t.x)&&(t.y<a.y2&&t.y>a.y||a.y<t.y2&&a.y>t.y)},e.pathIntersection=function(t,e){return p(t,e)},e.pathIntersectionNumber=function(t,e){return p(t,e,1)},e.isPointInsidePath=function(t,a,i){var r=e.pathBBox(t);return e.isPointInsideBBox(r,a,i)&&p(t,[["M",a,i],["H",r.x2+10]],1)%2==1},e._removedFactory=function(e){return function(){t("raphael.log",null,"Raphaël: you are calling to method “"+e+"” of removed object",e)}};var Nt=e.pathBBox=function(t){var e=kt(t);if(e.bbox)return a(e.bbox);if(!t)return{x:0,y:0,width:0,height:0,x2:0,y2:0};t=zt(t);for(var i,r=0,n=0,s=[],o=[],l=0,h=t.length;l<h;l++)if(i=t[l],"M"==i[0])r=i[1],n=i[2],s.push(r),o.push(n);else{var c=Ft(r,n,i[1],i[2],i[3],i[4],i[5],i[6]);s=s[M](c.min.x,c.max.x),o=o[M](c.min.y,c.max.y),r=i[5],n=i[6]}var u=j[B](0,s),p=j[B](0,o),d=H[B](0,s),f=H[B](0,o),m=d-u,g=f-p,v={x:u,y:p,x2:d,y2:f,width:m,height:g,cx:u+m/2,cy:p+g/2};return e.bbox=a(v),v},St=function(t){var i=a(t);return i.toString=e._path2string,i},Ct=e._pathToRelative=function(t){var a=kt(t);if(a.rel)return St(a.rel);e.is(t,q)&&e.is(t&&t[0],q)||(t=e.parsePathString(t));var i=[],r=0,n=0,s=0,o=0,l=0;"M"==t[0][0]&&(r=t[0][1],n=t[0][2],s=r,o=n,l++,i.push(["M",r,n]));for(var h=l,c=t.length;h<c;h++){var u=i[h]=[],p=t[h];if(p[0]!=D.call(p[0]))switch(u[0]=D.call(p[0]),u[0]){case"a":u[1]=p[1],u[2]=p[2],u[3]=p[3],u[4]=p[4],u[5]=p[5],u[6]=+(p[6]-r).toFixed(3),u[7]=+(p[7]-n).toFixed(3);break;case"v":u[1]=+(p[1]-n).toFixed(3);break;case"m":s=p[1],o=p[2];default:for(var d=1,f=p.length;d<f;d++)u[d]=+(p[d]-(d%2?r:n)).toFixed(3)}else{u=i[h]=[],"m"==p[0]&&(s=p[1]+r,o=p[2]+n);for(var m=0,g=p.length;m<g;m++)i[h][m]=p[m]}var v=i[h].length;switch(i[h][0]){case"z":r=s,n=o;break;case"h":r+=+i[h][v-1];break;case"v":n+=+i[h][v-1];break;default:r+=+i[h][v-2],n+=+i[h][v-1]}}return i.toString=e._path2string,a.rel=St(i),i},Bt=e._pathToAbsolute=function(t){var a=kt(t);if(a.abs)return St(a.abs);if(e.is(t,q)&&e.is(t&&t[0],q)||(t=e.parsePathString(t)),!t||!t.length)return[["M",0,0]];var i=[],r=0,n=0,o=0,l=0,h=0;"M"==t[0][0]&&(r=+t[0][1],n=+t[0][2],o=r,l=n,h++,i[0]=["M",r,n]);for(var c,u,p=3==t.length&&"M"==t[0][0]&&"R"==t[1][0].toUpperCase()&&"Z"==t[2][0].toUpperCase(),d=h,f=t.length;d<f;d++){if(i.push(c=[]),u=t[d],u[0]!=tt.call(u[0]))switch(c[0]=tt.call(u[0]),c[0]){case"A":c[1]=u[1],c[2]=u[2],c[3]=u[3],c[4]=u[4],c[5]=u[5],c[6]=+(u[6]+r),c[7]=+(u[7]+n);break;case"V":c[1]=+u[1]+n;break;case"H":c[1]=+u[1]+r;break;case"R":for(var m=[r,n][M](u.slice(1)),g=2,v=m.length;g<v;g++)m[g]=+m[g]+r,m[++g]=+m[g]+n;i.pop(),i=i[M](s(m,p));break;case"M":o=+u[1]+r,l=+u[2]+n;default:for(g=1,v=u.length;g<v;g++)c[g]=+u[g]+(g%2?r:n)}else if("R"==u[0])m=[r,n][M](u.slice(1)),i.pop(),i=i[M](s(m,p)),c=["R"][M](u.slice(-2));else for(var y=0,x=u.length;y<x;y++)c[y]=u[y];switch(c[0]){case"Z":r=o,n=l;break;case"H":r=c[1];break;case"V":n=c[1];break;case"M":o=c[c.length-2],l=c[c.length-1];default:r=c[c.length-2],n=c[c.length-1]}}return i.toString=e._path2string,a.abs=St(i),i},Mt=function(t,e,a,i){return[t,e,a,i,a,i]},Tt=function(t,e,a,i,r,n){var s=1/3,o=2/3;return[s*t+o*a,s*e+o*i,s*r+o*a,s*n+o*i,r,n]},Lt=function(t,e,a,i,n,s,o,l,h,c){var u,p=120*W/180,d=W/180*(+n||0),f=[],m=r(function(t,e,a){var i=t*R.cos(a)-e*R.sin(a),r=t*R.sin(a)+e*R.cos(a);return{x:i,y:r}});if(c)k=c[0],N=c[1],E=c[2],_=c[3];else{u=m(t,e,-d),t=u.x,e=u.y,u=m(l,h,-d),l=u.x,h=u.y;var g=(R.cos(W/180*n),R.sin(W/180*n),(t-l)/2),v=(e-h)/2,y=g*g/(a*a)+v*v/(i*i);y>1&&(y=R.sqrt(y),a*=y,i*=y);var x=a*a,b=i*i,w=(s==o?-1:1)*R.sqrt(Y((x*b-x*v*v-b*g*g)/(x*v*v+b*g*g))),E=w*a*v/i+(t+l)/2,_=w*-i*g/a+(e+h)/2,k=R.asin(((e-_)/i).toFixed(9)),N=R.asin(((h-_)/i).toFixed(9));k=t<E?W-k:k,N=l<E?W-N:N,k<0&&(k=2*W+k),N<0&&(N=2*W+N),o&&k>N&&(k-=2*W),!o&&N>k&&(N-=2*W)}var S=N-k;if(Y(S)>p){var C=N,B=l,T=h;N=k+p*(o&&N>k?1:-1),l=E+a*R.cos(N),h=_+i*R.sin(N),f=Lt(l,h,a,i,n,0,o,B,T,[N,C,E,_])}S=N-k;var L=R.cos(k),A=R.sin(k),F=R.cos(N),P=R.sin(N),I=R.tan(S/4),D=4/3*a*I,H=4/3*i*I,j=[t,e],O=[t+D*A,e-H*L],G=[l+D*P,h-H*F],X=[l,h];if(O[0]=2*j[0]-O[0],O[1]=2*j[1]-O[1],c)return[O,G,X][M](f);f=[O,G,X][M](f).join()[z](",");for(var q=[],V=0,U=f.length;V<U;V++)q[V]=V%2?m(f[V-1],f[V],d).y:m(f[V],f[V+1],d).x;return q},At=function(t,e,a,i,r,n,s,o,l){var h=1-l;return{x:O(h,3)*t+3*O(h,2)*l*a+3*h*l*l*r+O(l,3)*s,y:O(h,3)*e+3*O(h,2)*l*i+3*h*l*l*n+O(l,3)*o}},Ft=r(function(t,e,a,i,r,n,s,o){var l,h=r-2*a+t-(s-2*r+a),c=2*(a-t)-2*(r-a),u=t-a,p=(-c+R.sqrt(c*c-4*h*u))/2/h,d=(-c-R.sqrt(c*c-4*h*u))/2/h,f=[e,o],m=[t,s];return Y(p)>"1e12"&&(p=.5),Y(d)>"1e12"&&(d=.5),p>0&&p<1&&(l=At(t,e,a,i,r,n,s,o,p),m.push(l.x),f.push(l.y)),d>0&&d<1&&(l=At(t,e,a,i,r,n,s,o,d),m.push(l.x),f.push(l.y)),h=n-2*i+e-(o-2*n+i),c=2*(i-e)-2*(n-i),u=e-i,p=(-c+R.sqrt(c*c-4*h*u))/2/h,d=(-c-R.sqrt(c*c-4*h*u))/2/h,Y(p)>"1e12"&&(p=.5),Y(d)>"1e12"&&(d=.5),p>0&&p<1&&(l=At(t,e,a,i,r,n,s,o,p),m.push(l.x),f.push(l.y)),d>0&&d<1&&(l=At(t,e,a,i,r,n,s,o,d),m.push(l.x),f.push(l.y)),{min:{x:j[B](0,m),y:j[B](0,f)},max:{x:H[B](0,m),y:H[B](0,f)}}}),zt=e._path2curve=r(function(t,e){var a=!e&&kt(t);if(!e&&a.curve)return St(a.curve);for(var i=Bt(t),r=e&&Bt(e),n={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},o=(function(t,e,a){var i,r,n={T:1,Q:1};if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in n)&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"][M](Lt[B](0,[e.x,e.y][M](t.slice(1))));break;case"S":"C"==a||"S"==a?(i=2*e.x-e.bx,r=2*e.y-e.by):(i=e.x,r=e.y),t=["C",i,r][M](t.slice(1));break;case"T":"Q"==a||"T"==a?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"][M](Tt(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"][M](Tt(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"][M](Mt(e.x,e.y,t[1],t[2]));break;case"H":t=["C"][M](Mt(e.x,e.y,t[1],e.y));break;case"V":t=["C"][M](Mt(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"][M](Mt(e.x,e.y,e.X,e.Y))}return t}),l=function(t,e){if(t[e].length>7){t[e].shift();for(var a=t[e];a.length;)c[e]="A",r&&(u[e]="A"),t.splice(e++,0,["C"][M](a.splice(0,6)));t.splice(e,1),m=H(i.length,r&&r.length||0)}},h=function(t,e,a,n,s){t&&e&&"M"==t[s][0]&&"M"!=e[s][0]&&(e.splice(s,0,["M",n.x,n.y]),a.bx=0,a.by=0,a.x=t[s][1],a.y=t[s][2],m=H(i.length,r&&r.length||0))},c=[],u=[],p="",d="",f=0,m=H(i.length,r&&r.length||0);f<m;f++){i[f]&&(p=i[f][0]),"C"!=p&&(c[f]=p,f&&(d=c[f-1])),i[f]=o(i[f],n,d),"A"!=c[f]&&"C"==p&&(c[f]="C"),l(i,f),r&&(r[f]&&(p=r[f][0]),"C"!=p&&(u[f]=p,f&&(d=u[f-1])),r[f]=o(r[f],s,d),"A"!=u[f]&&"C"==p&&(u[f]="C"),l(r,f)),h(i,r,n,s,f),h(r,i,s,n,f);var g=i[f],v=r&&r[f],y=g.length,x=r&&v.length;n.x=g[y-2],n.y=g[y-1],n.bx=J(g[y-4])||n.x,n.by=J(g[y-3])||n.y,s.bx=r&&(J(v[x-4])||s.x),s.by=r&&(J(v[x-3])||s.y),s.x=r&&v[x-2],s.y=r&&v[x-1]}return r||(a.curve=St(i)),r?[i,r]:i},null,St),Pt=(e._parseDots=r(function(t){for(var a=[],i=0,r=t.length;i<r;i++){var n={},s=t[i].match(/^([^:]*):?([\d\.]*)/);if(n.color=e.getRGB(s[1]),n.color.error)return null;n.opacity=n.color.opacity,n.color=n.color.hex,s[2]&&(n.offset=s[2]+"%"),a.push(n)}for(i=1,r=a.length-1;i<r;i++)if(!a[i].offset){for(var o=J(a[i-1].offset||0),l=0,h=i+1;h<r;h++)if(a[h].offset){l=a[h].offset;break}l||(l=100,h=r),l=J(l);for(var c=(l-o)/(h-i+1);i<h;i++)o+=c,a[i].offset=o+"%"}return a}),e._tear=function(t,e){t==e.top&&(e.top=t.prev),t==e.bottom&&(e.bottom=t.next),t.next&&(t.next.prev=t.prev),t.prev&&(t.prev.next=t.next)}),It=(e._tofront=function(t,e){e.top!==t&&(Pt(t,e),t.next=null,t.prev=e.top,e.top.next=t,e.top=t)},e._toback=function(t,e){
  e.bottom!==t&&(Pt(t,e),t.next=e.bottom,t.prev=null,e.bottom.prev=t,e.bottom=t)},e._insertafter=function(t,e,a){Pt(t,a),e==a.top&&(a.top=t),e.next&&(e.next.prev=t),t.next=e.next,t.prev=e,e.next=t},e._insertbefore=function(t,e,a){Pt(t,a),e==a.bottom&&(a.bottom=t),e.prev&&(e.prev.next=t),t.prev=e.prev,e.prev=t,t.next=e},e.toMatrix=function(t,e){var a=Nt(t),i={_:{transform:L},getBBox:function(){return a}};return Dt(i,e),i.matrix}),Dt=(e.transformPath=function(t,e){return mt(t,It(t,e))},e._extractTransform=function(t,a){if(null==a)return t._.transform;a=F(a).replace(/\.{3}|\u2026/g,t._.transform||L);var i=e.parseTransformString(a),r=0,n=0,s=0,o=1,l=1,h=t._,c=new d;if(h.transform=i||[],i)for(var u=0,p=i.length;u<p;u++){var f,m,g,v,y,x=i[u],b=x.length,w=F(x[0]).toLowerCase(),E=x[0]!=w,_=E?c.invert():0;"t"==w&&3==b?E?(f=_.x(0,0),m=_.y(0,0),g=_.x(x[1],x[2]),v=_.y(x[1],x[2]),c.translate(g-f,v-m)):c.translate(x[1],x[2]):"r"==w?2==b?(y=y||t.getBBox(1),c.rotate(x[1],y.x+y.width/2,y.y+y.height/2),r+=x[1]):4==b&&(E?(g=_.x(x[2],x[3]),v=_.y(x[2],x[3]),c.rotate(x[1],g,v)):c.rotate(x[1],x[2],x[3]),r+=x[1]):"s"==w?2==b||3==b?(y=y||t.getBBox(1),c.scale(x[1],x[b-1],y.x+y.width/2,y.y+y.height/2),o*=x[1],l*=x[b-1]):5==b&&(E?(g=_.x(x[3],x[4]),v=_.y(x[3],x[4]),c.scale(x[1],x[2],g,v)):c.scale(x[1],x[2],x[3],x[4]),o*=x[1],l*=x[2]):"m"==w&&7==b&&c.add(x[1],x[2],x[3],x[4],x[5],x[6]),h.dirtyT=1,t.matrix=c}t.matrix=c,h.sx=o,h.sy=l,h.deg=r,h.dx=n=c.e,h.dy=s=c.f,1==o&&1==l&&!r&&h.bbox?(h.bbox.x+=+n,h.bbox.y+=+s):h.dirtyT=1}),Rt=function(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}},Ht=e._equaliseTransform=function(t,a){a=F(a).replace(/\.{3}|\u2026/g,t),t=e.parseTransformString(t)||[],a=e.parseTransformString(a)||[];for(var i,r,n,s,o=H(t.length,a.length),l=[],h=[],c=0;c<o;c++){if(n=t[c]||Rt(a[c]),s=a[c]||Rt(n),n[0]!=s[0]||"r"==n[0].toLowerCase()&&(n[2]!=s[2]||n[3]!=s[3])||"s"==n[0].toLowerCase()&&(n[3]!=s[3]||n[4]!=s[4]))return;for(l[c]=[],h[c]=[],i=0,r=H(n.length,s.length);i<r;i++)i in n&&(l[c][i]=n[i]),i in s&&(h[c][i]=s[i])}return{from:l,to:h}};e._getContainer=function(t,a,i,r){var n;if(n=null!=r||e.is(t,"object")?t:N.doc.getElementById(t),null!=n)return n.tagName?null==a?{container:n,width:n.style.pixelWidth||n.offsetWidth,height:n.style.pixelHeight||n.offsetHeight}:{container:n,width:a,height:i}:{container:1,x:t,y:a,width:i,height:r}},e.pathToRelative=Ct,e._engine={},e.path2curve=zt,e.matrix=function(t,e,a,i,r,n){return new d(t,e,a,i,r,n)},function(t){function a(t){return t[0]*t[0]+t[1]*t[1]}function i(t){var e=R.sqrt(a(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}t.add=function(t,e,a,i,r,n){var s,o,l,h,c=[[],[],[]],u=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],p=[[t,a,r],[e,i,n],[0,0,1]];for(t&&t instanceof d&&(p=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),s=0;s<3;s++)for(o=0;o<3;o++){for(h=0,l=0;l<3;l++)h+=u[s][l]*p[l][o];c[s][o]=h}this.a=c[0][0],this.b=c[1][0],this.c=c[0][1],this.d=c[1][1],this.e=c[0][2],this.f=c[1][2]},t.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new d(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},t.clone=function(){return new d(this.a,this.b,this.c,this.d,this.e,this.f)},t.translate=function(t,e){this.add(1,0,0,1,t,e)},t.scale=function(t,e,a,i){null==e&&(e=t),(a||i)&&this.add(1,0,0,1,a,i),this.add(t,0,0,e,0,0),(a||i)&&this.add(1,0,0,1,-a,-i)},t.rotate=function(t,a,i){t=e.rad(t),a=a||0,i=i||0;var r=+R.cos(t).toFixed(9),n=+R.sin(t).toFixed(9);this.add(r,n,-n,r,a,i),this.add(1,0,0,1,-a,-i)},t.x=function(t,e){return t*this.a+e*this.c+this.e},t.y=function(t,e){return t*this.b+e*this.d+this.f},t.get=function(t){return+this[F.fromCharCode(97+t)].toFixed(4)},t.toString=function(){return e.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},t.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},t.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},t.split=function(){var t={};t.dx=this.e,t.dy=this.f;var r=[[this.a,this.c],[this.b,this.d]];t.scalex=R.sqrt(a(r[0])),i(r[0]),t.shear=r[0][0]*r[1][0]+r[0][1]*r[1][1],r[1]=[r[1][0]-r[0][0]*t.shear,r[1][1]-r[0][1]*t.shear],t.scaley=R.sqrt(a(r[1])),i(r[1]),t.shear/=t.scaley;var n=-r[0][1],s=r[1][1];return s<0?(t.rotate=e.deg(R.acos(s)),n<0&&(t.rotate=360-t.rotate)):t.rotate=e.deg(R.asin(n)),t.isSimple=!(+t.shear.toFixed(9)||t.scalex.toFixed(9)!=t.scaley.toFixed(9)&&t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},t.toTransformString=function(t){var e=t||this[z]();return e.isSimple?(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx||e.dy?"t"+[e.dx,e.dy]:L)+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:L)+(e.rotate?"r"+[e.rotate,0,0]:L)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(d.prototype);for(var jt=function(){this.returnValue=!1},Yt=function(){return this.originalEvent.preventDefault()},Ot=function(){this.cancelBubble=!0},Wt=function(){return this.originalEvent.stopPropagation()},Gt=function(t){var e=N.doc.documentElement.scrollTop||N.doc.body.scrollTop,a=N.doc.documentElement.scrollLeft||N.doc.body.scrollLeft;return{x:t.clientX+a,y:t.clientY+e}},Xt=function(){return N.doc.addEventListener?function(t,e,a,i){var r=function(t){var e=Gt(t);return a.call(i,t,e.x,e.y)};if(t.addEventListener(e,r,!1),T&&I[e]){var n=function(e){for(var r=Gt(e),n=e,s=0,o=e.targetTouches&&e.targetTouches.length;s<o;s++)if(e.targetTouches[s].target==t){e=e.targetTouches[s],e.originalEvent=n,e.preventDefault=Yt,e.stopPropagation=Wt;break}return a.call(i,e,r.x,r.y)};t.addEventListener(I[e],n,!1)}return function(){return t.removeEventListener(e,r,!1),T&&I[e]&&t.removeEventListener(I[e],n,!1),!0}}:N.doc.attachEvent?function(t,e,a,i){var r=function(t){t=t||N.win.event;var e=N.doc.documentElement.scrollTop||N.doc.body.scrollTop,r=N.doc.documentElement.scrollLeft||N.doc.body.scrollLeft,n=t.clientX+r,s=t.clientY+e;return t.preventDefault=t.preventDefault||jt,t.stopPropagation=t.stopPropagation||Ot,a.call(i,t,n,s)};t.attachEvent("on"+e,r);var n=function(){return t.detachEvent("on"+e,r),!0};return n}:void 0}(),qt=[],Vt=function(e){for(var a,i=e.clientX,r=e.clientY,n=N.doc.documentElement.scrollTop||N.doc.body.scrollTop,s=N.doc.documentElement.scrollLeft||N.doc.body.scrollLeft,o=qt.length;o--;){if(a=qt[o],T&&e.touches){for(var l,h=e.touches.length;h--;)if(l=e.touches[h],l.identifier==a.el._drag.id){i=l.clientX,r=l.clientY,(e.originalEvent?e.originalEvent:e).preventDefault();break}}else e.preventDefault();var c,u=a.el.node,p=u.nextSibling,d=u.parentNode,f=u.style.display;N.win.opera&&d.removeChild(u),u.style.display="none",c=a.el.paper.getElementByPoint(i,r),u.style.display=f,N.win.opera&&(p?d.insertBefore(u,p):d.appendChild(u)),c&&t("raphael.drag.over."+a.el.id,a.el,c),i+=s,r+=n,t("raphael.drag.move."+a.el.id,a.move_scope||a.el,i-a.el._drag.x,r-a.el._drag.y,i,r,e)}},Ut=function(a){e.unmousemove(Vt).unmouseup(Ut);for(var i,r=qt.length;r--;)i=qt[r],i.el._drag={},t("raphael.drag.end."+i.el.id,i.end_scope||i.start_scope||i.move_scope||i.el,a);qt=[]},$t=e.el={},Zt=P.length;Zt--;)!function(t){e[t]=$t[t]=function(a,i){return e.is(a,"function")&&(this.events=this.events||[],this.events.push({name:t,f:a,unbind:Xt(this.shape||this.node||N.doc,t,a,i||this)})),this},e["un"+t]=$t["un"+t]=function(a){for(var i=this.events||[],r=i.length;r--;)i[r].name!=t||!e.is(a,"undefined")&&i[r].f!=a||(i[r].unbind(),i.splice(r,1),!i.length&&delete this.events);return this}}(P[Zt]);$t.data=function(a,i){var r=ht[this.id]=ht[this.id]||{};if(0==arguments.length)return r;if(1==arguments.length){if(e.is(a,"object")){for(var n in a)a[k](n)&&this.data(n,a[n]);return this}return t("raphael.data.get."+this.id,this,r[a],a),r[a]}return r[a]=i,t("raphael.data.set."+this.id,this,i,a),this},$t.removeData=function(t){return null==t?ht[this.id]={}:ht[this.id]&&delete ht[this.id][t],this},$t.getData=function(){return a(ht[this.id]||{})},$t.hover=function(t,e,a,i){return this.mouseover(t,a).mouseout(e,i||a)},$t.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var Qt=[];$t.drag=function(a,i,r,n,s,o){function l(l){(l.originalEvent||l).preventDefault();var h=l.clientX,c=l.clientY,u=N.doc.documentElement.scrollTop||N.doc.body.scrollTop,p=N.doc.documentElement.scrollLeft||N.doc.body.scrollLeft;if(this._drag.id=l.identifier,T&&l.touches)for(var d,f=l.touches.length;f--;)if(d=l.touches[f],this._drag.id=d.identifier,d.identifier==this._drag.id){h=d.clientX,c=d.clientY;break}this._drag.x=h+p,this._drag.y=c+u,!qt.length&&e.mousemove(Vt).mouseup(Ut),qt.push({el:this,move_scope:n,start_scope:s,end_scope:o}),i&&t.on("raphael.drag.start."+this.id,i),a&&t.on("raphael.drag.move."+this.id,a),r&&t.on("raphael.drag.end."+this.id,r),t("raphael.drag.start."+this.id,s||n||this,l.clientX+p,l.clientY+u,l)}return this._drag={},Qt.push({el:this,start:l}),this.mousedown(l),this},$t.onDragOver=function(e){e?t.on("raphael.drag.over."+this.id,e):t.unbind("raphael.drag.over."+this.id)},$t.undrag=function(){for(var a=Qt.length;a--;)Qt[a].el==this&&(this.unmousedown(Qt[a].start),Qt.splice(a,1),t.unbind("raphael.drag.*."+this.id));!Qt.length&&e.unmousemove(Vt).unmouseup(Ut),qt=[]},b.circle=function(t,a,i){var r=e._engine.circle(this,t||0,a||0,i||0);return this.__set__&&this.__set__.push(r),r},b.rect=function(t,a,i,r,n){var s=e._engine.rect(this,t||0,a||0,i||0,r||0,n||0);return this.__set__&&this.__set__.push(s),s},b.ellipse=function(t,a,i,r){var n=e._engine.ellipse(this,t||0,a||0,i||0,r||0);return this.__set__&&this.__set__.push(n),n},b.path=function(t){t&&!e.is(t,X)&&!e.is(t[0],q)&&(t+=L);var a=e._engine.path(e.format[B](e,arguments),this);return this.__set__&&this.__set__.push(a),a},b.image=function(t,a,i,r,n){var s=e._engine.image(this,t||"about:blank",a||0,i||0,r||0,n||0);return this.__set__&&this.__set__.push(s),s},b.text=function(t,a,i){var r=e._engine.text(this,t||0,a||0,F(i));return this.__set__&&this.__set__.push(r),r},b.set=function(t){!e.is(t,"array")&&(t=Array.prototype.splice.call(arguments,0,arguments.length));var a=new he(t);return this.__set__&&this.__set__.push(a),a.paper=this,a.type="set",a},b.setStart=function(t){this.__set__=t||this.set()},b.setFinish=function(t){var e=this.__set__;return delete this.__set__,e},b.getSize=function(){var t=this.canvas.parentNode;return{width:t.offsetWidth,height:t.offsetHeight}},b.setSize=function(t,a){return e._engine.setSize.call(this,t,a)},b.setViewBox=function(t,a,i,r,n){return e._engine.setViewBox.call(this,t,a,i,r,n)},b.top=b.bottom=null,b.raphael=e;var Jt=function(t){var e=t.getBoundingClientRect(),a=t.ownerDocument,i=a.body,r=a.documentElement,n=r.clientTop||i.clientTop||0,s=r.clientLeft||i.clientLeft||0,o=e.top+(N.win.pageYOffset||r.scrollTop||i.scrollTop)-n,l=e.left+(N.win.pageXOffset||r.scrollLeft||i.scrollLeft)-s;return{y:o,x:l}};b.getElementByPoint=function(t,e){var a=this,i=a.canvas,r=N.doc.elementFromPoint(t,e);if(N.win.opera&&"svg"==r.tagName){var n=Jt(i),s=i.createSVGRect();s.x=t-n.x,s.y=e-n.y,s.width=s.height=1;var o=i.getIntersectionList(s,null);o.length&&(r=o[o.length-1])}if(!r)return null;for(;r.parentNode&&r!=i.parentNode&&!r.raphael;)r=r.parentNode;return r==a.canvas.parentNode&&(r=i),r=r&&r.raphael?a.getById(r.raphaelid):null},b.getElementsByBBox=function(t){var a=this.set();return this.forEach(function(i){e.isBBoxIntersect(i.getBBox(),t)&&a.push(i)}),a},b.getById=function(t){for(var e=this.bottom;e;){if(e.id==t)return e;e=e.next}return null},b.forEach=function(t,e){for(var a=this.bottom;a;){if(t.call(e,a)===!1)return this;a=a.next}return this},b.getElementsByPoint=function(t,e){var a=this.set();return this.forEach(function(i){i.isPointInside(t,e)&&a.push(i)}),a},$t.isPointInside=function(t,a){var i=this.realPath=ft[this.type](this);return this.attr("transform")&&this.attr("transform").length&&(i=e.transformPath(i,this.attr("transform"))),e.isPointInsidePath(i,t,a)},$t.getBBox=function(t){if(this.removed)return{};var e=this._;return t?(!e.dirty&&e.bboxwt||(this.realPath=ft[this.type](this),e.bboxwt=Nt(this.realPath),e.bboxwt.toString=f,e.dirty=0),e.bboxwt):((e.dirty||e.dirtyT||!e.bbox)&&(!e.dirty&&this.realPath||(e.bboxwt=0,this.realPath=ft[this.type](this)),e.bbox=Nt(mt(this.realPath,this.matrix)),e.bbox.toString=f,e.dirty=e.dirtyT=0),e.bbox)},$t.clone=function(){if(this.removed)return null;var t=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(t),t},$t.glow=function(t){if("text"==this.type)return null;t=t||{};var e={width:(t.width||10)+(+this.attr("stroke-width")||1),fill:t.fill||!1,opacity:null==t.opacity?.5:t.opacity,offsetx:t.offsetx||0,offsety:t.offsety||0,color:t.color||"#000"},a=e.width/2,i=this.paper,r=i.set(),n=this.realPath||ft[this.type](this);n=this.matrix?mt(n,this.matrix):n;for(var s=1;s<a+1;s++)r.push(i.path(n).attr({stroke:e.color,fill:e.fill?e.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(e.width/a*s).toFixed(3),opacity:+(e.opacity/a).toFixed(3)}));return r.insertBefore(this).translate(e.offsetx,e.offsety)};var Kt=function(t,a,i,r,n,s,o,c,u){return null==u?l(t,a,i,r,n,s,o,c):e.findDotsAtSegment(t,a,i,r,n,s,o,c,h(t,a,i,r,n,s,o,c,u))},te=function(t,a){return function(i,r,n){i=zt(i);for(var s,o,l,h,c,u="",p={},d=0,f=0,m=i.length;f<m;f++){if(l=i[f],"M"==l[0])s=+l[1],o=+l[2];else{if(h=Kt(s,o,l[1],l[2],l[3],l[4],l[5],l[6]),d+h>r){if(a&&!p.start){if(c=Kt(s,o,l[1],l[2],l[3],l[4],l[5],l[6],r-d),u+=["C"+c.start.x,c.start.y,c.m.x,c.m.y,c.x,c.y],n)return u;p.start=u,u=["M"+c.x,c.y+"C"+c.n.x,c.n.y,c.end.x,c.end.y,l[5],l[6]].join(),d+=h,s=+l[5],o=+l[6];continue}if(!t&&!a)return c=Kt(s,o,l[1],l[2],l[3],l[4],l[5],l[6],r-d),{x:c.x,y:c.y,alpha:c.alpha}}d+=h,s=+l[5],o=+l[6]}u+=l.shift()+l}return p.end=u,c=t?d:a?p:e.findDotsAtSegment(s,o,l[0],l[1],l[2],l[3],l[4],l[5],1),c.alpha&&(c={x:c.x,y:c.y,alpha:c.alpha}),c}},ee=te(1),ae=te(),ie=te(0,1);e.getTotalLength=ee,e.getPointAtLength=ae,e.getSubpath=function(t,e,a){if(this.getTotalLength(t)-a<1e-6)return ie(t,e).end;var i=ie(t,a,1);return e?ie(i,e).end:i},$t.getTotalLength=function(){var t=this.getPath();if(t)return this.node.getTotalLength?this.node.getTotalLength():ee(t)},$t.getPointAtLength=function(t){var e=this.getPath();if(e)return ae(e,t)},$t.getPath=function(){var t,a=e._getPath[this.type];if("text"!=this.type&&"set"!=this.type)return a&&(t=a(this)),t},$t.getSubpath=function(t,a){var i=this.getPath();if(i)return e.getSubpath(i,t,a)};var re=e.easing_formulas={linear:function(t){return t},"<":function(t){return O(t,1.7)},">":function(t){return O(t,.48)},"<>":function(t){var e=.48-t/1.04,a=R.sqrt(.1734+e*e),i=a-e,r=O(Y(i),1/3)*(i<0?-1:1),n=-a-e,s=O(Y(n),1/3)*(n<0?-1:1),o=r+s+.5;return 3*(1-o)*o*o+o*o*o},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){t-=1;var e=1.70158;return t*t*((e+1)*t+e)+1},elastic:function(t){return t==!!t?t:O(2,-10*t)*R.sin((t-.075)*(2*W)/.3)+1},bounce:function(t){var e,a=7.5625,i=2.75;return t<1/i?e=a*t*t:t<2/i?(t-=1.5/i,e=a*t*t+.75):t<2.5/i?(t-=2.25/i,e=a*t*t+.9375):(t-=2.625/i,e=a*t*t+.984375),e}};re.easeIn=re["ease-in"]=re["<"],re.easeOut=re["ease-out"]=re[">"],re.easeInOut=re["ease-in-out"]=re["<>"],re["back-in"]=re.backIn,re["back-out"]=re.backOut;var ne=[],se=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,16)},oe=function(){for(var a=+new Date,i=0;i<ne.length;i++){var r=ne[i];if(!r.el.removed&&!r.paused){var n,s,o=a-r.start,l=r.ms,h=r.easing,c=r.from,u=r.diff,p=r.to,d=(r.t,r.el),f={},m={};if(r.initstatus?(o=(r.initstatus*r.anim.top-r.prev)/(r.percent-r.prev)*l,r.status=r.initstatus,delete r.initstatus,r.stop&&ne.splice(i--,1)):r.status=(r.prev+(r.percent-r.prev)*(o/l))/r.anim.top,!(o<0))if(o<l){var g=h(o/l);for(var y in c)if(c[k](y)){switch(at[y]){case G:n=+c[y]+g*l*u[y];break;case"colour":n="rgb("+[le(Q(c[y].r+g*l*u[y].r)),le(Q(c[y].g+g*l*u[y].g)),le(Q(c[y].b+g*l*u[y].b))].join(",")+")";break;case"path":n=[];for(var x=0,b=c[y].length;x<b;x++){n[x]=[c[y][x][0]];for(var w=1,E=c[y][x].length;w<E;w++)n[x][w]=+c[y][x][w]+g*l*u[y][x][w];n[x]=n[x].join(A)}n=n.join(A);break;case"transform":if(u[y].real)for(n=[],x=0,b=c[y].length;x<b;x++)for(n[x]=[c[y][x][0]],w=1,E=c[y][x].length;w<E;w++)n[x][w]=c[y][x][w]+g*l*u[y][x][w];else{var _=function(t){return+c[y][t]+g*l*u[y][t]};n=[["m",_(0),_(1),_(2),_(3),_(4),_(5)]]}break;case"csv":if("clip-rect"==y)for(n=[],x=4;x--;)n[x]=+c[y][x]+g*l*u[y][x];break;default:var N=[][M](c[y]);for(n=[],x=d.paper.customAttributes[y].length;x--;)n[x]=+N[x]+g*l*u[y][x]}f[y]=n}d.attr(f),function(e,a,i){setTimeout(function(){t("raphael.anim.frame."+e,a,i)})}(d.id,d,r.anim)}else{if(function(a,i,r){setTimeout(function(){t("raphael.anim.frame."+i.id,i,r),t("raphael.anim.finish."+i.id,i,r),e.is(a,"function")&&a.call(i)})}(r.callback,d,r.anim),d.attr(p),ne.splice(i--,1),r.repeat>1&&!r.next){for(s in p)p[k](s)&&(m[s]=r.totalOrigin[s]);r.el.attr(m),v(r.anim,r.el,r.anim.percents[0],null,r.totalOrigin,r.repeat-1)}r.next&&!r.stop&&v(r.anim,r.el,r.next,null,r.totalOrigin,r.repeat)}}}ne.length&&se(oe)},le=function(t){return t>255?255:t<0?0:t};$t.animateWith=function(t,a,i,r,n,s){var o=this;if(o.removed)return s&&s.call(o),o;var l=i instanceof g?i:e.animation(i,r,n,s);v(l,o,l.percents[0],null,o.attr());for(var h=0,c=ne.length;h<c;h++)if(ne[h].anim==a&&ne[h].el==t){ne[c-1].start=ne[h].start;break}return o},$t.onAnimation=function(e){return e?t.on("raphael.anim.frame."+this.id,e):t.unbind("raphael.anim.frame."+this.id),this},g.prototype.delay=function(t){var e=new g(this.anim,this.ms);return e.times=this.times,e.del=+t||0,e},g.prototype.repeat=function(t){var e=new g(this.anim,this.ms);return e.del=this.del,e.times=R.floor(H(t,0))||1,e},e.animation=function(t,a,i,r){if(t instanceof g)return t;!e.is(i,"function")&&i||(r=r||i||null,i=null),t=Object(t),a=+a||0;var n,s,o={};for(s in t)t[k](s)&&J(s)!=s&&J(s)+"%"!=s&&(n=!0,o[s]=t[s]);if(n)return i&&(o.easing=i),r&&(o.callback=r),new g({100:o},a);if(r){var l=0;for(var h in t){var c=K(h);t[k](h)&&c>l&&(l=c)}l+="%",!t[l].callback&&(t[l].callback=r)}return new g(t,a)},$t.animate=function(t,a,i,r){var n=this;if(n.removed)return r&&r.call(n),n;var s=t instanceof g?t:e.animation(t,a,i,r);return v(s,n,s.percents[0],null,n.attr()),n},$t.setTime=function(t,e){return t&&null!=e&&this.status(t,j(e,t.ms)/t.ms),this},$t.status=function(t,e){var a,i,r=[],n=0;if(null!=e)return v(t,this,-1,j(e,1)),this;for(a=ne.length;n<a;n++)if(i=ne[n],i.el.id==this.id&&(!t||i.anim==t)){if(t)return i.status;r.push({anim:i.anim,status:i.status})}return t?0:r},$t.pause=function(e){for(var a=0;a<ne.length;a++)ne[a].el.id!=this.id||e&&ne[a].anim!=e||t("raphael.anim.pause."+this.id,this,ne[a].anim)!==!1&&(ne[a].paused=!0);return this},$t.resume=function(e){for(var a=0;a<ne.length;a++)if(ne[a].el.id==this.id&&(!e||ne[a].anim==e)){var i=ne[a];t("raphael.anim.resume."+this.id,this,i.anim)!==!1&&(delete i.paused,this.status(i.anim,i.status))}return this},$t.stop=function(e){for(var a=0;a<ne.length;a++)ne[a].el.id!=this.id||e&&ne[a].anim!=e||t("raphael.anim.stop."+this.id,this,ne[a].anim)!==!1&&ne.splice(a--,1);return this},t.on("raphael.remove",y),t.on("raphael.clear",y),$t.toString=function(){return"Raphaël’s object"};var he=function(t){if(this.items=[],this.length=0,this.type="set",t)for(var e=0,a=t.length;e<a;e++)!t[e]||t[e].constructor!=$t.constructor&&t[e].constructor!=he||(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},ce=he.prototype;ce.push=function(){for(var t,e,a=0,i=arguments.length;a<i;a++)t=arguments[a],!t||t.constructor!=$t.constructor&&t.constructor!=he||(e=this.items.length,this[e]=this.items[e]=t,this.length++);return this},ce.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},ce.forEach=function(t,e){for(var a=0,i=this.items.length;a<i;a++)if(t.call(e,this.items[a],a)===!1)return this;return this};for(var ue in $t)$t[k](ue)&&(ce[ue]=function(t){return function(){var e=arguments;return this.forEach(function(a){a[t][B](a,e)})}}(ue));return ce.attr=function(t,a){if(t&&e.is(t,q)&&e.is(t[0],"object"))for(var i=0,r=t.length;i<r;i++)this.items[i].attr(t[i]);else for(var n=0,s=this.items.length;n<s;n++)this.items[n].attr(t,a);return this},ce.clear=function(){for(;this.length;)this.pop()},ce.splice=function(t,e,a){t=t<0?H(this.length+t,0):t,e=H(0,j(this.length-t,e));var i,r=[],n=[],s=[];for(i=2;i<arguments.length;i++)s.push(arguments[i]);for(i=0;i<e;i++)n.push(this[t+i]);for(;i<this.length-t;i++)r.push(this[t+i]);var o=s.length;for(i=0;i<o+r.length;i++)this.items[t+i]=this[t+i]=i<o?s[i]:r[i-o];for(i=this.items.length=this.length-=e-o;this[i];)delete this[i++];return new he(n)},ce.exclude=function(t){for(var e=0,a=this.length;e<a;e++)if(this[e]==t)return this.splice(e,1),!0},ce.animate=function(t,a,i,r){(e.is(i,"function")||!i)&&(r=i||null);var n,s,o=this.items.length,l=o,h=this;if(!o)return this;r&&(s=function(){!--o&&r.call(h)}),i=e.is(i,X)?i:s;var c=e.animation(t,a,i,s);for(n=this.items[--l].animate(c);l--;)this.items[l]&&!this.items[l].removed&&this.items[l].animateWith(n,c,c),this.items[l]&&!this.items[l].removed||o--;return this},ce.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},ce.getBBox=function(){for(var t=[],e=[],a=[],i=[],r=this.items.length;r--;)if(!this.items[r].removed){var n=this.items[r].getBBox();t.push(n.x),e.push(n.y),a.push(n.x+n.width),i.push(n.y+n.height)}return t=j[B](0,t),e=j[B](0,e),a=H[B](0,a),i=H[B](0,i),{x:t,y:e,x2:a,y2:i,width:a-t,height:i-e}},ce.clone=function(t){t=this.paper.set();for(var e=0,a=this.items.length;e<a;e++)t.push(this.items[e].clone());return t},ce.toString=function(){return"Raphaël‘s set"},ce.glow=function(t){var e=this.paper.set();return this.forEach(function(a,i){var r=a.glow(t);null!=r&&r.forEach(function(t,a){e.push(t)})}),e},ce.isPointInside=function(t,e){var a=!1;return this.forEach(function(i){if(i.isPointInside(t,e))return a=!0,!1}),a},e.registerFont=function(t){if(!t.face)return t;this.fonts=this.fonts||{};var e={w:t.w,face:{},glyphs:{}},a=t.face["font-family"];for(var i in t.face)t.face[k](i)&&(e.face[i]=t.face[i]);if(this.fonts[a]?this.fonts[a].push(e):this.fonts[a]=[e],!t.svg){e.face["units-per-em"]=K(t.face["units-per-em"],10);for(var r in t.glyphs)if(t.glyphs[k](r)){var n=t.glyphs[r];if(e.glyphs[r]={w:n.w,k:{},d:n.d&&"M"+n.d.replace(/[mlcxtrv]/g,function(t){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[t]||"M"})+"z"},n.k)for(var s in n.k)n[k](s)&&(e.glyphs[r].k[s]=n.k[s])}}return t},b.getFont=function(t,a,i,r){if(r=r||"normal",i=i||"normal",a=+a||{normal:400,bold:700,lighter:300,bolder:800}[a]||400,e.fonts){var n=e.fonts[t];if(!n){var s=new RegExp("(^|\\s)"+t.replace(/[^\w\d\s+!~.:_-]/g,L)+"(\\s|$)","i");for(var o in e.fonts)if(e.fonts[k](o)&&s.test(o)){n=e.fonts[o];break}}var l;if(n)for(var h=0,c=n.length;h<c&&(l=n[h],l.face["font-weight"]!=a||l.face["font-style"]!=i&&l.face["font-style"]||l.face["font-stretch"]!=r);h++);return l}},b.print=function(t,a,i,r,n,s,o,l){s=s||"middle",o=H(j(o||0,1),-1),l=H(j(l||1,3),1);var h,c=F(i)[z](L),u=0,p=0,d=L;if(e.is(r,"string")&&(r=this.getFont(r)),r){h=(n||16)/r.face["units-per-em"];for(var f=r.face.bbox[z](w),m=+f[0],g=f[3]-f[1],v=0,y=+f[1]+("baseline"==s?g+ +r.face.descent:g/2),x=0,b=c.length;x<b;x++){if("\n"==c[x])u=0,_=0,p=0,v+=g*l;else{var E=p&&r.glyphs[c[x-1]]||{},_=r.glyphs[c[x]];u+=p?(E.w||r.w)+(E.k&&E.k[c[x]]||0)+r.w*o:0,p=1}_&&_.d&&(d+=e.transformPath(_.d,["t",u*h,v*h,"s",h,h,m,y,"t",(t-m)/h,(a-y)/h]))}}return this.path(d).attr({fill:"#000",stroke:"none"})},b.add=function(t){if(e.is(t,"array"))for(var a,i=this.set(),r=0,n=t.length;r<n;r++)a=t[r]||{},E[k](a.type)&&i.push(this[a.type]().attr(a));return i},e.format=function(t,a){var i=e.is(a,q)?[0][M](a):arguments;return t&&e.is(t,X)&&i.length-1&&(t=t.replace(_,function(t,e){return null==i[++e]?L:i[e]})),t||L},e.fullfill=function(){var t=/\{([^\}]+)\}/g,e=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,a=function(t,a,i){var r=i;return a.replace(e,function(t,e,a,i,n){e=e||i,r&&(e in r&&(r=r[e]),"function"==typeof r&&n&&(r=r()))}),r=(null==r||r==i?t:r)+""};return function(e,i){return String(e).replace(t,function(t,e){return a(t,e,i)})}}(),e.ninja=function(){return S.was?N.win.Raphael=S.is:delete Raphael,e},e.st=ce,t.on("raphael.DOMload",function(){x=!0}),function(t,a,i){function r(){/in/.test(t.readyState)?setTimeout(r,9):e.eve("raphael.DOMload")}null==t.readyState&&t.addEventListener&&(t.addEventListener(a,i=function(){t.removeEventListener(a,i,!1),t.readyState="complete"},!1),t.readyState="loading"),r()}(document,"DOMContentLoaded"),e}),function(t,a){r=[n],!(s=function(t){return a(t)}.apply(e,r))}(this,function(t){if(!t||t.svg){var e="hasOwnProperty",a=String,i=parseFloat,r=parseInt,n=Math,s=n.max,o=n.abs,l=n.pow,h=/[, ]+/,c=t.eve,u="",p=" ",d="http://www.w3.org/1999/xlink",f={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},m={};t.toString=function(){return"Your browser supports SVG.\nYou are running Raphaël "+this.version};var g=function(i,r){if(r){"string"==typeof i&&(i=g(i));for(var n in r)r[e](n)&&("xlink:"==n.substring(0,6)?i.setAttributeNS(d,n.substring(6),a(r[n])):i.setAttribute(n,a(r[n])))}else i=t._g.doc.createElementNS("http://www.w3.org/2000/svg",i),i.style&&(i.style.webkitTapHighlightColor="rgba(0,0,0,0)");return i},v=function(e,r){var h="linear",c=e.id+r,p=.5,d=.5,f=e.node,m=e.paper,v=f.style,y=t._g.doc.getElementById(c);if(!y){if(r=a(r).replace(t._radial_gradient,function(t,e,a){if(h="radial",e&&a){p=i(e),d=i(a);var r=2*(d>.5)-1;l(p-.5,2)+l(d-.5,2)>.25&&(d=n.sqrt(.25-l(p-.5,2))*r+.5)&&.5!=d&&(d=d.toFixed(5)-1e-5*r)}return u}),r=r.split(/\s*\-\s*/),"linear"==h){var x=r.shift();if(x=-i(x),isNaN(x))return null;var b=[0,0,n.cos(t.rad(x)),n.sin(t.rad(x))],w=1/(s(o(b[2]),o(b[3]))||1);b[2]*=w,b[3]*=w,b[2]<0&&(b[0]=-b[2],b[2]=0),b[3]<0&&(b[1]=-b[3],b[3]=0)}var E=t._parseDots(r);if(!E)return null;if(c=c.replace(/[\(\)\s,\xb0#]/g,"_"),e.gradient&&c!=e.gradient.id&&(m.defs.removeChild(e.gradient),delete e.gradient),!e.gradient){y=g(h+"Gradient",{id:c}),e.gradient=y,g(y,"radial"==h?{fx:p,fy:d}:{x1:b[0],y1:b[1],x2:b[2],y2:b[3],gradientTransform:e.matrix.invert()}),m.defs.appendChild(y);for(var _=0,k=E.length;_<k;_++)y.appendChild(g("stop",{offset:E[_].offset?E[_].offset:_?"100%":"0%","stop-color":E[_].color||"#fff","stop-opacity":isFinite(E[_].opacity)?E[_].opacity:1}))}}return g(f,{fill:"url('"+document.location.origin+document.location.pathname+"#"+c+"')",opacity:1,"fill-opacity":1}),v.fill=u,v.opacity=1,v.fillOpacity=1,1},y=function(t){var e=t.getBBox(1);g(t.pattern,{patternTransform:t.matrix.invert()+" translate("+e.x+","+e.y+")"})},x=function(i,r,n){if("path"==i.type){for(var s,o,l,h,c,p=a(r).toLowerCase().split("-"),d=i.paper,v=n?"end":"start",y=i.node,x=i.attrs,b=x["stroke-width"],w=p.length,E="classic",_=3,k=3,N=5;w--;)switch(p[w]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":E=p[w];break;case"wide":k=5;break;case"narrow":k=2;break;case"long":_=5;break;case"short":_=2}if("open"==E?(_+=2,k+=2,N+=2,l=1,h=n?4:1,c={fill:"none",stroke:x.stroke}):(h=l=_/2,c={fill:x.stroke,stroke:"none"}),i._.arrows?n?(i._.arrows.endPath&&m[i._.arrows.endPath]--,i._.arrows.endMarker&&m[i._.arrows.endMarker]--):(i._.arrows.startPath&&m[i._.arrows.startPath]--,i._.arrows.startMarker&&m[i._.arrows.startMarker]--):i._.arrows={},"none"!=E){var S="raphael-marker-"+E,C="raphael-marker-"+v+E+_+k+"-obj"+i.id;t._g.doc.getElementById(S)?m[S]++:(d.defs.appendChild(g(g("path"),{"stroke-linecap":"round",d:f[E],id:S})),m[S]=1);var B,M=t._g.doc.getElementById(C);M?(m[C]++,B=M.getElementsByTagName("use")[0]):(M=g(g("marker"),{id:C,markerHeight:k,markerWidth:_,orient:"auto",refX:h,refY:k/2}),B=g(g("use"),{"xlink:href":"#"+S,transform:(n?"rotate(180 "+_/2+" "+k/2+") ":u)+"scale("+_/N+","+k/N+")","stroke-width":(1/((_/N+k/N)/2)).toFixed(4)}),M.appendChild(B),d.defs.appendChild(M),m[C]=1),g(B,c);var T=l*("diamond"!=E&&"oval"!=E);n?(s=i._.arrows.startdx*b||0,o=t.getTotalLength(x.path)-T*b):(s=T*b,o=t.getTotalLength(x.path)-(i._.arrows.enddx*b||0)),c={},c["marker-"+v]="url(#"+C+")",(o||s)&&(c.d=t.getSubpath(x.path,s,o)),g(y,c),i._.arrows[v+"Path"]=S,i._.arrows[v+"Marker"]=C,i._.arrows[v+"dx"]=T,i._.arrows[v+"Type"]=E,i._.arrows[v+"String"]=r}else n?(s=i._.arrows.startdx*b||0,o=t.getTotalLength(x.path)-s):(s=0,o=t.getTotalLength(x.path)-(i._.arrows.enddx*b||0)),i._.arrows[v+"Path"]&&g(y,{d:t.getSubpath(x.path,s,o)}),delete i._.arrows[v+"Path"],delete i._.arrows[v+"Marker"],delete i._.arrows[v+"dx"],delete i._.arrows[v+"Type"],delete i._.arrows[v+"String"];for(c in m)if(m[e](c)&&!m[c]){var L=t._g.doc.getElementById(c);L&&L.parentNode.removeChild(L)}}},b={"-":[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]},w=function(t,e,i){if(e=b[a(e).toLowerCase()]){for(var r=t.attrs["stroke-width"]||"1",n={round:r,square:r,butt:0}[t.attrs["stroke-linecap"]||i["stroke-linecap"]]||0,s=[],o=e.length;o--;)s[o]=e[o]*r+(o%2?1:-1)*n;g(t.node,{"stroke-dasharray":s.join(",")})}else g(t.node,{"stroke-dasharray":"none"})},E=function(i,n){var l=i.node,c=i.attrs,p=l.style.visibility;l.style.visibility="hidden";for(var f in n)if(n[e](f)){if(!t._availableAttrs[e](f))continue;var m=n[f];switch(c[f]=m,f){case"blur":i.blur(m);break;case"title":var b=l.getElementsByTagName("title");if(b.length&&(b=b[0]))b.firstChild.nodeValue=m;else{b=g("title");var E=t._g.doc.createTextNode(m);b.appendChild(E),l.appendChild(b)}break;case"href":case"target":var _=l.parentNode;if("a"!=_.tagName.toLowerCase()){var N=g("a");_.insertBefore(N,l),N.appendChild(l),_=N}"target"==f?_.setAttributeNS(d,"show","blank"==m?"new":m):_.setAttributeNS(d,f,m);break;case"cursor":l.style.cursor=m;break;case"transform":i.transform(m);break;case"arrow-start":x(i,m);break;case"arrow-end":x(i,m,1);break;case"clip-rect":var S=a(m).split(h);if(4==S.length){i.clip&&i.clip.parentNode.parentNode.removeChild(i.clip.parentNode);var C=g("clipPath"),B=g("rect");C.id=t.createUUID(),g(B,{x:S[0],y:S[1],width:S[2],height:S[3]}),C.appendChild(B),i.paper.defs.appendChild(C),g(l,{"clip-path":"url(#"+C.id+")"}),i.clip=B}if(!m){var M=l.getAttribute("clip-path");if(M){var T=t._g.doc.getElementById(M.replace(/(^url\(#|\)$)/g,u));T&&T.parentNode.removeChild(T),g(l,{"clip-path":u}),delete i.clip}}break;case"path":"path"==i.type&&(g(l,{d:m?c.path=t._pathToAbsolute(m):"M0,0"}),i._.dirty=1,i._.arrows&&("startString"in i._.arrows&&x(i,i._.arrows.startString),"endString"in i._.arrows&&x(i,i._.arrows.endString,1)));break;case"width":if(l.setAttribute(f,m),i._.dirty=1,!c.fx)break;f="x",m=c.x;case"x":c.fx&&(m=-c.x-(c.width||0));case"rx":if("rx"==f&&"rect"==i.type)break;case"cx":l.setAttribute(f,m),i.pattern&&y(i),i._.dirty=1;break;case"height":if(l.setAttribute(f,m),i._.dirty=1,!c.fy)break;f="y",m=c.y;case"y":c.fy&&(m=-c.y-(c.height||0));case"ry":if("ry"==f&&"rect"==i.type)break;case"cy":l.setAttribute(f,m),i.pattern&&y(i),i._.dirty=1;break;case"r":"rect"==i.type?g(l,{rx:m,ry:m}):l.setAttribute(f,m),i._.dirty=1;break;case"src":"image"==i.type&&l.setAttributeNS(d,"href",m);break;case"stroke-width":1==i._.sx&&1==i._.sy||(m/=s(o(i._.sx),o(i._.sy))||1),l.setAttribute(f,m),c["stroke-dasharray"]&&w(i,c["stroke-dasharray"],n),i._.arrows&&("startString"in i._.arrows&&x(i,i._.arrows.startString),
  "endString"in i._.arrows&&x(i,i._.arrows.endString,1));break;case"stroke-dasharray":w(i,m,n);break;case"fill":var L=a(m).match(t._ISURL);if(L){C=g("pattern");var A=g("image");C.id=t.createUUID(),g(C,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),g(A,{x:0,y:0,"xlink:href":L[1]}),C.appendChild(A),function(e){t._preload(L[1],function(){var t=this.offsetWidth,a=this.offsetHeight;g(e,{width:t,height:a}),g(A,{width:t,height:a})})}(C),i.paper.defs.appendChild(C),g(l,{fill:"url(#"+C.id+")"}),i.pattern=C,i.pattern&&y(i);break}var F=t.getRGB(m);if(F.error){if(("circle"==i.type||"ellipse"==i.type||"r"!=a(m).charAt())&&v(i,m)){if("opacity"in c||"fill-opacity"in c){var z=t._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,u));if(z){var P=z.getElementsByTagName("stop");g(P[P.length-1],{"stop-opacity":("opacity"in c?c.opacity:1)*("fill-opacity"in c?c["fill-opacity"]:1)})}}c.gradient=m,c.fill="none";break}}else delete n.gradient,delete c.gradient,!t.is(c.opacity,"undefined")&&t.is(n.opacity,"undefined")&&g(l,{opacity:c.opacity}),!t.is(c["fill-opacity"],"undefined")&&t.is(n["fill-opacity"],"undefined")&&g(l,{"fill-opacity":c["fill-opacity"]});F[e]("opacity")&&g(l,{"fill-opacity":F.opacity>1?F.opacity/100:F.opacity});case"stroke":F=t.getRGB(m),l.setAttribute(f,F.hex),"stroke"==f&&F[e]("opacity")&&g(l,{"stroke-opacity":F.opacity>1?F.opacity/100:F.opacity}),"stroke"==f&&i._.arrows&&("startString"in i._.arrows&&x(i,i._.arrows.startString),"endString"in i._.arrows&&x(i,i._.arrows.endString,1));break;case"gradient":("circle"==i.type||"ellipse"==i.type||"r"!=a(m).charAt())&&v(i,m);break;case"opacity":c.gradient&&!c[e]("stroke-opacity")&&g(l,{"stroke-opacity":m>1?m/100:m});case"fill-opacity":if(c.gradient){z=t._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,u)),z&&(P=z.getElementsByTagName("stop"),g(P[P.length-1],{"stop-opacity":m}));break}default:"font-size"==f&&(m=r(m,10)+"px");var I=f.replace(/(\-.)/g,function(t){return t.substring(1).toUpperCase()});l.style[I]=m,i._.dirty=1,l.setAttribute(f,m)}}k(i,n),l.style.visibility=p},_=1.2,k=function(i,n){if("text"==i.type&&(n[e]("text")||n[e]("font")||n[e]("font-size")||n[e]("x")||n[e]("y"))){var s=i.attrs,o=i.node,l=o.firstChild?r(t._g.doc.defaultView.getComputedStyle(o.firstChild,u).getPropertyValue("font-size"),10):10;if(n[e]("text")){for(s.text=n.text;o.firstChild;)o.removeChild(o.firstChild);for(var h,c=a(n.text).split("\n"),p=[],d=0,f=c.length;d<f;d++)h=g("tspan"),d&&g(h,{dy:l*_,x:s.x}),h.appendChild(t._g.doc.createTextNode(c[d])),o.appendChild(h),p[d]=h}else for(p=o.getElementsByTagName("tspan"),d=0,f=p.length;d<f;d++)d?g(p[d],{dy:l*_,x:s.x}):g(p[0],{dy:0});g(o,{x:s.x,y:s.y}),i._.dirty=1;var m=i._getBBox(),v=s.y-(m.y+m.height/2);v&&t.is(v,"finite")&&g(p[0],{dy:v})}},N=function(t){return t.parentNode&&"a"===t.parentNode.tagName.toLowerCase()?t.parentNode:t},S=function(e,a){this[0]=this.node=e,e.raphael=!0,this.id=t._oid++,e.raphaelid=this.id,this.matrix=t.matrix(),this.realPath=null,this.paper=a,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!a.bottom&&(a.bottom=this),this.prev=a.top,a.top&&(a.top.next=this),a.top=this,this.next=null},C=t.el;S.prototype=C,C.constructor=S,t._engine.path=function(t,e){var a=g("path");e.canvas&&e.canvas.appendChild(a);var i=new S(a,e);return i.type="path",E(i,{fill:"none",stroke:"#000",path:t}),i},C.rotate=function(t,e,r){if(this.removed)return this;if(t=a(t).split(h),t.length-1&&(e=i(t[1]),r=i(t[2])),t=i(t[0]),null==r&&(e=r),null==e||null==r){var n=this.getBBox(1);e=n.x+n.width/2,r=n.y+n.height/2}return this.transform(this._.transform.concat([["r",t,e,r]])),this},C.scale=function(t,e,r,n){if(this.removed)return this;if(t=a(t).split(h),t.length-1&&(e=i(t[1]),r=i(t[2]),n=i(t[3])),t=i(t[0]),null==e&&(e=t),null==n&&(r=n),null==r||null==n)var s=this.getBBox(1);return r=null==r?s.x+s.width/2:r,n=null==n?s.y+s.height/2:n,this.transform(this._.transform.concat([["s",t,e,r,n]])),this},C.translate=function(t,e){return this.removed?this:(t=a(t).split(h),t.length-1&&(e=i(t[1])),t=i(t[0])||0,e=+e||0,this.transform(this._.transform.concat([["t",t,e]])),this)},C.transform=function(a){var i=this._;if(null==a)return i.transform;if(t._extractTransform(this,a),this.clip&&g(this.clip,{transform:this.matrix.invert()}),this.pattern&&y(this),this.node&&g(this.node,{transform:this.matrix}),1!=i.sx||1!=i.sy){var r=this.attrs[e]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":r})}return i.transform=this.matrix.toTransformString(),this},C.hide=function(){return this.removed||(this.node.style.display="none"),this},C.show=function(){return this.removed||(this.node.style.display=""),this},C.remove=function(){var e=N(this.node);if(!this.removed&&e.parentNode){var a=this.paper;a.__set__&&a.__set__.exclude(this),c.unbind("raphael.*.*."+this.id),this.gradient&&a.defs.removeChild(this.gradient),t._tear(this,a),e.parentNode.removeChild(e),this.removeData();for(var i in this)this[i]="function"==typeof this[i]?t._removedFactory(i):null;this.removed=!0}},C._getBBox=function(){if("none"==this.node.style.display){this.show();var t=!0}var e,a=!1;this.paper.canvas.parentElement?e=this.paper.canvas.parentElement.style:this.paper.canvas.parentNode&&(e=this.paper.canvas.parentNode.style),e&&"none"==e.display&&(a=!0,e.display="");var i={};try{i=this.node.getBBox()}catch(t){i={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{i=i||{},a&&(e.display="none")}return t&&this.hide(),i},C.attr=function(a,i){if(this.removed)return this;if(null==a){var r={};for(var n in this.attrs)this.attrs[e](n)&&(r[n]=this.attrs[n]);return r.gradient&&"none"==r.fill&&(r.fill=r.gradient)&&delete r.gradient,r.transform=this._.transform,r}if(null==i&&t.is(a,"string")){if("fill"==a&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;if("transform"==a)return this._.transform;for(var s=a.split(h),o={},l=0,u=s.length;l<u;l++)a=s[l],a in this.attrs?o[a]=this.attrs[a]:t.is(this.paper.customAttributes[a],"function")?o[a]=this.paper.customAttributes[a].def:o[a]=t._availableAttrs[a];return u-1?o:o[s[0]]}if(null==i&&t.is(a,"array")){for(o={},l=0,u=a.length;l<u;l++)o[a[l]]=this.attr(a[l]);return o}if(null!=i){var p={};p[a]=i}else null!=a&&t.is(a,"object")&&(p=a);for(var d in p)c("raphael.attr."+d+"."+this.id,this,p[d]);for(d in this.paper.customAttributes)if(this.paper.customAttributes[e](d)&&p[e](d)&&t.is(this.paper.customAttributes[d],"function")){var f=this.paper.customAttributes[d].apply(this,[].concat(p[d]));this.attrs[d]=p[d];for(var m in f)f[e](m)&&(p[m]=f[m])}return E(this,p),this},C.toFront=function(){if(this.removed)return this;var e=N(this.node);e.parentNode.appendChild(e);var a=this.paper;return a.top!=this&&t._tofront(this,a),this},C.toBack=function(){if(this.removed)return this;var e=N(this.node),a=e.parentNode;return a.insertBefore(e,a.firstChild),t._toback(this,this.paper),this.paper,this},C.insertAfter=function(e){if(this.removed||!e)return this;var a=N(this.node),i=N(e.node||e[e.length-1].node);return i.nextSibling?i.parentNode.insertBefore(a,i.nextSibling):i.parentNode.appendChild(a),t._insertafter(this,e,this.paper),this},C.insertBefore=function(e){if(this.removed||!e)return this;var a=N(this.node),i=N(e.node||e[0].node);return i.parentNode.insertBefore(a,i),t._insertbefore(this,e,this.paper),this},C.blur=function(e){var a=this;if(0!==+e){var i=g("filter"),r=g("feGaussianBlur");a.attrs.blur=e,i.id=t.createUUID(),g(r,{stdDeviation:+e||1.5}),i.appendChild(r),a.paper.defs.appendChild(i),a._blur=i,g(a.node,{filter:"url(#"+i.id+")"})}else a._blur&&(a._blur.parentNode.removeChild(a._blur),delete a._blur,delete a.attrs.blur),a.node.removeAttribute("filter");return a},t._engine.circle=function(t,e,a,i){var r=g("circle");t.canvas&&t.canvas.appendChild(r);var n=new S(r,t);return n.attrs={cx:e,cy:a,r:i,fill:"none",stroke:"#000"},n.type="circle",g(r,n.attrs),n},t._engine.rect=function(t,e,a,i,r,n){var s=g("rect");t.canvas&&t.canvas.appendChild(s);var o=new S(s,t);return o.attrs={x:e,y:a,width:i,height:r,rx:n||0,ry:n||0,fill:"none",stroke:"#000"},o.type="rect",g(s,o.attrs),o},t._engine.ellipse=function(t,e,a,i,r){var n=g("ellipse");t.canvas&&t.canvas.appendChild(n);var s=new S(n,t);return s.attrs={cx:e,cy:a,rx:i,ry:r,fill:"none",stroke:"#000"},s.type="ellipse",g(n,s.attrs),s},t._engine.image=function(t,e,a,i,r,n){var s=g("image");g(s,{x:a,y:i,width:r,height:n,preserveAspectRatio:"none"}),s.setAttributeNS(d,"href",e),t.canvas&&t.canvas.appendChild(s);var o=new S(s,t);return o.attrs={x:a,y:i,width:r,height:n,src:e},o.type="image",o},t._engine.text=function(e,a,i,r){var n=g("text");e.canvas&&e.canvas.appendChild(n);var s=new S(n,e);return s.attrs={x:a,y:i,"text-anchor":"middle",text:r,"font-family":t._availableAttrs["font-family"],"font-size":t._availableAttrs["font-size"],stroke:"none",fill:"#000"},s.type="text",E(s,s.attrs),s},t._engine.setSize=function(t,e){return this.width=t||this.width,this.height=e||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},t._engine.create=function(){var e=t._getContainer.apply(0,arguments),a=e&&e.container,i=e.x,r=e.y,n=e.width,s=e.height;if(!a)throw new Error("SVG container not found.");var o,l=g("svg"),h="overflow:hidden;";return i=i||0,r=r||0,n=n||512,s=s||342,g(l,{height:s,version:1.1,width:n,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),1==a?(l.style.cssText=h+"position:absolute;left:"+i+"px;top:"+r+"px",t._g.doc.body.appendChild(l),o=1):(l.style.cssText=h+"position:relative",a.firstChild?a.insertBefore(l,a.firstChild):a.appendChild(l)),a=new t._Paper,a.width=n,a.height=s,a.canvas=l,a.clear(),a._left=a._top=0,o&&(a.renderfix=function(){}),a.renderfix(),a},t._engine.setViewBox=function(t,e,a,i,r){c("raphael.setViewBox",this,this._viewBox,[t,e,a,i,r]);var n,o,l=this.getSize(),h=s(a/l.width,i/l.height),u=this.top,d=r?"xMidYMid meet":"xMinYMin";for(null==t?(this._vbSize&&(h=1),delete this._vbSize,n="0 0 "+this.width+p+this.height):(this._vbSize=h,n=t+p+e+p+a+p+i),g(this.canvas,{viewBox:n,preserveAspectRatio:d});h&&u;)o="stroke-width"in u.attrs?u.attrs["stroke-width"]:1,u.attr({"stroke-width":o}),u._.dirty=1,u._.dirtyT=1,u=u.prev;return this._viewBox=[t,e,a,i,!!r],this},t.prototype.renderfix=function(){var t,e=this.canvas,a=e.style;try{t=e.getScreenCTM()||e.createSVGMatrix()}catch(a){t=e.createSVGMatrix()}var i=-t.e%1,r=-t.f%1;(i||r)&&(i&&(this._left=(this._left+i)%1,a.left=this._left+"px"),r&&(this._top=(this._top+r)%1,a.top=this._top+"px"))},t.prototype.clear=function(){t.eve("raphael.clear",this);for(var e=this.canvas;e.firstChild;)e.removeChild(e.firstChild);this.bottom=this.top=null,(this.desc=g("desc")).appendChild(t._g.doc.createTextNode("Created with Raphaël "+t.version)),e.appendChild(this.desc),e.appendChild(this.defs=g("defs"))},t.prototype.remove=function(){c("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null};var B=t.st;for(var M in C)C[e](M)&&!B[e](M)&&(B[M]=function(t){return function(){var e=arguments;return this.forEach(function(a){a[t].apply(a,e)})}}(M))}}),function(t,a){r=[n],!(o=function(t){return a(t)}.apply(e,r))}(this,function(t){if(!t||t.vml){var e="hasOwnProperty",a=String,i=parseFloat,r=Math,n=r.round,s=r.max,o=r.min,l=r.abs,h="fill",c=/[, ]+/,u=t.eve,p=" progid:DXImageTransform.Microsoft",d=" ",f="",m={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},g=/([clmz]),?([^clmz]*)/gi,v=/ progid:\S+Blur\([^\)]+\)/g,y=/-?[^,\s-]+/g,x="position:absolute;left:0;top:0;width:1px;height:1px;behavior:url(#default#VML)",b=21600,w={path:1,rect:1,image:1},E={circle:1,ellipse:1},_=function(e){var i=/[ahqstv]/gi,r=t._pathToAbsolute;if(a(e).match(i)&&(r=t._path2curve),i=/[clmz]/g,r==t._pathToAbsolute&&!a(e).match(i)){var s=a(e).replace(g,function(t,e,a){var i=[],r="m"==e.toLowerCase(),s=m[e];return a.replace(y,function(t){r&&2==i.length&&(s+=i+m["m"==e?"l":"L"],i=[]),i.push(n(t*b))}),s+i});return s}var o,l,h=r(e);s=[];for(var c=0,u=h.length;c<u;c++){o=h[c],l=h[c][0].toLowerCase(),"z"==l&&(l="x");for(var p=1,v=o.length;p<v;p++)l+=n(o[p]*b)+(p!=v-1?",":f);s.push(l)}return s.join(d)},k=function(e,a,i){var r=t.matrix();return r.rotate(-e,.5,.5),{dx:r.x(a,i),dy:r.y(a,i)}},N=function(t,e,a,i,r,n){var s=t._,o=t.matrix,c=s.fillpos,u=t.node,p=u.style,f=1,m="",g=b/e,v=b/a;if(p.visibility="hidden",e&&a){if(u.coordsize=l(g)+d+l(v),p.rotation=n*(e*a<0?-1:1),n){var y=k(n,i,r);i=y.dx,r=y.dy}if(e<0&&(m+="x"),a<0&&(m+=" y")&&(f=-1),p.flip=m,u.coordorigin=i*-g+d+r*-v,c||s.fillsize){var x=u.getElementsByTagName(h);x=x&&x[0],u.removeChild(x),c&&(y=k(n,o.x(c[0],c[1]),o.y(c[0],c[1])),x.position=y.dx*f+d+y.dy*f),s.fillsize&&(x.size=s.fillsize[0]*l(e)+d+s.fillsize[1]*l(a)),u.appendChild(x)}p.visibility="visible"}};t.toString=function(){return"Your browser doesn’t support SVG. Falling down to VML.\nYou are running Raphaël "+this.version};var S=function(t,e,i){for(var r=a(e).toLowerCase().split("-"),n=i?"end":"start",s=r.length,o="classic",l="medium",h="medium";s--;)switch(r[s]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":o=r[s];break;case"wide":case"narrow":h=r[s];break;case"long":case"short":l=r[s]}var c=t.node.getElementsByTagName("stroke")[0];c[n+"arrow"]=o,c[n+"arrowlength"]=l,c[n+"arrowwidth"]=h},C=function(r,l){r.attrs=r.attrs||{};var u=r.node,p=r.attrs,m=u.style,g=w[r.type]&&(l.x!=p.x||l.y!=p.y||l.width!=p.width||l.height!=p.height||l.cx!=p.cx||l.cy!=p.cy||l.rx!=p.rx||l.ry!=p.ry||l.r!=p.r),v=E[r.type]&&(p.cx!=l.cx||p.cy!=l.cy||p.r!=l.r||p.rx!=l.rx||p.ry!=l.ry),y=r;for(var x in l)l[e](x)&&(p[x]=l[x]);if(g&&(p.path=t._getPath[r.type](r),r._.dirty=1),l.href&&(u.href=l.href),l.title&&(u.title=l.title),l.target&&(u.target=l.target),l.cursor&&(m.cursor=l.cursor),"blur"in l&&r.blur(l.blur),(l.path&&"path"==r.type||g)&&(u.path=_(~a(p.path).toLowerCase().indexOf("r")?t._pathToAbsolute(p.path):p.path),r._.dirty=1,"image"==r.type&&(r._.fillpos=[p.x,p.y],r._.fillsize=[p.width,p.height],N(r,1,1,0,0,0))),"transform"in l&&r.transform(l.transform),v){var k=+p.cx,C=+p.cy,M=+p.rx||+p.r||0,T=+p.ry||+p.r||0;u.path=t.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",n((k-M)*b),n((C-T)*b),n((k+M)*b),n((C+T)*b),n(k*b)),r._.dirty=1}if("clip-rect"in l){var A=a(l["clip-rect"]).split(c);if(4==A.length){A[2]=+A[2]+ +A[0],A[3]=+A[3]+ +A[1];var F=u.clipRect||t._g.doc.createElement("div"),z=F.style;z.clip=t.format("rect({1}px {2}px {3}px {0}px)",A),u.clipRect||(z.position="absolute",z.top=0,z.left=0,z.width=r.paper.width+"px",z.height=r.paper.height+"px",u.parentNode.insertBefore(F,u),F.appendChild(u),u.clipRect=F)}l["clip-rect"]||u.clipRect&&(u.clipRect.style.clip="auto")}if(r.textpath){var P=r.textpath.style;l.font&&(P.font=l.font),l["font-family"]&&(P.fontFamily='"'+l["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,f)+'"'),l["font-size"]&&(P.fontSize=l["font-size"]),l["font-weight"]&&(P.fontWeight=l["font-weight"]),l["font-style"]&&(P.fontStyle=l["font-style"])}if("arrow-start"in l&&S(y,l["arrow-start"]),"arrow-end"in l&&S(y,l["arrow-end"],1),null!=l.opacity||null!=l["stroke-width"]||null!=l.fill||null!=l.src||null!=l.stroke||null!=l["stroke-width"]||null!=l["stroke-opacity"]||null!=l["fill-opacity"]||null!=l["stroke-dasharray"]||null!=l["stroke-miterlimit"]||null!=l["stroke-linejoin"]||null!=l["stroke-linecap"]){var I=u.getElementsByTagName(h),D=!1;if(I=I&&I[0],!I&&(D=I=L(h)),"image"==r.type&&l.src&&(I.src=l.src),l.fill&&(I.on=!0),null!=I.on&&"none"!=l.fill&&null!==l.fill||(I.on=!1),I.on&&l.fill){var R=a(l.fill).match(t._ISURL);if(R){I.parentNode==u&&u.removeChild(I),I.rotate=!0,I.src=R[1],I.type="tile";var H=r.getBBox(1);I.position=H.x+d+H.y,r._.fillpos=[H.x,H.y],t._preload(R[1],function(){r._.fillsize=[this.offsetWidth,this.offsetHeight]})}else I.color=t.getRGB(l.fill).hex,I.src=f,I.type="solid",t.getRGB(l.fill).error&&(y.type in{circle:1,ellipse:1}||"r"!=a(l.fill).charAt())&&B(y,l.fill,I)&&(p.fill="none",p.gradient=l.fill,I.rotate=!1)}if("fill-opacity"in l||"opacity"in l){var j=((+p["fill-opacity"]+1||2)-1)*((+p.opacity+1||2)-1)*((+t.getRGB(l.fill).o+1||2)-1);j=o(s(j,0),1),I.opacity=j,I.src&&(I.color="none")}u.appendChild(I);var Y=u.getElementsByTagName("stroke")&&u.getElementsByTagName("stroke")[0],O=!1;!Y&&(O=Y=L("stroke")),(l.stroke&&"none"!=l.stroke||l["stroke-width"]||null!=l["stroke-opacity"]||l["stroke-dasharray"]||l["stroke-miterlimit"]||l["stroke-linejoin"]||l["stroke-linecap"])&&(Y.on=!0),("none"==l.stroke||null===l.stroke||null==Y.on||0==l.stroke||0==l["stroke-width"])&&(Y.on=!1);var W=t.getRGB(l.stroke);Y.on&&l.stroke&&(Y.color=W.hex),j=((+p["stroke-opacity"]+1||2)-1)*((+p.opacity+1||2)-1)*((+W.o+1||2)-1);var G=.75*(i(l["stroke-width"])||1);if(j=o(s(j,0),1),null==l["stroke-width"]&&(G=p["stroke-width"]),l["stroke-width"]&&(Y.weight=G),G&&G<1&&(j*=G)&&(Y.weight=1),Y.opacity=j,l["stroke-linejoin"]&&(Y.joinstyle=l["stroke-linejoin"]||"miter"),Y.miterlimit=l["stroke-miterlimit"]||8,l["stroke-linecap"]&&(Y.endcap="butt"==l["stroke-linecap"]?"flat":"square"==l["stroke-linecap"]?"square":"round"),"stroke-dasharray"in l){var X={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};Y.dashstyle=X[e](l["stroke-dasharray"])?X[l["stroke-dasharray"]]:f}O&&u.appendChild(Y)}if("text"==y.type){y.paper.canvas.style.display=f;var q=y.paper.span,V=100,U=p.font&&p.font.match(/\d+(?:\.\d*)?(?=px)/);m=q.style,p.font&&(m.font=p.font),p["font-family"]&&(m.fontFamily=p["font-family"]),p["font-weight"]&&(m.fontWeight=p["font-weight"]),p["font-style"]&&(m.fontStyle=p["font-style"]),U=i(p["font-size"]||U&&U[0])||10,m.fontSize=U*V+"px",y.textpath.string&&(q.innerHTML=a(y.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));var $=q.getBoundingClientRect();y.W=p.w=($.right-$.left)/V,y.H=p.h=($.bottom-$.top)/V,y.X=p.x,y.Y=p.y+y.H/2,("x"in l||"y"in l)&&(y.path.v=t.format("m{0},{1}l{2},{1}",n(p.x*b),n(p.y*b),n(p.x*b)+1));for(var Z=["x","y","text","font","font-family","font-weight","font-style","font-size"],Q=0,J=Z.length;Q<J;Q++)if(Z[Q]in l){y._.dirty=1;break}switch(p["text-anchor"]){case"start":y.textpath.style["v-text-align"]="left",y.bbx=y.W/2;break;case"end":y.textpath.style["v-text-align"]="right",y.bbx=-y.W/2;break;default:y.textpath.style["v-text-align"]="center",y.bbx=0}y.textpath.style["v-text-kern"]=!0}},B=function(e,n,s){e.attrs=e.attrs||{};var o=(e.attrs,Math.pow),l="linear",h=".5 .5";if(e.attrs.gradient=n,n=a(n).replace(t._radial_gradient,function(t,e,a){return l="radial",e&&a&&(e=i(e),a=i(a),o(e-.5,2)+o(a-.5,2)>.25&&(a=r.sqrt(.25-o(e-.5,2))*(2*(a>.5)-1)+.5),h=e+d+a),f}),n=n.split(/\s*\-\s*/),"linear"==l){var c=n.shift();if(c=-i(c),isNaN(c))return null}var u=t._parseDots(n);if(!u)return null;if(e=e.shape||e.node,u.length){e.removeChild(s),s.on=!0,s.method="none",s.color=u[0].color,s.color2=u[u.length-1].color;for(var p=[],m=0,g=u.length;m<g;m++)u[m].offset&&p.push(u[m].offset+d+u[m].color);s.colors=p.length?p.join():"0% "+s.color,"radial"==l?(s.type="gradientTitle",s.focus="100%",s.focussize="0 0",s.focusposition=h,s.angle=0):(s.type="gradient",s.angle=(270-c)%360),e.appendChild(s)}return 1},M=function(e,a){this[0]=this.node=e,e.raphael=!0,this.id=t._oid++,e.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=a,this.matrix=t.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!a.bottom&&(a.bottom=this),this.prev=a.top,a.top&&(a.top.next=this),a.top=this,this.next=null},T=t.el;M.prototype=T,T.constructor=M,T.transform=function(e){if(null==e)return this._.transform;var i,r=this.paper._viewBoxShift,n=r?"s"+[r.scale,r.scale]+"-1-1t"+[r.dx,r.dy]:f;r&&(i=e=a(e).replace(/\.{3}|\u2026/g,this._.transform||f)),t._extractTransform(this,n+e);var s,o=this.matrix.clone(),l=this.skew,h=this.node,c=~a(this.attrs.fill).indexOf("-"),u=!a(this.attrs.fill).indexOf("url(");if(o.translate(1,1),u||c||"image"==this.type)if(l.matrix="1 0 0 1",l.offset="0 0",s=o.split(),c&&s.noRotation||!s.isSimple){h.style.filter=o.toFilter();var p=this.getBBox(),m=this.getBBox(1),g=p.x-m.x,v=p.y-m.y;h.coordorigin=g*-b+d+v*-b,N(this,1,1,g,v,0)}else h.style.filter=f,N(this,s.scalex,s.scaley,s.dx,s.dy,s.rotate);else h.style.filter=f,l.matrix=a(o),l.offset=o.offset();return null!==i&&(this._.transform=i,t._extractTransform(this,i)),this},T.rotate=function(t,e,r){if(this.removed)return this;if(null!=t){if(t=a(t).split(c),t.length-1&&(e=i(t[1]),r=i(t[2])),t=i(t[0]),null==r&&(e=r),null==e||null==r){var n=this.getBBox(1);e=n.x+n.width/2,r=n.y+n.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",t,e,r]])),this}},T.translate=function(t,e){return this.removed?this:(t=a(t).split(c),t.length-1&&(e=i(t[1])),t=i(t[0])||0,e=+e||0,this._.bbox&&(this._.bbox.x+=t,this._.bbox.y+=e),this.transform(this._.transform.concat([["t",t,e]])),this)},T.scale=function(t,e,r,n){if(this.removed)return this;if(t=a(t).split(c),t.length-1&&(e=i(t[1]),r=i(t[2]),n=i(t[3]),isNaN(r)&&(r=null),isNaN(n)&&(n=null)),t=i(t[0]),null==e&&(e=t),null==n&&(r=n),null==r||null==n)var s=this.getBBox(1);return r=null==r?s.x+s.width/2:r,n=null==n?s.y+s.height/2:n,this.transform(this._.transform.concat([["s",t,e,r,n]])),this._.dirtyT=1,this},T.hide=function(){return!this.removed&&(this.node.style.display="none"),this},T.show=function(){return!this.removed&&(this.node.style.display=f),this},T.auxGetBBox=t.el.getBBox,T.getBBox=function(){var t=this.auxGetBBox();if(this.paper&&this.paper._viewBoxShift){var e={},a=1/this.paper._viewBoxShift.scale;return e.x=t.x-this.paper._viewBoxShift.dx,e.x*=a,e.y=t.y-this.paper._viewBoxShift.dy,e.y*=a,e.width=t.width*a,e.height=t.height*a,e.x2=e.x+e.width,e.y2=e.y+e.height,e}return t},T._getBBox=function(){return this.removed?{}:{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},T.remove=function(){if(!this.removed&&this.node.parentNode){this.paper.__set__&&this.paper.__set__.exclude(this),t.eve.unbind("raphael.*.*."+this.id),t._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;this.removed=!0}},T.attr=function(a,i){if(this.removed)return this;if(null==a){var r={};for(var n in this.attrs)this.attrs[e](n)&&(r[n]=this.attrs[n]);return r.gradient&&"none"==r.fill&&(r.fill=r.gradient)&&delete r.gradient,r.transform=this._.transform,r}if(null==i&&t.is(a,"string")){if(a==h&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;for(var s=a.split(c),o={},l=0,p=s.length;l<p;l++)a=s[l],a in this.attrs?o[a]=this.attrs[a]:t.is(this.paper.customAttributes[a],"function")?o[a]=this.paper.customAttributes[a].def:o[a]=t._availableAttrs[a];return p-1?o:o[s[0]]}if(this.attrs&&null==i&&t.is(a,"array")){for(o={},l=0,p=a.length;l<p;l++)o[a[l]]=this.attr(a[l]);return o}var d;null!=i&&(d={},d[a]=i),null==i&&t.is(a,"object")&&(d=a);for(var f in d)u("raphael.attr."+f+"."+this.id,this,d[f]);if(d){for(f in this.paper.customAttributes)if(this.paper.customAttributes[e](f)&&d[e](f)&&t.is(this.paper.customAttributes[f],"function")){var m=this.paper.customAttributes[f].apply(this,[].concat(d[f]));this.attrs[f]=d[f];for(var g in m)m[e](g)&&(d[g]=m[g])}d.text&&"text"==this.type&&(this.textpath.string=d.text),C(this,d)}return this},T.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&t._tofront(this,this.paper),this},T.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),t._toback(this,this.paper)),this)},T.insertAfter=function(e){return this.removed?this:(e.constructor==t.st.constructor&&(e=e[e.length-1]),e.node.nextSibling?e.node.parentNode.insertBefore(this.node,e.node.nextSibling):e.node.parentNode.appendChild(this.node),t._insertafter(this,e,this.paper),this)},T.insertBefore=function(e){return this.removed?this:(e.constructor==t.st.constructor&&(e=e[0]),e.node.parentNode.insertBefore(this.node,e.node),t._insertbefore(this,e,this.paper),this)},T.blur=function(e){var a=this.node.runtimeStyle,i=a.filter;return i=i.replace(v,f),0!==+e?(this.attrs.blur=e,a.filter=i+d+p+".Blur(pixelradius="+(+e||1.5)+")",a.margin=t.format("-{0}px 0 0 -{0}px",n(+e||1.5))):(a.filter=i,a.margin=0,delete this.attrs.blur),this},t._engine.path=function(t,e){var a=L("shape");a.style.cssText=x,a.coordsize=b+d+b,a.coordorigin=e.coordorigin;var i=new M(a,e),r={fill:"none",stroke:"#000"};t&&(r.path=t),i.type="path",i.path=[],i.Path=f,C(i,r),e.canvas.appendChild(a);var n=L("skew");return n.on=!0,a.appendChild(n),i.skew=n,i.transform(f),i},t._engine.rect=function(e,a,i,r,n,s){var o=t._rectPath(a,i,r,n,s),l=e.path(o),h=l.attrs;return l.X=h.x=a,l.Y=h.y=i,l.W=h.width=r,l.H=h.height=n,h.r=s,h.path=o,l.type="rect",l},t._engine.ellipse=function(t,e,a,i,r){var n=t.path();return n.attrs,n.X=e-i,n.Y=a-r,n.W=2*i,n.H=2*r,n.type="ellipse",C(n,{cx:e,cy:a,rx:i,ry:r}),n},t._engine.circle=function(t,e,a,i){var r=t.path();return r.attrs,r.X=e-i,r.Y=a-i,r.W=r.H=2*i,r.type="circle",C(r,{cx:e,cy:a,r:i}),r},t._engine.image=function(e,a,i,r,n,s){var o=t._rectPath(i,r,n,s),l=e.path(o).attr({stroke:"none"}),c=l.attrs,u=l.node,p=u.getElementsByTagName(h)[0];return c.src=a,l.X=c.x=i,l.Y=c.y=r,l.W=c.width=n,l.H=c.height=s,c.path=o,l.type="image",p.parentNode==u&&u.removeChild(p),p.rotate=!0,p.src=a,p.type="tile",l._.fillpos=[i,r],l._.fillsize=[n,s],u.appendChild(p),N(l,1,1,0,0,0),l},t._engine.text=function(e,i,r,s){var o=L("shape"),l=L("path"),h=L("textpath");i=i||0,r=r||0,s=s||"",l.v=t.format("m{0},{1}l{2},{1}",n(i*b),n(r*b),n(i*b)+1),l.textpathok=!0,h.string=a(s),h.on=!0,o.style.cssText=x,o.coordsize=b+d+b,o.coordorigin="0 0";var c=new M(o,e),u={fill:"#000",stroke:"none",font:t._availableAttrs.font,text:s};c.shape=o,c.path=l,c.textpath=h,c.type="text",c.attrs.text=a(s),c.attrs.x=i,c.attrs.y=r,c.attrs.w=1,c.attrs.h=1,C(c,u),o.appendChild(h),o.appendChild(l),e.canvas.appendChild(o);var p=L("skew");return p.on=!0,o.appendChild(p),c.skew=p,c.transform(f),c},t._engine.setSize=function(e,a){var i=this.canvas.style;return this.width=e,this.height=a,e==+e&&(e+="px"),a==+a&&(a+="px"),i.width=e,i.height=a,i.clip="rect(0 "+e+" "+a+" 0)",this._viewBox&&t._engine.setViewBox.apply(this,this._viewBox),this},t._engine.setViewBox=function(e,a,i,r,n){t.eve("raphael.setViewBox",this,this._viewBox,[e,a,i,r,n]);var s,o,l=this.getSize(),h=l.width,c=l.height;return n&&(s=c/r,o=h/i,i*s<h&&(e-=(h-i*s)/2/s),r*o<c&&(a-=(c-r*o)/2/o)),this._viewBox=[e,a,i,r,!!n],this._viewBoxShift={dx:-e,dy:-a,scale:l},this.forEach(function(t){t.transform("...")}),this};var L;t._engine.initWin=function(t){var e=t.document;e.styleSheets.length<31?e.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"):e.styleSheets[0].addRule(".rvml","behavior:url(#default#VML)");try{!e.namespaces.rvml&&e.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),L=function(t){return e.createElement("<rvml:"+t+' class="rvml">')}}catch(t){L=function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},t._engine.initWin(t._g.win),t._engine.create=function(){var e=t._getContainer.apply(0,arguments),a=e.container,i=e.height,r=e.width,n=e.x,s=e.y;if(!a)throw new Error("VML container not found.");var o=new t._Paper,l=o.canvas=t._g.doc.createElement("div"),h=l.style;return n=n||0,s=s||0,r=r||512,i=i||342,o.width=r,o.height=i,r==+r&&(r+="px"),i==+i&&(i+="px"),o.coordsize=1e3*b+d+1e3*b,o.coordorigin="0 0",o.span=t._g.doc.createElement("span"),o.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",l.appendChild(o.span),h.cssText=t.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",r,i),1==a?(t._g.doc.body.appendChild(l),h.left=n+"px",h.top=s+"px",h.position="absolute"):a.firstChild?a.insertBefore(l,a.firstChild):a.appendChild(l),o.renderfix=function(){},o},t.prototype.clear=function(){t.eve("raphael.clear",this),this.canvas.innerHTML=f,this.span=t._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},t.prototype.remove=function(){t.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;return!0};var A=t.st;for(var F in T)T[e](F)&&!A[e](F)&&(A[F]=function(t){return function(){var e=arguments;return this.forEach(function(a){a[t].apply(a,e)})}}(F))}}),function(a,i){r=[n,s,o],l=function(t){return a.Raphael=i(t)}.apply(e,r),!(void 0!==l&&(t.exports=l))}(this,function(t){return t.ninja()})},7:function(t,e,a){var i,r,n;(function(s){try{(function(){/* @license
  	morris.js v0.5.1
  	Copyright 2014 Olly Smith All rights reserved.
  	Licensed under the BSD-2-Clause License.
  	*/
  !function(s,o){r=[a(5),a(2)],i=o,n="function"==typeof i?i.apply(e,r):i,!(void 0!==n&&(t.exports=n))}(this,function(t,e){var e,a,i,r,n=[].slice,o=function(t,e){return function(){return t.apply(e,arguments)}},l={}.hasOwnProperty,h=function(t,e){function a(){this.constructor=t}for(var i in e)l.call(e,i)&&(t[i]=e[i]);return a.prototype=e.prototype,t.prototype=new a,t.__super__=e.prototype,t},c=[].indexOf||function(t){for(var e=0,a=this.length;e<a;e++)if(e in this&&this[e]===t)return e;return-1};return a=window.Morris={},e=s,a.EventEmitter=function(){function t(){}return t.prototype.on=function(t,e){return null==this.handlers&&(this.handlers={}),null==this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this},t.prototype.fire=function(){var t,e,a,i,r,s,o;if(a=arguments[0],t=2<=arguments.length?n.call(arguments,1):[],null!=this.handlers&&null!=this.handlers[a]){for(s=this.handlers[a],o=[],i=0,r=s.length;i<r;i++)e=s[i],o.push(e.apply(null,t));return o}},t}(),a.commas=function(t){var e,a,i,r;return null!=t?(i=t<0?"-":"",e=Math.abs(t),a=Math.floor(e).toFixed(0),i+=a.replace(/(?=(?:\d{3})+$)(?!^)/g,","),r=e.toString(),r.length>a.length&&(i+=r.slice(a.length)),i):"-"},a.pad2=function(t){return(t<10?"0":"")+t},a.Grid=function(i){function r(a){this.hasToShow=o(this.hasToShow,this),this.resizeHandler=o(this.resizeHandler,this);var i=this;if("string"==typeof a.element?this.el=e(document.getElementById(a.element)):this.el=e(a.element),null==this.el||0===this.el.length)throw new Error("Graph container element not found");"static"===this.el.css("position")&&this.el.css("position","relative"),this.options=e.extend({},this.gridDefaults,this.defaults||{},a),"string"==typeof this.options.units&&(this.options.postUnits=a.units),this.raphael=new t(this.el[0]),this.elementWidth=null,this.elementHeight=null,this.dirty=!1,this.selectFrom=null,this.init&&this.init(),this.setData(this.options.data),this.el.bind("mousemove",function(t){var e,a,r,n,s;return a=i.el.offset(),s=t.pageX-a.left,i.selectFrom?(e=i.data[i.hitTest(Math.min(s,i.selectFrom))]._x,r=i.data[i.hitTest(Math.max(s,i.selectFrom))]._x,n=r-e,i.selectionRect.attr({x:e,width:n})):i.fire("hovermove",s,t.pageY-a.top)}),this.el.bind("mouseleave",function(t){return i.selectFrom&&(i.selectionRect.hide(),i.selectFrom=null),i.fire("hoverout")}),this.el.bind("touchstart touchmove touchend",function(t){var e,a;return a=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],e=i.el.offset(),i.fire("hovermove",a.pageX-e.left,a.pageY-e.top)}),this.el.bind("click",function(t){var e;return e=i.el.offset(),i.fire("gridclick",t.pageX-e.left,t.pageY-e.top)}),this.options.rangeSelect&&(this.selectionRect=this.raphael.rect(0,0,0,this.el.innerHeight()).attr({fill:this.options.rangeSelectColor,stroke:!1}).toBack().hide(),this.el.bind("mousedown",function(t){var e;return e=i.el.offset(),i.startRange(t.pageX-e.left)}),this.el.bind("mouseup",function(t){var e;return e=i.el.offset(),i.endRange(t.pageX-e.left),i.fire("hovermove",t.pageX-e.left,t.pageY-e.top)})),this.options.resize&&e(window).bind("resize",function(t){return null!=i.timeoutId&&window.clearTimeout(i.timeoutId),i.timeoutId=window.setTimeout(i.resizeHandler,100)}),this.el.css("-webkit-tap-highlight-color","rgba(0,0,0,0)"),this.postInit&&this.postInit()}return h(r,i),r.prototype.gridDefaults={dateFormat:null,axes:!0,grid:!0,gridLineColor:"#aaa",gridStrokeWidth:.5,gridTextColor:"#888",gridTextSize:12,gridTextFamily:"sans-serif",gridTextWeight:"normal",hideHover:!1,yLabelFormat:null,xLabelAngle:0,numLines:5,padding:25,parseTime:!0,postUnits:"",preUnits:"",ymax:"auto",ymin:"auto 0",goals:[],goalStrokeWidth:1,goalLineColors:["#666633","#999966","#cc6666","#663333"],events:[],eventStrokeWidth:1,eventLineColors:["#005a04","#ccffbb","#3a5f0b","#005502"],rangeSelect:null,rangeSelectColor:"#eef",resize:!1},r.prototype.setData=function(t,i){var r,n,s,o,l,h,c,u,p,d,f,m,g,v,y,x,b,w,E,_,k;if(null==i&&(i=!0),this.options.data=t,null==t||0===t.length)return this.data=[],this.raphael.clear(),void(null!=this.hover&&this.hover.hide());if(y=this.cumulative?0:null,x=this.cumulative?0:null,this.options.goals.length>0&&(c=Math.min.apply(Math,this.options.goals),h=Math.max.apply(Math,this.options.goals),x=null!=x?Math.min(x,c):c,y=null!=y?Math.max(y,h):h),this.data=function(){var e,i,r;for(r=[],l=e=0,i=t.length;e<i;l=++e)p=t[l],u={src:p},u.label=p[this.options.xkey],this.options.parseTime?(u.x=a.parseDate(u.label),this.options.dateFormat?u.label=this.options.dateFormat(u.x):"number"==typeof u.label&&(u.label=new Date(u.label).toString())):(u.x=l,this.options.xLabelFormat&&(u.label=this.options.xLabelFormat(u))),m=0,u.y=function(){var t,e,a,i;for(a=this.options.ykeys,i=[],o=t=0,e=a.length;t<e;o=++t)v=a[o],b=p[v],"string"==typeof b&&(b=parseFloat(b)),null!=b&&"number"!=typeof b&&(b=null),null!=b&&this.hasToShow(o)&&(this.cumulative?m+=b:null!=y?(y=Math.max(b,y),x=Math.min(b,x)):y=x=b),this.cumulative&&null!=m&&(y=Math.max(m,y),x=Math.min(m,x)),i.push(b);return i}.call(this),r.push(u);return r}.call(this),this.options.parseTime&&(this.data=this.data.sort(function(t,e){return(t.x>e.x)-(e.x>t.x)})),this.xmin=this.data[0].x,this.xmax=this.data[this.data.length-1].x,this.events=[],this.options.events.length>0){if(this.options.parseTime)for(_=this.options.events,w=0,E=_.length;w<E;w++)r=_[w],r instanceof Array?(s=r[0],f=r[1],this.events.push([a.parseDate(s),a.parseDate(f)])):this.events.push(a.parseDate(r));else this.events=this.options.events;n=e.map(this.events,function(t){return t}),this.xmax=Math.max(this.xmax,Math.max.apply(Math,n)),this.xmin=Math.min(this.xmin,Math.min.apply(Math,n))}return this.xmin===this.xmax&&(this.xmin-=1,this.xmax+=1),this.ymin=this.yboundary("min",x),this.ymax=this.yboundary("max",y),this.ymin===this.ymax&&(x&&(this.ymin-=1),this.ymax+=1),(k=this.options.axes)!==!0&&"both"!==k&&"y"!==k&&this.options.grid!==!0||(this.options.ymax===this.gridDefaults.ymax&&this.options.ymin===this.gridDefaults.ymin?(this.grid=this.autoGridLines(this.ymin,this.ymax,this.options.numLines),this.ymin=Math.min(this.ymin,this.grid[0]),this.ymax=Math.max(this.ymax,this.grid[this.grid.length-1])):(d=(this.ymax-this.ymin)/(this.options.numLines-1),this.grid=function(){var t,e,a,i;for(i=[],g=t=e=this.ymin,a=this.ymax;d>0?t<=a:t>=a;g=t+=d)i.push(g);return i}.call(this))),this.dirty=!0,i?this.redraw():void 0},r.prototype.yboundary=function(t,e){var a,i;return a=this.options["y"+t],"string"==typeof a?"auto"===a.slice(0,4)?a.length>5?(i=parseInt(a.slice(5),10),null==e?i:Math[t](e,i)):null!=e?e:0:parseInt(a,10):a},r.prototype.autoGridLines=function(t,e,a){var i,r,n,s,o,l,h,c,u;return o=e-t,u=Math.floor(Math.log(o)/Math.log(10)),h=Math.pow(10,u),r=Math.floor(t/h)*h,i=Math.ceil(e/h)*h,l=(i-r)/(a-1),1===h&&l>1&&Math.ceil(l)!==l&&(l=Math.ceil(l),i=r+l*(a-1)),r<0&&i>0&&(r=Math.floor(t/l)*l,i=Math.ceil(e/l)*l),l<1?(s=Math.floor(Math.log(l)/Math.log(10)),n=function(){var t,e;for(e=[],c=t=r;l>0?t<=i:t>=i;c=t+=l)e.push(parseFloat(c.toFixed(1-s)));return e}()):n=function(){var t,e;for(e=[],c=t=r;l>0?t<=i:t>=i;c=t+=l)e.push(c);return e}(),n},r.prototype._calc=function(){var t,e,a,i,r,n,s,o,l;if(n=this.el.width(),i=this.el.height(),(this.elementWidth!==n||this.elementHeight!==i||this.dirty)&&(this.elementWidth=n,this.elementHeight=i,this.dirty=!1,this.left=this.options.padding,this.right=this.elementWidth-this.options.padding,this.top=this.options.padding,this.bottom=this.elementHeight-this.options.padding,(o=this.options.axes)!==!0&&"both"!==o&&"y"!==o||(s=function(){var t,e,i,r;for(i=this.grid,r=[],t=0,e=i.length;t<e;t++)a=i[t],r.push(this.measureText(this.yAxisFormat(a)).width);return r}.call(this),this.options.horizontal?this.bottom-=Math.max.apply(Math,s):this.left+=Math.max.apply(Math,s)),(l=this.options.axes)!==!0&&"both"!==l&&"x"!==l||(t=this.options.horizontal?-90:-this.options.xLabelAngle,e=function(){var e,a,i;for(i=[],r=e=0,a=this.data.length;0<=a?e<a:e>a;r=0<=a?++e:--e)i.push(this.measureText(this.data[r].label,t).height);return i}.call(this),this.options.horizontal?this.left+=Math.max.apply(Math,e):this.bottom-=Math.max.apply(Math,e)),this.width=Math.max(1,this.right-this.left),this.height=Math.max(1,this.bottom-this.top),this.options.horizontal?(this.dx=this.height/(this.xmax-this.xmin),this.dy=this.width/(this.ymax-this.ymin),this.yStart=this.left,this.yEnd=this.right,this.xStart=this.top,this.xEnd=this.bottom,this.xSize=this.height,this.ySize=this.width):(this.dx=this.width/(this.xmax-this.xmin),this.dy=this.height/(this.ymax-this.ymin),this.yStart=this.bottom,this.yEnd=this.top,this.xStart=this.left,this.xEnd=this.right,this.xSize=this.width,this.ySize=this.height),this.calc))return this.calc()},r.prototype.transY=function(t){return this.options.horizontal?this.left+(t-this.ymin)*this.dy:this.bottom-(t-this.ymin)*this.dy},r.prototype.transX=function(t){return 1===this.data.length?(this.xStart+this.xEnd)/2:this.xStart+(t-this.xmin)*this.dx},r.prototype.redraw=function(){if(this.raphael.clear(),this._calc(),this.drawGrid(),this.drawGoals(),this.drawEvents(),this.draw)return this.draw()},r.prototype.measureText=function(t,e){var a,i;return null==e&&(e=0),i=this.raphael.text(100,100,t).attr("font-size",this.options.gridTextSize).attr("font-family",this.options.gridTextFamily).attr("font-weight",this.options.gridTextWeight).rotate(e),a=i.getBBox(),i.remove(),a},r.prototype.yAxisFormat=function(t){return this.yLabelFormat(t,0)},r.prototype.yLabelFormat=function(t,e){return"function"==typeof this.options.yLabelFormat?this.options.yLabelFormat(t,e):""+this.options.preUnits+a.commas(t)+this.options.postUnits},r.prototype.getYAxisLabelX=function(){return this.left-this.options.padding/2},r.prototype.drawGrid=function(){var t,e,a,i,r,n,s,o,l;if(this.options.grid!==!1||(n=this.options.axes)===!0||"both"===n||"y"===n){for(t=this.options.horizontal?this.getXAxisLabelY():this.getYAxisLabelX(),s=this.grid,l=[],i=0,r=s.length;i<r;i++)e=s[i],a=this.transY(e),(o=this.options.axes)!==!0&&"both"!==o&&"y"!==o||(this.options.horizontal?this.drawXAxisLabel(a,t,this.yAxisFormat(e)):this.drawYAxisLabel(t,a,this.yAxisFormat(e))),this.options.grid?(a=Math.floor(a)+.5,this.options.horizontal?l.push(this.drawGridLine("M"+a+","+this.xStart+"V"+this.xEnd)):l.push(this.drawGridLine("M"+this.xStart+","+a+"H"+this.xEnd))):l.push(void 0);return l}},r.prototype.drawGoals=function(){var t,e,a,i,r,n,s;for(n=this.options.goals,s=[],a=i=0,r=n.length;i<r;a=++i)e=n[a],t=this.options.goalLineColors[a%this.options.goalLineColors.length],s.push(this.drawGoal(e,t));return s},r.prototype.drawEvents=function(){var t,e,a,i,r,n,s;for(n=this.events,s=[],a=i=0,r=n.length;i<r;a=++i)e=n[a],t=this.options.eventLineColors[a%this.options.eventLineColors.length],s.push(this.drawEvent(e,t));return s},r.prototype.drawGoal=function(t,e){var a,i;return i=Math.floor(this.transY(t))+.5,a=this.options.horizontal?"M"+i+","+this.xStart+"V"+this.xEnd:"M"+this.xStart+","+i+"H"+this.xEnd,this.raphael.path(a).attr("stroke",e).attr("stroke-width",this.options.goalStrokeWidth)},r.prototype.drawEvent=function(t,e){var a,i,r,n;return t instanceof Array?(a=t[0],r=t[1],a=Math.floor(this.transX(a))+.5,r=Math.floor(this.transX(r))+.5,this.options.horizontal?this.raphael.rect(this.yStart,a,this.yEnd-this.yStart,r-a).attr({fill:e,stroke:!1}).toBack():this.raphael.rect(a,this.yEnd,r-a,this.yStart-this.yEnd).attr({fill:e,stroke:!1}).toBack()):(n=Math.floor(this.transX(t))+.5,i=this.options.horizontal?"M"+this.yStart+","+n+"H"+this.yEnd:"M"+n+","+this.yStart+"V"+this.yEnd,this.raphael.path(i).attr("stroke",e).attr("stroke-width",this.options.eventStrokeWidth))},r.prototype.drawYAxisLabel=function(t,e,a){return this.raphael.text(t,e,a).attr("font-size",this.options.gridTextSize).attr("font-family",this.options.gridTextFamily).attr("font-weight",this.options.gridTextWeight).attr("fill",this.options.gridTextColor).attr("text-anchor","end")},r.prototype.drawGridLine=function(t){return this.raphael.path(t).attr("stroke",this.options.gridLineColor).attr("stroke-width",this.options.gridStrokeWidth)},r.prototype.startRange=function(t){return this.hover.hide(),this.selectFrom=t,this.selectionRect.attr({x:t,width:0}).show()},r.prototype.endRange=function(t){var e,a;if(this.selectFrom)return a=Math.min(this.selectFrom,t),e=Math.max(this.selectFrom,t),this.options.rangeSelect.call(this.el,{start:this.data[this.hitTest(a)].x,end:this.data[this.hitTest(e)].x}),this.selectFrom=null},r.prototype.resizeHandler=function(){return this.timeoutId=null,this.raphael.setSize(this.el.width(),this.el.height()),this.redraw()},r.prototype.hasToShow=function(t){return this.options.shown===!0||this.options.shown[t]===!0},r}(a.EventEmitter),a.parseDate=function(t){var e,a,i,r,n,s,o,l,h,c,u;return"number"==typeof t?t:(a=t.match(/^(\d+) Q(\d)$/),r=t.match(/^(\d+)-(\d+)$/),n=t.match(/^(\d+)-(\d+)-(\d+)$/),o=t.match(/^(\d+) W(\d+)$/),l=t.match(/^(\d+)-(\d+)-(\d+)[ T](\d+):(\d+)(Z|([+-])(\d\d):?(\d\d))?$/),h=t.match(/^(\d+)-(\d+)-(\d+)[ T](\d+):(\d+):(\d+(\.\d+)?)(Z|([+-])(\d\d):?(\d\d))?$/),a?new Date(parseInt(a[1],10),3*parseInt(a[2],10)-1,1).getTime():r?new Date(parseInt(r[1],10),parseInt(r[2],10)-1,1).getTime():n?new Date(parseInt(n[1],10),parseInt(n[2],10)-1,parseInt(n[3],10)).getTime():o?(c=new Date(parseInt(o[1],10),0,1),4!==c.getDay()&&c.setMonth(0,1+(4-c.getDay()+7)%7),c.getTime()+6048e5*parseInt(o[2],10)):l?l[6]?(s=0,"Z"!==l[6]&&(s=60*parseInt(l[8],10)+parseInt(l[9],10),"+"===l[7]&&(s=0-s)),Date.UTC(parseInt(l[1],10),parseInt(l[2],10)-1,parseInt(l[3],10),parseInt(l[4],10),parseInt(l[5],10)+s)):new Date(parseInt(l[1],10),parseInt(l[2],10)-1,parseInt(l[3],10),parseInt(l[4],10),parseInt(l[5],10)).getTime():h?(u=parseFloat(h[6]),e=Math.floor(u),i=Math.round(1e3*(u-e)),h[8]?(s=0,"Z"!==h[8]&&(s=60*parseInt(h[10],10)+parseInt(h[11],10),"+"===h[9]&&(s=0-s)),Date.UTC(parseInt(h[1],10),parseInt(h[2],10)-1,parseInt(h[3],10),parseInt(h[4],10),parseInt(h[5],10)+s,e,i)):new Date(parseInt(h[1],10),parseInt(h[2],10)-1,parseInt(h[3],10),parseInt(h[4],10),parseInt(h[5],10),e,i).getTime()):new Date(parseInt(t,10),0,1).getTime())},a.Hover=function(){function t(t){null==t&&(t={}),this.options=e.extend({},a.Hover.defaults,t),this.el=e("<div class='"+this.options.class+"'></div>"),this.el.hide(),this.options.parent.append(this.el)}return t.defaults={class:"morris-hover morris-default-style"},t.prototype.update=function(t,e,a,i){return t?(this.html(t),this.show(),this.moveTo(e,a,i)):this.hide()},t.prototype.html=function(t){return this.el.html(t)},t.prototype.moveTo=function(t,e,a){var i,r,n,s,o,l;return o=this.options.parent.innerWidth(),s=this.options.parent.innerHeight(),r=this.el.outerWidth(),i=this.el.outerHeight(),n=Math.min(Math.max(0,t-r/2),o-r),null!=e?a===!0?(l=e-i/2,l<0&&(l=0)):(l=e-i-10,l<0&&(l=e+10,l+i>s&&(l=s/2-i/2))):l=s/2-i/2,this.el.css({left:n+"px",top:parseInt(l)+"px"})},t.prototype.show=function(){return this.el.show()},t.prototype.hide=function(){return this.el.hide()},t}(),a.Line=function(i){function r(t){return this.hilight=o(this.hilight,this),this.onHoverOut=o(this.onHoverOut,this),this.onHoverMove=o(this.onHoverMove,this),this.onGridClick=o(this.onGridClick,this),this instanceof a.Line?void r.__super__.constructor.call(this,t):new a.Line(t)}return h(r,i),r.prototype.init=function(){if("always"!==this.options.hideHover)return this.hover=new a.Hover({parent:this.el}),this.on("hovermove",this.onHoverMove),this.on("hoverout",this.onHoverOut),this.on("gridclick",this.onGridClick)},r.prototype.defaults={lineWidth:3,pointSize:4,lineColors:["#0b62a4","#7A92A3","#4da74d","#afd8f8","#edc240","#cb4b4b","#9440ed"],pointStrokeWidths:[1],pointStrokeColors:["#ffffff"],pointFillColors:[],smooth:!0,shown:!0,xLabels:"auto",xLabelFormat:null,xLabelMargin:24,hideHover:!1,trendLine:!1,trendLineWidth:2,trendLineColors:["#689bc3","#a2b3bf","#64b764"]},r.prototype.calc=function(){return this.calcPoints(),this.generatePaths()},r.prototype.calcPoints=function(){var t,e,a,i,r,n;for(r=this.data,n=[],a=0,i=r.length;a<i;a++)t=r[a],t._x=this.transX(t.x),t._y=function(){var a,i,r,n;for(r=t.y,n=[],a=0,i=r.length;a<i;a++)e=r[a],null!=e?n.push(this.transY(e)):n.push(e);return n}.call(this),n.push(t._ymax=Math.min.apply(Math,[this.bottom].concat(function(){var a,i,r,n;for(r=t._y,n=[],a=0,i=r.length;a<i;a++)e=r[a],null!=e&&n.push(e);return n}())));return n},r.prototype.hitTest=function(t){var e,a,i,r,n;if(0===this.data.length)return null;for(n=this.data.slice(1),e=i=0,r=n.length;i<r&&(a=n[e],!(t<(a._x+this.data[e]._x)/2));e=++i);return e},r.prototype.onGridClick=function(t,e){var a;return a=this.hitTest(t),this.fire("click",a,this.data[a].src,t,e)},r.prototype.onHoverMove=function(t,e){var a;return a=this.hitTest(t),this.displayHoverForRow(a)},r.prototype.onHoverOut=function(){if(this.options.hideHover!==!1)return this.displayHoverForRow(null)},r.prototype.displayHoverForRow=function(t){var e;return null!=t?((e=this.hover).update.apply(e,this.hoverContentForRow(t)),this.hilight(t)):(this.hover.hide(),this.hilight())},r.prototype.hoverContentForRow=function(t){var a,i,r,n,s,o,l;for(r=this.data[t],a=e("<div class='morris-hover-row-label'>").text(r.label),a=a.prop("outerHTML"),l=r.y,i=s=0,o=l.length;s<o;i=++s)n=l[i],this.options.labels[i]!==!1&&(a+="<div class='morris-hover-point' style='color: "+this.colorFor(r,i,"label")+"'>\n  "+this.options.labels[i]+":\n  "+this.yLabelFormat(n,i)+"\n</div>");return"function"==typeof this.options.hoverCallback&&(a=this.options.hoverCallback(t,this.options,a,r.src)),[a,r._x,r._ymax]},r.prototype.generatePaths=function(){var t,e,i,r;return this.paths=function(){var n,s,o,l;for(l=[],e=n=0,s=this.options.ykeys.length;0<=s?n<s:n>s;e=0<=s?++n:--n)r="boolean"==typeof this.options.smooth?this.options.smooth:(o=this.options.ykeys[e],c.call(this.options.smooth,o)>=0),t=function(){var t,a,r,n;for(r=this.data,n=[],t=0,a=r.length;t<a;t++)i=r[t],void 0!==i._y[e]&&n.push({x:i._x,y:i._y[e]});return n}.call(this),t.length>1?l.push(a.Line.createPath(t,r,this.bottom)):l.push(null);return l}.call(this)},r.prototype.draw=function(){var t;if((t=this.options.axes)!==!0&&"both"!==t&&"x"!==t||this.drawXAxis(),this.drawSeries(),this.options.hideHover===!1)return this.displayHoverForRow(this.data.length-1)},r.prototype.drawXAxis=function(){var t,e,i,r,n,s,o,l,h,c,u=this;for(o=this.bottom+this.options.padding/2,n=null,r=null,t=function(t,e){var a,i,s,l,h;return a=u.drawXAxisLabel(u.transX(e),o,t),h=a.getBBox(),a.transform("r"+-u.options.xLabelAngle),i=a.getBBox(),a.transform("t0,"+i.height/2+"..."),0!==u.options.xLabelAngle&&(l=-.5*h.width*Math.cos(u.options.xLabelAngle*Math.PI/180),a.transform("t"+l+",0...")),i=a.getBBox(),(null==n||n>=i.x+i.width||null!=r&&r>=i.x)&&i.x>=0&&i.x+i.width<u.el.width()?(0!==u.options.xLabelAngle&&(s=1.25*u.options.gridTextSize/Math.sin(u.options.xLabelAngle*Math.PI/180),r=i.x-s),n=i.x-u.options.xLabelMargin):a.remove()},i=this.options.parseTime?1===this.data.length&&"auto"===this.options.xLabels?[[this.data[0].label,this.data[0].x]]:a.labelSeries(this.xmin,this.xmax,this.width,this.options.xLabels,this.options.xLabelFormat):function(){var t,e,a,i;for(a=this.data,i=[],t=0,e=a.length;t<e;t++)s=a[t],i.push([s.label,s.x]);return i}.call(this),i.reverse(),c=[],l=0,h=i.length;l<h;l++)e=i[l],c.push(t(e[0],e[1]));return c},r.prototype.drawSeries=function(){var t,e,a,i,r,n;for(this.seriesPoints=[],t=e=i=this.options.ykeys.length-1;i<=0?e<=0:e>=0;t=i<=0?++e:--e)this.hasToShow(t)&&((this.options.trendLine!==!1&&this.options.trendLine===!0||this.options.trendLine[t]===!0)&&this._drawTrendLine(t),this._drawLineFor(t));for(n=[],t=a=r=this.options.ykeys.length-1;r<=0?a<=0:a>=0;t=r<=0?++a:--a)this.hasToShow(t)?n.push(this._drawPointFor(t)):n.push(void 0);return n},r.prototype._drawPointFor=function(t){var e,a,i,r,n,s;for(this.seriesPoints[t]=[],n=this.data,s=[],i=0,r=n.length;i<r;i++)a=n[i],e=null,null!=a._y[t]&&(e=this.drawLinePoint(a._x,a._y[t],this.colorFor(a,t,"point"),t)),s.push(this.seriesPoints[t].push(e));return s},r.prototype._drawLineFor=function(t){var e;if(e=this.paths[t],null!==e)return this.drawLinePath(e,this.colorFor(null,t,"line"),t)},r.prototype._drawTrendLine=function(t){var e,i,r,n,s,o,l,h,c,u,p,d,f,m,g;for(o=0,c=0,l=0,h=0,n=0,g=this.data,f=0,m=g.length;f<m;f++)u=g[f],p=u.x,d=u.y[t],void 0!==d&&(n+=1,o+=p,c+=d,l+=p*p,h+=p*d);return e=(n*h-o*c)/(n*l-o*o),i=c/n-e*o/n,r=[{},{}],r[0].x=this.transX(this.data[0].x),r[0].y=this.transY(this.data[0].x*e+i),r[1].x=this.transX(this.data[this.data.length-1].x),r[1].y=this.transY(this.data[this.data.length-1].x*e+i),s=a.Line.createPath(r,!1,this.bottom),s=this.raphael.path(s).attr("stroke",this.colorFor(null,t,"trendLine")).attr("stroke-width",this.options.trendLineWidth)},r.createPath=function(t,e,i){var r,n,s,o,l,h,c,u,p,d,f,m,g,v;for(c="",e&&(s=a.Line.gradients(t)),u={y:null},o=g=0,v=t.length;g<v;o=++g)r=t[o],null!=r.y&&(null!=u.y?e?(n=s[o],h=s[o-1],l=(r.x-u.x)/4,p=u.x+l,f=Math.min(i,u.y+l*h),d=r.x-l,m=Math.min(i,r.y-l*n),c+="C"+p+","+f+","+d+","+m+","+r.x+","+r.y):c+="L"+r.x+","+r.y:e&&null==s[o]||(c+="M"+r.x+","+r.y)),u=r;return c},r.gradients=function(t){var e,a,i,r,n,s,o,l;for(a=function(t,e){return(t.y-e.y)/(t.x-e.x)},l=[],i=s=0,o=t.length;s<o;i=++s)e=t[i],null!=e.y?(r=t[i+1]||{y:null},n=t[i-1]||{y:null},null!=n.y&&null!=r.y?l.push(a(n,r)):null!=n.y?l.push(a(n,e)):null!=r.y?l.push(a(e,r)):l.push(null)):l.push(null);return l},r.prototype.hilight=function(t){var e,a,i,r,n;if(null!==this.prevHilight&&this.prevHilight!==t)for(e=a=0,r=this.seriesPoints.length-1;0<=r?a<=r:a>=r;e=0<=r?++a:--a)this.seriesPoints[e][this.prevHilight]&&this.seriesPoints[e][this.prevHilight].animate(this.pointShrinkSeries(e));if(null!==t&&this.prevHilight!==t)for(e=i=0,n=this.seriesPoints.length-1;0<=n?i<=n:i>=n;e=0<=n?++i:--i)this.seriesPoints[e][t]&&this.seriesPoints[e][t].animate(this.pointGrowSeries(e));return this.prevHilight=t},r.prototype.colorFor=function(t,e,a){return"function"==typeof this.options.lineColors?this.options.lineColors.call(this,t,e,a):"point"===a?this.options.pointFillColors[e%this.options.pointFillColors.length]||this.options.lineColors[e%this.options.lineColors.length]:"line"===a?this.options.lineColors[e%this.options.lineColors.length]:this.options.trendLineColors[e%this.options.trendLineColors.length]},r.prototype.drawXAxisLabel=function(t,e,a){return this.raphael.text(t,e,a).attr("font-size",this.options.gridTextSize).attr("font-family",this.options.gridTextFamily).attr("font-weight",this.options.gridTextWeight).attr("fill",this.options.gridTextColor)},r.prototype.drawLinePath=function(t,e,a){return this.raphael.path(t).attr("stroke",e).attr("stroke-width",this.lineWidthForSeries(a))},r.prototype.drawLinePoint=function(t,e,a,i){return this.raphael.circle(t,e,this.pointSizeForSeries(i)).attr("fill",a).attr("stroke-width",this.pointStrokeWidthForSeries(i)).attr("stroke",this.pointStrokeColorForSeries(i))},r.prototype.pointStrokeWidthForSeries=function(t){return this.options.pointStrokeWidths[t%this.options.pointStrokeWidths.length]},r.prototype.pointStrokeColorForSeries=function(t){return this.options.pointStrokeColors[t%this.options.pointStrokeColors.length]},r.prototype.lineWidthForSeries=function(t){return this.options.lineWidth instanceof Array?this.options.lineWidth[t%this.options.lineWidth.length]:this.options.lineWidth},r.prototype.pointSizeForSeries=function(t){return this.options.pointSize instanceof Array?this.options.pointSize[t%this.options.pointSize.length]:this.options.pointSize},r.prototype.pointGrowSeries=function(e){if(0!==this.pointSizeForSeries(e))return t.animation({r:this.pointSizeForSeries(e)+3},25,"linear")},r.prototype.pointShrinkSeries=function(e){return t.animation({r:this.pointSizeForSeries(e)},25,"linear")},r}(a.Grid),a.labelSeries=function(t,i,r,n,s){var o,l,h,c,u,p,d,f,m,g,v;if(h=200*(i-t)/r,l=new Date(t),d=a.LABEL_SPECS[n],void 0===d)for(v=a.AUTO_LABEL_ORDER,m=0,g=v.length;m<g;m++)if(c=v[m],p=a.LABEL_SPECS[c],h>=p.span){d=p;break}for(void 0===d&&(d=a.LABEL_SPECS.second),s&&(d=e.extend({},d,{fmt:s})),o=d.start(l),u=[];(f=o.getTime())<=i;)f>=t&&u.push([d.fmt(o),f]),d.incr(o);return u},i=function(t){return{span:60*t*1e3,start:function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours())},fmt:function(t){return""+a.pad2(t.getHours())+":"+a.pad2(t.getMinutes())},incr:function(e){return e.setUTCMinutes(e.getUTCMinutes()+t)}}},r=function(t){return{span:1e3*t,start:function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes())},fmt:function(t){return""+a.pad2(t.getHours())+":"+a.pad2(t.getMinutes())+":"+a.pad2(t.getSeconds())},incr:function(e){return e.setUTCSeconds(e.getUTCSeconds()+t)}}},a.LABEL_SPECS={decade:{span:1728e8,start:function(t){return new Date(t.getFullYear()-t.getFullYear()%10,0,1)},fmt:function(t){return""+t.getFullYear()},incr:function(t){return t.setFullYear(t.getFullYear()+10)}},year:{span:1728e7,start:function(t){return new Date(t.getFullYear(),0,1)},fmt:function(t){return""+t.getFullYear()},incr:function(t){return t.setFullYear(t.getFullYear()+1)}},month:{span:24192e5,start:function(t){return new Date(t.getFullYear(),t.getMonth(),1)},fmt:function(t){return""+t.getFullYear()+"-"+a.pad2(t.getMonth()+1)},incr:function(t){return t.setMonth(t.getMonth()+1)}},week:{span:6048e5,start:function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate())},fmt:function(t){return""+t.getFullYear()+"-"+a.pad2(t.getMonth()+1)+"-"+a.pad2(t.getDate())},incr:function(t){return t.setDate(t.getDate()+7)}},day:{span:864e5,start:function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate())},fmt:function(t){return""+t.getFullYear()+"-"+a.pad2(t.getMonth()+1)+"-"+a.pad2(t.getDate())},incr:function(t){return t.setDate(t.getDate()+1)}},hour:i(60),"30min":i(30),"15min":i(15),"10min":i(10),"5min":i(5),minute:i(1),"30sec":r(30),"15sec":r(15),"10sec":r(10),"5sec":r(5),second:r(1)},a.AUTO_LABEL_ORDER=["decade","year","month","week","day","hour","30min","15min","10min","5min","minute","30sec","15sec","10sec","5sec","second"],a.Area=function(i){function r(t){var i;return this instanceof a.Area?(i=e.extend({},n,t),this.cumulative=!i.behaveLikeLine,"auto"===i.fillOpacity&&(i.fillOpacity=i.behaveLikeLine?.8:1),void r.__super__.constructor.call(this,i)):new a.Area(t)}var n;return h(r,i),n={fillOpacity:"auto",behaveLikeLine:!1},r.prototype.calcPoints=function(){var t,e,a,i,r,n,s;for(n=this.data,s=[],i=0,r=n.length;i<r;i++)t=n[i],t._x=this.transX(t.x),e=0,t._y=function(){var i,r,n,s;for(n=t.y,s=[],i=0,r=n.length;i<r;i++)a=n[i],this.options.behaveLikeLine?s.push(this.transY(a)):(e+=a||0,s.push(this.transY(e)));return s}.call(this),s.push(t._ymax=Math.max.apply(Math,t._y));return s},r.prototype.drawSeries=function(){var t,e,a,i,r,n,s,o;for(this.seriesPoints=[],e=this.options.behaveLikeLine?function(){n=[];for(var t=0,e=this.options.ykeys.length-1;0<=e?t<=e:t>=e;0<=e?t++:t--)n.push(t);return n}.apply(this):function(){s=[];for(var t=r=this.options.ykeys.length-1;r<=0?t<=0:t>=0;r<=0?t++:t--)s.push(t);return s}.apply(this),o=[],a=0,i=e.length;a<i;a++)t=e[a],this._drawFillFor(t),this._drawLineFor(t),o.push(this._drawPointFor(t));return o},r.prototype._drawFillFor=function(t){var e;if(e=this.paths[t],null!==e)return e+="L"+this.transX(this.xmax)+","+this.bottom+"L"+this.transX(this.xmin)+","+this.bottom+"Z",this.drawFilledPath(e,this.fillForSeries(t))},r.prototype.fillForSeries=function(e){var a;return a=t.rgb2hsl(this.colorFor(this.data[e],e,"line")),t.hsl(a.h,this.options.behaveLikeLine?.9*a.s:.75*a.s,Math.min(.98,this.options.behaveLikeLine?1.2*a.l:1.25*a.l))},r.prototype.drawFilledPath=function(t,e){return this.raphael.path(t).attr("fill",e).attr("fill-opacity",this.options.fillOpacity).attr("stroke","none")},r}(a.Line),a.Bar=function(t){function i(t){return this.onHoverOut=o(this.onHoverOut,this),this.onHoverMove=o(this.onHoverMove,this),this.onGridClick=o(this.onGridClick,this),this instanceof a.Bar?void i.__super__.constructor.call(this,e.extend({},t,{parseTime:!1})):new a.Bar(t)}return h(i,t),i.prototype.init=function(){if(this.cumulative=this.options.stacked,"always"!==this.options.hideHover)return this.hover=new a.Hover({parent:this.el}),this.on("hovermove",this.onHoverMove),this.on("hoverout",this.onHoverOut),this.on("gridclick",this.onGridClick)},i.prototype.defaults={barSizeRatio:.75,barGap:3,barColors:["#0b62a4","#7a92a3","#4da74d","#afd8f8","#edc240","#cb4b4b","#9440ed"],barOpacity:1,barRadius:[0,0,0,0],xLabelMargin:50,horizontal:!1,shown:!0},i.prototype.calc=function(){var t;if(this.calcBars(),this.options.hideHover===!1)return(t=this.hover).update.apply(t,this.hoverContentForRow(this.data.length-1))},i.prototype.calcBars=function(){var t,e,a,i,r,n,s;for(n=this.data,s=[],t=i=0,r=n.length;i<r;t=++i)e=n[t],e._x=this.xStart+this.xSize*(t+.5)/this.data.length,s.push(e._y=function(){var t,i,r,n;for(r=e.y,n=[],t=0,i=r.length;t<i;t++)a=r[t],null!=a?n.push(this.transY(a)):n.push(null);return n}.call(this));return s},i.prototype.draw=function(){var t;return(t=this.options.axes)!==!0&&"both"!==t&&"x"!==t||this.drawXAxis(),this.drawSeries()},i.prototype.drawXAxis=function(){var t,e,a,i,r,n,s,o,l,h,c,u,p,d,f,m,g;for(e=this.options.horizontal?this.getYAxisLabelX():this.getXAxisLabelY(),h=null,l=null,g=[],a=f=0,m=this.data.length;0<=m?f<m:f>m;a=0<=m?++f:--f)c=this.data[this.data.length-1-a],i=this.options.horizontal?this.drawYAxisLabel(e,c._x-.5*this.options.gridTextSize,c.label):this.drawXAxisLabel(c._x,e,c.label),t=this.options.horizontal?0:this.options.xLabelAngle,d=i.getBBox(),i.transform("r"+-t),r=i.getBBox(),i.transform("t0,"+r.height/2+"..."),0!==t&&(o=-.5*d.width*Math.cos(t*Math.PI/180),i.transform("t"+o+",0...")),this.options.horizontal?(p=r.y,u=r.height,s=this.el.height()):(p=r.x,u=r.width,s=this.el.width()),(null==h||h>=p+u||null!=l&&l>=p)&&p>=0&&p+u<s?(0!==t&&(n=1.25*this.options.gridTextSize/Math.sin(t*Math.PI/180),l=p-n),this.options.horizontal?g.push(h=p):g.push(h=p-this.options.xLabelMargin)):g.push(i.remove());return g},i.prototype.getXAxisLabelY=function(){return this.bottom+(this.options.xAxisLabelTopPadding||this.options.padding/2)},i.prototype.drawSeries=function(){var t,e,a,i,r,n,s,o,l,h,c,u,p,d,f,m,g,v;if(a=this.xSize/this.options.data.length,this.options.stacked)l=1;else for(l=0,i=g=0,v=this.options.ykeys.length-1;0<=v?g<=v:g>=v;i=0<=v?++g:--g)this.hasToShow(i)&&(l+=1);return t=(a*this.options.barSizeRatio-this.options.barGap*(l-1))/l,this.options.barSize&&(t=Math.min(t,this.options.barSize)),p=a-t*l-this.options.barGap*(l-1),o=p/2,m=this.ymin<=0&&this.ymax>=0?this.transY(0):null,this.bars=function(){var i,l,p,g;for(p=this.data,g=[],r=i=0,l=p.length;i<l;r=++i)h=p[r],n=0,g.push(function(){var i,l,p,g;for(p=h._y,g=[],c=i=0,l=p.length;i<l;c=++i)f=p[c],this.hasToShow(c)&&(null!==f?(m?(d=Math.min(f,m),e=Math.max(f,m)):(d=f,e=this.bottom),s=this.xStart+r*a+o,this.options.stacked||(s+=c*(t+this.options.barGap)),u=e-d,this.options.verticalGridCondition&&this.options.verticalGridCondition(h.x)&&(this.options.horizontal?this.drawBar(this.yStart,this.xStart+r*a,this.ySize,a,this.options.verticalGridColor,this.options.verticalGridOpacity,this.options.barRadius):this.drawBar(this.xStart+r*a,this.yEnd,a,this.ySize,this.options.verticalGridColor,this.options.verticalGridOpacity,this.options.barRadius)),this.options.stacked&&(d-=n),this.options.horizontal?(this.drawBar(d,s,u,t,this.colorFor(h,c,"bar"),this.options.barOpacity,this.options.barRadius),g.push(n-=u)):(this.drawBar(s,d,t,u,this.colorFor(h,c,"bar"),this.options.barOpacity,this.options.barRadius),g.push(n+=u))):g.push(null));return g}.call(this));return g}.call(this)},i.prototype.colorFor=function(t,e,a){var i,r;return"function"==typeof this.options.barColors?(i={x:t.x,y:t.y[e],label:t.label},r={index:e,key:this.options.ykeys[e],label:this.options.labels[e]},this.options.barColors.call(this,i,r,a)):this.options.barColors[e%this.options.barColors.length];
  },i.prototype.hitTest=function(t,e){var a;return 0===this.data.length?null:(a=this.options.horizontal?e:t,a=Math.max(Math.min(a,this.xEnd),this.xStart),Math.min(this.data.length-1,Math.floor((a-this.xStart)/(this.xSize/this.data.length))))},i.prototype.onGridClick=function(t,e){var a;return a=this.hitTest(t,e),this.fire("click",a,this.data[a].src,t,e)},i.prototype.onHoverMove=function(t,e){var a,i;return a=this.hitTest(t,e),(i=this.hover).update.apply(i,this.hoverContentForRow(a))},i.prototype.onHoverOut=function(){if(this.options.hideHover!==!1)return this.hover.hide()},i.prototype.hoverContentForRow=function(t){var a,i,r,n,s,o,l,h;for(r=this.data[t],a=e("<div class='morris-hover-row-label'>").text(r.label),a=a.prop("outerHTML"),h=r.y,i=o=0,l=h.length;o<l;i=++o)s=h[i],this.options.labels[i]!==!1&&(a+="<div class='morris-hover-point' style='color: "+this.colorFor(r,i,"label")+"'>\n  "+this.options.labels[i]+":\n  "+this.yLabelFormat(s,i)+"\n</div>");return"function"==typeof this.options.hoverCallback&&(a=this.options.hoverCallback(t,this.options,a,r.src)),this.options.horizontal?(n=this.left+.5*this.width,s=this.top+(t+.5)*this.height/this.data.length,[a,n,s,!0]):(n=this.left+(t+.5)*this.width/this.data.length,[a,n])},i.prototype.drawXAxisLabel=function(t,e,a){var i;return i=this.raphael.text(t,e,a).attr("font-size",this.options.gridTextSize).attr("font-family",this.options.gridTextFamily).attr("font-weight",this.options.gridTextWeight).attr("fill",this.options.gridTextColor)},i.prototype.drawBar=function(t,e,a,i,r,n,s){var o,l;return o=Math.max.apply(Math,s),l=0===o||o>i?this.raphael.rect(t,e,a,i):this.raphael.path(this.roundedRect(t,e,a,i,s)),l.attr("fill",r).attr("fill-opacity",n).attr("stroke","none")},i.prototype.roundedRect=function(t,e,a,i,r){return null==r&&(r=[0,0,0,0]),["M",t,r[0]+e,"Q",t,e,t+r[0],e,"L",t+a-r[1],e,"Q",t+a,e,t+a,e+r[1],"L",t+a,e+i-r[2],"Q",t+a,e+i,t+a-r[2],e+i,"L",t+r[3],e+i,"Q",t,e+i,t,e+i-r[3],"Z"]},i}(a.Grid),a.Donut=function(i){function r(i){this.resizeHandler=o(this.resizeHandler,this),this.select=o(this.select,this),this.click=o(this.click,this);var r=this;if(!(this instanceof a.Donut))return new a.Donut(i);if(this.options=e.extend({},this.defaults,i),"string"==typeof i.element?this.el=e(document.getElementById(i.element)):this.el=e(i.element),null===this.el||0===this.el.length)throw new Error("Graph placeholder not found.");void 0!==i.data&&0!==i.data.length&&(this.raphael=new t(this.el[0]),this.options.resize&&e(window).bind("resize",function(t){return null!=r.timeoutId&&window.clearTimeout(r.timeoutId),r.timeoutId=window.setTimeout(r.resizeHandler,100)}),this.setData(i.data))}return h(r,i),r.prototype.defaults={colors:["#0B62A4","#3980B5","#679DC6","#95BBD7","#B0CCE1","#095791","#095085","#083E67","#052C48","#042135"],backgroundColor:"#FFFFFF",labelColor:"#000000",formatter:a.commas,resize:!1},r.prototype.redraw=function(){var t,e,i,r,n,s,o,l,h,c,u,p,d,f,m,g,v,y,x,b,w,E,_;for(this.raphael.clear(),e=this.el.width()/2,i=this.el.height()/2,d=(Math.min(e,i)-10)/3,u=0,b=this.values,f=0,v=b.length;f<v;f++)p=b[f],u+=p;for(l=5/(2*d),t=1.9999*Math.PI-l*this.data.length,s=0,n=0,this.segments=[],w=this.values,r=m=0,y=w.length;m<y;r=++m)p=w[r],h=s+l+t*(p/u),c=new a.DonutSegment(e,i,2*d,d,s,h,this.data[r].color||this.options.colors[n%this.options.colors.length],this.options.backgroundColor,n,this.raphael),c.render(),this.segments.push(c),c.on("hover",this.select),c.on("click",this.click),s=h,n+=1;for(this.text1=this.drawEmptyDonutLabel(e,i-10,this.options.labelColor,15,800),this.text2=this.drawEmptyDonutLabel(e,i+10,this.options.labelColor,14),o=Math.max.apply(Math,this.values),n=0,E=this.values,_=[],g=0,x=E.length;g<x;g++){if(p=E[g],p===o){this.select(n);break}_.push(n+=1)}return _},r.prototype.setData=function(t){var e;return this.data=t,this.values=function(){var t,a,i,r;for(i=this.data,r=[],t=0,a=i.length;t<a;t++)e=i[t],r.push(parseFloat(e.value));return r}.call(this),this.redraw()},r.prototype.click=function(t){return this.fire("click",t,this.data[t])},r.prototype.select=function(t){var e,a,i,r,n,s;for(s=this.segments,r=0,n=s.length;r<n;r++)a=s[r],a.deselect();return i=this.segments[t],i.select(),e=this.data[t],this.setLabels(e.label,this.options.formatter(e.value,e))},r.prototype.setLabels=function(t,e){var a,i,r,n,s,o,l,h;return a=2*(Math.min(this.el.width()/2,this.el.height()/2)-10)/3,n=1.8*a,r=a/2,i=a/3,this.text1.attr({text:t,transform:""}),s=this.text1.getBBox(),o=Math.min(n/s.width,r/s.height),this.text1.attr({transform:"S"+o+","+o+","+(s.x+s.width/2)+","+(s.y+s.height)}),this.text2.attr({text:e,transform:""}),l=this.text2.getBBox(),h=Math.min(n/l.width,i/l.height),this.text2.attr({transform:"S"+h+","+h+","+(l.x+l.width/2)+","+l.y})},r.prototype.drawEmptyDonutLabel=function(t,e,a,i,r){var n;return n=this.raphael.text(t,e,"").attr("font-size",i).attr("fill",a),null!=r&&n.attr("font-weight",r),n},r.prototype.resizeHandler=function(){return this.timeoutId=null,this.raphael.setSize(this.el.width(),this.el.height()),this.redraw()},r}(a.EventEmitter),a.DonutSegment=function(t){function e(t,e,a,i,r,n,s,l,h,c){this.cx=t,this.cy=e,this.inner=a,this.outer=i,this.color=s,this.backgroundColor=l,this.index=h,this.raphael=c,this.deselect=o(this.deselect,this),this.select=o(this.select,this),this.sin_p0=Math.sin(r),this.cos_p0=Math.cos(r),this.sin_p1=Math.sin(n),this.cos_p1=Math.cos(n),this.is_long=n-r>Math.PI?1:0,this.path=this.calcSegment(this.inner+3,this.inner+this.outer-5),this.selectedPath=this.calcSegment(this.inner+3,this.inner+this.outer),this.hilight=this.calcArc(this.inner)}return h(e,t),e.prototype.calcArcPoints=function(t){return[this.cx+t*this.sin_p0,this.cy+t*this.cos_p0,this.cx+t*this.sin_p1,this.cy+t*this.cos_p1]},e.prototype.calcSegment=function(t,e){var a,i,r,n,s,o,l,h,c,u;return c=this.calcArcPoints(t),a=c[0],r=c[1],i=c[2],n=c[3],u=this.calcArcPoints(e),s=u[0],l=u[1],o=u[2],h=u[3],"M"+a+","+r+("A"+t+","+t+",0,"+this.is_long+",0,"+i+","+n)+("L"+o+","+h)+("A"+e+","+e+",0,"+this.is_long+",1,"+s+","+l)+"Z"},e.prototype.calcArc=function(t){var e,a,i,r,n;return n=this.calcArcPoints(t),e=n[0],i=n[1],a=n[2],r=n[3],"M"+e+","+i+("A"+t+","+t+",0,"+this.is_long+",0,"+a+","+r)},e.prototype.render=function(){var t=this;return this.arc=this.drawDonutArc(this.hilight,this.color),this.seg=this.drawDonutSegment(this.path,this.color,this.backgroundColor,function(){return t.fire("hover",t.index)},function(){return t.fire("click",t.index)})},e.prototype.drawDonutArc=function(t,e){return this.raphael.path(t).attr({stroke:e,"stroke-width":2,opacity:0})},e.prototype.drawDonutSegment=function(t,e,a,i,r){return this.raphael.path(t).attr({fill:e,stroke:a,"stroke-width":3}).hover(i).click(r)},e.prototype.select=function(){if(!this.selected)return this.seg.animate({path:this.selectedPath},150,"<>"),this.arc.animate({opacity:1},150,"<>"),this.selected=!0},e.prototype.deselect=function(){if(this.selected)return this.seg.animate({path:this.path},150,"<>"),this.arc.animate({opacity:0},150,"<>"),this.selected=!1},e}(a.EventEmitter),a})}).call(this)}finally{}}).call(e,a(2))},10:function(t,e,a){var i,r;i=[a(1),a(2)],r=function(t,e){var a=t.createClass({displayName:"ControlPanel",render:function(){return t.createElement("div",{className:"row",id:"contains-custom-header"})}});return a}.apply(e,i),!(void 0!==r&&(t.exports=r))},11:function(t,e,a){var i,r;i=[a(1),a(2)],r=function(t,e){var a=t.createClass({displayName:"ControlsMenu",componentDidMount:function(){},render:function(){return t.createElement("aside",{className:"control-sidebar control-sidebar-dark control-sidebar-open"},t.createElement("ul",{className:"nav nav-tabs nav-justified control-sidebar-tabs"},t.createElement("li",{className:"active"},t.createElement("a",{href:"#control-sidebar-theme-demo-options-tab","data-toggle":"tab"},t.createElement("i",{className:"fa fa-wrench"}))),t.createElement("li",null,t.createElement("a",{href:"#control-sidebar-home-tab","data-toggle":"tab"},t.createElement("i",{className:"fa fa-home"}))),t.createElement("li",null,t.createElement("a",{href:"#control-sidebar-settings-tab","data-toggle":"tab"},t.createElement("i",{className:"fa fa-gears"})))),t.createElement("div",{className:"tab-content"},t.createElement("div",{className:"tab-pane",id:"control-sidebar-home-tab"},t.createElement("h3",{className:"control-sidebar-heading"},"Recent Activity"),t.createElement("ul",{className:"control-sidebar-menu"},t.createElement("li",null,t.createElement("a",{href:"javascript::;"},t.createElement("i",{className:"menu-icon fa fa-birthday-cake bg-red"}),t.createElement("div",{className:"menu-info"},t.createElement("h4",{className:"control-sidebar-subheading"},"Langdons Birthday"),t.createElement("p",null,"Will be 23 on April 24th")))),t.createElement("li",null,t.createElement("a",{href:"javascript::;"},t.createElement("i",{className:"menu-icon fa fa-user bg-yellow"}),t.createElement("div",{className:"menu-info"},t.createElement("h4",{className:"control-sidebar-subheading"},"Frodo Updated His Profile"),t.createElement("p",null,"New phone +1(800)555-1234")))),t.createElement("li",null,t.createElement("a",{href:"javascript::;"},t.createElement("i",{className:"menu-icon fa fa-envelope-o bg-light-blue"}),t.createElement("div",{className:"menu-info"},t.createElement("h4",{className:"control-sidebar-subheading"},"Nora Joined Mailing List"),t.createElement("p",null,"nora@example.com")))),t.createElement("li",null,t.createElement("a",{href:"javascript::;"},t.createElement("i",{className:"menu-icon fa fa-file-code-o bg-green"}),t.createElement("div",{className:"menu-info"},t.createElement("h4",{className:"control-sidebar-subheading"},"Cron Job 254 Executed"),t.createElement("p",null,"Execution time 5 seconds"))))),t.createElement("h3",{className:"control-sidebar-heading"},"Tasks Progress"),t.createElement("ul",{className:"control-sidebar-menu"},t.createElement("li",null,t.createElement("a",{href:"javascript::;"},t.createElement("h4",{className:"control-sidebar-subheading"},"Custom Template Design",t.createElement("span",{className:"label label-danger pull-right"},"70%")),t.createElement("div",{className:"progress progress-xxs"},t.createElement("div",{className:"progress-bar progress-bar-danger",style:"width: 70%"})))),t.createElement("li",null,t.createElement("a",{href:"javascript::;"},t.createElement("h4",{className:"control-sidebar-subheading"},"Update Resume",t.createElement("span",{className:"label label-success pull-right"},"95%")),t.createElement("div",{className:"progress progress-xxs"},t.createElement("div",{className:"progress-bar progress-bar-success",style:"width: 95%"})))),t.createElement("li",null,t.createElement("a",{href:"javascript::;"},t.createElement("h4",{className:"control-sidebar-subheading"},"Laravel Integration",t.createElement("span",{className:"label label-warning pull-right"},"50%")),t.createElement("div",{className:"progress progress-xxs"},t.createElement("div",{className:"progress-bar progress-bar-warning",style:"width: 50%"})))),t.createElement("li",null,t.createElement("a",{href:"javascript::;"},t.createElement("h4",{className:"control-sidebar-subheading"},"Back End Framework",t.createElement("span",{className:"label label-primary pull-right"},"68%")),t.createElement("div",{className:"progress progress-xxs"},t.createElement("div",{className:"progress-bar progress-bar-primary",style:"width: 68%"})))))),t.createElement("div",{id:"control-sidebar-theme-demo-options-tab",className:"tab-pane active"},t.createElement("div",null,t.createElement("h4",{className:"control-sidebar-heading"},"Layout Options"),t.createElement("div",{className:"form-group"},t.createElement("label",{className:"control-sidebar-subheading"},t.createElement("input",{type:"checkbox","data-layout":"fixed",className:"pull-right"})," Fixed layout"),t.createElement("p",null,"Activate the fixed layout. You cant use fixed and boxed layouts together")),t.createElement("div",{className:"form-group"},t.createElement("label",{className:"control-sidebar-subheading"},t.createElement("input",{type:"checkbox","data-layout":"layout-boxed",className:"pull-right"})," Boxed Layout"),t.createElement("p",null,"Activate the boxed layout")),t.createElement("div",{className:"form-group"},t.createElement("label",{className:"control-sidebar-subheading"},t.createElement("input",{type:"checkbox","data-layout":"sidebar-collapse",className:"pull-right"})," Toggle Sidebar"),t.createElement("p",null,"Toggle the left sidebars state (open or collapse)")),t.createElement("div",{className:"form-group"},t.createElement("label",{className:"control-sidebar-subheading"},t.createElement("input",{type:"checkbox","data-enable":"expandOnHover",className:"pull-right"})," Sidebar Expand on Hover"),t.createElement("p",null,"Let the sidebar mini expand on hover")),t.createElement("div",{className:"form-group"},t.createElement("label",{className:"control-sidebar-subheading"},t.createElement("input",{type:"checkbox","data-controlsidebar":"control-sidebar-open",className:"pull-right"})," Toggle Right Sidebar Slide"),t.createElement("p",null,"Toggle between slide over content and push content effects")),t.createElement("div",{className:"form-group"},t.createElement("label",{className:"control-sidebar-subheading"},t.createElement("input",{type:"checkbox","data-sidebarskin":"toggle",className:"pull-right"})," Toggle Right Sidebar Skin"),t.createElement("p",null,"Toggle between dark and light skins for the right sidebar")),t.createElement("h4",{className:"control-sidebar-heading"},"Skins"),t.createElement("ul",{className:"list-unstyled clearfix"},t.createElement("li",{style:"float:left; width: 33.33333%; padding: 5px;"},t.createElement("a",{href:"javascript:void(0);","data-skin":"skin-blue",style:"display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)",className:"clearfix full-opacity-hover"},t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 7px; background: #367fa9;"}),t.createElement("span",{className:"bg-light-blue",style:"display:block; width: 80%; float: left; height: 7px;"})),t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 20px; background: #222d32;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"}))),t.createElement("p",{className:"text-center no-margin"},"Blue")),t.createElement("li",{style:"float:left; width: 33.33333%; padding: 5px;"},t.createElement("a",{href:"javascript:void(0);","data-skin":"skin-black",style:"display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)",className:"clearfix full-opacity-hover"},t.createElement("div",{style:"box-shadow: 0 0 2px rgba(0,0,0,0.1)",className:"clearfix"},t.createElement("span",{style:"display:block; width: 20%; float: left; height: 7px; background: #fefefe;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 7px; background: #fefefe;"})),t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 20px; background: #222;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"}))),t.createElement("p",{className:"text-center no-margin"},"Black")),t.createElement("li",{style:"float:left; width: 33.33333%; padding: 5px;"},t.createElement("a",{href:"javascript:void(0);","data-skin":"skin-purple",style:"display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)",className:"clearfix full-opacity-hover"},t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 7px;",className:"bg-purple-active"}),t.createElement("span",{className:"bg-purple",style:"display:block; width: 80%; float: left; height: 7px;"})),t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 20px; background: #222d32;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"}))),t.createElement("p",{className:"text-center no-margin"},"Purple")),t.createElement("li",{style:"float:left; width: 33.33333%; padding: 5px;"},t.createElement("a",{href:"javascript:void(0);","data-skin":"skin-green",style:"display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)",className:"clearfix full-opacity-hover"},t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 7px;",className:"bg-green-active"}),t.createElement("span",{className:"bg-green",style:"display:block; width: 80%; float: left; height: 7px;"})),t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 20px; background: #222d32;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"}))),t.createElement("p",{className:"text-center no-margin"},"Green")),t.createElement("li",{style:"float:left; width: 33.33333%; padding: 5px;"},t.createElement("a",{href:"javascript:void(0);","data-skin":"skin-red",style:"display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)",className:"clearfix full-opacity-hover"},t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 7px;",className:"bg-red-active"}),t.createElement("span",{className:"bg-red",style:"display:block; width: 80%; float: left; height: 7px;"})),t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 20px; background: #222d32;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"}))),t.createElement("p",{className:"text-center no-margin"},"Red")),t.createElement("li",{style:"float:left; width: 33.33333%; padding: 5px;"},t.createElement("a",{href:"javascript:void(0);","data-skin":"skin-yellow",style:"display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)",className:"clearfix full-opacity-hover"},t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 7px;",className:"bg-yellow-active"}),t.createElement("span",{className:"bg-yellow",style:"display:block; width: 80%; float: left; height: 7px;"})),t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 20px; background: #222d32;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"}))),t.createElement("p",{className:"text-center no-margin"},"Yellow")),t.createElement("li",{style:"float:left; width: 33.33333%; padding: 5px;"},t.createElement("a",{href:"javascript:void(0);","data-skin":"skin-blue-light",style:"display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)",className:"clearfix full-opacity-hover"},t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 7px; background: #367fa9;"}),t.createElement("span",{className:"bg-light-blue",style:"display:block; width: 80%; float: left; height: 7px;"})),t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 20px; background: #f9fafc;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"}))),t.createElement("p",{className:"text-center no-margin",style:"font-size: 12px"},"Blue Light")),t.createElement("li",{style:"float:left; width: 33.33333%; padding: 5px;"},t.createElement("a",{href:"javascript:void(0);","data-skin":"skin-black-light",style:"display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)",className:"clearfix full-opacity-hover"},t.createElement("div",{style:"box-shadow: 0 0 2px rgba(0,0,0,0.1)",className:"clearfix"},t.createElement("span",{style:"display:block; width: 20%; float: left; height: 7px; background: #fefefe;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 7px; background: #fefefe;"})),t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 20px; background: #f9fafc;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"}))),t.createElement("p",{className:"text-center no-margin",style:"font-size: 12px"},"Black Light")),t.createElement("li",{style:"float:left; width: 33.33333%; padding: 5px;"},t.createElement("a",{href:"javascript:void(0);","data-skin":"skin-purple-light",style:"display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)",className:"clearfix full-opacity-hover"},t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 7px;",className:"bg-purple-active"}),t.createElement("span",{className:"bg-purple",style:"display:block; width: 80%; float: left; height: 7px;"})),t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 20px; background: #f9fafc;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"}))),t.createElement("p",{className:"text-center no-margin",style:"font-size: 12px"},"Purple Light")),t.createElement("li",{style:"float:left; width: 33.33333%; padding: 5px;"},t.createElement("a",{href:"javascript:void(0);","data-skin":"skin-green-light",style:"display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)",className:"clearfix full-opacity-hover"},t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 7px;",className:"bg-green-active"}),t.createElement("span",{className:"bg-green",style:"display:block; width: 80%; float: left; height: 7px;"})),t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 20px; background: #f9fafc;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"}))),t.createElement("p",{className:"text-center no-margin",style:"font-size: 12px"},"Green Light")),t.createElement("li",{style:"float:left; width: 33.33333%; padding: 5px;"},t.createElement("a",{href:"javascript:void(0);","data-skin":"skin-red-light",style:"display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)",className:"clearfix full-opacity-hover"},t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 7px;",className:"bg-red-active"}),t.createElement("span",{className:"bg-red",style:"display:block; width: 80%; float: left; height: 7px;"})),t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 20px; background: #f9fafc;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"}))),t.createElement("p",{className:"text-center no-margin",style:"font-size: 12px"},"Red Light")),t.createElement("li",{style:"float:left; width: 33.33333%; padding: 5px;"},t.createElement("a",{href:"javascript:void(0);","data-skin":"skin-yellow-light",style:"display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)",className:"clearfix full-opacity-hover"},t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 7px;",className:"bg-yellow-active"}),t.createElement("span",{className:"bg-yellow",style:"display:block; width: 80%; float: left; height: 7px;"})),t.createElement("div",null,t.createElement("span",{style:"display:block; width: 20%; float: left; height: 20px; background: #f9fafc;"}),t.createElement("span",{style:"display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"}))),t.createElement("p",{className:"text-center no-margin",style:"font-size: 12px;"},"Yellow Light"))))),t.createElement("div",{className:"tab-pane",id:"control-sidebar-stats-tab"},"Stats Tab Content"),t.createElement("div",{className:"tab-pane",id:"control-sidebar-settings-tab"},t.createElement("form",{method:"post"},t.createElement("h3",{className:"control-sidebar-heading"},"General Settings"),t.createElement("div",{className:"form-group"},t.createElement("label",{className:"control-sidebar-subheading"},"Report panel usage",t.createElement("input",{type:"checkbox",className:"pull-right",checked:""})),t.createElement("p",null,"Some information about this general settings option")),t.createElement("div",{className:"form-group"},t.createElement("label",{className:"control-sidebar-subheading"},"Allow mail redirect",t.createElement("input",{type:"checkbox",className:"pull-right",checked:""})),t.createElement("p",null,"Other sets of options are available")),t.createElement("div",{className:"form-group"},t.createElement("label",{className:"control-sidebar-subheading"},"Expose author name in posts",t.createElement("input",{type:"checkbox",className:"pull-right",checked:""})),t.createElement("p",null,"Allow the user to show his name in blog posts")),t.createElement("h3",{className:"control-sidebar-heading"},"Chat Settings"),t.createElement("div",{className:"form-group"},t.createElement("label",{className:"control-sidebar-subheading"},"Show me as online",t.createElement("input",{type:"checkbox",className:"pull-right",checked:""}))),t.createElement("div",{className:"form-group"},t.createElement("label",{className:"control-sidebar-subheading"},"Turn off notifications",t.createElement("input",{type:"checkbox",className:"pull-right"}))),t.createElement("div",{className:"form-group"},t.createElement("label",{className:"control-sidebar-subheading"},"Delete chat history",t.createElement("a",{href:"javascript::;",className:"text-red pull-right"},t.createElement("i",{className:"fa fa-trash-o"}))))))))}});return a}.apply(e,i),!(void 0!==r&&(t.exports=r))},12:function(t,e,a){var i,r;i=[a(1),a(2),a(13),a(15),a(17)],r=function(t,e,a,i,r){var n=t.createClass({displayName:"HeaderBar",pushMenu:function(){var t=document.body;t.clientWidth>768?t.className.indexOf("sidebar-collapse")===-1?t.className+=" sidebar-collapse":t.className=t.className.replace(" sidebar-collapse",""):t.className.indexOf("sidebar-open")===-1?t.className+=" sidebar-open":t.className=t.className.replace(" sidebar-open","")},render:function(){var e=this;return t.createElement("header",{className:"main-header"},t.createElement("a",{href:"index2.html",className:"logo"},t.createElement("span",{className:"logo-mini"},t.createElement("b",null,"A"),"RA"),t.createElement("span",{className:"logo-lg"},t.createElement("b",null,"A"),"RA")),t.createElement("nav",{className:"navbar navbar-static-top",role:"navigation"},t.createElement("a",{href:"#",className:"sidebar-toggle","data-toggle":"offcanvas",role:"button",onClick:e.pushMenu},t.createElement("span",{className:"sr-only"},"Toggle navigation")),t.createElement("div",{className:"navbar-custom-menu"},t.createElement("ul",{className:"nav navbar-nav"},t.createElement(a,null),t.createElement(i,null),t.createElement(r,null),t.createElement("li",{className:"dropdown user user-menu"},t.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},t.createElement("img",{src:"dist/img/avi3.png",className:"user-image",alt:"User Image"}),t.createElement("span",{className:"hidden-xs"},"Brenda Nyokabi")),t.createElement("ul",{className:"dropdown-menu"},t.createElement("li",{className:"user-header"},t.createElement("img",{src:"dist/img/avi3.png",className:"img-circle",alt:"User Image"}),t.createElement("p",null,"Brenda Nyokabi - Web Developer",t.createElement("small",null,"Member since Nov. 2012"))),t.createElement("li",{className:"user-body"},t.createElement("div",{className:"col-xs-4 text-center"},t.createElement("a",{href:"earnings.html"},"Earnings")),t.createElement("div",{className:"col-xs-4 text-center"},t.createElement("a",{href:"allorders.html"},"Orders")),t.createElement("div",{className:"col-xs-4 text-center"},t.createElement("a",{href:"inbox.html"},"Inbox"))),t.createElement("li",{className:"user-footer"},t.createElement("div",{className:"pull-left"},t.createElement("a",{href:"profile.html",className:"btn btn-default btn-flat"},"Profile")),t.createElement("div",{className:"pull-right"},t.createElement("a",{href:"logout",className:"btn btn-default btn-flat"},"Sign out")))))))))}});return n}.apply(e,i),!(void 0!==r&&(t.exports=r))},13:function(t,e,a){var i,r;i=[a(1),a(14)],r=function(t,e){var a=t.createClass({displayName:"HeaderMessages",getInitialState:function(){return{messages:[]}},componentDidMount:function(){var t=[{title:"Support Team",displayPicture:"dist/img/user2-160x160.jpg",content:"Why not buy a new awesome theme?",time:"5 mins"},{title:"ARA Design Team",displayPicture:"dist/img/user3-128x128.jpg",content:"Why not buy a new awesome theme?",time:"2 hours"},{title:"Writers",displayPicture:"dist/img/user4-128x128.jpg",content:"Why not buy a new awesome theme?",time:"Today"},{title:"Sales Department",displayPicture:"dist/img/user3-128x128.jpg",content:"Why not buy a new awesome theme?",time:"Yesterday"},{title:"Reviewers",displayPicture:"dist/img/user4-128x128.jpg",content:"Why not buy a new awesome theme?",time:"2 days"}];this.setState({messages:t})},render:function(){var a=this,i=this.state.messages.map(function(a,i){return t.createElement(e,{key:i,title:a.title,displayPicture:a.displayPicture,time:a.time,content:a.content})});return t.createElement("li",{className:"dropdown messages-menu"},t.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},t.createElement("i",{className:"fa fa-envelope-o"}),t.createElement("span",{className:"label label-success"},a.state.messages.length)),t.createElement("ul",{className:"dropdown-menu"},t.createElement("li",{className:"header"},"You have ",this.state.messages.length," messages"),t.createElement("li",null,t.createElement("div",{className:"slimScrollDiv"},t.createElement("ul",{className:"menu"},i),t.createElement("div",{className:"slimScrollBar"}),t.createElement("div",{className:"slimScrollRail"}))),t.createElement("li",{className:"footer"},t.createElement("a",{href:"#"},"See All Messages"))))}});return a}.apply(e,i),!(void 0!==r&&(t.exports=r))},14:function(t,e,a){var i,r;i=[a(1)],r=function(t){var e=t.createClass({displayName:"MessageItem",render:function(){return t.createElement("li",null,t.createElement("a",{href:"#"},t.createElement("div",{className:"pull-left"},t.createElement("img",{src:this.props.displayPicture,className:"img-circle",alt:"User Image"})),t.createElement("h4",null,this.props.title,t.createElement("small",null,t.createElement("i",{className:"fa fa-clock-o"})," ",this.props.time)),t.createElement("p",null,this.props.content)))}});return e}.apply(e,i),!(void 0!==r&&(t.exports=r))},15:function(t,e,a){var i,r;i=[a(1),a(16)],r=function(t,e){var a=t.createClass({displayName:"HeaderNotifications",getInitialState:function(){return{notifications:[]}},componentDidMount:function(){var t=[{content:"5 new members joined today",theme:"fa fa-users text-aqua"},{content:"Very long description here that may not fit into the page and may cause design problems",theme:"fa fa-warning text-yellow"},{content:"5 new members joined",theme:"fa fa-users text-red"},{content:"25 sales made",theme:"fa fa-shopping-cart text-green"},{content:"You changed your username",className:"fa fa-user text-red"}];this.setState({notifications:t})},render:function(){var a=this,i=this.state.notifications.map(function(a,i){return t.createElement(e,{key:i,theme:a.theme,content:a.content})});return t.createElement("li",{className:"dropdown notifications-menu"},t.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},t.createElement("i",{className:"fa fa-bell-o"}),t.createElement("span",{className:"label label-warning"},a.state.notifications.length)),t.createElement("ul",{className:"dropdown-menu"},t.createElement("li",{className:"header"},"You have ",this.state.notifications.length," notifications"),t.createElement("li",null,t.createElement("div",{className:"slimScrollDiv"},t.createElement("ul",{className:"menu"},i),t.createElement("div",{className:"slimScrollBar"}),t.createElement("div",{
  className:"slimScrollRail"}))),t.createElement("li",{className:"footer"},t.createElement("a",{href:"#"},"View all"))))}});return a}.apply(e,i),!(void 0!==r&&(t.exports=r))},16:function(t,e,a){var i,r;i=[a(1)],r=function(t){var e=t.createClass({displayName:"NotificationItem",render:function(){return t.createElement("li",{key:"header-notification-item"},t.createElement("a",{href:"#"},t.createElement("i",{className:this.props.theme})," ",this.props.content))}});return e}.apply(e,i),!(void 0!==r&&(t.exports=r))},17:function(t,e,a){var i,r;i=[a(1),a(18)],r=function(t,e){var a=t.createClass({displayName:"HeaderTasks",getInitialState:function(){return{tasks:[]}},componentDidMount:function(){var t=[{subject:"Design some buttons",percentage:20},{subject:"Create a nice theme",percentage:40},{subject:"Some task I need to do",percentage:60},{subject:"Make beautiful transitions",percentage:80}];this.setState({tasks:t})},render:function(){var a,i=this,r=this.state.tasks.map(function(i,r){return i.percentage<21?a="progress-bar-red":i.percentage>20&&i.percentage<41?a="progress-bar-yellow":i.percentage>40&&i.percentage<61?a="progress-bar-green":i.percentage>60&&(a="progress-bar-aqua"),t.createElement(e,{key:r,percentage:i.percentage,content:i.content,theme:a})});return t.createElement("li",{className:"dropdown tasks-menu"},t.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},t.createElement("i",{className:"fa fa-flag-o"}),t.createElement("span",{className:"label label-danger"},i.state.tasks.length)),t.createElement("ul",{className:"dropdown-menu"},t.createElement("li",{className:"header"},"You have ",this.state.tasks.length," tasks"),t.createElement("li",null,t.createElement("div",{className:"slimScrollDiv"},t.createElement("ul",{className:"menu"},r),t.createElement("div",{className:"slimScrollBar"}),t.createElement("div",{className:"slimScrollRail"}))),t.createElement("li",{className:"footer"},t.createElement("a",{href:"#"},"View all tasks"))))}});return a}.apply(e,i),!(void 0!==r&&(t.exports=r))},18:function(t,e,a){var i,r;i=[a(1)],r=function(t){var e=t.createClass({displayName:"TaskItem",render:function(){var e={width:this.props.percentage+"%"};return t.createElement("li",null,t.createElement("a",{href:"#"},t.createElement("h3",null,this.props.content,t.createElement("small",{className:"pull-right"},this.props.percentage+"%")),t.createElement("div",{className:"progress xs"},t.createElement("div",{className:"progress-bar "+this.props.theme,style:e},t.createElement("span",{className:"sr-only"},this.props.percentage+"% Complete"," ")))))}});return e}.apply(e,i),!(void 0!==r&&(t.exports=r))},19:function(t,e,a){var i,r;i=[a(1),a(2)],r=function(t,e){var a=t.createClass({displayName:"NavigationMenu",render:function(){var e={display:"block"};return t.createElement("aside",{className:"main-sidebar"},t.createElement("section",{className:"sidebar"},t.createElement("div",{className:"user-panel"},t.createElement("div",{className:"pull-left image"},t.createElement("img",{src:"dist/img/avi3.png",className:"img-circle",alt:"User Image"})),t.createElement("div",{className:"pull-left info"},t.createElement("p",null,"Brenda B."),t.createElement("a",{href:"#"},t.createElement("i",{className:"fa fa-circle text-success"})," Online"))),t.createElement("form",{action:"#",method:"get",className:"sidebar-form"},t.createElement("div",{className:"input-group"},t.createElement("input",{type:"text",name:"q",className:"form-control",placeholder:"Search..."}),t.createElement("span",{className:"input-group-btn"},t.createElement("button",{type:"submit",name:"search",id:"search-btn",className:"btn btn-flat"},t.createElement("i",{className:"fa fa-search"}))))),t.createElement("ul",{className:"sidebar-menu"},t.createElement("li",{className:"header"},"MAIN NAVIGATION"),t.createElement("li",{className:"active treeview"},t.createElement("a",{href:"/"},t.createElement("i",{className:"fa fa-dashboard"}),t.createElement("span",null,"Dashboard"))),t.createElement("li",{className:"treeview"},t.createElement("a",{href:""},t.createElement("i",{className:"fa fa-laptop"}),t.createElement("span",null,"Orders"),t.createElement("i",{className:"fa fa-angle-left pull-right"})),t.createElement("ul",{className:"treeview-menu menu-open",style:e},t.createElement("li",null,t.createElement("a",{href:"findwork.html"},t.createElement("i",{className:"fa fa-circle-o"}),"Find Work")),t.createElement("li",null,t.createElement("a",{href:"allorders.html"},t.createElement("i",{className:"fa fa-circle-o"}),"All Orders ")),t.createElement("li",null,t.createElement("a",{href:"bids.html"},t.createElement("i",{className:"fa fa-circle-o"})," Bids")))),t.createElement("li",null,t.createElement("a",{href:"earnings.html"},t.createElement("i",{className:"fa fa-th"}),t.createElement("span",null,"Earnings"))),t.createElement("li",{className:"treeview"},t.createElement("a",{href:""},t.createElement("i",{className:"fa fa-table"})," ",t.createElement("span",null,"Mailbox"),t.createElement("i",{className:"fa fa-angle-left pull-right"})),t.createElement("ul",{className:"treeview-menu"},t.createElement("li",null,t.createElement("a",{href:"inbox.html"},"Inbox"),t.createElement("span",{className:"label label-primary pull-right"},"4")),t.createElement("li",null,t.createElement("a",{href:"compose.html"},"Compose")),t.createElement("li",null,t.createElement("a",{href:"sent.html"},"Send")))),t.createElement("li",null,t.createElement("a",{href:"profile.html"},t.createElement("i",{className:"fa fa-calendar"})," ",t.createElement("span",null,"Profile"))))))}});return a}.apply(e,i),!(void 0!==r&&(t.exports=r))},112:function(t,e,a){var i,r;i=[a(1),a(2)],r=function(t,e){var a=t.createClass({displayName:"PaidEarnings",render:function(){return t.createElement("div",{classNameName:"col-md-12"},t.createElement("div",{className:"box box-success"},t.createElement("div",{className:"box-header with-border"},t.createElement("div",{className:"box-title"},t.createElement("h3",{className:"box-title"},"Paid Earnings")),t.createElement("div",{className:"box-tools pull-right"},t.createElement("button",{type:"button",className:"btn btn-box-tool","data-widget":"collapse"},t.createElement("i",{className:"fa fa-minus"})))),t.createElement("div",{className:"box-body table-responsive"},"No Data to display. You haven't had any paided orders yet.",t.createElement("div",{id:"pe_earnings_table_wrapper",className:"dataTables_wrapper form-inline dt-bootstrap"},t.createElement("div",{className:"row"},t.createElement("div",{className:"col-sm-6"},t.createElement("div",{className:"dataTables_length",id:"pe_earnings_table_length"},t.createElement("label",null,"Show ",t.createElement("select",{name:"pe_earnings_table_length","aria-controls":"pe_earnings_table",className:"form-control input-sm"},t.createElement("option",{value:"10"},"10"),t.createElement("option",{value:"25"},"25"),t.createElement("option",{value:"50"},"50"),t.createElement("option",{value:"100"},"100"))," entries"))),t.createElement("div",{className:"col-sm-6"},t.createElement("div",{id:"pe_earnings_table_filter",className:"dataTables_filter"},t.createElement("label",null,"Search:",t.createElement("input",{type:"search",className:"form-control input-sm",placeholder:"","aria-controls":"pe_earnings_table"}))))),t.createElement("div",{className:"row"},t.createElement("div",{className:"col-sm-12"},t.createElement("table",{className:"table table-bordered table-striped dataTable",id:"pe_earnings_table",role:"grid","aria-describedby":"pe_earnings_table_info"},t.createElement("thead",null,t.createElement("tr",{role:"row"},t.createElement("th",{className:"sorting_asc",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-sort":"ascending","aria-label":"Earning ID: activate to sort column descending"},"Earning ID"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Order No: activate to sort column ascending"},"Order No"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Date Approved: activate to sort column ascending"},"Date Approved"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Payment Status: activate to sort column ascending"},"Payment Status"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Bonus: activate to sort column ascending"},"Bonus"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Total Fine: activate to sort column ascending"},"Total Fine"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Amount: activate to sort column ascending"},"Amount"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Total: activate to sort column ascending"},"Total"))),t.createElement("tfoot",null,t.createElement("tr",null,t.createElement("th",{rowspan:"1",colspan:"1"},"Earning ID"),t.createElement("th",{rowspan:"1",colspan:"1"},"Order No"),t.createElement("th",{rowspan:"1",colspan:"1"},"Date Approved"),t.createElement("th",{rowspan:"1",colspan:"1"},"Payment Status"),t.createElement("th",{rowspan:"1",colspan:"1"},"Bonus"),t.createElement("th",{rowspan:"1",colspan:"1"},"Total Fine"),t.createElement("th",{rowspan:"1",colspan:"1"},"Amount"),t.createElement("th",{rowspan:"1",colspan:"1"},"Total"))),t.createElement("tbody",null,t.createElement("tr",{className:"odd"},t.createElement("td",{valign:"top",colspan:"8",className:"dataTables_empty"},"No data available in table")))))),t.createElement("div",{className:"row"},t.createElement("div",{className:"col-sm-5"},t.createElement("div",{className:"dataTables_info",id:"pe_earnings_table_info",role:"status","aria-live":"polite"},"Showing 0 to 0 of 0 entries")),t.createElement("div",{className:"col-sm-7"},t.createElement("div",{className:"dataTables_paginate paging_simple_numbers",id:"pe_earnings_table_paginate"},t.createElement("ul",{className:"pagination"},t.createElement("li",{className:"paginate_button previous disabled",id:"pe_earnings_table_previous"},t.createElement("a",{href:"#","aria-controls":"pe_earnings_table","data-dt-idx":"0",tabindex:"0"},"Previous")),t.createElement("li",{className:"paginate_button next disabled",id:"pe_earnings_table_next"},t.createElement("a",{href:"#","aria-controls":"pe_earnings_table","data-dt-idx":"1",tabindex:"0"},"Next"))))))))))}});return a}.apply(e,i),!(void 0!==r&&(t.exports=r))},113:function(t,e,a){var i,r;i=[a(1),a(2)],r=function(t,e){var a=t.createClass({displayName:"PendingEarnings",render:function(){return t.createElement("div",{classNameName:"col-md-12"},t.createElement("div",{className:"box box-success"},t.createElement("div",{className:"box-header with-border"},t.createElement("div",{className:"box-title"},t.createElement("h3",{className:"box-title"},"Pending Earnings")),t.createElement("div",{className:"box-tools pull-right"},t.createElement("button",{type:"button",className:"btn btn-box-tool","data-widget":"collapse"},t.createElement("i",{className:"fa fa-minus"})))),t.createElement("div",{className:"box-body table-responsive"},"No Data to display. You haven't had any orders approved yet",t.createElement("div",{id:"pe_earnings_table_wrapper",className:"dataTables_wrapper form-inline dt-bootstrap"},t.createElement("div",{className:"row"},t.createElement("div",{className:"col-sm-6"},t.createElement("div",{className:"dataTables_length",id:"pe_earnings_table_length"},t.createElement("label",null,"Show ",t.createElement("select",{name:"pe_earnings_table_length","aria-controls":"pe_earnings_table",className:"form-control input-sm"},t.createElement("option",{value:"10"},"10"),t.createElement("option",{value:"25"},"25"),t.createElement("option",{value:"50"},"50"),t.createElement("option",{value:"100"},"100"))," entries"))),t.createElement("div",{className:"col-sm-6"},t.createElement("div",{id:"pe_earnings_table_filter",className:"dataTables_filter"},t.createElement("label",null,"Search:",t.createElement("input",{type:"search",className:"form-control input-sm",placeholder:"","aria-controls":"pe_earnings_table"}))))),t.createElement("div",{className:"row"},t.createElement("div",{className:"col-sm-12"},t.createElement("table",{className:"table table-bordered table-striped dataTable",id:"pe_earnings_table",role:"grid","aria-describedby":"pe_earnings_table_info"},t.createElement("thead",null,t.createElement("tr",{role:"row"},t.createElement("th",{className:"sorting_asc",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-sort":"ascending","aria-label":"Earning ID: activate to sort column descending"},"Earning ID"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Order No: activate to sort column ascending"},"Order No"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Date Approved: activate to sort column ascending"},"Date Approved"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Payment Status: activate to sort column ascending"},"Payment Status"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Bonus: activate to sort column ascending"},"Bonus"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Total Fine: activate to sort column ascending"},"Total Fine"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Amount: activate to sort column ascending"},"Amount"),t.createElement("th",{className:"sorting",tabindex:"0","aria-controls":"pe_earnings_table",rowspan:"1",colspan:"1","aria-label":"Total: activate to sort column ascending"},"Total"))),t.createElement("tfoot",null,t.createElement("tr",null,t.createElement("th",{rowspan:"1",colspan:"1"},"Earning ID"),t.createElement("th",{rowspan:"1",colspan:"1"},"Order No"),t.createElement("th",{rowspan:"1",colspan:"1"},"Date Approved"),t.createElement("th",{rowspan:"1",colspan:"1"},"Payment Status"),t.createElement("th",{rowspan:"1",colspan:"1"},"Bonus"),t.createElement("th",{rowspan:"1",colspan:"1"},"Total Fine"),t.createElement("th",{rowspan:"1",colspan:"1"},"Amount"),t.createElement("th",{rowspan:"1",colspan:"1"},"Total"))),t.createElement("tbody",null,t.createElement("tr",{className:"odd"},t.createElement("td",{valign:"top",colspan:"8",className:"dataTables_empty"},"No data available in table")))))),t.createElement("div",{className:"row"},t.createElement("div",{className:"col-sm-5"},t.createElement("div",{className:"dataTables_info",id:"pe_earnings_table_info",role:"status","aria-live":"polite"},"Showing 0 to 0 of 0 entries")),t.createElement("div",{className:"col-sm-7"},t.createElement("div",{className:"dataTables_paginate paging_simple_numbers",id:"pe_earnings_table_paginate"},t.createElement("ul",{className:"pagination"},t.createElement("li",{className:"paginate_button previous disabled",id:"pe_earnings_table_previous"},t.createElement("a",{href:"#","aria-controls":"pe_earnings_table","data-dt-idx":"0",tabindex:"0"},"Previous")),t.createElement("li",{className:"paginate_button next disabled",id:"pe_earnings_table_next"},t.createElement("a",{href:"#","aria-controls":"pe_earnings_table","data-dt-idx":"1",tabindex:"0"},"Next"))))))))))}});return a}.apply(e,i),!(void 0!==r&&(t.exports=r))},114:function(t,e,a){var i,r;i=[a(1),a(2)],r=function(t,e){var a=t.createClass({displayName:"ProgressbarEarnings",render:function(){return t.createElement("div",{className:"col-md-12"},t.createElement("div",{className:"box box-success"},t.createElement("div",{className:"col-md-4 border-right"},t.createElement("div",{className:"box-header with-border"},t.createElement("h3",{className:"box-title"},"In Progress ",t.createElement("br",null),t.createElement("small",null,"Work in Progress"))),t.createElement("div",{className:"box-body"},t.createElement("small",null,"$"))),t.createElement("div",{className:"col-md-4 border-right"},t.createElement("div",{className:"box-header with-border"},t.createElement("h3",{className:"box-title"},"Pending ",t.createElement("br",null),t.createElement("small",null,"Available to Withdraw"))),t.createElement("div",{className:"box-body"},t.createElement("small",null,"$"),"0")),t.createElement("div",{className:"col-md-4 border-right-left"},t.createElement("div",{className:"box-header with-border"},t.createElement("h3",{className:"box-title"},"Total Paid")),t.createElement("div",{className:"box-body"},t.createElement("small",null,"$"),"0 ",t.createElement("br",null),"Recent payment $ 0.00"))))}});return a}.apply(e,i),!(void 0!==r&&(t.exports=r))}})});
  //# sourceMappingURL=earnings.bundle.js.map