(function(){var e,aa=aa||{},ba=this;function ca(){}function da(a){a.Xc=function(){return a.Iu?a.Iu:a.Iu=new a}}
function ea(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function l(a){return void 0!==a}function fa(a){return null===a}function p(a){return"array"==ea(a)}function ga(a){var b=ea(a);return"array"==b||"object"==b&&"number"==typeof a.length}function q(a){return"string"==typeof a}function ha(a){return"boolean"==typeof a}function v(a){return"number"==typeof a}function w(a){return"function"==ea(a)}function x(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}
function ja(a){return a[ka]||(a[ka]=++la)}var ka="closure_uid_"+(1E9*Math.random()>>>0),la=0;function ma(a,b,c){return a.call.apply(a.bind,arguments)}function na(a,b,c){if(!a)throw Error();if(2":"
")}function va(a){if(!wa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(xa,"&"));-1!=a.indexOf("<")&&(a=a.replace(ya,"<"));-1!=a.indexOf(">")&&(a=a.replace(za,">"));-1!=a.indexOf('"')&&(a=a.replace(Aa,"""));-1!=a.indexOf("'")&&(a=a.replace(Ba,"'"));return a}var xa=/&/g,ya=//g,Aa=/"/g,Ba=/'/g,wa=/[&<>"']/;
function Ca(a){return ua(a.replace(/ /g," "),void 0)}function Da(a){a=l(void 0)?a.toFixed(void 0):String(a);var b=a.indexOf(".");-1==b&&(b=a.length);b=Math.max(0,2-b);return Array(b+1).join("0")+a}
function Ea(a){var b=0,c=String(Fa).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split(".");a=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split(".");for(var d=Math.max(c.length,a.length),f=0;0==b&&f(0==
r[1].length?0:parseInt(r[1],10))?1:0)||((0==n[2].length)<(0==r[2].length)?-1:(0==n[2].length)>(0==r[2].length)?1:0)||(n[2]r[2]?1:0)}while(0==b)}return b}function Ga(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}function Ha(a){var b=q(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#parseFloat(Za)){Fa=String(cb);break a}}Fa=Za}var db={};function eb(a){return db[a]||(db[a]=0<=Ea(a))}
var fb=ba.document,gb=fb&&Ta?Ya()||("CSS1Compat"==fb.compatMode?parseInt(Fa,10):5):void 0;var hb;var ib=Array.prototype,jb=ib.indexOf?function(a,b,c){return ib.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(q(a))return q(b)&&1==b.length?a.indexOf(b,c):-1;for(;cc?null:q(a)?a.charAt(c):a[c]}function pb(a,b){var c=jb(a,b),d;(d=0<=c)&&ib.splice.call(a,c,1);return d}function qb(a){return ib.concat.apply(ib,arguments)}function rb(a){var b=a.length;if(0=arguments.length?ib.slice.call(a,b):ib.slice.call(a,b,c)}function vb(a,b,c){return wb(a,c||xb,!1,b)}
function wb(a,b,c,d,f){for(var g=0,h=a.length,k;g>1,n;n=c?b.call(f,a[m],m,a):b(d,a[m]);0b?1:ac?(tb(a,-(c+1),0,b),!0):!1};function Fb(a,b){var c;c=a.className;c=q(c)&&c.match(/\S+/g)||[];for(var d=ub(arguments,1),f=c.length+d.length,g=c,h=0;h360*a?a+360:a}function Wb(a){return a*Math.PI/180}function Xb(a,b){return b*Math.cos(Wb(a))}function Yb(a,b){return b*Math.sin(Wb(a))};function Zb(a,b){this.x=l(a)?a:0;this.y=l(b)?b:0}e=Zb.prototype;e.D=function(){return new Zb(this.x,this.y)};function $b(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}e.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};e.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};e.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
e.translate=function(a,b){a instanceof Zb?(this.x+=a.x,this.y+=a.y):(this.x+=a,v(b)&&(this.y+=b));return this};e.scale=function(a,b){var c=v(b)?b:a;this.x*=a;this.y*=c;return this};function ac(a){return a?new bc(cc(a)):hb||(hb=new bc)}function dc(a){return ec(a)}function ec(a){var b=document;return q(a)?b.getElementById(a):a}function fc(a,b){var c=b&&"*"!=b?b.toUpperCase():"";return a.querySelectorAll&&a.querySelector&&c?a.querySelectorAll(c+""):a.getElementsByTagName(c||"*")}
function gc(a,b){Gb(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in hc?a.setAttribute(hc[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}var hc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};
function ic(a){return a?a.parentWindow||a.defaultView:window}function jc(a,b,c){return kc(document,arguments)}function kc(a,b){var c=b[0],d=b[1];if(!Rb&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',va(d.name),'"');if(d.type){c.push(' type="',va(d.type),'"');var f={};Pb(f,d);delete f.type;d=f}c.push(">");c=c.join("")}c=a.createElement(c);d&&(q(d)?c.className=d:p(d)?Fb.apply(null,[c].concat(d)):gc(c,d));2=a.length)throw xc;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");}
function Ac(a,b){if(ga(a))try{kb(a,b,void 0)}catch(c){if(c!==xc)throw c;}else{a=zc(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(d){if(d!==xc)throw d;}}};function Bc(a,b){this.mf={};this.Mb=[];this.Vm=this.q=0;var c=arguments.length;if(12*this.q&&Cc(this),!0):!1};
function Cc(a){if(a.q!=a.Mb.length){for(var b=0,c=0;b=c.length)throw xc;var h=c[b++];return a?h:d[h]}};return h};function Dc(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Fc(a){this.Mg=a}Fc.prototype.wa=null;Fc.prototype.vb=null;function Gc(a,b){this.name=a;this.value=b}Gc.prototype.toString=function(){return this.name};var Hc=new Gc("OFF",Infinity),Ic=new Gc("SHOUT",1200),Jc=new Gc("SEVERE",1E3),Kc=new Gc("WARNING",900),Lc=new Gc("INFO",800),Mc=new Gc("ALL",0);e=Fc.prototype;e.getParent=function(){return this.wa};e.Kj=function(){this.vb||(this.vb={});return this.vb};e.Jv=function(){};e.log=function(){};e.info=function(){};e.Qw=function(){};
e.xm=function(a){this.wa=a};var Nc={},Oc=null;function Pc(){Oc||(Oc=new Fc(""),Nc[""]=Oc,Oc.Jv())}function Qc(a){Pc();var b;if(!(b=Nc[a])){b=new Fc(a);var c=a.lastIndexOf("."),d=a.substr(c+1),c=Qc(a.substr(0,c));c.Kj()[d]=b;b.xm(c);Nc[a]=b}return b};function Rc(){this.iv=qa()}var Sc=new Rc;Rc.prototype.set=function(a){this.iv=a};Rc.prototype.reset=function(){this.set(qa())};Rc.prototype.get=function(){return this.iv};function Tc(a){this.Rr=a||"";this.fz=Sc}e=Tc.prototype;e.zw=!0;e.Sv=!0;e.Zy=!0;e.Yy=!0;e.Tv=!1;e.$y=!1;function Uc(a){a=new Date(a.Dx());return Vc(a.getFullYear()-2E3)+Vc(a.getMonth()+1)+Vc(a.getDate())+" "+Vc(a.getHours())+":"+Vc(a.getMinutes())+":"+Vc(a.getSeconds())+"."+Vc(Math.floor(a.getMilliseconds()/10))}function Vc(a){return 10>a?"0"+a:String(a)}function Wc(a,b){var c=(a.Dx()-b)/1E3,d=c.toFixed(3),f=0;if(1>c)f=2;else for(;100>c;)f++,c*=10;for(;0=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
e.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};e.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};e.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
e.translate=function(a,b){a instanceof Zb?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,v(b)&&(this.top+=b,this.bottom+=b));return this};e.scale=function(a,b){var c=v(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function Zc(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}e=Zc.prototype;e.D=function(){return new Zc(this.left,this.top,this.width,this.height)};function $c(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1}function ad(a,b){var c=Math.max(a.left+a.width,b.left+b.width),d=Math.max(a.top+a.height,b.top+b.height);a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.width=c-a.left;a.height=d-a.top}
e.contains=function(a){return a instanceof Zc?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};function bd(a,b){var c=b.xa.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}
function jd(a){var b,c=cc(a),d=gd(a,"position"),f=Ua&&c.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==d&&(b=c.getBoxObjectFor(a))&&(0>b.screenX||0>b.screenY),g=new Zb(0,0),h;b=c?cc(c):document;(h=!Ta)||(h=Ta&&9<=gb)||(h=ac(b),h=nc(h.Bd));h=h?b.documentElement:b.body;if(a==h)return g;if(a.getBoundingClientRect)b=hd(a),a=sc(ac(c)),g.x=b.left+a.x,g.y=b.top+a.y;else if(c.getBoxObjectFor&&!f)b=c.getBoxObjectFor(a),a=c.getBoxObjectFor(h),g.x=b.screenX-a.screenX,g.y=b.screenY-a.screenY;else{f=a;
do{g.x+=f.offsetLeft;g.y+=f.offsetTop;f!=a&&(g.x+=f.clientLeft||0,g.y+=f.clientTop||0);if(Va&&"fixed"==gd(f,"position")){g.x+=c.body.scrollLeft;g.y+=c.body.scrollTop;break}f=f.offsetParent}while(f&&f!=a);if(Sa||Va&&"absolute"==d)g.y-=c.body.offsetTop;for(f=a;(f=id(f))&&f!=c.body&&f!=h;)g.x-=f.scrollLeft,Sa&&"TR"==f.tagName||(g.y-=f.scrollTop)}return g}function kd(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}
function ld(a){var b=md;if("none"!=gd(a,"display"))return b(a);var c=a.style,d=c.display,f=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=g;c.visibility=f;return a}function md(a){var b=a.offsetWidth,c=a.offsetHeight,d=Va&&!b&&!c;return l(b)&&!d||!a.getBoundingClientRect?new Qb(b,c):(a=hd(a),new Qb(a.right-a.left,a.bottom-a.top))}function nd(a){var b=jd(a);a=ld(a);return new Zc(b.x,b.y,a.width,a.height)}
var od=Ua?"MozUserSelect":Va?"WebkitUserSelect":null;function pd(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;var f=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return f}function qd(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?pd(a,c):0}var rd={thin:2,medium:4,thick:6};
function sd(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in rd?rd[c]:pd(a,c)}var td=/[^\d]+$/,ud={cm:1,"in":1,mm:1,pc:1,pt:1},vd={em:1,ex:1},wd=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function xd(a){oa(this.vw,this);this.fu=new Xc;this.Ju=this.fu.Sv=!1;this.Be=a;this.px=this.Be.ownerDocument||this.Be.document;a=ac(this.Be);var b=null,c=a.Bd;if(Ta&&c.createStyleSheet)a=b=c.createStyleSheet(),Ta&&l(a.cssText)?a.cssText=".dbg-sev{color:#F00}.dbg-w{color:#C40}.dbg-sh{font-weight:bold;color:#000}.dbg-i{color:#444}.dbg-f{color:#999}.dbg-ev{color:#0A0}.dbg-m{color:#990}.logmsg{border-bottom:1px solid #CCC;padding:2px}.logsep{background-color: #8C8;}.logdiv{border:1px solid #CCC;background-color:#FCFCFC;font:medium monospace}":
a.innerHTML=".dbg-sev{color:#F00}.dbg-w{color:#C40}.dbg-sh{font-weight:bold;color:#000}.dbg-i{color:#444}.dbg-f{color:#999}.dbg-ev{color:#0A0}.dbg-m{color:#990}.logmsg{border-bottom:1px solid #CCC;padding:2px}.logsep{background-color: #8C8;}.logdiv{border:1px solid #CCC;background-color:#FCFCFC;font:medium monospace}";else{c=fc(a.Bd,"head")[0];c||(b=fc(a.Bd,"body")[0],c=a.ve("head"),b.parentNode.insertBefore(c,b));var d=b=a.ve("style");Ta&&l(d.cssText)?d.cssText=".dbg-sev{color:#F00}.dbg-w{color:#C40}.dbg-sh{font-weight:bold;color:#000}.dbg-i{color:#444}.dbg-f{color:#999}.dbg-ev{color:#0A0}.dbg-m{color:#990}.logmsg{border-bottom:1px solid #CCC;padding:2px}.logsep{background-color: #8C8;}.logdiv{border:1px solid #CCC;background-color:#FCFCFC;font:medium monospace}":
d.innerHTML=".dbg-sev{color:#F00}.dbg-w{color:#C40}.dbg-sh{font-weight:bold;color:#000}.dbg-i{color:#444}.dbg-f{color:#999}.dbg-ev{color:#0A0}.dbg-m{color:#990}.logmsg{border-bottom:1px solid #CCC;padding:2px}.logsep{background-color: #8C8;}.logdiv{border:1px solid #CCC;background-color:#FCFCFC;font:medium monospace}";a.appendChild(c,b)}this.Be.className+=" logdiv"}xd.prototype.Sy=function(a){a!=this.Ju&&(Pc(),this.Ju=a)};
xd.prototype.vw=function(a){var b=100>=this.Be.scrollHeight-this.Be.scrollTop-this.Be.clientHeight,c=this.px.createElement("div");c.className="logmsg";var d=this.fu,f;switch(Hc.value){case Ic.value:f="dbg-sh";break;case Jc.value:f="dbg-sev";break;case Kc.value:f="dbg-w";break;case Lc.value:f="dbg-i";break;default:f="dbg-f"}var g=[];g.push(d.Rr," ");d.Sv&&g.push("[",Uc(a),"] ");d.Zy&&g.push("[",Ca(Wc(a,d.fz.get())),"s] ");d.Yy&&g.push("[",va(a.UA()),"] ");d.$y&&g.push("[",va(Hc.name),"] ");g.push('',ua(Ca(va(a.VA()))));d.Tv&&a.SA()&&g.push("
",ua(Ca(a.TA()||"")));g.push("");d.zw&&g.push("
");c.innerHTML=g.join("");this.Be.appendChild(c);b&&(this.Be.scrollTop=this.Be.scrollHeight)};xd.prototype.clear=function(){this.Be.innerHTML=""};function yd(a){return v(a)?sa(a):a};function zd(){}da(zd);function Ad(a,b){var c,d;if(b.height==b.width)return a;b.height=a?d=180+d:270=a&&(d=360+d);return d%360}e=zd.prototype;e.appendChild=function(a,b){a.appendChild(b)};e.getParent=function(a){return qc(a)};e.removeNode=function(a){pc(a)};e.Uu=function(){return!1};e.Xl=function(){return!1};e.Ho=function(){return!1};function Bd(){for(var a=document.styleSheets,b=[],c=Cd(a),d=0;a=c[d];d++){var f=Dd(a);if(f&&f.length)for(var g=0,h=0,k=f.length,m;h=c&&0<=f&&255>=f&&0<=d&&255>=d){c=[c,f,d];break a}}c=[]}if(c.length)return b.Eg=Pd(c),b.type="rgb",b;if(Kd&&(c=Kd[a.toLowerCase()]))return b.Eg=c,b.type="named",b;throw Error(a+" is not a valid color string");}var Qd=/#(.)(.)(.)/;
function Nd(a){if(!Md.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(Qd,"#$1$1$2$2$3$3"));return a.toLowerCase()}function Rd(a){a=Nd(a);return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]}
function Pd(a){var b=a[0],c=a[1];a=a[2];b=Number(b);c=Number(c);a=Number(a);if(isNaN(b)||0>b||255c||255a||255Math.sin(d)||180==a||360==a;if(90==a||270==a)c+=1E-6;180!=a&&(0>Math.tan(d)||90==a||270==a)&&(f=-1,c=90-c);c=Wb(c);d=Math.tan(c);d=Math.sin(c)*(b.height/2-d*b.width/2)+Math.sqrt(Math.pow(b.width/2,2)*(1+Math.pow(d,2)));f=f*Math.cos(c)*d;g=g*Math.sin(c)*d;m&&(f=-f,g=-g);return{$b:new me(Math.round(h-f),Math.round(k+g)),bd:new me(Math.round(h+f),Math.round(k-g))}};
function ne(a,b){var c,d;b.$b.x==b.bd.x?(c=b.$b.x,d=a.y):b.$b.y==b.bd.y?(c=a.x,d=b.$b.y):(c=(b.$b.x*Math.pow(b.bd.y-b.$b.y,2)+a.x*Math.pow(b.bd.x-b.$b.x,2)+(b.bd.x-b.$b.x)*(b.bd.y-b.$b.y)*(a.y-b.$b.y))/(Math.pow(b.bd.y-b.$b.y,2)+Math.pow(b.bd.x-b.$b.x,2)),d=(b.bd.x-b.$b.x)*(a.x-c)/(b.bd.y-b.$b.y)+a.y);c=new me(c,d);d=[Ub(b.$b.x-b.bd.x,-1,1),Ub(b.$b.y-b.bd.y,-1,1)];var f=[Ub(b.$b.x-c.x,-1,1),Ub(b.$b.y-c.y,-1,1)],g=[Ub(b.bd.x-c.x,-1,1),Ub(b.bd.y-c.y,-1,1)];return 0>(0==d[0]?(f[1]+g[1])*d[1]:(f[0]+g[0])*
d[0])?-me.uq(b.$b,c):me.uq(b.$b,c)}
function oe(a,b,c,d,f){var g=a.Vn(d,f);f=$b(g.$b,g.bd);d=a.Vn(d,c);a=$b(d.$b,d.bd);c=ne(g.$b,d);g=ne(g.bd,d);d={offset:Math.round(c/a*100)/100,color:"",opacity:1};var h={offset:Math.round(g/a*100)/100,color:"",opacity:1},k=[];k.toString=function(){for(var a="\n",b=0,c=this.length;bd.offset&&s.offset=h.offset&&!n&&(n={offset:s.offset,color:s.color,opacity:s.opacity})}k.push(h);b=s=1;if(2h&&1>g?m?h>g:hh)?h:g);h=k.width*g;k=k.height*g;switch(f){case pe:f=b.width;g=b.height;break;case re:f=b.left;g=b.top;break;case se:f=b.left+b.width/2-h/2;g=b.top;break;case te:f=b.left+b.width-h;g=b.top;break;
case ue:f=b.left;g=b.top+b.height/2-k/2;break;default:case ve:f=b.left+b.width/2-h/2;g=b.top+b.height/2-k/2;break;case we:f=b.left+b.width-h;g=b.top+b.height/2-k/2;break;case xe:f=b.left;g=b.top+b.height-k;break;case ye:f=b.left+b.width/2-h/2;g=b.top+b.height-k;break;case ze:f=b.left+b.width-h,g=b.top+b.height-k}}this.ra(c.style,{position:"absolute",left:fe(f),top:fe(g),width:fe(h),height:fe(k)});this.u(c,"src",d);a.clip(b)};e.Av=function(a){this.ms(a)};
e.ms=function(a){var b=a.j();de(this,b);var c=a.Zg(),d=a.$g(),f=a.uf(),g=a.Fh(),h=a.Wb();h&&!Ae(h)?(c=Be(c,d,f,g,0,360,!1),d=c.length,h.transform(c,0,c,0,d/2),h=["m",this.sb(c[d-2]),this.sb(c[d-1]),"c"],Array.prototype.push.apply(h,mb(c,this.sb))):h=["ae",this.sb(c),this.sb(d),this.sb(f),this.sb(g),0,Math.round(-23592960)];h.push("x");Ce(a,De);Ce(a,Ee);this.u(b,"path",h.join(" "))};e.Kv=function(a){var b=a.j();de(this,b);var c=ge(this,a);c?this.u(b,"path",c):this.qa(b,"path");Ce(a,De);Ce(a,Ee)};
e.kq=function(){var a=this.Wc("shape"),b=this.Wc("path");b.setAttribute("textpathok","t");a.appendChild(b);return a};e.jq=function(){return document.createElement("span")};e.createTextNode=function(a){var b=this.Wc("textpath");b.setAttribute("on","t");b.setAttribute("string",a);return b};e.Bv=function(a,b){a.style.cursor=null===b?"":b};
e.ps=function(a){var b=a.j().style,c,d;Fe(a)?(d=a.rg,a.R.length&&(d-=a.R[0].og),c=a.Ld,this.ra(b,{position:"absolute",overflow:"visible",left:fe(c),top:fe(d)})):(c=a.x(),d=a.y(),a.vAlign()&&a.height()&&a.height()>a.Sc&&(a.vAlign()==Ge&&(d+=a.height()/2-a.Sc/2),a.vAlign()==He&&(d+=a.height()-a.Sc)),this.ra(b,{position:"absolute",overflow:"hidden",left:fe(c),top:fe(d)}))};
e.Pv=function(a){var b=a.j(),c=b.style;b.style.cssText="";if(Fe(a))this.ra(c,{width:fe(1),height:fe(1)}),b.innerHTML="";else if(null!=a.yk){a.style();a.fontSize()&&C(b,"font-size",a.fontSize());a.color()&&C(b,"color",a.color());a.fontFamily()&&C(b,"font-family",a.fontFamily());a.fontStyle()&&C(b,"font-style",a.fontStyle());a.fontVariant()&&C(b,"font-variant",a.fontVariant());a.fontWeight()&&C(b,"font-weight",a.fontWeight());a.letterSpacing()&&C(b,"letter-spacing",a.letterSpacing());a.jh()&&C(b,"text-decoration",
a.jh());a.opacity()&&(c.filter="alpha(opacity="+100*a.opacity()+")");a.lineHeight()&&C(b,"line-height",a.lineHeight());a.textIndent()&&C(b,"text-indent",a.textIndent());"..."==a.textOverflow()&&C(b,"text-overflow","ellipsis");""==a.textOverflow()&&C(b,"text-overflow","clip");a.direction()&&C(b,"direction",a.direction());a.Lh()==Ie&&a.width()?(C(b,"word-break","break-all"),C(b,"white-space","normal")):(C(b,"word-break","normal"),C(b,"white-space","nowrap"));a.wc()&&(b.style["text-align"]=a.Ob?a.wc()==
Je||a.wc()==Ke?Ke:a.wc()==Le||a.wc()==Me?Me:Ne:a.wc()==Je||a.wc()==Me?Me:a.wc()==Le||a.wc()==Ke?Ke:Ne);var d=!a.Pg(),f=b.getElementsByTagName("*");if(od){if(d=d?"none":"",b.style[od]=d,f)for(var g=0,h;h=f[g];g++)h.style[od]=d}else if(Ta||Sa)if(d=d?"on":"",b.setAttribute("unselectable",d),f)for(g=0;h=f[g];g++)h.setAttribute("unselectable",d);b.innerHTML=a.yk;this.u(c,"width",(a.width()?fe(a.width()):a.o().width).toString());this.u(c,"height",(a.height()?fe(a.height()):a.o().height).toString())}};
e.np=function(a){var b=a.j();a="m "+this.sb(a.x)+","+this.sb(a.y)+" l "+(this.sb(a.x)+1)+","+this.sb(a.y)+" e";b.setAttribute("path",a)};
e.op=function(a){var b=a.parent(),c=b.style(),d=a.j(),c=Nb(c);Pb(c,a.F);a=this.createTextNode(a.text);c.fontStyle&&C(a,"font-style",c.fontStyle);c.fontVariant&&C(a,"font-variant",c.fontVariant);c.fontFamily&&C(a,"font-family",c.fontFamily);c.fontSize&&C(a,"font-size",c.fontSize);c.fontWeight&&C(a,"font-weight",c.fontWeight);c.letterSpacing&&(a.style["v-text-spacing"]=c.letterSpacing);c.decoration&&C(a,"text-decoration",c.decoration);c.hAlign&&(a.style["v-text-align"]=b.Ob?c.hAlign==Je||c.hAlign==
Ke?Ke:c.hAlign==Le||c.hAlign==Me?Me:Ne:c.hAlign==Je||c.hAlign==Me?Me:c.hAlign==Le||c.hAlign==Ke?Ke:Ne);if(c.opacity){var f=this.Wc("fill");this.u(f,"opacity",c.opacity);d.appendChild(f)}d.appendChild(a);b.Pg()?d.removeAttribute("unselectable"):this.u(d,"unselectable","on");de(this,d);d.setAttribute("filled","t");d.setAttribute("fillcolor",c.color);d.setAttribute("stroked","f")};e.Uu=function(){return!0};
e.Qs=function(a){var b=a.fill();b instanceof Oe&&(b="black");var c=a.stroke(),d;d=q(c)?c:"keys"in c?0!=c.keys.length?c.keys[0].color:"#000":c.color;var f=!q(b)&&"keys"in b&&"cx"in b&&"cy"in b,g=!q(b)&&"keys"in b&&!f,h=!f&&!g,k="none"!=b&&"none"!=b.color,m="none"!=d&&0!=c.thickness,n=h&&k&&1!=b.opacity,r=!q(c)&&m&&(1!=c.opacity||c.lineJoin!=Pe||c.lineCap!=Qe||"none"!=c.dash),t,s,u;if(f||g||n||r){var r=a.l(),n=r.$e,y;y=a instanceof Re&&a.Bi()?new D(0,0,1,1):a.o();if(g){s=b.mode instanceof D;u=ub(b.keys,
0);0!=u[0].offset&&u.unshift({offset:0,color:u[0].color,opacity:u[0].opacity});t=u[u.length-1];1!=t.offset&&u.push({offset:1,color:t.color,opacity:t.opacity});var z=b.mode?Ad(b.angle,y):b.angle;y=Se(n,s?oe(this,u,b.mode,z,y):u,b.opacity,z,b.mode)}else if(f){var F;b.mode?(F=b.mode,t=Math.min(F.width,F.height),z=(b.cx*F.width-(y.left-F.left))/y.width,u=(b.cy*F.height-(y.top-F.top))/y.height,F=t/y.width*1,y=t/y.height*1):(z=b.cx,u=b.cy,F=y=1);y=Te(n,b.keys,z,u,F,y,b.opacity,b.mode)}else y=b;z=Ue(n,y,
c);if(!z.Id){F=this.Wc("shapetype");this.Yi(F,Ve(Id.Xc(),z));this.appendChild(n.j(),F);z.Id=!0;var G=null;if(g){var U=y;U.Id&&(U=new Vd(U.keys,U.opacity,U.Vh,U.mode),z.P=U);G=this.Wc("fill");u=U.keys;var ia=[];kb(u,function(a){ia.push(a.offset+" "+a.color)},this);r=Vb(U.Vh+270);t=u[u.length-1];h=u[0];this.ra(G,{type:"gradient",method:"none",colors:ia.join(","),angle:r,color:h.color,opacity:s?U.opacity:isNaN(t.opacity)?U.opacity:t.opacity,color2:t.color,"o:opacity2":s?U.opacity:isNaN(h.opacity)?U.opacity:
h.opacity});this.appendChild(F,G);U.Ze=n;U.Id=!0}else f?(s=y,s.Id&&(s=new We(s.keys,s.fi,s.gi,s.pp,s.qp,s.opacity,s.L),z.P=s),G=this.Wc("fill"),u=s.keys,h=u[u.length-1],t=u[0],this.ra(G,{src:r.pathToRadialGradientImage,size:s.pp+","+s.qp,origin:".5, .5",position:s.fi+","+s.gi,type:"pattern",method:"linear sigma",colors:"0 "+h.color+";1 "+t.color,color:h.color,opacity:isNaN(h.opacity)?s.opacity:h.opacity,color2:t.color,"o:opacity2":isNaN(t.opacity)?s.opacity:t.opacity}),this.appendChild(F,G),s.Ze=
n,s.Id=!0):h&&(G=z.oi?z.oi:z.oi=this.Wc("fill"),q(b)?(this.ra(a.j(),{fillcolor:b,filled:"none"!=b}),this.ra(G,{type:"solid",on:"none"!=b,color:b,opacity:1})):(this.ra(a.j(),{fillcolor:b.color,filled:"none"!=b.color}),this.ra(G,{type:"solid",on:"none"!=b.color,color:b.color,opacity:isNaN(b.opacity)?1:b.opacity})));this.appendChild(F,G);s=z.Lm?z.Lm:z.Lm=this.Wc("stroke");n=c.thickness?c.thickness:1;r=(h=Xe(c.dash,n))?"flat":c.lineCap;this.ra(s,{joinstyle:c.lineJoin||Pe,endcap:r==Qe?"flat":r,dashstyle:h,
on:m,color:d,opacity:x(c)&&"opacity"in c?c.opacity:1,weight:n+"px"});this.appendChild(F,s)}if(f||g)h=y.keys[y.keys.length-1],this.ra(a.j(),{fillcolor:h.color,filled:"none"!=h.color});this.ra(a.j(),{filled:k,fillcolor:b.color||b,stroked:m,strokecolor:d,strokeweight:c.thickness?c.thickness+"px":"1px"});this.ra(a.j(),{type:"#"+Ve(Id.Xc(),z)})}else this.ra(a.j(),{type:"",filled:k,fillcolor:b.color||b,stroked:m,strokecolor:d,strokeweight:c.thickness?c.thickness+"px":"1px"})};
function Xe(a,b){a=String(a);if(!a)return"none";var c=a.split(" ");0!=c.length%2&&c.push.apply(c,c);for(var d=[],f=0;fa.Sc&&("middle"==a.vAlign()&&(g+=a.height()/2-a.Sc/2),"bottom"==a.vAlign()&&(g+=a.height()-a.Sc)),this.ra(d,{position:"absolute",overflow:"hidden",left:fe(f+b.Ta),top:fe(g+b.Ua)})}};e.Xl=function(){return!0};e.Nv=ca;
e.ks=function(a){var b=a.clip();a=a.j().style;if(b){var b=b.D(),c=b.left,d=b.top;this.u(a,"clip",["rect(",d+"px",c+b.width+"px",d+b.height+"px",c+"px",")"].join(" "))}else ee(a,"clip")};e.Gv=function(a){var b=a.clip(),c=a.j().style;if(b){b=b.D();a=a.Wb();b=$e(b,a);a=b.left;var d=b.top;this.u(c,"clip",["rect(",d+"px",a+b.width+"px",d+b.height+"px",a+"px",")"].join(" "))}else ee(c,"clip")};e.Ho=function(){return!0};var me=Zb;me.uq=$b;me.prototype.ti=function(){return this.x};me.prototype.ui=function(){return this.y};function af(){}da(af);af.prototype.Gb=null;af.prototype.Yj=function(){this.Ug=[];this.Dk=[];this.attrName=this.oj=this.tagName="";this.jm="'";this.xf=this.Kh=this.Tg="";this.Gb=this.style=null;this.state=1;this.br=!1};function bf(a){a.style||(a.style=a.Ug.length?Nb(a.Ug[a.Ug.length-1]):{})}function cf(a,b){switch(b){case "b":case "strong":bf(a);a.style.fontWeight="bold";break;case "i":case "em":bf(a),a.style.fontStyle="italic"}}
function df(a,b,c){switch(b){case "font-style":bf(a);a.style.fontStyle=c||"normal";break;case "font-variant":bf(a);a.style.fontVariant=c||"normal";break;case "font-family":bf(a);a.style.fontFamily=c||ba.acgraph.fontFamily;break;case "font-size":bf(a);a.style.fontSize=c||ba.acgraph.fontSize;break;case "font-weight":bf(a);a.style.fontWeight=c||"normal";break;case "color":bf(a);a.style.color=c||ba.acgraph.color;break;case "letter-spacing":bf(a);a.style.letterSpacing=c||"normal";break;case "text-decoration":bf(a);
a.style.jh=c||"none";break;case "opacity":bf(a),a.style.opacity=null!=c?parseFloat(c):1}}function ef(a){a.xf&&(ff(a.Gb,a.xf,a.Ug.length?a.Ug[a.Ug.length-1]:null),a.xf="",a.br=!1)}function gf(a){a.oj==(a.Dk.length?a.Dk[a.Dk.length-1]:null)&&(ef(a),a.Ug.pop(),a.Dk.pop(),a.tagName="");a.oj="";a.state=1}function hf(a,b){cf(a,a.tagName);a.Dk.push(a.tagName);a.Ug.push(a.style);b&&(a.attrName="");a.tagName="";a.style=null;a.state=1}
function jf(a,b,c){df(a,a.Tg,a.Kh||null);a.Tg="";a.Kh="";c&&(a.attrName="");a.state=b}function kf(a){cf(a,a.tagName);df(a,a.Tg,a.Kh||null);a.Dk.push(a.tagName);a.Ug.push(a.style);a.tagName="";a.style=null;a.attrName="";a.Tg="";a.Kh="";a.state=1};function lf(a){var b;if(p(a))b=Array(a.length);else if(x(a))b={};else return a;for(var c in a)b[c]=lf(a[c]);return b};function mf(){};function Fd(){0!=nf&&(of[ja(this)]=this)}var nf=0,of={};Fd.prototype.af=!1;Fd.prototype.Kb=function(){if(!this.af&&(this.af=!0,this.w(),0!=nf)){var a=ja(this);delete of[a]}};function E(a,b){var c=pa(pf,b);a.am||(a.am=[]);a.am.push(oa(c,void 0))}Fd.prototype.w=function(){if(this.am)for(;this.am.length;)this.am.shift()()};function pf(a){a&&"function"==typeof a.Kb&&a.Kb()}function qf(a){for(var b=0,c=arguments.length;bthis.Ru)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(var c=0;ca&&(b=" ");100>a&&(b=" ");10>a&&(b=" ");return b+a}function yf(a){a=Math.round(a);return String(100+a/1E3%60).substring(1,3)+"."+String(1E3+a%1E3).substring(1,4)}new tf;var zf=!Ta||Ta&&9<=gb,Af=!Ta||Ta&&9<=gb,Bf=Ta&&!eb("9");!Va||eb("528");Ua&&eb("1.9b")||Ta&&eb("8")||Sa&&eb("9.5")||Va&&eb("528");Ua&&!eb("8")||Ta&&eb("9");function Cf(a,b){this.type=a;this.currentTarget=this.target=b}e=Cf.prototype;e.w=function(){};e.Kb=function(){};e.Rd=!1;e.defaultPrevented=!1;e.qv=!0;e.stopPropagation=function(){this.Rd=!0};e.preventDefault=function(){this.defaultPrevented=!0;this.qv=!1};function Df(a){a.preventDefault()};function Ef(a){Ef[" "](a);return a}Ef[" "]=ca;function Ff(a,b){Cf.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.je=!1;this.Kc=null;a&&Gf(this,a,b)}B(Ff,Cf);var Hf=[1,4,2];
function Gf(a,b,c){var d=a.type=b.type;a.target=b.target||b.srcElement;a.currentTarget=c;if(c=b.relatedTarget){if(Ua){var f;a:{try{Ef(c.nodeName);f=!0;break a}catch(g){}f=!1}f||(c=null)}}else"mouseover"==d?c=b.fromElement:"mouseout"==d&&(c=b.toElement);a.relatedTarget=c;a.offsetX=Va||void 0!==b.offsetX?b.offsetX:b.layerX;a.offsetY=Va||void 0!==b.offsetY?b.offsetY:b.layerY;a.clientX=void 0!==b.clientX?b.clientX:b.pageX;a.clientY=void 0!==b.clientY?b.clientY:b.pageY;a.screenX=b.screenX||0;a.screenY=
b.screenY||0;a.button=b.button;a.keyCode=b.keyCode||0;a.charCode=b.charCode||("keypress"==d?b.keyCode:0);a.ctrlKey=b.ctrlKey;a.altKey=b.altKey;a.shiftKey=b.shiftKey;a.metaKey=b.metaKey;a.je=Na?b.metaKey:b.ctrlKey;a.state=b.state;a.Kc=b;b.defaultPrevented&&a.preventDefault();delete a.Rd}Ff.prototype.stopPropagation=function(){Ff.c.stopPropagation.call(this);this.Kc.stopPropagation?this.Kc.stopPropagation():this.Kc.cancelBubble=!0};
Ff.prototype.preventDefault=function(){Ff.c.preventDefault.call(this);var a=this.Kc;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Bf)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};Ff.prototype.Ax=function(){return this.Kc};Ff.prototype.w=function(){};function If(a,b){Ff.call(this);a&&this.ue(a,b)}B(If,Ff);
If.prototype.ue=function(a,b){this.type=a.type;this.target=b||a.target;this.currentTarget=b||a.currentTarget;this.relatedTarget=b||a.relatedTarget;this.offsetX=a.offsetX;this.offsetY=a.offsetY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.button=a.button;this.keyCode=a.keyCode;this.charCode=a.charCode;this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.je=a.je;this.state=a.state;this.Kc=a;delete this.Rd};var D=Zc;e=D.prototype;e.O=function(){return this.left};e.Q=function(){return this.top};e.oa=function(){return this.width};e.na=function(){return this.height};e.xb=function(){return this.left+this.width};e.Ca=function(){return this.top+this.height};D.De=$c;Qb.prototype.oa=function(){return this.width};Qb.prototype.na=function(){return this.height};var Jf="closure_listenable_"+(1E6*Math.random()|0);function Kf(a){try{return!(!a||!a[Jf])}catch(b){return!1}}var Lf=0;function Mf(a,b,c,d,f){this.Ei=a;this.Xo=null;this.src=b;this.type=c;this.capture=!!d;this.Zn=f;this.key=++Lf;this.uk=this.kj=!1}function Nf(a){a.uk=!0;a.Ei=null;a.Xo=null;a.src=null;a.Zn=null};function Of(a){this.src=a;this.Cc={};this.Tm=0}e=Of.prototype;e.add=function(a,b,c,d,f){var g=this.Cc[a];g||(g=this.Cc[a]=[],this.Tm++);var h=Pf(g,b,d,f);-1f.keyCode||void 0!=f.returnValue)){a:{var g=!1;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(h){g=!0}if(g||void 0==f.returnValue)f.returnValue=!0}f=[];for(g=c.currentTarget;g;g=g.parentNode)f.push(g);for(var g=a.type,k=f.length-1;!c.Rd&&0<=k;k--)c.currentTarget=f[k],d&=fg(f[k],g,!0,c);for(k=0;!c.Rd&&k>>0);function Vf(a){return w(a)?a:a[hg]||(a[hg]=function(b){return a.handleEvent(b)})};function ig(a){Fd.call(this);this.jf=a;this.Mb={}}B(ig,Fd);var jg=[];e=ig.prototype;e.ga=function(a,b,c,d){p(b)||(jg[0]=b,b=jg);for(var f=0;fthis.Eu)if(this.fd.dispatchEvent(new wg(xg,this,a.clientX,a.clientY)))this.bf=!0;else{this.af||this.Hn(a);return}}d=(d=this.fd.parent())?d.Wb():null;this.ok!=d&&(this.as=(this.ok=d)?og(this.ok):null);
this.Qk(b,c);this.bf&&(b=Cg(this,this.hi),c=Dg(this,this.ii),this.fd.dispatchEvent(new wg(Ig,this,a.clientX,a.clientY,0,b,c))&&(this.fd.xk(b,c),this.fd.dispatchEvent(new wg(Jg,this,a.clientX,a.clientY,0,b,c)),a.preventDefault()))}};e.Qk=function(a,b){var c=sc(ac(this.Bd));a+=c.x-this.Qr.x;b+=c.y-this.Qr.y;this.Qr=c;this.as&&(c=[a,b,0,0],this.as.transform(c,0,c,0,2),a=c[0]-c[2],b=c[1]-c[3]);this.hi+=a;this.ii+=b};
e.uy=function(a){this.Qk(0,0);a.clientX=this.clientX;a.clientY=this.clientY;var b=Cg(this,this.hi),c=Dg(this,this.ii);this.fd.xk(b,c);this.fd.dispatchEvent(new wg(Jg,this,a.clientX,a.clientY,0,b,c))};function Cg(a,b){var c=a.kr,d=isNaN(c.left)?null:c.left,c=isNaN(c.width)?0:c.width,c=null!=d?d+c-a.fd.oa():Infinity;return Math.min(c,Math.max(null!=d?d:-Infinity,b))}
function Dg(a,b){var c=a.kr,d=isNaN(c.top)?null:c.top,c=isNaN(c.height)?0:c.height,c=null!=d?d+c-a.fd.na():Infinity;return Math.min(c,Math.max(null!=d?d:-Infinity,b))}function wg(a,b,c,d,f,g,h){Cf.call(this,a);this.clientX=c;this.clientY=d;this.left=l(g)?g:b.hi;this.top=l(h)?h:b.ii}B(wg,Cf);var pg=Uf,tg=ag,rg="mousedown",Bg="mouseup",zg="mousemove",qg="touchstart",yg="touchmove",Ag="touchend",Hg="touchcancel",ug="earlycancel",Ig="beforedrag",Jg="drag",xg="start",Eg="end";function Kg(a,b,c,d,f,g){if(6==arguments.length)this.setTransform(a,b,c,d,f,g);else{if(0!=arguments.length)throw Error("Insufficient matrix parameters");this.Ga=this.Ha=1;this.Ea=this.Ka=this.Ta=this.Ua=0}}function Ae(a){return 1==a.Ga&&0==a.Ea&&0==a.Ka&&1==a.Ha&&0==a.Ta&&0==a.Ua}e=Kg.prototype;e.D=function(){return new Kg(this.Ga,this.Ea,this.Ka,this.Ha,this.Ta,this.Ua)};
e.setTransform=function(a,b,c,d,f,g){if(!(v(a)&&v(b)&&v(c)&&v(d)&&v(f)&&v(g)))throw Error("Invalid transform parameters");this.Ga=a;this.Ea=b;this.Ka=c;this.Ha=d;this.Ta=f;this.Ua=g;return this};e.ue=function(a){this.Ga=a.Ga;this.Ea=a.Ea;this.Ka=a.Ka;this.Ha=a.Ha;this.Ta=a.Ta;this.Ua=a.Ua;return this};e.scale=function(a,b){this.Ga*=a;this.Ea*=a;this.Ka*=b;this.Ha*=b;return this};e.translate=function(a,b){this.Ta+=a*this.Ga+b*this.Ka;this.Ua+=a*this.Ea+b*this.Ha;return this};
e.rotate=function(a,b,c){return Lg(this,Mg(new Kg,a,b,c))};e.toString=function(){return"matrix("+[this.Ga,this.Ea,this.Ka,this.Ha,this.Ta,this.Ua].join()+")"};function Lg(a,b){var c=a.Ga,d=a.Ka;a.Ga=b.Ga*c+b.Ea*d;a.Ka=b.Ka*c+b.Ha*d;a.Ta+=b.Ta*c+b.Ua*d;c=a.Ea;d=a.Ha;a.Ea=b.Ga*c+b.Ea*d;a.Ha=b.Ka*c+b.Ha*d;a.Ua+=b.Ta*c+b.Ua*d;return a}e.transform=function(a,b,c,d,f){var g=b;for(b+=2*f;g>1;k=b.substring(0,m);k=a.measureText(k,c);d+k.widthf&&1a.p?a.p-d.width-f:a.Ab,0>a.Ab&&(a.Ab=0));a.Ye=Math.max(a.Ye,d.height);a.ye+=d.width;0==a.R.length&&(a.ye+=a.Ab);a.Xe=Math.max(a.Xe,b.og);a.cc.push(b);a.R.push(b);b.parent(a);return b}
function qh(a){var b,c,d,f,g=a.Af[a.Af.length-1],h=g[g.length-1],k=a.measureText(a.$d,h.F);k.width>a.p&&(d=oh(a,a.$d,h.F,0,a.p),a.$d=a.$d.substring(0,d));d=a.Sr;var m=a.p;if(""==a.$d)c=jb(a.R,h)+1,tb(a.R,c,a.R.length-c);else if(m-d>=k.width)a.cc=g,c=jb(a.R,h)+1,tb(a.R,c,a.R.length-c),f=ph(a,a.$d,h.F,k);else{for(c=g.length-1;!b&&0<=c;){var h=g[c],k=a.measureText(a.$d,h.F),n=a.measureText(h.text,h.F);d-n.width+k.width<=a.p&&(b=h);d-=n.width;c--}b||1!=a.Af.length||(b=g[0],d-=n.width);b&&(a.cc=g,n=a.cc[0].li,
m-=k.width,c=jb(g,b),tb(g,c,g.length-c),c=jb(a.R,b),tb(a.R,c,a.R.length-c),a.Ye=0,a.ye=0,a.Xe=0,d=oh(a,b.text,b.F,d,m),1>d&&(d=1),m=b.text.substring(0,d),g=a.measureText(m,b.F),m=ph(a,m,b.F,g,k.width),m.x=b.x,m.y=b.y,g.width+k.width>a.p&&(d=oh(a,a.$d,h.F,g.width,a.p),a.$d=a.$d.substring(0,d)),0a.p&&0g&&0==a.cc.length&&(g=1);0!=g&&(f=b.substring(0,g).replace(/[\s\xa0]+$/,""),d=a.measureText(f,c),ph(a,f,c,d));rh(a);f=0;a.F.textWrap==Ie?(b=b.substring(g,b.length).replace(/^[\s\xa0]+/,""),d=a.measureText(b,c)):a.xi?(b="",d=a.measureText(b,c)):a.Ih=!0}a.Ih||ph(a,b,c,d)}}
function rh(a){a.Lh()!=hh||1!=a.Af.length||a.xi||qh(a);if(!a.Ih&&0!=a.cc.length){var b=0==a.Af.length;if(a.v&&a.Sc+a.Ye>a.v&&0!=a.Af.length)qh(a);else{a.Ye=q(a.Di)?parseInt(a.Di,0)+a.Ye:a.Di*a.Ye;if(I().Uu()){var c,d,f,g;c=a.Ob&&a.F.hAlign==Le||!a.Ob&&a.F.hAlign==Je||a.F.hAlign==Me;d=a.F.hAlign==Ne;if(a.Ob&&a.F.hAlign==Je||!a.Ob&&a.F.hAlign==Le||a.F.hAlign==Ke)for(c=a.Ob?0:a.Ab&&b?a.Ab:0,d=0,f=a.cc.length;d"!=f)break;"br"==a.tagName&&rh(a.Gb);a.tagName="";k=!1;a.state=1;break}if(!a.tagName&&"<"==f){a.xf+="<";break}if(!a.tagName&&h&&"/"!=
f){a.xf+="<"+f;a.state=1;break}if(!a.tagName&&"/"==f){a.state=3;break}if("br"==a.tagName&&">"==f){rh(a.Gb);a.tagName="";a.state=1;break}if("br"==a.tagName&&("/"==f||g)){k=!0;break}a.tagName&&ef(a);if(a.tagName&&g){a.state=4;break}if(">"==f){hf(a);break}a.tagName+=f.toLowerCase();break;case 3:if(k){if(">"!=f)break;gf(a);k=!1;break}if(!a.oj&&h){a.xf+=""+f;a.state=1;break}if(a.oj&&g){k=!0;break}if(">"==f){gf(a);k=!1;break}a.oj+=f.toLowerCase();break;case 4:if(k){if(">"!=f)break;hf(a,!0);k=!1;break}if(">"==
f){hf(a,!0);break}if(g){a.state=5;break}if("="==f){a.attrName&&(a.state="style"==a.attrName?6:8);break}a.attrName+=f.toLowerCase();break;case 5:if(">"==f){hf(a,!0);break}if(g)break;if(a.attrName&&!h){a.attrName=f;a.state=4;break}if("="==f){a.attrName&&(a.state="style"==a.attrName?6:8);break}a.attrName+=f;a.state=4;break;case 6:if(g)break;if(">"==f){hf(a,!0);break}if("'"==f||'"'==f){a.jm=f;a.state=9;break}a.Tg=f;a.state=10;break;case 8:if(g)break;if(">"==f){a.attrName="";a.tagName="";a.state=1;break}if("'"==
f||'"'==f){a.jm=f;a.state=7;break}a.state=11;break;case 9:if(g)break;if(f==a.jm){k=!0;jf(a,4,!0);break}if(":"==f){a.state=12;break}a.Tg+=f.toLowerCase();break;case 12:if(g)break;if(f==a.jm){k=!0;jf(a,4,!0);break}if(";"==f){jf(a,9);break}a.Kh+=f.toLowerCase();break;case 7:if(f==a.jm){a.attrName="";a.state=4;break}break;case 10:if(g){k=!0;jf(a,4,!0);break}if(">"==f){kf(a);break}if(":"==f){a.state=13;break}a.Tg+=f;break;case 11:if(g){jf(a,4,!0);break}if(">"==f){hf(a);break}break;case 13:if(g){k=!0;jf(a,
4,!0);break}if(">"==f){kf(a);break}if(";"==f){jf(a,10);break}a.Kh+=f.toLowerCase();break;default:throw"Error while parsing HTML: Symbol '"+f+"', position: "+(d-1);}ef(a);rh(a.Gb)}else for(c=this.U.split(/[\r\n]+/),b=0;ba||a>=this.zb()||0>b||b>=this.zb())throw yd(8);if(a!=b){var c=this.children[a];this.children[a]=this.children[b];this.children[b]=c;this.t(128)}return this};
e.$n=function(a){th(a,"layer.hasChild","elementOrId","acgraph.vector.Element");return!!a&&0<=jb(this.children,a)};e.zb=function(){return this.children.length};e.pi=function(a,b){vh(a,"layer.forEachChild");l(b)||(b=this);kb(this.children,a,b);return this};e.gk=function(){var a=wh();a.parent(this);return a};e.text=function(a,b,c,d){a=xh(a,b);d&&a.style(d);c&&a.text(c);a.parent(this);return a};e.ko=function(a,b,c,d){a=xh(a,b);d&&a.style(d);c&&a.htmlText(c);a.parent(this);return a};
e.rect=function(a,b,c,d){a=yh(a,b,c,d);a.parent(this);return a};e.Sf=function(a,b,c,d,f){a=zh(a,b,c,d,f);a.parent(this);return a};e.dp=function(a,b){var c=this.path();tb(arguments,0,0,c);return Ah.apply(this,arguments).parent(this)};e.cp=function(a,b){var c=this.path();tb(arguments,0,0,c);return Bh.apply(this,arguments).parent(this)};e.Mp=function(a,b){var c=this.path();tb(arguments,0,0,c);return Ch.apply(this,arguments).parent(this)};e.mj=function(a,b,c){a=Dh(a,b,c);a.parent(this);return a};
e.Dj=function(a,b,c,d){a=Eh(a,b,c,d);a.parent(this);return a};e.path=function(){return Fh().parent(this)};e.up=function(a,b,c,d,f,g,h){return Gh(this.path(),a,b,c,d,f,g,h).parent(this)};e.wp=function(a,b,c){return Hh(this.path(),a,b,c).parent(this)};e.xp=function(a,b,c){return Ih(this.path(),a,b,c).parent(this)};e.yp=function(a,b,c){return Jh(this.path(),a,b,c).parent(this)};e.zp=function(a,b,c){return Kh(this.path(),a,b,c).parent(this)};e.vp=function(a,b,c){return Lh(this.path(),a,b,c).parent(this)};
e.Lp=function(a,b,c){return Mh(this.path(),a,b,c).parent(this)};e.Kp=function(a,b,c){return Nh(this.path(),a,b,c).parent(this)};e.Bn=function(a,b,c){return Oh(this.path(),a,b,c).parent(this)};e.yn=function(a,b,c){return Ph(this.path(),a,b,c).parent(this)};e.An=function(a,b,c){return Qh(this.path(),a,b,c).parent(this)};e.Wn=function(a,b,c){return Rh(this.path(),a,b,c).parent(this)};e.Pp=function(a,b,c){return Sh(this.path(),a,b,c).parent(this)};
e.Nb=function(a,b,c,d,f){return Th(this.path(),a,b,c,d,f).parent(this)};e.Cn=function(a,b,c,d,f,g){return Uh(this.path(),a,b,c,d,f,g).parent(this)};e.gh=function(){return I().wt()};e.Ec=function(){this.Sa(32)&&this.ke();var a;a=this.l();var b=Math.floor(Math.max(a.Su-a.we,0)/3);a=a.Ik(b);this.Sa(64)&&Vh(this);b=this.l();b.we-=a-0;if(this.Sa(128)&&(a=this.l().Ik(this.children.length+this.ze.length+1),b=Wh(this,a),b=b&&(u=!1);if(u){for(;k>>0);function Ve(a,b,c){return b[a.lw]||(b[a.lw]=Hd(a,b,c))}function Hd(a,b,c){return[a.Rr,l(c)?c:b.Dd?b.Dd():"",(a.Hr++).toString(36)].join("_")};function $h(a,b,c,d,f,g,h){this.ts=a||null;this.Tb=g||pe;this.Kq=h||qe;this.Vb=new D(b||0,c||0,d||0,f||0);H.call(this)}B($h,H);var qe="meet",pe="none",re="xMinYMin",se="xMidYMin",te="xMaxYMin",ue="xMinYMid",ve="xMidYMid",we="xMaxYMid",xe="xMinYMax",ye="xMidYMax",ze="xMaxYMax";e=$h.prototype;e.ed=H.prototype.ed|32;e.Dd=function(){return"image"};e.Ij=function(a){return null!=a?(a!=this.Kq&&(this.Kq=a,this.t(32)),this):this.Kq};
e.align=function(a){return null!=a?(a!=this.Tb&&(this.Tb=a,this.t(32)),this):this.Tb};e.x=function(a){return null!=a?(a!=this.Vb.left&&(this.Vb.left=a,this.t(32),this.wb()),this):this.Vb.left};e.y=function(a){return null!=a?(a!=this.Vb.top&&(this.Vb.top=a,this.t(32),this.wb()),this):this.Vb.top};e.width=function(a){return null!=a?(a!=this.Vb.width&&(this.Vb.width=a,this.t(32),this.wb()),this):this.Vb.width};
e.height=function(a){return null!=a?(a!=this.Vb.height&&(this.Vb.height=a,this.t(32),this.wb()),this):this.Vb.height};e.src=function(a){return l(a)?(a!=this.ts&&(this.ts=a,this.t(32)),this):this.ts};e.Ee=function(){return this.Vb.D()};e.ff=function(a){var b=a==this.Z,c=a==this.Wb();if(this.Za&&b)return this.Za.D();if(this.Bb&&c)return this.Bb.D();a=$e(this.Vb.D(),a);b&&(this.Za=a.D());c&&(this.Bb=a.D());return a};e.gh=function(){return I().ut()};
e.Ec=function(){this.Sa(32)&&(I().Xl()&&this.t(De),this.ke());$h.c.Ec.call(this)};e.Ui=function(){I().Fv(this);Ce(this,De);Ce(this,Ee)};e.ke=function(){I().Ev(this);Ce(this,32)};e.b=function(a){var b=a.bounds;this.x(b.left).y(b.top).width(b.width).height(b.height).src(a.src).align(a.align).Ij(a.fittingMode);$h.c.b.call(this,a)};e.a=function(){var a=$h.c.a.call(this);a.type="image";a.bounds=this.Ee();a.src=this.src();a.align=this.align();a.fittingMode=this.Ij();return a};
e.w=function(){this.Vb=null;this.wb();$h.c.w.call(this)};function Oe(a){this.L=a;this.Id=!1;K.call(this)}B(Oe,K);e=Oe.prototype;e.ed=De|2273;e.Dd=function(){return"fillPattern"};e.parent=function(a){return l(a)?(a?Xg(this,a):this.remove(),this):Oe.c.parent.call(this)};e.Ee=function(){return this.L.D()};e.ff=function(a){var b=a==this.Z,c=a==this.Wb();if(this.Za&&b)return this.Za.D();if(this.Bb&&c)return this.Bb.D();a=$e(this.L.D(),a);b&&(this.Za=a.D());c&&(this.Bb=a.D());return a};e.gh=function(){return I().tt()};e.ke=function(){I().Dv(this);Ce(this,32)};
e.Ec=function(){this.Id||this.l().$e.j().appendChild(this.j());this.Id=!0;Oe.c.Ec.call(this)};e.Ui=function(){this.Sa(De)&&I().Mv(this);Ce(this,De)};e.b=function(a){Oe.c.b.call(this,a)};e.a=function(){var a=Oe.c.a.call(this),b=this.Ee();a.type="pattern";a.bounds=b;return a};e.w=function(){I().removeNode(this.j());this.Vb=null;Oe.c.w.call(this)};function Be(a,b,c,d,f,g,h){var k=Wb(g);g=Math.ceil(Math.abs(k)/Math.PI*2);var k=k/g,m=Wb(f);f=h?[a+Xb(f,c),b+Yb(f,d)]:[];for(h=0;hr;r++){var t=-3*g[r]+9*h[r]-9*k[r]+3*m[r],s=6*g[r]-12*h[r]+6*k[r];n=3*h[r]-3*g[r];if(0==t)0!=s&&(n=-n/s,0n&&c[r].push(b(g[r],h[r],k[r],m[r],n)));
else{var u=s*s-4*n*t;0n&&c[r].push(b(g[r],h[r],k[r],m[r],n)),n=(-s-Math.sqrt(u))/(2*t),0n&&c[r].push(b(g[r],h[r],k[r],m[r],n))):0==u&&(n=-s/(2*t),0n&&c[r].push(b(g[r],h[r],k[r],m[r],n)))}}}d=new D(Math.min.apply(null,c[0]),Math.min.apply(null,c[1]),0,0);d.width=Math.max.apply(null,c[0])-d.left;d.height=Math.max.apply(null,c[1])-d.top;return d}
function $g(a){if(0==arguments.length)return null;for(var b=null,c=!1,d=0,f=arguments.length;dm&&(m=0);m=Math.sqrt(m);g==h&&(m=-m);g=m*d*c/
f;k=-m*f*b/d;m=bi(1,0,(b-g)/d,(c-k)/f);b=bi((b-g)/d,(c-k)/f,(-b-g)/d,(-c-k)/f)%360;!h&&0b&&(b+=360);return ni(a,d,f,m,b)}
function ni(a,b,c,d,f){uh(b,"path.arcTo","rx");uh(c,"path.arcTo","ry");uh(d,"path.arcTo","fromAngle");uh(f,"path.arcTo","extent");if(0==a.R.length)throw yd(9);if(0==f)return a;var g=a.mb[0]-Xb(d,b),h=a.mb[1]-Yb(d,c),k,m,n;n=Math.ceil(Math.abs(f)/359.999-2E-15);for(var r=f/n,t=0;tg;r+=n)switch((Math.floor(r/90)+4)%4){case 0:h.push(a+c);break;case 1:k.push(b+d);break;case 2:h.push(a-c);break;case 3:k.push(b-d)}m.left=Math.min.apply(null,h);m.width=Math.max.apply(null,h)-m.left;m.top=Math.min.apply(null,k);m.height=Math.max.apply(null,k)-m.top;ad(this.rect,m)};pi=ri;
ci.prototype.b=function(a){this.bh=a.closePoint;this.mb=a.currentPoint;this.R=a.segments;this.q=a.count;this.Vc=a.arguments;this.t(32);ci.c.b.call(this,a)};ci.prototype.a=function(){var a=ci.c.a.call(this);a.type="path";a.closePoint=this.bh||[];a.currentPoint=this.mb||[];a.segments=this.R;a.count=this.q;a.arguments=this.Vc;return a};ci.prototype.w=function(){this.mb=this.bh=null;this.wb();this.Cf=null;delete this.R;delete this.q;delete this.Vc;ci.c.w.call(this)};
function gi(a){a.R.length=0;a.q.length=0;a.Vc.length=0;a.wb();a.Cf=null;delete a.bh;delete a.mb;delete a.ss};function Re(){ci.call(this)}B(Re,ci);e=Re.prototype;e.clear=function(){return ii(this)};e.moveTo=function(a,b){return this.Go(a,b)};e.lineTo=function(a,b,c){return ci.prototype.lf.apply(this,arguments)};e.Rw=function(a,b,c,d,f,g,h){return ci.prototype.zn.apply(this,arguments)};e.quadraticCurveTo=function(a,b,c,d,f){return ci.prototype.Cy.apply(this,arguments)};
e.Hf=function(a,b,c,d,f,g,h){a+=Xb(f,c);b+=Yb(f,d);this.mb&&this.mb[0]==a&&this.mb[1]==b||(h?this.lf(a,b):this.Go(a,b));return ni(this,c,d,f,g)};e.mg=function(a,b,c,d,f,g){return li(this,a,b,c,d,f,g)};e.arcTo=function(a,b,c,d){return ni(this,a,b,c,d)};e.Bw=function(a,b,c,d){return this.Ts(a,b,c,d)};e.close=function(){return this.bq()};e.Bx=function(){return this.mb?new me(this.mb[0],this.mb[1]):null};function dh(a,b,c,d){var f;a=a.toLowerCase();var g;a:{var h=si;for(g in h)if(h[g]==a){g=!0;break a}g=!1}this.type=g?a:f||"backwarddiagonal";this.color=""+(null!=b?b:"black 0.5");this.ca=null!=c?c:1;this.size=null!=d?d:10;Oe.call(this,new D(0,0,this.size,this.size));switch(this.type){case "backwarddiagonal":b=this.path();ti(b,-1,0,this.size+1,0,this.ca);this.rotate(-45);b.fill("none");b.stroke(this.color,this.ca);break;case "forwarddiagonal":b=this.path();ti(b,-1,0,this.size+1,0,this.ca);this.rotate(45);
b.fill("none");b.stroke(this.color,this.ca);break;case "horizontal":b=this.path();ti(b,-1,this.size/2,this.size+1,this.size/2,this.ca);b.fill("none");b.stroke(this.color,this.ca);break;case "vertical":b=this.path();ti(b,this.size/2,-1,this.size/2,this.size+1,this.ca);b.fill("none");b.stroke(this.color,this.ca);break;case "diagonalcross":b=this.path();ti(b,0,this.size/2,this.size,this.size/2,this.ca);ti(b,this.size/2,0,this.size/2,this.size,this.ca);this.rotate(45);b.fill("none");b.stroke(this.color,
this.ca);break;case "grid":b=this.path();ti(b,-1,this.size/2,this.size+1,this.size/2,this.ca);ti(b,this.size/2,-1,this.size/2,this.size+1,this.ca);b.fill("none");b.stroke(this.color,this.ca);break;case "horizontalbrick":b=this.path();ti(b,0,0,0,this.size/2-1,this.ca);ti(b,0,this.size/2-1,this.size,this.size/2-1,this.ca);ti(b,this.size/2,this.size/2-1,this.size/2,this.size-1,this.ca);ti(b,0,this.size-1,this.size,this.size-1,this.ca);b.fill("none");b.stroke(this.color,this.ca);break;case "verticalbrick":b=
this.path();ti(b,0,0,0,this.size/2-1,this.ca);ti(b,0,this.size/2-1,this.size,this.size/2-1,this.ca);ti(b,this.size/2,this.size/2-1,this.size/2,this.size-1,this.ca);ti(b,0,this.size-1,this.size,this.size-1,this.ca);this.rotate(90);b.fill("none");b.stroke(this.color,this.ca);break;case "diagonalbrick":b=this.path();ti(b,0,0,0,this.size/2-1,this.ca);ti(b,0,this.size/2-1,this.size,this.size/2-1,this.ca);ti(b,this.size/2,this.size/2-1,this.size/2,this.size-1,this.ca);ti(b,0,this.size-1,this.size,this.size-
1,this.ca);this.rotate(45);b.fill("none");b.stroke(this.color,this.ca);break;case "checkedboard":this.rect(0,0,this.size/2,this.size/2).fill(this.color).stroke("none");this.rect(this.size/2,this.size/2,this.size,this.size).fill(this.color).stroke("none");break;case "confetti":b=this.size/8;c=this.size/4;this.rect(0,2*b,c,c).fill(this.color).stroke("none");this.rect(b,5*b,c,c).fill(this.color).stroke("none");this.rect(2*b,0,c,c).fill(this.color).stroke("none");this.rect(4*b,4*b,c,c).fill(this.color).stroke("none");
this.rect(5*b,b,c,c).fill(this.color).stroke("none");this.rect(6*b,6*b,c,c).fill(this.color).stroke("none");break;case "palid":c=this.rect(0,0,this.size/2,this.size/2);c.fill(this.color);c.stroke("none");b=this.size/8;d=!1;for(f=0;2>f;f++)for(d=!1,a=0;4>a;a++)for(d=!d,g=0;4>g;g++)d&&(c=this.rect(a*b+f*this.size/2,g*b+this.size/2,b,b)),c.fill(this.color),c.stroke("none"),d=!d;break;case "soliddiamond":this.path().moveTo(this.size/2,0).lineTo(0,this.size/2).lineTo(this.size/2,this.size).lineTo(this.size,
this.size/2).lineTo(this.size/2,0).close().fill(this.color).stroke("none");break;case "dashedforwarddiagonal":b=this.path();ti(b,0,0,this.size/2,this.size/2,this.ca);b.fill("none");b.stroke(this.color,this.ca);break;case "dashedbackwarddiagonal":b=this.path();ti(b,this.size/2,0,0,this.size/2,this.ca);b.fill("none");b.stroke(this.color,this.ca);break;case "dashedhorizontal":b=this.path();ti(b,0,0,this.size/2,0,this.ca);ti(b,this.size/2,this.size/2,this.size,this.size/2,this.ca);b.fill("none");b.stroke(this.color,
this.ca);break;case "dashedvertical":b=this.path();ti(b,0,0,0,this.size/2,this.ca);ti(b,this.size/2,this.size/2,this.size/2,this.size,this.ca);b.fill("none");b.stroke(this.color,this.ca);break;case "divot":b=0.1*this.size;c=this.size*(0.8-0.2)/2;this.path().moveTo(b+c,b).lineTo(b,b+c/2).lineTo(b+c,b+c).moveTo(this.size-b-c,this.size-b-c).lineTo(this.size-b,this.size-b-c/2).lineTo(this.size-b-c,this.size-b).fill("none").stroke(this.color,this.ca);break;case "zigzag":b=this.path();b.moveTo(0,0).lineTo(this.size/
2,this.size/2).lineTo(this.size,0).moveTo(0,this.size/2).lineTo(this.size/2,this.size).lineTo(this.size,this.size/2).fill("none").stroke(this.color,this.ca);break;case "weave":this.path().moveTo(0,0).lineTo(this.size/2,this.size/2).lineTo(this.size,0).moveTo(0,this.size/2).lineTo(this.size/2,this.size).lineTo(this.size,this.size/2).moveTo(this.size/2,this.size/2).lineTo(3*this.size/4,3*this.size/4).moveTo(this.size,this.size/2).lineTo(3*this.size/4,this.size/4).fill("none").stroke(this.color,this.ca);
break;case "percent05":this.L=new D(0,0,8,8);this.rect(0,0,1,1).fill(this.color).stroke("none");this.rect(4,4,1,1).fill(this.color).stroke("none");break;case "percent10":this.L=new D(0,0,8,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(4,2,1,1);c.fill(this.color);c.stroke("none");break;case "percent20":this.L=new D(0,0,4,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");break;case "percent25":this.L=new D(0,
0,4,2);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,1,1,1);c.fill(this.color);c.stroke("none");break;case "percent30":this.L=new D(0,0,4,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,3,1,1);c.fill(this.color);c.stroke("none");
break;case "percent40":this.L=new D(0,0,4,8);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,4,1,1);c.fill(this.color);c.stroke("none");
c=this.rect(2,4,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,5,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,5,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,6,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,6,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,7,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,7,1,1);c.fill(this.color);c.stroke("none");break;case "percent50":this.L=new D(0,0,2,2);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");
c=this.rect(1,1,1,1);c.fill(this.color);c.stroke("none");break;case "percent60":this.L=new D(0,0,4,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");
c=this.rect(1,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,3,1,1);c.fill(this.color);c.stroke("none");break;case "percent70":this.L=new D(0,0,4,4);this.path().moveTo(0,0).lineTo(0,1).lineTo(1,1).lineTo(1,0).close().moveTo(2,0).lineTo(2,1).lineTo(3,1).lineTo(3,0).close().moveTo(3,0).lineTo(3,1).lineTo(4,1).lineTo(4,0).close().moveTo(0,1).lineTo(0,2).lineTo(1,2).lineTo(1,1).close().moveTo(1,1).lineTo(1,2).lineTo(2,2).lineTo(2,1).close().moveTo(2,
1).lineTo(2,2).lineTo(3,2).lineTo(3,1).close().moveTo(0,2).lineTo(0,3).lineTo(1,3).lineTo(1,2).close().moveTo(2,2).lineTo(2,3).lineTo(3,3).lineTo(3,2).close().moveTo(3,2).lineTo(3,3).lineTo(4,3).lineTo(4,2).close().moveTo(0,3).lineTo(0,4).lineTo(1,4).lineTo(1,3).close().moveTo(1,3).lineTo(1,4).lineTo(2,4).lineTo(2,3).close().moveTo(2,3).lineTo(2,4).lineTo(3,4).lineTo(3,3).close().fill(this.color).stroke("none");break;case "percent75":this.L=new D(0,0,4,4);c=this.rect(0,0,4,4);c.fill(this.color);c.stroke("none");
c=this.rect(0,0,1,1);c.fill("white");c.stroke("none");c=this.rect(2,2,1,1);c.fill("white");c.stroke("none");break;case "percent80":this.L=new D(0,0,8,4);c=this.rect(0,0,8,4);c.fill(this.color);c.stroke("none");c=this.rect(0,0,1,1);c.fill("white");c.stroke("none");c=this.rect(4,2,1,1);c.fill("white");c.stroke("none");break;case "percent90":this.L=new D(0,0,8,8),c=this.rect(0,0,8,8),c.fill(this.color),c.stroke("none"),c=this.rect(7,7,1,1),c.fill("white"),c.stroke("none"),c=this.rect(4,3,1,1),c.fill("white"),
c.stroke("none")}}B(dh,Oe);
var si={wz:"backwarddiagonal",Pz:"forwarddiagonal",Rz:"horizontal",JA:"vertical",Dz:"dashedbackwarddiagonal",Qz:"grid",Ez:"dashedforwarddiagonal",Fz:"dashedhorizontal",Gz:"dashedvertical",qw:"diagonalcross",Jz:"diagonalbrick",Lz:"divot",Sz:"horizontalbrick",KA:"verticalbrick",yz:"checkedboard",Az:"confetti",jA:"palid",rA:"soliddiamond",OA:"zigzag",LA:"weave",Yz:"percent05",Zz:"percent10",$z:"percent20",aA:"percent25",bA:"percent30",cA:"percent40",dA:"percent50",eA:"percent60",fA:"percent70",gA:"percent75",
hA:"percent80",iA:"percent90"};function ti(a,b,c,d,f,g){b===d&&(b=d=Math.round(b)+g%2/2);c===f&&(c=f=Math.round(c)+g%2/2);a.moveTo(b,c).lineTo(d,f)}dh.prototype.Dd=function(){return"hatchFill"};dh.prototype.w=function(){if(this.l()){var a=this.l().$e,b=[this.type,this.color,this.ca,this.size].join();b in a.Pj&&Mb(a.Pj,b);a=dc(this.id());pc(a)}dh.c.w.call(this)};function ui(a){lg.call(this);this.$i=ac().ve("iframe",{style:"position:absolute; width:100%; height:10%; top: -99em",tabIndex:-1,"aria-hidden":"true"});vi(this,a)}B(ui,lg);function vi(a,b){if(b){a.xa=b;b.insertBefore(a.$i,b.firstChild);a.$r&&ag(a.$r,"resize",a.$q,!1,a);var c=a.$r=a.$i.contentWindow||ic(a.$i.contentDocument||a.$i.contentWindow.document);if(Ua){var d=c.document;d.open();d.close()}pg(c,"resize",a.$q,!1,a);a.Pu=a.xa.offsetWidth;a.Nu=a.xa.offsetHeight}}
function wi(a,b,c,d,f){a.Ag||(a.Ag=ac().ve("FORM",{method:"POST"}),a.Nq=ac().ve("INPUT",{type:"hidden",name:"data"}),a.Mq=ac().ve("INPUT",{type:"hidden",name:"dataType"}),a.Oq=ac().ve("INPUT",{type:"hidden",name:"productName"}),a.Pq=ac().ve("INPUT",{type:"hidden",name:"responseType"}),a.j().appendChild(a.Ag),a.Ag.appendChild(a.Nq),a.Ag.appendChild(a.Mq),a.Ag.appendChild(a.Oq),a.Ag.appendChild(a.Pq));a.Ag.action=b;a.Nq.value=c;a.Mq.value=d;a.Oq.value=f;a.Pq.value="file";a.Ag.submit()}
ui.prototype.j=function(){return this.$i};ui.prototype.w=function(){ui.c.w.call(this);ag(this.$r,"resize",this.$q,!1,this);!Ua||eb("1.9");pc(this.$i);delete this.$i;delete this.xa;delete this.Ag;delete this.Nq;delete this.Mq;delete this.Oq;delete this.Pq};ui.prototype.$q=function(){var a=this.xa.offsetWidth,b=this.xa.offsetHeight,c=!1;this.Pu!=a&&(this.Pu=a,c=!0);this.Nu!=b&&(this.Nu=b,c=!0);c&&this.dispatchEvent("sizechange")};function Gh(a,b,c,d,f,g,h,k){a=a.path?a.path():a;if(2>g)return a;h=h||0;var m=Xb(h,d),n=Yb(h,d),r=360/(2*g),t;a.moveTo(m+b,n+c);if(k)for(t=0;td&&(d=0);0>f&&(f=0);if(d=f)return Th(a,b,c,d,g,h);a=a.path?a.path():a;h=Ub(h,-360,360);k=360>Math.abs(h);a.Hf(b,c,d,d,g,h).Hf(b,c,f,f,g+h,-h,k);k&&a.close();return a}function xi(a,b,c,d,f,g){a=Xb(c,a);b=Xb(d,b)-a;return 0<=f?a+b*(g+f-g*f):a+b*g*(f+1)}function yi(a,b,c,d,f,g){a=Yb(c,a);b=Yb(d,b)-a;return 0<=f?a+b*(g+f-g*f):a+b*g*(f+1)}
function zi(a){var b,c,d;switch(a.length){case 1:b=c=d=a[0];a.push(b,c,d);break;case 2:c=a[0];d=a[1];a.push(c,d);break;case 3:d=a[1];a.push(d);break;case 4:break;default:a.push(5,5,5,5)}}
function Ch(a,b,c){var d=a.path?a.path():a,f,g,h,k;6==arguments.length?(f=arguments[2],g=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+f,b.top).lineTo(b.left+b.width-g,b.top).lineTo(b.left+b.width,b.top+g).lineTo(b.left+b.width,b.top+b.height-h).lineTo(b.left+b.width-h,b.top+b.height).lineTo(b.left+k,b.top+b.height).lineTo(b.left,b.top+b.height-k).lineTo(b.left,b.top+f).close()):(k=ub(arguments,2,6),zi(k),f=k[0],g=k[1],h=k[2],k=k[3],Ch(d,b,f,g,h,k));return d}
function Ah(a,b,c){var d=a.path?a.path():a,f,g,h,k;6==arguments.length?(f=arguments[2],g=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+f,b.top).lineTo(b.left+b.width-g,b.top).mg(b.left+b.width,b.top+g,g,g,!1,!0).lineTo(b.left+b.width,b.top+b.height-h).mg(b.left+b.width-h,b.top+b.height,h,h,!1,!0).lineTo(b.left+k,b.top+b.height).mg(b.left,b.top+b.height-k,k,k,!1,!0),0!=f&&(d.lineTo(b.left,b.top+f),d.mg(b.left+f,b.top,f,f,!1,!0)),d.close()):(k=ub(arguments,2,6),zi(k),f=k[0],g=k[1],h=k[2],
k=k[3],Ah(d,b,f,g,h,k));return d}
function Bh(a,b,c){var d=a.path?a.path():a,f,g,h,k;6==arguments.length?(f=arguments[2],g=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+f,b.top).lineTo(b.left+b.width-g,b.top).mg(b.left+b.width,b.top+g,g,g,!1,!1).lineTo(b.left+b.width,b.top+b.height-h).mg(b.left+b.width-h,b.top+b.height,h,h,!1,!1).lineTo(b.left+k,b.top+b.height).mg(b.left,b.top+b.height-k,k,k,!1,!1),0!=f&&d.lineTo(b.left,b.top+f).mg(b.left+f,b.top,f,f,!1,!1),d.close()):(k=ub(arguments,2,6),zi(k),f=k[0],g=k[1],h=k[2],k=
k[3],Bh(d,b,f,g,h,k));return d};function Ai(a,b,c,d){this.n=new D(a||0,b||0,c||0,d||0);this.Ad=[];this.Wd=[0,0,0,0];ci.call(this);Bi(this)}B(Ai,ci);e=Ai.prototype;e.ed=ch.prototype.ed|32;e.Dd=function(){return"rect"};e.me=function(a){uh(a,"rect.setX","value");a!=this.n.left&&(this.n.left=a,Bi(this));return this};e.ne=function(a){uh(a,"rect.setY","value");a!=this.n.top&&(this.n.top=a,Bi(this));return this};
e.Ty=function(a){th(a,"rect.setCoordinate","value","acgraph.math.Coordinate");if(this.n.left!=a.x||this.n.top!=a.y)this.n.left=a.x,this.n.top=a.y,Bi(this);return this};e.Pe=function(a){uh(a,"rect.setWidth","value");this.n.width!=a&&(this.n.width=a,Bi(this));return this};e.Oe=function(a){uh(a,"rect.setHeight","value");this.n.height!=a&&(this.n.height=a,Bi(this));return this};
e.Vy=function(a){th(a,"rect.setSize","value","acgraph.math.Size");if(this.n.width!=a.width||this.n.height!=a.height)this.n.width=a.width,this.n.height=a.height,Bi(this);return this};e.js=function(a){th(a,"value.setBounds","value","acgraph.math.Rect");D.De(this.n,a)||(this.n.left=a.left,this.n.top=a.top,this.n.width=a.width,this.n.height=a.height,Bi(this));return this};
e.ls=function(a,b){var c,d,f,g;c=ub(arguments,1);d=c[0];g=q(d)?Ia(d,4):c;4>g.length?g=f=d=c=parseFloat(g[0]):(c=parseFloat(g[0]),d=parseFloat(g[1]),f=parseFloat(g[2]),g=parseFloat(g[3]));this.Wd[0]=c?c:0;this.Ad[0]=c?a:void 0;this.Wd[1]=d?d:0;this.Ad[1]=d?a:void 0;this.Wd[2]=f?f:0;this.Ad[2]=f?a:void 0;this.Wd[3]=g?g:0;this.Ad[3]=g?a:void 0};
function Bi(a){var b=!a.l()||a.l().Zb();b||a.l().sc();ii(a);var c=a.Wd[0];a.Go(a.n.left+c,a.n.top);c=a.Wd[1];a.lf(a.n.left+a.n.width-a.Wd[1],a.n.top);if(a.Ad[1])switch(a.Ad[1]){case "round":li(a,a.n.left+a.n.width,a.n.top+c,c,c,!1,!0);break;case "roundInner":li(a,a.n.left+a.n.width,a.n.top+c,c,c,!1,!1);break;case "cut":a.lf(a.n.left+a.n.width,a.n.top+c)}c=a.Wd[2];a.lf(a.n.left+a.n.width,a.n.top+a.n.height-c);if(a.Ad[2])switch(a.Ad[2]){case "round":li(a,a.n.left+a.n.width-c,a.n.top+a.n.height,c,c,
!1,!0);break;case "roundInner":li(a,a.n.left+a.n.width-c,a.n.top+a.n.height,c,c,!1,!1);break;case "cut":a.lf(a.n.left+a.n.width-c,a.n.top+a.n.height)}c=a.Wd[3];a.lf(a.n.left+c,a.n.top+a.n.height);if(a.Ad[3])switch(a.Ad[3]){case "round":li(a,a.n.left,a.n.top+a.n.height-c,c,c,!1,!0);break;case "roundInner":li(a,a.n.left,a.n.top+a.n.height-c,c,c,!1,!1);break;case "cut":a.lf(a.n.left,a.n.top+a.n.height-c)}c=a.Wd[0];a.lf(a.n.left,a.n.top+c);if(a.Ad[0])switch(a.Ad[0]){case "round":li(a,a.n.left+c,a.n.top,
c,c,!1,!0);break;case "roundInner":li(a,a.n.left+c,a.n.top,c,c,!1,!1)}a.bq();b||a.l().hc()}e.round=function(a,b,c,d){tb(arguments,0,0,"round");this.ls.apply(this,arguments);Bi(this);return this};e.tv=function(a,b,c,d){tb(arguments,0,0,"roundInner");this.ls.apply(this,arguments);Bi(this);return this};e.oq=function(a,b,c,d){tb(arguments,0,0,"cut");this.ls.apply(this,arguments);Bi(this);return this};
e.b=function(a){this.me(a.x).ne(a.y).Pe(a.width).Oe(a.height);if(a.cornerTypes){this.Ad=Ia(a.cornerTypes,4);var b=Ia(a.cornerSizes,4);kb(b,function(a,b,f){f[b]=parseFloat(a)});this.Wd=b;Bi(this)}Ai.c.b.call(this,a)};e.a=function(){var a=Ai.c.a.call(this);a.type="rect";a.x=this.n.left;a.y=this.n.top;a.width=this.n.width;a.height=this.n.height;a.cornerTypes=this.Ad.join(" ");a.cornerSizes=this.Wd.join(" ");return a};e.w=function(){this.n=this.Ad=this.Wd=null;this.wb();Ai.c.w.call(this)};function Ci(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var f=a.style[c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=f;a.runtimeStyle[c]=g;return b}
function Di(a){var b=cc(a),c=Ta&&a.currentStyle,d;if(d=c)b=ac(b),d=nc(b.Bd)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing;if(d)return b=Ci(a,c.width,"width","pixelWidth"),a=Ci(a,c.height,"height","pixelHeight"),new Qb(b,a);c=ld(a);if(Ta){b=qd(a,"paddingLeft");d=qd(a,"paddingRight");var f=qd(a,"paddingTop"),g=qd(a,"paddingBottom"),b=new Yc(f,d,g,b)}else b=fd(a,"paddingLeft"),d=fd(a,"paddingRight"),f=fd(a,"paddingTop"),g=fd(a,"paddingBottom"),b=new Yc(parseFloat(f),parseFloat(d),parseFloat(g),parseFloat(b));
!Ta||Ta&&9<=gb?(d=fd(a,"borderLeftWidth"),f=fd(a,"borderRightWidth"),g=fd(a,"borderTopWidth"),a=fd(a,"borderBottomWidth"),a=new Yc(parseFloat(g),parseFloat(f),parseFloat(a),parseFloat(d))):(d=sd(a,"borderLeft"),f=sd(a,"borderRight"),g=sd(a,"borderTop"),a=sd(a,"borderBottom"),a=new Yc(g,f,a,d));return new Qb(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)};function Ei(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}function Fi(a){this.ap=a}Fi.prototype.a=function(a){var b=[];Gi(this,a,b);return b.join("")};
function Gi(a,b,c){switch(typeof b){case "string":Hi(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(null==b){c.push("null");break}if(p(b)){var d=b.length;c.push("[");for(var f="",g=0;gb?f+="000":256>b?f+="00":4096>b&&(f+="0");return Ii[a]=f+b.toString(16)}),'"')};function Ki(a){if(ba.JSON)try{return ba.JSON.stringify(a)}catch(b){}return(new Fi(void 0)).a(a)}function Li(a){if(ba.JSON)try{var b=ba.JSON.parse(a);return b}catch(c){}return b=Ei(a)};function Mi(a,b,c,d){this.yd=new me(a||0,b||0);this.Ri=c||0;this.Si=d||0;ch.call(this)}B(Mi,ch);e=Mi.prototype;e.ed=ch.prototype.ed|32;e.Dd=function(){return"ellipse"};e.Zg=function(a){return l(a)?(uh(a,"Ellipse.centerX","opt_value"),this.yd.x!=a&&(this.yd.x=a,this.wb(),this.t(32)),this):this.yd.x};e.$g=function(a){return l(a)?(uh(a,"Ellipse.centerY","opt_value"),this.yd.y!=a&&(this.yd.y=a,this.wb(),this.t(32)),this):this.yd.y};
e.Mw=function(a){return l(a)?(th(a,"ellipse.center","opt_value","acgraph.math.Coordinate"),me.De(this.yd,a)||(this.yd.x=a.x,this.yd.y=a.y,this.wb(),this.t(32)),this):this.yd.D()};e.uf=function(a){return l(a)?(uh(a,"ellipse.radiusX","opt_value"),this.Ri!=a&&(this.Ri=a,this.wb(),this.t(32)),this):this.Ri};e.Fh=function(a){return l(a)?(uh(a,"ellipse.radiusX","opt_value"),this.Si!=a&&(this.Si=a,this.wb(),this.t(32)),this):this.Si};
e.Uy=function(a,b){uh(a,"ellipse.setRadius","rx");uh(b,"ellipse.setRadius","ry");this.uf(a);this.Fh(b);return this};e.Ee=function(){return new D(this.yd.x-this.Ri,this.yd.y-this.Si,this.Ri+this.Ri,this.Si+this.Si)};e.ff=function(a){var b=a==this.Z,c=a==this.Wb();if(this.Za&&b)return this.Za.D();if(this.Bb&&c)return this.Bb.D();if(a){var d=Be(this.yd.x,this.yd.y,this.Ri,this.Si,0,360,!0);a.transform(d,0,d,0,d.length/2);a=ai.apply(null,d)}else a=this.Ee();b&&(this.Za=a.D());c&&(this.Bb=a.D());return a};
e.gh=function(){return I().st()};e.Ec=function(){this.Sa(32)&&this.ke();Mi.c.Ec.call(this)};e.Ui=function(){I().Cv(this);Ce(this,De);Ce(this,Ee)};e.ke=function(){I().ms(this);Ce(this,32)};e.b=function(a){this.Zg(a.cx).$g(a.cy);"rx"in a&&this.uf(a.rx);"ry"in a&&this.Fh(a.ry);Mi.c.b.call(this,a)};e.a=function(){var a=Mi.c.a.call(this);a.type="ellipse";a.cx=this.Zg();a.cy=this.$g();a.rx=this.uf();a.ry=this.Fh();return a};e.w=function(){this.wb();this.yd=null;Mi.c.w.call(this)};function Ni(a,b,c){Mi.call(this,a,b,c,c)}B(Ni,Mi);e=Ni.prototype;e.Dd=function(){return"circle"};e.Qi=function(a){return null!=a?(uh(a,"circle.setRadius","radius"),this.uf(a),this.Fh(a),this):this.uf()};e.gh=function(){return I().ot()};e.ke=function(){I().Av(this);Ce(this,32)};e.b=function(a){this.uf(a.radius);Ni.c.b.call(this,a)};e.a=function(){var a=Ni.c.a.call(this);a.type="circle";delete a.rx;delete a.ry;a.radius=this.uf();return a};function Oi(a){Fd.call(this);this.zh={};this.qk={};this.Pj={};this.th={};this.dz=a}B(Oi,Fd);e=Oi.prototype;e.la=null;e.j=function(){return this.la};e.ve=function(){this.la=I().rt()};e.clear=function(){Lb(this.zh);Lb(this.qk);Lb(this.Pj);Lb(this.th);oc(this.la)};
function Pi(a,b,c,d,f){d=null!=d?d:"stretch";var g=[b,c.toString(),d].join(),h=null;if("tile"==d)d=function(d){var h;g in a.th?h=a.th[g]:(h=new Oe(new D(c.left,c.top,d.width,d.height)),h.Sf().src(b).width(d.width).height(d.height),a.th[g]=h);f&&f.call(this,h)},I().xr(b,d),d=null;else{if(g in a.th)return a.th[g];h=new Oe(c);switch(d){case "stretch":h.Sf().src(b).width(c.width).height(c.height);break;case "fitMax":h.Sf().src(b).width(c.width).height(c.height).align(re).Ij("slice");break;case "fit":h.Sf().src(b).width(c.width).height(c.height).align(re)}a.th[g]=
h}return a.th[g]}function Qi(a,b,c,d,f){b=null!=b?b:"backwarddiagonal";c=null!=c?c:"black";d=null!=d?d:1;f=null!=f?f:10;var g=[b,c,d,f].join();return g in a.Pj?a.Pj[g]:a.Pj[g]=new dh(b,c,d,f)}function Se(a,b,c,d,f){var g=Wd(b,c,d,f);return g in a.zh?a.zh[g]:a.zh[g]=new Vd(b,c,d,f)}e.jv=function(a){var b=Wd(a.keys,a.opacity,a.Vh,a.mode);b in this.zh&&Mb(this.zh,b);a=dc(a.id());pc(a)};function Ri(a,b,c,d,f,g,h,k){var m=Gd(b,c,d,f,g,h,k);return m in a.qk?a.qk[m]:a.qk[m]=new Ed(b,c,d,f,g,h,k)}
e.kv=function(a){var b=Gd(a.keys,a.fi,a.gi,a.Qq,a.Rq,a.opacity,a.L);b in this.qk&&Mb(this.qk,b);a=dc(a.id());pc(a)};e.w=function(){I().removeNode(this.la);this.zh=this.la=null;delete this.dz};var Si=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),Ti=Va;function Ui(a,b){if(Ti){Ti=!1;var c=ba.location;if(c){var d=c.href;if(d&&(d=(d=Ui(3,d))&&decodeURIComponent(d))&&d!=c.hostname)throw Ti=!0,Error();}}return b.match(Si)[a]||null};function Vi(a,b,c){if(w(a))c&&(a=oa(a,c));else if(a&&"function"==typeof a.handleEvent)a=oa(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647");this.L=this.measureText(this.yk,{})}};
e.measureText=function(a,b){if(this.Tf)return Fj.c.measureText.call(this,a,b);var c=I(),d=this.style();c.yc||c.sj();c.Dc.style.cssText="";d.fontStyle&&C(c.Dc,"font-style",d.fontStyle);d.fontVariant&&C(c.Dc,"font-variant",d.fontVariant);d.fontFamily&&C(c.Dc,"font-family",d.fontFamily);d.fontSize&&C(c.Dc,"font-size",d.fontSize);d.fontWeight&&C(c.Dc,"font-weight",d.fontWeight);d.letterSpacing&&C(c.Dc,"letter-spacing",d.letterSpacing);d.decoration&&C(c.Dc,"text-decoration",d.decoration);d.textIndent&&
C(c.Dc,"text-indent",d.textIndent);d.textWrap&&d.width&&d.textWrap==Ie?C(c.Dc,"word-break","break-all"):C(c.Dc,"white-space","nowrap");d.width&&C(c.Dc,"width",d.width);C(c.yc,{left:0,top:0,width:"1px",height:"1px"});C(c.Dc,{border:"0 solid",position:"absolute",left:0,top:0});c.Dc.innerHTML=a;d=nd(c.Dc);c.Dc.innerHTML="";d.left=this.x();d.top=this.y();this.Sc=d.height;this.height()&&(d.height=this.height());return d};
function Ze(a){var b=a.Hp;a=a.Wb();return null===b&&null===a?!1:null===b||null===a?!0:!(a.Ga==b.Ga&&a.Ka==b.Ka&&a.Ea==b.Ea&&a.Ha==b.Ha)}e.pg=function(){var a=this.Wb();!a||this.Sa(Ee)||this.Sa(De)||(this.Hp=a.D())};function Gj(a){var b=a.Tf;a.Tf=Fe(a);var c=!b&&a.Tf,b=b&&!a.Tf,d=!a.l()||a.l().Zb();d||a.l().sc();c?(a.t(1024),a.t(32),a.t(16384),a.t(De),a.L=new D(a.x(),a.y(),a.p,a.v)):b&&(a.t(1024),a.t(32),a.t(16384),a.t(De),a.L=a.measureText(a.yk,{}));d||a.l().hc()}
e.Ch=function(){Fj.c.Ch.call(this);Gj(this)};e.Qe=function(){Fj.c.Qe.call(this);Gj(this);if(ce&&Ze(this)){var a=!this.l()||this.l().Zb();a||this.l().sc();this.Kf=!1;this.t(1024);this.t(32);this.t(16384);this.t(De);this.Ph();a||this.l().hc()}};e.w=function(){delete this.Hp;Fj.c.w.call(this)};function Hj(a,b){Fd.call(this);this.P=a;this.M=b}B(Hj,Fd);function Ij(a){delete a.P;Yd.Xc().removeNode(a.oi);a.oi=null}e=Hj.prototype;e.oi=null;e.Lm=null;e.Id=!1;e.Dd=function(){return"shapeType"};e.w=function(){delete this.P;delete this.M;Yd.Xc().removeNode(this.oi);this.oi=null;Yd.Xc().removeNode(this.Lm);this.Lm=null};function Jj(a){Oi.call(this,a);this.Rg={};this.rk={}}B(Jj,Oi);Jj.prototype.clear=function(){Lb(this.Rg);Lb(this.rk);Jj.c.clear.call(this)};
function Ue(a,b,c){var d="",d=q(b)?d+(b+"1"):b instanceof Ed?Kj(b.keys,b.fi,b.gi,b.pp,b.qp,b.opacity,b.L):b instanceof Vd?Wd(b.keys,b.opacity,b.Vh,b.mode):d+(b.color+b.opacity),f;if(q(c))f=c;else if("keys"in c){var g=0!=c.keys.length?c.keys[0]:c;f=g.color||"black";f+="opacity"in g?g.opacity:1}else f=c.color,f+="opacity"in c?c.opacity:1;d=""+d+(""+c.thickness+f+c.lineJoin+c.lineCap+c.dash);if(d in a.Rg)return a.Rg[d];b=new Hj(b,c);return a.Rg[d]=b}
function Te(a,b,c,d,f,g,h,k){k=null!=k?k:null;var m=Kj(b,c,d,f,g,h,k);return m in a.rk?a.rk[m]:a.rk[m]=new We(b,c,d,f,g,h,k)}Jj.prototype.kv=function(a){for(var b=Gd(a.keys,a.fi,a.gi,a.pp,a.qp,a.opacity,a.L),c=Ib(this.Rg),d=0,f=c.length;d=Math.abs(d)?(c=-0.5,b=0>Math.cos(a)):(d=-0.5,b=0Math.sin(d)||180==a||360==a;if(90==a||270==a)c+=1E-6;180!=a&&(0>Math.tan(d)||90==a||270==a)&&(f=-1,c=90-c);c=Wb(c);d=Math.sin(c)*(b.height/2-Math.tan(c)*b.width/2)+b.width/2/Math.cos(c);f=f*Math.cos(c)*d;g=g*Math.sin(c)*d;m&&(f=-f,g=-g);return new Nj(Math.round(h-f),Math.round(k+g),Math.round(h+f),Math.round(k-g))};e.At=function(){var a=Pj("svg");this.u(a,"xmlns","http://www.w3.org/2000/svg");return a};e.yt=function(){return Pj("linearGradient")};
e.tt=function(){return Pj("pattern")};e.ut=function(){return Pj("image")};e.wt=function(){return Pj("g")};e.ot=function(){return Pj("circle")};e.iq=function(){return Pj("path")};e.st=function(){return Pj("ellipse")};e.rt=function(){return Pj("defs")};e.jq=function(){return Pj("text")};e.kq=function(){return Pj("tspan")};e.createTextNode=function(a){return document.createTextNode(String(a))};e.Dv=function(a){var b=a.Ee();this.ra(a.j(),{x:b.left,y:b.top,width:b.width,height:b.height,patternUnits:"userSpaceOnUse"})};
e.Ev=function(a){var b=a.Ee(),c=a.src()||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",d=a.j();this.ra(d,{x:b.left,y:b.top,width:b.width,height:b.height,"image-rendering":"optimizeQuality",preserveAspectRatio:a.align()+" "+a.Ij()});d.setAttributeNS("http://www.w3.org/1999/xlink","href",c)};e.Bv=function(a,b){a.style.cursor=null===b?"default":b};e.ps=function(a){var b=a.j();this.u(b,"x",a.Ld);this.u(b,"y",a.rg)};
e.Pv=function(a){var b=a.style(),c=a.j();if(a.Pg()){if(c.style["-webkit-touch-callout"]="",c.style["-webkit-user-select"]="",c.style["-khtml-user-select"]="",c.style["-moz-user-select"]="",c.style["-ms-user-select"]="",c.style["-o-user-select"]="",c.style["user-select"]="",Ta&&9==gb||Sa)this.qa(c,"unselectable"),this.qa(c,"onselectstart")}else if(c.style["-webkit-touch-callout"]="none",c.style["-webkit-user-select"]="none",c.style["-khtml-user-select"]="none",c.style["-moz-user-select"]="moz-none",
c.style["-ms-user-select"]="none",c.style["-o-user-select"]="none",c.style["user-select"]="none",Ta&&9==gb||Sa)this.u(c,"unselectable","on"),this.u(c,"onselectstart","return false;");b.fontStyle?this.u(c,"font-style",b.fontStyle):this.qa(c,"font-style");b.fontVariant?Ua?c.style["font-variant"]=b.fontVariant:this.u(c,"font-variant",b.fontVariant):Ua?c.style["font-variant"]="":this.qa(c,"font-variant");b.fontFamily?this.u(c,"font-family",b.fontFamily):this.qa(c,"font-family");b.fontSize?this.u(c,"font-size",
b.fontSize):this.qa(c,"font-size");b.fontWeight?this.u(c,"font-weight",b.fontWeight):this.qa(c,"font-weight");b.color?this.u(c,"fill",b.color):this.qa(c,"fill");b.letterSpacing?this.u(c,"letter-spacing",b.letterSpacing):this.qa(c,"letter-spacing");b.decoration?this.u(c,"text-decoration",b.decoration):this.qa(c,"text-decoration");b.direction?this.u(c,"direction",b.direction):this.qa(c,"direction");b.hAlign?this.u(c,"text-anchor","rtl"==b.direction?Ua||Ta?b.hAlign==Je||b.hAlign==Ke?Le:b.hAlign==Le||
b.hAlign==Me?Je:"middle":b.hAlign==Je||b.hAlign==Ke?Je:b.hAlign==Le||b.hAlign==Me?Le:"middle":b.hAlign==Je||b.hAlign==Me?Je:b.hAlign==Le||b.hAlign==Ke?Le:"middle"):this.qa(c,"text-anchor");c.style.opacity=b.opacity?b.opacity:"1"};e.np=function(a){var b=a.j(),c=a.parent();(a.Gj||a.ki)&&this.u(b,"x",c.Ld+a.ki);this.u(b,"dy",a.li)};
e.op=function(a){var b=a.F,c=a.j(),d=a.parent();a=this.createTextNode(a.text);c.appendChild(a);if(Ta&&9==gb||Sa)d.Pg()?(this.qa(c,"onselectstart"),this.qa(c,"unselectable")):(this.u(c,"onselectstart","return false;"),this.u(c,"unselectable","on"));b.fontStyle&&this.u(c,"font-style",b.fontStyle);b.fontVariant&&this.u(c,"font-variant",b.fontVariant);b.fontFamily&&this.u(c,"font-family",b.fontFamily);b.fontSize&&this.u(c,"font-size",b.fontSize);b.fontWeight&&this.u(c,"font-weight",b.fontWeight);b.color&&
this.u(c,"fill",b.color);b.letterSpacing&&this.u(c,"letter-spacing",b.letterSpacing);b.jh&&this.u(c,"text-decoration",b.jh)};
function Sj(a,b,c){var d=Ri(c,b.keys,b.cx,b.cy,b.fx,b.fy,b.opacity,b.mode);if(!d.Id){var f=Pj("radialGradient");a.Yi(f,d.id());a.appendChild(c.j(),f);d.Ze=c;d.Id=!0;kb(d.keys,function(a){var b=Pj("stop");this.ra(b,{offset:a.offset,style:"stop-color:"+a.color+";stop-opacity:"+(isNaN(a.opacity)?d.opacity:a.opacity)});this.appendChild(f,b)},a);d.L?a.ra(f,{cx:d.fi*d.L.width+d.L.left,cy:d.gi*d.L.height+d.L.top,fx:d.Qq*d.L.width+d.L.left,fy:d.Rq*d.L.height+d.L.top,r:Math.min(d.L.width,d.L.height)/2,spreadMethod:"pad",
gradientUnits:"userSpaceOnUse"}):a.ra(f,{cx:d.fi,cy:d.gi,fx:d.Qq,fy:d.Rq,gradientUnits:"objectBoundingBox"})}return d.id()}
function Tj(a,b,c,d){d=!0===b.mode?Ad(b.angle,d):b.angle;var f=Se(c,b.keys,b.opacity,d,b.mode);if(!f.Id){var g=a.yt();a.Yi(g,f.id());a.appendChild(c.j(),g);f.Ze=c;f.Id=!0;kb(f.keys,function(a){var b=Pj("stop");this.ra(b,{offset:a.offset,style:"stop-color:"+a.color+";stop-opacity:"+(isNaN(a.opacity)?f.opacity:a.opacity)});this.appendChild(g,b)},a);f.L?(b=a.Vn(f.Vh,f.L),a.ra(g,{x1:b.Xm,y1:b.$m,x2:b.Ym,y2:b.an,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"})):(b=Rj(f.Vh),a.ra(g,{x1:b.Xm,y1:b.$m,x2:b.Ym,
y2:b.an,gradientUnits:"objectBoundingBox"}))}return f.id()}
function Uj(a,b){var c=b.fill(),d=b.l().$e;q(c)?(a.u(b.j(),"fill",c),a.qa(b.j(),"fill-opacity")):p(c.keys)&&c.cx&&c.cy?(a.u(b.j(),"fill","url(#"+Sj(a,c,d)+")"),a.qa(b.j(),"fill-opacity")):p(c.keys)?b.o()&&(a.u(b.j(),"fill","url(#"+Tj(a,c,d,b.o())+")"),a.qa(b.j(),"fill-opacity")):c.src?b.o()&&("tile"==c.mode?Pi(d,c.src,b.o(),c.mode,function(a){a.id();a.parent(b.l()).Hd();I().u(b.j(),"fill","url(#"+a.id()+")")}):(d=Pi(d,c.src,b.o(),c.mode),d.id(),d.parent(b.l()).Hd(),a.u(b.j(),"fill","url(#"+d.id()+
")"))):c instanceof dh?(c=Qi(d,c.type,c.color,c.ca,c.size),c.id(),c.parent(b.l()).Hd(),a.u(b.j(),"fill","url(#"+c.id()+")")):c instanceof Oe?(c.id(),c.parent(b.l()).Hd(),a.u(b.j(),"fill","url(#"+c.id()+")")):a.ra(b.j(),{fill:c.color,"fill-opacity":c.opacity})}
e.Qs=function(a){Uj(this,a);a:{var b=a.stroke(),c=a.l().$e,d=a.j();if(q(b))this.u(d,"stroke",b);else if(p(b.keys)&&b.cx&&b.cy)this.u(d,"stroke","url(#"+Sj(this,b,c)+")");else if(p(b.keys)){if(!a.o())break a;this.u(d,"stroke","url(#"+Tj(this,b,c,a.o())+")")}else this.u(d,"stroke",b.color);b.lineJoin?this.u(d,"stroke-linejoin",b.lineJoin):this.qa(d,"stroke-linejoin");b.lineCap?this.u(d,"stroke-linecap",b.lineCap):this.qa(d,"stroke-linecap");b.opacity?this.u(d,"stroke-opacity",b.opacity):this.qa(d,"stroke-opacity");
b.thickness?this.u(d,"stroke-width",b.thickness):this.qa(d,"stroke-width");b.dash?this.u(d,"stroke-dasharray",b.dash):this.qa(d,"stroke-dasharray")}};e.Rv=function(a){a.visible()?this.qa(a.j(),"visibility"):this.u(a.j(),"visibility","hidden")};e.Zi=function(a){var b=a.Z;b?this.u(a.j(),"transform",b.toString()):this.qa(a.j(),"transform")};e.Mv=function(a){var b=a.Z;b?this.u(a.j(),"patternTransform",b.toString()):this.qa(a.j(),"patternTransform")};e.Lv=Oj.prototype.Zi;e.Fv=Oj.prototype.Zi;e.Iv=Oj.prototype.Zi;
e.Qv=Oj.prototype.Zi;e.Cv=Oj.prototype.Zi;e.os=function(a,b,c){this.ra(a,{width:b,height:c})};e.Yi=function(a,b){b?this.u(a,"id",b):this.qa(a,"id")};e.Hv=ca;e.Av=function(a){this.ra(a.j(),{cx:a.Zg(),cy:a.$g(),r:a.Qi()})};e.ms=function(a){this.ra(a.j(),{cx:a.Zg(),cy:a.$g(),rx:a.uf(),ry:a.Fh()})};e.Kv=function(a){var b=Qj(a);b?this.u(a.j(),"d",b):this.u(a.j(),"d","M 0,0")};
e.ks=function(a){var b=a.clip();if(b){var c=a.l().$e,d;d=[b.left.toFixed(4),b.top.toFixed(4),b.width.toFixed(4),b.height.toFixed(4)].join();var f=c.nj[d];if(!f){var f=c.nj,g;I();g=Pj("clipPath");f[d]=f=g}d=f;if(qc(d)!=c.j()){this.u(d,"clip-rule","nonzero");this.Yi(d,Ve(Id.Xc(),d,"clip"));f=this.iq();g=b.left;var h=b.top,k=g+b.width,b=h+b.height;this.u(f,"d",["M",g,h,"L",k,h,k,b,g,b,"Z"].join(" "));this.appendChild(d,f);this.appendChild(c.j(),d)}this.ra(a.j(),{"clip-path":"url(#"+Ve(Id.Xc(),d,"clip")+
")",clipPathUnits:"userSpaceOnUse"})}else this.qa(a.j(),"clip-path"),this.qa(a.j(),"clipPathUnits")};e.Gv=Oj.prototype.ks;e.Nv=function(a){a.vc()?this.u(a.j(),"pointer-events","none"):this.qa(a.j(),"pointer-events")};function Vj(a,b,c){L.call(this,a,b,c)}B(Vj,L);Vj.prototype.qt=function(){return new Mj(this)};var Dj="svg",Cj="vml",Wj=null;function Bj(){null==Wj&&(Wj=Ta&&!eb("9")?Cj:Dj);return Wj}function I(){return Bj()==Cj?Yd.Xc():Oj.Xc()}function Xj(a,b,c,d){switch(a){case Cj:a=Lj;break;case Dj:a=Vj;break;default:throw b=sa(1)+": "+a,yd(b);}return new a(b,c,d)}function th(a,b,c,d){if(null==a)throw a=d?" and have type '"+d+"'":"",b=sa(13)+". Calling "+b+"(): parameter '"+c+"' must be defined and not null"+a+"!",yd(b);}
function uh(a,b,c){th(a,b,c);if(!v(a))throw a=sa(12)+". Calling "+b+"(): type of parameter '"+c+"' must be a number!",yd(a);}function vh(a,b){th(a,b,"callback");if(!w(a)){var c=sa(12)+". Calling "+b+"(): type of parameter 'callback' must be a function!";throw yd(c);}}function mi(a,b){th(a,"path.arcToByCoords",b);if(!ha(a)){var c=sa(12)+". Calling path.arcToByCoords(): type of parameter '"+b+"' must be a boolean!";throw yd(c);}}
function ji(a,b,c){if(a%c)throw a=sa(14)+". Calling "+b+"(): number of parameters must be a multiple of "+c+"! Actual numbers of parameters is "+a+".",yd(a);}function ki(a,b){for(var c=0,d=a.length;c=(0==g?0:0b?1:a==b?0:-1}function vk(a,b){return-sk(a,b)}function tk(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:a-b}function uk(a){return x(a)?"o"+ja(a):(typeof a).charAt(0)+a}
function N(a,b,c){a=v(a)?a:!isNaN(b)&&wk(a)?b*parseFloat(a)/100:parseFloat(a);return c&&!isNaN(b)?b-a:a}function wk(a){return q(a)&&ta(a,"%")}function xk(a,b,c){v(a)||(a=parseFloat(a));a=Math.round(a);b=l(b)?b:c?0:1;return c?0<=a?a:b:0c&&(c+=b);c>=b&&(c-=b);return M(a-c,7)}
function Ak(a,b,c){c=M((a-(c||0))%b,7);c>=b&&(c-=b);if(0==c)return M(a,7);0>c&&(c+=b);return M(a+b-c,7)}function Bk(a,b,c,d){switch(b){case "leftTop":case "leftCenter":case "centerTop":case "center":a.x+=c;a.y+=d;break;case "leftBottom":case "centerBottom":a.x+=c;a.y-=d;break;case "rightCenter":case "rightTop":a.x-=c;a.y+=d;break;case "rightBottom":a.x-=c,a.y-=d}}function Ck(a){var b;if(w(a))return a;if(p(a))b=Array(a.length);else if(x(a))b={};else return a;for(var c in a)b[c]=Ck(a[c]);return b}
function Dk(a){return null===a||q(a)&&"none"==a.toLowerCase()}function Ek(){return this.value}function Fk(a){return a.replace(/[\s\xa0]+$/,"")}
function Gk(a){if(q(a))if("undefined"!=typeof DOMParser)a=(new DOMParser).parseFromString(a,"application/xml");else if("undefined"!=typeof ActiveXObject){var b=mk();b.loadXML(a);a=b}else throw Error("Your browser does not support loading xml documents");if(!a)return null;switch(a.nodeType){case 1:var b={},c,d=null==a.attributes?0:a.attributes.length,f=!d;for(c=0;c=c&&0<=f&&255>=f&&0<=d&&255>=d){c=[c,f,d];break a}}c=[]}return c.length?(b.Eg=Pd(c),b.type="rgb",b):Kd&&(a=Kd[a.toLowerCase()])?(b.Eg=a,b.type="named",b):null}
A("anychart.color.blend",function(a,b,c){return Ud(a,b,c)});A("anychart.color.lighten",dl);A("anychart.color.darken",el);var V=D;V.gu=function(a){for(var b=new V(0,0,0,0),c=new V(a[0],a[1],0,0),d=2,f=a.length;da-this.df&&(this.Ki=a-this.Li),this.position(this.K))),this.df!=this.Ki&&(a=this.lc()?this.N.oa():this.N.na(),this.Ki<=a&&(this.df=this.Ki,this.Ki>a-this.Jd&&(this.Li=a-this.Ki),this.position(this.K))),Ll(this),Q(this,4194304));R(this,4)&&(this.lh().zIndex(this.zIndex()),Ll(this),Q(this,4));c&&b.hc()}return this};e.lc=function(){return"horizontal"!=this.sa.toLowerCase()};e.remove=function(){this.lb&&this.lb.parent(null)};
e.a=function(){var a=Fl.c.a.call(this);a.layout=this.sa;a.position=this.K;a.dragAreaLength=this.Jc;a.startLimitSize=this.Jd;a.endLimitSize=this.df;a.splitterWidth=this.Pb;a.considerSplitterWidth=this.eh;a.stroke=fl(this.M);a.fill=fl(this.P);a.dragPreviewFill=fl(this.Yk);a.dragPreviewStroke=fl(this.Zk);a.dragAreaFill=fl(this.Bj);a.dragAreaStroke=fl(this.Cj);a.handlePositionChange=this.Yn;return a};
e.b=function(a){S(this);Fl.c.b.call(this,a);this.aa(a.layout);this.position(a.position);this.Ot(a.dragAreaLength);Gl(this,a.startLimitSize);Hl(this,a.endLimit);this.stroke(a.stroke);this.fill(a.fill);this.Wv(a.splitterWidth);this.lt(a.considerSplitterWidth);this.Qt(a.dragPreviewFill);this.Rt(a.dragPreviewStroke);this.Nt(a.dragAreaFill);this.Pt(a.dragAreaStroke);this.su(a.handlePositionChange);this.g(!0);return this};A("anychart.ui.splitter",function(){return new Fl});Fl.prototype.layout=Fl.prototype.aa;
Fl.prototype.position=Fl.prototype.position;Fl.prototype.dragAreaLength=Fl.prototype.Ot;Fl.prototype.stroke=Fl.prototype.stroke;Fl.prototype.fill=Fl.prototype.fill;Fl.prototype.dragPreviewStroke=Fl.prototype.Rt;Fl.prototype.dragPreviewFill=Fl.prototype.Qt;Fl.prototype.dragAreaStroke=Fl.prototype.Pt;Fl.prototype.dragAreaFill=Fl.prototype.Nt;Fl.prototype.handlePositionChange=Fl.prototype.su;Fl.prototype.considerSplitterWidth=Fl.prototype.lt;Fl.prototype.splitterWidth=Fl.prototype.Wv;
Fl.prototype.leftLimitSize=Fl.prototype.Tx;Fl.prototype.topLimitSize=Fl.prototype.qz;Fl.prototype.rightLimitSize=Fl.prototype.Ky;Fl.prototype.bottomLimitSize=Fl.prototype.Hw;Fl.prototype.getLeftBounds=Fl.prototype.Cx;Fl.prototype.getTopBounds=Fl.prototype.Gx;Fl.prototype.getRightBounds=Fl.prototype.Fx;Fl.prototype.getBottomBounds=Fl.prototype.zx;Fl.prototype.draw=Fl.prototype.k;function Pl(){W.call(this);this.oe=this.jd=this.Lc=this.Zh=this.lb=null;this.sa="vertical";this.Nk=Og("#e0e0e0");this.Ok=Sg("#d5d5d5");this.Bm=Og("#d5d5d5");this.Cm=Sg("#656565");this.cb=0;this.Db=1;this.Aa=this.Fa=null;this.$h=!0;this.Om=-1}B(Pl,ll);e=Pl.prototype;e.J=ll.prototype.J;e.I=ll.prototype.I|4194312;e.aa=function(a){return l(a)?(a=dk(a),a!=this.sa&&(this.sa=a,P(this,16,1)),this):this.sa};
e.Xs=function(a,b,c,d,f){if(l(a)){var g=Sg.apply(null,arguments);this.Ok!=g&&(this.Ok=g,P(this,8,1));return this}return this.Ok||"none"};e.Ws=function(a,b,c,d,f,g,h){if(l(a)){var k=Og.apply(null,arguments);this.Nk!=k&&(this.Nk=k,P(this,8,1));return this}return this.Nk||"none"};e.Vv=function(a,b,c,d,f){if(l(a)){var g=Sg.apply(null,arguments);this.Cm!=g&&(this.Cm=g,P(this,8,1));return this}return this.Cm||"none"};
e.Uv=function(a,b,c,d,f,g,h){if(l(a)){var k=Og.apply(null,arguments);this.Bm!=k&&(this.Bm=k,P(this,8,1));return this}return this.Bm||"none"};e.nt=function(a,b){return l(a)?(D.De(this.Fa,a)||(this.Fa=a.D(),this.Aa?Ql(this):this.Aa=this.Fa.D(),Rl(this),P(this,4194304,1),Sl(this,b||"api")),this):this.Fa};e.Qp=function(a,b){return l(a)?(D.De(this.Aa,a)||(this.Aa=a.D(),this.Fa?Ql(this):this.Fa=this.Aa.D(),Rl(this),P(this,4194304,1),Sl(this,b||"api")),this):this.Aa};
e.ez=function(a,b){return l(a)?(a=+a,!isNaN(a)&&this.cb!=a&&0<=a&&1>a&&(a==this.Db?(this.Db=1,this.cb=a):(this.cb=Math.min(a,this.Db),this.Db=Math.max(a,this.Db)),Tl(this),P(this,4194304,1),Sl(this,b||"api")),this):this.cb};e.qx=function(a,b){return l(a)?(a=+a,!isNaN(a)&&this.Db!=a&&0=a&&(a==this.cb?(this.cb=0,this.Db=a):(this.Db=Math.max(a,this.cb),this.cb=Math.min(a,this.cb)),Tl(this),P(this,4194304,1),Sl(this,b||"api")),this):this.Db};
e.Ov=function(a,b,c){a=+a;b=+b;if(!isNaN(a)&&!isNaN(b)){a=Ub(a,0,1);b=Ub(b,0,1);var d=Math.min(a,b);a=Math.max(a,b);d==a||this.cb==d&&this.Db==a||(this.cb=d,this.Db=a,Tl(this),P(this,4194304,1),Sl(this,c||"api"))}return this};e.gs=function(a,b){a=+a;if(!isNaN(a)){a=Ub(a,0,1);var c=this.Db-this.cb,d=M(Ub(a+c,0,1),4),c=M(d-c,4);if(this.cb!=c||this.Db!=d)this.cb=c,this.Db=d,Tl(this),P(this,4194304,1),Sl(this,b||"api")}return this};
e.yv=function(a,b){a=+a;if(this.Aa&&!isNaN(a)){var c=this.lc();a!=(c?this.Aa.top:this.Aa.left)&&(c?this.Aa.top=a:this.Aa.left=a,Ql(this),Rl(this),P(this,4194304,1),Sl(this,b||"api"))}return this};e.xv=function(a,b){a=+a;if(!isNaN(a)){a=Ub(a,0,1);var c=this.Db-this.cb,d=M(Ub(a-c,0,1),4),c=M(d+c,4);if(this.cb!=d||this.Db!=c)this.cb=d,this.Db=c,Tl(this),P(this,4194304,1),Sl(this,b||"api")}return this};
e.My=function(a,b){a=+a;if(this.Aa&&!isNaN(a)){var c=this.lc(),d=a-(c?this.Aa.top+this.Aa.height:this.Aa.left+this.Aa.width);d&&(c?this.Aa.top+=d:this.Aa.left+=d,Ql(this),Rl(this),P(this,4194304,1),Sl(this,b||"api"))}return this};e.fs=function(a,b){a=+a;var c=isNaN(a)?40:a;return this.Aa&&c?this.yv(c+(this.lc()?this.Aa.top:this.Aa.left),b):this};e.scroll=function(a,b){a=+a;var c=isNaN(a)?0.05:Ub(a,-1,1);return c?this.gs(this.cb+c,b):this};
e.ct=function(a){return l(a)?(ha(a)&&this.$h!=a&&(this.$h=a,P(this,16,1)),this):this.$h};e.lh=function(){this.lb||(this.lb=wh(),E(this,this.lb));return this.lb};function Ul(a){a.Zh||(a.Zh=yh(),pg(a.Zh,"click",a.Gw,!1,a),E(a,a.Zh));return a.Zh}function Vl(a){a.Lc||(a.Lc=new nl,pl(a.Lc,16,!1),O(a.Lc,function(){a.Lc.k()}),a.Lc.wm(function(){a.Qp()?a.fs(40,"user_action"):a.scroll(0.05,"user_action")}),E(a,a.Lc));return a.Lc}
function Wl(a){a.jd||(a.jd=new nl,pl(a.jd,16,!1),O(a.jd,function(){a.jd.k()}),a.jd.wm(function(){a.Qp()?a.fs(-40,"user_action"):a.scroll(-0.05,"user_action")}),E(a,a.jd));return a.jd}function Xl(a){a.oe||(a.oe=yh(),pg(a.oe,Jg,a.wq,!1,a),pg(a.oe,Eg,a.vq,!1,a),E(a,a.oe));return a.oe}e.wq=function(){Yl(this,!0)};e.vq=function(){Yl(this,!1)};
e.Gw=function(a){var b=this.lc(),c=this.oe.o(),d=this.oe.kh();a=b?a.offsetY:a.offsetX;c=b?a<=c.top:a<=c.left;b=b?M((a-d.top)/d.height,4):M((a-d.left)/d.width,4);c?this.gs(b,"user_action"):this.xv(b,"user_action")};function Yl(a,b){var c=a.lc(),d=a.oe.kh(),f=a.oe.o(),g=!!b,h=c?d.top:d.left,d=c?d.height:d.width,k=c?f.top:f.left,c=k+(c?f.height:f.width);a.cb=M((k-h)/d,5);a.Db=M((c-h)/d,5);Tl(a);g||P(a,4194304,1);Sl(a)}
function Tl(a){if(a.Fa&&a.Aa){var b;if(a.lc()){b=a.Fa.height;var c=M(a.cb*b,1)+a.Fa.top;b=M((a.Db-a.cb)*b,1);a.Aa.top=c;a.Aa.height=b}else b=a.Fa.width,c=M(a.cb*b,1)+a.Fa.left,b=M((a.Db-a.cb)*b,1),a.Aa.left=c,a.Aa.width=b}}function Rl(a){if(a.Fa&&a.Aa){var b=a.lc(),c=b?a.Aa.top-a.Fa.top:a.Aa.left-a.Fa.left,d=b?c+a.Aa.height:c+a.Aa.width,b=b?a.Fa.height:a.Fa.width;a.cb=M(c/b,4);a.Db=M(d/b,4)}}
function Ql(a){var b=a.Aa;a=a.Fa;b.width>a.width&&(b.width=a.width);b.height>a.height&&(b.height=a.height);b.top+b.height>a.top+a.height&&(b.top-=b.top+b.height-(a.top+a.height));b.left+b.width>a.left+a.width&&(b.left-=b.left+b.width-(a.left+a.width));b.top(d?a.height:a.width)/(d?a.width:a.height);
f=g=d?a.width:a.height;k=a.left;m=a.top;h&&(d?g=M(a.height/3,1):f=M(a.width/3,1));h=d?a.left:a.left+a.width-f;d=d?a.top+a.height-g:a.top;this.Lc.H(a).position({x:h,y:d}).width(f).height(g).k();this.jd.H(a).position({x:k,y:m}).width(f).height(g).k();this.Lc.g(!1);this.jd.g(!1)}P(this,4194312);Q(this,16)}R(this,8)&&(this.Zh.fill(this.Nk).stroke(this.Ok),this.oe.fill(this.Bm).stroke(this.Cm),Q(this,8));R(this,4194304)&&(a=this.lc(),f=this.N,this.Zh.js(f),this.$h?(m=this.Lc.width(),d=this.Lc.height(),
g=a?f.left:f.left+m+1,k=a?f.top+d+1:f.top,m=a?f.width:f.width-2*(m+1),d=a?f.height-2*(d+1):f.height,d=new D(g,k,m,d)):d=f.D(),g=a?f.left:M(d.left+this.cb*d.width,1),k=a?M(d.top+this.cb*d.height,1):f.top,m=a?f.width:M(d.width*(this.Db-this.cb),1),a=a?M(d.height*(this.Db-this.cb),1):f.height,this.oe.me(g).ne(k).Pe(m).Oe(a).kh(d),this.oe.qc(1,0,0,1,0,0),Q(this,4194304));R(this,4)&&(this.lh().zIndex(this.zIndex()),Q(this,4));c&&b.hc()}return this};e.lc=function(){return"horizontal"!=this.sa.toLowerCase()};
e.remove=function(){this.lb&&this.lb.parent(null)};e.a=function(){var a=Pl.c.a.call(this);a.layout=this.sa;a.bgFill=fl(this.Nk);a.bgStroke=fl(this.Ok);a.sliderFill=fl(this.Bm);a.sliderStroke=fl(this.Cm);a.contentBounds=this.Fa?this.Fa.a():null;a.visibleBounds=this.Aa?this.Aa.a():null;a.startRatio=this.cb;a.endRatio=this.Db;a.buttonsVisible=this.$h;return a};
e.b=function(a){S(this);Pl.c.b.call(this,a);this.aa(a.layout);this.Ws(a.bgFill);this.Xs(a.bgStroke);this.Uv(a.sliderFill);this.Vv(a.sliderStroke);this.nt(a.contentBounds);this.Qp(a.visibleBounds);this.Ov(a.startRatio,a.endRatio);this.ct(a.buttonsVisible);this.g(!0);return this};function Sl(a,b){0<=a.Om&&(clearTimeout(a.Om),a.Om=-1);a.Om=setTimeout(function(){var c=new Zl(a);c.startRatio=a.cb;c.endRatio=a.Db;c.visibleBounds=a.Aa;c.source=b||"user_action";a.dispatchEvent(c);a.Om=-1},0)}
function Zl(a){Cf.call(this,"scrollChange",a)}B(Zl,Cf);Zl.prototype.startRatio=0;Zl.prototype.endRatio=0;Zl.prototype.visibleBounds=null;Zl.prototype.source="";A("anychart.ui.scrollBar",function(){return new Pl});A("anychart.ui.ScrollBar.SCROLL_PIXEL_STEP",40);A("anychart.ui.ScrollBar.SCROLL_RATIO_STEP",0.05);Pl.prototype.layout=Pl.prototype.aa;Pl.prototype.backgroundStroke=Pl.prototype.Xs;Pl.prototype.backgroundFill=Pl.prototype.Ws;Pl.prototype.sliderStroke=Pl.prototype.Vv;
Pl.prototype.sliderFill=Pl.prototype.Uv;Pl.prototype.contentBounds=Pl.prototype.nt;Pl.prototype.visibleBounds=Pl.prototype.Qp;Pl.prototype.startRatio=Pl.prototype.ez;Pl.prototype.endRatio=Pl.prototype.qx;Pl.prototype.setRatio=Pl.prototype.Ov;Pl.prototype.scrollPixelStartTo=Pl.prototype.yv;Pl.prototype.scrollStartTo=Pl.prototype.gs;Pl.prototype.scrollPixelEndTo=Pl.prototype.My;Pl.prototype.scrollEndTo=Pl.prototype.xv;Pl.prototype.scrollPixel=Pl.prototype.fs;Pl.prototype.scroll=Pl.prototype.scroll;
Pl.prototype.buttonsVisible=Pl.prototype.ct;Pl.prototype.draw=Pl.prototype.k;A("acgraph.create",function(a,b,c){return Xj(Bj(),a,b,c)});A("acgraph.type",Bj);A("acgraph.validate",function(a,b){var c=new bj,d=vj({Qw:(new Fi(void 0)).a(a)});$f(c,"complete",function(){qj(c)?b.call(this,rj(c)):b.call(this,"Something went wrong in the ajax call. Error code: "+c.fk+" - message: "+(q(c.wh)?c.wh:String(c.wh)))});c.send(Ej+"/validate","POST",d.toString())});A("acgraph.server",function(a){l(a)&&(Ej=a);return Ej});A("acgraph.StageType.CANVAS","canvas");A("acgraph.StageType.SVG",Dj);
A("acgraph.StageType.VML",Cj);A("acgraph.rect",yh);A("acgraph.circle",Dh);A("acgraph.ellipse",Eh);A("acgraph.path",Fh);A("acgraph.text",xh);A("acgraph.layer",wh);A("acgraph.image",zh);A("acgraph.hatchFill",Ug);A("acgraph.patternFill",function(a){return new Oe(a)});Fc.prototype.setLevel=Fc.prototype.Jv;Fc.prototype.info=Fc.prototype.info;xd.prototype.setCapturing=xd.prototype.Sy;A("acgraph.debug.DivConsole",xd);A("acgraph.debug.getLogger",function(a){return Qc(a)});A("acgraph.debug.LogLevel",Gc);
A("acgraph.debug.LogLevel.ALL",Mc);A("acgraph.debug.LogLevel.SEVERE",Jc);A("acgraph.debug.LogLevel.INFO",Lc);A("acgraph.error.errorMessage",sa);A("acgraph.error.Code.ERROR_IS_NOT_FOUND",0);A("acgraph.error.Code.STAGE_TYPE_NOT_SUPPORTED",1);A("acgraph.error.Code.CONTAINER_SHOULD_BE_DEFINED",2);A("acgraph.error.Code.STAGE_SHOULD_HAVE_DOM_ELEMENT",3);A("acgraph.error.Code.PARENT_UNABLE_TO_BE_SET",4);A("acgraph.error.Code.OPERATION_ON_DISPOSED",5);A("acgraph.error.Code.DIRTY_AFTER_SYNC_RENDER",6);
A("acgraph.error.Code.STAGE_MISMATCH",7);A("acgraph.error.Code.WRONG_SWAPPING",8);A("acgraph.error.Code.EMPTY_PATH",9);A("acgraph.error.Code.UNIMPLEMENTED_METHOD",10);A("acgraph.error.Code.REQUIRED_PARAMETER_MISSING",11);A("acgraph.error.Code.PARAMETER_TYPE_MISMATCH",12);A("acgraph.error.Code.PARAMETER_IS_NULL_OR_UNDEFINED",13);A("acgraph.error.Code.INVALID_NUMBER_OF_PARAMETERS",14);A("acgraph.events.listen",pg);A("acgraph.events.listenOnce",$f);A("acgraph.events.unlisten",tg);
A("acgraph.events.unlistenByKey",bg);A("acgraph.events.removeAll",function(a,b){if(!a)return 0;if(Kf(a))return a.bg(b);var c=Xf(a);if(!c)return 0;var d=0,f;for(f in c.Cc)if(!b||f==b)for(var g=rb(c.Cc[f]),h=0;hf?(tb(b,~f,0,d),tb(a,~f,0,c.fa())):a[f]=c.fa()}}return a};
km.prototype.find=function(a,b){if("x"!=a)return km.c.find.call(this,a,b);bm(this);var c;var d=this.h(),f=d.Da();c=0;for(var g=f,h,k;c>1;d.select(m);k=sk(b,d.get("x"));0f&&(f=~f,tb(k,f,0,h),(h=this.search(sm,h))?(g=h instanceof um?h:h[0],tb(m,f,0,g),g.d("nc",!0)):tb(m,f,0,g)));for(c=0;cf?((h=
this.search(sm,g))?(g=h instanceof um?h:h[0],wm(g,d)):this.le.push(d),ym(this,d)):(g=m[f],wm(g,d),g.d("nc")&&ym(this,d))):(this.le.push(d),ym(this,d));break;default:for(c=0,k=a.length;ca?tb(d,~a,0,c):(a=d[a],p(a.value)||(a.value=[a.value]),a.value.push(b))}else for(f in a.ec)zm(a,b,f)}function Am(a,b,c,d){if(c){if(d)for(var f=b.zb();f--;)Am(a,b.gf(f),c,d);if(f=a.ec[c])d=vb(f,{key:b.get(c)},a.dq),f=f[d],p(f.value)&&1=d){g="";f=0;a.Md=-1;a.Nd=-1;a.Ra=c+1;h=0;break}else return 0d)throw Error("Index can not be masked by this View");return a>=d?(a-=d,2=d)return[];a=new gm(a);c=[];if(1==b)for(b=0;bthis.Jb.length||0==this.q)return null;if(l(b))return this.sg[a]=b,this.A(2),this;a>this.q-1&&(a=this.q-1);0>a&&(a=0);var c=this.sg[a];return c?c:null};
function dn(a){if(a.Jb&&0!=a.q){isNaN(a.q)&&(a.q=a.Jb.length);var b=[],c=p(a.Jb)?a.Jb:a.Jb.keys;if(0!=c.length){for(var d=1/(c.length-1),f,g=0;g=b[h].offset&&(c=b[h]),f<=b[h].offset&&
null==d&&(d=b[h]);c||(c=b[0]);d||(d=b[b.length-1]);d.offset==c.offset?a.sg[g]={color:c.color}:(f=1-(f-c.offset)/(d.offset-c.offset),a.sg[g]={color:Pd(Ud(Rd(c.color),Rd(d.color),f))})}}}}
e.$=function(a){this.q=NaN;this.Jb="#1D8BD1 #F1683C #2AD62A #DBDC25 #8FBC8B #D2B48C #FAF0E6 #20B2AA #B0C4DE #DDA0DD #9C9AFF #9C3063 #FFFFCE #CEFFFF #630063 #FF8284 #0065CE #CECFFF #000084 #FF00FF #FFFF00 #00FFFF #840084 #840000 #008284 #0000FF #00CFFF #CEFFFF #CEFFCE #FFFF9C #9CCFFF #FF9ACE #CE9AFF #FFCF9C #3165FF #31CFCE #9CCF00 #FFCF00 #FF9A00 #FF6500".split(" ");dn(this);a&&this.A(2)};e.bi=function(a){null!=a?(this.Jb=a.Jb,this.q=a.q,this.sg=a.sg):(this.Jb=[],this.q=0,this.sg=[]);return this};
A("anychart.utils.rangeColorPalette",function(){return new cn});cn.prototype.colorAt=cn.prototype.pj;cn.prototype.colors=cn.prototype.Tk;cn.prototype.count=cn.prototype.count;function en(){W.call(this);this.v=this.p=this.Pa=null;this.ib=this.Cb=NaN;this.C=this.i=null;this.$();P(this,4294967295)}B(en,W);e=en.prototype;e.J=W.prototype.J|8;e.I=W.prototype.I|24;e.H=function(a){return l(a)?(this.i!=a&&(this.i=a,P(this,24,9)),this):this.i};e.width=function(a){return l(a)?(this.p!=a&&(this.p=a,P(this,24,9)),this):this.p};e.height=function(a){return l(a)?(this.v!=a&&(this.v=a,P(this,24,9)),this):this.v};
e.margin=function(a,b,c,d){this.ja||(this.ja=new wl,E(this,this.ja),O(this.ja,this.qr,this));return l(a)?(this.ja.set.apply(this.ja,arguments),this):this.ja};e.orientation=function(a){return l(a)?(a=ek(a),this.ta!=a&&(this.ta=a,P(this,24,9)),this):this.ta};e.fill=function(a,b,c,d,f,g,h){if(l(a)){var k=Og.apply(null,arguments);k!=this.P&&(this.P=k,P(this,8,1));return this}return this.P||"none"};
e.stroke=function(a,b,c,d,f){if(l(a)){var g=Sg.apply(null,arguments);g!=this.M&&(this.M=g,P(this,8,1));return this}return this.M||"none"};e.Ut=function(a){return l(a)?(this.Ae!=a&&(this.Ae=a,P(this,8,1)),this):this.Ae};
e.k=function(){if(!this.jc())return this;this.Pa||(this.Pa=Fh(),E(this,this.Pa));var a=this.e(),b=a?a.l():null,c=b&&!b.Zb();c&&b.sc();R(this,16)&&(fn(this),Q(this,16));if(R(this,8)){this.Pa.fill(this.fill());this.Pa.stroke(this.stroke());this.Pa.clear();var d=new V(this.Cb,this.ib,this.kp,this.ip);this.Ae&&w(this.Ae)&&this.Ae(this.Pa,d);Q(this,8)}R(this,2)&&(this.enabled()&&this.Pa.parent(a),Q(this,2));R(this,4)&&(a=this.zIndex(),this.Pa.zIndex(a),Q(this,4));c&&b.hc();return this};
e.remove=function(){this.Pa&&this.Pa.parent(null)};e.Mc=function(){this.C&&!R(this,16)||fn(this);return new V(0,0,this.C.width,this.C.height)};
e.Lb=function(){if(!this.C||R(this,16))fn(this),Q(this,16);var a;if(this.i)a=this.i.D();else if(a=(a=this.e())?a.l():null)a=a.o();else return new V(0,0,0,0);if(!this.enabled())return a;switch(this.ta){case "top":a.top+=this.C.height;a.height-=this.C.height;break;case "right":a.width-=this.C.width;break;case "bottom":a.height-=this.C.height;break;case "left":a.left+=this.C.width,a.width-=this.C.width}return a};
function fn(a){var b=a.e(),c=b?b.l():null,b=a.margin(),c=a.i?a.i:c?c.o():null,d,f;c?"top"==a.ta||"bottom"==a.ta?(d=c.width,f=c.height):(d=c.height,f=c.width):d=f=void 0;var g=Dk(a.v)?"100%":a.v,h=N(Dk(a.p)?"100%":a.p,d);c&&dd||c>f)return 1;if(bd)return 1}else if(a.Gf){if(cf)return 1}return 0}
function ln(a){var b,c,d,f,g;a.i?(b=a.i.width,c=a.i.height,null!=a.p?(a.kb=b=N(a.p,b),f=!1):(b=0,f=!0),null!=a.v?(a.tb=d=N(a.v,c),g=!1):(d=0,g=!0)):(v(a.p)&&!isNaN(a.p)?(f=!1,a.kb=b=a.p):(f=!0,b=0),v(a.v)&&!isNaN(a.v)?(g=!1,a.tb=d=a.v):(g=!0,d=0));c=a.padding();a.W.width(null);a.W.height(null);f?(b+=a.W.o().width,a.ig=b,b=a.kb=Zk(c,b)):b=a.ig=Xk(c,b);g?(d+=a.W.o().height,a.hg=d,d=a.tb=$k(c,d)):d=a.hg=Yk(c,d);if(!f&&a.We||!g&&a.Gf){f=Math.round((a.Gi+a.Tl)/2);g=a.Tl;var h=a.Gi,k;k=a.G;var m=xh();a.Wa(m,
!0);a.G=k;m.fontSize(a.Gi);if(0>=kn(a,m.o().width,m.o().height,b,d))b=a.Gi;else{m.fontSize(f);for(var n=k=kn(a,m.o().width,m.o().height,b,d);g!=h;){if(0>k)g=Math.min(f+1,h),f+=Math.floor((h-f)/2);else if(0=n*k)break}if(0==k)pf(m);else{do f+=n,m.fontSize(f),k=kn(a,m.o().width,m.o().height,b,d);while(0>n*k);pf(m);0=this.eo?this.remove():this.cj.no()||this.cj.start(),Q(this,2),Q(this,2097152));R(this,4194304)&&(this.Qk(),this.s.qc(1,0,0,1,0,0),this.s.translate(this.K.x,this.K.y),Q(this,4194304));R(this,16)&&(qn(this),this.bt=this.B?Wk(this.B,this.Fa):
this.Fa,this.jp=this.Qm=null,Q(this,16));if(R(this,32)){var c=this.background();S(c);c.La(this.Fa);this.enabled()&&this.visible()&&c.e(this.s);c.g(!1);c.k();Q(this,32)}R(this,128)&&(c=this.title(),S(c),this.enabled()&&this.visible()&&c.e(this.s),c.H(this.bt),c.g(!1),c.k(),!this.Qm&&c.enabled()&&(this.Qm=c.Lb()),Q(this,128));R(this,131072)&&(c=this.separator(),S(c),this.enabled()&&this.visible()&&c.e(this.s),c.H(this.Qm||this.Fa),c.g(!1),c.k(),!this.jp&&c.enabled()&&(this.jp=c.Lb()),Q(this,131072));
if(R(this,32768)){var c=this.content(),d=this.jp||this.Qm||this.Fa;S(c);this.enabled()&&this.visible()&&c.e(this.s);c.H(d);c.g(!1);c.k();Q(this,32768)}b&&a.hc();return this};e.remove=function(){this.s&&this.s.parent(null)};
function qn(a){if(!a.Fa){var b=new V(0,0,0,0),c;c=a.padding();var d=c.Xq(b.width),f=c.Tq(b.height),g=N(c.sd,d),h=N(c.vd,f);new V(b.left-g,b.top-h,b.width+g+N(c.zc,d),b.height+h+N(c.tc,f));c=a.title();c.enabled()&&(c.H(null),d=c.Mc(),b.width=Math.max(b.width,d.width),b.height+=d.height);d=a.content();d.enabled()&&(d.H(null),f=d.Mc(),b.width=Math.max(b.width,f.width),b.height+=f.height);f=a.separator();f.enabled()&&(f.H(c.enabled()||d.enabled()?b:null),c=f.Mc(),b.width=Math.max(b.width,c.width),b.height+=
c.height);a.Fa=b}}e.Qk=function(){qn(this);if(!this.K){var a=new me(this.Ud,this.Vd),b=yk(this.Fa,this.ic);a.x-=b.x;a.y-=b.y;Bk(a,this.ic,this.fb,this.gb);this.K=a}};e.Rn=function(){this.Qk();return new V(this.K.x,this.K.y,this.Fa.width,this.Fa.height)};e.Mc=function(){qn(this);return this.Fa};
e.$=function(){this.zIndex(100);this.anchor("centerBottom");this.offsetX(5);this.offsetY(5);this.nh(0);var a=this.title();a.text("Tooltip Title");a.fontFamily("Verdana");a.fontSize(10);a.fontWeight("bold");a.pd("rgb(35,35,35)");a.wc(Ne);a.vAlign("top");a.margin(0);a.padding(5,10,5,10);a.background(null);a.enabled(!1);a=this.separator();a.orientation("top");a.width("100%");a.height(1);a.margin(0,5,0,5);a.enabled(!1);a=this.content();a.text("Content Text");a.fontFamily("Verdana");a.fontSize(10);a.fontWeight("bold");
a.pd("rgb(35,35,35)");a.wc(Ne);a.vAlign("top");a.padding(5,10,5,10);a.background(null);a.Lh(Ie);a.enabled(!0);a=this.background();a.fill({keys:["0 rgb(255,255,255) 1","0.5 rgb(243,243,243) 1","1 rgb(255,255,255) 1"]});a.stroke({keys:["0 rgb(221,221,221) 1","1 rgb(208,208,208) 1"]});a.Wk(10);a.un("none")};
e.a=function(){var a=on.c.a.call(this);a.title=this.title().a();a.separator=this.separator().a();a.content=this.content().a();a.background=this.background().a();a.padding=this.padding().a();a.x=this.x();a.y=this.y();a.anchor=this.anchor();a.visible=this.visible();a.hideDelay=this.nh();return a};
e.b=function(a){S(this);on.c.b.call(this,a);this.title(a.title);this.content(a.content);this.separator(a.separator);this.background(a.background);this.padding(a.padding);this.x(a.x);this.y(a.y);this.anchor(a.anchor);this.visible(a.visible);this.nh(a.hideDelay);this.g(!0);return this};A("anychart.elements.tooltipItem",function(){return new on});on.prototype.title=on.prototype.title;on.prototype.separator=on.prototype.separator;on.prototype.content=on.prototype.content;on.prototype.background=on.prototype.background;
on.prototype.padding=on.prototype.padding;on.prototype.x=on.prototype.x;on.prototype.y=on.prototype.y;on.prototype.offsetX=on.prototype.offsetX;on.prototype.offsetY=on.prototype.offsetY;on.prototype.anchor=on.prototype.anchor;on.prototype.visible=on.prototype.visible;on.prototype.hideDelay=on.prototype.nh;on.prototype.draw=on.prototype.k;function rn(){Fd.call(this);this.vk=document.createElement("div");var a=ic().screen.availWidth,b=ic().screen.availHeight;Ta&&!eb("9")?this.Gc=Xj(Bj(),this.vk,1,1):this.Gc=Xj(Bj(),this.vk,a,b);this.vb=[];this.Gc.j().style.cssText="position:fixed; left:0; top:0; opacity:1; pointer-events: none";this.Gc.mw=!0;document.body.appendChild(this.vk)}B(rn,Fd);da(rn);e=rn.prototype;e.vk=null;e.Gc=null;e.vb=null;e.clear=function(){for(var a=0,b=this.vb.length;ac.left&&(b.x-=c.left);0>c.top&&(b.y-=c.top);c.xb()>d.width&&(b.x-=c.xb()-d.width);c.Ca()>d.height&&(b.y-=c.Ca()-d.height)}return b}e.w=function(){var a=rn.Xc(),b=this.S;if(b){var c=jb(a.vb,b);0<=c&&(b.Kb(),tb(a.vb,c,1))}sn.c.w.call(this)};
e.a=function(){tn(this);var a=sn.c.a.call(this),b=this.S.a();Pb(a,b);a.allowLeaveScreen=this.Vp();a.isFloating=this.Jg();a.content=this.content().a();a.title=this.title().a();w(this.Nh)&&window.console&&window.console.log("Warning: We can not serialize titleFormatter function, please reset it manually.");w(this.fh)&&window.console&&window.console.log("Warning: We can not serialize contentFormatter function, please reset it manually.");return a};
e.b=function(a){S(this);sn.c.b.call(this,a);tn(this);this.S.b(a);this.fh=a.contentFormatter||this.fh;this.Nh=a.titleFormatter||this.Nh;this.Jg(a.isFloating);this.Vp(a.allowLeaveScreen);this.g(!0);return this};A("anychart.elements.tooltip",function(){return new sn});sn.prototype.titleFormatter=sn.prototype.Ds;sn.prototype.contentFormatter=sn.prototype.tg;sn.prototype.allowLeaveScreen=sn.prototype.Vp;sn.prototype.isFloating=sn.prototype.Jg;sn.prototype.title=sn.prototype.title;
sn.prototype.separator=sn.prototype.separator;sn.prototype.content=sn.prototype.content;sn.prototype.background=sn.prototype.background;sn.prototype.padding=sn.prototype.padding;sn.prototype.offsetX=sn.prototype.offsetX;sn.prototype.offsetY=sn.prototype.offsetY;sn.prototype.anchor=sn.prototype.anchor;sn.prototype.hideDelay=sn.prototype.nh;sn.prototype.show=sn.prototype.show;sn.prototype.hide=sn.prototype.co;sn.prototype.redraw=sn.prototype.$o;sn.prototype.enabled=sn.prototype.enabled;function vn(){lg.call(this);this.Jb=null;this.$(!0)}B(vn,Qk);e=vn.prototype;e.J=2;e.pj=function(a,b){this.Jb||(this.Jb=[]);var c=this.Jb.length;a>=c&&0f;f++){c=f;for(var g=0;8>g;g++)c=c&1?3988292384^c>>>1:c>>>1;d[f]=c}Mk=d}c=-1;for(d=0;d>>8^Mk[(c^b.charCodeAt(d++))&255];b=((c^-1)>>>0).toString(16);a=a==b}else a=!1;(b=a||xn.test(ic().location.hostname))||this.enabled()||S(this).enabled(!0).g(!1);if(!this.jc())return this;c=(a=this.e())?a.l():null;a=this.i?this.i:c?c.o():new V(0,0,0,0);d=c?c.e():null;
this.la||(this.la=jc("A","anychart-credits"));yn||(g="",f=jc("STYLE"),f.type="text/css",g=g+(".anychart-credits{position:absolute;width:"+(b?"55px;":"120px;")+"height:10px;}")+".anychart-credits-logo{position:absolute;top:0;left:0;height:10px;width:10px;}",g+='.anychart-credits-text{position:absolute;left: 12px;top:0;font-size:10px;line-height:10px;text-decoration:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#929292;}',f.styleSheet?f.styleSheet.cssText=g:(g=document.createTextNode(String(g)),
f.appendChild(g)),g=fc(document,"head")[0],g.insertBefore(f,g.childNodes[0]||null),yn=f);R(this,2)&&(d&&d.appendChild(this.la),Q(this,2));R(this,8)&&(gc(this.la,{href:b?this.Np:"http://anychart.com",title:b?this.gn:"AnyChart.com",target:"_blank"}),this.la.innerHTML=''+(b?this.U:"AnyChart Trial Version")+"",Q(this,8));R(this,4194304)&&(c=d?new Qb(d.offsetWidth,
d.offsetHeight):c?c.o():new V(0,0,0,0),b=10+(c.width-a.width-a.left),a=6+(c.height-a.height-a.top),c=Ua&&(Na||Xa)&&eb("1.9"),this.la.style.right=(c?Math.round(b):b)+"px",this.la.style.bottom=(c?Math.round(a):a)+"px",Q(this,4194304));R(this,4)&&Q(this,4);return this};e.Lb=function(){var a=this.e(),a=a?a.l():null,a=this.i?this.i:a?a.o():new V(0,0,0,0);if(!this.enabled())return a;a.height=a.height-(new Qb(this.la.offsetWidth,this.la.offsetHeight)).height-6;return a};var yn=null;wn.prototype.remove=function(){pc(this.la)};
wn.prototype.a=function(){var a=wn.c.a.call(this);a.text=this.text();a.url=this.url();a.alt=this.alt();a.logoSrc=this.or();return a};wn.prototype.b=function(a){this.text(a.text);this.url(a.url);this.alt(a.alt);this.or(a.logoSrc);return wn.c.b.call(this,a)};wn.prototype.w=function(){pc(this.la);this.la=null;wn.c.w.call(this)};A("anychart.elements.credits",function(){return new wn});wn.prototype.text=wn.prototype.text;wn.prototype.url=wn.prototype.url;wn.prototype.alt=wn.prototype.alt;
wn.prototype.logoSrc=wn.prototype.or;function zn(){X.call(this);this.s=wh();E(this,this.s);this.W=this.s.text();E(this,this.W);pg(this.s,"mouseover",this.Br,!1,this);pg(this.s,"click",this.Ar,!1,this);pg(this.s,"dblclick",this.by,!1,this);this.x(0);this.y(0);this.Wj("square");this.Rj("black");this.Tj(null);this.Uj("none");this.Hl(null);this.Qf(5);this.text("Legend Item");P(this,4294967295)}B(zn,X);e=zn.prototype;e.J=X.prototype.J|2;e.I=X.prototype.I;
function An(a){switch(a){case "steparea":a=function(a,c){a.clear();a.moveTo(0,0.6*c).lineTo(0.5*c,0.6*c).lineTo(0.5*c,0.1*c).lineTo(c,0.1*c).lineTo(c,c).lineTo(0,c).lineTo(0,0.6*c).close()};break;case "area":a=function(a,c){a.clear();a.moveTo(0,0.7*c).lineTo(0.35*c,0.3*c).lineTo(0.5*c,0.5*c).lineTo(c,0).lineTo(c,c).lineTo(0,c).lineTo(0,0.7*c).close()};break;case "rangesteparea":case "rangesplinearea":case "rangearea":a=function(a,c){a.clear();a.moveTo(0,0.2*c).lineTo(0.5*c,0.4*c).lineTo(c,0.2*c).lineTo(c,
0.8*c).lineTo(0.5*c,0.6*c).lineTo(0,0.8*c).close()};break;case "splinearea":a=function(a,c){a.clear();var d=c/2;a.moveTo(c,0.6*d).lineTo(c,c).lineTo(0,c).lineTo(0,1.3*d).Hf(0,d,d,0.3*d,90,-90).Hf(c,d,d,0.4*d,180,90).moveTo(0,0).close()};break;case "rangebar":a=function(a,c){a.clear();a.moveTo(0.35*c,0).lineTo(0.65*c,0).lineTo(0.65*c,0.15*c).lineTo(0.35*c,0.15*c).close().moveTo(0.1*c,0.4*c).lineTo(0.9*c,0.4*c).lineTo(0.9*c,0.55*c).lineTo(0.1*c,0.55*c).close().moveTo(0.25*c,0.8*c).lineTo(0.75*c,0.8*
c).lineTo(0.75*c,0.95*c).lineTo(0.25*c,0.95*c).close()};break;case "rangecolumn":a=function(a,c){a.clear();a.moveTo(0,0.6*c).lineTo(0,0.4*c).lineTo(0.15*c,0.4*c).lineTo(0.15*c,0.6*c).lineTo(0,0.6*c).close().moveTo(0.4*c,0.9*c).lineTo(0.4*c,0.1*c).lineTo(0.55*c,0.1*c).lineTo(0.55*c,0.9*c).lineTo(0.4*c,0.9*c).close().moveTo(0.8*c,0.7*c).lineTo(0.8*c,0.3*c).lineTo(0.95*c,0.3*c).lineTo(0.95*c,0.7*c).lineTo(0.8*c,0.7*c).close()};break;case "bar":a=function(a,c){a.clear();a.moveTo(0,0).lineTo(0.6*c,0).lineTo(0.6*
c,0.15*c).lineTo(0,0.15*c).close().moveTo(0,0.4*c).lineTo(c,0.4*c).lineTo(c,0.55*c).lineTo(0,0.55*c).close().moveTo(0,0.8*c).lineTo(0.8*c,0.8*c).lineTo(0.8*c,0.95*c).lineTo(0,0.95*c).close()};break;case "column":a=function(a,c){a.clear();a.moveTo(0,c).lineTo(0,0.4*c).lineTo(0.15*c,0.4*c).lineTo(0.15*c,c).close().moveTo(0.4*c,c).lineTo(0.4*c,0).lineTo(0.55*c,0).lineTo(0.55*c,c).close().moveTo(0.8*c,c).lineTo(0.8*c,0.2*c).lineTo(0.95*c,0.2*c).lineTo(0.95*c,c).close()};break;case "stepline":a=function(a,
c){a.clear();a.moveTo(0,0.8*c).lineTo(0.5*c,0.8*c).lineTo(0.5*c,0.2*c).lineTo(c,0.2*c).moveTo(0,0).close();this.rh&&(this.ba?this.ba.clear():(this.ba=a.parent().path(),E(this,this.ba)),this.ba.fill(this.Sj),this.ba.stroke(this.Vj),hk(this.rh).call(this,this.ba,c/2,c/2,c/6))};break;case "line":a=function(a,c){a.clear();a.moveTo(0,0.5*c).lineTo(c,0.5*c).close();this.rh&&(this.ba?this.ba.clear():(this.ba=a.parent().path(),E(this,this.ba)),this.ba.fill(this.Sj),this.ba.stroke(this.Vj),hk(this.rh).call(this,
this.ba,c/2,c/2,c/6))};break;case "spline":a=function(a,c){a.clear();var d=c/2;a.Hf(0,d,d,0.8*d,90,-90).Hf(c,d,d,0.6*d,180,90).moveTo(0,0).close();this.rh&&(this.ba?this.ba.clear():(this.ba=a.parent().path(),E(this,this.ba)),this.ba.fill(this.Sj),this.ba.stroke(this.Vj),hk(this.rh).call(this,this.ba,c/2,c/2,c/6))};break;case "marker":case "bubble":case "circle":a=function(a,c){a.clear();var d=c/2;a.Hf(d,d,d,d,0,360).close()};break;case "candlestick":a=function(a,c){a.clear();a.moveTo(0.5*c,0).lineTo(0.5*
c,c).moveTo(0,0.3*c).lineTo(c,0.3*c).lineTo(c,0.7*c).lineTo(0,0.7*c).lineTo(0,0.3*c).close()};break;case "ohlc":a=function(a,c){a.clear();a.moveTo(0,0.2*c).lineTo(0.5*c,0.2*c).moveTo(0.5*c,0).lineTo(0.5*c,c).moveTo(0.5*c,0.8*c).lineTo(c,0.8*c).close()};break;default:a=function(a,c){a.clear();a.moveTo(0,0).lineTo(c,0).lineTo(c,c).lineTo(0,c).close()}}return a}e.H=function(a){return l(a)?(this.i!=a&&(this.i=a,P(this,16,9)),this):this.i};
e.x=function(a){return l(a)?(this.Ud!=a&&(this.Ud=a,P(this,16,9)),this):this.Ud};e.y=function(a){return l(a)?(this.Vd!=a&&(this.Vd=a,P(this,16,9)),this):this.Vd};e.Mc=function(){if(!this.enabled())return new V(0,0,0,0);this.C&&!R(this,16)||this.ai();return this.C};e.Wj=function(a){return l(a)?(q(a)&&(a=a.toLowerCase()),this.Xj!=a&&(this.Xj=a,this.Wr=!0,P(this,8,1)),this):this.Xj};e.Rj=function(a){return l(a)?(this.Sj!=a&&(this.Sj=a,P(this,8,1)),this):this.Sj};
e.Uj=function(a){return l(a)?(this.Vj!=a&&(this.Vj=a,P(this,8,1)),this):this.Vj};e.Tj=function(a){return l(a)?(this.Gl!=a&&(this.Gl=a,P(this,8,1)),this):this.Gl};e.Hl=function(a){return l(a)?(this.rh!=a&&(this.rh=a,P(this,8,1)),this):this.rh};e.Qf=function(a){return l(a)?(a=isNaN(parseFloat(a))?5:+a,this.Ge!=a&&(this.Ge=a,P(this,16,9)),this):this.Ge};e.maxWidth=function(a){return l(a)?(this.ur!=a&&(this.ur=a,P(this,16,9)),this):this.ur};
e.maxHeight=function(a){return l(a)?(this.tr!=a&&(this.tr=a,P(this,16,9)),this):this.tr};e.text=function(a){return this.ka("text",a)};e.Wa=function(a,b){if(b||"text"in this.G||"useHtml"in this.G)this.f.useHtml?a.htmlText(this.f.text):a.text(this.f.text);zn.c.Wa.call(this,a,b);this.G={}};e.Wq=function(){return this.W};e.oa=function(){this.C&&!R(this,16)||this.ai();return this.sh+this.Ge+this.W.o().width};e.na=function(){this.C&&!R(this,16)||this.ai();return this.W.o().height};
e.ai=function(){var a=this.e(),a=a?a.l():null,a=this.i?this.i:a?a.o():null,b,c;a?(b=a.width,c=a.height):b=c=void 0;var d=this.W.o();this.sh=d.height;var f=this.sh+this.Ge+d.width,d=d.height,g=b?N(this.Ud,b):0;c=c?N(this.Vd,c):0;var h=N(this.tr,b);this.W.width(N(this.ur,b)-this.sh-this.Ge);this.W.height(h);return this.C=a?new V(a.O()+g,a.Q()+c,f,d):new V(g,c,f,d)};e.remove=function(){this.s&&this.s.parent(null)};
e.Br=function(a){this.dispatchEvent(new Bn(this,a))&&(pg(a.target,"mouseout",this.Ii,!1,this),pg(document,zg,this.Fo,!1,this))};e.Ii=function(a){this.dispatchEvent(new Bn(this,a));tg(a.target,"mouseout",this.Ii,!1,this);tg(document,zg,this.Fo,!1,this)};e.Fo=function(a){this.dispatchEvent(new Bn(this,a))};e.Ar=function(a){this.dispatchEvent(new Bn(this,a))};e.by=function(a){this.dispatchEvent(new Bn(this,a))};
e.k=function(){if(this.jc()){var a;if(a=!this.yi)this.yi=this.s.path(),E(this,this.yi),this.yi.qc(1,0,0,1,0,0);!l(this.Gl)||Dk(this.Gl)||this.Pf||(this.Pf=this.s.path(),E(this,this.Pf),this.Pf.qc(1,0,0,1,0,0),this.Pf.stroke("none"));if(R(this,4)){var b=this.zIndex();this.s.zIndex(b);Q(this,4)}R(this,2)&&(b=this.e(),this.s.parent(b),Q(this,2));b=q(this.Xj)?An(this.Xj):this.Xj;R(this,8)&&(this.Wa(this.W,a),this.Wr&&!a&&(b.call(this,this.yi,this.sh),this.Pf&&b.call(this,this.Pf,this.sh),this.Wr=!1),
this.yi.fill(this.Sj),this.yi.stroke(this.Vj),this.Pf&&this.Pf.fill(this.Gl),Q(this,8));R(this,16)&&(this.ai(),b.call(this,this.yi,this.sh),this.Pf&&b.call(this,this.Pf,this.sh),this.Wr=!1,this.W.x(this.sh+this.Ge),this.W.y(0),this.s.qc(1,0,0,1,0,0),this.s.translate(this.C.left,this.C.top),Q(this,16))}};
e.a=function(){var a=zn.c.a.call(this);a.x=this.x();a.y=this.y();w(this.Xj)?window.console&&window.console.log("Warning: We cant serialize iconType function, you should reset it manually."):a.iconType=this.Wj();a.iconFill=this.Rj();a.iconStroke=this.Uj();a.iconHatchFill=this.Tj();a.iconMarker=this.Hl();a.iconTextSpacing=this.Qf();a.maxWidth=this.maxWidth();a.maxHeight=this.maxHeight();a.text=this.text();return a};
e.b=function(a){S(this);zn.c.b.call(this,a);this.x(a.x);this.y(a.y);this.Wj(a.iconType);this.Rj(a.iconFill);this.Uj(a.iconStroke);this.Tj(a.iconHatchFill);this.Hl(a.iconMarker);this.Qf(a.iconTextSpacing);this.maxWidth(a.maxWidth);this.maxHeight(a.maxHeight);this.ka(a);this.g(!0);return this};function Bn(a,b){Ff.call(this);b&&this.ue(b,a)}B(Bn,Ff);
Bn.prototype.ue=function(a,b){var c=a.type;switch(c){case "mouseout":c="legendItemMouseOut";break;case "mouseover":c="legendItemMouseOver";break;case zg:c="legendItemMouseMove";break;case "click":c="legendItemClick";break;case "dblclick":c="legendItemDoubleClick"}this.type=c;this.target=b||a.target;this.currentTarget=a.currentTarget||this.target;this.relatedTarget=a.relatedTarget||this.target;this.offsetX=a.offsetX;this.offsetY=a.offsetY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=
a.screenX;this.screenY=a.screenY;this.button=a.button;this.keyCode=a.keyCode;this.charCode=a.charCode;this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.je=a.je;this.state=a.state;this.Kc=a;delete this.Rd};A("anychart.elements.legendItem",function(){return new zn});zn.prototype.parentBounds=zn.prototype.H;zn.prototype.x=zn.prototype.x;zn.prototype.y=zn.prototype.y;zn.prototype.iconType=zn.prototype.Wj;zn.prototype.iconFill=zn.prototype.Rj;
zn.prototype.iconStroke=zn.prototype.Uj;zn.prototype.iconHatchFill=zn.prototype.Tj;zn.prototype.iconTextSpacing=zn.prototype.Qf;zn.prototype.maxWidth=zn.prototype.maxWidth;zn.prototype.maxHeight=zn.prototype.maxHeight;zn.prototype.text=zn.prototype.text;zn.prototype.getTextElement=zn.prototype.Wq;zn.prototype.getContentBounds=zn.prototype.Mc;zn.prototype.getWidth=zn.prototype.oa;zn.prototype.getHeight=zn.prototype.na;zn.prototype.draw=zn.prototype.k;function Cn(){X.call(this);this.K="bottom";this.Tb="center";this.fe=15;this.Ge=5;this.i=this.v=this.p=null;this.Uf="horizontal";this.s=this.ya=null;this.Gn=NaN;this.zIndex(10);this.fontFamily("Verdana").fontSize("10").fontWeight("normal").pd("rgb(35,35,35)").vc(!1).padding(7).margin(5);var a=(new ml).enabled(!0).fill({keys:["0 rgb(255,255,255) 1","0.5 rgb(243,243,243) 1","1 rgb(255,255,255) 1"],angle:"90"}).stroke({keys:["0 rgb(221,221,221) 1","1 rgb(208,208,208) 1"],angle:"90"}).Wk(5);this.background(a).zIndex(0);
this.title().enabled(!0).zIndex(10).text("Legend Title").fontFamily("Verdana").fontSize("10").fontWeight("bold").pd("rgb(35,35,35)").orientation("top").margin(0,0,3,0).padding(0);this.title().background().enabled(!1).stroke({keys:["0 #DDDDDD 1","1 #D0D0D0 1"],angle:"90"}).fill({keys:["0 #FFFFFF 1","0.5 #F3F3F3 1","1 #FFFFFF 1"],angle:"90"});this.Oh().enabled(!0).zIndex(10).margin(3,0,3,0).orientation("top").width("100%").height(1).fill({keys:["0 #333333 0","0.5 #333333 1","1 #333333 0"]});this.Le().enabled(!1).zIndex(20).fontFamily("Verdana").fontSize("10").fontWeight("normal").pd("rgb(35,35,35)").orientation("right").margin(0).padding(0);
this.Le().background().enabled(!1).stroke({keys:["0 #DDDDDD 1","1 #D0D0D0 1"],angle:"90"}).fill({keys:["0 #FFFFFF 1","0.5 #F3F3F3 1","1 #FFFFFF 1"],angle:"90"});a=this.Ib();S(a);a.Jg(!0);a.content().dj(!0);a.g(!1);a=a.title();a.enabled(!1);a.padding(0);a.margin(3,3,0,3);P(this,4294967295)}B(Cn,X);e=Cn.prototype;e.J=X.prototype.J;e.I=X.prototype.I|393440;e.Nl=function(a){return l(a)?(a=dk(a,this.Uf),this.Uf!=a&&(this.Uf=a,P(this,16,9)),this):this.Uf};
e.Lu=function(a){return l(a)?(a!=this.ck&&p(a)&&0b&&(g=Xk(d,b)),g=Xk(f,g)):g=Xk(f,Xk(d,b)),null!=this.v?(h=N(this.v,c),$k(d,h)>c&&(h=Yk(d,c)),h=Yk(f,h)):h=Yk(f,Yk(d,c))):(g=v(this.p)&&!isNaN(this.p)?Xk(f,this.p):Infinity,h=v(this.v)&&!isNaN(this.v)?Yk(f,this.v):Infinity);var k,m,n,r=this.Oh(),t=this.Le(),s=this.title();S(r);S(t);S(s);s.enabled()?(s.H(null),
s.width(null),s.height(null),n=s.Mc()):n=null;r.enabled()?(r.H(null),n&&r.width(n.width),k=r.Mc()):k=null;t.H(null);m=t.Rn();var u;if(null!=this.ya){for(var y=u=0,z=-Number.MAX_VALUE,F=0,G=this.ya.length;Fg&&t.enabled(!0);"vertical"==this.Uf&&z>h&&t.enabled(!0);y=0+u;z=0+z;r.enabled()&&(u=r.orientation(),"left"==u||"right"==u?(y+=k.width,z=Math.max(z,k.height)):(y=Math.max(y,k.width),z+=k.height));t.enabled()&&(u=t.orientation(),"left"==u||"right"==u?(y+=m.width,z=Math.max(z,m.height)):(y=Math.max(y,m.width),z+=m.height));s.enabled()&&(u=s.orientation(),"left"==u||"right"==u?(y+=n.width,z=Math.max(z,n.height)):(y=Math.max(y,n.width),z+=n.height));y=y>g?g:y;z=z>h?h:z;g=Zk(d,Zk(f,y));h=$k(d,$k(f,z));
s.enabled()&&(f=n.width,F=n.height,u=s.orientation(),"top"==u||"bottom"==u?(s.width(Xk(s.margin(),y)),n=s.Mc(),r.width(n.width),k=r.Mc(),n.height!=F&&(s.height(Yk(s.margin(),F)),n=s.Mc())):(s.width(Xk(s.margin(),z)),n=s.Mc(),r.width(n.height),k=r.Mc(),n.width!=f&&(s.height(Yk(s.margin(),f)),n=s.Mc())));s.enabled()&&(u=s.orientation(),"top"==u||"bottom"==u?z-=n.height:y-=n.width);r.enabled()&&(u=r.orientation(),"top"==u||"bottom"==u?z-=k.height:y-=k.width);k=y;n=z;u=t.orientation();t.enabled()&&("top"==
u||"bottom"==u?n=z-m.height:k=y-m.width);do{Q(this,16);m=k;var f=n,ia=G=F=void 0,U=ia=void 0;this.Lf=[];U=0;S(this);if(this.ya)if(this.Lf[U]=[],this.Lf[U][0]=this.ya[0],"horizontal"==this.Uf)for(ia=this.ya[0].oa(),F=1,G=this.ya.length;Fm?(U++,this.Lf[U]=[],this.Lf[U][0]=this.ya[F],ia=this.ya[F].oa()):(ia=ia+this.fe+this.ya[F].oa(),this.Lf[U].push(this.ya[F]));else for(ia=this.ya[0].na(),F=1,G=this.ya.length;Ff?(U++,this.Lf[U]=[],
this.Lf[U][0]=this.ya[F],ia=this.ya[F].na()):(ia=ia+this.fe+this.ya[F].na(),this.Lf[U].push(this.ya[F]));this.Le().gm(U+1);this.g(!1);t.H(null);m=t.Rn();"top"==u||"bottom"==u?n=z-(m?m.height:0):k=y-(m?m.width:0)}while(R(this,16));if(a){m=a.O();d=a.Q();switch(this.K){case "left":case "right":switch(this.Tb){case "center":d+=(c-h)/2;break;case "right":case "bottom":d=a.Ca()-h}break;case "top":case "bottom":switch(this.Tb){case "center":m+=(b-g)/2;break;case "right":case "bottom":m=a.xb()-g}}switch(this.K){case "right":m=
a.xb()-g;break;case "bottom":d=a.Ca()-h}}else m=N(d.left(),0),d=N(d.top(),0);this.C=new V(m,d,g,h);r.g(!1);t.g(!1);s.g(!1)};e.remove=function(){this.X&&this.X.parent(null)};
e.k=function(){if(this.jc()){this.X||(this.X=wh(),E(this,this.X),this.s||(this.s=wh(),this.s.parent(this.X).zIndex(30),E(this,this.s)));R(this,4)&&(this.X.zIndex(this.zIndex()),Q(this,4));var a=this.e();R(this,2)&&(this.X.parent(a),Q(this,2));var b=(a=a?a.l():null)&&!a.Zb();b&&a.sc();if(R(this,64)){if(this.ck&&0>>0);this.hs=new XMLSerializer;this.Yj()}B(En,Fd);da(En);e=En.prototype;e.Qh="";e.zj=null;e.Pi=null;e.pk=null;e.hs=null;e.Rf=null;
e.Yj=function(){this.zj=document.createElement("style");this.zj.type="text/css";this.zj.appendChild(document.createTextNode("#"+this.Qh+" { position: absolute; z-index: 10000000; left: -10000000px; top: -1000000px; visibility: hidden; }"));document.getElementsByTagName("head")[0].appendChild(this.zj);Fn(this);this.pk=document.createElement("div");this.pk.setAttribute("id",this.Qh);this.Rf=document.createElement("iframe");this.Rf.setAttribute("id","iframe_"+this.Qh);this.Rf.setAttribute("frameborder",
"0");this.pk.appendChild(this.Rf);document.getElementsByTagName("body")[0].appendChild(this.pk);Uf(this.Rf,"load",function(){window.print()})};function Fn(a){a.Pi=document.createElement("style");a.Pi.type="text/css";a.Pi.media="print";var b;b="body * { visibility: hidden; } "+("#"+a.Qh+", #"+a.Qh+" * { visibility: visible; }");b+="#"+a.Qh+" { position: absolute; left: 0px; top: 0px; }";a.Pi.appendChild(document.createTextNode(b));document.getElementsByTagName("head")[0].appendChild(a.Pi)}
function Gn(a,b){var c=Ej+"/pdf",d=vj(new Bc({data:b,productName:"acdvf",dataType:"svg",responseType:"base64"}));gj(c,function(b){b=b.target;b=b.Na?Ei(b.Na.responseText):void 0;var c=b.result;!b.error&&c&&(a.Rf.setAttribute("width","800px"),a.Rf.setAttribute("height","1110px"),a.Rf.setAttribute("src","data:application/pdf;base64,"+b.result))},d.toString())}
e.print=function(a){!Ta||eb("8")?(a=this.hs.serializeToString(a.j()),Ta&&!Ea("8")&&32768"+this.value});b.g(!1);this.Ni();this.labels().pd("white").fontSize(13).padding(1);this.data(a);this.Ie().enabled(!0);this.bv("30%");this.kt("20%");this.Lr(60);this.fq("black 0.3");this.Ie().ga("legendItemClick",function(a){a=a.index;var b=this.data().h();b.select(a)&&(b=!!b.d("exploded"),this.$t(a,!b))},!1,this);P(this,4294967295);this.g(!1)}B(Kn,Hn);Nm.pie=Kn;e=Kn.prototype;e.J=Hn.prototype.J|16;e.I=Hn.prototype.I|32840;
e.data=function(a){return l(a)?(this.Ng!=a&&(pf(this.tf),a instanceof am?this.tf=null:(a=a instanceof gm?(this.tf=a).Xf():p(a)||q(a)?(this.tf=new gm(a)).Xf():(this.tf=new gm(null)).Xf(),E(this,this.tf)),this.Ng=a.rq()),pf(this.Df),this.Df=Ln(this,this.Ng),O(this.Df,this.pq,this),E(this,this.Df),P(this,32840,1),this):this.Df};e.h=function(){return this.ir||(this.ir=this.Df.h())};
function Ln(a,b){null!=a.Oj&&(b=cm(b,a.Oj,function(){return{value:0}}),b.Hs=!0);"none"!=a.Dm&&(b="asc"==a.Dm?b.sort("value",function(a,b){return a-b}):b.sort("value",function(a,b){return b-a}),b.Hs=!0);return b}
e.Ni=function(a){this.nb||(this.nb=new vn,O(this.nb,this.Oo,this),this.Po="distinct");if(l(a)){if(p(a))this.nb.Tk(a);else if(null===a)this.nb.bi(a);else{if(!(a instanceof cn||a instanceof vn))return this.nb;var b=!!(a instanceof vn);b&&"distinct"==this.Po||!b&&"range"==this.Po?this.nb.bi(a):(pf(this.nb),b?(this.Po="distinct",b=vn):(this.Po="range",b=cn),this.nb=new b,this.nb.bi(a),O(this.nb,this.Oo,this),E(this,this.nb))}P(this,8,1);return this}return this.nb};
e.fill=function(a){return l(a)?(this.P=a,P(this,8,1),this):this.P};e.stroke=function(a){return l(a)?(this.M=a,P(this,8,1),this):this.M};e.dc=function(a){return l(a)?(this.wl=a,P(this,8,1),this):this.wl};e.kc=function(a){return l(a)?(this.Fl=a,P(this,8,1),this):this.Fl};e.Eb=function(a,b,c,d){if(l(a)){var f=w(a)?a:Tg.apply(null,arguments);f!=this.vi&&(this.vi=f,P(this,8,1));return this}return this.vi};e.Yb=function(a,b,c,d){return l(a)?(this.xl=w(a)?a:Tg.apply(null,arguments),this):this.xl};
e.labels=function(a){this.T||(this.T=new Y,this.T.ud(function(){return(100*this.value/this.sum).toFixed(1)+"%"}),this.T.oc(function(){return this.value}),O(this.T,this.Ol,this),E(this,this.T),P(this,32768,1));return l(a)&&(a instanceof Y||null===a)?(this.T.b(a?a.a():{}),P(this,32768,1),this):this.T};e.bv=function(a){return l(a)?(this.Mr!=a&&(this.Mr=a,P(this,32784,9)),this):this.Mr};e.kt=function(a){return l(a)?(this.eq!=a&&(this.eq=a,P(this,32784,9)),this):this.eq};
e.Lr=function(a){return l(a)?(a=Vb(N(a)),this.av!=a&&(this.av=a,P(this,32768,1)),this):this.av};e.fq=function(a,b,c,d,f){if(l(a)){var g=Sg.apply(null,arguments);g!=this.gq&&(this.gq=g,P(this,8,1));return this}return this.gq};e.group=function(a){return l(a)?(w(a)&&a!=this.Oj?(this.Oj=a,this.data(this.Ng)):Dk(a)&&(this.Oj=null,this.data(this.Ng)),this):this.Oj};e.Qi=function(a){return l(a)?(this.Ur=a,P(this,32776,1),this):this.Ur};e.gr=function(a){return l(a)?(this.Jl=a,P(this,32776,1),this):this.Jl};
e.hu=function(){return{x:this.vj,y:this.wj}};e.Sn=function(){return this.ag};e.Ex=function(){return this.mo};e.vs=function(a){return l(a)?(this.ws=null===a||isNaN(+a)?-90:Vb(+a),P(this,32776,1),this):this.ws};e.Eq=function(a){return l(a)?(this.Fq=isNaN(parseFloat(a))?15:a,P(this,32792,1),this):this.Fq};e.$t=function(a,b){var c=this.h();c.select(a)&&!Mn(c.get("value"))&&Nn(this,l(b)?!!b:!0);return this};e.sort=function(a){return l(a)?(a=fk(a),this.Dm!=a&&(this.Dm=a,this.data(this.Ng)),this):this.Dm};
function On(a,b){var c=Math.min(b.width,b.height);a.yy=Pn(a)?N(a.Mr,c):0;a.ag=N(a.Ur,c-a.yy);a.tn=N(a.eq,a.ag);a.mo=w(a.Jl)?a.Jl(a.ag):N(a.Jl,a.ag);a.ni=N(a.Fq,c);a.vj=b.left+b.width/2;a.wj=b.top+b.height/2}function Qn(a,b){var c=a.h(),d=c.get("fill")||a.fill();return b?a.qb(c.get("hoverFill")||a.dc()||d,d):a.qb(d)}function Rn(a,b){var c=a.h(),d=c.get("stroke")||a.stroke();return b?a.qb(c.get("hoverStroke")||a.kc()||d,d):a.qb(d)}
e.Fe=function(a,b){var c=this.h(),d=a&&c.get("hatchFill")||this.Eb();return b?this.ie(a&&c.get("hoverHatchFill")||this.Yb()||d,d):this.ie(d)};e.qb=function(a,b){var c;c=this.h().fa();if(w(a)){var d=1F||270b.fa()?1:a.fa()b.fa()?1:a.fa()a.top+a.height}
function co(a){for(var b=0,c=a.labels.length;bh&&(d=h,a.y=h-a.height);0!=a.labels.length&&(c=Wn(a.Nb,a.labels[0]).height,a.y+ca.sr||isNaN(a.sr)||0>ia)a.sr=0>ia?Number.POSITIVE_INFINITY:y,a.Mu=b,a.Vt=m;if(y>k||0>ia)a.Ll=!0;b=s+t;t=a.oo?b:b-c.width;a.x=isNaN(a.x)?t:a.x>t?t:a.x;t=a.oo?b+c.width:b;a.width=isNaN(a.width)?t:a.widtha?-this.Yv:this.Xv),-100,100))};
e.a=function(){var a=eo.c.a.call(this);a.inverted=this.Ai();a.stackMode=this.rc();return a};e.b=function(a){S(this);eo.c.b.call(this,a);this.Ai(a.inverted);this.rc(a.stackMode);this.g(!0);return this};eo.prototype.stackMode=eo.prototype.rc;eo.prototype.inverted=eo.prototype.Ai;eo.prototype.startAutoCalc=eo.prototype.Jm;eo.prototype.finishAutoCalc=eo.prototype.il;function go(){W.call(this);this.Pa=Fh();E(this,this.Pa);this.$()}B(go,W);e=go.prototype;e.J=W.prototype.J;e.I=W.prototype.I;e.length=function(a){return l(a)?(this.Zc!=a&&(this.Zc=a,this.A(9)),this):this.Zc};e.stroke=function(a){return l(a)?(a=Sg(a),this.M!=a&&(this.M=a,this.A(1)),this):this.M};e.position=function(a){return l(a)?(this.K=kk(a),this.A(9),this):this.K};e.orientation=function(a){return l(a)?(a=ek(a),this.ta!=a&&(this.ta=a,this.Ae=null),this):this.ta};
e.$=function(){this.orientation("top");this.position("outside");this.length(5);this.stroke("black");this.A(9)};e.remove=function(){this.Pa&&this.Pa.parent(null)};e.k=function(){this.Pa.clear();this.Pa.stroke(this.M);if(!this.jc())return this;R(this,4)&&(this.Pa.zIndex(this.zIndex()),Q(this,4));R(this,2)&&(this.Pa.parent(this.e()),Q(this,2));return this};
function ho(a){if(!a.Ae)switch(a.ta){case "top":a.Ae=a.ox;break;case "right":a.Ae=a.lx;break;case "bottom":a.Ae=a.Zw;break;case "left":a.Ae=a.gx}return a.Ae}e.ox=function(a,b,c,d,f){b=Math.round(b.left()+a*b.width());c=c.top;b=1==a?b+f:b-f;"outside"==this.K?(c-=d/2,a=-this.Zc):(c+=d/2,a=this.Zc);this.Pa.moveTo(b,c);this.Pa.lineTo(b,c+a)};
e.lx=function(a,b,c,d,f){c=c.left;b=Math.round(b.top()+b.height()-a*b.height());b=1==a?b-f:b+f;"outside"==this.K?(c+=d/2,a=this.Zc):(c-=d/2,a=-this.Zc);this.Pa.moveTo(c,b);this.Pa.lineTo(c+a,b)};e.Zw=function(a,b,c,d,f){b=Math.round(b.left()+a*b.width());c=c.top;b=1==a?b+f:b-f;"outside"==this.K?(c+=d/2,a=this.Zc):(c-=d/2,a=-this.Zc);this.Pa.moveTo(b,c);this.Pa.lineTo(b,c+a)};
e.gx=function(a,b,c,d,f){c=c.left;b=Math.round(b.top()+b.height()-a*b.height());b=1==a?b-f:b+f;"outside"==this.K?(c-=d/2,a=-this.Zc):(c+=d/2,a=this.Zc);this.Pa.moveTo(c,b);this.Pa.lineTo(c+a,b)};e.a=function(){var a={};a.length=this.length();a.position=this.position();a.stroke=fl(this.stroke());return a};e.b=function(a){S(this);this.length(a.length);this.position(a.position);this.stroke(a.stroke);this.g(!0);return this};go.prototype.length=go.prototype.length;go.prototype.stroke=go.prototype.stroke;
go.prototype.position=go.prototype.position;function io(){eo.call(this);this.Pd=0;this.Od=1;this.nf=this.qf=!0;this.Ql=this.Ul=0.1;this.max=this.min=NaN;this.Ti=1;this.zd=!1}B(io,eo);e=io.prototype;e.yr=function(a){if(l(a)){a=null===a?NaN:+a;var b=isNaN(a);if(b!=this.qf||!b&&a!=this.min)this.qf=b,this.min=a,this.zd=!1,b?this.A(4):this.A(2);return this}this.uc();return this.min};
e.vr=function(a){if(l(a)){a=null===a?NaN:+a;var b=isNaN(a);if(b!=this.nf||!b&&a!=this.max)this.nf=b,this.max=a,this.zd=!1,b?this.A(4):this.A(2);return this}this.uc();return this.max};e.Co=function(a){return l(a)?(a=+a||0,this.Ul!=a&&(this.Ul=a,this.qf&&(this.zd=!1,this.A(2))),this):this.Ul};e.xo=function(a){return l(a)?(a=+a||0,this.Ql!=a&&(this.Ql=a,this.nf&&(this.zd=!1,this.A(2))),this):this.Ql};e.rc=function(a){S(this);"percent"==a&&(this.Co(0),this.xo(0));a=io.c.rc.call(this,a);this.g(!0);return a};
e.Zr=function(){this.iy=this.Pd;this.hy=this.Od;this.Pd=Number.MAX_VALUE;this.Od=-Number.MAX_VALUE;this.zd=!1;return this};e.nd=function(a){for(var b=0;bthis.Od&&(this.Od=c,this.zd=!1)}return this};e.$p=function(a){var b=this.iy!=this.Pd||this.hy!=this.Od;b&&(this.zd=!1,a||this.A(2));return b};e.Ji=function(){return this.qf||this.nf};
e.transform=function(a){this.uc();a=(+a-this.min)/this.Ti;return this.Kg?1-a:a};e.uc=function(){this.zd||(this.zd=!0,this.Jt())};e.Jt=function(){var a=this.Od-this.Pd;a||(this.Pd-=0.5,this.Od+=0.5,a=1);this.qf&&(this.min=this.Pd-a*this.Ul,0>this.min&&0<=this.Pd&&(this.min=0));this.nf&&(this.max=this.Od+a*this.Ql,0>this.max&&0<=this.Od&&(this.max=0))};e.Zj=function(a){this.uc();this.Kg&&(a=1-a);return a*this.Ti+this.min};
e.a=function(){var a=io.c.a.call(this);a.minimum=this.qf?null:this.yr();a.maximum=this.nf?null:this.vr();a.minimumGap=this.Co();a.maximumGap=this.xo();a.dataRangeMin=this.Pd;a.dataRangeMax=this.Od;return a};e.b=function(a){S(this);io.c.b.call(this,a);this.yr(null===a.minimum?NaN:a.minimum);this.vr(null===a.maximum?NaN:a.maximum);this.Co(a.minimumGap);this.xo(a.maximumGap);this.g(!0);return this};io.prototype.transform=io.prototype.transform;io.prototype.inverseTransform=io.prototype.Zj;
io.prototype.minimum=io.prototype.yr;io.prototype.maximum=io.prototype.vr;io.prototype.minimumGap=io.prototype.Co;io.prototype.maximumGap=io.prototype.xo;io.prototype.extendDataRange=io.prototype.nd;io.prototype.stackMode=io.prototype.rc;function Z(){S(this);W.call(this);this.qo=[];this.Eo=[];this.zIndex(35);this.pa=Fh();S(this.title()).text("Axis title").fontFamily("Tahoma").fontSize("11").pd("rgb(34,34,34)").fontWeight("bold").padding(5).margin(10,5,10,5);S(this.title().background()).stroke({keys:["0 #DDDDDD 1","1 #D0D0D0 1"],angle:"90"}).fill({keys:["0 #FFFFFF 1","0.5 #F3F3F3 1","1 #FFFFFF 1"],angle:"90"}).enabled(!1).g(!1);S(this.labels()).enabled(!0).offsetX(0).offsetY(0).anchor("center").padding(1,2,1,2).fontFamily("Tahoma").fontSize("11").pd("rgb(34,34,34)").g(!1);
S(this.labels().background()).enabled(!1).stroke({keys:["0 #DDDDDD 1","1 #D0D0D0 1"],angle:"90"}).fill({keys:["0 #FFFFFF 1","0.5 #F3F3F3 1","1 #FFFFFF 1"],angle:"90"}).g(!1);S(this.pb()).enabled(!1).offsetX(0).offsetY(0).padding(1,1,0,1).fontFamily("Tahoma").fontSize("11").pd("rgb(34,34,34)").g(!1);S(this.pb()).background(this.labels().background()).g(!1);S(this.ia()).enabled(!0).length(5).stroke({color:"#313131",lineJoin:"round",lineCap:"butt"}).g(!1);S(this.za()).enabled(!0).length(2).stroke({color:"#3C3C3C",
lineJoin:"round",lineCap:"butt"}).g(!1);this.dm("nooverlap");this.stroke({color:"#474747",lineJoin:"round",lineCap:"square"});this.tp(2);this.g(!0);this.Kd=1085592}B(Z,W);e=Z.prototype;e.I=W.prototype.I|1085592;e.J=W.prototype.J;e.pa=null;e.Mg="axis";e.Y=null;e.T=null;e.he=null;e.Hb=null;e.td=null;e.M="none";e.ta="top";e.Ya=null;e.fm="nooverlap";e.Im=!0;e.Ak=null;e.Gh=null;e.Gm=1;e.i=null;e.C=null;e.Zc=NaN;e.fb=0;e.gb=0;e.yq=!0;e.Aq=!0;e.qo=null;e.Eo=null;
e.name=function(a){return l(a)?(this.Mg!=a&&(this.Mg=a),this):this.Mg};e.title=function(a){this.Y||(this.Y=new gn,O(this.Y,this.Es,this),E(this,this.Y));return l(a)?(S(this.Y),q(a)?this.Y.text(a):a instanceof gn?this.Y.b(a.a()):x(a)?this.Y.b(a):Dk(a)&&this.Y.enabled(!1),this.Y.g(!0),this):this.Y};e.Es=function(a){var b=0,c=0;T(a,8)?(b=this.Kd,c=9):T(a,1)&&(b=128,c=1);P(this,b,c)};
e.labels=function(a){this.T||(this.T=new Y,O(this.T,this.Ol,this),E(this,this.T));return l(a)?(a instanceof Y?this.T.b(a.a()):x(a)?this.T.b(a):Dk(a)&&this.T.enabled(!1),jo(this),this):this.T};e.Ol=function(a){var b=0,c=0;T(a,8)?(b=this.Kd,c=9):T(a,1)&&(b=32768,c=1);jo(this);P(this,b,c)};
e.pb=function(a){this.he||(this.he=new Y,this.xc()?this.he.rotation(0):this.he.rotation(-90),O(this.he,this.Yx,this),E(this,this.he));return l(a)?(a instanceof Y?this.he.b(a.a()):x(a)?this.he.b(a):Dk(a)&&this.he.enabled(!1),jo(this),this):this.he};e.Yx=function(a){var b=0,c=0;T(a,8)?(b=this.Kd,c=9):T(a,1)&&(b=32768,c=1);jo(this);P(this,b,c)};
e.ia=function(a){this.Hb||(this.Hb=new go,O(this.Hb,this.Mh,this),E(this,this.Hb));return l(a)?(S(this.Hb),a instanceof go?this.Hb.b(a.a()):x(a)?this.Hb.b(a):Dk(a)&&this.Hb.enabled(!1),this.Hb.g(!0),P(this,24,1),this):this.Hb};e.Mh=function(a){var b=0,c=0;T(a,8)?(b=this.Kd,c=9):T(a,1)&&(b=4096,c=1);P(this,b,c)};
e.za=function(a){this.td||(this.td=new go,O(this.td,this.Zx,this),E(this,this.td));return l(a)?(S(this.td),a instanceof go?this.td.b(a.a()):x(a)?this.td.b(a):Dk(a)&&this.td.enabled(!1),this.td.g(!0),this):this.td};e.Zx=function(a){var b=0,c=0;T(a,8)?(b=this.Kd,c=9):T(a,1)&&(b=4096,c=1);P(this,b,c)};e.stroke=function(a){if(l(a)){a=Sg(a);if(this.M!=a){var b=x(this.M)?this.M.thickness||1:1,c=x(a)?a.thickness||1:1;this.M=a;c==b?P(this,8,1):P(this,this.Kd,9)}return this}return this.M};
e.orientation=function(a){return l(a)?(a=ek(a),this.ta!=a&&(this.ta=a,P(this,this.Kd,9)),this):this.ta};e.scale=function(a){return l(a)?(this.Ya!=a&&(this.Ya=a,O(this.Ya,this.Sd,this)),this):this.Ya};e.Sd=function(a){T(a,2)&&(jo(this),P(this,this.Kd,9))};e.offsetX=function(a){return l(a)?(this.fb!=a&&(this.fb=a,P(this,this.Kd,9)),this):this.fb};e.offsetY=function(a){return l(a)?(this.gb!=a&&(this.gb=a,P(this,this.Kd,9)),this):this.gb};
e.length=function(a){return l(a)?(this.Zc!=a&&(this.Zc=Math.round(a),P(this,this.Kd,9)),this):this.Zc};e.H=function(a){return l(a)?(this.i!=a&&(this.i=a.D().round(),P(this,this.Kd,9)),this):this.i};
function ko(a){if(!a.C||R(a,16)){var b=a.e(),b=b?b.l():null;if(b=a.i?a.i:b?b.o():null){var c;b.top=Math.round(b.top);b.left=Math.round(b.left);b.width=Math.round(b.width);b.height=Math.round(b.height);c="top"==a.ta||"bottom"==a.ta?b.width:b.height;c=isNaN(a.Zc)?a.Zc=c:a.Zc;var d,f,g,h=0,k=0,m=0,n=0;d=0;g=a.title();var r=a.ia(),t=a.za(),s=a.labels(),u=a.pb(),y=a.pa;y.stroke(a.M);y.stroke().thickness&&y.stroke();g.enabled()&&(g.e()||g.e(a.e()),S(g),g.H(b),g.orientation(a.ta),d=a.xc()?g.Mc().height:
g.Mc().width,g.g(!1));r.enabled()&&"outside"==r.position()&&(m=r.length());t.enabled()&&"outside"==t.position()&&(n=t.length());r=a.scale();g=s.enabled()&&l(r);var t=u.enabled()&&l(r)&&r instanceof io,y=new V(0,0,a.xc()?c:0,a.xc()?0:c),y=lo(a,y),z;if(g){z=r.ia().get();var F=x(y)?y.labels:!y;if(a.Hh())for(g=0;gh&&(h=f)}if(t&&
!a.Hh())for(s=r.za().get(),r=x(y)?y.pb:!y,g=0;gk&&(k=f);k+=n;h+=m;d=(k>h?k:h)+d;var G,U,ia,zb;switch(a.orientation()){case "top":U=b.top+a.gb;G=b.left+a.fb;zb=d;ia=c;break;case "right":U=b.top+a.gb;G=b.left+(b.width-d)-a.fb;ia=d;zb=c;break;case "bottom":U=b.top+(b.height-d)-a.gb;G=b.left+a.fb;zb=d;ia=c;break;case "left":U=b.top+a.gb,G=b.left+a.fb,ia=d,zb=c}a.C=new jl(Math.round(G),
Math.round(U),Math.round(ia),Math.round(zb))}else a.C=new jl(0,0,0,0);jo(a);Q(a,16)}return a.C}function jo(a){a.dk&&(a.dk.length=0);a.qo.length=0;a.Eo.length=0;a.Or=null}
function lo(a,b){var c;if(a.Hh()){c=a.scale();a.Gm=1;a.uj=1;var d;if(c){c=c.ia().get().length;var f,g,h,k,m;if(a.labels().enabled()){if(null===a.Ak){var n=!1;for(f=1;!n&&f<=c;)for(n=!0,g=0;ga.Gh?a.Gh:a.Gm}else a.uj=a.Ak;if((null!==a.Ak||null!==a.Gh&&a.Gm>a.Gh)&&"nooverlap"==a.dm()){m=[];for(d=0;d=z&&a.Mf()||1<=z&&a.Zd()?n=U:0z&&(n=U)),U++;y<=vc&&d=z&&a.Mf()||1<=z&&a.Zd()?(r=h,g.push(!0)):0z?(r=h,g.push(!0)):g.push(!1))):g.push(!1),h++)}Fg||(g=!1)}else if(m instanceof oo)for(d=0;dg?"0"+g:""+g)+"-"+(10>h?"0"+h:""+h);g=c}return{index:b,value:g,name:f,axisName:d,max:a.max?a.max:null,min:a.min?a.min:null,scale:a}}
function ro(a,b,c,d,f){var g=ko(a),h=a.pa.o(),k=a.ia().length(),m=a.pa.stroke().thickness?a.pa.stroke().thickness:1,n=a.labels();b=mo(a,d,b);var r={value:{x:0,y:0}},t=n.Pc(b,r),s=a.orientation(),u=0,y=!0;if(1=c&&0this.Rm&&(a=this.ll,b=this.Rm);a=Ub(this.scale().transform(a,0),0,1);b=Ub(this.scale().transform(b,1),0,1);if(!isNaN(a)&&!isNaN(b)){var c=this.H(),d=this.hd();this.yb().clear();if("horizontal"==this.sa){var d=Math.round(c.Ca()-c.height*b),f=Math.round(c.Ca()-
c.height*a),g=c.O(),c=c.xb();1==b?d-=-0.5:d+=-0.5;1==a?f-=-0.5:f+=-0.5;this.yb().moveTo(g,d).lineTo(c,d).lineTo(c,f).lineTo(g,f).close()}else if("vertical"==this.sa){var f=c.Ca(),g=c.Q(),h=c.O()+c.width*a,k=c.O()+c.width*b;1==b?k+=-0.5:k-=-0.5;1==a?h+=-0.5:h-=-0.5;this.yb().moveTo(h,f).lineTo(h,g).lineTo(k,g).lineTo(k,f).close();this.yb().clip(Wk(d,c))}Q(this,16)}}};e.$=function(){S(this);this.zIndex(25);this.aa("horizontal");this.Mn(0);this.Gp(0);this.fill("black 0.3");this.g(!0)};e.remove=function(){this.yb().parent(null)};
e.a=function(){var a=Wo.c.a.call(this);a.fill=fl(this.fill());a.from=this.Mn();a.to=this.Gp();a.layout=this.aa();return a};e.b=function(a){S(this);Wo.c.b.call(this,a);this.fill(a.fill);this.Mn(a.from);this.Gp(a.to);this.aa(a.layout);this.g(!0);return this};e.yb=function(){this.ab||(this.ab=Fh().stroke(null),E(this,this.ab));return this.ab};e.w=function(){delete this.P;Wo.c.w.call(this)};A("anychart.elements.rangeMarker",function(){return new Wo});Wo.prototype.from=Wo.prototype.Mn;
Wo.prototype.to=Wo.prototype.Gp;Wo.prototype.scale=Wo.prototype.scale;Wo.prototype.parentBounds=Wo.prototype.H;Wo.prototype.layout=Wo.prototype.aa;Wo.prototype.fill=Wo.prototype.fill;Wo.prototype.draw=Wo.prototype.k;Wo.prototype.isHorizontal=Wo.prototype.xc;function Xo(a){lg.call(this);this.Ya=a}B(Xo,Qk);e=Xo.prototype;e.J=2;e.Oa=NaN;e.q=5;e.ma=null;e.Ba=null;e.lb=0;e.Vl="linear";e.interval=function(a){return l(a)?(this.Oa!=a&&(null===a||isNaN(a)||0>a?(this.q=5,this.Oa=NaN):(this.q=NaN,this.Oa=+a),this.Ba=this.ma=null,this.A(2)),this):this.Oa};e.count=function(a){return l(a)?(this.q!=a&&(this.Oa=NaN,this.q=isNaN(a)||2>a?5:Math.ceil(+a),this.Ba=this.ma=null,this.A(2)),this):this.q};
e.nn=function(a){return l(a)?(a=+a||0,this.lb!=a&&(this.lb=a,this.Ba=null,this.ma||this.A(2)),this):this.lb};e.set=function(a){Cb(this.ma,a)||(this.Oa=this.q=NaN,this.ma=ub(a,0),yb(this.ma,tk),this.Ba=null,this.A(2));return this};e.get=function(){if(this.ma)return this.ma;this.Ya.uc();return this.Ba};e.mode=function(a){return l(a)?(a=(""+a).toLowerCase(),a="log"==a||"logarithmic"==a?"logarithmic":"linear",this.Vl!=a&&(this.Ba=null,this.Vl=a,this.ma||this.A(2)),this):this.Vl};
e.qs=function(a,b,c,d,f){if("logarithmic"==this.Vl){f=f||10;this.Ba=null;var g=[a,b];if(this.ma)c&&(g[0]=Math.min(a,this.ma[0]||0)),d&&(g[1]=Math.max(b,this.ma[this.ma.length-1]||0));else{a=nk(a,f);b=nk(b,f);var h=[],k=this.Oa;if(isNaN(k))var k=(b-a)/(this.q-1),m=Math.log(k),n=Math.ceil(Math.pow(10,Math.floor(m*Math.LOG10E))),r=Math.ceil(Math.pow(10,Math.ceil(m*Math.LOG10E))),t=Math.ceil(Math.pow(2,Math.floor(m*Math.LOG2E))),m=Math.ceil(Math.pow(2,Math.ceil(m*Math.LOG2E))),s=Math.ceil(n/2),u=Math.ceil(n/
4),y=Math.ceil(n/8),k=Math.min(Ak(k,n),Ak(k,r),Ak(k,t),Ak(k,m),Ak(k,s),Ak(k,u),Ak(k,y));k=Math.max(k,1E-7);n=M(zk(a,k,this.lb),7);c?(a=n,g[0]=ok(f,n)):1E-7a.length)){b=b||10;var f="logarithmic"==this.Vl?this.xw:this.ww,g,h;l(c)?(g=a[0],h=a[1],f.call(this,g,h,c,h,b),g=1):g=0;c=a.length-1;l(d)&&c--;for(var k=g;k<=c-1;k++)g=a[k],h=a[k+1],f.call(this,g,h,g,h,b);l(d)&&(g=a[c],h=a[c+1],f.call(this,g,h,g,d,b))}};
e.ww=function(a,b,c,d){var f=this.Oa;isNaN(f)&&(f=(d-c)/(this.q-1));f=Math.max(f,1E-7);c=this.Ba[this.Ba.length-1];b=M(b,7);for(a=M(a,7);a<=b;a=M(a+f,7))c!=a&&this.Ba.push(a),c=a};e.xw=function(a,b,c,d,f){var g=this.Oa;a=nk(a,f);b=nk(b,f);c=nk(c,f);d=nk(d,f);isNaN(g)&&(g=(d-c)/(this.q-1));g=Math.max(g,1E-7);c=this.Ba[this.Ba.length-1];b=M(b,7);for(a=M(a,7);a<=b;a=M(a+g,7))c!=a&&this.Ba.push(ok(f,a)),c=a};
e.a=function(){var a=Xo.c.a.call(this);a.mode=this.mode();a.base=this.nn();a.explicit=this.ma;a.count=this.q;a.interval=this.Oa;return a};e.b=function(a){S(this);Xo.c.b.call(this,a);this.mode(a.mode);this.nn(a.base);this.ma=a.explicit||null;this.q=null===a.count?NaN:Math.max(2,Math.ceil(a.count));this.Oa=null===a.interval?NaN:a.interval;this.g(!0);return this};Xo.prototype.interval=Xo.prototype.interval;Xo.prototype.count=Xo.prototype.count;Xo.prototype.base=Xo.prototype.nn;Xo.prototype.set=Xo.prototype.set;
Xo.prototype.get=Xo.prototype.get;Xo.prototype.mode=Xo.prototype.mode;function po(){this.rf=this.Bf=null;this.Yp=!0;this.ge=10;io.call(this)}B(po,io);e=po.prototype;e.ia=function(a){this.Bf||(this.Bf=this.xn());return l(a)?(this.Bf.set(a),this):this.Bf};e.za=function(a){this.rf||(this.rf=this.xn());return l(a)?(this.rf.set(a),this):this.rf};e.uc=function(){if(!this.zd){po.c.uc.call(this);var a=this.ia().qs(this.min,this.max,this.qf,this.nf,this.ge);this.qf&&(this.min=a[0]);this.nf&&(this.max=a[1]);this.za().rs(this.ia().get(),this.ge,a[2],a[3]);this.Ti=this.max-this.min}};
e.Mh=function(a){T(a,2)&&(this.zd=!1,this.A(2))};e.xn=function(){var a=new Xo(this);E(this,a);O(a,this.Mh,this);return a};e.a=function(){var a=po.c.a.call(this);a.ticks=this.ia().a();a.minorTicks=this.za().a();a.type="linear";return a};e.b=function(a){S(this);po.c.b.call(this,a);this.ia().b(a.ticks);this.za().b(a.minorTicks);this.g(!0);return this};A("anychart.scales.linear",function(){return new po});po.prototype.ticks=po.prototype.ia;po.prototype.minorTicks=po.prototype.za;function Yo(a){lg.call(this);this.Ya=a}B(Yo,Qk);e=Yo.prototype;e.J=2;e.Oa=1;e.fc=null;e.ma=null;e.mi=null;e.Ba=null;e.re=null;e.interval=function(a){return l(a)?(a=Math.round(a)||1,this.Oa!=a&&(this.Oa=a,this.re=this.Ba=this.ma=null,this.A(2)),this):this.Oa};
e.set=function(a){if(!Cb(this.mi,a)){this.mi=rb(a);yb(this.mi);a=this.mi;for(var b={},c=0,d=0;dd?1:a.keyb.key?1:0}e=oo.prototype;e.ia=function(a){this.Hb||(this.Hb=new Yo(this),E(this,this.Hb),O(this.Hb,this.Mh,this));return l(a)?(this.Hb.set(a),this):this.Hb};
e.Um=function(a,b){if(!l(a))return this.wd;if(null===a)this.Mk||(this.Mk=!0,this.A(4));else{this.Mk=!1;var c=p(a);this.Zr();c&&a.length?this.nd.apply(this,a):this.nd.apply(this,arguments);this.$p(!1)}return this};
e.Wl=function(a){if(l(a)){if(null===a)this.fc=[];else if(p(a))this.fc=rb(a);else{if(!q(a)||this.fc==a)return this;this.fc=a}this.A(4);return this}if(p(this.fc)){this.Vi||(this.Vi=rb(this.fc));if(this.Vi.lengthc?NaN:a.Gk[c].value}e.Zr=function(){this.Wu=this.wd;this.wd=[];this.Gk.length=0;this.Vi=this.re=null;return this};
e.$p=function(a){var b=!Cb(this.Wu,this.wd);if(b){if(this.Hb){var c=this.Hb;c.ma=null;c.Ba=null;c.re=null}a||this.A(2)}return b};e.nd=function(a){for(var b=0;bc)return NaN;c=this.Gk[c].value/this.wd.length+(b||0)/this.wd.length;return this.Kg?1-c:c};e.Zj=function(a){this.Kg&&(a=1-a);a=Ub(Math.ceil(a*this.wd.length)-1,0,this.wd.length-1);return this.wd[a]};e.Mh=function(a){T(a,2)&&this.A(2)};e.a=function(){var a=oo.c.a.call(this);a.values=this.Mk?null:this.Um();a.ticks=this.ia().a();a.type="ordinal";return a};
e.b=function(a){S(this);oo.c.b.call(this,a);this.Um(a.values);this.ia().b(a.ticks);this.g(!0);return this};A("anychart.scales.ordinal",function(){return new oo});oo.prototype.transform=oo.prototype.transform;oo.prototype.inverseTransform=oo.prototype.Zj;oo.prototype.ticks=oo.prototype.ia;oo.prototype.values=oo.prototype.Um;oo.prototype.names=oo.prototype.Wl;oo.prototype.extendDataRange=oo.prototype.nd;function bp(){po.call(this)}B(bp,po);e=bp.prototype;e.nr=function(a){return l(a)?(a=isNaN(+a)?this.ge:+a,a!=this.ge&&(this.ge=a,this.A(2)),this):this.ge};e.transform=function(a){this.uc();a=(nk(a,this.ge)-this.Ip)/this.Ti;return this.Kg?1-a:a};e.Zj=function(a){this.uc();this.Kg&&(a=1-a);a=a*this.Ti+nk(this.min);return M(Math.exp(a),7)};e.uc=function(){this.zd||(bp.c.uc.call(this),this.Ip=nk(this.min,this.ge),this.Gs=nk(this.max,this.ge),this.Ti=this.Gs-this.Ip)};
e.Jt=function(){var a=nk(this.Od,this.ge),b=nk(this.Pd,this.ge),c=a-b;c||(this.Pd-=Math.E/2,this.Od+=Math.E/2,c=1);this.qf&&(this.Ip=b-c*this.Ul,this.min=ok(this.ge,this.Ip));this.nf&&(this.Gs=a+c*this.Ql,this.max=ok(this.ge,this.Gs))};e.xn=function(){var a=bp.c.xn.call(this);S(a);a.mode("logarithmic");a.g(!1);return a};e.a=function(){var a=bp.c.a.call(this);a.logBase=this.nr();return a};e.b=function(a){S(this);bp.c.b.call(this,a);this.nr(a.logBase);this.g(!0);return this};
A("anychart.scales.log",function(){return new bp});bp.prototype.transform=bp.prototype.transform;bp.prototype.inverseTransform=bp.prototype.Zj;bp.prototype.logBase=bp.prototype.nr;var cp;
cp={Oz:["BC","AD"],Nz:["Before Christ","Anno Domini"],Wz:"JFMAMJJASOND".split(""),uA:"JFMAMJJASOND".split(""),Vz:"January February March April May June July August September October November December".split(" "),tA:"January February March April May June July August September October November December".split(" "),oA:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),wA:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),MA:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),yA:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
qA:"Sun Mon Tue Wed Thu Fri Sat".split(" "),xA:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Xz:"SMTWTFS".split(""),vA:"SMTWTFS".split(""),pA:["Q1","Q2","Q3","Q4"],kA:["1st quarter","2nd quarter","3rd quarter","4th quarter"],vz:["AM","PM"],Hz:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],FA:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],Iz:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],rw:6,NA:[5,6],sw:5};var dp=/^(-)?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?)?$/;function ep(a,b,c,d,f,g){q(a)?(this.dd=a==fp?b:0,this.ad=a==gp?b:0,this.ld=a==hp?b:0,this.Yc=a==ip?b:0,this.$c=a==jp?b:0,this.cd=a==kp?b:0):(this.dd=a||0,this.ad=b||0,this.ld=c||0,this.Yc=d||0,this.$c=f||0,this.cd=g||0)}
ep.prototype.Fk=function(a){var b=Math.min(this.dd,this.ad,this.ld,this.Yc,this.$c,this.cd),c=Math.max(this.dd,this.ad,this.ld,this.Yc,this.$c,this.cd);if(0>b&&0b&&c.push("-");c.push("P");(this.dd||a)&&c.push(Math.abs(this.dd)+"Y");(this.ad||a)&&c.push(Math.abs(this.ad)+"M");(this.ld||a)&&c.push(Math.abs(this.ld)+"D");if(this.Yc||this.$c||this.cd||a)c.push("T"),(this.Yc||a)&&c.push(Math.abs(this.Yc)+"H"),(this.$c||a)&&c.push(Math.abs(this.$c)+"M"),
(this.cd||a)&&c.push(Math.abs(this.cd)+"S");return c.join("")};ep.prototype.De=function(a){return a.dd==this.dd&&a.ad==this.ad&&a.ld==this.ld&&a.Yc==this.Yc&&a.$c==this.$c&&a.cd==this.cd};ep.prototype.D=function(){return new ep(this.dd,this.ad,this.ld,this.Yc,this.$c,this.cd)};var fp="y",gp="m",hp="d",ip="h",jp="n",kp="s";ep.prototype.add=function(a){this.dd+=a.dd;this.ad+=a.ad;this.ld+=a.ld;this.Yc+=a.Yc;this.$c+=a.$c;this.cd+=a.cd};
function lp(a,b,c){v(a)?(this.V=new Date(a,b||0,c||1),mp(this,c||1)):x(a)?(this.V=new Date(a.getFullYear(),a.getMonth(),a.getDate()),mp(this,a.getDate())):(this.V=new Date(qa()),this.V.setHours(0),this.V.setMinutes(0),this.V.setSeconds(0),this.V.setMilliseconds(0))}e=lp.prototype;e.Fj=cp.rw;e.Hj=cp.sw;e.D=function(){var a=new lp(this.V);a.Fj=this.Fj;a.Hj=this.Hj;return a};e.getFullYear=function(){return this.V.getFullYear()};e.getYear=function(){return this.getFullYear()};e.getMonth=function(){return this.V.getMonth()};
e.getDate=function(){return this.V.getDate()};e.getTime=function(){return this.V.getTime()};e.getUTCFullYear=function(){return this.V.getUTCFullYear()};e.getUTCMonth=function(){return this.V.getUTCMonth()};e.getUTCDate=function(){return this.V.getUTCDate()};e.getUTCHours=function(){return this.V.getUTCHours()};e.getUTCMinutes=function(){return this.V.getUTCMinutes()};e.getTimezoneOffset=function(){return this.V.getTimezoneOffset()};
function np(a){a=a.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0b&&(b+=12);var d;a:{switch(b){case 1:d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.ld&&(b=new Date(this.getYear(),this.getMonth(),this.getDate(),12),a=new Date(b.getTime()+864E5*a.ld),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),
this.setDate(a.getDate()),mp(this,a.getDate()))};e.Fk=function(a,b){return[this.getFullYear(),Da(this.getMonth()+1),Da(this.getDate())].join(a?"-":"")+(b?np(this):"")};e.De=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};e.toString=function(){return this.Fk()};function mp(a,b){if(a.getDate()!=b){var c=a.getDate()a?4:Math.ceil(+a),this.Ba=this.ma=null,this.A(2)),this):this.q};e.set=function(a){this.ma!=a&&(this.q=NaN,this.Oa=null,this.ma=a,this.Ba=null,this.A(2));return this};e.get=function(){if(this.ma)return this.ma;this.Ya.uc();return this.Ba};
e.qs=function(a,b){this.Ba=null;if(!this.ma){for(var c=[],d=this.Oa||rp(this,a,b,!1),f=new pp(new Date(a)),g=new pp(new Date(b));0>=f.getTime()-g.getTime();f.add(d))c.push(f.getTime());this.Ba=c}};e.rs=function(a,b,c,d){this.Ba=null;var f=[a,b];if(!this.ma){var g=[],h=this.Oa||rp(this,a,b,!0);c&&(f[0]=a=sp(a,h));a=new pp(new Date(a));for(b=new pp(new Date(b));0>=a.getTime()-b.getTime();a.add(h))g.push(a.getTime());d&&0n[s]&&(t=!0);c.nd(0);(r||!r&&!t)&&c.nd(100);t&&c.nd(-100)}else for(b=0;bg);this.xj=s.D().round();Dp(this);
P(this,256);P(this,67108864);P(this,2048)}if(R(this,67108864)){d=qb(this.Nj,this.kk);b=0;for(a=d.length;bk&&(h[ja(a[b].ea())]+=k)}}for(b in f)a=f[b],a.Fm=0,a.Em=0,a.rp=!1,a=f[b],c=h[b],d=g[b],a.Yv=Math.min(c,d,0),a.Xv=Math.max(d,c,0)},r=function(){for(var a in f)g[a]=
0,h[a]=0};c=b?new Vo(k,b,c,m,n,r):new So(k,c,m,n,r);for(b=0;ba.sm&&(a.sm=c),ca,a=Math.abs(a),a=this.Tu+(a-this.Bo)/(this.wo-this.Bo)*(this.Xx-this.Tu),a=(d?-a:a)||this.wo;if(0>a&&!this.Xk)return!1;d=bn(this.X);this.h().d("x",b).d("y",c).d("size",a).d("shape",d);d.Qi(Math.abs(a)).Zg(b).$g(c);this.Ic(!1);Ao(this,d)}R(this,1073741824)&&(b=this.Xb?bn(this.Xb):null,c=this.h(),c.d("hatchFillShape",b),c=c.d("shape"),l(c)&&b&&b.b(c.a()),this.Ub(!1));return!0};
e.Ic=function(a){var b=this.h().d("shape"),c=+this.h().d("size");if(l(b)&&!isNaN(c)){if(0>c){var c=this.h(),d=c.get("negativeFill")||this.Yl(),c=a?this.qb(c.get("hoverNegativeFill")||this.yl()||d,d):this.qb(d),d=this.h(),f=d.get("negativeStroke")||this.$l();a=a?this.qb(d.get("hoverNegativeStroke")||this.Al()||f,f):this.qb(f)}else c=Bo(this,!0,a),a=Co(this,!0,a);b.stroke(a,2,"none","round");b.fill(c)}};
e.Ub=function(a){var b=this.h().d("hatchFillShape"),c=+this.h().d("size");if(null!=b&&!isNaN(c)){if(0>c){var c=this.h(),d=c.get("negativeHatchFill")||this.Zl();a=a?this.ie(c.get("hoverNegativeHatchFill")||this.zl()||d,d):this.ie(d)}else a=this.Fe(!0,a);b.stroke(null).fill(a)}};e.Zp=function(a){Hp.c.Zp.call(this,a);P(this,64)};e.$l=function(a,b,c,d,f){if(l(a)){var g=w(a)?a:Sg.apply(null,arguments);g!=this.Gr&&(this.Gr=g,P(this,8,1));return this}return this.Gr};
e.Al=function(a,b,c,d,f){return l(a)?(this.Au=w(a)?a:Sg.apply(null,arguments),this):this.Au};e.Yl=function(a,b,c,d,f,g,h){if(l(a)){var k=w(a)?a:Og.apply(null,arguments);k!=this.Er&&(this.Er=k,P(this,8,1));return this}return this.Er};e.yl=function(a,b,c,d,f,g,h){return l(a)?(this.yu=w(a)?a:Og.apply(null,arguments),this):this.yu};to.prototype.Zl=function(a,b,c,d){if(l(a)){var f=w(a)?a:Tg.apply(null,arguments);f!=this.Fr&&(this.Fr=f,P(this,1073741824,1));return this}return this.Fr};
to.prototype.zl=function(a,b,c,d){return l(a)?(this.zu=w(a)?a:Tg.apply(null,arguments),this):this.zu};Hp.prototype.Ja=function(){return"bubble"};
Hp.prototype.a=function(){var a=Hp.c.a.call(this);a.seriesType=this.Ja();a.minimumSize=this.zr();a.maximumSize=this.wr();a.displayNegative=this.sq();w(this.Yl())?window.console&&window.console.log("Warning: We can not serialize negativeFill function, please reset it manually."):a.negativeFill=fl(this.Yl());w(this.yl())?window.console&&window.console.log("Warning: We can not serialize hoverNegativeFill function, please reset it manually."):a.hoverNegativeFill=fl(this.yl());w(this.$l())?window.console&&
window.console.log("Warning: We can not serialize negativeStroke function, please reset it manually."):a.negativeStroke=fl(this.$l());w(this.Al())?window.console&&window.console.log("Warning: We can not serialize hoverNegativeStroke function, please reset it manually."):a.hoverNegativeStroke=fl(this.Al());w(this.Zl())?window.console&&window.console.log("Warning: We can not serialize negativeHatchFill function, please reset it manually."):a.negativeHatchFill=fl(this.Zl());w(this.zl())?window.console&&
window.console.log("Warning: We can not serialize hoverNegativeHatchFill function, please reset it manually."):a.hoverNegativeHatchFill=fl(this.zl());return a};Hp.prototype.b=function(a){S(this);Hp.c.b.call(this,a);this.zr(a.minimumSize);this.wr(a.maximumSize);this.sq(a.displayNegative);this.Yl(a.negativeFill);this.yl(a.hoverNegativeFill);this.$l(a.negativeStroke);this.Al(a.hoverNegativeStroke);this.Zl(a.negativeHatchFill);this.zl(a.hoverNegativeHatchFill);this.g(!0);return this};
Hp.prototype.$=function(){var a=Hp.c.$.call(this);this.va(null);this.rd(null);this.Ib().tg(function(){return parseFloat(this.value).toFixed(2)});return a};A("anychart.cartesian.series.bubble",function(a,b){return new Hp(a,b)});Hp.prototype.minimumSize=Hp.prototype.zr;Hp.prototype.maximumSize=Hp.prototype.wr;Hp.prototype.displayNegative=Hp.prototype.sq;Hp.prototype.negativeFill=Hp.prototype.Yl;Hp.prototype.hoverNegativeFill=Hp.prototype.yl;Hp.prototype.negativeStroke=Hp.prototype.$l;
Hp.prototype.hoverNegativeStroke=Hp.prototype.Al;Hp.prototype.negativeHatchFill=Hp.prototype.Zl;Hp.prototype.hoverNegativeHatchFill=Hp.prototype.zl;Hp.prototype.fill=Hp.prototype.fill;Hp.prototype.hoverFill=Hp.prototype.dc;Hp.prototype.stroke=Hp.prototype.stroke;Hp.prototype.hoverStroke=Hp.prototype.kc;Hp.prototype.hatchFill=Hp.prototype.Eb;Hp.prototype.hoverHatchFill=Hp.prototype.Yb;function Kp(a,b){to.call(this,a,b);this.ba=new Do;this.ba.ga("mouseover",this.Mx,!1,this);this.ba.ga("mouseout",this.Lx,!1,this);this.ba.enabled(!0);E(this,this.ba);this.Qj=new Do;E(this,this.ba);this.dg=10;this.ho=12;this.gc=["x","value"];this.Tc=["x","y"];this.ac=!0}B(Kp,to);so.marker=Kp;e=Kp.prototype;e.type=function(a){return l(a)?(this.jg!=a&&(this.jg=a,P(this,8,1)),this):this.jg};e.io=function(a){return l(a)?(this.jo!=a&&(this.jo=a),this):this.jo};
e.size=function(a){return l(a)?(this.dg!=a&&(this.dg=a,P(this,8,1)),this):this.dg};e.dr=function(a){return l(a)?(this.ho!=a&&(this.ho=a),this):this.ho};e.Ac=function(){var a=xo(this);if(!a)return!1;if(R(this,8)){var b=a[0],a=a[1];this.h().d("x",b).d("y",a);Lp(this,!1)}R(this,1073741824)&&this.Ub(!1);return!0};e.remove=function(){S(this.ba);this.ba.e(null);this.ba.clear();P(this,2);this.ba.g(!1)};e.Xd=function(){var a=this.h();return{value:{x:a.d("x"),y:a.d("y")}}};
e.hb=function(){Kp.c.hb.call(this);S(this.ba);this.ba.clear();R(this,4)&&(this.ba.zIndex(this.zIndex()),Q(this,4));R(this,8)&&(this.ba.fill(Bo(this,!1,!1)),this.ba.stroke(Co(this,!1,!1)),this.ba.type(this.jg),this.ba.size(this.dg),this.Qj.fill(Bo(this,!1,!0)),this.Qj.stroke(Co(this,!1,!0)),this.Qj.type(this.jo),this.Qj.size(this.ho));R(this,2)&&(this.ba.e(this.e()),Q(this,2));if(R(this,1073741824)){var a=this.Fe(!1,!1);this.kf||Dk(a)||(this.kf=new Do,this.kf.e(this.e()),this.kf.zIndex(this.zIndex()+
1),this.kf.vc(!0));this.kf&&S(this.kf)}};e.ef=function(){R(this,8)&&(this.ba.k(),this.ba.g(!1));R(this,1073741824)&&this.kf&&(this.kf.k(),this.kf.g(!1));Kp.c.ef.call(this)};e.El=function(){this.bc();return this};e.de=function(a,b){if(this.$a==a)return this.cg(b),this;this.bc();this.Bc().select(a)&&(Lp(this,!0,!0),this.Ub(!0),yo(this,!0),this.cg(b));this.$a=a;return this};
e.bc=function(){if(isNaN(this.$a))return this;this.Bc().select(this.$a)&&(Lp(this,!1,!0),this.Ub(!1),yo(this,!1),this.Fg());this.$a=NaN;return this};
function Lp(a,b,c){var d=a.h().get("type"),f=a.h().get("markerSize"),g=a.h().get("fill"),h=a.h().get("stroke"),k=a.h().get("hoverType"),m=a.h().get("hoverMarkerSize"),n=a.h().get("hoverFill"),r=a.h().get("hoverStroke");b=b?a.Qj:a.ba;d={type:d,size:f,fill:g,stroke:h};k={type:k,size:m,fill:n,stroke:r};m=a.h().fa();n=a.Xd(bk.lg);a=a.ba.add(n,m);a.Og();Jo(a,b);a.zm(d,k);c&&a.k()}
e.Ub=function(a){var b=this.h().fa();if(this.kf){var c=a?this.Qj:this.ba,b=this.kf.add(this.Xd(bk.lg),b);b.Og();Ho(b,c);a=this.Fe(!0,a);b.fill(a);b.stroke(null);b.k()}};e.Mx=function(a){a&&l(a.markerIndex)?(this.de(a.markerIndex,a),pg(Fo(this.ba,a.markerIndex).Nc(),zg,this.ru,!1,this)):this.bc()};e.Lx=function(a){tg(Fo(this.ba,a.markerIndex).Nc(),zg,this.ru,!1,this);this.bc()};e.ru=function(a){a&&l(a.target.__tagIndex)&&this.de(a.target.__tagIndex,a)};e.Ja=function(){return"marker"};
e.a=function(){var a=Kp.c.a.call(this);a.seriesType=this.Ja();w(this.type())?window.console&&window.console.log("Warning: We can not serialize type function, please reset it manually."):a.type=this.type();w(this.io())?window.console&&window.console.log("Warning: We can not serialize hoverType function, please reset it manually."):a.hoverType=this.io();a.size=this.size();a.hoverSize=this.dr();return a};
e.$=function(){var a=Kp.c.$.call(this),b=this.ln||"star5";this.jo=this.jg=b;this.Ib().tg(function(){return parseFloat(this.value).toFixed(2)});return a};e.b=function(a){S(this);Kp.c.b.call(this,a);this.size(a.size);this.dr(a.hoverSize);this.type(a.type);this.io(a.hoverType);this.g(!0);return this};A("anychart.cartesian.series.marker",function(a,b){return new Kp(a,b)});Kp.prototype.stroke=Kp.prototype.stroke;Kp.prototype.hoverStroke=Kp.prototype.kc;Kp.prototype.fill=Kp.prototype.fill;
Kp.prototype.hoverFill=Kp.prototype.dc;Kp.prototype.size=Kp.prototype.size;Kp.prototype.hoverSize=Kp.prototype.dr;Kp.prototype.type=Kp.prototype.type;Kp.prototype.hoverType=Kp.prototype.io;Kp.prototype.startDrawing=Kp.prototype.hb;Kp.prototype.finalizeDrawing=Kp.prototype.ef;Kp.prototype.hoverSeries=Kp.prototype.El;Kp.prototype.hoverPoint=Kp.prototype.de;Kp.prototype.unhover=Kp.prototype.bc;Kp.prototype.hatchFill=Kp.prototype.Eb;Kp.prototype.hoverHatchFill=Kp.prototype.Yb;function Mp(a,b){No.call(this,a,b);this.gc=["x","value","value"];this.Tc=["x","z","y"];this.ac=!0}B(Mp,Oo);so.column=Mp;
Mp.prototype.Ac=function(){var a=xo(this);if(!a)return!1;if(R(this,8)){var b=a[0],c=a[1],a=a[2],d=bn(this.X),f=this.ri();this.h().d("x",b).d("zero",c).d("y",a).d("shape",d);d.me(b-f/2).ne(Math.min(c,a)).Pe(f).Oe(Math.abs(c-a));this.Ic(!1);Ao(this,d)}R(this,1073741824)&&(b=this.Xb?bn(this.Xb):null,c=this.h(),c.d("hatchFillShape",b),c=c.d("shape"),l(c)&&b&&b.b(c.a()),this.Ub(!1));return!0};Mp.prototype.Ja=function(){return"column"};
Mp.prototype.a=function(){var a=Mp.c.a.call(this);a.seriesType=this.Ja();return a};Mp.prototype.b=function(a){return Mp.c.b.call(this,a)};A("anychart.cartesian.series.column",function(a,b){return new Mp(a,b)});Mp.prototype.fill=Mp.prototype.fill;Mp.prototype.hoverFill=Mp.prototype.dc;Mp.prototype.stroke=Mp.prototype.stroke;Mp.prototype.hoverStroke=Mp.prototype.kc;Mp.prototype.hatchFill=Mp.prototype.Eb;Mp.prototype.hoverHatchFill=Mp.prototype.Yb;function Np(a,b){No.call(this,a,b);this.gc=["x","low","high"];this.Tc=["x","y","y"];this.ac=!1}B(Np,Oo);so.rangecolumn=Np;e=Np.prototype;
e.Ac=function(){var a=xo(this);if(!a)return!1;if(R(this,8)){var b=a[0],c=a[1],a=a[2],d=bn(this.X),f=this.ri();this.h().d("x",b).d("low",c).d("high",a).d("shape",d);d.me(b-f/2).ne(Math.min(c,a)).Pe(f).Oe(Math.abs(c-a));this.Ic(!1);Ao(this,d)}R(this,1073741824)&&(b=this.Xb?bn(this.Xb):null,c=this.h(),c.d("hatchFillShape",b),c=c.d("shape"),l(c)&&b&&b.b(c.a()),this.Ub(!1));return!0};e.Xd=function(a){var b=this.h(),c=b.d("shape");return c?(b=c.o(),a=ak(a),{value:yk(b,a)}):{value:{x:b.d("x"),y:b.d("high")}}};
e.$=function(){var a=Np.c.$.call(this),b=this.Ib();b.content().wc("left");b.tg(function(){return"High: "+parseFloat(this.high).toFixed(2)+"\nLow: "+parseFloat(this.low).toFixed(2)});return a};e.Rk=function(){vo(this,"seriesMax",-Infinity);vo(this,"seriesMin",Infinity);vo(this,"seriesSum",0);vo(this,"seriesAverage",0);vo(this,"seriesPointsCount",this.h().Da())};e.Ja=function(){return"rangecolumn"};e.a=function(){var a=Np.c.a.call(this);a.seriesType=this.Ja();return a};
e.b=function(a){return Np.c.b.call(this,a)};A("anychart.cartesian.series.rangeColumn",function(a,b){return new Np(a,b)});Np.prototype.fill=Np.prototype.fill;Np.prototype.hoverFill=Np.prototype.dc;Np.prototype.stroke=Np.prototype.stroke;Np.prototype.hoverStroke=Np.prototype.kc;Np.prototype.hatchFill=Np.prototype.Eb;Np.prototype.hoverHatchFill=Np.prototype.Yb;A("anychart.columnChart",function(a){for(var b=new $,c=0,d=arguments.length;ca.gg?-1:1,a.Va[1]=0);a.eg[0]=-a.Va[0]*a.zf*a.gg;a.eg[1]=-a.Va[1]*a.zf*a.gg;d=[d+a.fg[0],f+a.fg[1]];f=[g+a.eg[0],h+a.eg[1]];k=[(d[0]+
f[0])/2,(d[1]+f[1])/2];a.Pa.quadraticCurveTo(d[0],d[1],k[0],k[1]);a.Pa.quadraticCurveTo(f[0],f[1],g,h);a.qe&&(a.qe.quadraticCurveTo(d[0],d[1],k[0],k[1]),a.qe.quadraticCurveTo(f[0],f[1],g,h));a.zf=b-g;a.fg[0]=a.Va[0]*a.zf*a.gg;a.fg[1]=a.Va[1]*a.zf*a.gg;a.gj=a.Ef;a.hj=a.Ff;a.Ef=b;a.Ff=c;break;case 2:if(a.Ef==b&&a.Ff==c)break;g=a.gj;f=a.hj;h=a.Ef;d=a.Ff;a.Uc[0]=h-g;a.Uc[1]=d-f;f=Math.sqrt(a.Uc[0]*a.Uc[0]+a.Uc[1]*a.Uc[1]);a.Uc[0]/=-f;a.Uc[1]/=-f;a.zf=h-g;a.ob[0]=b-h;a.ob[1]=c-d;f=Math.sqrt(a.ob[0]*a.ob[0]+
a.ob[1]*a.ob[1]);a.ob[0]/=f;a.ob[1]/=f;a.Va[0]=a.ob[0]-a.Uc[0];a.Va[1]=a.ob[1]-a.Uc[1];f=Math.sqrt(a.Va[0]*a.Va[0]+a.Va[1]*a.Va[1]);a.Va[0]/=f;a.Va[1]/=f;0<=a.Uc[1]*a.ob[1]&&(a.Va[0]=0>a.gg?-1:1,a.Va[1]=0);a.eg[0]=-a.Va[0]*a.zf*a.gg;a.eg[1]=-a.Va[1]*a.zf*a.gg;a.Pa.quadraticCurveTo(h+a.eg[0],d+a.eg[1],h,d);a.qe&&a.qe.quadraticCurveTo(h+a.eg[0],d+a.eg[1],h,d);a.zf=b-h;a.fg[0]=a.Va[0]*a.zf*a.gg;a.fg[1]=a.Va[1]*a.zf*a.gg;a.gj=a.Ef;a.hj=a.Ff;a.Ef=b;a.Ff=c;a.pe=3;break;case 1:if(a.gj==b&&a.hj==c)break;
a.Ef=b;a.Ff=c;a.pe=2;break;case 0:a.gj=b,a.hj=c,a.pe=1}}function Vp(a){switch(a.pe){case 3:var b=a.gj,c=a.hj,d=a.Ef,f=a.Ff;a.Pa.quadraticCurveTo(b+a.fg[0],c+a.fg[1],d,f);a.qe&&a.qe.quadraticCurveTo(b+a.fg[0],c+a.fg[1],d,f);break;case 2:b=a.Ef,c=a.Ff,a.Pa.lineTo(b,c),a.qe&&a.qe.lineTo(b,c)}a.pe=0}Tp.prototype.qe=null;function Wp(a,b){a.es&&(b=!b);a.eg=[];a.fg=[];a.gg=b?-0.25:0.25;a.zf=1;a.Uc=[];a.ob=[];a.Va=[]};function Xp(a,b){Sp.call(this,a,b);this.gc=["x","value"];this.Tc=["x","y"];this.ac=!0;this.bb=new Tp(this.path);this.zIndex(40)}B(Xp,Sp);so.spline=Xp;e=Xp.prototype;e.hb=function(){Xp.c.hb.call(this);this.bb.Ob(!(!this.Qa()||!this.Qa().Ai()))};e.cf=function(){var a=xo(this);if(!a)return!1;if(R(this,8)){var b=a[0],a=a[1];this.od();Wp(this.bb,!1);this.path.moveTo(b,a);Up(this.bb,b,a);this.h().d("x",b).d("y",a)}return!0};
e.Ac=function(){var a=xo(this);if(!a)return!1;if(R(this,8)){var b=a[0],a=a[1];Up(this.bb,b,a);this.h().d("x",b).d("y",a)}return!0};e.Bk=function(){return this.sourceColor};e.od=function(){Vp(this.bb)};e.Ja=function(){return"spline"};e.a=function(){var a=Xp.c.a.call(this);a.seriesType=this.Ja();return a};e.b=function(a){return Xp.c.b.call(this,a)};A("anychart.cartesian.series.spline",function(a,b){return new Xp(a,b)});Xp.prototype.stroke=Xp.prototype.stroke;Xp.prototype.hoverStroke=Xp.prototype.kc;function Yp(a,b){Sp.call(this,a,b);this.gc=["x","value"];this.Tc=["x","y"];this.ac=!0;this.zIndex(40)}B(Yp,Sp);so.stepline=Yp;e=Yp.prototype;e.cf=function(){var a=xo(this);if(!a)return!1;if(R(this,8)){var b=a[0],a=a[1];this.path.moveTo(b,a);this.Dh=b;this.$f=a;this.h().d("x",b).d("y",a)}return!0};e.Ac=function(){var a=xo(this);if(!a)return!1;if(R(this,8)){var b=a[0],a=a[1],c=(b+this.Dh)/2;this.path.lineTo(c,this.$f).lineTo(c,a).lineTo(b,a);this.Dh=b;this.$f=a;this.h().d("x",b).d("y",a)}return!0};
e.Bk=function(){return this.sourceColor};e.Ja=function(){return"stepline"};e.a=function(){var a=Yp.c.a.call(this);a.seriesType=this.Ja();return a};e.b=function(a){return Yp.c.b.call(this,a)};A("anychart.cartesian.series.stepLine",function(a,b){return new Yp(a,b)});Yp.prototype.stroke=Yp.prototype.stroke;Yp.prototype.hoverStroke=Yp.prototype.kc;function Zp(a,b){Sp.call(this,a,b);this.gc=["x","value"];this.Tc=["x","y"];this.ac=!0;this.zIndex(40)}B(Zp,Sp);so.line=Zp;e=Zp.prototype;e.cf=function(){var a=xo(this);if(!a)return!1;if(R(this,8)){var b=a[0],a=a[1];this.path.moveTo(b,a);this.h().d("x",b).d("y",a)}return!0};e.Ac=function(){var a=xo(this);if(!a)return!1;if(R(this,8)){var b=a[0],a=a[1];this.path.lineTo(b,a);this.h().d("x",b).d("y",a)}return!0};e.Bk=function(){return this.sourceColor};e.Ja=function(){return"line"};
e.a=function(){var a=Zp.c.a.call(this);a.seriesType=this.Ja();return a};e.b=function(a){return Zp.c.b.call(this,a)};A("anychart.cartesian.series.line",function(a,b){return new Zp(a,b)});Zp.prototype.stroke=Zp.prototype.stroke;Zp.prototype.hoverStroke=Zp.prototype.kc;A("anychart.lineChart",function(a){for(var b=new $,c=0,d=arguments.length;c