YUI.add("graphics-group",function(t,i){var e,r,s,a,A=t.Lang,h=function(){h.superclass.constructor.apply(this,arguments)};h.NAME="shapeGroup",t.extend(h,t.Path,{_draw:function(){var t,i,e,r,s,a=this.get("xvalues"),h=this.get("yvalues"),n=0,u=this.get("dimensions"),o=u.width,p=u.height,d=u.radius,c=u.yRadius,l=A.isArray(o),g=A.isArray(p),S=A.isArray(d),y=A.isArray(c);if(a&&h&&0<a.length){for(this.clear(),s=a.length;n<s;++n)t=a[n],i=h[n],e=S?d[n]:d,r=y?c[n]:c,isNaN(t)||isNaN(i)||isNaN(e)||(this.drawShape({x:t,y:i,width:l?o[n]:o,height:g?p[n]:p,radius:e,yRadius:r}),this.closePath());this._closePath()}},_getRadiusCollection:function(t){for(var i=0,e=t.length,r=[];i<e;++i)r[i]=.5*t[i];return r}}),h.ATTRS=t.merge(t.Path.ATTRS,{dimensions:{getter:function(){var t,i=this._dimensions;return i.hasOwnProperty("radius")?i:{width:t=i.width,height:i=i.height,radius:A.isArray(t)?this._getRadiusCollection(t):.5*t,yRadius:A.isArray(i)?this._getRadiusCollection(i):.5*i}},setter:function(t){return this._dimensions=t}},xvalues:{getter:function(){return this._xvalues},setter:function(t){this._xvalues=t}},yvalues:{getter:function(){return this._yvalues},setter:function(t){this._yvalues=t}}}),t.ShapeGroup=h,(e=function(){e.superclass.constructor.apply(this,arguments)}).NAME="circleGroup",t.extend(e,t.ShapeGroup,{drawShape:function(t){this.drawCircle(t.x,t.y,t.radius)}}),e.ATTRS=t.merge(t.ShapeGroup.ATTRS,{dimensions:{getter:function(){var t,i=this._dimensions;return i.hasOwnProperty("radius")?i:{width:t=i.width,height:i.height,radius:i=A.isArray(t)?this._getRadiusCollection(t):.5*t,yRadius:i}}}}),e.ATTRS=t.ShapeGroup.ATTRS,t.CircleGroup=e,(r=function(){r.superclass.constructor.apply(this,arguments)}).NAME="rectGroup",t.extend(r,t.ShapeGroup,{drawShape:function(t){this.drawRect(t.x,t.y,t.width,t.height)}}),r.ATTRS=t.ShapeGroup.ATTRS,t.RectGroup=r,(a=function(){a.superclass.constructor.apply(this,arguments)}).NAME="diamondGroup",t.extend(a,t.ShapeGroup,{drawShape:function(t){this.drawDiamond(t.x,t.y,t.width,t.height)}}),a.ATTRS=t.ShapeGroup.ATTRS,t.DiamondGroup=a,(s=function(){s.superclass.constructor.apply(this,arguments)}).NAME="ellipseGroup",t.extend(s,t.ShapeGroup,{drawShape:function(t){this.drawEllipse(t.x,t.y,t.width,t.height)}}),s.ATTRS=t.ShapeGroup.ATTRS,t.EllipseGroup=s},"patched-v3.18.7",{requires:["graphics"]});