1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6283],{16283:(t,e,r)=>{function i(t){let e=t.getAttribute("viewBox");if(e){let t=e.split(/[\s,]+/).map(Number);if(4===t.length&&t[2]>0&&t[3]>0)return{width:t[2],height:t[3]}}let r=parseFloat(t.getAttribute("width")||""),i=parseFloat(t.getAttribute("height")||"");return r>0&&i>0?{width:r,height:i}:{width:800,height:800}}function l(t){let e=new DOMParser().parseFromString(t,"image/svg+xml");if(e.querySelector("parsererror"))throw Error("Invalid SVG");return e.documentElement}async function s(t){let[{jsPDF:e},s]=await Promise.all([Promise.all([r.e(1260),r.e(6597)]).then(r.bind(r,26597)),Promise.all([r.e(1260),r.e(6597),r.e(3829)]).then(r.bind(r,53829))]),a=s.svg2pdf||s.default,n=l(t),{width:o,height:h}=i(n);n.getAttribute("width")||n.setAttribute("width",String(o)),n.getAttribute("height")||n.setAttribute("height",String(h));let u=new e({unit:"pt",format:[o,h],orientation:o>h?"landscape":"portrait",compress:!0});return u.setProperties({title:"SVG AI â Vectorized Output",creator:"SVG AI"}),await a(n,u,{x:0,y:0,width:o,height:h}),u.output("blob")}r.d(e,{svgToAiBlob:()=>a,svgToEpsBlob:()=>c,svgToPdfBlob:()=>s});let a=s,n=/-?(?:\d+\.\d*|\d*\.\d+|\d+)(?:[eE][+-]?\d+)?/g;function o(t,e,r,i,l,s){return[t+2/3*(r-t),e+2/3*(i-e),l+2/3*(r-l),s+2/3*(i-s),l,s]}function h(t){if(!t||"none"===t||"transparent"===t)return null;if((t=t.trim().toLowerCase()).startsWith("#")){let e=t.slice(1);if(3===e.length&&(e=e.split("").map(t=>t+t).join("")),6===e.length)return[parseInt(e.slice(0,2),16)/255,parseInt(e.slice(2,4),16)/255,parseInt(e.slice(4,6),16)/255]}let e=t.match(/^rgba?\s*\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)/);if(e)return[parseFloat(e[1])/255,parseFloat(e[2])/255,parseFloat(e[3])/255];let r={black:[0,0,0],white:[1,1,1],red:[1,0,0],green:[0,.5,0],blue:[0,0,1]};return t in r?r[t]:[0,0,0]}function u(t){return isFinite(t)?Number.isInteger(t)?String(t):t.toFixed(4).replace(/\.?0+$/,""):"0"}async function c(t){let e=l(t),{width:r,height:s}=i(e),a="";for(let t of Array.from(e.querySelectorAll("path"))){let e=t.getAttribute("d");if(!e)continue;let r=h(t.getAttribute("fill")||"#000"),i=h(t.getAttribute("stroke")),l=parseFloat(t.getAttribute("fill-opacity")||"1"),s=parseFloat(t.getAttribute("stroke-width")||"1"),c="evenodd"===t.getAttribute("fill-rule")?"eofill":"fill",f=function(t){let e,r=[],i=/([MmLlHhVvCcSsQqTtAaZz])([^MmLlHhVvCcSsQqTtAaZz]*)/g,l=0,s=0,a=0,h=0,u=0,c=0,f="";for(;e=i.exec(t);){let t=e[1],i=t===t.toLowerCase(),p=t.toUpperCase(),g=function(t){let e,r=[];for(n.lastIndex=0;e=n.exec(t);)r.push(parseFloat(e[0]));return r}(e[2]),d=0;if("M"===p){let t=g[d++],e=g[d++];for(i&&(t+=l,e+=s),r.push({cmd:"M",x:t,y:e}),l=t,s=e,a=t,h=e;d<g.length-1;){let t=g[d++],e=g[d++];i&&(t+=l,e+=s),r.push({cmd:"L",x:t,y:e}),l=t,s=e}}else if("L"===p)for(;d<g.length-1;){let t=g[d++],e=g[d++];i&&(t+=l,e+=s),r.push({cmd:"L",x:t,y:e}),l=t,s=e}else if("H"===p)for(;d<g.length;){let t=g[d++];i&&(t+=l),r.push({cmd:"L",x:t,y:s}),l=t}else if("V"===p)for(;d<g.length;){let t=g[d++];i&&(t+=s),r.push({cmd:"L",x:l,y:t}),s=t}else if("C"===p)for(;d<g.length-5;){let t=g[d++],e=g[d++],a=g[d++],n=g[d++],o=g[d++],h=g[d++];i&&(t+=l,e+=s,a+=l,n+=s,o+=l,h+=s),r.push({cmd:"C",x1:t,y1:e,x2:a,y2:n,x:o,y:h}),u=a,c=n,l=o,s=h}else if("S"===p)for(;d<g.length-3;){let t=g[d++],e=g[d++],a=g[d++],n=g[d++];i&&(t+=l,e+=s,a+=l,n+=s);let o=/[CS]/.test(f.toUpperCase()),h=o?2*l-u:l,p=o?2*s-c:s;r.push({cmd:"C",x1:h,y1:p,x2:t,y2:e,x:a,y:n}),u=t,c=e,l=a,s=n,f="C"}else if("Q"===p)for(;d<g.length-3;){let t=g[d++],e=g[d++],a=g[d++],n=g[d++];i&&(t+=l,e+=s,a+=l,n+=s);let[h,f,p,m,M,b]=o(l,s,t,e,a,n);r.push({cmd:"C",x1:h,y1:f,x2:p,y2:m,x:M,y:b}),u=t,c=e,l=a,s=n}else if("T"===p)for(;d<g.length-1;){let t=g[d++],e=g[d++];i&&(t+=l,e+=s);let a=/[QT]/.test(f.toUpperCase()),n=a?2*l-u:l,h=a?2*s-c:s,[p,m,M,b,x,$]=o(l,s,n,h,t,e);r.push({cmd:"C",x1:p,y1:m,x2:M,y2:b,x:x,y:$}),u=n,c=h,l=t,s=e,f="Q"}else if("A"===p)for(;d<g.length-6;){let t=g[d++],e=g[d++],a=g[d++],n=g[d++],o=g[d++],h=g[d++],u=g[d++];for(let[c,f,p,g,d,m]of(i&&(h+=l,u+=s),function(t,e,r,i,l,s,a,n,o){if(t===n&&e===o)return[];if(0===r||0===i)return[[t,e,n,o,n,o]];let h=l*Math.PI/180,u=Math.cos(h),c=Math.sin(h),f=(t-n)/2,p=(e-o)/2,g=u*f+c*p,d=-c*f+u*p,m=g*g/((r=Math.abs(r))*r)+d*d/((i=Math.abs(i))*i);if(m>1){let t=Math.sqrt(m);r*=t,i*=t}let M=(s===a?-1:1)*Math.sqrt(Math.max(0,(r*r*i*i-r*r*d*d-i*i*g*g)/(r*r*d*d+i*i*g*g))),b=M*r*d/i,x=-M*i*g/r,$=u*b-c*x+(t+n)/2,A=c*b+u*x+(e+o)/2,w=(t,e,r,i)=>{let l=(t*r+e*i)/Math.sqrt((t*t+e*e)*(r*r+i*i));return(t*i-e*r>=0?1:-1)*Math.acos(Math.max(-1,Math.min(1,l)))},y=w(1,0,(g-b)/r,(d-x)/i),C=w((g-b)/r,(d-x)/i,(-g-b)/r,(-d-x)/i);0===a&&C>0?C-=2*Math.PI:1===a&&C<0&&(C+=2*Math.PI);let S=Math.ceil(Math.abs(C)/(Math.PI/2)),v=C/S,I=8/3*Math.sin(v/4)*Math.sin(v/4)/Math.sin(v/2),F=[];for(let t=0;t<S;t++){let e=y+t*v,l=e+v,s=Math.cos(e)-I*Math.sin(e),a=Math.sin(e)+I*Math.cos(e),n=Math.cos(l)+I*Math.sin(l),o=Math.sin(l)-I*Math.cos(l),h=Math.cos(l),f=Math.sin(l),p=(t,e)=>[r*t*u-i*e*c+$,r*t*c+i*e*u+A],[g,d]=p(s,a),[m,M]=p(n,o),[b,x]=p(h,f);F.push([g,d,m,M,b,x])}return F}(l,s,t,e,a,n,o,h,u)))r.push({cmd:"C",x1:c,y1:f,x2:p,y2:g,x:d,y:m});l=h,s=u}else"Z"===p&&(r.push({cmd:"Z"}),l=a,s=h);f=p}return r}(e);if(0!==f.length){for(let t of(a+="newpath\n",f))switch(t.cmd){case"M":a+=`${u(t.x)} ${u(t.y)} moveto 2`;break;case"L":a+=`${u(t.x)} ${u(t.y)} lineto 3`;break;case"C":a+=`${u(t.x1)} ${u(t.y1)} ${u(t.x2)} ${u(t.y2)} ${u(t.x)} ${u(t.y)} curveto 4`;break;case"Z":a+="closepath\n"}r&&l>0&&(a+=`${u(r[0])} ${u(r[1])} ${u(r[2])} setrgbcolor `+(i?"gsave "+c+" grestore\n":c+"\n")),i&&(a+=`${u(i[0])} ${u(i[1])} ${u(i[2])} setrgbcolor ${u(s)} setlinewidth stroke 5`)}}return new Blob([`%!PS-Adobe-3.0 EPSF-3.0 6%%Creator: SVG AI Image Vectorizer 7%%Title: SVG AI vectorized output 8%%CreationDate: ${new Date().toISOString()} 9%%BoundingBox: 0 0 ${Math.ceil(r)} ${Math.ceil(s)} 10%%HiResBoundingBox: 0 0 ${r} ${s} 11%%LanguageLevel: 2 12%%EndComments 13gsave 140 ${u(s)} translate 151 -1 scale 16${a}grestore 17%%EOF 18`],{type:"application/postscript"})}}}]);
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.