1(self.webpackChunkweb_wizink=self.webpackChunkweb_wizink||[]).push([[2865],{2865(W,I,Q){Q.r(I),Q.d(I,{Path2D:()=>P,applyPath2DToCanvasRenderingContext:()=>K,applyRoundRectToCanvasRenderingContext2D:()=>O,applyRoundRectToPath2D:()=>U,buildPath:()=>w,parsePath:()=>S,roundRect:()=>L});var g={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},j=/([astvzqmhlc])([^astvzqmhlc]*)/gi,G=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;function S(e){const a=[],c=String(e).trim();return"M"!==c[0]&&"m"!==c[0]||c.replace(j,(h,r,t)=>{const l=function(m){const R=m.match(G);return R?R.map(Number):[]}(t);let i=r.toLowerCase(),p=r;if("m"===i&&l.length>2&&(a.push([p,...l.splice(0,2)]),i="l",p="m"===p?"l":"L"),l.length<g[i])return"";for(a.push([p,...l.splice(0,g[i])]);l.length>=g[i]&&l.length&&g[i];)a.push([p,...l.splice(0,g[i])]);return""}),a}function F(e,a){const c=e.x*Math.cos(a)-e.y*Math.sin(a),h=e.y*Math.cos(a)+e.x*Math.sin(a);e.x=c,e.y=h}function J(e,a){e.x*=a,e.y*=a}var P=class D{constructor(a){this.commands=[],a&&a instanceof D?this.commands.push(...a.commands):a&&(this.commands=S(a))}addPath(a){a&&a instanceof D&&this.commands.push(...a.commands)}moveTo(a,c){this.commands.push(["M",a,c])}lineTo(a,c){this.commands.push(["L",a,c])}arc(a,c,h,r,t,l){this.commands.push(["AC",a,c,h,r,t,!!l])}arcTo(a,c,h,r,t){this.commands.push(["AT",a,c,h,r,t])}ellipse(a,c,h,r,t,l,i,p){this.commands.push(["E",a,c,h,r,t,l,i,!!p])}closePath(){this.commands.push(["Z"])}bezierCurveTo(a,c,h,r,t,l){this.commands.push(["C",a,c,h,r,t,l])}quadraticCurveTo(a,c,h,r){this.commands.push(["Q",a,c,h,r])}rect(a,c,h,r){this.commands.push(["R",a,c,h,r])}roundRect(a,c,h,r,t){this.commands.push(void 0===t?["RR",a,c,h,r,0]:["RR",a,c,h,r,t])}};function w(e,a){let c,h,r,t,l,i,p,m,R,z,Z,B,q,d,y,A,E,T,k,$,H,o=0,s=0,v=null,x=null,f=null,b=null,M=null,C=null;e.beginPath();for(let u=0;u<a.length;++u){let n;switch(T=a[u][0],"S"!==T&&"s"!==T&&"C"!==T&&"c"!==T&&(v=null,x=null),"T"!==T&&"t"!==T&&"Q"!==T&&"q"!==T&&(f=null,b=null),T){case"m":case"M":n=a[u],"m"===T?(o+=n[1],s+=n[2]):(o=n[1],s=n[2]),"M"!==T&&M||(M={x:o,y:s}),e.moveTo(o,s);break;case"l":n=a[u],o+=n[1],s+=n[2],e.lineTo(o,s);break;case"L":n=a[u],o=n[1],s=n[2],e.lineTo(o,s);break;case"H":n=a[u],o=n[1],e.lineTo(o,s);break;case"h":n=a[u],o+=n[1],e.lineTo(o,s);break;case"V":n=a[u],s=n[1],e.lineTo(o,s);break;case"v":n=a[u],s+=n[1],e.lineTo(o,s);break;case"a":case"A":if(n=a[u],null===C)throw new Error("This should never happen");"a"===T?(o+=n[6],s+=n[7]):(o=n[6],s=n[7]),d=n[1],y=n[2],p=n[3]*Math.PI/180,r=!!n[4],t=!!n[5],l={x:o,y:s},i={x:(C.x-l.x)/2,y:(C.y-l.y)/2},F(i,-p),m=i.x*i.x/(d*d)+i.y*i.y/(y*y),m>1&&(m=Math.sqrt(m),d*=m,y*=m),k={x:d*i.y/y,y:-y*i.x/d},R=d*d*y*y,z=d*d*i.y*i.y+y*y*i.x*i.x,J(k,t!==r?Math.sqrt((R-z)/z)||0:-Math.sqrt((R-z)/z)||0),h=Math.atan2((i.y-k.y)/y,(i.x-k.x)/d),c=Math.atan2(-(i.y+k.y)/y,-(i.x+k.x)/d),F(k,p),V=(l.y+C.y)/2,(N=k).x+=(l.x+C.x)/2,N.y+=V,e.save(),e.translate(k.x,k.y),e.rotate(p),e.scale(d,y),e.arc(0,0,1,h,c,!t),e.restore();break;case"C":n=a[u],v=n[3],x=n[4],o=n[5],s=n[6],e.bezierCurveTo(n[1],n[2],v,x,o,s);break;case"c":n=a[u],e.bezierCurveTo(n[1]+o,n[2]+s,n[3]+o,n[4]+s,n[5]+o,n[6]+s),v=n[3]+o,x=n[4]+s,o+=n[5],s+=n[6];break;case"S":n=a[u],null!==v&&null!==x||(v=o,x=s),e.bezierCurveTo(2*o-v,2*s-x,n[1],n[2],n[3],n[4]),v=n[1],x=n[2],o=n[3],s=n[4];break;case"s":n=a[u],null!==v&&null!==x||(v=o,x=s),e.bezierCurveTo(2*o-v,2*s-x,n[1]+o,n[2]+s,n[3]+o,n[4]+s),v=n[1]+o,x=n[2]+s,o+=n[3],s+=n[4];break;case"Q":n=a[u],f=n[1],b=n[2],o=n[3],s=n[4],e.quadraticCurveTo(f,b,o,s);break;case"q":n=a[u],f=n[1]+o,b=n[2]+s,o+=n[3],s+=n[4],e.quadraticCurveTo(f,b,o,s);break;case"T":n=a[u],null!==f&&null!==b||(f=o,b=s),f=2*o-f,b=2*s-b,o=n[1],s=n[2],e.quadraticCurveTo(f,b,o,s);break;case"t":n=a[u],null!==f&&null!==b||(f=o,b=s),f=2*o-f,b=2*s-b,o+=n[1],s+=n[2],e.quadraticCurveTo(f,b,o,s);break;case"z":case"Z":M&&(o=M.x,s=M.y),M=null,e.closePath();break;case"AC":n=a[u],o=n[1],s=n[2],q=n[3],h=n[4],c=n[5],$=n[6],e.arc(o,s,q,h,c,$);break;case"AT":n=a[u],Z=n[1],B=n[2],o=n[3],s=n[4],q=n[5],e.arcTo(Z,B,o,s,q);break;case"E":n=a[u],o=n[1],s=n[2],d=n[3],y=n[4],p=n[5],h=n[6],c=n[7],$=n[8],e.save(),e.translate(o,s),e.rotate(p),e.scale(d,y),e.arc(0,0,1,h,c,$),e.restore(
1);break;case"R":n=a[u],o=n[1],s=n[2],A=n[3],E=n[4],M={x:o,y:s},e.rect(o,s,A,E);break;case"RR":n=a[u],o=n[1],s=n[2],A=n[3],E=n[4],H=n[5],M={x:o,y:s},e.roundRect(o,s,A,E,H);break;default:throw new Error(`Invalid path command: ${T}`)}C?(C.x=o,C.y=s):C={x:o,y:s}}var N,V}function L(e,a,c,h,r=0){if("number"==typeof r&&(r=[r]),!Array.isArray(r))return;if(0===r.length||r.length>4)throw new RangeError(`Failed to execute 'roundRect' on '${this.constructor.name}': ${r.length} radii provided. Between one and four radii are necessary.`);if(r.forEach(R=>{if(R<0)throw new RangeError(`Failed to execute 'roundRect' on '${this.constructor.name}': Radius value ${R} is negative.`)}),1===r.length&&0===r[0])return void this.rect(e,a,c,h);const t=Math.min(c,h)/2,l=Math.min(t,r[0]);let i=l,p=l,m=l;2===r.length&&(i=Math.min(t,r[1]),m=i),3===r.length&&(i=Math.min(t,r[1]),m=i,p=Math.min(t,r[2])),4===r.length&&(i=Math.min(t,r[1]),p=Math.min(t,r[2]),m=Math.min(t,r[3])),this.moveTo(e,a+h-m),this.arcTo(e,a,e+l,a,l),this.arcTo(e+c,a,e+c,a+i,i),this.arcTo(e+c,a+h,e+c-p,a+h,p),this.arcTo(e,a+h,e,a+h-m,m),this.closePath()}function K(e){if(!e)return;const a=e.prototype.clip,c=e.prototype.fill,h=e.prototype.stroke,r=e.prototype.isPointInPath;e.prototype.clip=function(...t){if(t[0]instanceof P){const l=t[1]||"nonzero";return w(this,t[0].commands),a.apply(this,[l])}return a.apply(this,[t[0]||"nonzero"])},e.prototype.fill=function(...t){if(t[0]instanceof P){const l=t[1]||"nonzero";return w(this,t[0].commands),c.apply(this,[l])}return c.apply(this,[t[0]||"nonzero"])},e.prototype.stroke=function(t){t&&w(this,t.commands),h.apply(this)},e.prototype.isPointInPath=function(...t){if(t[0]instanceof P){const l=t[1],i=t[2],p=t[3]||"nonzero";return w(this,t[0].commands),r.apply(this,[l,i,p])}return r.apply(this,t)}}function O(e){e&&!e.prototype.roundRect&&(e.prototype.roundRect=L)}function U(e){e&&!e.prototype.roundRect&&(e.prototype.roundRect=L)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.