if (self.CavalryLogger) { CavalryLogger.start_js(["JVi6F"]); }

__d("art/core/class",[],(function a(b,c,d,e,f,g){__p&&__p();f.exports=function(h){__p&&__p();var i={};for(var j=0,k=arguments.length;j<k;j++){var l=arguments[j];if(typeof l=="function")l=l.prototype;for(var m in l)i[m]=l[m]}if(!i.initialize)i.initialize=function(){};i.constructor=function(n,o,p,q,r,s,t,u){return new i.initialize(n,o,p,q,r,s,t,u)};i.constructor.prototype=i.initialize.prototype=i;return i.constructor}}),null);
__d("art/core/color",[],(function a(b,c,d,e,f,g){__p&&__p();var h={maroon:"#800000",red:"#ff0000",orange:"#ffA500",yellow:"#ffff00",olive:"#808000",purple:"#800080",fuchsia:"#ff00ff",white:"#ffffff",lime:"#00ff00",green:"#008000",navy:"#000080",blue:"#0000ff",aqua:"#00ffff",teal:"#008080",black:"#000000",silver:"#c0c0c0",gray:"#808080"},i=function i(o,p){var q=[];for(var r=0,s=o.length;r<s;r++)q[r]=p(o[r],r);return q},j=function j(o,p){__p&&__p();if(o.isColor){this.red=o.red;this.green=o.green;this.blue=o.blue;this.alpha=o.alpha}else{var q=h[o];if(q){o=q;p="hex"}switch(typeof o){case"string":if(!p)p=(p=o.match(/^rgb|^hsb|^hsl/))?p[0]:"hex";break;case"object":p=p||"rgb";o=o.toString();break;case"number":p="hex";o=o.toString(16);break}o=j["parse"+p.toUpperCase()](o);this.red=o[0];this.green=o[1];this.blue=o[2];this.alpha=o[3]}this.isColor=true},k=function k(o,p,q){return Math.min(q,Math.max(p,o))},l=/([-.\d]+\%?)\s*,\s*([-.\d]+\%?)\s*,\s*([-.\d]+\%?)\s*,?\s*([-.\d]*\%?)/,m=/^#?([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{0,2})$/i;j.parseRGB=function(o){return i(o.match(l).slice(1),function(p,q){if(p)p=parseFloat(p)*(p[p.length-1]=="%"?2.55:1);return q<3?Math.round((p%=256)<0?p+256:p):k(p===""?1:Number(p),0,1)})};j.parseHEX=function(o){if(o.length==1)o=o+o+o;return i(o.match(m).slice(1),function(p,q){if(q==3)return p?parseInt(p,16)/255:1;return parseInt(p.length==1?p+p:p,16)})};j.parseHSB=function(o){__p&&__p();var p=i(o.match(l).slice(1),function(x,y){if(x)x=parseFloat(x);if(y===0)return Math.round((x%=360)<0?x+360:x);else if(y<3)return k(Math.round(x),0,100);else return k(x===""?1:Number(x),0,1)}),q=p[3],r=Math.round(p[2]/100*255);if(p[1]==0)return[r,r,r,q];var s=p[0],t=s%60,u=Math.round(p[2]*(100-p[1])/1e4*255),v=Math.round(p[2]*(6e3-p[1]*t)/6e5*255),w=Math.round(p[2]*(6e3-p[1]*(60-t))/6e5*255);switch(Math.floor(s/60)){case 0:return[r,w,u,q];case 1:return[v,r,u,q];case 2:return[u,r,w,q];case 3:return[u,v,r,q];case 4:return[w,u,r,q];default:return[r,u,v,q]}};j.parseHSL=function(o){__p&&__p();var p=i(o.match(l).slice(1),function(A,B){if(A)A=parseFloat(A);if(B===0)return Math.round((A%=360)<0?A+360:A);else if(B<3)return k(Math.round(A),0,100);else return k(A===""?1:Number(A),0,1)}),q=p[0]/60,r=p[1]/100,s=p[2]/100,t=p[3],u=(1-Math.abs(2*s-1))*r,v=u*(1-Math.abs(q%2-1)),w=s-u/2,x=Math.round((u+w)*255),y=Math.round((v+w)*255),z=Math.round(w*255);switch(Math.floor(q)){case 0:return[x,y,z,t];case 1:return[y,x,z,t];case 2:return[z,x,y,t];case 3:return[z,y,x,t];case 4:return[y,z,x,t];default:return[x,z,y,t]}};var n=function n(o,p){if(p[3]!=1)o+="a";else p.pop();return o+"("+p.join(", ")+")"};j.prototype={toHSB:function o(p){var q=this.red,r=this.green,s=this.blue,t=this.alpha,u=Math.max(q,r,s),v=Math.min(q,r,s),w=u-v,x=0,y=w!=0?w/u:0,z=u/255;if(y){var A=(u-q)/w,B=(u-r)/w,C=(u-s)/w;x=q==u?C-B:r==u?2+A-C:4+B-A;if((x/=6)<0)x++}var D=[Math.round(x*360),Math.round(y*100),Math.round(z*100),t];return p?D:n("hsb",D)},toHSL:function o(p){var q=this.red,r=this.green,s=this.blue,t=this.alpha,u=Math.max(q,r,s),v=Math.min(q,r,s),w=u-v,x=0,y=w!=0?w/(255-Math.abs(u+v-255)):0,z=(u+v)/512;if(y){var A=(u-q)/w,B=(u-r)/w,C=(u-s)/w;x=q==u?C-B:r==u?2+A-C:4+B-A;if((x/=6)<0)x++}var D=[Math.round(x*360),Math.round(y*100),Math.round(z*100),t];return p?D:n("hsl",D)},toHEX:function o(p){var q=this.alpha,r=(q=Math.round(q*255).toString(16)).length==1?q+q:q,s=i([this.red,this.green,this.blue],function(t){t=t.toString(16);return t.length==1?"0"+t:t});return p?s.concat(r):"#"+s.join("")+(r=="ff"?"":r)},toRGB:function o(p){var q=[this.red,this.green,this.blue,this.alpha];return p?q:n("rgb",q)}};j.prototype.toString=j.prototype.toRGB;j.hex=function(o){return new j(o,"hex")};if(this.hex==null)this.hex=j.hex;j.hsb=function(o,p,q,r){return new j([o||0,p||0,q||0,r==null?1:r],"hsb")};if(this.hsb==null)this.hsb=j.hsb;j.hsl=function(o,p,q,r){return new j([o||0,p||0,q||0,r==null?1:r],"hsl")};if(this.hsl==null)this.hsl=j.hsl;j.rgb=function(o,p,q,r){return new j([o||0,p||0,q||0,r==null?1:r],"rgb")};if(this.rgb==null)this.rgb=j.rgb;j.detach=function(o){o=new j(o);return[j.rgb(o.red,o.green,o.blue).toString(),o.alpha]};f.exports=j}),null);
__d("art/core/path",["art/core/class"],(function a(b,c,d,e,f,g){__p&&__p();f.exports=c("art/core/class")({initialize:function h(i){this.reset().push(i)},push:function h(){__p&&__p();var i=Array.prototype.join.call(arguments," ").match(/[a-df-z]|[\-+]?(?:[\d\.]e[\-+]?|[^\s\-+,a-z])+/gi);if(!i)return this;var j,k=i[0],l=1;while(k){switch(k){case"m":this.move(i[l++],i[l++]);break;case"l":this.line(i[l++],i[l++]);break;case"c":this.curve(i[l++],i[l++],i[l++],i[l++],i[l++],i[l++]);break;case"s":this.curve(i[l++],i[l++],null,null,i[l++],i[l++]);break;case"q":this.curve(i[l++],i[l++],i[l++],i[l++]);break;case"t":this.curve(i[l++],i[l++]);break;case"a":this.arc(i[l+5],i[l+6],i[l],i[l+1],i[l+3],!+i[l+4],i[l+2]);l+=7;break;case"h":this.line(i[l++],0);break;case"v":this.line(0,i[l++]);break;case"M":this.moveTo(i[l++],i[l++]);break;case"L":this.lineTo(i[l++],i[l++]);break;case"C":this.curveTo(i[l++],i[l++],i[l++],i[l++],i[l++],i[l++]);break;case"S":this.curveTo(i[l++],i[l++],null,null,i[l++],i[l++]);break;case"Q":this.curveTo(i[l++],i[l++],i[l++],i[l++]);break;case"T":this.curveTo(i[l++],i[l++]);break;case"A":this.arcTo(i[l+5],i[l+6],i[l],i[l+1],i[l+3],!+i[l+4],i[l+2]);l+=7;break;case"H":this.lineTo(i[l++],this.penY);break;case"V":this.lineTo(this.penX,i[l++]);break;case"Z":case"z":this.close();break;default:k=j;l--;continue}j=k;if(j=="m")j="l";else if(j=="M")j="L";k=i[l++]}return this},reset:function h(){this.penX=this.penY=0;this.penDownX=this.penDownY=null;this._pivotX=this._pivotY=0;this.onReset();return this},move:function h(i,j){this.onMove(this.penX,this.penY,this._pivotX=this.penX+=+i,this._pivotY=this.penY+=+j);return this},moveTo:function h(i,j){this.onMove(this.penX,this.penY,this._pivotX=this.penX=+i,this._pivotY=this.penY=+j);return this},line:function h(i,j){return this.lineTo(this.penX+ +i,this.penY+ +j)},lineTo:function h(i,j){if(this.penDownX==null){this.penDownX=this.penX;this.penDownY=this.penY}this.onLine(this.penX,this.penY,this._pivotX=this.penX=+i,this._pivotY=this.penY=+j);return this},curve:function h(i,j,k,l,m,n){var o=this.penX,p=this.penY;return this.curveTo(o+ +i,p+ +j,k==null?null:o+ +k,l==null?null:p+ +l,m==null?null:o+ +m,n==null?null:p+ +n)},curveTo:function h(i,j,k,l,m,n){__p&&__p();var o=this.penX,p=this.penY;if(k==null){k=+i;l=+j;i=o*2-(this._pivotX||0);j=p*2-(this._pivotY||0)}if(m==null){this._pivotX=+i;this._pivotY=+j;m=+k;n=+l;k=(m+(+i)*2)/3;l=(n+(+j)*2)/3;i=(o+(+i)*2)/3;j=(p+(+j)*2)/3}else{this._pivotX=+k;this._pivotY=+l}if(this.penDownX==null){this.penDownX=o;this.penDownY=p}this.onBezierCurve(o,p,+i,+j,+k,+l,this.penX=+m,this.penY=+n);return this},arc:function h(i,j,k,l,m,n,o){return this.arcTo(this.penX+ +i,this.penY+ +j,k,l,m,n,o)},arcTo:function h(i,j,k,l,m,n,o){__p&&__p();l=Math.abs(+l||+k||+j-this.penY);k=Math.abs(+k||+i-this.penX);if(!k||!l||i==this.penX&&j==this.penY)return this.lineTo(i,j);var p=this.penX,q=this.penY,r=!+n,s=!!+m,t=o?o*Math.PI/180:0,u=Math.cos(t),v=Math.sin(t);i-=p;j-=q;var w=u*i/2+v*j/2,x=-v*i/2+u*j/2,y=k*k*l*l,z=l*l*w*w,A=k*k*x*x,B=y-A-z;if(B<0){B=Math.sqrt(1-B/y);k*=B;l*=B;w=i/2;x=j/2}else{B=Math.sqrt(B/(A+z));if(s==r)B=-B;var C=-B*x*k/l,D=B*w*l/k;w=u*C-v*D+i/2;x=v*C+u*D+j/2}var E=u/k,F=v/k,G=-v/l,H=u/l,I=Math.atan2(G*-w+H*-x,E*-w+F*-x),J=Math.atan2(G*(i-w)+H*(j-x),E*(i-w)+F*(j-x));w+=p;x+=q;i+=p;j+=q;if(this.penDownX==null){this.penDownX=this.penX;this.penDownY=this.penY}this.onArc(p,q,this._pivotX=this.penX=i,this._pivotY=this.penY=j,w,x,k,l,I,J,!r,o);return this},counterArc:function h(i,j,k,l,m){return this.arc(i,j,k,l,m,true)},counterArcTo:function h(i,j,k,l,m){return this.arcTo(i,j,k,l,m,true)},close:function h(){if(this.penDownX!=null){this.onClose(this.penX,this.penY,this.penX=this.penDownX,this.penY=this.penDownY);this.penDownX=null}return this},onReset:function h(){},onMove:function h(i,j,k,l){},onLine:function h(i,j,k,l){this.onBezierCurve(i,j,i,j,k,l,k,l)},onBezierCurve:function h(i,j,k,l,m,n,o,p){__p&&__p();var q=o-i,r=p-j,s=q*q+r*r,t,u,v,w,x;v=k-i;w=l-j;x=v*q+w*r;if(x>s){v-=q;w-=r}else if(x>0&&s!=0){v-=x/s*q;w-=x/s*r}t=v*v+w*w;v=m-i;w=n-j;x=v*q+w*r;if(x>s){v-=q;w-=r}else if(x>0&&s!=0){v-=x/s*q;w-=x/s*r}u=v*v+w*w;if(t<.01&&u<.01){this.onLine(i,j,o,p);return}if(isNaN(t)||isNaN(u))throw new Error("Bad input");var y=(k+m)*.5,z=(l+n)*.5,A=(k+i)*.5,B=(l+j)*.5,C=(A+y)*.5,D=(B+z)*.5,E=(o+m)*.5,F=(p+n)*.5,G=(E+y)*.5,H=(F+z)*.5,I=(C+G)*.5,J=(D+H)*.5;this.onBezierCurve(i,j,A,B,C,D,I,J);this.onBezierCurve(I,J,G,H,E,F,o,p)},onArc:function h(i,j,k,l,m,n,o,p,q,r,s,t){__p&&__p();var u=t?t*Math.PI/180:0,v=Math.cos(u),w=Math.sin(u),x=v*o,y=-w*p,z=w*o,A=v*p,B=r-q;if(B<0&&!s)B+=Math.PI*2;else if(B>0&&s)B-=Math.PI*2;var C=Math.ceil(Math.abs(B/(Math.PI/2))),D=B/C,E=4/3*Math.tan(D/4),F=Math.cos(q),G=Math.sin(q);for(var H=0;H<C;H++){var I=F-E*G,J=G+E*F;q+=D;F=Math.cos(q);G=Math.sin(q);var K=F+E*G,L=G-E*F;this.onBezierCurve(i,j,m+x*I+y*J,n+z*I+A*J,m+x*K+y*L,n+z*K+A*L,i=m+x*F+y*G,j=n+z*F+A*G)}},onClose:function h(i,j,k,l){this.onLine(i,j,k,l)}})}),null);
__d("art/core/transform",["art/core/class"],(function a(b,c,d,e,f,g){__p&&__p();function h(i,j,k,l,m,n){__p&&__p();if(i&&typeof i=="object"){j=i.yx;l=i.yy;n=i.y;k=i.xy;m=i.x;i=i.xx}this.xx=i==null?1:i;this.yx=j||0;this.xy=k||0;this.yy=l==null?1:l;this.x=(m==null?this.x:m)||0;this.y=(n==null?this.y:n)||0;this._transform();return this}f.exports=c("art/core/class")({initialize:h,_transform:function i(){},xx:1,yx:0,x:0,xy:0,yy:1,y:0,transform:function i(j,k,l,m,n,o){__p&&__p();var p=this;if(j&&typeof j=="object"){k=j.yx;m=j.yy;o=j.y;l=j.xy;n=j.x;j=j.xx}if(!n)n=0;if(!o)o=0;return this.transformTo(p.xx*j+p.xy*k,p.yx*j+p.yy*k,p.xx*l+p.xy*m,p.yx*l+p.yy*m,p.xx*n+p.xy*o+p.x,p.yx*n+p.yy*o+p.y)},transformTo:h,translate:function i(j,k){return this.transform(1,0,0,1,j,k)},move:function i(j,k){this.x+=j||0;this.y+=k||0;this._transform();return this},scale:function i(j,k){if(k==null)k=j;return this.transform(j,0,0,k,0,0)},rotate:function i(j,k,l){if(k==null||l==null){k=(this.left||0)+(this.width||0)/2;l=(this.top||0)+(this.height||0)/2}var m=j*Math.PI/180,n=Math.sin(m),o=Math.cos(m);this.transform(1,0,0,1,k,l);var p=this;return this.transformTo(o*p.xx-n*p.yx,n*p.xx+o*p.yx,o*p.xy-n*p.yy,n*p.xy+o*p.yy,p.x,p.y).transform(1,0,0,1,-k,-l)},moveTo:function i(j,k){var l=this;return this.transformTo(l.xx,l.yx,l.xy,l.yy,j,k)},rotateTo:function i(j,k,l){var m=this,n=m.yx/m.xx>m.yy/m.xy?-1:1;if(m.xx<0?m.xy>=0:m.xy<0)n=-n;return this.rotate(j-Math.atan2(n*m.yx,n*m.xx)*180/Math.PI,k,l)},scaleTo:function i(j,k){var l=this,m=Math.sqrt(l.xx*l.xx+l.yx*l.yx);l.xx/=m;l.yx/=m;m=Math.sqrt(l.yy*l.yy+l.xy*l.xy);l.yy/=m;l.xy/=m;return this.scale(j,k)},resizeTo:function i(j,k){var l=this.width,m=this.height;if(!l||!m)return this;return this.scaleTo(j/l,k/m)},inversePoint:function i(j,k){var l=this.xx,m=this.yx,n=this.xy,o=this.yy,p=this.x,q=this.y,r=m*n-l*o;if(r==0)return null;return{x:(o*(p-j)+n*(k-q))/r,y:(l*(q-k)+m*(j-p))/r}},point:function i(j,k){var l=this;return{x:l.xx*j+l.xy*k+l.x,y:l.yx*j+l.yy*k+l.y}}})}),null);
__d("art/dom/container",["art/core/class"],(function a(b,c,d,e,f,g){f.exports=c("art/core/class")({grab:function h(){for(var i=0;i<arguments.length;i++)arguments[i].inject(this);return this},empty:function h(){var i;while(i=this.firstChild)i.eject();return this}})}),null);
__d("art/dom/dummy",["art/core/class"],(function a(b,c,d,e,f,g){__p&&__p();f.exports=c("art/core/class")({_resetPlacement:function h(){__p&&__p();var i=this.parentNode;if(i){var j=this.previousSibling,k=this.nextSibling;if(j)j.nextSibling=k;else i.firstChild=k;if(k)k.previousSibling=j;else i.lastChild=this.previousSibling}this.previousSibling=null;this.nextSibling=null;this.parentNode=null;return this},inject:function h(i){__p&&__p();this._resetPlacement();var j=i.lastChild;if(j){j.nextSibling=this;this.previousSibling=j}else i.firstChild=this;i.lastChild=this;this.parentNode=i;this._place();return this},injectBefore:function h(i){__p&&__p();this._resetPlacement();var j=i.parentNode;if(!j)return this;var k=i.previousSibling;if(k){k.nextSibling=this;this.previousSibling=k}else j.firstChild=this;i.previousSibling=this;this.nextSibling=i;this.parentNode=j;this._place();return this},eject:function h(){this._resetPlacement();this._place();return this},_place:function h(){},dispatch:function h(event){__p&&__p();var i=this._events,j=i&&i[event.type];if(j){j=j.slice(0);for(var k=0,l=j.length;k<l;k++){var m=j[k],n;if(typeof m=="function")n=m.call(this,event);else n=m.handleEvent(event);if(n===false)event.preventDefault()}}if(this.parentNode&&this.parentNode.dispatch)this.parentNode.dispatch(event)},subscribe:function h(i,j,k){__p&&__p();if(typeof i!="string"){var l=[];for(var m in i)l.push(this.subscribe(m,i[m]));return function(){for(var q=0,r=l.length;q<r;q++)l[q]();return this}}else{var n=typeof j==="function"?j.bind(k||this):j,o=this._events||(this._events={}),p=o[i]||(o[i]=[]);p.push(n);return function(){for(var q=0,r=p.length;q<r;q++)if(p[q]===n){p.splice(q,1);break}}}}})}),null);
__d("art/dom/native",["art/core/class"],(function a(b,c,d,e,f,g){__p&&__p();function h(i){if(i.toElement)return i.toElement();if(i.getDOMNode)return i.getDOMNode();if(i.getNode)return i.getNode();return i}f.exports=c("art/core/class")({toElement:function i(){return this.element},getDOMNode:function i(){return this.toElement()},getNode:function i(){return this.toElement()},inject:function i(j){(j.containerElement||h(j)).appendChild(this.element);return this},injectBefore:function i(j){var k=h(j);k.parentNode.insertBefore(this.element,k);return this},eject:function i(){var j=this.element,k=j.parentNode;if(k)k.removeChild(j);return this},subscribe:function i(j,k,l){__p&&__p();if(typeof j!="string"){var m=[];for(var n in j)m.push(this.subscribe(n,j[n]));return function(){for(var q=0,r=m.length;q<r;q++)m[q]();return this}}else{if(!l)l=this;var o;if(typeof k==="function")o=k.bind?k.bind(l):function(){return k.apply(l,arguments)};else o=k;var p=this.element;if(p.addEventListener){p.addEventListener(j,o,false);return function(){p.removeEventListener(j,o,false);return this}}else{p.attachEvent("on"+j,o);return function(){p.detachEvent("on"+j,o);return this}}}}})}),null);
__d("art/dom/shadow",["art/core/class","art/dom/dummy","art/dom/native"],(function a(b,c,d,e,f,g){__p&&__p();f.exports=c("art/core/class")(c("art/dom/dummy"),c("art/dom/native"),{dummy_inject:c("art/dom/dummy").prototype.inject,dummy_injectBefore:c("art/dom/dummy").prototype.injectBefore,dummy_eject:c("art/dom/dummy").prototype.eject,native_inject:c("art/dom/native").prototype.inject,native_injectBefore:c("art/dom/native").prototype.injectBefore,native_eject:c("art/dom/native").prototype.eject,inject:function h(i){this.dummy_inject(i);this.native_inject(i);return this},injectBefore:function h(i){this.dummy_injectBefore(i);this.native_injectBefore(i);return this},eject:function h(){this.dummy_eject();this.native_eject();return this}})}),null);
__d("art/modes/canvas/node",["art/core/class","art/core/transform","art/dom/dummy"],(function a(b,c,d,e,f,g){__p&&__p();var h=c("art/core/class")(c("art/core/transform"),c("art/dom/dummy"),{invalidate:function i(){if(this.parentNode)this.parentNode.invalidate();if(this._layer)this._layerCache=null;return this},_place:function i(){this.invalidate()},_transform:function i(){this.invalidate()},blend:function i(j){if(j>=1&&this._layer)this._layer=null;this._opacity=j;if(this.parentNode)this.parentNode.invalidate();return this},hide:function i(){this._invisible=true;if(this.parentNode)this.parentNode.invalidate();return this},show:function i(){this._invisible=false;if(this.parentNode)this.parentNode.invalidate();return this},indicate:function i(j,k){this._cursor=j;this._tooltip=k;return this.invalidate()},hitTest:function i(j,k){if(this._invisible)return null;var l=this.inversePoint(j,k);if(!l)return null;return this.localHitTest(l.x,l.y)},renderTo:function i(j,k,l,m,n,o,p){__p&&__p();var q=this._opacity;if(q==null||q>=1)return this.renderLayerTo(j,k,l,m,n,o,p);var r=this._layer,s,t=true,u=j.canvas.width,v=j.canvas.height;if(r){r.setTransform(1,0,0,1,0,0);s=r.canvas;if(s.width<u||s.height<v){s.width=u;s.height=v}else{var w=this._layerCache;if(w&&w.xx===k&&w.yx===l&&w.xy===m&&w.yy===n&&w.x===o&&w.y===p)t=false;else r.clearRect(0,0,u,v)}}else{s=document.createElement("canvas");s.width=u;s.height=v;this._layer=r=s.getContext("2d")}if(t){this.renderLayerTo(r,k,l,m,n,o,p);this._layerCache={xx:k,yx:l,xy:m,yy:n,x:o,y:p}}j.globalAlpha=q;j.setTransform(1,0,0,1,0,0);j.drawImage(s,0,0,u,v,0,0,u,v);j.globalAlpha=1}});f.exports=h}),null);
__d("art/modes/canvas/base",["art/core/class","art/core/color","art/core/transform","art/modes/canvas/node"],(function a(b,c,d,e,f,g){__p&&__p();var h=typeof document!=="undefined"&&document.createElement("canvas"),i=h&&h.getContext&&h.getContext("2d");function j(l,m,n){__p&&__p();m=c("art/core/color").detach(m);n=c("art/core/color").detach(n);var o=document.createElement("canvas"),p=o.getContext("2d");o.width=l.width;o.height=l.height;p.fillStyle=n[0];p.fillRect(0,0,l.width,l.height);p.globalCompositeOperation="lighter";p.drawImage(l,0,0);return o}var k=c("art/core/class")(c("art/modes/canvas/node"),{initialize:function l(){this._fill=null;this._pendingFill=null;this._fillTransform=null;this._stroke=null;this._strokeCap=null;this._strokeDash=null;this._strokeJoin=null;this._strokeWidth=null},_addColors:function l(m,n){if("length"in n)for(var o=0,p=n.length-1;o<=p;o++)m.addColorStop(o/p,new(c("art/core/color"))(n[o]).toString());else for(var q in n)m.addColorStop(q,new(c("art/core/color"))(n[q]).toString());return m},fill:function l(m){if(arguments.length>1)return this.fillLinear(arguments);if(this._pendingFill)this._pendingFill();this._fill=m?new(c("art/core/color"))(m).toString():null;return this.invalidate()},fillRadial:function l(m,n,o,p,q,r,s){__p&&__p();if(n==null)n=(this.left||0)+(this.width||0)*.5;if(o==null)o=(this.top||0)+(this.height||0)*.5;if(q==null)q=p||this.height*.5||0;if(p==null)p=(this.width||0)*.5;if(r==null)r=n;if(s==null)s=o;r+=r-n;s+=s-o;if(p===0||p==="0")return this.fillLinear(m);var t=q/p;if(this._pendingFill)this._pendingFill();var u=i.createRadialGradient(n,o/t,0,r,s/t,p*2);if("length"in m)for(var v=0,w=m.length-1;v<=w;v++){u.addColorStop(v/w/2,new(c("art/core/color"))(m[v]).toString());u.addColorStop(1-v/w/2,new(c("art/core/color"))(m[v]).toString())}else for(var x in m){u.addColorStop(x/2,new(c("art/core/color"))(m[x]).toString());u.addColorStop(1-x/2,new(c("art/core/color"))(m[x]).toString())}this._fill=u;this._fillTransform=new(c("art/core/transform"))(1,0,0,t);return this.invalidate()},fillLinear:function l(m,n,o,p,q){__p&&__p();if(arguments.length<5){var r=(n==null?270:n)*Math.PI/180,s=Math.cos(r),t=-Math.sin(r),u=(Math.abs(s)+Math.abs(t))/2,v=this.width||1,w=this.height||1;s*=u;t*=u;n=.5-s;p=.5+s;o=.5-t;q=.5+t;this._fillTransform=new(c("art/core/transform"))(v,0,0,w)}else this._fillTransform=null;if(this._pendingFill)this._pendingFill();var x=i.createLinearGradient(n,o,p,q);this._addColors(x,m);this._fill=x;return this.invalidate()},fillImage:function l(m,n,o,p,q,r,s){__p&&__p();if(this._pendingFill)this._pendingFill();var t=m;if(!(t instanceof Image)){t=new Image();t.src=m}if(t.width&&t.height)return this._fillImage(t,n,o,p||0,q||0,r,s);this._fill=null;var u=this,v=function v(){w();u._fillImage(t,n,o,p||0,q||0,r,s)},w=function w(){t.removeEventListener("load",v,false);u._pendingFill=null};this._pendingFill=w;t.addEventListener("load",v,false);return this},_fillImage:function l(m,n,o,p,q,r,s){var t=n?n/m.width:1,u=o?o/m.height:1;if(r!=null)m=j(m,r,s);this._fill=i.createPattern(m,"repeat");this._fillTransform=new(c("art/core/transform"))(t,0,0,u,p||0,q||0);return this.invalidate()},stroke:function l(m,n,o,p,q){this._stroke=m?new(c("art/core/color"))(m).toString():null;this._strokeWidth=n!=null?n:1;this._strokeCap=o!=null?o:"round";this._strokeJoin=p!=null?p:"round";this._strokeDash=q;return this.invalidate()},element_renderTo:c("art/modes/canvas/node").prototype.renderTo,renderTo:function l(m,n,o,p,q,r,s){var t=this._opacity;if(t==null||t>=1)return this.renderLayerTo(m,n,o,p,q,r,s);if(this._fill&&this._stroke)return this.element_renderTo(m,n,o,p,q,r,s);m.globalAlpha=t;var u=this.renderLayerTo(m,n,o,p,q,r,s);m.globalAlpha=1;return u},renderLayerTo:function l(m,n,o,p,q,r,s){m.setTransform(n,o,p,q,r,s);this.renderShapeTo(m)}});k._genericContext=i;f.exports=k}),null);
__d("art/modes/canvas/clippingrectangle",["art/core/class","art/dom/container","art/modes/canvas/node"],(function a(b,c,d,e,f,g){__p&&__p();f.exports=c("art/core/class")(c("art/modes/canvas/node"),c("art/dom/container"),{initialize:function h(i,j){this.width=i;this.height=j},localHitTest:function h(i,j){var k=this.lastChild;while(k){var l=k.hitTest(i,j);if(l)return l;k=k.previousSibling}return null},renderLayerTo:function h(i,j,k,l,m,n,o){__p&&__p();i.setTransform(j,k,l,m,n,o);i.save();i.beginPath();i.rect(this.x,this.y,this.width,this.height);i.clip();var p=this.firstChild;while(p){p.renderTo(i,j,k,l,m,n,o);p=p.nextSibling}i.restore()}})}),null);
__d("art/modes/canvas/group",["art/core/class","art/dom/container","art/modes/canvas/node"],(function a(b,c,d,e,f,g){__p&&__p();f.exports=c("art/core/class")(c("art/modes/canvas/node"),c("art/dom/container"),{initialize:function h(i,j){this.width=i;this.height=j},localHitTest:function h(i,j){var k=this.lastChild;while(k){var l=k.hitTest(i,j);if(l)return l;k=k.previousSibling}return null},renderLayerTo:function h(i,j,k,l,m,n,o){__p&&__p();if(this._invisible)return;n=j*this.x+l*this.y+n;o=k*this.x+m*this.y+o;var p=j;j=p*this.xx+l*this.yx;l=p*this.xy+l*this.yy;p=k;k=p*this.xx+m*this.yx;m=p*this.xy+m*this.yy;var q=this.firstChild;while(q){q.renderTo(i,j,k,l,m,n,o);q=q.nextSibling}}})}),null);
__d("art/modes/canvas/path",["art/core/class","art/core/path"],(function a(b,c,d,e,f,g){__p&&__p();var h=c("art/core/class")(c("art/core/path"),{initialize:function i(j){this.reset();if(j instanceof h)this.path=j.path.slice(0);else if(j)if(j.applyToPath)j.applyToPath(this);else this.push(j)},onReset:function i(){this.path=[]},onMove:function i(j,k,l,m){this.path.push(function(n){n.moveTo(l,m)})},onLine:function i(j,k,l,m){this.path.push(function(n){n.lineTo(l,m)})},onBezierCurve:function i(j,k,l,m,n,o,p,q){this.path.push(function(r){r.bezierCurveTo(l,m,n,o,p,q)})},_arcToBezier:c("art/core/path").prototype.onArc,onArc:function i(j,k,l,m,n,o,p,q,r,s,t,u){if(p!=q||u)return this._arcToBezier(j,k,l,m,n,o,p,q,r,s,t,u);this.path.push(function(v){v.arc(n,o,p,r,s,t)})},onClose:function i(){this.path.push(function(j){j.closePath()})},toCommands:function i(){return this.path.slice(0)}});f.exports=h}),null);
__d("art/modes/canvas/shape",["art/core/class","art/modes/canvas/base","art/modes/canvas/path"],(function a(b,c,d,e,f,g){__p&&__p();f.exports=c("art/core/class")(c("art/modes/canvas/base"),{base_initialize:c("art/modes/canvas/base").prototype.initialize,initialize:function h(i,j,k){this.base_initialize();this.width=j;this.height=k;if(i!=null)this.draw(i)},draw:function h(i,j,k){if(!(i instanceof c("art/modes/canvas/path")))i=new(c("art/modes/canvas/path"))(i);this.path=i;this._commands=i.toCommands();if(j!=null)this.width=j;if(k!=null)this.height=k;return this.invalidate()},localHitTest:function h(i,j){__p&&__p();if(!this._fill)return null;if(this.width==null||this.height==null){var k=c("art/modes/canvas/base")._genericContext,l=this._commands;if(!l)return null;k.beginPath();for(var m=0,n=l.length;m<n;m++)l[m](k);return k.isPointInPath(i,j)?this:null}if(i>0&&j>0&&i<this.width&&j<this.height)return this;return null},renderShapeTo:function h(i){__p&&__p();if(this._invisible||!this._commands||!this._fill&&!this._stroke)return null;i.transform(this.xx,this.yx,this.xy,this.yy,this.x,this.y);var j=this._commands,k=this._fill,l=this._stroke,m=this._strokeDash;i.beginPath();if(m)if(i.setLineDash)i.setLineDash(m);else i.mozDash=m;else if(i.setLineDash)i.setLineDash([]);else i.mozDash=null;for(var n=0,o=j.length;n<o;n++)j[n](i);if(k){var p=this._fillTransform;if(p){i.save();i.transform(p.xx,p.yx,p.xy,p.yy,p.x,p.y);i.fillStyle=k;i.fill();i.restore()}else{i.fillStyle=k;i.fill()}}if(l){i.strokeStyle=l;i.lineWidth=this._strokeWidth;i.lineCap=this._strokeCap;i.lineJoin=this._strokeJoin;i.stroke()}}})}),null);
__d("art/modes/canvas/surface",["art/core/class","art/dom/container","art/dom/native"],(function a(b,c,d,e,f,g){__p&&__p();var h=1e3/60,i=[],j,k=function k(){clearTimeout(j);j=null;var p=i;i=[];for(var q=0,r=p.length;q<r;q++){var s=p[q];s._valid=true;s.render()}},l=typeof window!=="undefined"&&window.devicePixelRatio||1,m=null,n=null,o=c("art/core/class")(c("art/dom/native"),c("art/dom/container"),{initialize:function p(q,r,s){__p&&__p();var t=this.element=s||document.createElement("canvas"),u=this.context=t.getContext("2d");this._valid=true;if(q!=null&&r!=null)this.resize(q,r);t.addEventListener("mousemove",this,false);t.addEventListener("mouseout",this,false);t.addEventListener("mouseover",this,false);t.addEventListener("mouseup",this,false);t.addEventListener("mousedown",this,false);t.addEventListener("click",this,false)},handleEvent:function p(event){__p&&__p();if(event.clientX==null)return;var q=this.element,r=q.getBoundingClientRect(),s=event.clientX-r.left-q.clientLeft,t=event.clientY-r.top-q.clientTop,u=this.hitTest(s,t);if(u!==m){if(m)m.dispatch({type:"mouseout",target:m,relatedTarget:u,sourceEvent:event});if(u)u.dispatch({type:"mouseover",target:u,relatedTarget:m,sourceEvent:event});m=u;n=this;this.refreshCursor()}if(u)u.dispatch(event)},refreshCursor:function p(){__p&&__p();if(n!==this)return;var q=m,r="",s="";while(q){if(!r&&q._cursor){r=q._cursor;if(s)break}if(!s&&q._tooltip){s=q._tooltip;if(r)break}q=q.parentNode}this.element.style.cursor=r;this.element.title=s},resize:function p(q,r){var s=this.element;s.setAttribute("width",q*l);s.setAttribute("height",r*l);s.style.width=q+"px";s.style.height=r+"px";this.width=q;this.height=r;return this},invalidate:function p(q,r,s,t){__p&&__p();if(this._valid){this._valid=false;i.push(this);if(!j)if(window.mozRequestAnimationFrame){j=true;window.mozRequestAnimationFrame(k)}else j=setTimeout(k,h)}return this},hitTest:function p(q,r){__p&&__p();if(q<0||r<0||q>this.width||r>this.height)return null;var s=this.lastChild;while(s){var t=s.hitTest(q,r);if(t)return t;s=s.previousSibling}return null},render:function p(){var q=this.firstChild,r=this.context;r.setTransform(l,0,0,l,0,0);r.clearRect(0,0,this.width,this.height);while(q){q.renderTo(r,l,0,0,l,0,0);q=q.nextSibling}this.refreshCursor()}});o.tagName="canvas";f.exports=o}),null);
__d("art/modes/canvas/text",["art/core/class","art/modes/canvas/base"],(function a(b,c,d,e,f,g){__p&&__p();var h={middle:"center"};f.exports=c("art/core/class")(c("art/modes/canvas/base"),{base_initialize:c("art/modes/canvas/base").prototype.initialize,initialize:function i(j,k,l,m){this.base_initialize();this.draw.apply(this,arguments)},draw:function i(j,k,l,m){__p&&__p();var n;if(typeof k=="string")n=Number(/(\d+)/.exec(k)[0]);else if(k){n=parseFloat(k.fontSize||k["font-size"]||"12");k=(k.fontStyle||k["font-style"]||"")+" "+(k.fontVariant||k["font-variant"]||"")+" "+(k.fontWeight||k["font-weight"]||"")+" "+n+"px "+(k.fontFamily||k["font-family"]||"Arial")}else k=this._font;var o=j&&j.split(/\r?\n/);this._font=k;this._fontSize=n;this._text=o;this._alignment=h[l]||l||"left";var p=c("art/modes/canvas/base")._genericContext;p.font=this._font;p.textAlign=this._alignment;p.textBaseline="middle";o=this._text;var q=o.length,r=0;for(var s=0;s<q;s++){var t=p.measureText(o[s]).width;if(t>r)r=t}this.width=r;this.height=q?q*1.1*n:0;return this.invalidate()},localHitTest:function i(j,k){if(!this._fill)return null;if(j>0&&k>0&&j<this.width&&k<this.height)return this;return null},renderShapeTo:function i(j){__p&&__p();if(this._invisible||!this._text||!this._fill&&!this._stroke)return null;j.transform(this.xx,this.yx,this.xy,this.yy,this.x,this.y);var k=this._fill,l=this._stroke,m=this._text,n=this._strokeDash;j.font=this._font;j.textAlign=this._alignment;j.textBaseline="middle";var o=this._fontSize,p=o/2,q=1.1*o,r=m,s=r.length;if(k){j.fillStyle=k;for(var t=0;t<s;t++)j.fillText(r[t],0,p+t*q)}if(l){if(n)if(j.setLineDash)j.setLineDash(n);else j.mozDash=n;else if(j.setLineDash)j.setLineDash([]);else j.mozDash=null;j.strokeStyle=l;j.lineWidth=this._strokeWidth;j.lineCap=this._strokeCap;j.lineJoin=this._strokeJoin;for(t=0;t<s;t++)j.strokeText(r[t],0,p+t*q)}}})}),null);
__d("art/modes/current",[],(function a(b,c,d,e,f,g){__p&&__p();function h(){throw new Error("You must require a mode before requiring anything else.")}g.Surface=h;g.Path=h;g.Shape=h;g.Group=h;g.ClippingRectangle=h;g.Text=h;g.setCurrent=function(i){for(var j in i)g[j]=i[j]}}),null);
__d("art/modes/vml/dom",[],(function a(b,c,d,e,f,g){__p&&__p();var h="behavior:url(#default#VML);display:inline-block;position:absolute;left:0px;top:0px;",i,j={},k=function k(l){if(i)j[l]=i.addRule("av\\:"+l,h)};g.init=function(l){__p&&__p();var m;try{m=l.namespaces}catch(n){}if(!m)return false;m.add("av","urn:schemas-microsoft-com:vml");m.add("ao","urn:schemas-microsoft-com:office:office");i=l.createStyleSheet();i.addRule("vml","display:inline-block;position:relative;overflow:hidden;");k("vml");return true};g.createElement=function(l){if(!(l in j))k(l);return document.createElement("av:"+l)}}),null);
__d("art/modes/vml/node",["art/core/class","art/core/transform","art/dom/shadow","art/modes/vml/dom"],(function a(b,c,d,e,f,g){__p&&__p();f.exports=c("art/core/class")(c("art/dom/shadow"),c("art/core/transform"),{initialize:function h(i){var j=this.element=c("art/modes/vml/dom").createElement(i)},_place:function h(){if(this.parentNode)this._transform()},hide:function h(){this.element.style.display="none";return this},show:function h(){this.element.style.display="";return this},indicate:function h(i,j){if(i)this.element.style.cursor=i;if(j)this.element.title=j;return this}})}),null);
__d("art/modes/vml/clippingrectangle",["art/core/class","art/core/transform","art/dom/container","art/modes/vml/node"],(function a(b,c,d,e,f,g){__p&&__p();f.exports=c("art/core/class")(c("art/modes/vml/node"),c("art/dom/container"),{element_initialize:c("art/modes/vml/node").prototype.initialize,initialize:function h(i,j){this.element_initialize("clippingrectangle");this.width=i;this.height=j},_transform:function h(){__p&&__p();var i=this.element;i.clip=true;i.coordorigin=-this.x+","+-1*this.y;i.coordsize=this.width+","+this.height;i.style.clipLeft=this.x;i.style.clipRight=this.width+this.x;i.style.clipTop=this.y;i.style.left=-this.x;i.style.top=-this.y;i.style.width=this.width+this.x;i.style.height=this.height+this.y;i.style.rotation=0;var j=this.parentNode;this._activeTransform=j?new(c("art/core/transform"))(j._activeTransform).transform(this):this;var k=this.firstChild;while(k){k._transform();k=k.nextSibling}}})}),null);
__d("art/modes/vml/group",["art/core/class","art/core/transform","art/dom/container","art/modes/vml/node"],(function a(b,c,d,e,f,g){__p&&__p();f.exports=c("art/core/class")(c("art/modes/vml/node"),c("art/dom/container"),{element_initialize:c("art/modes/vml/node").prototype.initialize,initialize:function h(i,j){this.element_initialize("group");this.width=i;this.height=j},_transform:function h(){__p&&__p();var i=this.element;i.coordorigin="0,0";i.coordsize="1000,1000";i.style.left=0;i.style.top=0;i.style.width=1e3;i.style.height=1e3;i.style.rotation=0;var j=this.parentNode;this._activeTransform=j?new(c("art/core/transform"))(j._activeTransform).transform(this):this;var k=this.firstChild;while(k){k._transform();k=k.nextSibling}}})}),null);
__d("art/modes/vml/path",["art/core/class","art/core/path"],(function a(b,c,d,e,f,g){__p&&__p();var h=100,i=Math.round,j=c("art/core/class")(c("art/core/path"),{initialize:function k(l){this.reset();if(l instanceof j)this.path=[Array.prototype.join.call(l.path," ")];else if(l)if(l.applyToPath)l.applyToPath(this);else this.push(l)},onReset:function k(){this.path=[]},onMove:function k(l,m,n,o){this.path.push("m",i(n*h),i(o*h))},onLine:function k(l,m,n,o){this.path.push("l",i(n*h),i(o*h))},onBezierCurve:function k(l,m,n,o,p,q,r,s){this.path.push("c",i(n*h),i(o*h),i(p*h),i(q*h),i(r*h),i(s*h))},_arcToBezier:c("art/core/path").prototype.onArc,onArc:function k(l,m,n,o,p,q,r,s,t,u,v,w){if(r!=s||w)return this._arcToBezier(l,m,n,o,p,q,r,s,t,u,v,w);p*=h;q*=h;r*=h;this.path.push(v?"at":"wa",i(p-r),i(q-r),i(p+r),i(q+r),i(l*h),i(m*h),i(n*h),i(o*h))},onClose:function k(){this.path.push("x")},toVML:function k(){return this.path.join(" ")}});j.prototype.toString=j.prototype.toVML;f.exports=j}),null);
__d("art/modes/vml/base",["art/core/class","art/core/color","art/core/transform","art/modes/vml/dom","art/modes/vml/node"],(function a(b,c,d,e,f,g){__p&&__p();var h=100,i={left:0,top:0,width:500,height:500};f.exports=c("art/core/class")(c("art/modes/vml/node"),{element_initialize:c("art/modes/vml/node").prototype.initialize,initialize:function j(k){__p&&__p();this.element_initialize(k);var l=this.element,m=this.skewElement=c("art/modes/vml/dom").createElement("skew");m.on=true;l.appendChild(m);var n=this.fillElement=c("art/modes/vml/dom").createElement("fill");n.on=false;l.appendChild(n);var o=this.strokeElement=c("art/modes/vml/dom").createElement("stroke");o.on=false;l.appendChild(o)},_transform:function j(){__p&&__p();var k=this.parentNode,l=k?new(c("art/core/transform"))(k._activeTransform).transform(this):this;if(l.xx===0&&l.yx===0||l.xy===0&&l.yy===0){this.element.style.visibility="hidden";return}else this.element.style.visibility="";var m=this._boxCoords||this._size||i,n=m.left||0,o=m.top||0,p=m.width||1,q=m.height||1,r=l.yx/l.xx>l.yy/l.xy;if(l.xx<0?l.xy>=0:l.xy<0)r=!r;r=r?-1:1;l=new(c("art/core/transform"))().scale(r,1).transform(l);var s=Math.atan2(-l.xy,l.yy)*180/Math.PI,t=s*Math.PI/180,u=Math.sin(t),v=Math.cos(t),w=new(c("art/core/transform"))(l.xx*v-l.xy*u,(l.yx*v-l.yy*u)*r,(l.xy*v+l.xx*u)*r,l.yy*v+l.yx*u),x=new(c("art/core/transform"))().rotate(s,0,0),y=new(c("art/core/transform"))().rotate(-s,0,0).transform(l).moveTo(0,0);p=1e3;q=1e3;var z=l.x,A=l.y,B=-p/2,C=-q/2,D=x.point(B,C);z-=D.x-B;A-=D.y-C;var E=new(c("art/core/transform"))(l).moveTo(0,0);D=E.point(n,o);z+=D.x;A+=D.y;if(r<0)z=-z-p;var F=E.point(-n,-o),G=x.point(p,q),H=x.point(p,0),I=x.point(0,q),J=Math.min(0,G.x,H.x,I.x),K=Math.max(0,G.x,H.x,I.x),L=Math.min(0,G.y,H.y,I.y),M=Math.max(0,G.y,H.y,I.y),N=(F.x-G.x/2)/(K-J)*r,O=(F.y-G.y/2)/(M-L);D=y.point(n,o);n=D.x;o=D.y;var P=this._strokeWidth;if(P){var B=l.xx+l.xy,C=l.yy+l.yx;P*=Math.sqrt(B*B+C*C)/Math.sqrt(2)}n*=h;o*=h;z*=h;A*=h;p*=h;q*=h;var Q=this.element;Q.coordorigin=n+","+o;Q.coordsize=p+","+q;Q.style.left=z+"px";Q.style.top=A+"px";Q.style.width=p;Q.style.height=q;Q.style.rotation=s.toFixed(8);Q.style.flip=r<0?"x":"";var R=this.skewElement;R.matrix=[w.xx.toFixed(4),w.xy.toFixed(4),w.yx.toFixed(4),w.yy.toFixed(4),0,0];R.origin=N+","+O;this.strokeElement.weight=P+"px"},_createGradient:function j(k,l){__p&&__p();var m=this.fillElement;this.element.removeChild(m);m.type=k;m.method="none";m.rotate=true;var n=[],o,p,q=function q(t,u){u=c("art/core/color").detach(u);if(o==null)o=p=u;else p=u;n.push(t+" "+u[0])};if("length"in l)for(var r=0,s=l.length-1;r<=s;r++)q(r/s,l[r]);else for(var t in l)q(t,l[t]);m.color=o[0];m.color2=p[0];m.colors=n;m.opacity=p[1];m["ao:opacity2"]=o[1];m.on=true;this.element.appendChild(m);return m},_setColor:function j(k,l){var m=k=="fill"?this.fillElement:this.strokeElement;if(l==null)m.on=false;else{l=c("art/core/color").detach(l);m.color=l[0];m.opacity=l[1];m.on=true}},fill:function j(k){__p&&__p();if(arguments.length>1)this.fillLinear(arguments);else{this._boxCoords=i;var j=this.fillElement;j.type="solid";j.color2="";j["ao:opacity2"]="";if(j.colors)j.colors.value="";this._setColor("fill",k)}return this},fillRadial:function j(k,l,m,n,o,p,q){__p&&__p();var r=this._createGradient("gradientradial",k);if(l==null)l=this.left+this.width*.5;if(m==null)m=this.top+this.height*.5;if(o==null)o=n||this.height*.5;if(n==null)n=this.width*.5;if(p==null)p=l;if(q==null)q=m;p+=p-l;q+=q-m;var s=this._boxCoords={left:p-n*2,top:q-o*2,width:n*4,height:o*4};l-=s.left;m-=s.top;l/=s.width;m/=s.height;r.focussize="0 0";r.focusposition=l+","+m;r.focus="50%";this._transform();return this},fillLinear:function j(k,l,m,n,o){__p&&__p();var p=this._createGradient("gradient",k);p.focus="100%";if(arguments.length==5){var q=Math.abs(n-l),r=Math.abs(o-m);this._boxCoords={left:Math.min(l,n),top:Math.min(m,o),width:q<1?r:q,height:r<1?q:r};p.angle=(360+Math.atan2((n-l)/r,(o-m)/q)*180/Math.PI)%360}else{this._boxCoords=null;p.angle=l==null?0:(90+l)%360}this._transform();return this},fillImage:function j(k,l,m,n,o,p,q){__p&&__p();var r=this.fillElement;if(p!=null){p=c("art/core/color").detach(p);if(q!=null)q=c("art/core/color").detach(q);r.type="pattern";r.color=p[0];r.color2=q==null?p[0]:q[0];r.opacity=q==null?0:q[1];r["ao:opacity2"]=p[1]}else{r.type="tile";r.color="";r.color2="";r.opacity=1;r["ao:opacity2"]=1}if(r.colors)r.colors.value="";r.rotate=true;r.src=k;r.size="1,1";r.position="0,0";r.origin="0,0";r.aspect="ignore";r.on=true;if(!n)n=0;if(!o)o=0;this._boxCoords=l?{left:n+.5,top:o+.5,width:l,height:m}:null;this._transform();return this},stroke:function j(k,l,m,n){var j=this.strokeElement;this._strokeWidth=l!=null?l:1;j.weight=l!=null?l+"px":1;j.endcap=m!=null?m=="butt"?"flat":m:"round";j.joinstyle=n!=null?n:"round";this._setColor("stroke",k);return this}})}),null);
__d("art/modes/vml/shape",["art/core/class","art/modes/vml/base","art/modes/vml/dom","art/modes/vml/path"],(function a(b,c,d,e,f,g){__p&&__p();var h=100;f.exports=c("art/core/class")(c("art/modes/vml/base"),{base_initialize:c("art/modes/vml/base").prototype.initialize,initialize:function i(j,k,l){this.base_initialize("shape");var m=this.pathElement=c("art/modes/vml/dom").createElement("path");m.gradientshapeok=true;this.element.appendChild(m);this.width=k;this.height=l;if(j!=null)this.draw(j)},draw:function i(j,k,l){__p&&__p();if(!(j instanceof c("art/modes/vml/path")))j=new(c("art/modes/vml/path"))(j);this._vml=j.toVML();if(k!=null)this.width=k;if(l!=null)this.height=l;if(!this._boxCoords)this._transform();this._redraw(this._prefix,this._suffix);return this},_redraw:function i(j,k){var l=this._vml||"";this._prefix=j;this._suffix=k;if(j)l=[j,l,k,"ns e",l,"nf"].join(" ");this.element.path=l+"e"},fillRadial:function i(j,k,l,m,n,o,p){__p&&__p();var q=this._createGradient("gradientradial",j);if(k==null)k=(this.left||0)+(this.width||0)*.5;if(l==null)l=(this.top||0)+(this.height||0)*.5;if(n==null)n=m||this.height*.5||0;if(m==null)m=(this.width||0)*.5;if(o==null)o=k;if(p==null)p=l;o+=o-k;p+=p-l;var r=Math.round(o*h),s=Math.round(p*h),t=Math.round(m*2*h),u=Math.round(n*2*h),v=["wa",r-t,s-u,r+t,s+u].join(" ");this._redraw(["m",r,s-u,"l",r,s-u].join(" "),["m",r,s-u,v,r,s-u,r,s+u,v,r,s+u,r,s-u,v,r,s-u,r,s+u,v,r,s+u,r,s-u].join(" "));this._boxCoords={left:k-2,top:l-2,width:4,height:4};q.focusposition="0.5,0.5";q.focussize="0 0";q.focus="50%";this._transform();return this}})}),null);
__d("art/modes/vml/surface",["art/core/class","art/dom/container","art/dom/native","art/modes/vml/dom"],(function a(b,c,d,e,f,g){__p&&__p();var h=100,i=c("art/core/class")(c("art/dom/native"),c("art/dom/container"),{initialize:function i(j,k,l){this.element=l||document.createElement("vml");this.containerElement=c("art/modes/vml/dom").createElement("group");this.element.appendChild(this.containerElement);if(j!=null&&k!=null)this.resize(j,k)},resize:function j(k,l){__p&&__p();this.width=k;this.height=l;var m=this.element.style;m.pixelWidth=k;m.pixelHeight=l;m=this.containerElement.style;m.width=k;m.height=l;var n=.5*h;this.containerElement.coordorigin=n+","+n;this.containerElement.coordsize=k*h+","+l*h;return this}});i.tagName="av:vml";f.exports=i}),null);
__d("art/modes/vml/text",["art/core/class","art/modes/vml/base","art/modes/vml/dom","art/modes/vml/path"],(function a(b,c,d,e,f,g){__p&&__p();var h={start:"left",middle:"center",end:"right"};f.exports=c("art/core/class")(c("art/modes/vml/base"),{base_initialize:c("art/modes/vml/base").prototype.initialize,initialize:function i(j,k,l,m){this.base_initialize("shape");var n=this.pathElement=c("art/modes/vml/dom").createElement("path");n.textpathok=true;this.element.appendChild(n);n=this.textPathElement=c("art/modes/vml/dom").createElement("textpath");n.on=true;n.style["v-text-align"]="left";this.element.appendChild(n);this.draw.apply(this,arguments)},draw:function i(j,k,l,m){__p&&__p();var n=this.element,o=this.textPathElement,p=o.style;o.string=j;if(k)if(typeof k=="string")p.font=k;else for(var q in k){var r=q.camelCase?q.camelCase():q;if(r=="fontFamily")p[r]="'"+k[q]+"'";else p[r]=k[q]}if(l)p["v-text-align"]=h[l]||l;if(m){this.currentPath=m=new(c("art/modes/vml/path"))(m);this.element.path=m.toVML()}else if(!this.currentPath){var s=-1,t="\n";while((s=j.indexOf("\n",s+1))>-1)t+="\n";o.string=t+o.string;this.element.path="m0,0l1,0"}return this}})}),null);
__d("art/modes/fast-noSideEffects",["art/modes/canvas/base","art/modes/canvas/surface","art/modes/canvas/path","art/modes/canvas/shape","art/modes/canvas/group","art/modes/canvas/clippingrectangle","art/modes/canvas/text","art/modes/vml/surface","art/modes/vml/path","art/modes/vml/shape","art/modes/vml/group","art/modes/vml/clippingrectangle","art/modes/vml/text","art/modes/vml/dom"],(function a(b,c,d,e,f,g){__p&&__p();if(c("art/modes/canvas/base")._genericContext){g.Surface=c("art/modes/canvas/surface");g.Path=c("art/modes/canvas/path");g.Shape=c("art/modes/canvas/shape");g.Group=c("art/modes/canvas/group");g.ClippingRectangle=c("art/modes/canvas/clippingrectangle");g.Text=c("art/modes/canvas/text")}else{g.Surface=c("art/modes/vml/surface");g.Path=c("art/modes/vml/path");g.Shape=c("art/modes/vml/shape");g.Group=c("art/modes/vml/group");g.ClippingRectangle=c("art/modes/vml/clippingrectangle");g.Text=c("art/modes/vml/text");var h=c("art/modes/vml/dom");if(typeof document!=="undefined")h.init(document)}}),null);
__d("Sprite.art",["getStyleProperty"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={},i=null,j=/url\(([\'\"])?([^\1]*)\1\)/;function k(n){var o=n.match(j);return o?o[2]:null}function l(n){return parseFloat(n)||null}function m(n){var o=n?n.split(" "):[];if(o.length!=2)return[null,null];return[l(o[0]),l(o[1])]}f.exports={get:function n(o){if(o in h)return h[o];if(!i)i=document.createElement("i");i.className=o;document.body.appendChild(i);var p=c("getStyleProperty")(i,"backgroundImage"),q=c("getStyleProperty")(i,"backgroundSize"),r=c("getStyleProperty")(i,"backgroundPosition"),s=c("getStyleProperty")(i,"width"),t=c("getStyleProperty")(i,"height");document.body.removeChild(i);return h[o]={boxSize:[l(s),l(t)],imageSize:m(q),offset:m(r),uri:k(p)}}}}),null);
__d("ReactART-dev",["React","fbjs/lib/invariant","fbjs/lib/warning","fbjs/lib/emptyObject","prop-types/checkPropTypes","fbjs/lib/shallowEqual","fbjs/lib/ExecutionEnvironment","art/modes/current","art/modes/fast-noSideEffects","art/core/transform","ReactFeatureFlags","ReactFbErrorUtils","ReactFiberErrorDialog"],(function a(b,c,d,e,f,g){"use strict"}),null);
__d("ReactART-prod",["React","fbjs/lib/invariant","fbjs/lib/emptyObject","fbjs/lib/shallowEqual","fbjs/lib/ExecutionEnvironment","art/modes/current","art/modes/fast-noSideEffects","art/core/transform","ReactFeatureFlags","ReactFbErrorUtils","ReactFiberErrorDialog"],(function ba(ca,c,da,ea,fa,ga){"use strict";__p&&__p();var ha=c("React").__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ia="function"===typeof Symbol&&Symbol["for"],ja=ia?Symbol["for"]("react.element"):60103,ka=ia?Symbol["for"]("react.call"):60104,la=ia?Symbol["for"]("react.return"):60105,ma=ia?Symbol["for"]("react.portal"):60106,na=ia?Symbol["for"]("react.fragment"):60107,oa=ia?Symbol["for"]("react.strict_mode"):60108,pa=ia?Symbol["for"]("react.provider"):60109,qa=ia?Symbol["for"]("react.context"):60110,ra=ia?Symbol["for"]("react.async_mode"):60111,sa="function"===typeof Symbol&&(typeof Symbol==="function"?Symbol.iterator:"@@iterator");function ta(h){if(null===h||"undefined"===typeof h)return null;h=sa&&h[sa]||h["@@iterator"];return"function"===typeof h?h:null}function ua(h){__p&&__p();h=h.type;if("function"===typeof h)return h.displayName||h.name;if("string"===typeof h)return h;switch(h){case na:return"ReactFragment";case ma:return"ReactPortal";case ka:return"ReactCall";case la:return"ReactReturn"}return null}function va(h){__p&&__p();var i=h;if(h.alternate)for(;i["return"];)i=i["return"];else{if(0!==(i.effectTag&2))return 1;for(;i["return"];)if(i=i["return"],0!==(i.effectTag&2))return 1}return 3===i.tag?2:3}function wa(h){return(h=h._reactInternalFiber)?2===va(h):!1}function xa(h){2===va(h)||c("fbjs/lib/invariant")(0)}function ya(h){__p&&__p();var i=h.alternate;if(!i)return i=va(h),c("fbjs/lib/invariant")(3!==i,"Unable to find node on an unmounted component."),1===i?null:h;for(var j=h,k=i;;){var l=j["return"],m=l?l.alternate:null;if(!l||!m)break;if(l.child===m.child){for(var n=l.child;n;){if(n===j)return xa(l),h;if(n===k)return xa(l),i;n=n.sibling}c("fbjs/lib/invariant")(0)}if(j["return"]!==k["return"])j=l,k=m;else{n=!1;for(var o=l.child;o;){if(o===j){n=!0;j=l;k=m;break}if(o===k){n=!0;k=l;j=m;break}o=o.sibling}if(!n){for(o=m.child;o;){if(o===j){n=!0;j=m;k=l;break}if(o===k){n=!0;k=m;j=l;break}o=o.sibling}n||c("fbjs/lib/invariant")(0)}}j.alternate===k||c("fbjs/lib/invariant")(0)}3===j.tag||c("fbjs/lib/invariant")(0);return j.stateNode.current===j?h:i}function za(h){__p&&__p();h=ya(h);if(!h)return null;for(var i=h;;){if(5===i.tag||6===i.tag)return i;if(i.child)i.child["return"]=i,i=i.child;else{if(i===h)break;for(;!i.sibling;){if(!i["return"]||i["return"]===h)return null;i=i["return"]}i.sibling["return"]=i["return"];i=i.sibling}}return null}function Aa(h){__p&&__p();h=ya(h);if(!h)return null;for(var i=h;;){if(5===i.tag||6===i.tag)return i;if(i.child&&4!==i.tag)i.child["return"]=i,i=i.child;else{if(i===h)break;for(;!i.sibling;){if(!i["return"]||i["return"]===h)return null;i=i["return"]}i.sibling["return"]=i["return"];i=i.sibling}}return null}var Ba=[],Ca=-1;function d(h){0>Ca||(h.current=Ba[Ca],Ba[Ca]=null,Ca--)}function e(h,i){Ca++;Ba[Ca]=h.current;h.current=i}var Da=c("ReactFeatureFlags").debugRenderPhaseSideEffects,Ea=c("ReactFeatureFlags").debugRenderPhaseSideEffectsForStrictMode;new Set();var f={current:c("fbjs/lib/emptyObject")},g={current:!1},Fa=c("fbjs/lib/emptyObject");function Ga(h){return Ia(h)?Fa:f.current}function Ha(h,i){__p&&__p();var j=h.type.contextTypes;if(!j)return c("fbjs/lib/emptyObject");var k=h.stateNode;if(k&&k.__reactInternalMemoizedUnmaskedChildContext===i)return k.__reactInternalMemoizedMaskedChildContext;var l={},m;for(m in j)l[m]=i[m];k&&(h=h.stateNode,h.__reactInternalMemoizedUnmaskedChildContext=i,h.__reactInternalMemoizedMaskedChildContext=l);return l}function Ia(h){return 2===h.tag&&null!=h.type.childContextTypes}function Ja(h){Ia(h)&&(d(g,h),d(f,h))}function Ka(h,i,j){null==f.cursor||c("fbjs/lib/invariant")(0);e(f,i,h);e(g,j,h)}function La(h,i){var j=h.stateNode,k=h.type.childContextTypes;if("function"!==typeof j.getChildContext)return i;j=j.getChildContext();for(var l in j)l in k||c("fbjs/lib/invariant")(0);return Object.assign({},i,j)}function Ma(h){if(!Ia(h))return!1;var i=h.stateNode;i=i&&i.__reactInternalMemoizedMergedChildContext||c("fbjs/lib/emptyObject");Fa=f.current;e(f,i,h);e(g,g.current,h);return!0}function Na(h,i){__p&&__p();var j=h.stateNode;j||c("fbjs/lib/invariant")(0);if(i){var k=La(h,Fa);j.__reactInternalMemoizedMergedChildContext=k;d(g,h);d(f,h);e(f,k,h)}else d(g,h);e(g,i,h)}function Oa(h,i,j,k){__p&&__p();this.tag=h;this.key=j;this.stateNode=this.type=null;this.sibling=this.child=this["return"]=null;this.index=0;this.ref=null;this.pendingProps=i;this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=k;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.expirationTime=0;this.alternate=null}function Pa(h,i,j){__p&&__p();var k=h.alternate;null===k?(k=new Oa(h.tag,i,h.key,h.mode),k.type=h.type,k.stateNode=h.stateNode,k.alternate=h,h.alternate=k):(k.pendingProps=i,k.effectTag=0,k.nextEffect=null,k.firstEffect=null,k.lastEffect=null);k.expirationTime=j;k.child=h.child;k.memoizedProps=h.memoizedProps;k.memoizedState=h.memoizedState;k.updateQueue=h.updateQueue;k.sibling=h.sibling;k.index=h.index;k.ref=h.ref;return k}function Qa(h,i,j){__p&&__p();var k=h.type,l=h.key;h=h.props;var m=void 0;if("function"===typeof k)m=k.prototype&&k.prototype.isReactComponent?2:0;else if("string"===typeof k)m=5;else switch(k){case na:return Sa(h.children,i,j,l);case ra:m=11;i|=3;break;case oa:m=11;i|=2;break;case ka:m=7;break;case la:m=9;break;default:if("object"===typeof k&&null!==k)switch(k.$$typeof){case pa:m=13;break;case qa:m=12;break;default:if("number"===typeof k.tag)return i=k,i.pendingProps=h,i.expirationTime=j,i;Ra(k,null)}else Ra(k,null)}i=new Oa(m,h,l,i);i.type=k;i.expirationTime=j;return i}function Ra(h){c("fbjs/lib/invariant")(0)}function Sa(h,i,j,k){h=new Oa(10,h,k,i);h.expirationTime=j;return h}function Ta(h,i,j){h=new Oa(6,h,null,i);h.expirationTime=j;return h}function Ua(h,i,j){i=new Oa(4,null!==h.children?h.children:[],h.key,i);i.expirationTime=j;i.stateNode={containerInfo:h.containerInfo,pendingChildren:null,implementation:h.implementation};return i}var Va=null,Wa=null;function Xa(h){return function(i){try{return h(i)}catch(j){}}}function Ya(h){__p&&__p();if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var i=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(i.isDisabled||!i.supportsFiber)return!0;try{var j=i.inject(h);Va=Xa(function(l){return i.onCommitFiberRoot(j,l)});Wa=Xa(function(l){return i.onCommitFiberUnmount(j,l)})}catch(k){}return!0}function Za(h){"function"===typeof Va&&Va(h)}function $a(h){"function"===typeof Wa&&Wa(h)}var ab=c("ReactFbErrorUtils").invokeGuardedCallback;"function"===typeof ab||c("fbjs/lib/invariant")(0);function bb(h){return{baseState:h,expirationTime:0,first:null,last:null,callbackList:null,hasForceUpdate:!1,isInitialized:!1}}function cb(h,i){null===h.last?h.first=h.last=i:(h.last.next=i,h.last=i);if(0===h.expirationTime||h.expirationTime>i.expirationTime)h.expirationTime=i.expirationTime}function db(h,i){var j=h.alternate,k=h.updateQueue;null===k&&(k=h.updateQueue=bb(null));null!==j?(h=j.updateQueue,null===h&&(h=j.updateQueue=bb(null))):h=null;h=h!==k?h:null;null===h?cb(k,i):null===k.last||null===h.last?(cb(k,i),cb(h,i)):(cb(k,i),h.last=i)}function eb(h,i,j,k){h=h.partialState;return"function"===typeof h?h.call(i,j,k):h}function fb(h,i,j,k,l,m){__p&&__p();null!==h&&h.updateQueue===j&&(j=i.updateQueue={baseState:j.baseState,expirationTime:j.expirationTime,first:j.first,last:j.last,isInitialized:j.isInitialized,callbackList:null,hasForceUpdate:!1});j.expirationTime=0;j.isInitialized?h=j.baseState:(h=j.baseState=i.memoizedState,j.isInitialized=!0);for(var n=!0,o=j.first,p=!1;null!==o;){var q=o.expirationTime;if(q>m){var r=j.expirationTime;if(0===r||r>q)j.expirationTime=q;p||(p=!0,j.baseState=h)}else{p||(j.first=o.next,null===j.first&&(j.last=null));(Da||Ea&&i.mode&2)&&eb(o,k,h,l);if(o.isReplace)h=eb(o,k,h,l),n=!0;else if(q=eb(o,k,h,l))h=n?Object.assign({},h,q):Object.assign(h,q),n=!1;o.isForced&&(j.hasForceUpdate=!0);null!==o.callback&&(q=j.callbackList,null===q&&(q=j.callbackList=[]),q.push(o))}o=o.next}null!==j.callbackList?i.effectTag|=32:null!==j.first||j.hasForceUpdate||(i.updateQueue=null);p||(j.baseState=h);return h}function gb(h,i){var j=h.callbackList;if(null!==j)for(h.callbackList=null,h=0;h<j.length;h++){var k=j[h],l=k.callback;k.callback=null;"function"===typeof l||c("fbjs/lib/invariant")(0);l.call(i)}}function hb(h,i,j,k){__p&&__p();function l(o,p){p.updater=n;o.stateNode=p;p._reactInternalFiber=o}function m(o,p,q){p=o.type;if("function"===typeof p.getDerivedStateFromProps)return(Da||Ea&&o.mode&2)&&p.getDerivedStateFromProps.call(null,q,o.memoizedState),p.getDerivedStateFromProps.call(null,q,o.memoizedState)}var n={isMounted:wa,enqueueSetState:function o(p,q,r){p=p._reactInternalFiber;r=void 0===r?null:r;var s=i(p);db(p,{expirationTime:s,partialState:q,callback:r,isReplace:!1,isForced:!1,nextCallback:null,next:null});h(p,s)},enqueueReplaceState:function o(p,q,r){p=p._reactInternalFiber;r=void 0===r?null:r;var s=i(p);db(p,{expirationTime:s,partialState:q,callback:r,isReplace:!0,isForced:!1,nextCallback:null,next:null});h(p,s)},enqueueForceUpdate:function o(p,q){p=p._reactInternalFiber;q=void 0===q?null:q;var r=i(p);db(p,{expirationTime:r,partialState:null,callback:q,isReplace:!1,isForced:!0,nextCallback:null,next:null});h(p,r)}};return{adoptClassInstance:l,callGetDerivedStateFromProps:m,constructClassInstance:function o(p,q){__p&&__p();var r=p.type,s=Ga(p),t=2===p.tag&&null!=p.type.contextTypes,u=t?Ha(p,s):c("fbjs/lib/emptyObject");(Da||Ea&&p.mode&2)&&new r(q,u);r=new r(q,u);var v=null!==r.state&&void 0!==r.state?r.state:null;l(p,r);p.memoizedState=v;q=m(p,r,q);null!==q&&void 0!==q&&(p.memoizedState=Object.assign({},p.memoizedState,q));t&&(p=p.stateNode,p.__reactInternalMemoizedUnmaskedChildContext=s,p.__reactInternalMemoizedMaskedChildContext=u);return r},mountClassInstance:function o(p,q){var r=p.alternate,s=p.stateNode,t=p.pendingProps,u=Ga(p);s.props=t;s.state=p.memoizedState;s.refs=c("fbjs/lib/emptyObject");s.context=Ha(p,u);"function"!==typeof s.UNSAFE_componentWillMount&&"function"!==typeof s.componentWillMount||"function"===typeof p.type.getDerivedStateFromProps||(u=s.state,"function"===typeof s.componentWillMount&&s.componentWillMount(),"function"===typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount(),u!==s.state&&n.enqueueReplaceState(s,s.state,null),u=p.updateQueue,null!==u&&(s.state=fb(r,p,u,s,t,q)));"function"===typeof s.componentDidMount&&(p.effectTag|=4)},updateClassInstance:function o(p,q,r){__p&&__p();var s=q.stateNode;s.props=q.memoizedProps;s.state=q.memoizedState;var t=q.memoizedProps,u=q.pendingProps,v=s.context,w=Ga(q);w=Ha(q,w);"function"!==typeof s.UNSAFE_componentWillReceiveProps&&"function"!==typeof s.componentWillReceiveProps||"function"===typeof q.type.getDerivedStateFromProps||t===u&&v===w||(v=s.state,"function"===typeof s.componentWillReceiveProps&&s.componentWillReceiveProps(u,w),"function"===typeof s.UNSAFE_componentWillReceiveProps&&s.UNSAFE_componentWillReceiveProps(u,w),s.state!==v&&n.enqueueReplaceState(s,s.state,null));var x=void 0;t!==u&&(x=m(q,s,u));v=q.memoizedState;r=null!==q.updateQueue?fb(p,q,q.updateQueue,s,u,r):v;null!==x&&void 0!==x&&(r=null===r||void 0===r?x:Object.assign({},r,x));if(!(t!==u||v!==r||g.current||null!==q.updateQueue&&q.updateQueue.hasForceUpdate))return"function"!==typeof s.componentDidUpdate||t===p.memoizedProps&&v===p.memoizedState||(q.effectTag|=4),!1;x=r;if(null===t||null!==q.updateQueue&&q.updateQueue.hasForceUpdate)x=!0;else{var y=q.stateNode,z=q.type;x="function"===typeof y.shouldComponentUpdate?y.shouldComponentUpdate(u,x,w):z.prototype&&z.prototype.isPureReactComponent?!c("fbjs/lib/shallowEqual")(t,u)||!c("fbjs/lib/shallowEqual")(v,x):!0}x?("function"!==typeof s.UNSAFE_componentWillUpdate&&"function"!==typeof s.componentWillUpdate||"function"===typeof q.type.getDerivedStateFromProps||("function"===typeof s.componentWillUpdate&&s.componentWillUpdate(u,r,w),"function"===typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(u,r,w)),"function"===typeof s.componentDidUpdate&&(q.effectTag|=4)):("function"!==typeof s.componentDidUpdate||t===p.memoizedProps&&v===p.memoizedState||(q.effectTag|=4),j(q,u),k(q,r));s.props=u;s.state=r;s.context=w;return x}}}var ib=Array.isArray;function jb(h,i){__p&&__p();var j=i.ref;if(null!==j&&"function"!==typeof j){if(i._owner){i=i._owner;var k=void 0;i&&(c("fbjs/lib/invariant")(2===i.tag,"Stateless function components cannot have refs."),k=i.stateNode);k||c("fbjs/lib/invariant")(0);var l=""+j;if(null!==h&&null!==h.ref&&h.ref._stringRef===l)return h.ref;h=function h(m){var n=k.refs===c("fbjs/lib/emptyObject")?k.refs={}:k.refs;null===m?delete n[l]:n[l]=m};h._stringRef=l;return h}"string"===typeof j||c("fbjs/lib/invariant")(0);i._owner||c("fbjs/lib/invariant")(0)}return j}function kb(h,i){"textarea"!==h.type&&c("fbjs/lib/invariant")(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===Object.prototype.toString.call(i)?"object with keys {"+Object.keys(i).join(", ")+"}":i,"")}function lb(h){__p&&__p();function i(x,y){if(h){var z=x.lastEffect;null!==z?(z.nextEffect=y,x.lastEffect=y):x.firstEffect=x.lastEffect=y;y.nextEffect=null;y.effectTag=8}}function j(x,y){if(!h)return null;for(;null!==y;)i(x,y),y=y.sibling;return null}function k(x,y){for(x=new Map();null!==y;)null!==y.key?x.set(y.key,y):x.set(y.index,y),y=y.sibling;return x}function l(x,y,z){x=Pa(x,y,z);x.index=0;x.sibling=null;return x}function m(x,y,z){x.index=z;if(!h)return y;z=x.alternate;if(null!==z)return z=z.index,z<y?(x.effectTag=2,y):z;x.effectTag=2;return y}function n(x){h&&null===x.alternate&&(x.effectTag=2);return x}function o(x,y,z,A){if(null===y||6!==y.tag)return y=Ta(z,x.mode,A),y["return"]=x,y;y=l(y,z,A);y["return"]=x;return y}function p(x,y,z,A){if(null!==y&&y.type===z.type)return A=l(y,z.props,A),A.ref=jb(y,z),A["return"]=x,A;A=Qa(z,x.mode,A);A.ref=jb(y,z);A["return"]=x;return A}function q(x,y,z,A){if(null===y||4!==y.tag||y.stateNode.containerInfo!==z.containerInfo||y.stateNode.implementation!==z.implementation)return y=Ua(z,x.mode,A),y["return"]=x,y;y=l(y,z.children||[],A);y["return"]=x;return y}function r(x,y,z,A,B){if(null===y||10!==y.tag)return y=Sa(z,x.mode,A,B),y["return"]=x,y;y=l(y,z,A);y["return"]=x;return y}function s(x,y,z){__p&&__p();if("string"===typeof y||"number"===typeof y)return y=Ta(""+y,x.mode,z),y["return"]=x,y;if("object"===typeof y&&null!==y){switch(y.$$typeof){case ja:return z=Qa(y,x.mode,z),z.ref=jb(null,y),z["return"]=x,z;case ma:return y=Ua(y,x.mode,z),y["return"]=x,y}if(ib(y)||ta(y))return y=Sa(y,x.mode,z,null),y["return"]=x,y;kb(x,y)}return null}function t(x,y,z,A){__p&&__p();var B=null!==y?y.key:null;if("string"===typeof z||"number"===typeof z)return null!==B?null:o(x,y,""+z,A);if("object"===typeof z&&null!==z){switch(z.$$typeof){case ja:return z.key===B?z.type===na?r(x,y,z.props.children,A,B):p(x,y,z,A):null;case ma:return z.key===B?q(x,y,z,A):null}if(ib(z)||ta(z))return null!==B?null:r(x,y,z,A,null);kb(x,z)}return null}function u(x,y,z,A,B){__p&&__p();if("string"===typeof A||"number"===typeof A)return x=x.get(z)||null,o(y,x,""+A,B);if("object"===typeof A&&null!==A){switch(A.$$typeof){case ja:return x=x.get(null===A.key?z:A.key)||null,A.type===na?r(y,x,A.props.children,B,A.key):p(y,x,A,B);case ma:return x=x.get(null===A.key?z:A.key)||null,q(y,x,A,B)}if(ib(A)||ta(A))return x=x.get(z)||null,r(y,x,A,B,null);kb(y,A)}return null}function v(x,y,z,A){__p&&__p();for(var B=null,C=null,D=y,E=y=0,F=null;null!==D&&E<z.length;E++){D.index>E?(F=D,D=null):F=D.sibling;var b=t(x,D,z[E],A);if(null===b){null===D&&(D=F);break}h&&D&&null===b.alternate&&i(x,D);y=m(b,y,E);null===C?B=b:C.sibling=b;C=b;D=F}if(E===z.length)return j(x,D),B;if(null===D){for(;E<z.length;E++)if(D=s(x,z[E],A))y=m(D,y,E),null===C?B=D:C.sibling=D,C=D;return B}for(D=k(x,D);E<z.length;E++)if(F=u(D,x,E,z[E],A)){if(h&&null!==F.alternate)D["delete"](null===F.key?E:F.key);y=m(F,y,E);null===C?B=F:C.sibling=F;C=F}h&&D.forEach(function(G){return i(x,G)});return B}function w(x,y,z,A){__p&&__p();var B=ta(z);"function"===typeof B||c("fbjs/lib/invariant")(0);z=B.call(z);null!=z||c("fbjs/lib/invariant")(0);for(var C=B=null,D=y,E=y=0,F=null,b=z.next();null!==D&&!b.done;E++,b=z.next()){D.index>E?(F=D,D=null):F=D.sibling;var G=t(x,D,b.value,A);if(null===G){D||(D=F);break}h&&D&&null===G.alternate&&i(x,D);y=m(G,y,E);null===C?B=G:C.sibling=G;C=G;D=F}if(b.done)return j(x,D),B;if(null===D){for(;!b.done;E++,b=z.next())b=s(x,b.value,A),null!==b&&(y=m(b,y,E),null===C?B=b:C.sibling=b,C=b);return B}for(D=k(x,D);!b.done;E++,b=z.next())if(b=u(D,x,E,b.value,A),null!==b){if(h&&null!==b.alternate)D["delete"](null===b.key?E:b.key);y=m(b,y,E);null===C?B=b:C.sibling=b;C=b}h&&D.forEach(function(H){return i(x,H)});return B}return function(x,y,z,A){__p&&__p();"object"===typeof z&&null!==z&&z.type===na&&null===z.key&&(z=z.props.children);var B="object"===typeof z&&null!==z;if(B)switch(z.$$typeof){case ja:a:{var C=z.key;for(B=y;null!==B;){if(B.key===C)if(10===B.tag?z.type===na:B.type===z.type){j(x,B.sibling);y=l(B,z.type===na?z.props.children:z.props,A);y.ref=jb(B,z);y["return"]=x;x=y;break a}else{j(x,B);break}else i(x,B);B=B.sibling}z.type===na?(y=Sa(z.props.children,x.mode,A,z.key),y["return"]=x,x=y):(A=Qa(z,x.mode,A),A.ref=jb(y,z),A["return"]=x,x=A)}return n(x);case ma:a:{for(B=z.key;null!==y;){if(y.key===B)if(4===y.tag&&y.stateNode.containerInfo===z.containerInfo&&y.stateNode.implementation===z.implementation){j(x,y.sibling);y=l(y,z.children||[],A);y["return"]=x;x=y;break a}else{j(x,y);break}else i(x,y);y=y.sibling}y=Ua(z,x.mode,A);y["return"]=x;x=y}return n(x)}if("string"===typeof z||"number"===typeof z)return z=""+z,null!==y&&6===y.tag?(j(x,y.sibling),y=l(y,z,A)):(j(x,y),y=Ta(z,x.mode,A)),y["return"]=x,x=y,n(x);if(ib(z))return v(x,y,z,A);if(ta(z))return w(x,y,z,A);B&&kb(x,z);if("undefined"===typeof z)switch(x.tag){case 2:case 1:A=x.type,c("fbjs/lib/invariant")(!1,"%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",A.displayName||A.name||"Component")}return j(x,y)}}var mb=lb(!0),nb=lb(!1),ob=[],pb=-1;function qb(h){pb+=1;ob[pb]=h;var i=h.type.context;i.currentValue=h.pendingProps.value;i.changedBits=h.stateNode}function rb(h){ob[pb]=null;--pb;h=h.type.context;if(0>pb)h.currentValue=h.defaultValue,h.changedBits=0;else{var i=ob[pb];h.currentValue=i.pendingProps.value;h.changedBits=i.stateNode}}function sb(h,i,j,k,l){__p&&__p();function m(F,b,G){var H=b.expirationTime;b.child=null===F?nb(b,null,G,H):mb(b,F.child,G,H)}function n(F,b){var G=b.ref;null===G||F&&F.ref===G||(b.effectTag|=128)}function o(F,b,G,H){__p&&__p();n(F,b);if(!G)return H&&Na(b,!1),r(F,b);G=b.stateNode;ha.current=b;(Da||Ea&&b.mode&2)&&G.render();var I=G.render();b.effectTag|=1;m(F,b,I);b.memoizedState=G.state;b.memoizedProps=G.props;H&&Na(b,!0);return b.child}function p(F){var b=F.stateNode;b.pendingContext?Ka(F,b.pendingContext,b.pendingContext!==b.context):b.context&&Ka(F,b.context,!1);w(F,b.containerInfo)}function q(F,b,G,H){__p&&__p();for(var I=F.child;null!==I;){switch(I.tag){case 12:var J=I.stateNode|0;if(I.type===b&&0!==(J&G)){for(J=I;null!==J;){var K=J.alternate;if(0===J.expirationTime||J.expirationTime>H)J.expirationTime=H,null!==K&&(0===K.expirationTime||K.expirationTime>H)&&(K.expirationTime=H);else if(null!==K&&(0===K.expirationTime||K.expirationTime>H))K.expirationTime=H;else break;J=J["return"]}J=null}else J=I.child;break;case 13:J=I.type===F.type?null:I.child;break;default:J=I.child}if(null!==J)J["return"]=I;else for(J=I;null!==J;){if(J===F){J=null;break}I=J.sibling;if(null!==I){J=I;break}J=J["return"]}I=J}}function r(F,b){__p&&__p();null===F||b.child===F.child||c("fbjs/lib/invariant")(0);if(null!==b.child){F=b.child;var G=Pa(F,F.pendingProps,F.expirationTime);b.child=G;for(G["return"]=b;null!==F.sibling;)F=F.sibling,G=G.sibling=Pa(F,F.pendingProps,F.expirationTime),G["return"]=b;G.sibling=null}return b.child}function s(F,b){switch(b.tag){case 3:p(b);break;case 2:Ma(b);break;case 4:w(b,b.stateNode.containerInfo);break;case 13:qb(b)}return null}var t=h.shouldSetTextContent,u=h.shouldDeprioritizeSubtree,v=i.pushHostContext,w=i.pushHostContainer,x=j.enterHydrationState,y=j.resetHydrationState,z=j.tryToClaimNextHydratableInstance;h=hb(k,l,function(F,b){F.memoizedProps=b},function(F,b){F.memoizedState=b});var A=h.adoptClassInstance,B=h.callGetDerivedStateFromProps,C=h.constructClassInstance,D=h.mountClassInstance,E=h.updateClassInstance;return{beginWork:function F(b,G,H){__p&&__p();if(0===G.expirationTime||G.expirationTime>H)return s(b,G);switch(G.tag){case 0:null===b||c("fbjs/lib/invariant")(0);var I=G.type,J=G.pendingProps,K=Ga(G);K=Ha(G,K);I=I(J,K);G.effectTag|=1;"object"===typeof I&&null!==I&&"function"===typeof I.render&&void 0===I.$$typeof?(K=G.type,G.tag=2,G.memoizedState=null!==I.state&&void 0!==I.state?I.state:null,"function"===typeof K.getDerivedStateFromProps&&(J=B(G,I,J),null!==J&&void 0!==J&&(G.memoizedState=Object.assign({},G.memoizedState,J))),J=Ma(G),A(G,I),D(G,H),b=o(b,G,!0,J)):(G.tag=1,m(b,G,I),G.memoizedProps=J,b=G.child);return b;case 1:return J=G.type,H=G.pendingProps,g.current||G.memoizedProps!==H?(I=Ga(G),I=Ha(G,I),J=J(H,I),G.effectTag|=1,m(b,G,J),G.memoizedProps=H,b=G.child):b=r(b,G),b;case 2:return J=Ma(G),I=void 0,null===b?G.stateNode?c("fbjs/lib/invariant")(!1,"Resuming work not yet implemented."):(C(G,G.pendingProps),D(G,H),I=!0):I=E(b,G,H),o(b,G,I,J);case 3:return p(G),J=G.updateQueue,null!==J?(I=G.memoizedState,J=fb(b,G,J,null,null,H),I===J?(y(),b=r(b,G)):(I=J.element,K=G.stateNode,(null===b||null===b.child)&&K.hydrate&&x(G)?(G.effectTag|=2,G.child=nb(G,null,I,H)):(y(),m(b,G,I)),G.memoizedState=J,b=G.child)):(y(),b=r(b,G)),b;case 5:v(G);null===b&&z(G);J=G.type;var L=G.memoizedProps;I=G.pendingProps;K=null!==b?b.memoizedProps:null;g.current||L!==I?(L=I.children,t(J,I)?L=null:K&&t(J,K)&&(G.effectTag|=16),n(b,G),1073741823!==H&&G.mode&1&&u(J,I)?(G.expirationTime=1073741823,b=null):(m(b,G,L),G.memoizedProps=I,b=G.child)):b=r(b,G);return b;case 6:return null===b&&z(G),G.memoizedProps=G.pendingProps,null;case 8:G.tag=7;case 7:return J=G.pendingProps,g.current||G.memoizedProps!==J||(J=G.memoizedProps),I=J.children,G.stateNode=null===b?nb(G,G.stateNode,I,H):mb(G,b.stateNode,I,H),G.memoizedProps=J,G.stateNode;case 9:return null;case 4:return w(G,G.stateNode.containerInfo),J=G.pendingProps,g.current||G.memoizedProps!==J?(null===b?G.child=mb(G,null,J,H):m(b,G,J),G.memoizedProps=J,b=G.child):b=r(b,G),b;case 10:return H=G.pendingProps,g.current||G.memoizedProps!==H?(m(b,G,H),G.memoizedProps=H,b=G.child):b=r(b,G),b;case 11:return H=G.pendingProps.children,g.current||null!==H&&G.memoizedProps!==H?(m(b,G,H),G.memoizedProps=H,b=G.child):b=r(b,G),b;case 13:J=G.type.context;I=G.pendingProps;K=G.memoizedProps;if(g.current||K!==I){G.memoizedProps=I;L=I.value;if(null===K)L=1073741823;else{var oc=K.value;oc===L&&(0!==oc||1/oc===1/L)||oc!==oc&&L!==L?L=0:(L="function"===typeof J.calculateChangedBits?J.calculateChangedBits(oc,L):1073741823,L|=0,0!==L&&q(G,J,L,H))}G.stateNode=L;qb(G);null!==K&&K.children===I.children?b=r(b,G):(m(b,G,I.children),b=G.child)}else G.stateNode=0,qb(G),b=r(b,G);return b;case 12:K=G.type;I=G.pendingProps;J=K.currentValue;L=K.changedBits;0!==L&&q(G,K,L,H);H=I.observedBits;if(void 0===H||null===H)H=1073741823;G.stateNode=H;H=I.children;H=H(J);m(b,G,H);return G.child;default:c("fbjs/lib/invariant")(0)}},beginFailedWork:function F(b,G,H){__p&&__p();switch(G.tag){case 2:Ma(G);break;case 3:p(G);break;default:c("fbjs/lib/invariant")(0)}G.effectTag|=64;null===b?G.child=null:G.child!==b.child&&(G.child=b.child);if(0===G.expirationTime||G.expirationTime>H)return s(b,G);G.firstEffect=null;G.lastEffect=null;G.child=null===b?nb(G,null,null,H):mb(G,b.child,null,H);2===G.tag&&(b=G.stateNode,G.memoizedProps=b.props,G.memoizedState=b.state);return G.child}}}function tb(h,i,j){__p&&__p();function k(B){B.effectTag|=4}var l=h.createInstance,m=h.createTextInstance,n=h.appendInitialChild,o=h.finalizeInitialChildren,p=h.prepareUpdate,q=h.persistence,r=i.getRootHostContainer,s=i.popHostContext,t=i.getHostContext,u=i.popHostContainer,v=j.prepareToHydrateHostInstance,w=j.prepareToHydrateHostTextInstance,x=j.popHydrationState,y=void 0,z=void 0,A=void 0;h.mutation?(y=function y(){},z=function z(B,C,D){(C.updateQueue=D)&&k(C)},A=function A(B,C,D,E){D!==E&&k(C)}):q?c("fbjs/lib/invariant")(!1,"Persistent reconciler is disabled."):c("fbjs/lib/invariant")(!1,"Noop reconciler is disabled.");return{completeWork:function B(C,D,E){__p&&__p();var F=D.pendingProps;switch(D.tag){case 1:return null;case 2:return Ja(D),null;case 3:u(D);d(g,D);d(f,D);F=D.stateNode;F.pendingContext&&(F.context=F.pendingContext,F.pendingContext=null);if(null===C||null===C.child)x(D),D.effectTag&=-3;y(D);return null;case 5:s(D);E=r();var b=D.type;if(null!==C&&null!=D.stateNode){var G=C.memoizedProps,H=D.stateNode,I=t();H=p(H,b,G,F,E,I);z(C,D,H,b,G,F,E,I);C.ref!==D.ref&&(D.effectTag|=128)}else{if(!F)return c("fbjs/lib/invariant")(null!==D.stateNode,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;C=t();if(x(D))v(D,E,C)&&k(D);else{G=l(b,F,E,C,D);a:for(I=D.child;null!==I;){if(5===I.tag||6===I.tag)n(G,I.stateNode);else if(4!==I.tag&&null!==I.child){I.child["return"]=I;I=I.child;continue}if(I===D)break;for(;null===I.sibling;){if(null===I["return"]||I["return"]===D)break a;I=I["return"]}I.sibling["return"]=I["return"];I=I.sibling}o(G,b,F,E,C)&&k(D);D.stateNode=G}null!==D.ref&&(D.effectTag|=128)}return null;case 6:if(C&&null!=D.stateNode)A(C,D,C.memoizedProps,F);else{if("string"!==typeof F)return c("fbjs/lib/invariant")(null!==D.stateNode,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;C=r();E=t();x(D)?w(D)&&k(D):D.stateNode=m(F,C,E,D)}return null;case 7:F=D.memoizedProps;F||c("fbjs/lib/invariant")(0);D.tag=8;b=[];a:for((G=D.stateNode)&&(G["return"]=D);null!==G;){if(5===G.tag||6===G.tag||4===G.tag)c("fbjs/lib/invariant")(0);else if(9===G.tag)b.push(G.pendingProps.value);else if(null!==G.child){G.child["return"]=G;G=G.child;continue}for(;null===G.sibling;){if(null===G["return"]||G["return"]===D)break a;G=G["return"]}G.sibling["return"]=G["return"];G=G.sibling}G=F.handler;F=G(F.props,b);D.child=mb(D,null!==C?C.child:null,F,E);return D.child;case 8:return D.tag=7,null;case 9:return null;case 10:return null;case 11:return null;case 4:return u(D),y(D),null;case 13:return rb(D),null;case 12:return null;case 0:c("fbjs/lib/invariant")(0);default:c("fbjs/lib/invariant")(0)}}}}function ub(h,i){__p&&__p();function j(A){var B=A.ref;if(null!==B)try{B(null)}catch(C){i(A,C)}}function k(A){__p&&__p();"function"===typeof $a&&$a(A);switch(A.tag){case 2:j(A);var B=A.stateNode;if("function"===typeof B.componentWillUnmount)try{B.props=A.memoizedProps,B.state=A.memoizedState,B.componentWillUnmount()}catch(C){i(A,C)}break;case 5:j(A);break;case 7:l(A.stateNode);break;case 4:p&&n(A)}}function l(A){__p&&__p();for(var B=A;;)if(k(B),null===B.child||p&&4===B.tag){if(B===A)break;for(;null===B.sibling;){if(null===B["return"]||B["return"]===A)return;B=B["return"]}B.sibling["return"]=B["return"];B=B.sibling}else B.child["return"]=B,B=B.child}function m(A){return 5===A.tag||3===A.tag||4===A.tag}function n(A){__p&&__p();for(var B=A,C=!1,D=void 0,E=void 0;;){if(!C){C=B["return"];a:for(;;){null!==C||c("fbjs/lib/invariant")(0);switch(C.tag){case 5:D=C.stateNode;E=!1;break a;case 3:D=C.stateNode.containerInfo;E=!0;break a;case 4:D=C.stateNode.containerInfo;E=!0;break a}C=C["return"]}C=!0}if(5===B.tag||6===B.tag)l(B),E?z(D,B.stateNode):y(D,B.stateNode);else if(4===B.tag?D=B.stateNode.containerInfo:k(B),null!==B.child){B.child["return"]=B;B=B.child;continue}if(B===A)break;for(;null===B.sibling;){if(null===B["return"]||B["return"]===A)return;B=B["return"];4===B.tag&&(C=!1)}B.sibling["return"]=B["return"];B=B.sibling}}var o=h.getPublicInstance,p=h.mutation;h=h.persistence;p||(h?c("fbjs/lib/invariant")(!1,"Persistent reconciler is disabled."):c("fbjs/lib/invariant")(!1,"Noop reconciler is disabled."));var q=p.commitMount,r=p.commitUpdate,s=p.resetTextContent,t=p.commitTextUpdate,u=p.appendChild,v=p.appendChildToContainer,w=p.insertBefore,x=p.insertInContainerBefore,y=p.removeChild,z=p.removeChildFromContainer;return{commitResetTextContent:function A(B){s(B.stateNode)},commitPlacement:function A(B){__p&&__p();a:{for(var C=B["return"];null!==C;){if(m(C)){var D=C;break a}C=C["return"]}c("fbjs/lib/invariant")(0);D=void 0}var E=C=void 0;switch(D.tag){case 5:C=D.stateNode;E=!1;break;case 3:C=D.stateNode.containerInfo;E=!0;break;case 4:C=D.stateNode.containerInfo;E=!0;break;default:c("fbjs/lib/invariant")(0)}D.effectTag&16&&(s(C),D.effectTag&=-17);a:b:for(D=B;;){for(;null===D.sibling;){if(null===D["return"]||m(D["return"])){D=null;break a}D=D["return"]}D.sibling["return"]=D["return"];for(D=D.sibling;5!==D.tag&&6!==D.tag;){if(D.effectTag&2)continue b;if(null===D.child||4===D.tag)continue b;else D.child["return"]=D,D=D.child}if(!(D.effectTag&2)){D=D.stateNode;break a}}for(var F=B;;){if(5===F.tag||6===F.tag)D?E?x(C,F.stateNode,D):w(C,F.stateNode,D):E?v(C,F.stateNode):u(C,F.stateNode);else if(4!==F.tag&&null!==F.child){F.child["return"]=F;F=F.child;continue}if(F===B)break;for(;null===F.sibling;){if(null===F["return"]||F["return"]===B)return;F=F["return"]}F.sibling["return"]=F["return"];F=F.sibling}},commitDeletion:function A(B){n(B);B["return"]=null;B.child=null;B.alternate&&(B.alternate.child=null,B.alternate["return"]=null)},commitWork:function A(B,C){__p&&__p();switch(C.tag){case 2:break;case 5:var D=C.stateNode;if(null!=D){var E=C.memoizedProps;B=null!==B?B.memoizedProps:E;var F=C.type,b=C.updateQueue;C.updateQueue=null;null!==b&&r(D,b,F,B,E,C)}break;case 6:null!==C.stateNode||c("fbjs/lib/invariant")(0);D=C.memoizedProps;t(C.stateNode,null!==B?B.memoizedProps:D,D);break;case 3:break;default:c("fbjs/lib/invariant")(0)}},commitLifeCycles:function A(B,C){__p&&__p();switch(C.tag){case 2:var D=C.stateNode;if(C.effectTag&4)if(null===B)D.props=C.memoizedProps,D.state=C.memoizedState,D.componentDidMount();else{var E=B.memoizedProps;B=B.memoizedState;D.props=C.memoizedProps;D.state=C.memoizedState;D.componentDidUpdate(E,B)}C=C.updateQueue;null!==C&&gb(C,D);break;case 3:D=C.updateQueue;if(null!==D){B=null;if(null!==C.child)switch(C.child.tag){case 5:B=o(C.child.stateNode);break;case 2:B=C.child.stateNode}gb(D,B)}break;case 5:D=C.stateNode;null===B&&C.effectTag&4&&q(D,C.type,C.memoizedProps,C);break;case 6:break;case 4:break;default:c("fbjs/lib/invariant")(0)}},commitAttachRef:function A(B){var C=B.ref;if(null!==C){var D=B.stateNode;switch(B.tag){case 5:C(o(D));break;default:C(D)}}},commitDetachRef:function A(B){B=B.ref;null!==B&&B(null)}}}var vb={};function wb(h){__p&&__p();function i(n){n!==vb||c("fbjs/lib/invariant")(0);return n}var j=h.getChildHostContext,k=h.getRootHostContext,f={current:vb},l={current:vb},m={current:vb};return{getHostContext:function n(){return i(f.current)},getRootHostContainer:function n(){return i(m.current)},popHostContainer:function n(o){d(f,o);d(l,o);d(m,o)},popHostContext:function n(o){l.current===o&&(d(f,o),d(l,o))},pushHostContainer:function n(o,p){e(m,p,o);p=k(p);e(l,o,o);e(f,p,o)},pushHostContext:function n(o){var p=i(m.current),q=i(f.current);p=j(q,o.type,p);q!==p&&(e(l,o,o),e(f,p,o))},resetHostContainer:function n(){f.current=vb;m.current=vb}}}function xb(h){__p&&__p();function i(v,w){var x=new Oa(5,null,null,0);x.type="DELETED";x.stateNode=w;x["return"]=v;x.effectTag=8;null!==v.lastEffect?(v.lastEffect.nextEffect=x,v.lastEffect=x):v.firstEffect=v.lastEffect=x}function j(v,w){switch(v.tag){case 5:return w=m(w,v.type,v.pendingProps),null!==w?(v.stateNode=w,!0):!1;case 6:return w=n(w,v.pendingProps),null!==w?(v.stateNode=w,!0):!1;default:return!1}}function k(v){for(v=v["return"];null!==v&&5!==v.tag&&3!==v.tag;)v=v["return"];s=v}var l=h.shouldSetTextContent;h=h.hydration;if(!h)return{enterHydrationState:function v(){return!1},resetHydrationState:function v(){},tryToClaimNextHydratableInstance:function v(){},prepareToHydrateHostInstance:function v(){c("fbjs/lib/invariant")(0)},prepareToHydrateHostTextInstance:function v(){c("fbjs/lib/invariant")(0)},popHydrationState:function v(){return!1}};var m=h.canHydrateInstance,n=h.canHydrateTextInstance,o=h.getNextHydratableSibling,p=h.getFirstHydratableChild,q=h.hydrateInstance,r=h.hydrateTextInstance,s=null,t=null,u=!1;return{enterHydrationState:function v(w){t=p(w.stateNode.containerInfo);s=w;return u=!0},resetHydrationState:function v(){t=s=null;u=!1},tryToClaimNextHydratableInstance:function v(w){__p&&__p();if(u){var x=t;if(x){if(!j(w,x)){x=o(x);if(!x||!j(w,x)){w.effectTag|=2;u=!1;s=w;return}i(s,t)}s=w;t=p(x)}else w.effectTag|=2,u=!1,s=w}},prepareToHydrateHostInstance:function v(w,x,y){x=q(w.stateNode,w.type,w.memoizedProps,x,y,w);w.updateQueue=x;return null!==x?!0:!1},prepareToHydrateHostTextInstance:function v(w){return r(w.stateNode,w.memoizedProps,w)},popHydrationState:function v(w){__p&&__p();if(w!==s)return!1;if(!u)return k(w),u=!0,!1;var x=w.type;if(5!==w.tag||"head"!==x&&"body"!==x&&!l(x,w.memoizedProps))for(x=t;x;)i(w,x),x=o(x);k(w);t=s?o(w.stateNode):null;return!0}}}"function"===typeof c("ReactFiberErrorDialog").showErrorDialog||c("fbjs/lib/invariant")(0);function yb(h){__p&&__p();function i(V){__p&&__p();for(;;){var W=qc(V.alternate,V,N),X=V["return"],Y=V.sibling,Z=V;if(1073741823===N||1073741823!==Z.expirationTime){if(2!==Z.tag&&3!==Z.tag)var $=0;else $=Z.updateQueue,$=null===$?0:$.expirationTime;for(var aa=Z.child;null!==aa;)0!==aa.expirationTime&&(0===$||$>aa.expirationTime)&&($=aa.expirationTime),aa=aa.sibling;Z.expirationTime=$}if(null!==W)return W;null!==X&&(null===X.firstEffect&&(X.firstEffect=V.firstEffect),null!==V.lastEffect&&(null!==X.lastEffect&&(X.lastEffect.nextEffect=V.firstEffect),X.lastEffect=V.lastEffect),1<V.effectTag&&(null!==X.lastEffect?X.lastEffect.nextEffect=V:X.firstEffect=V,X.lastEffect=V));if(null!==Y)return Y;if(null!==X)V=X;else{V.stateNode.isReadyForCommit=!0;break}}return null}function j(V){var W=oc(V.alternate,V,N);null===W&&(W=i(V));ha.current=null;return W}function k(V){var W=pc(V.alternate,V,N);null===W&&(W=i(V));ha.current=null;return W}function l(V){__p&&__p();if(null!==P)if(V)for(;null!==M&&!F();)M=o(M)?k(M):j(M);else for(;null!==M;)M=o(M)?k(M):j(M);else if(V)for(;null!==M&&!F();)M=j(M);else for(;null!==M;)M=j(M)}function m(V,W,X){__p&&__p();!Gc||c("fbjs/lib/invariant")(0);Gc=!0;V.isReadyForCommit=!1;if(V!==Hc||W!==N||null===M){for(;-1<Ca;)Ba[Ca]=null,Ca--;Fa=c("fbjs/lib/emptyObject");f.current=c("fbjs/lib/emptyObject");g.current=!1;for(var Y=pb;-1<Y;Y--){var Z=ob[Y].type.context;Z.currentValue=Z.defaultValue;Z.changedBits=0;ob[Y]=null}pb=-1;K();Hc=V;N=W;M=Pa(Hc.current,null,W)}Y=!1;Z=null;try{l(X)}catch($){Y=!0,Z=$}for(;Y;){if(Kc){Q=Z;break}W=M;if(null===W)Kc=!0;else{var aa=n(W,Z);null!==aa||c("fbjs/lib/invariant")(0);if(!Kc){try{Y=aa;Z=X;for(aa=Y;null!==W;){switch(W.tag){case 2:Ja(W);break;case 5:J(W);break;case 3:I(W);break;case 4:I(W);break;case 13:rb(W)}if(W===aa||W.alternate===aa)break;W=W["return"]}M=k(Y);l(Z)}catch($){Y=!0;Z=$;continue}break}}}X=Q;Kc=Gc=!1;Q=null;null!==X&&b(X);return V.isReadyForCommit?V.current.alternate:null}function n(V,W){__p&&__p();var X=ha.current=null,Y=!1,Z=!1,$=null;if(3===V.tag)X=V,p(V)&&(Kc=!0);else for(var aa=V["return"];null!==aa&&null===X;){2===aa.tag?"function"===typeof aa.stateNode.componentDidCatch&&(Y=!0,$=ua(aa),X=aa,Z=!0):3===aa.tag&&(X=aa);if(p(aa)){if(Mc||null!==Jc&&(Jc.has(aa)||null!==aa.alternate&&Jc.has(aa.alternate)))return null;X=null;Z=!1}aa=aa["return"]}if(null!==X){null===Ic&&(Ic=new Set());Ic.add(X);var bd="";aa=V;do{a:switch(aa.tag){case 0:case 1:case 2:case 5:var cd=aa._debugOwner,dd=aa._debugSource,ed=ua(aa),fd=null;cd&&(fd=ua(cd));cd=dd;ed="\n    in "+(ed||"Unknown")+(cd?" (at "+cd.fileName.replace(/^.*[\\\/]/,"")+":"+cd.lineNumber+")":fd?" (created by "+fd+")":"");break a;default:ed=""}bd+=ed;aa=aa["return"]}while(aa);aa=bd;V=ua(V);null===P&&(P=new Map());W={componentName:V,componentStack:aa,error:W,errorBoundary:Y?X.stateNode:null,errorBoundaryFound:Y,errorBoundaryName:$,willRetry:Z};P.set(X,W);try{if(!1!==c("ReactFiberErrorDialog").showErrorDialog(W)){var gd=W.error;gd&&gd.suppressReactErrorLogging||false}}catch(hd){hd&&hd.suppressReactErrorLogging||false}Lc?(null===Jc&&(Jc=new Set()),Jc.add(X)):u(X);return X}null===Q&&(Q=W);return null}function o(V){return null!==P&&(P.has(V)||null!==V.alternate&&P.has(V.alternate))}function p(V){return null!==Ic&&(Ic.has(V)||null!==V.alternate&&Ic.has(V.alternate))}function q(){return 20*(((v()+100)/20|0)+1)}function r(V){V=0!==Fc?Fc:Gc?Lc?1:N:V.mode&1?Xc?10*(((v()+50)/10|0)+1):q():1;Xc&&(0===Rc||V>Rc)&&(Rc=V);return V}function s(V,W){return t(V,W,!1)}function t(V,W){__p&&__p();for(;null!==V;){if(0===V.expirationTime||V.expirationTime>W)V.expirationTime=W;null!==V.alternate&&(0===V.alternate.expirationTime||V.alternate.expirationTime>W)&&(V.alternate.expirationTime=W);if(null===V["return"])if(3===V.tag){var X=V.stateNode;!Gc&&X===Hc&&W<N&&(M=Hc=null,N=0);y(X,W);!Gc&&X===Hc&&W<N&&(M=Hc=null,N=0)}else break;V=V["return"]}}function u(V){t(V,1,!0)}function v(){return Dc=((Eb()-Cc)/10|0)+2}function w(V,W,X,Y,Z){var $=Fc;Fc=1;try{return V(W,X,Y,Z)}finally{Fc=$}}function x(V){if(0!==Oc){if(V>Oc)return;zc(Pc)}var W=Eb()-Cc;Oc=V;Pc=yc(A,{timeout:10*(V-2)-W})}function y(V,W){$c>Zc&&c("fbjs/lib/invariant")(!1,"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");if(null===V.nextScheduledRoot)V.remainingExpirationTime=W,null===R?(Nc=R=V,V.nextScheduledRoot=V):(R=R.nextScheduledRoot=V,R.nextScheduledRoot=Nc);else{var X=V.remainingExpirationTime;if(0===X||W<X)V.remainingExpirationTime=W}S||(U?Wc&&(Qc=V,T=1,D(V,1,!1)):1===W?B(1,!1,null):x(W))}function z(){__p&&__p();var V=0,W=null;if(null!==R)for(var X=R,Y=Nc;null!==Y;){var Z=Y.remainingExpirationTime;if(0===Z){null!==X&&null!==R||c("fbjs/lib/invariant")(0);if(Y===Y.nextScheduledRoot){Nc=R=Y.nextScheduledRoot=null;break}else if(Y===Nc)Nc=Z=Y.nextScheduledRoot,R.nextScheduledRoot=Z,Y.nextScheduledRoot=null;else if(Y===R){R=X;R.nextScheduledRoot=Nc;Y.nextScheduledRoot=null;break}else X.nextScheduledRoot=Y.nextScheduledRoot,Y.nextScheduledRoot=null;Y=X.nextScheduledRoot}else{if(0===V||Z<V)V=Z,W=Y;if(Y===R)break;X=Y;Y=Y.nextScheduledRoot}}X=Qc;null!==X&&X===W?$c++:$c=0;Qc=W;T=V}function A(V){B(0,!0,V)}function B(V,W,X){__p&&__p();Vc=X;z();if(W)for(;null!==Qc&&0!==T&&(0===V||V>=T)&&(!Sc||v()>=T);)D(Qc,T,!Sc),z();else for(;null!==Qc&&0!==T&&(0===V||V>=T);)D(Qc,T,!1),z();null!==Vc&&(Oc=0,Pc=-1);0!==T&&x(T);Vc=null;Sc=!1;$c=0;C()}function C(){__p&&__p();if(null!==Yc){var V=Yc;Yc=null;for(var W=0;W<V.length;W++){var X=V[W];try{X._onComplete()}catch(Y){Tc||(Tc=!0,Uc=Y)}}}if(Tc)throw V=Uc,Uc=null,Tc=!1,V}function D(V,W,X){!S||c("fbjs/lib/invariant")(0);S=!0;X?(X=V.finishedWork,null!==X?E(V,X,W):(V.finishedWork=null,X=m(V,W,!0),null!==X&&(F()?V.finishedWork=X:E(V,X,W)))):(X=V.finishedWork,null!==X?E(V,X,W):(V.finishedWork=null,X=m(V,W,!1),null!==X&&E(V,X,W)));S=!1}function E(V,W,X){__p&&__p();var Y=V.firstBatch;if(null!==Y&&Y._expirationTime<=X&&(null===Yc?Yc=[Y]:Yc.push(Y),Y._defer)){V.finishedWork=W;V.remainingExpirationTime=0;return}V.finishedWork=null;Lc=Gc=!0;X=W.stateNode;X.current!==W||c("fbjs/lib/invariant")(0);X.isReadyForCommit=!1;ha.current=null;1<W.effectTag?null!==W.lastEffect?(W.lastEffect.nextEffect=W,Y=W.firstEffect):Y=W:Y=W.firstEffect;Ac(X.containerInfo);for(O=Y;null!==O;){var Z=!1,$=void 0;try{for(;null!==O;){var aa=O.effectTag;aa&16&&rc(O);if(aa&128){var bd=O.alternate;null!==bd&&xc(bd)}switch(aa&-242){case 2:sc(O);O.effectTag&=-3;break;case 6:sc(O);O.effectTag&=-3;uc(O.alternate,O);break;case 4:uc(O.alternate,O);break;case 8:Mc=!0,tc(O),Mc=!1}O=O.nextEffect}}catch(cd){Z=!0,$=cd}Z&&(c("fbjs/lib/invariant")(null!==O,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),n(O,$),null!==O&&(O=O.nextEffect))}Bc(X.containerInfo);X.current=W;for(O=Y;null!==O;){aa=!1;bd=void 0;try{for(;null!==O;){var dd=O.effectTag;dd&36&&vc(O.alternate,O);dd&128&&wc(O);if(dd&64)switch(Y=O,Z=void 0,null!==P&&(Z=P.get(Y),P["delete"](Y),null==Z&&null!==Y.alternate&&(Y=Y.alternate,Z=P.get(Y),P["delete"](Y))),c("fbjs/lib/invariant")(null!=Z,"No error for given unit of work. This error is likely caused by a bug in React. Please file an issue."),Y.tag){case 2:Y.stateNode.componentDidCatch(Z.error,{componentStack:Z.componentStack});break;case 3:null===Q&&(Q=Z.error);break;default:c("fbjs/lib/invariant")(0)}var ed=O.nextEffect;O.nextEffect=null;O=ed}}catch(cd){aa=!0,bd=cd}aa&&(c("fbjs/lib/invariant")(null!==O,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),n(O,bd),null!==O&&(O=O.nextEffect))}Gc=Lc=!1;"function"===typeof Za&&Za(W.stateNode);Jc&&(Jc.forEach(u),Jc=null);null!==Q&&(W=Q,Q=null,b(W));W=X.current.expirationTime;0===W&&(Ic=P=null);V.remainingExpirationTime=W}function F(){return null===Vc||Vc.timeRemaining()>ad?!1:Sc=!0}function b(V){null!==Qc||c("fbjs/lib/invariant")(0);Qc.remainingExpirationTime=0;Tc||(Tc=!0,Uc=V)}var G=wb(h),H=xb(h),I=G.popHostContainer,J=G.popHostContext,K=G.resetHostContainer,L=sb(h,G,H,s,r),oc=L.beginWork,pc=L.beginFailedWork,qc=tb(h,G,H).completeWork;G=ub(h,n);var rc=G.commitResetTextContent,sc=G.commitPlacement,tc=G.commitDeletion,uc=G.commitWork,vc=G.commitLifeCycles,wc=G.commitAttachRef,xc=G.commitDetachRef,Eb=h.now,yc=h.scheduleDeferredCallback,zc=h.cancelDeferredCallback,Ac=h.prepareForCommit,Bc=h.resetAfterCommit,Cc=Eb(),Dc=2,Ec=0,Fc=0,Gc=!1,M=null,Hc=null,N=0,O=null,P=null,Ic=null,Jc=null,Q=null,Kc=!1,Lc=!1,Mc=!1,Nc=null,R=null,Oc=0,Pc=-1,S=!1,Qc=null,T=0,Rc=0,Sc=!1,Tc=!1,Uc=null,Vc=null,U=!1,Wc=!1,Xc=!1,Yc=null,Zc=1e3,$c=0,ad=1;return{computeExpirationForFiber:r,scheduleWork:s,requestWork:y,flushRoot:function V(W,X){!S||c("fbjs/lib/invariant")(0);D(W,X,!1);C()},batchedUpdates:function V(W,X){var Y=U;U=!0;try{return W(X)}finally{(U=Y)||S||B(1,!1,null)}},unbatchedUpdates:function V(W,X){if(U&&!Wc){Wc=!0;try{return W(X)}finally{Wc=!1}}return W(X)},flushSync:function V(W,X){!S||c("fbjs/lib/invariant")(0);var Y=U;U=!0;try{return w(W,X)}finally{U=Y,B(1,!1,null)}},flushControlled:function V(W){var X=U;U=!0;try{w(W)}finally{(U=X)||S||B(1,!1,null)}},deferredUpdates:function V(W){var X=Fc;Fc=q();try{return W()}finally{Fc=X}},syncUpdates:w,interactiveUpdates:function V(W,X,Y){if(Xc)return W(X,Y);U||S||0===Rc||(B(Rc,!1,null),Rc=0);var Z=Xc,$=U;U=Xc=!0;try{return W(X,Y)}finally{Xc=Z,(U=$)||S||B(1,!1,null)}},flushInteractiveUpdates:function V(){S||0===Rc||(B(Rc,!1,null),Rc=0)},computeUniqueAsyncExpiration:function V(){var W=q();W<=Ec&&(W=Ec+1);return Ec=W}}}function zb(h){__p&&__p();function i(n,o,p,q,r){__p&&__p();var s=o.current;if(p){p=p._reactInternalFiber;var t;b:{2===va(p)&&2===p.tag||c("fbjs/lib/invariant")(0);for(t=p;3!==t.tag;){if(Ia(t)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break b}t=t["return"];t||c("fbjs/lib/invariant")(0)}t=t.stateNode.context}p=Ia(p)?La(p,t):t}else p=c("fbjs/lib/emptyObject");null===o.context?o.context=p:o.pendingContext=p;o=r;db(s,{expirationTime:q,partialState:{element:n},callback:void 0===o?null:o,isReplace:!1,isForced:!1,next:null});m(s,q);return q}function j(n){n=za(n);return null===n?null:n.stateNode}var k=h.getPublicInstance;h=yb(h);var l=h.computeExpirationForFiber,m=h.scheduleWork;return{createContainer:function n(o,p,q){p=new Oa(3,null,null,p?3:0);o={current:p,containerInfo:o,pendingChildren:null,remainingExpirationTime:0,isReadyForCommit:!1,finishedWork:null,context:null,pendingContext:null,hydrate:q,firstBatch:null,nextScheduledRoot:null};return p.stateNode=o},updateContainer:function n(o,p,q,r){var s=l(p.current);return i(o,p,q,s,r)},updateContainerAtExpirationTime:i,flushRoot:h.flushRoot,requestWork:h.requestWork,computeUniqueAsyncExpiration:h.computeUniqueAsyncExpiration,batchedUpdates:h.batchedUpdates,unbatchedUpdates:h.unbatchedUpdates,deferredUpdates:h.deferredUpdates,syncUpdates:h.syncUpdates,interactiveUpdates:h.interactiveUpdates,flushInteractiveUpdates:h.flushInteractiveUpdates,flushControlled:h.flushControlled,flushSync:h.flushSync,getPublicRootInstance:function n(o){o=o.current;if(!o.child)return null;switch(o.child.tag){case 5:return k(o.child.stateNode);default:return o.child.stateNode}},findHostInstance:j,findHostInstanceWithNoPortals:function n(o){o=Aa(o);return null===o?null:o.stateNode},injectIntoDevTools:function n(o){var p=o.findFiberByHostInstance;return Ya(Object.assign({},o,{findHostInstanceByFiber:function q(r){return j(r)},findFiberByHostInstance:function q(r){return p?p(r):null}}))}}}var Ab=(Object.freeze||Object)({"default":zb}),Bb=Ab&&zb||Ab,Cb=Bb["default"]?Bb["default"]:Bb,Db="object"===typeof performance&&"function"===typeof performance.now,Eb=void 0;Eb=Db?function(){return performance.now()}:function(){return Date.now()};var Fb=void 0;if(c("fbjs/lib/ExecutionEnvironment").canUseDOM)if("function"!==typeof requestIdleCallback||"function"!==typeof cancelIdleCallback){var Gb=null,Hb=!1,Ib=-1,Jb=!1,Kb=0,Lb=33,Mb=33,Nb=void 0;Nb=Db?{didTimeout:!1,timeRemaining:function h(){var i=Kb-performance.now();return 0<i?i:0}}:{didTimeout:!1,timeRemaining:function h(){var i=Kb-Date.now();return 0<i?i:0}};var Ob="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(event){__p&&__p();if(event.source===window&&event.data===Ob){Hb=!1;event=Eb();if(0>=Kb-event)if(-1!==Ib&&Ib<=event)Nb.didTimeout=!0;else{Jb||(Jb=!0,requestAnimationFrame(Pb));return}else Nb.didTimeout=!1;Ib=-1;event=Gb;Gb=null;null!==event&&event(Nb)}},!1);var Pb=function Pb(h){Jb=!1;var i=h-Kb+Mb;i<Mb&&Lb<Mb?(8>i&&(i=8),Mb=i<Lb?Lb:i):Lb=i;Kb=h+Mb;Hb||(Hb=!0,window.postMessage(Ob,"*"))};Fb=function Fb(h,i){Gb=h;null!=i&&"number"===typeof i.timeout&&(Ib=Eb()+i.timeout);Jb||(Jb=!0,requestAnimationFrame(Pb));return 0}}else Fb=window.requestIdleCallback;else Fb=function Fb(h){return setTimeout(function(){h({timeRemaining:function i(){return Infinity}})})};var Qb=Object.assign||function(h){for(var i=1;i<arguments.length;i++){var j=arguments[i],k;for(k in j)Object.prototype.hasOwnProperty.call(j,k)&&(h[k]=j[k])}return h};function Rb(h,i){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!i||"object"!==typeof i&&"function"!==typeof i?h:i}function Sb(h,i){if("function"!==typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function, not "+typeof i);h.prototype=Object.create(i&&i.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}});i&&(Object.setPrototypeOf?Object.setPrototypeOf(h,i):h.__proto__=i)}function Tb(h,i){if(!(h instanceof i))throw new TypeError("Cannot call a class as a function")}c("art/modes/current").setCurrent(c("art/modes/fast-noSideEffects"));var Ub=new(c("art/core/transform"))(),Vb={onClick:"click",onMouseMove:"mousemove",onMouseOver:"mouseover",onMouseOut:"mouseout",onMouseUp:"mouseup",onMouseDown:"mousedown"},Wb={CLIPPING_RECTANGLE:"ClippingRectangle",GROUP:"Group",SHAPE:"Shape",TEXT:"Text"},Xb={};function Yb(h){return h?"string"===typeof h?h:h.length?h.join(""):"":""}function Zb(h){return function(event){var i=h._listeners[event.type];i&&("function"===typeof i?i.call(h,event):i.handleEvent&&i.handleEvent(event))}}function $b(h){if(h._subscriptions)for(var i in h._subscriptions)h._subscriptions[i]();h._subscriptions=null;h._listeners=null}function ac(h,i){cc(h,i,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{});h.width=i.width;h.height=i.height}function bc(h,i){cc(h,i,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{});h.width=i.width;h.height=i.height}function cc(h,i){var j=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},k=null!=i.scaleX?i.scaleX:null!=i.scale?i.scale:1,l=null!=i.scaleY?i.scaleY:null!=i.scale?i.scale:1;Ub.transformTo(1,0,0,1,0,0).move(i.x||0,i.y||0).rotate(i.rotation||0,i.originX,i.originY).scale(k,l,i.originX,i.originY);null!=i.transform&&Ub.transform(i.transform);h.xx===Ub.xx&&h.yx===Ub.yx&&h.xy===Ub.xy&&h.yy===Ub.yy&&h.x===Ub.x&&h.y===Ub.y||h.transformTo(Ub);i.cursor===j.cursor&&i.title===j.title||h.indicate(i.cursor,i.title);h.blend&&i.opacity!==j.opacity&&h.blend(null==i.opacity?1:i.opacity);i.visible!==j.visible&&(null==i.visible||i.visible?h.show():h.hide());for(var m in Vb)j=h,k=Vb[m],l=i[m],j._listeners||(j._listeners={},j._subscriptions={}),(j._listeners[k]=l)?j._subscriptions[k]||(j._subscriptions[k]=j.subscribe(k,Zb(j),j)):j._subscriptions[k]&&(j._subscriptions[k](),delete j._subscriptions[k])}function dc(h,i){var j=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};cc(h,i,j);j.fill!==i.fill&&(i.fill&&i.fill.applyFill?i.fill.applyFill(h):h.fill(i.fill));j.stroke===i.stroke&&j.strokeWidth===i.strokeWidth&&j.strokeCap===i.strokeCap&&j.strokeJoin===i.strokeJoin&&j.strokeDash===i.strokeDash||h.stroke(i.stroke,i.strokeWidth,i.strokeCap,i.strokeJoin,i.strokeDash)}function ec(h,i){var j=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};dc(h,i,j);var k=i.d||Yb(i.children),l=h._prevDelta;if(k!==h._prevPath||k.delta!==l||j.height!==i.height||j.width!==i.width)h.draw(k,i.width,i.height),h._prevDelta=k.delta,h._prevPath=k}function fc(h,i){__p&&__p();var j=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};dc(h,i,j);var k=i.children,l;if(!(l=h._currentString!==k)){l=i.font;var m=j.font;l=l===m?!0:"string"===typeof m||"string"===typeof l?!1:m.fontSize===l.fontSize&&m.fontStyle===l.fontStyle&&m.fontVariant===l.fontVariant&&m.fontWeight===l.fontWeight&&m.fontFamily===l.fontFamily;l=!l}if(l||i.alignment!==j.alignment||i.path!==j.path)h.draw(k,i.font,i.alignment,i.path),h._currentString=k}var gc=Array.prototype.slice,hc=function(){function hc(h,i,j,k,l){Tb(this,hc);this._args=gc.call(arguments)}hc.prototype.applyFill=function(h){h.fillLinear.apply(h,this._args)};return hc}(),ic=function(){function ic(h,i,j,k,l,m,n){Tb(this,ic);this._args=gc.call(arguments)}ic.prototype.applyFill=function(h){h.fillRadial.apply(h,this._args)};return ic}(),jc=function(){function jc(h,i,j,k,l){Tb(this,jc);this._args=gc.call(arguments)}jc.prototype.applyFill=function(h){h.fillImage.apply(h,this._args)};return jc}(),kc=function(h){__p&&__p();function kc(){Tb(this,kc);return Rb(this,h.apply(this,arguments))}Sb(kc,h);kc.prototype.componentDidMount=function(){var i=this.props;this._surface=c("art/modes/current").Surface(+i.width,+i.height,this._tagRef);this._mountNode=mc.createContainer(this._surface);mc.updateContainer(this.props.children,this._mountNode,this)};kc.prototype.componentDidUpdate=function(i){var j=this.props;j.height===i.height&&j.width===i.width||this._surface.resize(+j.width,+j.height);mc.updateContainer(this.props.children,this._mountNode,this);this._surface.render&&this._surface.render()};kc.prototype.componentWillUnmount=function(){mc.updateContainer(null,this._mountNode,this)};kc.prototype.render=function(){var i=this,j=this.props;return c("React").createElement(c("art/modes/current").Surface.tagName,{ref:function k(l){return i._tagRef=l},accessKey:j.accessKey,className:j.className,draggable:j.draggable,role:j.role,style:j.style,tabIndex:j.tabIndex,title:j.title})};return kc}(c("React").Component),lc=function(h){__p&&__p();function lc(i){Tb(this,lc);var j=Rb(this,h.call(this,i));["height","width","x","y"].forEach(function(k){Object.defineProperty(j,k,{get:function l(){return this._text?this._text[k]:void 0}})});return j}Sb(lc,h);lc.prototype.render=function(){var i=this;return c("React").createElement(Wb.TEXT,Qb({},this.props,{ref:function j(k){return i._text=k}}),Yb(this.props.children))};return lc}(c("React").Component),mc=Cb({appendInitialChild:function h(i,j){"string"===typeof j?c("fbjs/lib/invariant")(!1,"Text children should already be flattened."):j.inject(i)},createInstance:function h(i,j){__p&&__p();var k=void 0;switch(i){case Wb.CLIPPING_RECTANGLE:k=c("art/modes/current").ClippingRectangle();k._applyProps=ac;break;case Wb.GROUP:k=c("art/modes/current").Group();k._applyProps=bc;break;case Wb.SHAPE:k=c("art/modes/current").Shape();k._applyProps=ec;break;case Wb.TEXT:k=c("art/modes/current").Text(j.children,j.font,j.alignment,j.path),k._applyProps=fc}k||c("fbjs/lib/invariant")(0);k._applyProps(k,j);return k},createTextInstance:function h(i){return i},finalizeInitialChildren:function h(){return!1},getPublicInstance:function h(i){return i},prepareForCommit:function h(){},prepareUpdate:function h(){return Xb},resetAfterCommit:function h(){},resetTextContent:function h(){},shouldDeprioritizeSubtree:function h(){return!1},getRootHostContext:function h(){return c("fbjs/lib/emptyObject")},getChildHostContext:function h(){return c("fbjs/lib/emptyObject")},scheduleDeferredCallback:Fb,shouldSetTextContent:function h(i,j){return"string"===typeof j.children||"number"===typeof j.children},now:Eb,mutation:{appendChild:function h(i,j){j.parentNode===i&&j.eject();j.inject(i)},appendChildToContainer:function h(i,j){j.parentNode===i&&j.eject();j.inject(i)},insertBefore:function h(i,j,k){j!==k||c("fbjs/lib/invariant")(0);j.injectBefore(k)},insertInContainerBefore:function h(i,j,k){j!==k||c("fbjs/lib/invariant")(0);j.injectBefore(k)},removeChild:function h(i,j){$b(j);j.eject()},removeChildFromContainer:function h(i,j){$b(j);j.eject()},commitTextUpdate:function h(){},commitMount:function h(){},commitUpdate:function h(i,j,k,l,m){i._applyProps(i,m,l)}}}),nc=(Object.freeze||Object)({ClippingRectangle:Wb.CLIPPING_RECTANGLE,Group:Wb.GROUP,Shape:Wb.SHAPE,Path:c("art/modes/current").Path,LinearGradient:hc,Pattern:jc,RadialGradient:ic,Surface:kc,Text:lc,Transform:c("art/core/transform")});fa.exports=nc}),null);
__d("ReactART",["ReactART-dev","ReactART-prod"],(function a(b,c,d,e,f,g){f.exports=c("ReactART-prod")}),null);
__d("ImagePattern.art",["Image.react","ReactART","Sprite.art","joinClasses"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("ReactART").Pattern;function i(k){var l=c("joinClasses")(k.spriteMapCssClass,k.spriteCssClass);return c("Sprite.art").get(l)}function j(k,l,m){__p&&__p();this.$ImagePattern8=k;this.$ImagePattern2=this.$ImagePattern4=l||0;this.$ImagePattern1=this.$ImagePattern3=m||0;this.$ImagePattern5=0;this.$ImagePattern6=0;if(typeof k==="string")this.$ImagePattern9=k;else if(!k.sprited){this.$ImagePattern9=k.uri;if(!this.$ImagePattern2&&!this.$ImagePattern1){this.$ImagePattern4=this.$ImagePattern2=k.width||0;this.$ImagePattern3=this.$ImagePattern1=k.height||0}}else{var n=i(k);this.$ImagePattern9=n.uri;this.$ImagePattern2=n.boxSize[0]||0;this.$ImagePattern1=n.boxSize[1]||0;this.$ImagePattern4=n.imageSize[0]||0;this.$ImagePattern3=n.imageSize[1]||0;this.$ImagePattern5+=n.offset[0];this.$ImagePattern6+=n.offset[1]}}j.prototype.applyFill=function(k){if(!this.$ImagePattern7)this.$ImagePattern7=new h(this.$ImagePattern9,this.$ImagePattern4,this.$ImagePattern3,this.$ImagePattern5,this.$ImagePattern6);this.$ImagePattern7.applyFill(k)};j.prototype.adjustOffsetX=function(k){this.$ImagePattern5+=k};j.prototype.adjustOffsetY=function(k){this.$ImagePattern6+=k};j.prototype.getBoxHeight=function(){return this.$ImagePattern1};j.prototype.getBoxWidth=function(){return this.$ImagePattern2};f.exports=j}),null);
__d("CandelaPlatformConstants",["csx","cx","CSSBackgroundPattern.art","ImagePattern.art","ReactDOM"],(function a(b,c,d,e,f,g,h,i){"use strict";var j={CHART_ELEMENT_CLASS_NAME:"_cx6",CHART_ELEMENT_SELECTOR:"._cx6",CHART_HOVER_CARD_ANCHOR_CLASS_NAME:"_42ly",CHART_HOVER_CARD_ANCHOR_SELECTOR:"._42ly",DEFAULT_FONT_FAMILY:"sans-serif",GAPS_FILL:new(c("CSSBackgroundPattern.art"))("_190w"),IMAGE_PATTERN:c("ImagePattern.art"),REACT_DOM:c("ReactDOM"),REACT_NATIVE:false,SURFACE_STYLE:{MozUserSelect:"none",msUserSelect:"none",WebkitTouchCallout:"none",WebkitUserSelect:"none",left:0,position:"absolute",right:"auto",top:0},SURFACE_WRAPPER:"div",TEXT_REGION_DISABLED:false};f.exports=j}),null);
__d("CandelaConstants",["CandelaPlatformConstants","getObjectValues","keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=1,i=h*60,j=i*60,k=j*24,l=k*7,m=k*30,n=k*365,o=">",p="[_a-zA-Z]",q="[_a-zA-Z0-9-]",r="\\s",s='"([^\\n\\r\\f"]*)"',t="'([^\\n\\r\\f']*)'",u="-?"+p+q+"*",v="("+s+"|"+t+")",w="\\["+r+"*("+u+")"+r+"*="+r+"*("+u+"|"+v+")"+r+"*\\]",x={DAY:k,HOUR:j,MIN:i,MONTH:m,SEC:h,WEEK:l,YEAR:n},y={Alignment:{BOTTOM:"bottom",CENTER:"center",LEFT:"left",RIGHT:"right",TOP:"top"},Attribute:{ALIGNMENT:"alignment",DRAGGABLE:"draggable",ORIENTATION:"orientation",PLACEMENT:"placement",SERIES:"series"},CHART_ELEMENT_CLASS_NAME:c("CandelaPlatformConstants").CHART_ELEMENT_CLASS_NAME,CHART_ELEMENT_SELECTOR:c("CandelaPlatformConstants").CHART_ELEMENT_SELECTOR,CHART_HOVER_CARD_ANCHOR_CLASS_NAME:c("CandelaPlatformConstants").CHART_HOVER_CARD_ANCHOR_CLASS_NAME,CHART_HOVER_CARD_ANCHOR_SELECTOR:c("CandelaPlatformConstants").CHART_HOVER_CARD_ANCHOR_SELECTOR,ClassName:{BASELINE:"baseline",BENCHMARK:"benchmark",INTERVAL:"interval",MINIMUM_LIMIT:"minimum-limit",TARGET:"target"},COLOR_KEYWORDS:["aqua","auto","black","blue","fuchsia","gray","green","lime","maroon","navy","olive","orange","purple","red","silver","teal","white","yellow"],COLOR_KEYWORD_MAP:{transparent:"rgba(255,255,255,0)"},Ellipsis:"...",Event:c("keyMirror")({SHAPE_CLICK:null,SHAPE_DOWN:null,SHAPE_DRAG:null,SHAPE_DRAG_END:null,SHAPE_DRAG_START:null,SHAPE_ENTER:null,SHAPE_ENTER_PROXIMITY:null,SHAPE_HOVER:null,SHAPE_IN_PROXIMITY:null,SHAPE_LEAVE:null,SHAPE_LEAVE_PROXIMITY:null,SHAPE_LONG_PRESS:null,SHAPE_UP:null}),EventSource:c("keyMirror")({MOUSE:null,TOUCH:null}),NormalizedOutput:{LEFT:0,MID:.5,RIGHT:1},Orientation:{HORIZONTAL:"horizontal",VERTICAL:"vertical"},Placement:{BOTTOM:"bottom",CENTER:"center",LEFT:"left",NONE:"",RIGHT:"right",TOP:"top"},PseudoClass:{ACTIVE:":active",DENSE:":dense",DRAG:":drag",EQUAL_TO:":equal-to",FIRST_CHILD:":first-child",GREATER_THAN:":greater-than",HIGHLIGHTED:":highlighted",HOVER:":hover",LAST_CHILD:":last-child",LESS_THAN:":less-than",MAX:":max",MIN:":min",MUTED:":muted",NONE:"",ONLY_CHILD:":only-child",POINT:":point",PRIMARY:":primary",PROXIMITY:":proximity",REFERENCE:":reference",SECONDARY:":secondary",SEGMENT:":segment",UNAVAILABLE:":unavailable"},RE:{ATTRIBUTE_RE:new RegExp(w),ATTRIBUTES_RE:new RegExp(w,"g"),CLASSES_RE:new RegExp("\\."+u,"g"),COMBINATORS_RE:new RegExp(""+o+r+"*(?![^\\[]+[\\]])","g"),IDENT_RE:new RegExp(u,"g"),PSEUDO_CLASSES_RE:new RegExp(":"+u,"g"),S_RE:new RegExp(r),TYPE_RE:new RegExp("^"+q+"+")},RenderAs:{ANCHOR:"anchor",AREA:"area",BAR:"bar",LINE:"line",MARKER:"marker",PULSE:"pulse"},ScaleType:{CATEGORY:"category",CURRENCY:"currency",NUMBER:"number",PERCENTAGE:"percentage",TIME:"time",DURATION:"duration"},ShapeType:{ANNOTATION:"annotation",ANCHOR_ANNOTATION:"annotationanchor",AREA:"area",AXIS:"axis",AXIS_BUCKETMARK:"axisbucketmark",AXIS_MARK:"axismark",AXIS_TITLE:"axistitle",AXIS_RULE:"axisrule",BAR:"bar",BAR_AREA:"bararea",BAR_AREA_LABEL:"bararealabel",BAR_GROUP:"bargroup",BAR_LABEL:"barlabel",CHART:"chart",CONTROL_LINE:"controlline",GAP:"gap",GRID_LINE:"gridline",GUIDE:"guide",GUIDE_LINE:"guideline",GUIDE_MARKER:"guidemarker",GUIDE_POINT:"guidepoint",LINE:"line",LINE_ANNOTATION:"annotationline",MARKER_ANNOTATION:"annotationmarker",PLOT_AREA:"plotarea",POINT:"point",POINT_ANNOTATION:"annotationpoint",REFERENCE:"reference",REFERENCE_LABEL:"referencelabel",REFERENCE_LINE:"referenceline",REFERENCE_ZONE:"referencezone",SANKEY_LINK:"sankeylink",SANKEY_NODE:"sankeynode",WEDGE:"wedge"},Style:{BACKGROUND:"background",BACKGROUND_COLOR:"backgroundColor",BORDER:"border",BORDER_BOTTOM:"borderBottom",BORDER_BOTTOM_COLOR:"borderBottomColor",BORDER_BOTTOM_STYLE:"borderBottomStyle",BORDER_BOTTOM_WIDTH:"borderBottomWidth",BORDER_COLOR:"borderColor",BORDER_LEFT:"borderLeft",BORDER_LEFT_COLOR:"borderLeftColor",BORDER_LEFT_STYLE:"borderLeftStyle",BORDER_LEFT_WIDTH:"borderLeftWidth",BORDER_RIGHT:"borderRight",BORDER_RIGHT_COLOR:"borderRightColor",BORDER_RIGHT_STYLE:"borderRightStyle",BORDER_RIGHT_WIDTH:"borderRightWidth",BORDER_STYLE:"borderStyle",BORDER_TOP:"borderTop",BORDER_TOP_COLOR:"borderTopColor",BORDER_TOP_STYLE:"borderTopStyle",BORDER_TOP_WIDTH:"borderTopWidth",BORDER_WIDTH:"borderWidth",BOTTOM:"bottom",COLOR:"color",CONTENT:"content",CURSOR:"cursor",FILL:"fill",FONT:"font",FONT_FAMILY:"fontFamily",FONT_SIZE:"fontSize",FONT_STYLE:"fontStyle",FONT_WEIGHT:"fontWeight",HEIGHT:"height",LEFT:"left",MARGIN:"margin",MARGIN_BOTTOM:"marginBottom",MARGIN_LEFT:"marginLeft",MARGIN_RIGHT:"marginRight",MARGIN_TOP:"marginTop",MAX_HEIGHT:"maxHeight",MAX_WIDTH:"maxWidth",MIN_HEIGHT:"minHeight",MIN_WIDTH:"minWidth",OPACITY:"opacity",ORIGIN_X:"originX",ORIGIN_Y:"originY",PADDING:"padding",PADDING_BOTTOM:"paddingBottom",PADDING_LEFT:"paddingLeft",PADDING_RIGHT:"paddingRight",PADDING_TOP:"paddingTop",POSITION:"position",RADIUS:"radius",RIGHT:"right",ROTATION:"rotation",SCALE_X:"scaleX",SCALE_Y:"scaleY",STROKE:"stroke",STROKE_DASHARRAY:"strokeDasharray",STROKE_LINECAP:"strokeLinecap",STROKE_WIDTH:"strokeWidth",TEXT_ALIGN:"textAlign",TEXT_OVERFLOW:"textOverflow",TOP:"top",TRANSFORM:"transform",TRANSFORM_ORIGIN:"transformOrigin",VISIBILITY:"visibility",WHITE_SPACE:"whiteSpace",WIDTH:"width",Z_INDEX:"zIndex"},TruncationSafetyFactor:.9,TimeInterval:x,TIME_INTERVALS_ASC:c("getObjectValues")(x).sort(function(z,A){return z-A}),TIME_INTERVALS_DESC:c("getObjectValues")(x).sort(function(z,A){return A-z}),TIME_STEPS:[h,h*5,h*15,h*30,i,i*5,i*15,i*30,j,j*2,j*3,j*6,j*12,k,k*2,k*3,l,l*2,m,m*3,m*6,n],TransformFunction:{ROTATE:"rotate",SCALE:"scale",SCALE_X:"scaleX",SCALE_Y:"scaleY"},Visibility:{HIDDEN:"hidden",VISIBLE:"visible"}};f.exports=y}),null);
__d("CandelaSelector",["invariant","CandelaConstants","immutable","memoize"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k,l,m=c("immutable").List,n=c("immutable").Map,o=c("immutable").Record,p=c("immutable").Set,q=">",r="*",s=c("CandelaConstants").RE,t=s.ATTRIBUTE_RE,u=s.ATTRIBUTES_RE,v=s.CLASSES_RE,w=s.COMBINATORS_RE,x=s.PSEUDO_CLASSES_RE,y=s.TYPE_RE,z=function(){__p&&__p();var C={};return function(D){__p&&__p();if(!Object.prototype.hasOwnProperty.call(C,D)){var E=D.trim().split(w).map(function(D){__p&&__p();var G={attributes:{},classes:[],pseudoClasses:[],type:r};D=D.replace(u,function(H){var I=t.exec(H),J=I[0],K=I[1],L=I[2],M=I[3],N=I[4],O=I[5],P=O==null?N==null?L==null?M:L:N:O;if(P)G.attributes[K.toLowerCase()]=P;return""});D=D.replace(v,function(H){G.classes.push(H.slice(1));return""});D=D.replace(x,function(H){G.pseudoClasses.push(H.toLowerCase().slice(1));return""});D=D.replace(y,function(H){G.type=H.toLowerCase();return""});D.length===0||h(0);return G});C[D]=A.fromJS(E)}var F=C[D];if(!Object.prototype.hasOwnProperty.call(C,F))C[F]=F;return C[F]}}();i=babelHelpers.inherits(A,o({simpleSelectors:m()}));j=i&&i.prototype;function A(C){j.constructor.call(this,C);this.getSpecificity=c("memoize")(this.getSpecificity.bind(this));this.toString=c("memoize")(this.toString.bind(this))}A.from=function(C){return z(C)};A.fromJS=function(C){var D=C.reverse().map(function(E){return B.fromJS(E)});return new A({simpleSelectors:m(D)})};A.prototype.getSpecificity=function(){return this.simpleSelectors.reduce(function(C,D){return C+D.getSpecificity()},0)};A.prototype.toString=function(){return this.simpleSelectors.map(function(C){return C.toString()}).reverse().join(q)};k=babelHelpers.inherits(B,o({attributes:n(),classes:p(),pseudoClasses:p(),type:r}));l=k&&k.prototype;B.fromJS=function(C){var D=C.attributes,E=C.classes,F=C.pseudoClasses,G=C.type;return new B({attributes:n(D),classes:p(E),pseudoClasses:p(F),type:G})};B.prototype.getSpecificity=function(){return(this.type!==r)+this.attributes.size*10+this.classes.size*10+this.pseudoClasses.size*10};B.prototype.toString=function(){return this.type+this.attributes.sort().reduce(function(C,D,E){return C+("["+E+'="'+D+'"]')},"")+(this.classes.size?"."+this.classes.sort().join("."):"")+(this.pseudoClasses.size?":"+this.pseudoClasses.sort().join(":"):"")};function B(){k.apply(this,arguments)}f.exports=A}),null);
__d("CandelaStyleDescriptors",["invariant","CandelaConstants","CandelaPlatformConstants","React"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w=c("CandelaConstants").COLOR_KEYWORDS,x=c("CandelaConstants").COLOR_KEYWORD_MAP,y=c("CandelaPlatformConstants").IMAGE_PATTERN,z=c("React").PropTypes,A=/^(?:rgb|hsl)\((?:\d+%?,\s?){2}\d+%?\)|(?:rgb|hsl)a\((?:\d+%?,\s?){3}(?:\d?\.)?\d+\)|#(?:[a-f0-9]{3}|[a-f0-9]{6})$/,B=/^(-?(?:\d*\.)?\d+)[a-z%]*$/,C=/-?(?:\d*\.)?\d+/g,D=/^url\(([\'\"])?([^\'\"]+)\1\)$/;function E(M,N){N=babelHelpers["extends"]({propType:z.any},N,{name:M});Object.assign(this,N)}E.prototype.normalize=function(M){var N;if(M==null)return{};if(Object.prototype.hasOwnProperty.call(M,this.name))return M;var O=this.parse(M);O!==null||h(0);return N={},N[this.name]=O,N};E.prototype.parse=function(M){return null};i=babelHelpers.inherits(F,E);j=i&&i.prototype;function F(M,N){N=babelHelpers["extends"]({propType:z.string},N);j.constructor.call(this,M,N)}F.prototype.parse=function(M){__p&&__p();if(typeof M==="string"){M=M.trim();var N=false;if(w.indexOf(M)!==-1)N=true;else if(Object.prototype.hasOwnProperty.call(x,M)){N=true;M=x[M]}else{var O=M.toLowerCase().match(A);if(O){N=true;M=O[0]}}if(N)return M}return j.parse.call(this,M)};k=babelHelpers.inherits(G,E);l=k&&k.prototype;function G(M,N,O){O=babelHelpers["extends"]({propType:z.oneOf(N)},O,{values:N});l.constructor.call(this,M,O)}G.prototype.parse=function(M){if(typeof M==="string"){M=M.trim();var N=this.values.includes(M);if(N)return M}return l.parse.call(this,M)};m=babelHelpers.inherits(H,E);n=m&&m.prototype;function H(M,N){N=babelHelpers["extends"]({propType:z.object},N);n.constructor.call(this,M,N)}H.prototype.parse=function(M){__p&&__p();var N=false;if(typeof M==="string"){var O=M.trim().match(D);if(O){N=true;M=O[2]}}if(M&&typeof M==="object")N=Object.prototype.hasOwnProperty.call(M,"sprited");if(y&&N)return new y(M);return n.parse.call(this,M)};o=babelHelpers.inherits(I,E);p=o&&o.prototype;function I(M,N){N=babelHelpers["extends"]({propType:z.number},N);p.constructor.call(this,M,N)}I.prototype.parse=function(M){if(typeof M==="string"){var N=M.trim().match(B);if(N)M=Number(N[1])}if(typeof M==="number")return M;return p.parse.call(this,M)};q=babelHelpers.inherits(J,E);r=q&&q.prototype;function J(M,N){N=babelHelpers["extends"]({defaultValue:"",propType:z.string},N);r.constructor.call(this,M,N)}J.prototype.parse=function(M){if(typeof M==="string")return M;return r.parse.call(this,M)};s=babelHelpers.inherits(K,E);t=s&&s.prototype;function K(M,N){N=babelHelpers["extends"]({propType:z.arrayOf(z.number)},N);t.constructor.call(this,M,N)}K.prototype.parse=function(M){__p&&__p();if(typeof M==="string"){var N=M.match(C);if(N)M=N.map(function(O){return Number(O)})}if(typeof M==="number")M=[M];if(Array.isArray(M)){if(M.length%2)M=M.concat(M);if(M.every(function(O){return typeof O==="number"}))return M}return t.parse.call(this,M)};u=babelHelpers.inherits(L,E);v=u&&u.prototype;function L(M,N,O){var P=N.map(function(Q){return Q.propType});O=babelHelpers["extends"]({propType:z.oneOfType(P)},O,{descriptors:N,name:M});v.constructor.call(this,M,O)}L.prototype.normalize=function(M){var N=this.descriptors.find(function(N){return N.parse(M)!==null});if(N)return N.normalize(M);return v.normalize.call(this,M)};f.exports={ColorStyleDescriptor:F,EnumStyleDescriptor:G,ImageStyleDescriptor:H,MultipleStyleDescriptor:L,NumberStyleDescriptor:I,StringStyleDescriptor:J,StrokeDasharrayStyleDescriptor:K,StyleDescriptor:E}}),null);
__d("CandelaShorthandStyleDescriptors",["invariant","CandelaStyleDescriptors","nullthrows"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k,l,m,n,o,p,q=c("CandelaStyleDescriptors").StyleDescriptor,r=/\s*,\s*/,s=/^((?:(?:normal|bold|italic)\s+)*)((?:\d*\.)?\d+)[a-z%]*(?:\/[^\s]+)?\s+(.+)$/,t=/\s+/;i=babelHelpers.inherits(u,q);j=i&&i.prototype;function u(y,z,A){A=babelHelpers["extends"]({},A,{descriptors:z,name:y});j.constructor.call(this,y,A)}u.prototype.normalize=function(y){__p&&__p();if(y==null)return{};if(this.descriptors.some(function(A){var B=A.name;return Object.prototype.hasOwnProperty.call(y,B)}))return y;var z=this.parse(y);z!==null||h(0);return this.descriptors.reduce(function(A,B,C){return Object.assign(A,B.normalize(c("nullthrows")(z)[C]))},{})};u.prototype.parse=function(y){__p&&__p();if(typeof y==="string")y=y.trim().split(t);if(Array.isArray(y)){if(y.length!==this.descriptors.length)y=this.descriptors.map(function(z){return y.find(function(A){return z.parse(A)!==null})});if(y.some(function(z){return z!==null}))return y}return j.parse.call(this,y)};k=babelHelpers.inherits(v,u);l=k&&k.prototype;function v(y,z,A){z.length===4||h(0);l.constructor.call(this,y,z,A)}v.prototype.parse=function(y){__p&&__p();if(typeof y==="string")y=y.trim().split(t);if(typeof y==="number")y=[y];if(Array.isArray(y))if(y.length===1)y=[y[0],y[0],y[0],y[0]];else if(y.length===2)y=y.concat(y);else if(y.length===3)y=y.concat(y[1]);return l.parse.call(this,y)};m=babelHelpers.inherits(w,u);n=m&&m.prototype;w.prototype.parse=function(y){__p&&__p();var z;if(typeof y==="string"){var z=function(){var A=y.trim().match(s);if(!A)return{v:null};var B=["italic","bold"].map(function(y){return A[1]&&A[1].includes(y)?y:"normal"});y=B.concat(A.slice(2))}();if(typeof z==="object")return z.v}return n.parse.call(this,y)};function w(){m.apply(this,arguments)}o=babelHelpers.inherits(x,u);p=o&&o.prototype;function x(y,z,A){p.constructor.call(this,y,z,A);this.$TransformFunctionShorthandStyleDescriptor1=new RegExp(y+"\\(([^)]+)\\)")}x.prototype.parse=function(y){if(typeof y==="string"){var z=y.match(this.$TransformFunctionShorthandStyleDescriptor1);if(!z)return null;y=z[1].trim().split(r)}return p.parse.call(this,y)};f.exports={BoxShorthandStyleDescriptor:v,FontShorthandStyleDescriptor:w,ShorthandStyleDescriptor:u,TransformFunctionShorthandStyleDescriptor:x}}),null);
__d("CandelaStyles",["CandelaConstants","CandelaPlatformConstants","CandelaShorthandStyleDescriptors","CandelaStyleDescriptors","immutable","getObjectValues","isEmpty","memoize","memoizeStringOnly","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("CandelaPlatformConstants").DEFAULT_FONT_FAMILY,i=c("immutable").Map,j=c("CandelaShorthandStyleDescriptors").BoxShorthandStyleDescriptor,k=c("CandelaShorthandStyleDescriptors").FontShorthandStyleDescriptor,l=c("CandelaShorthandStyleDescriptors").ShorthandStyleDescriptor,m=c("CandelaShorthandStyleDescriptors").TransformFunctionShorthandStyleDescriptor,n=c("CandelaStyleDescriptors").ColorStyleDescriptor,o=c("CandelaStyleDescriptors").EnumStyleDescriptor,p=c("CandelaStyleDescriptors").ImageStyleDescriptor,q=c("CandelaStyleDescriptors").MultipleStyleDescriptor,r=c("CandelaStyleDescriptors").NumberStyleDescriptor,s=c("CandelaStyleDescriptors").StringStyleDescriptor,t=c("CandelaStyleDescriptors").StrokeDasharrayStyleDescriptor,u=c("CandelaStyleDescriptors").StyleDescriptor,v=c("CandelaConstants").Style,w=c("CandelaConstants").TransformFunction,x=c("memoizeStringOnly")(function(C){__p&&__p();switch(C){case v.BACKGROUND_COLOR:case v.BORDER_BOTTOM_COLOR:case v.BORDER_LEFT_COLOR:case v.BORDER_RIGHT_COLOR:case v.BORDER_TOP_COLOR:case v.STROKE:return new n(C);case v.BORDER_BOTTOM_STYLE:case v.BORDER_LEFT_STYLE:case v.BORDER_RIGHT_STYLE:case v.BORDER_TOP_STYLE:return new o(C,["dashed","dotted","none","solid"],{defaultValue:"none"});case v.FILL:return new q(C,[new n(C),new p(C)]);case v.BORDER_BOTTOM_WIDTH:case v.BORDER_LEFT_WIDTH:case v.BORDER_RIGHT_WIDTH:case v.BORDER_TOP_WIDTH:case v.HEIGHT:case v.MARGIN_TOP:case v.MARGIN_RIGHT:case v.MARGIN_BOTTOM:case v.MARGIN_LEFT:case v.ORIGIN_X:case v.ORIGIN_Y:case v.PADDING_TOP:case v.PADDING_RIGHT:case v.PADDING_BOTTOM:case v.PADDING_LEFT:case v.RADIUS:case v.ROTATION:case v.SCALE_X:case v.SCALE_Y:case v.STROKE_WIDTH:case v.WIDTH:case v.Z_INDEX:return new r(C,{defaultValue:0});case v.BOTTOM:case v.LEFT:case v.MAX_HEIGHT:case v.MAX_WIDTH:case v.MIN_HEIGHT:case v.MIN_WIDTH:case v.RIGHT:case v.TOP:return new r(C);case v.COLOR:return new n(C,{defaultValue:"black"});case v.CONTENT:return new s(C);case v.CURSOR:return new o(C,["default","move","pointer","ew-resize"],{defaultValue:"default"});case v.FONT_FAMILY:return new s(C,{defaultValue:h});case v.FONT_SIZE:return new r(C,{defaultValue:10});case v.FONT_STYLE:return new o(C,["italic","normal"],{defaultValue:"normal"});case v.FONT_WEIGHT:return new o(C,["bold","normal","lighter"],{defaultValue:"normal"});case v.OPACITY:return new r(C,{defaultValue:1});case v.POSITION:return new o(C,["absolute","auto"],{defaultValue:"auto"});case v.STROKE_DASHARRAY:return new t(C);case v.STROKE_LINECAP:return new o(C,["butt","round","square"],{defaultValue:"square"});case v.TEXT_ALIGN:return new o(C,["center","left","right"],{defaultValue:"left"});case v.TEXT_OVERFLOW:return new o(C,["none","clip","ellipsis"],{defaultValue:"none"});case v.VISIBILITY:return new o(C,["hidden","visible"],{defaultValue:"visible"});case v.WHITE_SPACE:return new o(C,["normal","nowrap"],{defaultValue:"nowrap"});case v.BACKGROUND:return new l(C,[x(v.BACKGROUND_COLOR)]);case v.BORDER:return new l(C,[x(v.BORDER_WIDTH),x(v.BORDER_STYLE),x(v.BORDER_COLOR)]);case v.BORDER_BOTTOM:return new l(C,[x(v.BORDER_BOTTOM_WIDTH),x(v.BORDER_BOTTOM_STYLE),x(v.BORDER_BOTTOM_COLOR)]);case v.BORDER_COLOR:return new j(C,[x(v.BORDER_TOP_COLOR),x(v.BORDER_RIGHT_COLOR),x(v.BORDER_BOTTOM_COLOR),x(v.BORDER_LEFT_COLOR)]);case v.BORDER_LEFT:return new l(C,[x(v.BORDER_LEFT_WIDTH),x(v.BORDER_LEFT_STYLE),x(v.BORDER_LEFT_COLOR)]);case v.BORDER_RIGHT:return new l(C,[x(v.BORDER_RIGHT_WIDTH),x(v.BORDER_RIGHT_STYLE),x(v.BORDER_RIGHT_COLOR)]);case v.BORDER_STYLE:return new j(C,[x(v.BORDER_TOP_STYLE),x(v.BORDER_RIGHT_STYLE),x(v.BORDER_BOTTOM_STYLE),x(v.BORDER_LEFT_STYLE)]);case v.BORDER_TOP:return new l(C,[x(v.BORDER_TOP_WIDTH),x(v.BORDER_TOP_STYLE),x(v.BORDER_TOP_COLOR)]);case v.BORDER_WIDTH:return new j(C,[x(v.BORDER_TOP_WIDTH),x(v.BORDER_RIGHT_WIDTH),x(v.BORDER_BOTTOM_WIDTH),x(v.BORDER_LEFT_WIDTH)]);case v.FONT:return new k(C,[x(v.FONT_STYLE),x(v.FONT_WEIGHT),x(v.FONT_SIZE),x(v.FONT_FAMILY)]);case v.MARGIN:return new j(C,[x(v.MARGIN_TOP),x(v.MARGIN_RIGHT),x(v.MARGIN_BOTTOM),x(v.MARGIN_LEFT)]);case v.PADDING:return new j(C,[x(v.PADDING_TOP),x(v.PADDING_RIGHT),x(v.PADDING_BOTTOM),x(v.PADDING_LEFT)]);case v.TRANSFORM:return new l(C,[new m(w.ROTATE,[x(v.ROTATION)]),new m(w.SCALE,[x(v.SCALE_X),x(v.SCALE_Y)]),new m(w.SCALE_X,[x(v.SCALE_X)]),new m(w.SCALE_Y,[x(v.SCALE_Y)])]);case v.TRANSFORM_ORIGIN:return new l(C,[x(v.ORIGIN_X),x(v.ORIGIN_Y)])}}),y=c("memoizeStringOnly")(function(C){return i().withMutations(function(D){var E=x(C);if(E)if(E instanceof l)E.descriptors.forEach(function(F){D.merge(y(F.name))});else if(E.defaultValue!=null)D.set(E.name,E.defaultValue)})}),z=c("memoizeStringOnly")(function(C){var D={},E=x(C);if(E){if(E instanceof l)return Object.assign.apply(Object,[D].concat(E.descriptors.map(function(F){return z(F.name)})));D[E.name]=E.propType}return D}),A=c("memoize")(function(){return i().withMutations(function(C){c("getObjectValues")(v).forEach(function(D){return C.merge(y(D))})})}),B=c("memoize")(function(){return Object.assign.apply(Object,[{}].concat(c("getObjectValues")(v).map(function(C){return z(C)})))});f.exports={get:function C(D){return c("nullthrows")(x(D))},getDefaultValues:function C(){for(var D=arguments.length,E=Array(D),F=0;F<D;F++)E[F]=arguments[F];if(c("isEmpty")(E))return A();return i().withMutations(function(G){E.forEach(function(H){return G.merge(y(H))})})},getPropTypes:function C(){for(var D=arguments.length,E=Array(D),F=0;F<D;F++)E[F]=arguments[F];if(c("isEmpty")(E))return B();return Object.assign.apply(Object,[{}].concat(E.map(function(G){return z(G)})))}}}),null);
__d("CandelaGlobalThemeRegistry",["invariant","CandelaConstants","CandelaSelector","CandelaShorthandStyleDescriptors","CandelaStyles","immutable","createObjectFrom","forEachObject","getObjectValues","isEmpty"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("immutable").Record,l=c("immutable").Set,m=c("CandelaConstants").PseudoClass,n=c("CandelaConstants").Style,o=c("CandelaShorthandStyleDescriptors").ShorthandStyleDescriptor,p=/^\[([^=]+)=\"([^\"]+)\"\]$/,q="*",r=function(){var v=c("createObjectFrom")(c("getObjectValues")(m));return function(w){return w in v}}(),s=function(){var v=c("createObjectFrom")(c("getObjectValues")(n));return function(w){return w in v}}(),t={_registry:{},get:function v(w){var x=this._registry[w];x||h(0);return x},register:function v(w){var x=w.type;!this._registry[x]||h(0);if(w.children)w.children.forEach(function(y){this.register(babelHelpers["extends"]({},y,{parentType:x}))}.bind(this));this._registry[x]=u.fromJS(w)},validateSelector:function v(w){this._validateSelector(w)},validateSelectorEnforce:function v(w){this._validateSelector(w,true)},validateStyleSheetFragment:function v(w,x){__p&&__p();c("forEachObject")(x,function(y,z){__p&&__p();var A=c("CandelaSelector").from(z);this.validateSelector(A);A.simpleSelectors.forEach(function(B,C){__p&&__p();var D=this._registry[B.type];if(!D)return;if(C===0){var E=D.styles;if(D.element){var F=w[B.type]||D.element;E=l(Object.keys(F.propTypes))}c("forEachObject")(E,function(G,H){!D.styles.contains(H)})}}.bind(this))}.bind(this))},_validateSelector:function v(w,x){__p&&__p();w.simpleSelectors.forEach(function(y,z){var A=x?this.get(y.type):this._registry[y.type];if(!A)return;y.attributes.forEach(function(B){var C=B.match(p);C&&!A.attributes.contains(C[1])});y.pseudoClasses.forEach(function(B){!A.pseudoClasses.contains(B)});w.simpleSelectors.get(z+1)&&A.parentType!==q&&A.parentType!==w.simpleSelectors.get(z+1).type}.bind(this))}};i=babelHelpers.inherits(u,k({attributes:l(),element:null,parentType:null,pseudoClasses:l(),styles:l(),type:null}));j=i&&i.prototype;function u(v){j.constructor.call(this,v)}u.fromJS=function(v){__p&&__p();var w=v.attributes,x=v.pseudoClasses,y=v.styles,z=babelHelpers.objectWithoutProperties(v,["attributes","pseudoClasses","styles"]);if(w)z.attributes=l(w.filter(function(C){return!!C}));if(x){var A=x.filter(function(C){return!r(C)});c("isEmpty")(A)||h(0);z.pseudoClasses=l(x)}if(y){var B=y.filter(function(C){return!s(C)});c("isEmpty")(B)||h(0);y.forEach(function(C){var D=c("CandelaStyles").get(C);if(D instanceof o)y.push.apply(y,D.descriptors.map(function(v){return v.name}))});z.styles=l(y)}return new u(z)};t.register({type:q,pseudoClasses:c("getObjectValues")(m),styles:c("getObjectValues")(n)});f.exports=t}),null);
__d("CandelaStructs",["invariant","CandelaConstants","immutable"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k,l,m,n,o=c("CandelaConstants").Placement,p=c("immutable").Record;i=babelHelpers.inherits(q,p({className:"",flushToThreshold:false,value:0}));j=i&&i.prototype;function q(t){j.constructor.call(this,t)}k=babelHelpers.inherits(r,p({className:"",label:"",placement:o.NONE,seriesName:"",value:0}));l=k&&k.prototype;function r(t){l.constructor.call(this,t)}m=babelHelpers.inherits(s,p({dependentSeriesName:null,independentSeriesValue:null,placement:o.NONE}));n=m&&m.prototype;function s(t){t.dependentSeriesName!=null||t.independentSeriesValue!=null||h(0);n.constructor.call(this,t)}f.exports={Highlight:s,Reference:r,Threshold:q}}),null);
__d("CandelaStyleSheet",["CandelaSelector","CandelaStyles","immutable","forEachObject"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("immutable").Map,k=c("immutable").OrderedMap,l=c("immutable").Record,m="*";function n(t,u){return!t.attributes.size||t.attributes.every(function(v,w){return u!=null&&u.attributes.get(w)===v})}function o(t,u){return!t.classes.size||t.classes.every(function(v){return u!=null&&u.classes.contains(v)})}function p(t,u){return!t.pseudoClasses.size||t.pseudoClasses.every(function(v){return u!=null&&u.pseudoClasses.contains(v)})}function q(t,u){return t.type===m||u!=null&&t.type===u.type}function r(t){return j().withMutations(function(u){Object.keys(t).forEach(function(v){u.merge(c("CandelaStyles").get(v).normalize(t[v]))})})}h=babelHelpers.inherits(s,l({styleSheet:k()}));i=h&&h.prototype;s.fromJS=function(t){var u=k().withMutations(function(v){c("forEachObject")(t,function(w,x){var y=r(w),z=c("CandelaSelector").from(x);if(v.has(z))y=v.get(z).merge(y);v.set(z,y)})});return new s({styleSheet:u})};s.prototype.computeStyle=function(t){return this.styleSheet.filter(function(u,v){if(v===t)return true;return v.simpleSelectors.every(function(w,x){var y=t.simpleSelectors.get(x);return q(w,y)&&n(w,y)&&o(w,y)&&p(w,y)})}).sortBy(function(u,v){return v},function(u,v){return u.getSpecificity()-v.getSpecificity()}).reduce(function(u,v){return u.merge(v)},c("CandelaStyles").getDefaultValues()).toJS()};s.prototype.extend=function(t){return this.mergeDeep(s.fromJS(t))};function s(){h.apply(this,arguments)}f.exports=s}),null);
__d("CandelaTheme",["invariant","CandelaConstants","CandelaGlobalThemeRegistry","CandelaSelector","CandelaStyleDescriptors","CandelaStyles","CandelaStyleSheet","immutable","createObjectFrom","nullthrows"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("CandelaStyleDescriptors").ColorStyleDescriptor,l=c("CandelaStyleDescriptors").MultipleStyleDescriptor,m=c("immutable").Map,n=c("immutable").OrderedMap,o=c("immutable").Record,p=c("CandelaConstants").PseudoClass,q="auto",r=c("createObjectFrom")(c("CandelaConstants").COLOR_KEYWORDS),s="series";function t(w){return Object.keys(w).some(function(x){return u(x)&&w[x]===q})}function u(w){var x=c("CandelaStyles").get(w);return x instanceof k||x instanceof l&&x.descriptors.some(function(x){return x instanceof k})}i=babelHelpers.inherits(v,o({autoColors:m(),colors:n(),elements:m(),styleSheet:new(c("CandelaStyleSheet"))()}));j=i&&i.prototype;function v(w){j.constructor.call(this,w)}v.fromJS=function(w){__p&&__p();var x={};if(w.autoColors)x.autoColors=m(w.autoColors);if(w.colors)x.colors=n(w.colors.map(function(y){y=Array.isArray(y)?y:[y,y];y[0]in r||h(0);return y}));if(w.elements)x.elements=m(w.elements);if(w.styleSheet)x.styleSheet=c("CandelaStyleSheet").fromJS(w.styleSheet);return new v(x)};v.prototype.getActiveStyle=function(w){return this.getStyle(w+p.ACTIVE)};v.prototype.getAutoColorForSeries=function(w){return this.$Theme1&&this.$Theme1[w]};v.prototype.getElement=function(w){return c("nullthrows")(this.elements.get(w,c("CandelaGlobalThemeRegistry").get(w).element))};v.prototype.getHoverStyle=function(w){return this.getStyle(w+p.HOVER)};v.prototype.getProximityStyle=function(w){return this.getStyle(w+p.PROXIMITY)};v.prototype.getStyle=function(w){var x=c("CandelaSelector").from(w);if(!this.$Theme2)this.$Theme2={};if(!Object.prototype.hasOwnProperty.call(this.$Theme2,x))this.$Theme2[x]=this.$Theme3(x);return this.$Theme2[x]};v.prototype.$Theme3=function(w){__p&&__p();var x=this.styleSheet.computeStyle(w),y=null;if(t(x))y=this.$Theme4(w);Object.keys(x).forEach(function(z){if(u(z))if(x[z]===q)x[z]=y;else if(this.colors.has(x[z]))x[z]=this.colors.get(x[z])}.bind(this));return x};v.prototype.$Theme4=function(w){__p&&__p();var x=null,y=w.simpleSelectors.find(function(y){return y.attributes.has(s)});if(y){var z=y.attributes.get(s);if(!this.$Theme1)this.$Theme1=this.autoColors.toObject();if(!this.$Theme1[z]){var A=Object.keys(this.$Theme1).length-this.autoColors.size,B=A%this.colors.size;this.$Theme1[z]=Array.from(this.colors.values())[B]}x=this.$Theme1[z]}return x};f.exports=v}),null);
__d("CandelaScalingStrategyBase",["invariant","immutable","emptyFunction"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("immutable").OrderedSet;function j(k){__p&&__p();this.props={};if(Array.isArray(k.output))k.output=i(k.output);if(Array.isArray(k.input))k.input=i(k.input);var l=this.__finalizeProps(k);for(var m=Object.entries(l),n=Array.isArray(m),o=0,m=n?m:m[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var p;if(n){if(o>=m.length)break;p=m[o++]}else{o=m.next();if(o.done)break;p=o.value}var q=p,r=q[0],s=q[1];this.props[r]=s}}j.prototype.convert=function(k){this.props.output||h(0);this.$ScalingStrategyBase1=this.$ScalingStrategyBase1||this.__getConverter();return this.$ScalingStrategyBase1(k)};j.prototype.invert=function(k){this.props.output||h(0);this.$ScalingStrategyBase2=this.$ScalingStrategyBase2||this.__getInverter();return this.$ScalingStrategyBase2(k)};j.getExtentValue=function(k){return Math.abs(k.first()-k.last())};j.getExtent=function(k){var l=k.first(),m=k.last();return l<m?k:i([m,l])};j.prototype.__finalizeProps=function(k){if(!k.output)return babelHelpers["extends"]({steps:i()},k);var l=babelHelpers["extends"]({clamp:false,firstPadding:0,lastPadding:0,roundOutput:false},k);return l};j.prototype.__getConverter=function(){return c("emptyFunction").thatReturnsNull};j.prototype.__getInverter=function(){return c("emptyFunction").thatReturnsNull};f.exports=j}),null);
__d("CandelaInterpolator",["invariant"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(j){this.$Interpolator1=j}i.fromConstant=function(j){return new i(function(){return j})};i.fromLinear=function(j,k){var l=j.first(),m=j.last();m=j.size===1?m:(m-=l)||1/m;return new i(function(n){return j.size===1?.5:k?Math.max(0,Math.min(1,(n-l)/m)):(n-l)/m})};i.fromOrdinal=function(j){return new i(function(k){var l=j.indexOf(k);l!==-1||h(0);return l/j.size})};i.prototype.toLinear=function(j,k){var l=j.first(),m=j.last();return function(n){n=this.$Interpolator1(n);n=l*(1-n)+m*n;return k?Math.round(n):n}.bind(this)};i.prototype.toOrdinal=function(j){return function(k){k=this.$Interpolator1(k);var l=Math.min(j.size-1,Math.floor(j.size*k));return j.get(l)}.bind(this)};f.exports=i}),null);
__d("CandelaScalingStrategyCategory",["CandelaInterpolator","CandelaScalingStrategyBase","immutable"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("immutable").OrderedSet;h=babelHelpers.inherits(k,c("CandelaScalingStrategyBase"));i=h&&h.prototype;k.prototype.__finalizeProps=function(l){__p&&__p();var m=i.__finalizeProps.call(this,babelHelpers["extends"]({},l,{clamp:true})),n=m.firstPadding,o=m.input,p=m.lastPadding,q=m.output;if(!o.size||!q||!q.size){m.steps=j();return m}m.steps=o;if(n||p){var r=c("CandelaScalingStrategyBase").getExtentValue(q),s=o.size+n+p,t=r/s;q=this.$ScalingStrategyCategory1(n*t,p*t,m);m.output=q}m.outputStepInterval=c("CandelaScalingStrategyBase").getExtentValue(q)/o.size;return m};k.prototype.__getConverter=function(){var l=this.props,m=l.input,n=l.output,o=l.roundOutput;return c("CandelaInterpolator").fromOrdinal(m.toIndexedSeq()).toLinear(n,o)};k.prototype.__getInverter=function(){var l=this.props,m=l.input,n=l.output,o=l.clamp;return c("CandelaInterpolator").fromLinear(n,o).toOrdinal(m.toIndexedSeq())};k.prototype.$ScalingStrategyCategory1=function(l,m,n){var o=n.output,p=o.first(),q=o.last();return j([this.$ScalingStrategyCategory2(p,q,l),this.$ScalingStrategyCategory2(q,p,m)])};k.prototype.$ScalingStrategyCategory2=function(l,m,n){return l<m?l+n:l-n};function k(){h.apply(this,arguments)}f.exports=k}),null);
__d("CandelaScalingStrategyNumeric",["invariant","CandelaConstants","CandelaInterpolator","CandelaScalingStrategyBase","immutable"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("CandelaConstants").NormalizedOutput,l=c("immutable").OrderedSet;i=babelHelpers.inherits(m,c("CandelaScalingStrategyBase"));j=i&&i.prototype;m.prototype.__calculateNiceStep=function(n,o){var p=Math.pow(10,Math.floor(Math.log(n)/Math.LN10)),q=o.input,r=c("CandelaScalingStrategyBase").getExtentValue(q),s=r/n,t=s/r*p;if(t<=.15)p*=10;else if(t<=.35)p*=5;else if(t<=.75)p*=2;return p};m.prototype.__computeSteps=function(n,o,p){if(p.steps)return p.steps;var q=p.input,r=q.first(),s=q.last();if(r>s)n*=-1;return l([]).withMutations(function(t){for(var u=0;u<=o;u++)t.add(r+n*u)})};m.prototype.__extendInput=function(n,o,p){var q=p.input,r=q.first(),s=q.last();return l([this.__extend(r,s,n),this.__extend(s,r,o)])};m.prototype.__extend=function(n,o,p){return n<o?n-p:n+p};m.prototype.__finalizeProps=function(n){__p&&__p();var o=j.__finalizeProps.call(this,babelHelpers["extends"]({niceStepOnly:false,normalizedOutputWhenNoExtent:k.LEFT,origin:0,roundInput:false},n)),p=o.firstPadding,q=o.lastPadding,r=o.niceStepOnly,s=o.output,t=o.roundInput,u=o.stepCountHint,v=o.stepIntervalHint,w=o.input;if(!s||u==null&&v==null){o.steps=l();return o}var x=c("CandelaScalingStrategyBase").getExtentValue(w),y=c("CandelaScalingStrategyBase").getExtentValue(s);if(!x){o.steps=w;o.inputStepInterval=w.first();o.outputStepInterval=y;return o}var z=u;if(v){z=Math.max(Math.round(y/v),1);if(u)z=Math.min(z,u)}z!=null||h(0);var A=x/z;if(t||r){A=this.__calculateNiceStep(A,o);if(t){w=this.__roundInput(A,o);x=c("CandelaScalingStrategyBase").getExtentValue(w);o.input=w;z=Math.round(x/A)}else z=x/A}o.inputStepInterval=A;if(p>=1||q>=1){o.input=this.__extendInput(Math.floor(p)*A,Math.floor(q)*A,o);z+=Math.floor(p)+Math.floor(q)}o.steps=this.__computeSteps(A,z,o);if(p||q){o.input=this.__extendInput(p%1*A,q%1*A,o);z+=p%1+q%1}o.outputStepInterval=y/z;return o};m.prototype.__getConverter=function(){var n=this.props,o=n.input,p=n.clamp,q=n.output,r=n.roundOutput,s=void 0;if(c("CandelaScalingStrategyBase").getExtentValue(o)===0)s=c("CandelaInterpolator").fromConstant(this.props.normalizedOutputWhenNoExtent);else s=c("CandelaInterpolator").fromLinear(o,p);return s.toLinear(q,r)};m.prototype.__getInverter=function(){var n=this.props,o=n.input,p=n.clamp,q=n.output;return c("CandelaInterpolator").fromLinear(q,p).toLinear(o)};m.prototype.__roundInput=function(n,o){var p=o.input,q=o.origin,r=p.first(),s=p.last();return l([this.$ScalingStrategyNumeric1(r,s,n,q),this.$ScalingStrategyNumeric1(s,r,n,q)])};m.prototype.$ScalingStrategyNumeric1=function(n,o,p,q){return n<o?Math.floor((n-q)/p)*p+q:Math.ceil((n-q)/p)*p+q};function m(){i.apply(this,arguments)}f.exports=m}),null);
__d("CandelaScalingStrategyTime",["invariant","BinarySearch","CandelaConstants","CandelaScalingStrategyBase","CandelaScalingStrategyNumeric","DateTime","immutable","PeriodUnit","Timezone","nearlyEqualNumbers"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k,l=c("immutable").OrderedSet,m=c("CandelaConstants").TIME_INTERVALS_DESC,n=c("CandelaConstants").TimeInterval,o=n.DAY,p=n.HOUR,q=n.MIN,r=n.MONTH,s=n.SEC,t=n.WEEK,u=n.YEAR,v=(k={},k[o]=c("PeriodUnit").day,k[p]=c("PeriodUnit").hour,k[q]=c("PeriodUnit").minute,k[r]=c("PeriodUnit").month,k[s]=c("PeriodUnit").second,k[t]=c("PeriodUnit").week,k[u]=c("PeriodUnit").year,k);i=babelHelpers.inherits(w,c("CandelaScalingStrategyNumeric"));j=i&&i.prototype;function w(x){if(x.origin)throw new Error("CandelaTimeScale does not support custom origin");j.constructor.call(this,x)}w.prototype.__finalizeProps=function(x){return j.__finalizeProps.call(this,babelHelpers["extends"]({timeSteps:c("CandelaConstants").TIME_STEPS,timezoneID:c("Timezone").UTC},x))};w.prototype.invert=function(x){return c("DateTime").create(j.invert.call(this,x),this.props.timezoneID)};w.prototype.__calculateNiceStep=function(x,y){__p&&__p();var z=y,A=z.firstPadding,B=z.lastPadding,C=z.minStepInterval,D=z.output,E=z.stepIntervalHint,F=z.timeSteps,G=c("BinarySearch").findBoundInArray(F,x,function(N,O){return N-O},c("BinarySearch").LEAST_UPPER_BOUND);G||h(0);if(G===F.length){y=babelHelpers["extends"]({},y,{input:y.input.map(function(N){return N/u})});return j.__calculateNiceStep.call(this,x/u,y)*u}if(x/F[G-1]<F[G]/x)if(E&&C){var H=F[G-1],I=this.__roundInput(H,y),J=c("CandelaScalingStrategyBase").getExtentValue(I),K=J/H+A+B,L=c("CandelaScalingStrategyBase").getExtentValue(D),M=L/K;if(M>=C)G-=1}else G-=1;return F[G]};w.prototype.__computeSteps=function(x,y,z){__p&&__p();if(z.steps)return z.steps;if(!z.roundInput&&!z.niceStepOnly)return l(j.__computeSteps.call(this,x,y,z).map(function(x){return c("DateTime").create(x,z.timezoneID)}));var A=m.find(function(A){return A<=x});typeof A==="number"||h(0);var B=x/A,C=v[A],D={},E=z.input,F=E.first(),G=E.last();if(F>G)B*=-1;return l([]).withMutations(function(H){for(var I=0;I<=y;I++){D[C]=B*I;H.add(F.add(D))}})};w.prototype.__extend=function(x,y,z){return x<y?x.subtractDuration(z):x.addDuration(z)};w.prototype.__roundInput=function(x,y){var z=y.input,A=m.find(function(A){return A<=x});typeof A==="number"||h(0);var B=x/A,C=v[A],D=z.first(),E=z.last(),F=D<E?D.floor(C):D.ceil(C),G=D<E?E.ceil(C):E.floor(C),H=c("CandelaScalingStrategyBase").getExtentValue(z),I=H/x;if(c("nearlyEqualNumbers")(I,Math.round(I))&&D.equals(F)&&E.equals(G))return z;return l([this.$ScalingStrategyTime1(F,G,A,B),this.$ScalingStrategyTime1(G,F,A,B)])};w.prototype.$ScalingStrategyTime1=function(x,y,z,A){var B=v[z],C=w.value(x,z)%A;if(x>y)C=C?C-A:-C;var D={};D[B]=C;return x.subtract(D)};w.value=function(x,y){switch(y){case u:return x.getYear();case r:return x.getMonth()-1;case t:return x.getWeekOfYear();case o:return x.getDayOfMonth()-1;case p:return x.getHours();case q:return x.getMinutes();case s:return x.getSeconds()}throw new Error("Invalid timeInterval given")};f.exports=w}),null);
__d("CandelaScale",["invariant","CandelaScalingStrategyBase","CandelaScalingStrategyCategory","CandelaScalingStrategyNumeric","CandelaScalingStrategyTime","immutable","filterObject"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("immutable").Map;function j(k){k=c("filterObject")(k,function(m){return m!==undefined});this.$Scale1=i(k);var l=this.constructor.strategyCtorMap[k.strategy];this.strategy===undefined||h(0);this.strategy=new l(k);this.props=this.strategy.props}j.prototype.merge=function(k){var l=this.constructor,m=this.$Scale1.merge(k);if(m===this.$Scale1)return this;return new l(babelHelpers["extends"]({},m.toObject(),k))};j.prototype.set=function(k,l){var m;return this.merge((m={},m[k]=l,m))};j.prototype.convert=function(k){return this.strategy.convert(k)};j.prototype.invert=function(k){return this.strategy.invert(k)};j.strategyCtorMap={numeric:c("CandelaScalingStrategyNumeric"),time:c("CandelaScalingStrategyTime"),category:c("CandelaScalingStrategyCategory")};j.getExtent=c("CandelaScalingStrategyBase").getExtent;j.getExtentValue=c("CandelaScalingStrategyBase").getExtentValue;f.exports=j}),null);
__d("CandelaCategoryScale",["CandelaScale"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("CandelaScale"));i=h&&h.prototype;function j(k){i.constructor.call(this,babelHelpers["extends"]({strategy:"category"},k))}f.exports=j}),null);
__d("CandelaNumberScale",["CandelaScale"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("CandelaScale"));i=h&&h.prototype;function j(k){var l=babelHelpers["extends"]({strategy:"numeric"},k);i.constructor.call(this,l)}f.exports=j}),null);
__d("CandelaCurrencyScale",["CandelaNumberScale"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("CandelaNumberScale"));i=h&&h.prototype;function j(k){i.constructor.call(this,k);this.currencyCode=k.currencyCode}f.exports=j}),null);
__d("CandelaDurationScale",["CandelaNumberScale"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("CandelaNumberScale"));i=h&&h.prototype;function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("CandelaPercentageScale",["CandelaNumberScale"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("CandelaNumberScale"));i=h&&h.prototype;function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("CandelaTimeScale",["CandelaNumberScale"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("CandelaNumberScale"));i=h&&h.prototype;function j(k){i.constructor.call(this,babelHelpers["extends"]({strategy:"time"},k));this.timezoneID=this.strategy.props.timezoneID}f.exports=j}),null);
__d("CandelaScaleUtils",["invariant","CandelaCategoryScale","CandelaConstants","CandelaCurrencyScale","CandelaDurationScale","CandelaNumberScale","CandelaPercentageScale","CandelaTimeScale","DateTime","immutable","distinctArray","forEachObject"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("immutable").OrderedSet,j=c("CandelaConstants").ScaleType;function k(p,q){__p&&__p();var r={};p.forEach(function(t){q.forEach(function(u){if(t[u]==null)return;if(!r[u])r[u]=[];r[u].push(t[u])})});var s=Number.POSITIVE_INFINITY;c("forEachObject")(r,function(t){s=c("distinctArray")(t).sort().reduce(function(u,v,w,x){return w===0?u:Math.min(u,Math.abs(x[w]-x[w-1]))},s)});return s===Number.POSITIVE_INFINITY?null:s}function l(p,q,r){var s=void 0,t=r.every(function(u){var v=p.get(u);v.currencyCode||h(0);if(!s)s=v.currencyCode;return v.currencyCode===s});return t?s:null}function m(p,q){__p&&__p();var r=void 0,s=void 0,t=void 0,u=null;for(s=0;s<q.length;s++){t=q[s];r=p.get(t).type;if(!u)u=r;else if(u!==r)return null}return u}function n(p,q,r){__p&&__p();var s=null,t=r.every(function(u){__p&&__p();var v=null,w=p.get(u),x=false;if(w.timezoneID!==undefined){x=true;v=w.timezoneID}else x=q.every(function(z){if(!z[u])return true;var y=z[u].timezoneID===v||v===null;v=z[u].timezoneID;return y});var y=x&&(s===v||s===null);s=v;return y});return t?s:null}function o(p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H){__p&&__p();if(x==null&&y==null){y=E||y||80;E=E||60}z==null||A==null||z<=A||h(0);var I=void 0,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=m(s,r);if(!O)throw new Error("All series within a desired scale must be the same type!");switch(O){case j.CATEGORY:if(r.length>1)throw new Error("Can NOT group `category` scales together!");return new(c("CandelaCategoryScale"))({firstPadding:C,input:p.map(function(P){return P[r[0]]}).filter(function(P){return P!=null}),lastPadding:D,roundOutput:w});case j.CURRENCY:case j.NUMBER:case j.PERCENTAGE:case j.TIME:case j.DURATION:M=t(q?p.concat(q):p,r);L=z==null?M.min:z;K=A==null?M.max:A;if(x==null){J=k(p,r);if(J)x=Math.round((K-L)/J)}if(O===j.CURRENCY){I=l(s,p,r);if(I==null)throw new Error("All series with a desired scale must use the same currencyCode!");return new(c("CandelaCurrencyScale"))({currencyCode:I,firstPadding:C,input:i([L,K]),lastPadding:D,niceStepOnly:u,normalizedOutputWhenNoExtent:F,origin:G,output:H,roundInput:v,roundOutput:w,stepCountHint:x,stepIntervalHint:y,steps:B})}if(O===j.TIME){N=n(s,p,r);if(N==null)throw new Error("All series with a desired scale must be in the same timezone!");return new(c("CandelaTimeScale"))({firstPadding:C,input:i([new(c("DateTime"))(L,N),new(c("DateTime"))(K,N)]),lastPadding:D,minStepInterval:E,niceStepOnly:u,normalizedOutputWhenNoExtent:F,origin:G,output:H,roundInput:v,roundOutput:w,stepCountHint:x,stepIntervalHint:y,steps:B,timezoneID:N})}if(O===j.PERCENTAGE)return new(c("CandelaPercentageScale"))({firstPadding:C,input:i([L,K]),lastPadding:D,niceStepOnly:u,normalizedOutputWhenNoExtent:F,origin:G,output:H,roundInput:v,roundOutput:w,stepCountHint:x,stepIntervalHint:y,steps:B});if(O===j.DURATION)return new(c("CandelaDurationScale"))({firstPadding:C,input:i([L,K]),lastPadding:D,niceStepOnly:u,normalizedOutputWhenNoExtent:F,origin:G,output:H,roundInput:v,roundOutput:w,stepCountHint:x,stepIntervalHint:y,steps:B});return new(c("CandelaNumberScale"))({firstPadding:C,input:i([L,K]),lastPadding:D,niceStepOnly:u,normalizedOutputWhenNoExtent:F,origin:G,output:H,roundInput:v,roundOutput:w,stepCountHint:x,stepIntervalHint:y,steps:B});default:throw new Error("Provide either "+Object.values(j).join(", ")+".")}}f.exports={calculateMinDataInterval:k,createScale:o,validateTimezone:n,validateType:m}}),null);
__d("CandelaScaleBuilder",["CandelaScaleUtils"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("CandelaScaleUtils").createScale;function i(j){this.$CandelaScaleBuilder6=j}i.prototype.extendInput=function(j,k){this.$CandelaScaleBuilder3=j;this.$CandelaScaleBuilder5=k||j;return this};i.prototype.from=function(j){this.$CandelaScaleBuilder4=j;return this};i.prototype.minStepInterval=function(j){this.$CandelaScaleBuilder7=j;return this};i.prototype.normalizedOutputWhenNoExtent=function(j){this.$CandelaScaleBuilder9=j;return this};i.prototype.origin=function(j){this.$CandelaScaleBuilder10=j;return this};i.prototype.output=function(j){this.$CandelaScaleBuilder11=j;return this};i.prototype.roundInput=function(){this.$CandelaScaleBuilder12=true;return this};i.prototype.niceStepOnly=function(){this.$CandelaScaleBuilder8=true;return this};i.prototype.roundOutput=function(){this.$CandelaScaleBuilder13=true;return this};i.prototype.stepCountHint=function(j){this.$CandelaScaleBuilder16=j;return this};i.prototype.stepIntervalHint=function(j){this.$CandelaScaleBuilder17=j;return this};i.prototype.steps=function(j){this.$CandelaScaleBuilder18=j;return this};i.prototype.setTitle=function(j){this.$CandelaScaleBuilder19=j;return this};i.prototype.to=function(j){this.$CandelaScaleBuilder20=j;return this};i.prototype.getFrom=function(){return this.$CandelaScaleBuilder4};i.prototype.getSeriesNames=function(){return this.$CandelaScaleBuilder14};i.prototype.getTitle=function(){return this.$CandelaScaleBuilder19};i.prototype.getTo=function(){return this.$CandelaScaleBuilder20};i.prototype.getNormalizedOutputWhenNoExtent=function(){return this.$CandelaScaleBuilder9};i.prototype.data=function(j){this.$CandelaScaleBuilder1=j;return this};i.prototype.auxiliaryData=function(j){this.$CandelaScaleBuilder2=j;return this};i.prototype.schema=function(j){this.$CandelaScaleBuilder15=j;return this};i.prototype.seriesNames=function(j){this.$CandelaScaleBuilder14=j;return this};i.prototype.build=function(){if(!this.$CandelaScaleBuilder6)throw new Error("`minmaxStrategy` must be provided");return h(this.$CandelaScaleBuilder1,this.$CandelaScaleBuilder2,this.$CandelaScaleBuilder14,this.$CandelaScaleBuilder15,this.$CandelaScaleBuilder6,this.$CandelaScaleBuilder8,this.$CandelaScaleBuilder12,this.$CandelaScaleBuilder13,this.$CandelaScaleBuilder16,this.$CandelaScaleBuilder17,this.$CandelaScaleBuilder4,this.$CandelaScaleBuilder20,this.$CandelaScaleBuilder18,this.$CandelaScaleBuilder3,this.$CandelaScaleBuilder5,this.$CandelaScaleBuilder7,this.$CandelaScaleBuilder9,this.$CandelaScaleBuilder10,this.$CandelaScaleBuilder11)};f.exports=i}),null);
__d("CandelaGroupScaleBuilder",["CandelaScaleBuilder"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;function j(l,m){var n=[];l.forEach(function(o){m.forEach(function(p){var q=o[p];if(q!=null)n.push(q)})});return{max:Math.max.apply(Math,n),min:Math.min.apply(Math,n)}}h=babelHelpers.inherits(k,c("CandelaScaleBuilder"));i=h&&h.prototype;function k(){i.constructor.call(this,j)}k.group=function(){for(var l=arguments.length,m=Array(l),n=0;n<l;n++)m[n]=arguments[n];return new k().seriesNames(m)};f.exports=k}),null);
__d("CandelaStackScaleBuilder",["CandelaScaleBuilder"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j={max:0,min:0};function k(m,n){__p&&__p();var o=n.filter(function(r){return m.some(function(s){return s[r]!=null})});if(o.length===0)return j;var p=o[0],q=[];m.forEach(function(r){__p&&__p();var s=0,t=true;o.forEach(function(u){var v=r[u];if(v==null){t=false;return false}else s+=v});if(t){q.push(r[p]);q.push(s)}});if(q.length===0)return j;return{max:Math.max.apply(Math,q),min:Math.min.apply(Math,q)}}h=babelHelpers.inherits(l,c("CandelaScaleBuilder"));i=h&&h.prototype;function l(){i.constructor.call(this,k)}l.stack=function(){for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];return new l().seriesNames(n)};f.exports=l}),null);
__d("CandelaUtils",["invariant","CandelaConstants","immutable","React","ReactART","Set","isEmpty","CandelaScaleUtils"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("ReactART").Path,j=c("ReactART").Shape,k=c("immutable").Set,l=c("CandelaConstants").PseudoClass,m=c("CandelaConstants").RE,n=m.IDENT_RE,o={arrays:{toLoopingIterator:function p(q){var r=0;return function(){if(r===q.length)r=0;return q[r++]}}},art:{drawBorder:function p(q,r,s,t,u){switch(r){case"dashed":o.art.drawDashedPath(q,[s*3],t,u);break;case"dotted":o.art.drawDashedPath(q,[s],t,u);break;case"solid":q.moveTo(t.x,t.y).lineTo(u.x,u.y);break}},drawDashedPath:function p(q,r,s,t){__p&&__p();q instanceof i||h(0);if(c("isEmpty")(r))return;var u=function u(C,D,E){if(C<D)return Math.min(C+E,D);else return Math.max(C-E,D)},v=s.x,w=s.y,x=t.x,y=t.y;q.moveTo(v,w);var z=o.arrays.toLoopingIterator(r);while(v!==x||w!==y){var A=z();v=u(v,x,A);w=u(w,y,A);q.lineTo(v,w);var B=z();v=u(v,x,B);w=u(w,y,B);q.moveTo(v,w);if(isNaN(v)||isNaN(w))return}},createShape:function p(q,r,s){var t=new i();q.forEach(function(u,v){if(v===0)t.moveTo(u.x,u.y);else t.lineTo(u.x,u.y)});if(r)t.close();return c("React").createElement(j,babelHelpers["extends"]({d:t},s))}},data:{getClassNamesFromDataRow:function p(q){var r=q!=null?q.$meta||q._meta:null;return r?o.data.getClassNamesFromInputString(r.className):k()},getClassNamesFromInputString:function p(q){return q?k(q.match(n)):k()},classNamesToSelector:function p(q){return q.size?"."+q.toArray().sort().join("."):""},computeHighlightPseudoClass:function p(q,r,s){if(!q||!q.size)return l.NONE;var t=q.some(function(u){var v=u.dependentSeriesName,w=u.independentSeriesValue;return(w==null||w===s)&&(v==null||v===r)});return t?l.HIGHLIGHTED:l.MUTED},getSeriesValue:function p(q,r){return q[r]&&q[r].value?q[r].value:null}},events:{toHandlerName:function p(q){return"on"+q[0]+q.slice(1).toLowerCase().replace(/_[a-z]/g,function(r){return r[1].toUpperCase()})}},functions:{throttle:function p(q,r){__p&&__p();var s=null,t=0,u=function u(){t=Date.now();s=null;q()},v=function v(){var w=Date.now(),x=r-(w-t);if(x<=0||x>r){if(s)v.reset();t=w;q()}else if(!s)s=setTimeout(u,x)};v.reset=function(){clearTimeout(s);s=null};return v},crossPlatformCopy:function p(){var q={};for(var r=arguments.length,s=Array(r),t=0;t<r;t++)s[t]=arguments[t];for(var u=0;u<s.length;u++)for(var v in s[u])if(Object.prototype.hasOwnProperty.call(s[u],v))q[v]=s[u][v];return q}},math:{findDistanceToSegment:function p(q,r,s){__p&&__p();function t(w){return w*w}function u(w,x){return t(w.x-x.x)+t(w.y-x.y)}function v(w,x,y){var z=u(x,y);if(z===0)return u(w,x);var A=((w.x-x.x)*(y.x-x.x)+(w.y-x.y)*(y.y-x.y))/z;if(A<0)return u(w,x);if(A>1)return u(w,y);return u(w,{x:x.x+A*(y.x-x.x),y:x.y+A*(y.y-x.y)})}return Math.sqrt(v(q,r,s))},sign:function p(q){q=+q;if(q===0||isNaN(q))return q;return q>0?1:-1}},scales:c("CandelaScaleUtils"),sets:{subtract:function p(q,r,s){return o.sets.setOp(q,r,function(t,u,v){return!u.has(v)},s)},intersection:function p(q,r,s){return o.sets.setOp(q,r,function(t,u,v){return u.has(v)},s)},setOp:function p(q,r,s,t){__p&&__p();var u,v=[],w=new(c("Set"))(),x=new(c("Set"))();if(t)(function(){var y=t;q.forEach(function(z){return w.add(y(z))});r.forEach(function(z){return x.add(y(z))})})();else{w=new(c("Set"))(q);x=new(c("Set"))(r)}q.forEach(function(y){if(s(w,x,t?t(y):y))v.push(y)});return v}}};f.exports=o}),null);
__d("InsightsFormatterUtils",[],(function a(b,c,d,e,f,g){"use strict";function h(i,j){return new Error(i.constructor.name+" is not a supported scale for "+j+"!")}f.exports={unsupportedScale:h}}),null);
__d("InsightsFormatters",["fbt"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(k){return k!=null?String(k):""}function j(k){k*=100;var l=Math.abs(k)>100?Math.round(k):parseFloat(k.toPrecision(3));if(l>0&&l<.01)return String(h._("> 0\u0025"));return String(h._("{percentage}\u0025",[h.param("percentage",l)]))}f.exports={defaultFormatter:i,percentageFormatter:j}}),null);
__d("InsightsPlatformConstants",["Currency"],(function a(b,c,d,e,f,g){"use strict";var h={CURRENCY:c("Currency")};f.exports=h}),null);
__d("InsightsHelperFormatterFactoriesWithProps",["invariant","CandelaConstants","DateTime","InsightsPlatformConstants","intlSummarizeNumber","nearlyEqualNumbers"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("CandelaConstants").TimeInterval,j=c("InsightsPlatformConstants").CURRENCY,k=c("CandelaConstants").TIME_INTERVALS_DESC.filter(function(s){return s!==i.WEEK}),l={skipPatternLocalization:true},m=function m(s){var t=Math.log(Math.abs(s))/Math.LN10,u=Math.round(t);return c("nearlyEqualNumbers")(t,u)?u:t};function n(s,t){__p&&__p();var u=k.find(function(u){return u<=s});u||h(0);return function(v){__p&&__p();if(typeof v==="number")v=c("DateTime").create(v,t);switch(u){case i.YEAR:return v.format("Y",l);case i.MONTH:return v.format("M",l);case i.DAY:return v.format("j",l);case i.HOUR:return v.format("g A",l);case i.MIN:return v.format("i",l);case i.SEC:return v.format("s",l)}throw new Error("Invalid TimeInterval: "+String(u))}}function o(s,t){__p&&__p();var u=k.find(function(u){return u<=s});u||h(0);return function(v){__p&&__p();if(typeof v==="number")v=c("DateTime").create(v,t);switch(u){case i.YEAR:return v.format("Y",l);case i.MONTH:return v.format("M Y",l);case i.DAY:return v.format("M j",l);case i.HOUR:return v.format("D g A",l);case i.MIN:return v.format("g:i A",l);case i.SEC:return v.format("g:i:s A",l)}throw new Error("Invalid TimeInterval: "+String(s))}}function p(s,t){__p&&__p();var u=k.find(function(u){return u<=s});u||h(0);return function(v){__p&&__p();if(typeof v==="number")v=c("DateTime").create(v,t);switch(u){case i.YEAR:return"";case i.MONTH:return v.format("Y",l);case i.DAY:return v.format("M",l);case i.HOUR:return v.format("D",l);case i.MIN:return v.format("g A",l);case i.SEC:return v.format("g:i A",l)}throw new Error("Invalid TimeInterval: "+String(u))}}function q(s){var t=j.getFormat(s)||"{symbol}{amount}",u=j.getSymbol(s)||"";return function(v){var w=c("intlSummarizeNumber")(v,2);return t.replace("{symbol}",u).replace("{amount}",w)}}function r(s,t,u){__p&&__p();var v=void 0;if(t!==0&&Math.abs(t)<1)v=Math.ceil(m(1/t));return function(w){__p&&__p();var x=v,y=w;if(x===undefined&&Math.abs(y)>=1e3){var z=Math.floor(m(y));x=2-z%3;y/=Math.pow(10,z-z%3)}y=Math.round(y*Math.pow(10,x));while(x&&!(y%10)){y/=10;x--}return c("intlSummarizeNumber")(w,x)}}f.exports={axisMarkTimeCondensedFormatterFactory:n,axisMarkTimeDefaultFormatterFactory:o,axisSubMarkTimeCondensedFormatterFactory:p,currencyFormatterFactory:q,numberFormatterFactory:r}}),null);
__d("InsightsFormatterFactories",["invariant","CandelaCategoryScale","CandelaConstants","CandelaCurrencyScale","CandelaNumberScale","CandelaPercentageScale","CandelaScale","CandelaScalingStrategyNumeric","CandelaTimeScale","DateTime","InsightsFormatters","InsightsFormatterUtils","InsightsHelperFormatterFactoriesWithProps","intlSummarizeNumber"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("CandelaConstants").Orientation,j=c("CandelaConstants").TimeInterval,k=c("CandelaScale").getExtentValue,l=c("InsightsHelperFormatterFactoriesWithProps").axisMarkTimeCondensedFormatterFactory,m=c("InsightsHelperFormatterFactoriesWithProps").axisMarkTimeDefaultFormatterFactory,n=c("InsightsHelperFormatterFactoriesWithProps").axisSubMarkTimeCondensedFormatterFactory,o=c("InsightsHelperFormatterFactoriesWithProps").currencyFormatterFactory,p=c("InsightsHelperFormatterFactoriesWithProps").numberFormatterFactory,q=c("CandelaConstants").TIME_INTERVALS_DESC.filter(function(B){return B!==j.WEEK}),r={skipPatternLocalization:true},s=60;function t(B){B.strategy instanceof c("CandelaScalingStrategyNumeric")||h(0);var C=B.strategy.props,D=C.inputStepInterval,E=C.steps,F=C.input,G=k(F),H=0;if(D&&E.size>G)H=Math.max(Math.ceil(Math.log(1/D)/Math.LN10),0);return H}function u(B){var C=B.strategy.props.inputStepInterval,D=q.find(function(D){return D<=C});D||h(0);return D}function v(B,C,D){__p&&__p();if(B instanceof c("CandelaCategoryScale"))return c("InsightsFormatters").defaultFormatter;if(B instanceof c("CandelaCurrencyScale"))return o(B.currencyCode);if(B instanceof c("CandelaTimeScale")){var E=B.strategy.props.inputStepInterval;return B.props.outputStepInterval<s&&C===i.HORIZONTAL?l(E,B.timezoneID):m(E,B.timezoneID)}if(B instanceof c("CandelaPercentageScale"))return c("InsightsFormatters").percentageFormatter;if(B instanceof c("CandelaNumberScale")){var F=B.strategy.props,G=F.inputStepInterval,H=F.steps,I=F.input,J=k(I);return p(J,G,H.size)}throw c("InsightsFormatterUtils").unsupportedScale(B,"axismark")}function w(B,C,D){if(B instanceof c("CandelaTimeScale")&&C===i.HORIZONTAL&&B.props.outputStepInterval<s){var E=B.strategy.props.inputStepInterval;return n(E,B.timezoneID)}return function(){return""}}function x(B,C){if(B instanceof c("CandelaNumberScale"))return function(D,E){return c("InsightsFormatters").percentageFormatter(D)};throw c("InsightsFormatterUtils").unsupportedScale(B,"bararealabel")}function y(B,C){if(B instanceof c("CandelaCurrencyScale"))return o(B.currencyCode);if(B instanceof c("CandelaPercentageScale"))return function(D,E){return c("InsightsFormatters").percentageFormatter(D)};if(B instanceof c("CandelaNumberScale"))return function(D,E){return D.toLocaleString()};throw c("InsightsFormatterUtils").unsupportedScale(B,"bar>label")}function z(B,C){__p&&__p();var D;if(B instanceof c("CandelaTimeScale")){var D=function(){__p&&__p();var E=u(B);return{v:function F(G){if(typeof G==="number"){B instanceof c("CandelaTimeScale")||h(0);G=c("DateTime").create(G,B.timezoneID)}switch(E){case j.YEAR:case j.MONTH:case j.DAY:return G.format("M j",r);case j.HOUR:case j.MIN:case j.SEC:return G.format("g:i:s",r)}throw new Error("Invalid TimeInterval: "+String(E))}}}();if(typeof D==="object")return D.v}throw c("InsightsFormatterUtils").unsupportedScale(B,"guidemark")}function A(B,C){__p&&__p();var D,E;if(B instanceof c("CandelaCategoryScale"))return c("InsightsFormatters").defaultFormatter;if(B instanceof c("CandelaCurrencyScale"))return o(B.currencyCode);if(B instanceof c("CandelaPercentageScale"))return c("InsightsFormatters").percentageFormatter;if(B instanceof c("CandelaTimeScale")){var D=function(){__p&&__p();var F=u(B);return{v:function G(H){if(typeof H==="number"){B instanceof c("CandelaTimeScale")||h(0);H=c("DateTime").create(H,B.timezoneID)}switch(F){case j.YEAR:case j.MONTH:case j.DAY:return H.format("M j, Y",r);case j.HOUR:case j.MIN:case j.SEC:return H.format("g:i:s",r)}throw new Error("Invalid TimeInterval: "+String(F))}}}();if(typeof D==="object")return D.v}if(B instanceof c("CandelaNumberScale")){var E=function(){var F=t(B);return{v:function G(H){if(!F&&H%1)F=2;return c("intlSummarizeNumber")(H,F)}}}();if(typeof E==="object")return E.v}throw c("InsightsFormatterUtils").unsupportedScale(B,"legend")}f.exports={getTimeInterval:u,axisMarkFormatterFactory:v,axisSubMarkFormatterFactory:w,barAreaLabelFormatterFactory:x,barLabelFormatterFactory:y,guideMarkFormatterFactory:z,legendFormatterFactory:A}}),null);
__d("Circle.art",["React","ReactART","prop-types"],(function a(b,c,d,e,f,g){__p&&__p();var h,i,j=c("ReactART").Path,k=c("ReactART").Shape;h=babelHelpers.inherits(l,c("React").Component);i=h&&h.prototype;l.prototype.render=function(){"use strict";var m=this.props.radius,n=j().moveTo(0,-m).arc(0,m*2,m).arc(0,m*-2,m).close();return c("React").createElement(k,babelHelpers["extends"]({},this.props,{d:n}))};function l(){"use strict";h.apply(this,arguments)}l.propTypes={radius:c("prop-types").number.isRequired};f.exports=l}),null);
__d("Rectangle.art",["React","ReactART","prop-types"],(function a(b,c,d,e,f,g){__p&&__p();var h,i,j=c("ReactART").Shape,k=c("ReactART").Path;h=babelHelpers.inherits(l,c("React").Component);i=h&&h.prototype;l.prototype.render=function(){"use strict";__p&&__p();var m=this.props.width,n=this.props.height,o=this.props.radius?this.props.radius:0,p=this.props.radiusTopLeft?this.props.radiusTopLeft:o,q=this.props.radiusTopRight?this.props.radiusTopRight:o,r=this.props.radiusBottomRight?this.props.radiusBottomRight:o,s=this.props.radiusBottomLeft?this.props.radiusBottomLeft:o,t=k();if(m<0){t.move(m,0);m=-m}if(n<0){t.move(0,n);n=-n}if(p<0)p=0;if(q<0)q=0;if(r<0)r=0;if(s<0)s=0;if(p+q>m){p=0;q=0}if(s+r>m){s=0;r=0}if(p+s>n){p=0;s=0}if(q+r>n){q=0;r=0}t.move(0,p);if(p>0)t.arc(p,-p);t.line(m-(q+p),0);if(q>0)t.arc(q,q);t.line(0,n-(q+r));if(r>0)t.arc(-r,r);t.line(-m+(r+s),0);if(s>0)t.arc(-s,-s);t.line(0,-n+(s+p));return c("React").createElement(j,babelHelpers["extends"]({},this.props,{d:t}))};function l(){"use strict";h.apply(this,arguments)}l.propTypes={width:c("prop-types").number.isRequired,height:c("prop-types").number.isRequired,radius:c("prop-types").number,radiusTopLeft:c("prop-types").number,radiusTopRight:c("prop-types").number,radiusBottomRight:c("prop-types").number,radiusBottomLeft:c("prop-types").number};f.exports=l}),null);