(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4591],{84591:()=>{(()=>{"use strict";function e(e,i,n,s,a){let h,l,o,r;if(![e,i,n,s].every(e=>Number.isFinite(e)))return;if(4===(a=function(e){let t=typeof e;if("undefined"===t||null===e)return[0];if("function"===t)return[NaN];if("object"===t)return"function"==typeof e[Symbol.iterator]?[...e].map(e=>{let t=typeof e;return"undefined"===t||null===e?0:"function"===t?NaN:"object"===t?f(e):+e}):[f(e)];return[+e]}(a)).length)h=u(a[0]),l=u(a[1]),o=u(a[2]),r=u(a[3]);else if(3===a.length)h=u(a[0]),l=u(a[1]),r=u(a[1]),o=u(a[2]);else if(2===a.length)h=u(a[0]),o=u(a[0]),l=u(a[1]),r=u(a[1]);else if(1===a.length)h=u(a[0]),l=u(a[0]),o=u(a[0]),r=u(a[0]);else throw RangeError(`${t(this)} ${a.length} is not a valid size for radii sequence.`);let x=[h,l,o,r],y=x.find(({x:e,y:t})=>e<0||t<0);if(y?.x<0?y.x:y?.y,!x.some(({x:e,y:t})=>!Number.isFinite(e)||!Number.isFinite(t))){if(y)throw RangeError(`${t(this)} Radius value ${y} is negative.`);(function(e){let[t,i,a,h]=e,l=Math.min(Math.abs(n)/(t.x+i.x),Math.abs(s)/(i.y+a.y),Math.abs(n)/(a.x+h.x),Math.abs(s)/(t.y+h.y));if(l<=1)for(let t of e)t.x*=l,t.y*=l})(x),n<0&&s<0?(this.moveTo(e-h.x,i),this.ellipse(e+n+l.x,i-l.y,l.x,l.y,0,-(1.5*Math.PI),-Math.PI),this.ellipse(e+n+o.x,i+s+o.y,o.x,o.y,0,-Math.PI,-Math.PI/2),this.ellipse(e-r.x,i+s+r.y,r.x,r.y,0,-Math.PI/2,0),this.ellipse(e-h.x,i-h.y,h.x,h.y,0,0,-Math.PI/2)):n<0?(this.moveTo(e-h.x,i),this.ellipse(e+n+l.x,i+l.y,l.x,l.y,0,-Math.PI/2,-Math.PI,1),this.ellipse(e+n+o.x,i+s-o.y,o.x,o.y,0,-Math.PI,-(1.5*Math.PI),1),this.ellipse(e-r.x,i+s-r.y,r.x,r.y,0,Math.PI/2,0,1),this.ellipse(e-h.x,i+h.y,h.x,h.y,0,0,-Math.PI/2,1)):s<0?(this.moveTo(e+h.x,i),this.ellipse(e+n-l.x,i-l.y,l.x,l.y,0,Math.PI/2,0,1),this.ellipse(e+n-o.x,i+s+o.y,o.x,o.y,0,0,-Math.PI/2,1),this.ellipse(e+r.x,i+s+r.y,r.x,r.y,0,-Math.PI/2,-Math.PI,1),this.ellipse(e+h.x,i-h.y,h.x,h.y,0,-Math.PI,-(1.5*Math.PI),1)):(this.moveTo(e+h.x,i),this.ellipse(e+n-l.x,i+l.y,l.x,l.y,0,-Math.PI/2,0),this.ellipse(e+n-o.x,i+s-o.y,o.x,o.y,0,0,Math.PI/2),this.ellipse(e+r.x,i+s-r.y,r.x,r.y,0,Math.PI/2,Math.PI),this.ellipse(e+h.x,i+h.y,h.x,h.y,0,Math.PI,1.5*Math.PI)),this.closePath(),this.moveTo(e,i)}function f(e){let{x:t,y:i,z:n,w:s}=e;return{x:t,y:i,z:n,w:s}}function u(e){let t=+e;return Number.isFinite(t)?{x:t,y:t}:Object(e)===e?{x:+(e.x??0),y:+(e.y??0)}:{x:NaN,y:NaN}}}function t(e){var t;return`Failed to execute 'roundRect' on '${Object(t=e)===t&&t instanceof Path2D?"Path2D":t instanceof globalThis?.CanvasRenderingContext2D?"CanvasRenderingContext2D":t instanceof globalThis?.OffscreenCanvasRenderingContext2D?"OffscreenCanvasRenderingContext2D":t?.constructor.name||t}':`}Path2D.prototype.roundRect??=e,globalThis.CanvasRenderingContext2D&&(globalThis.CanvasRenderingContext2D.prototype.roundRect??=e),globalThis.OffscreenCanvasRenderingContext2D&&(globalThis.OffscreenCanvasRenderingContext2D.prototype.roundRect??=e)})()}}]);