}).each(function(a,b){e(this,a,0===b)}),(n?r.transition():r).attr("x",h).attr("y",k),s=dk.selectAll("rect."+g.legendItemEvent).data(a),(n?s.transition():s).attr("width",function(a){returnB[a]}).attr("height",function(a){returnC[a]}).attr("x",i).attr("y",l),t=dk.selectAll("rect."+g.legendItemTile).data(a),(n?t.transition():t).style("fill",Fj).attr("x",f).attr("y",j),dk.selectAll("."+g.legendItem).classed(g.legendItemHidden,function(a){return!Pc(a)}).transition().style("opacity",function(a){varb=dg.select(this);returnPc(a)?!G||b.classed(g.legendItemFocused)?Uf(b):Vf(b):Vj}),S(w),T(x),R(F),p(),W(),Nf(),o(q,c)}function_f(a){returnOc(eg.data.targets,a.id)}functionag(a){return"data"ina&&Oc(eg.data.targets,a.data.id)}functionbg(a){varb=a&&a.value?a.value:null,c=a&&a["class"]?a["class"]:null;returnb?function(a){returna.value!==b}:c?function(a){returna["class"]!==c}:function(){return!0}}functioncg(a,b,c){vard=!se(eg.data.targets);Dj=!1,le(a,b),Pf(c||{withTransitionForAxis:d})}vardg=a.d3?a.d3:"undefined"!=typeofrequire?require("d3"):void0,eg={data:{},axis:{},legend:{}},fg={},gg=i(["bindto"],"#chart"),hg=i(["size","width"]),ig=i(["size","height"]),jg=i(["padding","left"]),kg=i(["padding","right"]),lg=i(["padding","top"]),mg=i(["padding","bottom"]),ng=i(["zoom","enabled"],!1),og=i(["zoom","extent"]),pg=i(["zoom","privileged"],!1),qg=i(["interaction","enabled"],!0),rg=i(["onenter"],function(){}),sg=i(["onleave"],function(){}),tg=i(["onresize"],function(){}),ug=i(["onresized"],function(){}),vg=i(["transition","duration"],350);h("data","data is required in config");varwg,xg,yg,zg,Ag,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg,Rg,Sg,Tg,Ug,Vg,Wg,Xg,Yg,Zg,$g,_g,ah,bh,ch,dh,eh=i(["data","x"]),fh=i(["data","xs"],{}),gh=i(["data","x_format"]),hh=i(["data","id_converter"],function(a){returna}),ih=i(["data","names"],{}),jh=i(["data","classes"],{}),kh=i(["data","groups"],[]),lh=i(["data","axes"],{}),mh=i(["data","type"]),nh=i(["data","types"],{}),oh=i(["data","labels"],{}),ph=i(["data","order"]),qh=i(["data","regions"],{}),rh=i(["data","color"]),sh=i(["data","colors"],{}),th=i(["data","hide"],!1),uh=i(["data","filter"]),vh=i(["data","selection","enabled"],!1),wh=i(["data","selection","grouped"],!1),xh=i(["data","selection","isselectable"],function(){return!0}),yh=i(["data","selection","multiple"],!0),zh=i(["data","onclick"],function(){}),Ah=i(["data","onenter"],function(){}),Bh=i(["data","onleave"],function(){}),Ch=i(["data","onselected"],function(){}),Dh=i(["data","onunselected"],function(){}),Eh=i(["data","ondragstart"],function(){}),Fh=i(["data","ondragend"],function(){}),Gh=i(["subchart","show"],!1),Hh=i(["subchart","size","height"],60),Ih=i(["color","pattern"],[]),Jh=i(["color","threshold"],{}),Kh=i(["legend","show"],!0),Lh=i(["legend","position"],"bottom"),Mh=i(["legend","item","onclick"]),Nh=i(["legend","item","onmouseover"]),Oh=i(["legend","item","onmouseout"]),Ph=i(["legend","equally"],!1),Qh=i(["axis","rotated"],!1),Rh=i(["axis","x","show"],!0),Sh=i(["axis","x","type"],"indexed"),Th=i(["axis","x","localtime"],!0),Uh=i(["axis","x","categories"],[]),Vh=i(["axis","x","tick","centered"],!1),Wh=i(["axis","x","tick","format"]),Xh=i(["axis","x","tick","culling"],{}),Yh=i(["axis","x","tick","culling","max"],10),Zh=i(["axis","x","tick","count"]),$h=i(["axis","x","tick","fit"],!0),_h=i(["axis","x","tick","values"],null),ai=i(["axis","x","tick","rotate"]),bi=i(["axis","x","max"],null),ci=i(["axis","x","min"],null),di=i(["axis","x","padding"],{}),ei=i(["axis","x","height"]),fi=i(["axis","x","default"]),gi=i(["axis","x","label"],{}),hi=i(["axis","y","show"],!0),ii=i(["axis","y","max"]),ji=i(["axis","y","min"]),ki=i(["axis","y","center"]),li=i(["axis","y","label"],{}),mi=i(["axis","y","inner"],!1),ni=i(["axis","y","tick","format"]),oi=i(["axis","y","padding"]),pi=i(["axis","y","ticks"],10),qi=i(["axis","y2","show"],!1),ri=i(["axis","y2","max"]),si=i(["axis","y2","min"]),ti=i(["axis","y2","center"]),ui=i(["axis","y2","label"],{}),vi=i(["axis","y2","inner"],!1),wi=i(["axis","y2","tick","format"]),xi=i(["axis","y2","padding"])