vendor: 2,565 bytes, line 1
1var e=Object.freeze({left:0,top:0,width:16,height:16}),t=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),n=Object.freeze({...e,...t}),r=Object.freeze({...n,body:``,hidden:!1}),i=/(-?[0-9.]*[0-9]+[0-9.]*)/g,a=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function o(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(i);if(r===null||!r.length)return e;let o=[],s=r.shift(),c=a.test(s);for(;;){if(c){let e=parseFloat(s);isNaN(e)?o.push(s):o.push(Math.ceil(e*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join(``);c=!c}}var s=Object.freeze({width:null,height:null}),c=Object.freeze({...s,...t});function l(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function u(e,t){return e?`<defs>`+e+`</defs>`+t:t}function d(e,t,n){let r=l(e);return u(r.defs,t+r.content+n)}var f=e=>e===`unset`||e===`undefined`||e===`none`;function p(e,t){let r={...n,...e},i={...c,...t},a={left:r.left,top:r.top,width:r.width,height:r.height},s=r.body;[r,i].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,i=e.rotate;n?r?i+=2:(t.push(`translate(`+(a.width+a.left).toString()+` `+(0-a.top).toString()+`)`),t.push(`scale(-1 1)`),a.top=a.left=0):r&&(t.push(`translate(`+(0-a.left).toString()+` `+(a.height+a.top).toString()+`)`),t.push(`scale(1 -1)`),a.top=a.left=0);let o;switch(i<0&&(i-=Math.floor(i/4)*4),i%=4,i){case 1:o=a.height/2+a.top,t.unshift(`rotate(90 `+o.toString()+` `+o.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(a.width/2+a.left).toString()+` `+(a.height/2+a.top).toString()+`)`);break;case 3:o=a.width/2+a.left,t.unshift(`rotate(-90 `+o.toString()+` `+o.toString()+`)`)}i%2==1&&(a.left!==a.top&&(o=a.left,a.left=a.top,a.top=o),a.width!==a.height&&(o=a.width,a.width=a.height,a.height=o)),t.length&&(s=d(s,`<g transform="`+t.join(` `)+`">`,`</g>`))});let l=i.width,u=i.height,p=a.width,m=a.height,h,g;l===null?(g=u===null?`1em`:u===`auto`?m:u,h=o(g,p/m)):(h=l===`auto`?p:l,g=u===null?o(h,m/p):u===`auto`?m:u);let _={},v=(e,t)=>{f(t)||(_[e]=t.toString())};v(`width`,h),v(`height`,g);let y=[a.left,a.top,p,m];return _.viewBox=y.join(` `),{attributes:_,viewBox:y,body:s}}function m(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}export{n as a,r as i,p as n,t as o,o as r,m as t};
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.