"use strict";Object.defineProperty(exports,"__esModule",{value:!0});function o(o,a,t,e,r,l){o.moveTo(a,t),o.arc(a,t,e,r,l)}exports.drawDonutSlice=function(a,t,e,r,l,c,d,i){var n=c-l>.0833393628,s=n?.0416696814:0,h=n?4:0,p=100-h;a.beginPath(),a.moveTo(t,e),a.arc(t,e,r,l+s,c-s),i&&n&&(o(a,100+p*Math.cos(l+s),100+p*Math.sin(l+s),h,0,2*Math.PI),o(a,100+p*Math.cos(c-s),100+p*Math.sin(c-s),h,0,2*Math.PI)),a.closePath();var P=a.createRadialGradient(t,e,8,t,e,r);P.addColorStop(0,"".concat(d,"00")),P.addColorStop(.9,"".concat(d,"00")),P.addColorStop(.93,d),P.addColorStop(1,d),a.fillStyle=P,a.fill(),a.beginPath(),a.moveTo(t,e),a.arc(t,e,r,l,c),a.closePath()},exports.drawRadicalGradient=function(o,a,t,e,r,l){o.beginPath(),o.moveTo(a,t),o.arc(a,t,e-8,r,l),o.closePath();var c=o.createRadialGradient(a,t,5,a,t,e);c.addColorStop(0,"#08345A00"),c.addColorStop(.9,"#9FD2FF14"),o.fillStyle=c,o.fill()};
//# sourceMappingURL=utils.js.map
