module.exports=[37791,a=>{"use strict";var b=a.i(16015),c=a.i(90892),d=a.i(95561);function e(a){return a.innerRadius}function f(a){return a.outerRadius}function g(a){return a.startAngle}function h(a){return a.endAngle}function i(a){return a&&a.padAngle}function j(a,b,d,e,f,g,h){var i=a-d,j=b-e,k=(h?g:-g)/(0,c.sqrt)(i*i+j*j),l=k*j,m=-k*i,n=a+l,o=b+m,p=d+l,q=e+m,r=(n+p)/2,s=(o+q)/2,t=p-n,u=q-o,v=t*t+u*u,w=f-g,x=n*q-p*o,y=(u<0?-1:1)*(0,c.sqrt)((0,c.max)(0,w*w*v-x*x)),z=(x*u-t*y)/v,A=(-x*t-u*y)/v,B=(x*u+t*y)/v,C=(-x*t+u*y)/v,D=z-r,E=A-s,F=B-r,G=C-s;return D*D+E*E>F*F+G*G&&(z=B,A=C),{cx:z,cy:A,x01:-l,y01:-m,x11:z*(f/w-1),y11:A*(f/w-1)}}a.s(["arc",0,function(){var a=e,k=f,l=(0,b.default)(0),m=null,n=g,o=h,p=i,q=null,r=(0,d.withPath)(s);function s(){var b,d,e=+a.apply(this,arguments),f=+k.apply(this,arguments),g=n.apply(this,arguments)-c.halfPi,h=o.apply(this,arguments)-c.halfPi,i=(0,c.abs)(h-g),s=h>g;if(q||(q=b=r()),f<e&&(d=f,f=e,e=d),f>c.epsilon)if(i>c.tau-c.epsilon)q.moveTo(f*(0,c.cos)(g),f*(0,c.sin)(g)),q.arc(0,0,f,g,h,!s),e>c.epsilon&&(q.moveTo(e*(0,c.cos)(h),e*(0,c.sin)(h)),q.arc(0,0,e,h,g,s));else{var t,u,v=g,w=h,x=g,y=h,z=i,A=i,B=p.apply(this,arguments)/2,C=B>c.epsilon&&(m?+m.apply(this,arguments):(0,c.sqrt)(e*e+f*f)),D=(0,c.min)((0,c.abs)(f-e)/2,+l.apply(this,arguments)),E=D,F=D;if(C>c.epsilon){var G=(0,c.asin)(C/e*(0,c.sin)(B)),H=(0,c.asin)(C/f*(0,c.sin)(B));(z-=2*G)>c.epsilon?(G*=s?1:-1,x+=G,y-=G):(z=0,x=y=(g+h)/2),(A-=2*H)>c.epsilon?(H*=s?1:-1,v+=H,w-=H):(A=0,v=w=(g+h)/2)}var I=f*(0,c.cos)(v),J=f*(0,c.sin)(v),K=e*(0,c.cos)(y),L=e*(0,c.sin)(y);if(D>c.epsilon){var M,N=f*(0,c.cos)(w),O=f*(0,c.sin)(w),P=e*(0,c.cos)(x),Q=e*(0,c.sin)(x);if(i<c.pi)if(M=function(a,b,d,e,f,g,h,i){var j=d-a,k=e-b,l=h-f,m=i-g,n=m*j-l*k;if(!(n*n<c.epsilon))return n=(l*(b-g)-m*(a-f))/n,[a+n*j,b+n*k]}(I,J,P,Q,N,O,K,L)){var R=I-M[0],S=J-M[1],T=N-M[0],U=O-M[1],V=1/(0,c.sin)((0,c.acos)((R*T+S*U)/((0,c.sqrt)(R*R+S*S)*(0,c.sqrt)(T*T+U*U)))/2),W=(0,c.sqrt)(M[0]*M[0]+M[1]*M[1]);E=(0,c.min)(D,(e-W)/(V-1)),F=(0,c.min)(D,(f-W)/(V+1))}else E=F=0}A>c.epsilon?F>c.epsilon?(t=j(P,Q,I,J,f,F,s),u=j(N,O,K,L,f,F,s),q.moveTo(t.cx+t.x01,t.cy+t.y01),F<D?q.arc(t.cx,t.cy,F,(0,c.atan2)(t.y01,t.x01),(0,c.atan2)(u.y01,u.x01),!s):(q.arc(t.cx,t.cy,F,(0,c.atan2)(t.y01,t.x01),(0,c.atan2)(t.y11,t.x11),!s),q.arc(0,0,f,(0,c.atan2)(t.cy+t.y11,t.cx+t.x11),(0,c.atan2)(u.cy+u.y11,u.cx+u.x11),!s),q.arc(u.cx,u.cy,F,(0,c.atan2)(u.y11,u.x11),(0,c.atan2)(u.y01,u.x01),!s))):(q.moveTo(I,J),q.arc(0,0,f,v,w,!s)):q.moveTo(I,J),e>c.epsilon&&z>c.epsilon?E>c.epsilon?(t=j(K,L,N,O,e,-E,s),u=j(I,J,P,Q,e,-E,s),q.lineTo(t.cx+t.x01,t.cy+t.y01),E<D?q.arc(t.cx,t.cy,E,(0,c.atan2)(t.y01,t.x01),(0,c.atan2)(u.y01,u.x01),!s):(q.arc(t.cx,t.cy,E,(0,c.atan2)(t.y01,t.x01),(0,c.atan2)(t.y11,t.x11),!s),q.arc(0,0,e,(0,c.atan2)(t.cy+t.y11,t.cx+t.x11),(0,c.atan2)(u.cy+u.y11,u.cx+u.x11),s),q.arc(u.cx,u.cy,E,(0,c.atan2)(u.y11,u.x11),(0,c.atan2)(u.y01,u.x01),!s))):q.arc(0,0,e,y,x,s):q.lineTo(K,L)}else q.moveTo(0,0);if(q.closePath(),b)return q=null,b+""||null}return s.centroid=function(){var b=(+a.apply(this,arguments)+ +k.apply(this,arguments))/2,d=(+n.apply(this,arguments)+ +o.apply(this,arguments))/2-c.pi/2;return[(0,c.cos)(d)*b,(0,c.sin)(d)*b]},s.innerRadius=function(c){return arguments.length?(a="function"==typeof c?c:(0,b.default)(+c),s):a},s.outerRadius=function(a){return arguments.length?(k="function"==typeof a?a:(0,b.default)(+a),s):k},s.cornerRadius=function(a){return arguments.length?(l="function"==typeof a?a:(0,b.default)(+a),s):l},s.padRadius=function(a){return arguments.length?(m=null==a?null:"function"==typeof a?a:(0,b.default)(+a),s):m},s.startAngle=function(a){return arguments.length?(n="function"==typeof a?a:(0,b.default)(+a),s):n},s.endAngle=function(a){return arguments.length?(o="function"==typeof a?a:(0,b.default)(+a),s):o},s.padAngle=function(a){return arguments.length?(p="function"==typeof a?a:(0,b.default)(+a),s):p},s.context=function(a){return arguments.length?(q=null==a?null:a,s):q},s}],37791)}];

//# sourceMappingURL=0ioc_d3-shape_src_arc_0y_hk06.js.map