diff --git a/dist/assets/main-69ebc831.js b/dist/assets/main-69ebc831.js
deleted file mode 100644
index 5d646aaa9eeeb4c9d71ca5d46f963e2f5a7b2735..0000000000000000000000000000000000000000
--- a/dist/assets/main-69ebc831.js
+++ /dev/null
@@ -1,22 +0,0 @@
-(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&a(l)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();var he=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wa(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function a(){return this instanceof a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(a){var o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(r,a,o.get?o:{enumerable:!0,get:function(){return e[a]}})}),r}var Un={exports:{}},ce=Un.exports={},Ie,Ce;function qt(){throw new Error("setTimeout has not been defined")}function Wt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ie=setTimeout:Ie=qt}catch{Ie=qt}try{typeof clearTimeout=="function"?Ce=clearTimeout:Ce=Wt}catch{Ce=Wt}})();function Gn(e){if(Ie===setTimeout)return setTimeout(e,0);if((Ie===qt||!Ie)&&setTimeout)return Ie=setTimeout,setTimeout(e,0);try{return Ie(e,0)}catch{try{return Ie.call(null,e,0)}catch{return Ie.call(this,e,0)}}}function xa(e){if(Ce===clearTimeout)return clearTimeout(e);if((Ce===Wt||!Ce)&&clearTimeout)return Ce=clearTimeout,clearTimeout(e);try{return Ce(e)}catch{try{return Ce.call(null,e)}catch{return Ce.call(this,e)}}}var Ne=[],Je=!1,We,ct=-1;function ba(){!Je||!We||(Je=!1,We.length?Ne=We.concat(Ne):ct=-1,Ne.length&&Xn())}function Xn(){if(!Je){var e=Gn(ba);Je=!0;for(var t=Ne.length;t;){for(We=Ne,Ne=[];++ct<t;)We&&We[ct].run();ct=-1,t=Ne.length}We=null,Je=!1,xa(e)}}ce.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Ne.push(new Vn(e,t)),Ne.length===1&&!Je&&Gn(Xn)};function Vn(e,t){this.fun=e,this.array=t}Vn.prototype.run=function(){this.fun.apply(null,this.array)};ce.title="browser";ce.browser=!0;ce.env={};ce.argv=[];ce.version="";ce.versions={};function De(){}ce.on=De;ce.addListener=De;ce.once=De;ce.off=De;ce.removeListener=De;ce.removeAllListeners=De;ce.emit=De;ce.prependListener=De;ce.prependOnceListener=De;ce.listeners=function(e){return[]};ce.binding=function(e){throw new Error("process.binding is not supported")};ce.cwd=function(){return"/"};ce.chdir=function(e){throw new Error("process.chdir is not supported")};ce.umask=function(){return 0};var Ea=Un.exports;const Ma=hr(Ea);var rt={},Mt={};Mt.byteLength=Aa;Mt.toByteArray=Ba;Mt.fromByteArray=La;var Le=[],Re=[],Ra=typeof Uint8Array<"u"?Uint8Array:Array,Lt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Ke=0,Sa=Lt.length;Ke<Sa;++Ke)Le[Ke]=Lt[Ke],Re[Lt.charCodeAt(Ke)]=Ke;Re["-".charCodeAt(0)]=62;Re["_".charCodeAt(0)]=63;function qn(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var a=r===t?0:4-r%4;return[r,a]}function Aa(e){var t=qn(e),r=t[0],a=t[1];return(r+a)*3/4-a}function Ta(e,t,r){return(t+r)*3/4-r}function Ba(e){var t,r=qn(e),a=r[0],o=r[1],s=new Ra(Ta(e,a,o)),l=0,f=o>0?a-4:a,h;for(h=0;h<f;h+=4)t=Re[e.charCodeAt(h)]<<18|Re[e.charCodeAt(h+1)]<<12|Re[e.charCodeAt(h+2)]<<6|Re[e.charCodeAt(h+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=t&255;return o===2&&(t=Re[e.charCodeAt(h)]<<2|Re[e.charCodeAt(h+1)]>>4,s[l++]=t&255),o===1&&(t=Re[e.charCodeAt(h)]<<10|Re[e.charCodeAt(h+1)]<<4|Re[e.charCodeAt(h+2)]>>2,s[l++]=t>>8&255,s[l++]=t&255),s}function Ia(e){return Le[e>>18&63]+Le[e>>12&63]+Le[e>>6&63]+Le[e&63]}function Ca(e,t,r){for(var a,o=[],s=t;s<r;s+=3)a=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(e[s+2]&255),o.push(Ia(a));return o.join("")}function La(e){for(var t,r=e.length,a=r%3,o=[],s=16383,l=0,f=r-a;l<f;l+=s)o.push(Ca(e,l,l+s>f?f:l+s));return a===1?(t=e[r-1],o.push(Le[t>>2]+Le[t<<4&63]+"==")):a===2&&(t=(e[r-2]<<8)+e[r-1],o.push(Le[t>>10]+Le[t>>4&63]+Le[t<<2&63]+"=")),o.join("")}var dr={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */dr.read=function(e,t,r,a,o){var s,l,f=o*8-a-1,h=(1<<f)-1,v=h>>1,g=-7,_=r?o-1:0,b=r?-1:1,T=e[t+_];for(_+=b,s=T&(1<<-g)-1,T>>=-g,g+=f;g>0;s=s*256+e[t+_],_+=b,g-=8);for(l=s&(1<<-g)-1,s>>=-g,g+=a;g>0;l=l*256+e[t+_],_+=b,g-=8);if(s===0)s=1-v;else{if(s===h)return l?NaN:(T?-1:1)*(1/0);l=l+Math.pow(2,a),s=s-v}return(T?-1:1)*l*Math.pow(2,s-a)};dr.write=function(e,t,r,a,o,s){var l,f,h,v=s*8-o-1,g=(1<<v)-1,_=g>>1,b=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=a?0:s-1,E=a?1:-1,R=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(f=isNaN(t)?1:0,l=g):(l=Math.floor(Math.log(t)/Math.LN2),t*(h=Math.pow(2,-l))<1&&(l--,h*=2),l+_>=1?t+=b/h:t+=b*Math.pow(2,1-_),t*h>=2&&(l++,h/=2),l+_>=g?(f=0,l=g):l+_>=1?(f=(t*h-1)*Math.pow(2,o),l=l+_):(f=t*Math.pow(2,_-1)*Math.pow(2,o),l=0));o>=8;e[r+T]=f&255,T+=E,f/=256,o-=8);for(l=l<<o|f,v+=o;v>0;e[r+T]=l&255,T+=E,l/=256,v-=8);e[r+T-E]|=R*128};/*!
- * The buffer module from node.js, for the browser.
- *
- * @author   Feross Aboukhadijeh <https://feross.org>
- * @license  MIT
- */(function(e){const t=Mt,r=dr,a=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=f,e.SlowBuffer=$,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o,f.TYPED_ARRAY_SUPPORT=s(),!f.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function s(){try{const u=new Uint8Array(1),n={foo:function(){return 42}};return Object.setPrototypeOf(n,Uint8Array.prototype),Object.setPrototypeOf(u,n),u.foo()===42}catch{return!1}}Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}});function l(u){if(u>o)throw new RangeError('The value "'+u+'" is invalid for option "size"');const n=new Uint8Array(u);return Object.setPrototypeOf(n,f.prototype),n}function f(u,n,i){if(typeof u=="number"){if(typeof n=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return _(u)}return h(u,n,i)}f.poolSize=8192;function h(u,n,i){if(typeof u=="string")return b(u,n);if(ArrayBuffer.isView(u))return E(u);if(u==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof u);if(be(u,ArrayBuffer)||u&&be(u.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(be(u,SharedArrayBuffer)||u&&be(u.buffer,SharedArrayBuffer)))return R(u,n,i);if(typeof u=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const d=u.valueOf&&u.valueOf();if(d!=null&&d!==u)return f.from(d,n,i);const y=B(u);if(y)return y;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof u[Symbol.toPrimitive]=="function")return f.from(u[Symbol.toPrimitive]("string"),n,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof u)}f.from=function(u,n,i){return h(u,n,i)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array);function v(u){if(typeof u!="number")throw new TypeError('"size" argument must be of type number');if(u<0)throw new RangeError('The value "'+u+'" is invalid for option "size"')}function g(u,n,i){return v(u),u<=0?l(u):n!==void 0?typeof i=="string"?l(u).fill(n,i):l(u).fill(n):l(u)}f.alloc=function(u,n,i){return g(u,n,i)};function _(u){return v(u),l(u<0?0:C(u)|0)}f.allocUnsafe=function(u){return _(u)},f.allocUnsafeSlow=function(u){return _(u)};function b(u,n){if((typeof n!="string"||n==="")&&(n="utf8"),!f.isEncoding(n))throw new TypeError("Unknown encoding: "+n);const i=D(u,n)|0;let d=l(i);const y=d.write(u,n);return y!==i&&(d=d.slice(0,y)),d}function T(u){const n=u.length<0?0:C(u.length)|0,i=l(n);for(let d=0;d<n;d+=1)i[d]=u[d]&255;return i}function E(u){if(be(u,Uint8Array)){const n=new Uint8Array(u);return R(n.buffer,n.byteOffset,n.byteLength)}return T(u)}function R(u,n,i){if(n<0||u.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(u.byteLength<n+(i||0))throw new RangeError('"length" is outside of buffer bounds');let d;return n===void 0&&i===void 0?d=new Uint8Array(u):i===void 0?d=new Uint8Array(u,n):d=new Uint8Array(u,n,i),Object.setPrototypeOf(d,f.prototype),d}function B(u){if(f.isBuffer(u)){const n=C(u.length)|0,i=l(n);return i.length===0||u.copy(i,0,0,n),i}if(u.length!==void 0)return typeof u.length!="number"||Ge(u.length)?l(0):T(u);if(u.type==="Buffer"&&Array.isArray(u.data))return T(u.data)}function C(u){if(u>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return u|0}function $(u){return+u!=u&&(u=0),f.alloc(+u)}f.isBuffer=function(n){return n!=null&&n._isBuffer===!0&&n!==f.prototype},f.compare=function(n,i){if(be(n,Uint8Array)&&(n=f.from(n,n.offset,n.byteLength)),be(i,Uint8Array)&&(i=f.from(i,i.offset,i.byteLength)),!f.isBuffer(n)||!f.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(n===i)return 0;let d=n.length,y=i.length;for(let x=0,M=Math.min(d,y);x<M;++x)if(n[x]!==i[x]){d=n[x],y=i[x];break}return d<y?-1:y<d?1:0},f.isEncoding=function(n){switch(String(n).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(n,i){if(!Array.isArray(n))throw new TypeError('"list" argument must be an Array of Buffers');if(n.length===0)return f.alloc(0);let d;if(i===void 0)for(i=0,d=0;d<n.length;++d)i+=n[d].length;const y=f.allocUnsafe(i);let x=0;for(d=0;d<n.length;++d){let M=n[d];if(be(M,Uint8Array))x+M.length>y.length?(f.isBuffer(M)||(M=f.from(M)),M.copy(y,x)):Uint8Array.prototype.set.call(y,M,x);else if(f.isBuffer(M))M.copy(y,x);else throw new TypeError('"list" argument must be an Array of Buffers');x+=M.length}return y};function D(u,n){if(f.isBuffer(u))return u.length;if(ArrayBuffer.isView(u)||be(u,ArrayBuffer))return u.byteLength;if(typeof u!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof u);const i=u.length,d=arguments.length>2&&arguments[2]===!0;if(!d&&i===0)return 0;let y=!1;for(;;)switch(n){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return K(u).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return it(u).length;default:if(y)return d?-1:K(u).length;n=(""+n).toLowerCase(),y=!0}}f.byteLength=D;function k(u,n,i){let d=!1;if((n===void 0||n<0)&&(n=0),n>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,n>>>=0,i<=n))return"";for(u||(u="utf8");;)switch(u){case"hex":return se(this,n,i);case"utf8":case"utf-8":return I(this,n,i);case"ascii":return W(this,n,i);case"latin1":case"binary":return J(this,n,i);case"base64":return O(this,n,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,n,i);default:if(d)throw new TypeError("Unknown encoding: "+u);u=(u+"").toLowerCase(),d=!0}}f.prototype._isBuffer=!0;function F(u,n,i){const d=u[n];u[n]=u[i],u[i]=d}f.prototype.swap16=function(){const n=this.length;if(n%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let i=0;i<n;i+=2)F(this,i,i+1);return this},f.prototype.swap32=function(){const n=this.length;if(n%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let i=0;i<n;i+=4)F(this,i,i+3),F(this,i+1,i+2);return this},f.prototype.swap64=function(){const n=this.length;if(n%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let i=0;i<n;i+=8)F(this,i,i+7),F(this,i+1,i+6),F(this,i+2,i+5),F(this,i+3,i+4);return this},f.prototype.toString=function(){const n=this.length;return n===0?"":arguments.length===0?I(this,0,n):k.apply(this,arguments)},f.prototype.toLocaleString=f.prototype.toString,f.prototype.equals=function(n){if(!f.isBuffer(n))throw new TypeError("Argument must be a Buffer");return this===n?!0:f.compare(this,n)===0},f.prototype.inspect=function(){let n="";const i=e.INSPECT_MAX_BYTES;return n=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(n+=" ... "),"<Buffer "+n+">"},a&&(f.prototype[a]=f.prototype.inspect),f.prototype.compare=function(n,i,d,y,x){if(be(n,Uint8Array)&&(n=f.from(n,n.offset,n.byteLength)),!f.isBuffer(n))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof n);if(i===void 0&&(i=0),d===void 0&&(d=n?n.length:0),y===void 0&&(y=0),x===void 0&&(x=this.length),i<0||d>n.length||y<0||x>this.length)throw new RangeError("out of range index");if(y>=x&&i>=d)return 0;if(y>=x)return-1;if(i>=d)return 1;if(i>>>=0,d>>>=0,y>>>=0,x>>>=0,this===n)return 0;let M=x-y,Y=d-i;const fe=Math.min(M,Y),oe=this.slice(y,x),ue=n.slice(i,d);for(let ie=0;ie<fe;++ie)if(oe[ie]!==ue[ie]){M=oe[ie],Y=ue[ie];break}return M<Y?-1:Y<M?1:0};function V(u,n,i,d,y){if(u.length===0)return-1;if(typeof i=="string"?(d=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,Ge(i)&&(i=y?0:u.length-1),i<0&&(i=u.length+i),i>=u.length){if(y)return-1;i=u.length-1}else if(i<0)if(y)i=0;else return-1;if(typeof n=="string"&&(n=f.from(n,d)),f.isBuffer(n))return n.length===0?-1:te(u,n,i,d,y);if(typeof n=="number")return n=n&255,typeof Uint8Array.prototype.indexOf=="function"?y?Uint8Array.prototype.indexOf.call(u,n,i):Uint8Array.prototype.lastIndexOf.call(u,n,i):te(u,[n],i,d,y);throw new TypeError("val must be string, number or Buffer")}function te(u,n,i,d,y){let x=1,M=u.length,Y=n.length;if(d!==void 0&&(d=String(d).toLowerCase(),d==="ucs2"||d==="ucs-2"||d==="utf16le"||d==="utf-16le")){if(u.length<2||n.length<2)return-1;x=2,M/=2,Y/=2,i/=2}function fe(ue,ie){return x===1?ue[ie]:ue.readUInt16BE(ie*x)}let oe;if(y){let ue=-1;for(oe=i;oe<M;oe++)if(fe(u,oe)===fe(n,ue===-1?0:oe-ue)){if(ue===-1&&(ue=oe),oe-ue+1===Y)return ue*x}else ue!==-1&&(oe-=oe-ue),ue=-1}else for(i+Y>M&&(i=M-Y),oe=i;oe>=0;oe--){let ue=!0;for(let ie=0;ie<Y;ie++)if(fe(u,oe+ie)!==fe(n,ie)){ue=!1;break}if(ue)return oe}return-1}f.prototype.includes=function(n,i,d){return this.indexOf(n,i,d)!==-1},f.prototype.indexOf=function(n,i,d){return V(this,n,i,d,!0)},f.prototype.lastIndexOf=function(n,i,d){return V(this,n,i,d,!1)};function z(u,n,i,d){i=Number(i)||0;const y=u.length-i;d?(d=Number(d),d>y&&(d=y)):d=y;const x=n.length;d>x/2&&(d=x/2);let M;for(M=0;M<d;++M){const Y=parseInt(n.substr(M*2,2),16);if(Ge(Y))return M;u[i+M]=Y}return M}function X(u,n,i,d){return Qe(K(n,u.length-i),u,i,d)}function me(u,n,i,d){return Qe(Ae(n),u,i,d)}function U(u,n,i,d){return Qe(it(n),u,i,d)}function L(u,n,i,d){return Qe(Ye(n,u.length-i),u,i,d)}f.prototype.write=function(n,i,d,y){if(i===void 0)y="utf8",d=this.length,i=0;else if(d===void 0&&typeof i=="string")y=i,d=this.length,i=0;else if(isFinite(i))i=i>>>0,isFinite(d)?(d=d>>>0,y===void 0&&(y="utf8")):(y=d,d=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const x=this.length-i;if((d===void 0||d>x)&&(d=x),n.length>0&&(d<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");y||(y="utf8");let M=!1;for(;;)switch(y){case"hex":return z(this,n,i,d);case"utf8":case"utf-8":return X(this,n,i,d);case"ascii":case"latin1":case"binary":return me(this,n,i,d);case"base64":return U(this,n,i,d);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,n,i,d);default:if(M)throw new TypeError("Unknown encoding: "+y);y=(""+y).toLowerCase(),M=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(u,n,i){return n===0&&i===u.length?t.fromByteArray(u):t.fromByteArray(u.slice(n,i))}function I(u,n,i){i=Math.min(u.length,i);const d=[];let y=n;for(;y<i;){const x=u[y];let M=null,Y=x>239?4:x>223?3:x>191?2:1;if(y+Y<=i){let fe,oe,ue,ie;switch(Y){case 1:x<128&&(M=x);break;case 2:fe=u[y+1],(fe&192)===128&&(ie=(x&31)<<6|fe&63,ie>127&&(M=ie));break;case 3:fe=u[y+1],oe=u[y+2],(fe&192)===128&&(oe&192)===128&&(ie=(x&15)<<12|(fe&63)<<6|oe&63,ie>2047&&(ie<55296||ie>57343)&&(M=ie));break;case 4:fe=u[y+1],oe=u[y+2],ue=u[y+3],(fe&192)===128&&(oe&192)===128&&(ue&192)===128&&(ie=(x&15)<<18|(fe&63)<<12|(oe&63)<<6|ue&63,ie>65535&&ie<1114112&&(M=ie))}}M===null?(M=65533,Y=1):M>65535&&(M-=65536,d.push(M>>>10&1023|55296),M=56320|M&1023),d.push(M),y+=Y}return q(d)}const P=4096;function q(u){const n=u.length;if(n<=P)return String.fromCharCode.apply(String,u);let i="",d=0;for(;d<n;)i+=String.fromCharCode.apply(String,u.slice(d,d+=P));return i}function W(u,n,i){let d="";i=Math.min(u.length,i);for(let y=n;y<i;++y)d+=String.fromCharCode(u[y]&127);return d}function J(u,n,i){let d="";i=Math.min(u.length,i);for(let y=n;y<i;++y)d+=String.fromCharCode(u[y]);return d}function se(u,n,i){const d=u.length;(!n||n<0)&&(n=0),(!i||i<0||i>d)&&(i=d);let y="";for(let x=n;x<i;++x)y+=at[u[x]];return y}function we(u,n,i){const d=u.slice(n,i);let y="";for(let x=0;x<d.length-1;x+=2)y+=String.fromCharCode(d[x]+d[x+1]*256);return y}f.prototype.slice=function(n,i){const d=this.length;n=~~n,i=i===void 0?d:~~i,n<0?(n+=d,n<0&&(n=0)):n>d&&(n=d),i<0?(i+=d,i<0&&(i=0)):i>d&&(i=d),i<n&&(i=n);const y=this.subarray(n,i);return Object.setPrototypeOf(y,f.prototype),y};function Q(u,n,i){if(u%1!==0||u<0)throw new RangeError("offset is not uint");if(u+n>i)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUintLE=f.prototype.readUIntLE=function(n,i,d){n=n>>>0,i=i>>>0,d||Q(n,i,this.length);let y=this[n],x=1,M=0;for(;++M<i&&(x*=256);)y+=this[n+M]*x;return y},f.prototype.readUintBE=f.prototype.readUIntBE=function(n,i,d){n=n>>>0,i=i>>>0,d||Q(n,i,this.length);let y=this[n+--i],x=1;for(;i>0&&(x*=256);)y+=this[n+--i]*x;return y},f.prototype.readUint8=f.prototype.readUInt8=function(n,i){return n=n>>>0,i||Q(n,1,this.length),this[n]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(n,i){return n=n>>>0,i||Q(n,2,this.length),this[n]|this[n+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(n,i){return n=n>>>0,i||Q(n,2,this.length),this[n]<<8|this[n+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(n,i){return n=n>>>0,i||Q(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+this[n+3]*16777216},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(n,i){return n=n>>>0,i||Q(n,4,this.length),this[n]*16777216+(this[n+1]<<16|this[n+2]<<8|this[n+3])},f.prototype.readBigUInt64LE=Me(function(n){n=n>>>0,S(n,"offset");const i=this[n],d=this[n+7];(i===void 0||d===void 0)&&N(n,this.length-8);const y=i+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24,x=this[++n]+this[++n]*2**8+this[++n]*2**16+d*2**24;return BigInt(y)+(BigInt(x)<<BigInt(32))}),f.prototype.readBigUInt64BE=Me(function(n){n=n>>>0,S(n,"offset");const i=this[n],d=this[n+7];(i===void 0||d===void 0)&&N(n,this.length-8);const y=i*2**24+this[++n]*2**16+this[++n]*2**8+this[++n],x=this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+d;return(BigInt(y)<<BigInt(32))+BigInt(x)}),f.prototype.readIntLE=function(n,i,d){n=n>>>0,i=i>>>0,d||Q(n,i,this.length);let y=this[n],x=1,M=0;for(;++M<i&&(x*=256);)y+=this[n+M]*x;return x*=128,y>=x&&(y-=Math.pow(2,8*i)),y},f.prototype.readIntBE=function(n,i,d){n=n>>>0,i=i>>>0,d||Q(n,i,this.length);let y=i,x=1,M=this[n+--y];for(;y>0&&(x*=256);)M+=this[n+--y]*x;return x*=128,M>=x&&(M-=Math.pow(2,8*i)),M},f.prototype.readInt8=function(n,i){return n=n>>>0,i||Q(n,1,this.length),this[n]&128?(255-this[n]+1)*-1:this[n]},f.prototype.readInt16LE=function(n,i){n=n>>>0,i||Q(n,2,this.length);const d=this[n]|this[n+1]<<8;return d&32768?d|4294901760:d},f.prototype.readInt16BE=function(n,i){n=n>>>0,i||Q(n,2,this.length);const d=this[n+1]|this[n]<<8;return d&32768?d|4294901760:d},f.prototype.readInt32LE=function(n,i){return n=n>>>0,i||Q(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24},f.prototype.readInt32BE=function(n,i){return n=n>>>0,i||Q(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]},f.prototype.readBigInt64LE=Me(function(n){n=n>>>0,S(n,"offset");const i=this[n],d=this[n+7];(i===void 0||d===void 0)&&N(n,this.length-8);const y=this[n+4]+this[n+5]*2**8+this[n+6]*2**16+(d<<24);return(BigInt(y)<<BigInt(32))+BigInt(i+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24)}),f.prototype.readBigInt64BE=Me(function(n){n=n>>>0,S(n,"offset");const i=this[n],d=this[n+7];(i===void 0||d===void 0)&&N(n,this.length-8);const y=(i<<24)+this[++n]*2**16+this[++n]*2**8+this[++n];return(BigInt(y)<<BigInt(32))+BigInt(this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+d)}),f.prototype.readFloatLE=function(n,i){return n=n>>>0,i||Q(n,4,this.length),r.read(this,n,!0,23,4)},f.prototype.readFloatBE=function(n,i){return n=n>>>0,i||Q(n,4,this.length),r.read(this,n,!1,23,4)},f.prototype.readDoubleLE=function(n,i){return n=n>>>0,i||Q(n,8,this.length),r.read(this,n,!0,52,8)},f.prototype.readDoubleBE=function(n,i){return n=n>>>0,i||Q(n,8,this.length),r.read(this,n,!1,52,8)};function ee(u,n,i,d,y,x){if(!f.isBuffer(u))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>y||n<x)throw new RangeError('"value" argument is out of bounds');if(i+d>u.length)throw new RangeError("Index out of range")}f.prototype.writeUintLE=f.prototype.writeUIntLE=function(n,i,d,y){if(n=+n,i=i>>>0,d=d>>>0,!y){const Y=Math.pow(2,8*d)-1;ee(this,n,i,d,Y,0)}let x=1,M=0;for(this[i]=n&255;++M<d&&(x*=256);)this[i+M]=n/x&255;return i+d},f.prototype.writeUintBE=f.prototype.writeUIntBE=function(n,i,d,y){if(n=+n,i=i>>>0,d=d>>>0,!y){const Y=Math.pow(2,8*d)-1;ee(this,n,i,d,Y,0)}let x=d-1,M=1;for(this[i+x]=n&255;--x>=0&&(M*=256);)this[i+x]=n/M&255;return i+d},f.prototype.writeUint8=f.prototype.writeUInt8=function(n,i,d){return n=+n,i=i>>>0,d||ee(this,n,i,1,255,0),this[i]=n&255,i+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(n,i,d){return n=+n,i=i>>>0,d||ee(this,n,i,2,65535,0),this[i]=n&255,this[i+1]=n>>>8,i+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(n,i,d){return n=+n,i=i>>>0,d||ee(this,n,i,2,65535,0),this[i]=n>>>8,this[i+1]=n&255,i+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(n,i,d){return n=+n,i=i>>>0,d||ee(this,n,i,4,4294967295,0),this[i+3]=n>>>24,this[i+2]=n>>>16,this[i+1]=n>>>8,this[i]=n&255,i+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(n,i,d){return n=+n,i=i>>>0,d||ee(this,n,i,4,4294967295,0),this[i]=n>>>24,this[i+1]=n>>>16,this[i+2]=n>>>8,this[i+3]=n&255,i+4};function de(u,n,i,d,y){p(n,d,y,u,i,7);let x=Number(n&BigInt(4294967295));u[i++]=x,x=x>>8,u[i++]=x,x=x>>8,u[i++]=x,x=x>>8,u[i++]=x;let M=Number(n>>BigInt(32)&BigInt(4294967295));return u[i++]=M,M=M>>8,u[i++]=M,M=M>>8,u[i++]=M,M=M>>8,u[i++]=M,i}function ae(u,n,i,d,y){p(n,d,y,u,i,7);let x=Number(n&BigInt(4294967295));u[i+7]=x,x=x>>8,u[i+6]=x,x=x>>8,u[i+5]=x,x=x>>8,u[i+4]=x;let M=Number(n>>BigInt(32)&BigInt(4294967295));return u[i+3]=M,M=M>>8,u[i+2]=M,M=M>>8,u[i+1]=M,M=M>>8,u[i]=M,i+8}f.prototype.writeBigUInt64LE=Me(function(n,i=0){return de(this,n,i,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeBigUInt64BE=Me(function(n,i=0){return ae(this,n,i,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeIntLE=function(n,i,d,y){if(n=+n,i=i>>>0,!y){const fe=Math.pow(2,8*d-1);ee(this,n,i,d,fe-1,-fe)}let x=0,M=1,Y=0;for(this[i]=n&255;++x<d&&(M*=256);)n<0&&Y===0&&this[i+x-1]!==0&&(Y=1),this[i+x]=(n/M>>0)-Y&255;return i+d},f.prototype.writeIntBE=function(n,i,d,y){if(n=+n,i=i>>>0,!y){const fe=Math.pow(2,8*d-1);ee(this,n,i,d,fe-1,-fe)}let x=d-1,M=1,Y=0;for(this[i+x]=n&255;--x>=0&&(M*=256);)n<0&&Y===0&&this[i+x+1]!==0&&(Y=1),this[i+x]=(n/M>>0)-Y&255;return i+d},f.prototype.writeInt8=function(n,i,d){return n=+n,i=i>>>0,d||ee(this,n,i,1,127,-128),n<0&&(n=255+n+1),this[i]=n&255,i+1},f.prototype.writeInt16LE=function(n,i,d){return n=+n,i=i>>>0,d||ee(this,n,i,2,32767,-32768),this[i]=n&255,this[i+1]=n>>>8,i+2},f.prototype.writeInt16BE=function(n,i,d){return n=+n,i=i>>>0,d||ee(this,n,i,2,32767,-32768),this[i]=n>>>8,this[i+1]=n&255,i+2},f.prototype.writeInt32LE=function(n,i,d){return n=+n,i=i>>>0,d||ee(this,n,i,4,2147483647,-2147483648),this[i]=n&255,this[i+1]=n>>>8,this[i+2]=n>>>16,this[i+3]=n>>>24,i+4},f.prototype.writeInt32BE=function(n,i,d){return n=+n,i=i>>>0,d||ee(this,n,i,4,2147483647,-2147483648),n<0&&(n=4294967295+n+1),this[i]=n>>>24,this[i+1]=n>>>16,this[i+2]=n>>>8,this[i+3]=n&255,i+4},f.prototype.writeBigInt64LE=Me(function(n,i=0){return de(this,n,i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeBigInt64BE=Me(function(n,i=0){return ae(this,n,i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ye(u,n,i,d,y,x){if(i+d>u.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function w(u,n,i,d,y){return n=+n,i=i>>>0,y||ye(u,n,i,4),r.write(u,n,i,d,23,4),i+4}f.prototype.writeFloatLE=function(n,i,d){return w(this,n,i,!0,d)},f.prototype.writeFloatBE=function(n,i,d){return w(this,n,i,!1,d)};function m(u,n,i,d,y){return n=+n,i=i>>>0,y||ye(u,n,i,8),r.write(u,n,i,d,52,8),i+8}f.prototype.writeDoubleLE=function(n,i,d){return m(this,n,i,!0,d)},f.prototype.writeDoubleBE=function(n,i,d){return m(this,n,i,!1,d)},f.prototype.copy=function(n,i,d,y){if(!f.isBuffer(n))throw new TypeError("argument should be a Buffer");if(d||(d=0),!y&&y!==0&&(y=this.length),i>=n.length&&(i=n.length),i||(i=0),y>0&&y<d&&(y=d),y===d||n.length===0||this.length===0)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(d<0||d>=this.length)throw new RangeError("Index out of range");if(y<0)throw new RangeError("sourceEnd out of bounds");y>this.length&&(y=this.length),n.length-i<y-d&&(y=n.length-i+d);const x=y-d;return this===n&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(i,d,y):Uint8Array.prototype.set.call(n,this.subarray(d,y),i),x},f.prototype.fill=function(n,i,d,y){if(typeof n=="string"){if(typeof i=="string"?(y=i,i=0,d=this.length):typeof d=="string"&&(y=d,d=this.length),y!==void 0&&typeof y!="string")throw new TypeError("encoding must be a string");if(typeof y=="string"&&!f.isEncoding(y))throw new TypeError("Unknown encoding: "+y);if(n.length===1){const M=n.charCodeAt(0);(y==="utf8"&&M<128||y==="latin1")&&(n=M)}}else typeof n=="number"?n=n&255:typeof n=="boolean"&&(n=Number(n));if(i<0||this.length<i||this.length<d)throw new RangeError("Out of range index");if(d<=i)return this;i=i>>>0,d=d===void 0?this.length:d>>>0,n||(n=0);let x;if(typeof n=="number")for(x=i;x<d;++x)this[x]=n;else{const M=f.isBuffer(n)?n:f.from(n,y),Y=M.length;if(Y===0)throw new TypeError('The value "'+n+'" is invalid for argument "value"');for(x=0;x<d-i;++x)this[x+i]=M[x%Y]}return this};const A={};function j(u,n,i){A[u]=class extends i{constructor(){super(),Object.defineProperty(this,"message",{value:n.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${u}]`,this.stack,delete this.name}get code(){return u}set code(y){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:y,writable:!0})}toString(){return`${this.name} [${u}]: ${this.message}`}}}j("ERR_BUFFER_OUT_OF_BOUNDS",function(u){return u?`${u} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),j("ERR_INVALID_ARG_TYPE",function(u,n){return`The "${u}" argument must be of type number. Received type ${typeof n}`},TypeError),j("ERR_OUT_OF_RANGE",function(u,n,i){let d=`The value of "${u}" is out of range.`,y=i;return Number.isInteger(i)&&Math.abs(i)>2**32?y=G(String(i)):typeof i=="bigint"&&(y=String(i),(i>BigInt(2)**BigInt(32)||i<-(BigInt(2)**BigInt(32)))&&(y=G(y)),y+="n"),d+=` It must be ${n}. Received ${y}`,d},RangeError);function G(u){let n="",i=u.length;const d=u[0]==="-"?1:0;for(;i>=d+4;i-=3)n=`_${u.slice(i-3,i)}${n}`;return`${u.slice(0,i)}${n}`}function c(u,n,i){S(n,"offset"),(u[n]===void 0||u[n+i]===void 0)&&N(n,u.length-(i+1))}function p(u,n,i,d,y,x){if(u>i||u<n){const M=typeof n=="bigint"?"n":"";let Y;throw x>3?n===0||n===BigInt(0)?Y=`>= 0${M} and < 2${M} ** ${(x+1)*8}${M}`:Y=`>= -(2${M} ** ${(x+1)*8-1}${M}) and < 2 ** ${(x+1)*8-1}${M}`:Y=`>= ${n}${M} and <= ${i}${M}`,new A.ERR_OUT_OF_RANGE("value",Y,u)}c(d,y,x)}function S(u,n){if(typeof u!="number")throw new A.ERR_INVALID_ARG_TYPE(n,"number",u)}function N(u,n,i){throw Math.floor(u)!==u?(S(u,i),new A.ERR_OUT_OF_RANGE(i||"offset","an integer",u)):n<0?new A.ERR_BUFFER_OUT_OF_BOUNDS:new A.ERR_OUT_OF_RANGE(i||"offset",`>= ${i?1:0} and <= ${n}`,u)}const re=/[^+/0-9A-Za-z-_]/g;function H(u){if(u=u.split("=")[0],u=u.trim().replace(re,""),u.length<2)return"";for(;u.length%4!==0;)u=u+"=";return u}function K(u,n){n=n||1/0;let i;const d=u.length;let y=null;const x=[];for(let M=0;M<d;++M){if(i=u.charCodeAt(M),i>55295&&i<57344){if(!y){if(i>56319){(n-=3)>-1&&x.push(239,191,189);continue}else if(M+1===d){(n-=3)>-1&&x.push(239,191,189);continue}y=i;continue}if(i<56320){(n-=3)>-1&&x.push(239,191,189),y=i;continue}i=(y-55296<<10|i-56320)+65536}else y&&(n-=3)>-1&&x.push(239,191,189);if(y=null,i<128){if((n-=1)<0)break;x.push(i)}else if(i<2048){if((n-=2)<0)break;x.push(i>>6|192,i&63|128)}else if(i<65536){if((n-=3)<0)break;x.push(i>>12|224,i>>6&63|128,i&63|128)}else if(i<1114112){if((n-=4)<0)break;x.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else throw new Error("Invalid code point")}return x}function Ae(u){const n=[];for(let i=0;i<u.length;++i)n.push(u.charCodeAt(i)&255);return n}function Ye(u,n){let i,d,y;const x=[];for(let M=0;M<u.length&&!((n-=2)<0);++M)i=u.charCodeAt(M),d=i>>8,y=i%256,x.push(y),x.push(d);return x}function it(u){return t.toByteArray(H(u))}function Qe(u,n,i,d){let y;for(y=0;y<d&&!(y+i>=n.length||y>=u.length);++y)n[y+i]=u[y];return y}function be(u,n){return u instanceof n||u!=null&&u.constructor!=null&&u.constructor.name!=null&&u.constructor.name===n.name}function Ge(u){return u!==u}const at=function(){const u="0123456789abcdef",n=new Array(256);for(let i=0;i<16;++i){const d=i*16;for(let y=0;y<16;++y)n[d+y]=u[i]+u[y]}return n}();function Me(u){return typeof BigInt>"u"?Xe:u}function Xe(){throw new Error("BigInt not supported")}})(rt);var cr={exports:{}},et=typeof Reflect=="object"?Reflect:null,Tr=et&&typeof et.apply=="function"?et.apply:function(t,r,a){return Function.prototype.apply.call(t,r,a)},pt;et&&typeof et.ownKeys=="function"?pt=et.ownKeys:Object.getOwnPropertySymbols?pt=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:pt=function(t){return Object.getOwnPropertyNames(t)};function Oa(e){console&&console.warn&&console.warn(e)}var Wn=Number.isNaN||function(t){return t!==t};function ne(){ne.init.call(this)}cr.exports=ne;cr.exports.once=Fa;ne.EventEmitter=ne;ne.prototype._events=void 0;ne.prototype._eventsCount=0;ne.prototype._maxListeners=void 0;var Br=10;function Rt(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(ne,"defaultMaxListeners",{enumerable:!0,get:function(){return Br},set:function(e){if(typeof e!="number"||e<0||Wn(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");Br=e}});ne.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};ne.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||Wn(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function Hn(e){return e._maxListeners===void 0?ne.defaultMaxListeners:e._maxListeners}ne.prototype.getMaxListeners=function(){return Hn(this)};ne.prototype.emit=function(t){for(var r=[],a=1;a<arguments.length;a++)r.push(arguments[a]);var o=t==="error",s=this._events;if(s!==void 0)o=o&&s.error===void 0;else if(!o)return!1;if(o){var l;if(r.length>0&&(l=r[0]),l instanceof Error)throw l;var f=new Error("Unhandled error."+(l?" ("+l.message+")":""));throw f.context=l,f}var h=s[t];if(h===void 0)return!1;if(typeof h=="function")Tr(h,this,r);else for(var v=h.length,g=Zn(h,v),a=0;a<v;++a)Tr(g[a],this,r);return!0};function zn(e,t,r,a){var o,s,l;if(Rt(r),s=e._events,s===void 0?(s=e._events=Object.create(null),e._eventsCount=0):(s.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),s=e._events),l=s[t]),l===void 0)l=s[t]=r,++e._eventsCount;else if(typeof l=="function"?l=s[t]=a?[r,l]:[l,r]:a?l.unshift(r):l.push(r),o=Hn(e),o>0&&l.length>o&&!l.warned){l.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=e,f.type=t,f.count=l.length,Oa(f)}return e}ne.prototype.addListener=function(t,r){return zn(this,t,r,!1)};ne.prototype.on=ne.prototype.addListener;ne.prototype.prependListener=function(t,r){return zn(this,t,r,!0)};function Na(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Yn(e,t,r){var a={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=Na.bind(a);return o.listener=r,a.wrapFn=o,o}ne.prototype.once=function(t,r){return Rt(r),this.on(t,Yn(this,t,r)),this};ne.prototype.prependOnceListener=function(t,r){return Rt(r),this.prependListener(t,Yn(this,t,r)),this};ne.prototype.removeListener=function(t,r){var a,o,s,l,f;if(Rt(r),o=this._events,o===void 0)return this;if(a=o[t],a===void 0)return this;if(a===r||a.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,a.listener||r));else if(typeof a!="function"){for(s=-1,l=a.length-1;l>=0;l--)if(a[l]===r||a[l].listener===r){f=a[l].listener,s=l;break}if(s<0)return this;s===0?a.shift():ka(a,s),a.length===1&&(o[t]=a[0]),o.removeListener!==void 0&&this.emit("removeListener",t,f||r)}return this};ne.prototype.off=ne.prototype.removeListener;ne.prototype.removeAllListeners=function(t){var r,a,o;if(a=this._events,a===void 0)return this;if(a.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):a[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete a[t]),this;if(arguments.length===0){var s=Object.keys(a),l;for(o=0;o<s.length;++o)l=s[o],l!=="removeListener"&&this.removeAllListeners(l);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=a[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(o=r.length-1;o>=0;o--)this.removeListener(t,r[o]);return this};function Qn(e,t,r){var a=e._events;if(a===void 0)return[];var o=a[t];return o===void 0?[]:typeof o=="function"?r?[o.listener||o]:[o]:r?Da(o):Zn(o,o.length)}ne.prototype.listeners=function(t){return Qn(this,t,!0)};ne.prototype.rawListeners=function(t){return Qn(this,t,!1)};ne.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Kn.call(e,t)};ne.prototype.listenerCount=Kn;function Kn(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}ne.prototype.eventNames=function(){return this._eventsCount>0?pt(this._events):[]};function Zn(e,t){for(var r=new Array(t),a=0;a<t;++a)r[a]=e[a];return r}function ka(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function Da(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function Fa(e,t){return new Promise(function(r,a){function o(l){e.removeListener(t,s),a(l)}function s(){typeof e.removeListener=="function"&&e.removeListener("error",o),r([].slice.call(arguments))}Jn(e,t,s,{once:!0}),t!=="error"&&Pa(e,o,{once:!0})})}function Pa(e,t,r){typeof e.on=="function"&&Jn(e,"error",t,r)}function Jn(e,t,r,a){if(typeof e.on=="function")a.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function o(s){a.once&&e.removeEventListener(t,o),r(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var pr=cr.exports;const ja=hr(pr);var St={exports:{}},vr="_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ei="-0123456789"+vr,$a=new RegExp("^[^"+vr+"]|[^\\"+ei+"]","g"),Ua=12,Ga={random:ti,sanitize:ri,ensure:Xa};function ti(e){return e=e||Ua,Ir(1,vr)+Ir(e-1,ei)}function ri(e){return e.replace($a,"_")}function Xa(e,t){return typeof e=="string"?ri(e):ti(t)}function Ir(e,t){for(var r=t.length,a="";e>0;)e--,a+=t[Math.floor(Math.random()*r)];return a}var Va=typeof he=="object"&&he&&he.Object===Object&&he,qa=typeof self=="object"&&self&&self.Object===Object&&self,Wa=Va||qa||Function("return this")(),Ha=Wa.isFinite;function za(e){return typeof e=="number"&&Ha(e)}var lt=za,mt={},Ht={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */(function(e,t){var r=rt,a=r.Buffer;function o(l,f){for(var h in l)f[h]=l[h]}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s);function s(l,f,h){return a(l,f,h)}s.prototype=Object.create(a.prototype),o(a,s),s.from=function(l,f,h){if(typeof l=="number")throw new TypeError("Argument must not be a number");return a(l,f,h)},s.alloc=function(l,f,h){if(typeof l!="number")throw new TypeError("Argument must be a number");var v=a(l);return f!==void 0?typeof h=="string"?v.fill(f,h):v.fill(f):v.fill(0),v},s.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return a(l)},s.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(l)}})(Ht,Ht.exports);var Ya=Ht.exports,gr=Ya.Buffer,Cr=gr.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Qa(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function Ka(e){var t=Qa(e);if(typeof t!="string"&&(gr.isEncoding===Cr||!Cr(e)))throw new Error("Unknown encoding: "+e);return t||e}mt.StringDecoder=ht;function ht(e){this.encoding=Ka(e);var t;switch(this.encoding){case"utf16le":this.text=no,this.end=io,t=4;break;case"utf8":this.fillLast=eo,t=4;break;case"base64":this.text=ao,this.end=oo,t=3;break;default:this.write=so,this.end=fo;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=gr.allocUnsafe(t)}ht.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};ht.prototype.end=ro;ht.prototype.text=to;ht.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function Ot(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Za(e,t,r){var a=t.length-1;if(a<r)return 0;var o=Ot(t[a]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--a<r||o===-2?0:(o=Ot(t[a]),o>=0?(o>0&&(e.lastNeed=o-2),o):--a<r||o===-2?0:(o=Ot(t[a]),o>=0?(o>0&&(o===2?o=0:e.lastNeed=o-3),o):0))}function Ja(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"�"}}function eo(e){var t=this.lastTotal-this.lastNeed,r=Ja(this,e);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function to(e,t){var r=Za(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var a=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,a),e.toString("utf8",t,a)}function ro(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function no(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var a=r.charCodeAt(r.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function io(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function ao(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function oo(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function so(e){return e.toString(this.encoding)}function fo(e){return e&&e.length?this.write(e):""}var zt={exports:{}};typeof Object.create=="function"?zt.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:zt.exports=function(t,r){if(r){t.super_=r;var a=function(){};a.prototype=r.prototype,t.prototype=new a,t.prototype.constructor=t}};var je=zt.exports,Yt={exports:{}},ni=pr.EventEmitter;const uo={},lo=Object.freeze(Object.defineProperty({__proto__:null,default:uo},Symbol.toStringTag,{value:"Module"})),ii=wa(lo);var Nt,Lr;function ho(){if(Lr)return Nt;Lr=1;function e(E,R){var B=Object.keys(E);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(E);R&&(C=C.filter(function($){return Object.getOwnPropertyDescriptor(E,$).enumerable})),B.push.apply(B,C)}return B}function t(E){for(var R=1;R<arguments.length;R++){var B=arguments[R]!=null?arguments[R]:{};R%2?e(Object(B),!0).forEach(function(C){r(E,C,B[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(B)):e(Object(B)).forEach(function(C){Object.defineProperty(E,C,Object.getOwnPropertyDescriptor(B,C))})}return E}function r(E,R,B){return R=l(R),R in E?Object.defineProperty(E,R,{value:B,enumerable:!0,configurable:!0,writable:!0}):E[R]=B,E}function a(E,R){if(!(E instanceof R))throw new TypeError("Cannot call a class as a function")}function o(E,R){for(var B=0;B<R.length;B++){var C=R[B];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(E,l(C.key),C)}}function s(E,R,B){return R&&o(E.prototype,R),B&&o(E,B),Object.defineProperty(E,"prototype",{writable:!1}),E}function l(E){var R=f(E,"string");return typeof R=="symbol"?R:String(R)}function f(E,R){if(typeof E!="object"||E===null)return E;var B=E[Symbol.toPrimitive];if(B!==void 0){var C=B.call(E,R||"default");if(typeof C!="object")return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return(R==="string"?String:Number)(E)}var h=rt,v=h.Buffer,g=ii,_=g.inspect,b=_&&_.custom||"inspect";function T(E,R,B){v.prototype.copy.call(E,R,B)}return Nt=function(){function E(){a(this,E),this.head=null,this.tail=null,this.length=0}return s(E,[{key:"push",value:function(B){var C={data:B,next:null};this.length>0?this.tail.next=C:this.head=C,this.tail=C,++this.length}},{key:"unshift",value:function(B){var C={data:B,next:this.head};this.length===0&&(this.tail=C),this.head=C,++this.length}},{key:"shift",value:function(){if(this.length!==0){var B=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,B}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(B){if(this.length===0)return"";for(var C=this.head,$=""+C.data;C=C.next;)$+=B+C.data;return $}},{key:"concat",value:function(B){if(this.length===0)return v.alloc(0);for(var C=v.allocUnsafe(B>>>0),$=this.head,D=0;$;)T($.data,C,D),D+=$.data.length,$=$.next;return C}},{key:"consume",value:function(B,C){var $;return B<this.head.data.length?($=this.head.data.slice(0,B),this.head.data=this.head.data.slice(B)):B===this.head.data.length?$=this.shift():$=C?this._getString(B):this._getBuffer(B),$}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(B){var C=this.head,$=1,D=C.data;for(B-=D.length;C=C.next;){var k=C.data,F=B>k.length?k.length:B;if(F===k.length?D+=k:D+=k.slice(0,B),B-=F,B===0){F===k.length?(++$,C.next?this.head=C.next:this.head=this.tail=null):(this.head=C,C.data=k.slice(F));break}++$}return this.length-=$,D}},{key:"_getBuffer",value:function(B){var C=v.allocUnsafe(B),$=this.head,D=1;for($.data.copy(C),B-=$.data.length;$=$.next;){var k=$.data,F=B>k.length?k.length:B;if(k.copy(C,C.length-B,0,F),B-=F,B===0){F===k.length?(++D,$.next?this.head=$.next:this.head=this.tail=null):(this.head=$,$.data=k.slice(F));break}++D}return this.length-=D,C}},{key:b,value:function(B,C){return _(this,t(t({},C),{},{depth:0,customInspect:!1}))}}]),E}(),Nt}function co(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(Qt,this,e)):process.nextTick(Qt,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(s){!t&&s?r._writableState?r._writableState.errorEmitted?process.nextTick(vt,r):(r._writableState.errorEmitted=!0,process.nextTick(Or,r,s)):process.nextTick(Or,r,s):t?(process.nextTick(vt,r),t(s)):process.nextTick(vt,r)}),this)}function Or(e,t){Qt(e,t),vt(e)}function vt(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function po(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Qt(e,t){e.emit("error",t)}function vo(e,t){var r=e._readableState,a=e._writableState;r&&r.autoDestroy||a&&a.autoDestroy?e.destroy(t):e.emit("error",t)}var ai={destroy:co,undestroy:po,errorOrDestroy:vo},ze={};function go(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var oi={};function Se(e,t,r){r||(r=Error);function a(s,l,f){return typeof t=="string"?t:t(s,l,f)}var o=function(s){go(l,s);function l(f,h,v){return s.call(this,a(f,h,v))||this}return l}(r);o.prototype.name=r.name,o.prototype.code=e,oi[e]=o}function Nr(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(a){return String(a)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:r===2?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}else return"of ".concat(t," ").concat(String(e))}function yo(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function mo(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function _o(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}Se("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);Se("ERR_INVALID_ARG_TYPE",function(e,t,r){var a;typeof t=="string"&&yo(t,"not ")?(a="must not be",t=t.replace(/^not /,"")):a="must be";var o;if(mo(e," argument"))o="The ".concat(e," ").concat(a," ").concat(Nr(t,"type"));else{var s=_o(e,".")?"property":"argument";o='The "'.concat(e,'" ').concat(s," ").concat(a," ").concat(Nr(t,"type"))}return o+=". Received type ".concat(typeof r),o},TypeError);Se("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Se("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});Se("ERR_STREAM_PREMATURE_CLOSE","Premature close");Se("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});Se("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Se("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Se("ERR_STREAM_WRITE_AFTER_END","write after end");Se("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Se("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);Se("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");ze.codes=oi;var wo=ze.codes.ERR_INVALID_OPT_VALUE;function xo(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function bo(e,t,r,a){var o=xo(t,a,r);if(o!=null){if(!(isFinite(o)&&Math.floor(o)===o)||o<0){var s=a?r:"highWaterMark";throw new wo(s,o)}return Math.floor(o)}return e.objectMode?16:16*1024}var si={getHighWaterMark:bo},Eo=Mo;function Mo(e,t){if(kt("noDeprecation"))return e;var r=!1;function a(){if(!r){if(kt("throwDeprecation"))throw new Error(t);kt("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return a}function kt(e){try{if(!he.localStorage)return!1}catch{return!1}var t=he.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}var Dt,kr;function fi(){if(kr)return Dt;kr=1,Dt=z;function e(w){var m=this;this.next=null,this.entry=null,this.finish=function(){ye(m,w)}}var t;z.WritableState=V;var r={deprecate:Eo},a=ni,o=rt.Buffer,s=(typeof he<"u"?he:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function l(w){return o.from(w)}function f(w){return o.isBuffer(w)||w instanceof s}var h=ai,v=si,g=v.getHighWaterMark,_=ze.codes,b=_.ERR_INVALID_ARG_TYPE,T=_.ERR_METHOD_NOT_IMPLEMENTED,E=_.ERR_MULTIPLE_CALLBACK,R=_.ERR_STREAM_CANNOT_PIPE,B=_.ERR_STREAM_DESTROYED,C=_.ERR_STREAM_NULL_VALUES,$=_.ERR_STREAM_WRITE_AFTER_END,D=_.ERR_UNKNOWN_ENCODING,k=h.errorOrDestroy;je(z,a);function F(){}function V(w,m,A){t=t||tt(),w=w||{},typeof A!="boolean"&&(A=m instanceof t),this.objectMode=!!w.objectMode,A&&(this.objectMode=this.objectMode||!!w.writableObjectMode),this.highWaterMark=g(this,w,"writableHighWaterMark",A),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var j=w.decodeStrings===!1;this.decodeStrings=!j,this.defaultEncoding=w.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(G){q(m,G)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=w.emitClose!==!1,this.autoDestroy=!!w.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}V.prototype.getBuffer=function(){for(var m=this.bufferedRequest,A=[];m;)A.push(m),m=m.next;return A},function(){try{Object.defineProperty(V.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var te;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(te=Function.prototype[Symbol.hasInstance],Object.defineProperty(z,Symbol.hasInstance,{value:function(m){return te.call(this,m)?!0:this!==z?!1:m&&m._writableState instanceof V}})):te=function(m){return m instanceof this};function z(w){t=t||tt();var m=this instanceof t;if(!m&&!te.call(z,this))return new z(w);this._writableState=new V(w,this,m),this.writable=!0,w&&(typeof w.write=="function"&&(this._write=w.write),typeof w.writev=="function"&&(this._writev=w.writev),typeof w.destroy=="function"&&(this._destroy=w.destroy),typeof w.final=="function"&&(this._final=w.final)),a.call(this)}z.prototype.pipe=function(){k(this,new R)};function X(w,m){var A=new $;k(w,A),process.nextTick(m,A)}function me(w,m,A,j){var G;return A===null?G=new C:typeof A!="string"&&!m.objectMode&&(G=new b("chunk",["string","Buffer"],A)),G?(k(w,G),process.nextTick(j,G),!1):!0}z.prototype.write=function(w,m,A){var j=this._writableState,G=!1,c=!j.objectMode&&f(w);return c&&!o.isBuffer(w)&&(w=l(w)),typeof m=="function"&&(A=m,m=null),c?m="buffer":m||(m=j.defaultEncoding),typeof A!="function"&&(A=F),j.ending?X(this,A):(c||me(this,j,w,A))&&(j.pendingcb++,G=L(this,j,c,w,m,A)),G},z.prototype.cork=function(){this._writableState.corked++},z.prototype.uncork=function(){var w=this._writableState;w.corked&&(w.corked--,!w.writing&&!w.corked&&!w.bufferProcessing&&w.bufferedRequest&&se(this,w))},z.prototype.setDefaultEncoding=function(m){if(typeof m=="string"&&(m=m.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((m+"").toLowerCase())>-1))throw new D(m);return this._writableState.defaultEncoding=m,this},Object.defineProperty(z.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function U(w,m,A){return!w.objectMode&&w.decodeStrings!==!1&&typeof m=="string"&&(m=o.from(m,A)),m}Object.defineProperty(z.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function L(w,m,A,j,G,c){if(!A){var p=U(m,j,G);j!==p&&(A=!0,G="buffer",j=p)}var S=m.objectMode?1:j.length;m.length+=S;var N=m.length<m.highWaterMark;if(N||(m.needDrain=!0),m.writing||m.corked){var re=m.lastBufferedRequest;m.lastBufferedRequest={chunk:j,encoding:G,isBuf:A,callback:c,next:null},re?re.next=m.lastBufferedRequest:m.bufferedRequest=m.lastBufferedRequest,m.bufferedRequestCount+=1}else O(w,m,!1,S,j,G,c);return N}function O(w,m,A,j,G,c,p){m.writelen=j,m.writecb=p,m.writing=!0,m.sync=!0,m.destroyed?m.onwrite(new B("write")):A?w._writev(G,m.onwrite):w._write(G,c,m.onwrite),m.sync=!1}function I(w,m,A,j,G){--m.pendingcb,A?(process.nextTick(G,j),process.nextTick(de,w,m),w._writableState.errorEmitted=!0,k(w,j)):(G(j),w._writableState.errorEmitted=!0,k(w,j),de(w,m))}function P(w){w.writing=!1,w.writecb=null,w.length-=w.writelen,w.writelen=0}function q(w,m){var A=w._writableState,j=A.sync,G=A.writecb;if(typeof G!="function")throw new E;if(P(A),m)I(w,A,j,m,G);else{var c=we(A)||w.destroyed;!c&&!A.corked&&!A.bufferProcessing&&A.bufferedRequest&&se(w,A),j?process.nextTick(W,w,A,c,G):W(w,A,c,G)}}function W(w,m,A,j){A||J(w,m),m.pendingcb--,j(),de(w,m)}function J(w,m){m.length===0&&m.needDrain&&(m.needDrain=!1,w.emit("drain"))}function se(w,m){m.bufferProcessing=!0;var A=m.bufferedRequest;if(w._writev&&A&&A.next){var j=m.bufferedRequestCount,G=new Array(j),c=m.corkedRequestsFree;c.entry=A;for(var p=0,S=!0;A;)G[p]=A,A.isBuf||(S=!1),A=A.next,p+=1;G.allBuffers=S,O(w,m,!0,m.length,G,"",c.finish),m.pendingcb++,m.lastBufferedRequest=null,c.next?(m.corkedRequestsFree=c.next,c.next=null):m.corkedRequestsFree=new e(m),m.bufferedRequestCount=0}else{for(;A;){var N=A.chunk,re=A.encoding,H=A.callback,K=m.objectMode?1:N.length;if(O(w,m,!1,K,N,re,H),A=A.next,m.bufferedRequestCount--,m.writing)break}A===null&&(m.lastBufferedRequest=null)}m.bufferedRequest=A,m.bufferProcessing=!1}z.prototype._write=function(w,m,A){A(new T("_write()"))},z.prototype._writev=null,z.prototype.end=function(w,m,A){var j=this._writableState;return typeof w=="function"?(A=w,w=null,m=null):typeof m=="function"&&(A=m,m=null),w!=null&&this.write(w,m),j.corked&&(j.corked=1,this.uncork()),j.ending||ae(this,j,A),this},Object.defineProperty(z.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function we(w){return w.ending&&w.length===0&&w.bufferedRequest===null&&!w.finished&&!w.writing}function Q(w,m){w._final(function(A){m.pendingcb--,A&&k(w,A),m.prefinished=!0,w.emit("prefinish"),de(w,m)})}function ee(w,m){!m.prefinished&&!m.finalCalled&&(typeof w._final=="function"&&!m.destroyed?(m.pendingcb++,m.finalCalled=!0,process.nextTick(Q,w,m)):(m.prefinished=!0,w.emit("prefinish")))}function de(w,m){var A=we(m);if(A&&(ee(w,m),m.pendingcb===0&&(m.finished=!0,w.emit("finish"),m.autoDestroy))){var j=w._readableState;(!j||j.autoDestroy&&j.endEmitted)&&w.destroy()}return A}function ae(w,m,A){m.ending=!0,de(w,m),A&&(m.finished?process.nextTick(A):w.once("finish",A)),m.ended=!0,w.writable=!1}function ye(w,m,A){var j=w.entry;for(w.entry=null;j;){var G=j.callback;m.pendingcb--,G(A),j=j.next}m.corkedRequestsFree.next=w}return Object.defineProperty(z.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(m){this._writableState&&(this._writableState.destroyed=m)}}),z.prototype.destroy=h.destroy,z.prototype._undestroy=h.undestroy,z.prototype._destroy=function(w,m){m(w)},Dt}var Ft,Dr;function tt(){if(Dr)return Ft;Dr=1;var e=Object.keys||function(v){var g=[];for(var _ in v)g.push(_);return g};Ft=l;var t=li(),r=fi();je(l,t);for(var a=e(r.prototype),o=0;o<a.length;o++){var s=a[o];l.prototype[s]||(l.prototype[s]=r.prototype[s])}function l(v){if(!(this instanceof l))return new l(v);t.call(this,v),r.call(this,v),this.allowHalfOpen=!0,v&&(v.readable===!1&&(this.readable=!1),v.writable===!1&&(this.writable=!1),v.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",f)))}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function f(){this._writableState.ended||process.nextTick(h,this)}function h(v){v.end()}return Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(g){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=g,this._writableState.destroyed=g)}}),Ft}var Fr=ze.codes.ERR_STREAM_PREMATURE_CLOSE;function Ro(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];e.apply(this,a)}}}function So(){}function Ao(e){return e.setHeader&&typeof e.abort=="function"}function ui(e,t,r){if(typeof t=="function")return ui(e,null,t);t||(t={}),r=Ro(r||So);var a=t.readable||t.readable!==!1&&e.readable,o=t.writable||t.writable!==!1&&e.writable,s=function(){e.writable||f()},l=e._writableState&&e._writableState.finished,f=function(){o=!1,l=!0,a||r.call(e)},h=e._readableState&&e._readableState.endEmitted,v=function(){a=!1,h=!0,o||r.call(e)},g=function(E){r.call(e,E)},_=function(){var E;if(a&&!h)return(!e._readableState||!e._readableState.ended)&&(E=new Fr),r.call(e,E);if(o&&!l)return(!e._writableState||!e._writableState.ended)&&(E=new Fr),r.call(e,E)},b=function(){e.req.on("finish",f)};return Ao(e)?(e.on("complete",f),e.on("abort",_),e.req?b():e.on("request",b)):o&&!e._writableState&&(e.on("end",s),e.on("close",s)),e.on("end",v),e.on("finish",f),t.error!==!1&&e.on("error",g),e.on("close",_),function(){e.removeListener("complete",f),e.removeListener("abort",_),e.removeListener("request",b),e.req&&e.req.removeListener("finish",f),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",f),e.removeListener("end",v),e.removeListener("error",g),e.removeListener("close",_)}}var yr=ui,Pt,Pr;function To(){if(Pr)return Pt;Pr=1;var e;function t(D,k,F){return k=r(k),k in D?Object.defineProperty(D,k,{value:F,enumerable:!0,configurable:!0,writable:!0}):D[k]=F,D}function r(D){var k=a(D,"string");return typeof k=="symbol"?k:String(k)}function a(D,k){if(typeof D!="object"||D===null)return D;var F=D[Symbol.toPrimitive];if(F!==void 0){var V=F.call(D,k||"default");if(typeof V!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(D)}var o=yr,s=Symbol("lastResolve"),l=Symbol("lastReject"),f=Symbol("error"),h=Symbol("ended"),v=Symbol("lastPromise"),g=Symbol("handlePromise"),_=Symbol("stream");function b(D,k){return{value:D,done:k}}function T(D){var k=D[s];if(k!==null){var F=D[_].read();F!==null&&(D[v]=null,D[s]=null,D[l]=null,k(b(F,!1)))}}function E(D){process.nextTick(T,D)}function R(D,k){return function(F,V){D.then(function(){if(k[h]){F(b(void 0,!0));return}k[g](F,V)},V)}}var B=Object.getPrototypeOf(function(){}),C=Object.setPrototypeOf((e={get stream(){return this[_]},next:function(){var k=this,F=this[f];if(F!==null)return Promise.reject(F);if(this[h])return Promise.resolve(b(void 0,!0));if(this[_].destroyed)return new Promise(function(X,me){process.nextTick(function(){k[f]?me(k[f]):X(b(void 0,!0))})});var V=this[v],te;if(V)te=new Promise(R(V,this));else{var z=this[_].read();if(z!==null)return Promise.resolve(b(z,!1));te=new Promise(this[g])}return this[v]=te,te}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var k=this;return new Promise(function(F,V){k[_].destroy(null,function(te){if(te){V(te);return}F(b(void 0,!0))})})}),e),B),$=function(k){var F,V=Object.create(C,(F={},t(F,_,{value:k,writable:!0}),t(F,s,{value:null,writable:!0}),t(F,l,{value:null,writable:!0}),t(F,f,{value:null,writable:!0}),t(F,h,{value:k._readableState.endEmitted,writable:!0}),t(F,g,{value:function(z,X){var me=V[_].read();me?(V[v]=null,V[s]=null,V[l]=null,z(b(me,!1))):(V[s]=z,V[l]=X)},writable:!0}),F));return V[v]=null,o(k,function(te){if(te&&te.code!=="ERR_STREAM_PREMATURE_CLOSE"){var z=V[l];z!==null&&(V[v]=null,V[s]=null,V[l]=null,z(te)),V[f]=te;return}var X=V[s];X!==null&&(V[v]=null,V[s]=null,V[l]=null,X(b(void 0,!0))),V[h]=!0}),k.on("readable",E.bind(null,V)),V};return Pt=$,Pt}var jt,jr;function Bo(){return jr||(jr=1,jt=function(){throw new Error("Readable.from is not available in the browser")}),jt}var $t,$r;function li(){if($r)return $t;$r=1,$t=X;var e;X.ReadableState=z,pr.EventEmitter;var t=function(p,S){return p.listeners(S).length},r=ni,a=rt.Buffer,o=(typeof he<"u"?he:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function s(c){return a.from(c)}function l(c){return a.isBuffer(c)||c instanceof o}var f=ii,h;f&&f.debuglog?h=f.debuglog("stream"):h=function(){};var v=ho(),g=ai,_=si,b=_.getHighWaterMark,T=ze.codes,E=T.ERR_INVALID_ARG_TYPE,R=T.ERR_STREAM_PUSH_AFTER_EOF,B=T.ERR_METHOD_NOT_IMPLEMENTED,C=T.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,$,D,k;je(X,r);var F=g.errorOrDestroy,V=["error","close","destroy","pause","resume"];function te(c,p,S){if(typeof c.prependListener=="function")return c.prependListener(p,S);!c._events||!c._events[p]?c.on(p,S):Array.isArray(c._events[p])?c._events[p].unshift(S):c._events[p]=[S,c._events[p]]}function z(c,p,S){e=e||tt(),c=c||{},typeof S!="boolean"&&(S=p instanceof e),this.objectMode=!!c.objectMode,S&&(this.objectMode=this.objectMode||!!c.readableObjectMode),this.highWaterMark=b(this,c,"readableHighWaterMark",S),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=c.emitClose!==!1,this.autoDestroy=!!c.autoDestroy,this.destroyed=!1,this.defaultEncoding=c.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,c.encoding&&($||($=mt.StringDecoder),this.decoder=new $(c.encoding),this.encoding=c.encoding)}function X(c){if(e=e||tt(),!(this instanceof X))return new X(c);var p=this instanceof e;this._readableState=new z(c,this,p),this.readable=!0,c&&(typeof c.read=="function"&&(this._read=c.read),typeof c.destroy=="function"&&(this._destroy=c.destroy)),r.call(this)}Object.defineProperty(X.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(p){this._readableState&&(this._readableState.destroyed=p)}}),X.prototype.destroy=g.destroy,X.prototype._undestroy=g.undestroy,X.prototype._destroy=function(c,p){p(c)},X.prototype.push=function(c,p){var S=this._readableState,N;return S.objectMode?N=!0:typeof c=="string"&&(p=p||S.defaultEncoding,p!==S.encoding&&(c=a.from(c,p),p=""),N=!0),me(this,c,p,!1,N)},X.prototype.unshift=function(c){return me(this,c,null,!0,!1)};function me(c,p,S,N,re){h("readableAddChunk",p);var H=c._readableState;if(p===null)H.reading=!1,q(c,H);else{var K;if(re||(K=L(H,p)),K)F(c,K);else if(H.objectMode||p&&p.length>0)if(typeof p!="string"&&!H.objectMode&&Object.getPrototypeOf(p)!==a.prototype&&(p=s(p)),N)H.endEmitted?F(c,new C):U(c,H,p,!0);else if(H.ended)F(c,new R);else{if(H.destroyed)return!1;H.reading=!1,H.decoder&&!S?(p=H.decoder.write(p),H.objectMode||p.length!==0?U(c,H,p,!1):se(c,H)):U(c,H,p,!1)}else N||(H.reading=!1,se(c,H))}return!H.ended&&(H.length<H.highWaterMark||H.length===0)}function U(c,p,S,N){p.flowing&&p.length===0&&!p.sync?(p.awaitDrain=0,c.emit("data",S)):(p.length+=p.objectMode?1:S.length,N?p.buffer.unshift(S):p.buffer.push(S),p.needReadable&&W(c)),se(c,p)}function L(c,p){var S;return!l(p)&&typeof p!="string"&&p!==void 0&&!c.objectMode&&(S=new E("chunk",["string","Buffer","Uint8Array"],p)),S}X.prototype.isPaused=function(){return this._readableState.flowing===!1},X.prototype.setEncoding=function(c){$||($=mt.StringDecoder);var p=new $(c);this._readableState.decoder=p,this._readableState.encoding=this._readableState.decoder.encoding;for(var S=this._readableState.buffer.head,N="";S!==null;)N+=p.write(S.data),S=S.next;return this._readableState.buffer.clear(),N!==""&&this._readableState.buffer.push(N),this._readableState.length=N.length,this};var O=1073741824;function I(c){return c>=O?c=O:(c--,c|=c>>>1,c|=c>>>2,c|=c>>>4,c|=c>>>8,c|=c>>>16,c++),c}function P(c,p){return c<=0||p.length===0&&p.ended?0:p.objectMode?1:c!==c?p.flowing&&p.length?p.buffer.head.data.length:p.length:(c>p.highWaterMark&&(p.highWaterMark=I(c)),c<=p.length?c:p.ended?p.length:(p.needReadable=!0,0))}X.prototype.read=function(c){h("read",c),c=parseInt(c,10);var p=this._readableState,S=c;if(c!==0&&(p.emittedReadable=!1),c===0&&p.needReadable&&((p.highWaterMark!==0?p.length>=p.highWaterMark:p.length>0)||p.ended))return h("read: emitReadable",p.length,p.ended),p.length===0&&p.ended?A(this):W(this),null;if(c=P(c,p),c===0&&p.ended)return p.length===0&&A(this),null;var N=p.needReadable;h("need readable",N),(p.length===0||p.length-c<p.highWaterMark)&&(N=!0,h("length less than watermark",N)),p.ended||p.reading?(N=!1,h("reading or ended",N)):N&&(h("do read"),p.reading=!0,p.sync=!0,p.length===0&&(p.needReadable=!0),this._read(p.highWaterMark),p.sync=!1,p.reading||(c=P(S,p)));var re;return c>0?re=m(c,p):re=null,re===null?(p.needReadable=p.length<=p.highWaterMark,c=0):(p.length-=c,p.awaitDrain=0),p.length===0&&(p.ended||(p.needReadable=!0),S!==c&&p.ended&&A(this)),re!==null&&this.emit("data",re),re};function q(c,p){if(h("onEofChunk"),!p.ended){if(p.decoder){var S=p.decoder.end();S&&S.length&&(p.buffer.push(S),p.length+=p.objectMode?1:S.length)}p.ended=!0,p.sync?W(c):(p.needReadable=!1,p.emittedReadable||(p.emittedReadable=!0,J(c)))}}function W(c){var p=c._readableState;h("emitReadable",p.needReadable,p.emittedReadable),p.needReadable=!1,p.emittedReadable||(h("emitReadable",p.flowing),p.emittedReadable=!0,process.nextTick(J,c))}function J(c){var p=c._readableState;h("emitReadable_",p.destroyed,p.length,p.ended),!p.destroyed&&(p.length||p.ended)&&(c.emit("readable"),p.emittedReadable=!1),p.needReadable=!p.flowing&&!p.ended&&p.length<=p.highWaterMark,w(c)}function se(c,p){p.readingMore||(p.readingMore=!0,process.nextTick(we,c,p))}function we(c,p){for(;!p.reading&&!p.ended&&(p.length<p.highWaterMark||p.flowing&&p.length===0);){var S=p.length;if(h("maybeReadMore read 0"),c.read(0),S===p.length)break}p.readingMore=!1}X.prototype._read=function(c){F(this,new B("_read()"))},X.prototype.pipe=function(c,p){var S=this,N=this._readableState;switch(N.pipesCount){case 0:N.pipes=c;break;case 1:N.pipes=[N.pipes,c];break;default:N.pipes.push(c);break}N.pipesCount+=1,h("pipe count=%d opts=%j",N.pipesCount,p);var re=(!p||p.end!==!1)&&c!==process.stdout&&c!==process.stderr,H=re?Ae:Xe;N.endEmitted?process.nextTick(H):S.once("end",H),c.on("unpipe",K);function K(u,n){h("onunpipe"),u===S&&n&&n.hasUnpiped===!1&&(n.hasUnpiped=!0,Qe())}function Ae(){h("onend"),c.end()}var Ye=Q(S);c.on("drain",Ye);var it=!1;function Qe(){h("cleanup"),c.removeListener("close",at),c.removeListener("finish",Me),c.removeListener("drain",Ye),c.removeListener("error",Ge),c.removeListener("unpipe",K),S.removeListener("end",Ae),S.removeListener("end",Xe),S.removeListener("data",be),it=!0,N.awaitDrain&&(!c._writableState||c._writableState.needDrain)&&Ye()}S.on("data",be);function be(u){h("ondata");var n=c.write(u);h("dest.write",n),n===!1&&((N.pipesCount===1&&N.pipes===c||N.pipesCount>1&&G(N.pipes,c)!==-1)&&!it&&(h("false write response, pause",N.awaitDrain),N.awaitDrain++),S.pause())}function Ge(u){h("onerror",u),Xe(),c.removeListener("error",Ge),t(c,"error")===0&&F(c,u)}te(c,"error",Ge);function at(){c.removeListener("finish",Me),Xe()}c.once("close",at);function Me(){h("onfinish"),c.removeListener("close",at),Xe()}c.once("finish",Me);function Xe(){h("unpipe"),S.unpipe(c)}return c.emit("pipe",S),N.flowing||(h("pipe resume"),S.resume()),c};function Q(c){return function(){var S=c._readableState;h("pipeOnDrain",S.awaitDrain),S.awaitDrain&&S.awaitDrain--,S.awaitDrain===0&&t(c,"data")&&(S.flowing=!0,w(c))}}X.prototype.unpipe=function(c){var p=this._readableState,S={hasUnpiped:!1};if(p.pipesCount===0)return this;if(p.pipesCount===1)return c&&c!==p.pipes?this:(c||(c=p.pipes),p.pipes=null,p.pipesCount=0,p.flowing=!1,c&&c.emit("unpipe",this,S),this);if(!c){var N=p.pipes,re=p.pipesCount;p.pipes=null,p.pipesCount=0,p.flowing=!1;for(var H=0;H<re;H++)N[H].emit("unpipe",this,{hasUnpiped:!1});return this}var K=G(p.pipes,c);return K===-1?this:(p.pipes.splice(K,1),p.pipesCount-=1,p.pipesCount===1&&(p.pipes=p.pipes[0]),c.emit("unpipe",this,S),this)},X.prototype.on=function(c,p){var S=r.prototype.on.call(this,c,p),N=this._readableState;return c==="data"?(N.readableListening=this.listenerCount("readable")>0,N.flowing!==!1&&this.resume()):c==="readable"&&!N.endEmitted&&!N.readableListening&&(N.readableListening=N.needReadable=!0,N.flowing=!1,N.emittedReadable=!1,h("on readable",N.length,N.reading),N.length?W(this):N.reading||process.nextTick(de,this)),S},X.prototype.addListener=X.prototype.on,X.prototype.removeListener=function(c,p){var S=r.prototype.removeListener.call(this,c,p);return c==="readable"&&process.nextTick(ee,this),S},X.prototype.removeAllListeners=function(c){var p=r.prototype.removeAllListeners.apply(this,arguments);return(c==="readable"||c===void 0)&&process.nextTick(ee,this),p};function ee(c){var p=c._readableState;p.readableListening=c.listenerCount("readable")>0,p.resumeScheduled&&!p.paused?p.flowing=!0:c.listenerCount("data")>0&&c.resume()}function de(c){h("readable nexttick read 0"),c.read(0)}X.prototype.resume=function(){var c=this._readableState;return c.flowing||(h("resume"),c.flowing=!c.readableListening,ae(this,c)),c.paused=!1,this};function ae(c,p){p.resumeScheduled||(p.resumeScheduled=!0,process.nextTick(ye,c,p))}function ye(c,p){h("resume",p.reading),p.reading||c.read(0),p.resumeScheduled=!1,c.emit("resume"),w(c),p.flowing&&!p.reading&&c.read(0)}X.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function w(c){var p=c._readableState;for(h("flow",p.flowing);p.flowing&&c.read()!==null;);}X.prototype.wrap=function(c){var p=this,S=this._readableState,N=!1;c.on("end",function(){if(h("wrapped end"),S.decoder&&!S.ended){var K=S.decoder.end();K&&K.length&&p.push(K)}p.push(null)}),c.on("data",function(K){if(h("wrapped data"),S.decoder&&(K=S.decoder.write(K)),!(S.objectMode&&K==null)&&!(!S.objectMode&&(!K||!K.length))){var Ae=p.push(K);Ae||(N=!0,c.pause())}});for(var re in c)this[re]===void 0&&typeof c[re]=="function"&&(this[re]=function(Ae){return function(){return c[Ae].apply(c,arguments)}}(re));for(var H=0;H<V.length;H++)c.on(V[H],this.emit.bind(this,V[H]));return this._read=function(K){h("wrapped _read",K),N&&(N=!1,c.resume())},this},typeof Symbol=="function"&&(X.prototype[Symbol.asyncIterator]=function(){return D===void 0&&(D=To()),D(this)}),Object.defineProperty(X.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(X.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(X.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(p){this._readableState&&(this._readableState.flowing=p)}}),X._fromList=m,Object.defineProperty(X.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function m(c,p){if(p.length===0)return null;var S;return p.objectMode?S=p.buffer.shift():!c||c>=p.length?(p.decoder?S=p.buffer.join(""):p.buffer.length===1?S=p.buffer.first():S=p.buffer.concat(p.length),p.buffer.clear()):S=p.buffer.consume(c,p.decoder),S}function A(c){var p=c._readableState;h("endReadable",p.endEmitted),p.endEmitted||(p.ended=!0,process.nextTick(j,p,c))}function j(c,p){if(h("endReadableNT",c.endEmitted,c.length),!c.endEmitted&&c.length===0&&(c.endEmitted=!0,p.readable=!1,p.emit("end"),c.autoDestroy)){var S=p._writableState;(!S||S.autoDestroy&&S.finished)&&p.destroy()}}typeof Symbol=="function"&&(X.from=function(c,p){return k===void 0&&(k=Bo()),k(X,c,p)});function G(c,p){for(var S=0,N=c.length;S<N;S++)if(c[S]===p)return S;return-1}return $t}var hi=ke,At=ze.codes,Io=At.ERR_METHOD_NOT_IMPLEMENTED,Co=At.ERR_MULTIPLE_CALLBACK,Lo=At.ERR_TRANSFORM_ALREADY_TRANSFORMING,Oo=At.ERR_TRANSFORM_WITH_LENGTH_0,Tt=tt();je(ke,Tt);function No(e,t){var r=this._transformState;r.transforming=!1;var a=r.writecb;if(a===null)return this.emit("error",new Co);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),a(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function ke(e){if(!(this instanceof ke))return new ke(e);Tt.call(this,e),this._transformState={afterTransform:No.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",ko)}function ko(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Ur(e,t,r)}):Ur(this,null,null)}ke.prototype.push=function(e,t){return this._transformState.needTransform=!1,Tt.prototype.push.call(this,e,t)};ke.prototype._transform=function(e,t,r){r(new Io("_transform()"))};ke.prototype._write=function(e,t,r){var a=this._transformState;if(a.writecb=r,a.writechunk=e,a.writeencoding=t,!a.transforming){var o=this._readableState;(a.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}};ke.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};ke.prototype._destroy=function(e,t){Tt.prototype._destroy.call(this,e,function(r){t(r)})};function Ur(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Oo;if(e._transformState.transforming)throw new Lo;return e.push(null)}var Do=ut,di=hi;je(ut,di);function ut(e){if(!(this instanceof ut))return new ut(e);di.call(this,e)}ut.prototype._transform=function(e,t,r){r(null,e)};var Ut;function Fo(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var ci=ze.codes,Po=ci.ERR_MISSING_ARGS,jo=ci.ERR_STREAM_DESTROYED;function Gr(e){if(e)throw e}function $o(e){return e.setHeader&&typeof e.abort=="function"}function Uo(e,t,r,a){a=Fo(a);var o=!1;e.on("close",function(){o=!0}),Ut===void 0&&(Ut=yr),Ut(e,{readable:t,writable:r},function(l){if(l)return a(l);o=!0,a()});var s=!1;return function(l){if(!o&&!s){if(s=!0,$o(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();a(l||new jo("pipe"))}}}function Xr(e){e()}function Go(e,t){return e.pipe(t)}function Xo(e){return!e.length||typeof e[e.length-1]!="function"?Gr:e.pop()}function Vo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=Xo(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Po("streams");var o,s=t.map(function(l,f){var h=f<t.length-1,v=f>0;return Uo(l,h,v,function(g){o||(o=g),g&&s.forEach(Xr),!h&&(s.forEach(Xr),a(o))})});return t.reduce(Go)}var qo=Vo;(function(e,t){t=e.exports=li(),t.Stream=t,t.Readable=t,t.Writable=fi(),t.Duplex=tt(),t.Transform=hi,t.PassThrough=Do,t.finished=yr,t.pipeline=qo})(Yt,Yt.exports);var mr=Yt.exports,Wo=function(e,t,r){for(var a=Math.min(r-t,e.length),o=[],s=null,l=-1;!s&&++l<a;){var f=e[l];f===`
-`?o.length+l&&(s="drill",o=[]):(o.push(f),f==="*"&&o[0]!==";"&&(s="gerber",o=[]))}return s},Ho=Wo,zo=function(e,t,r){if(e!=="gerber"&&e!=="drill")throw new Error('filetype to get next block must be "drill" or "gerber"');for(var a=t.length-r,o=e==="gerber"?"*":`
-`,s=e==="gerber"?"%":"",l=!1,f=!1,h=!1,v=!1,g=[],_=0,b=0;!v&&_<a;){var T=t[r+_];T===`
-`&&b++,T===s?f?(h=!0,g.pop()):(f=!0,g.push(T)):T===o?(l=!0,f&&g.push(T)):T>=" "&&T<="~"&&g.push(T),_++,v=l&&(!f||h)}var E=v?g.join("").trim():"",R=v?"":g.join("");return{lines:b,read:_,block:E,rem:R}},Yo=zo,Qo=function(e){return{type:"done",line:e||-1}},Ko=function(e,t,r){return{type:"set",line:r||-1,prop:e,value:t}},Zo=function(e,t,r){return{type:"level",line:r||-1,level:e,value:t}},Jo=function(e,t,r){return{type:"tool",line:r||-1,code:e,tool:t}},es=function(e,t,r){return{type:"op",line:r||-1,op:e,coord:t}},ts=function(e,t,r){return{type:"macro",line:r||-1,name:e,blocks:t}},rs={set:Ko,done:Qo,level:Zo,tool:Jo,op:es,macro:ts},pi=rs,Kt=1/0,ns=9007199254740991,is=17976931348623157e292,Vr=0/0,as="[object Symbol]",os=/^\s+|\s+$/g,ss=/^[-+]0x[0-9a-f]+$/i,fs=/^0b[01]+$/i,us=/^0o[0-7]+$/i,_r="\\ud800-\\udfff",vi="\\u0300-\\u036f\\ufe20-\\ufe23",gi="\\u20d0-\\u20f0",yi="\\ufe0e\\ufe0f",ls="["+_r+"]",Zt="["+vi+gi+"]",Jt="\\ud83c[\\udffb-\\udfff]",hs="(?:"+Zt+"|"+Jt+")",mi="[^"+_r+"]",_i="(?:\\ud83c[\\udde6-\\uddff]){2}",wi="[\\ud800-\\udbff][\\udc00-\\udfff]",xi="\\u200d",bi=hs+"?",Ei="["+yi+"]?",ds="(?:"+xi+"(?:"+[mi,_i,wi].join("|")+")"+Ei+bi+")*",cs=Ei+bi+ds,ps="(?:"+[mi+Zt+"?",Zt,_i,wi,ls].join("|")+")",er=RegExp(Jt+"(?="+Jt+")|"+ps+cs,"g"),vs=RegExp("["+xi+_r+vi+gi+yi+"]"),gs=parseInt,ys=typeof he=="object"&&he&&he.Object===Object&&he,ms=typeof self=="object"&&self&&self.Object===Object&&self,_s=ys||ms||Function("return this")(),ws=bs("length");function xs(e){return e.split("")}function bs(e){return function(t){return t==null?void 0:t[e]}}function wr(e){return vs.test(e)}function Mi(e){return wr(e)?Ms(e):ws(e)}function Es(e){return wr(e)?Rs(e):xs(e)}function Ms(e){for(var t=er.lastIndex=0;er.test(e);)t++;return t}function Rs(e){return e.match(er)||[]}var Ss=Object.prototype,As=Ss.toString,qr=_s.Symbol,Ts=Math.ceil,Bs=Math.floor,Wr=qr?qr.prototype:void 0,Hr=Wr?Wr.toString:void 0;function zr(e,t){var r="";if(!e||t<1||t>ns)return r;do t%2&&(r+=e),t=Bs(t/2),t&&(e+=e);while(t);return r}function Is(e,t,r){var a=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(o);++a<o;)s[a]=e[a+t];return s}function Ri(e){if(typeof e=="string")return e;if(Si(e))return Hr?Hr.call(e):"";var t=e+"";return t=="0"&&1/e==-Kt?"-0":t}function Cs(e,t,r){var a=e.length;return r=r===void 0?a:r,!t&&r>=a?e:Is(e,t,r)}function Ls(e,t){t=t===void 0?" ":Ri(t);var r=t.length;if(r<2)return r?zr(t,e):t;var a=zr(t,Ts(e/Mi(t)));return wr(t)?Cs(Es(a),0,e).join(""):a.slice(0,e)}function Yr(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Os(e){return!!e&&typeof e=="object"}function Si(e){return typeof e=="symbol"||Os(e)&&As.call(e)==as}function Ns(e){if(!e)return e===0?e:0;if(e=Ds(e),e===Kt||e===-Kt){var t=e<0?-1:1;return t*is}return e===e?e:0}function ks(e){var t=Ns(e),r=t%1;return t===t?r?t-r:t:0}function Ds(e){if(typeof e=="number")return e;if(Si(e))return Vr;if(Yr(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Yr(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(os,"");var r=fs.test(e);return r||us.test(e)?gs(e.slice(2),r?2:8):ss.test(e)?Vr:+e}function Fs(e){return e==null?"":Ri(e)}function Ps(e,t,r){e=Fs(e),t=ks(t);var a=t?Mi(e):0;return t&&a<t?Ls(t-a,r)+e:e}var js=Ps,tr=1/0,$s=9007199254740991,Us=17976931348623157e292,Qr=0/0,Gs="[object Symbol]",Xs=/^\s+|\s+$/g,Vs=/^[-+]0x[0-9a-f]+$/i,qs=/^0b[01]+$/i,Ws=/^0o[0-7]+$/i,xr="\\ud800-\\udfff",Ai="\\u0300-\\u036f\\ufe20-\\ufe23",Ti="\\u20d0-\\u20f0",Bi="\\ufe0e\\ufe0f",Hs="["+xr+"]",rr="["+Ai+Ti+"]",nr="\\ud83c[\\udffb-\\udfff]",zs="(?:"+rr+"|"+nr+")",Ii="[^"+xr+"]",Ci="(?:\\ud83c[\\udde6-\\uddff]){2}",Li="[\\ud800-\\udbff][\\udc00-\\udfff]",Oi="\\u200d",Ni=zs+"?",ki="["+Bi+"]?",Ys="(?:"+Oi+"(?:"+[Ii,Ci,Li].join("|")+")"+ki+Ni+")*",Qs=ki+Ni+Ys,Ks="(?:"+[Ii+rr+"?",rr,Ci,Li,Hs].join("|")+")",ir=RegExp(nr+"(?="+nr+")|"+Ks+Qs,"g"),Zs=RegExp("["+Oi+xr+Ai+Ti+Bi+"]"),Js=parseInt,e3=typeof he=="object"&&he&&he.Object===Object&&he,t3=typeof self=="object"&&self&&self.Object===Object&&self,r3=e3||t3||Function("return this")(),n3=a3("length");function i3(e){return e.split("")}function a3(e){return function(t){return t==null?void 0:t[e]}}function br(e){return Zs.test(e)}function Di(e){return br(e)?s3(e):n3(e)}function o3(e){return br(e)?f3(e):i3(e)}function s3(e){for(var t=ir.lastIndex=0;ir.test(e);)t++;return t}function f3(e){return e.match(ir)||[]}var u3=Object.prototype,l3=u3.toString,Kr=r3.Symbol,h3=Math.ceil,d3=Math.floor,Zr=Kr?Kr.prototype:void 0,Jr=Zr?Zr.toString:void 0;function en(e,t){var r="";if(!e||t<1||t>$s)return r;do t%2&&(r+=e),t=d3(t/2),t&&(e+=e);while(t);return r}function c3(e,t,r){var a=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(o);++a<o;)s[a]=e[a+t];return s}function Fi(e){if(typeof e=="string")return e;if(Pi(e))return Jr?Jr.call(e):"";var t=e+"";return t=="0"&&1/e==-tr?"-0":t}function p3(e,t,r){var a=e.length;return r=r===void 0?a:r,!t&&r>=a?e:c3(e,t,r)}function v3(e,t){t=t===void 0?" ":Fi(t);var r=t.length;if(r<2)return r?en(t,e):t;var a=en(t,h3(e/Di(t)));return br(t)?p3(o3(a),0,e).join(""):a.slice(0,e)}function tn(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function g3(e){return!!e&&typeof e=="object"}function Pi(e){return typeof e=="symbol"||g3(e)&&l3.call(e)==Gs}function y3(e){if(!e)return e===0?e:0;if(e=_3(e),e===tr||e===-tr){var t=e<0?-1:1;return t*Us}return e===e?e:0}function m3(e){var t=y3(e),r=t%1;return t===t?r?t-r:t:0}function _3(e){if(typeof e=="number")return e;if(Pi(e))return Qr;if(tn(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=tn(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(Xs,"");var r=qs.test(e);return r||Ws.test(e)?Js(e.slice(2),r?2:8):Vs.test(e)?Qr:+e}function w3(e){return e==null?"":Fi(e)}function x3(e,t,r){e=w3(e),t=m3(t);var a=t?Di(e):0;return t&&a<t?e+v3(t-a,r):e}var b3=x3,rn=lt,E3=js,M3=b3,R3=function(e,t){if(e==null)return NaN;var r=""+e,a="+";(r[0]==="-"||r[0]==="+")&&(a=r[0],r=r.slice(1));var o=r.indexOf(".")!==-1;if(o||t==null||t.zero==null)return Number(a+r);if(t.places==null||t.places.length!==2)return NaN;var s=t.places[0],l=t.places[1];if(!rn(s)||!rn(l))return NaN;if(t.zero==="T")r=M3(r,s+l,"0");else if(t.zero==="L")r=E3(r,s+l,"0");else return NaN;var f=r.slice(0,s),h=r.slice(s,s+l);return+(a+f+"."+h)},Er=R3,S3=Er,A3=/[XY]0\d+/,T3=/[XY]\d+0(?=\D|$)/,B3=[{coord:"x",test:/X([+-]?[\d.]+)/},{coord:"y",test:/Y([+-]?[\d.]+)/},{coord:"i",test:/I([+-]?[\d.]+)/},{coord:"j",test:/J([+-]?[\d.]+)/},{coord:"a",test:/A([\d.]+)/}],I3=function(e,t){if(e==null)return{};if(t.zero==null||t.places==null)throw new Error("cannot parse coordinate with format undefined");var r=B3.reduce(function(a,o){var s=e.match(o.test);return s&&(a[o.coord]=S3(s[1],t)),a},{});return r},C3=function(e){return T3.test(e)?"L":A3.test(e)?"T":null},ji={parse:I3,detectZero:C3},L3=/[+\-/xX()]/,$i=/[$\d.]+/,O3=new RegExp([L3.source,$i.source].join("|"),"g"),N3=function(t,r){var a=r.match(O3),o,s=function(){var v=a.shift(),g;return $i.test(v)?g={type:"n",val:v}:(g=o(),a.shift()),g},l=function(){var v=s(),g=a[0];for(g==="X"&&(t._warn("multiplication in macros should use 'x', not 'X'"),g="x");g==="x"||g==="/";){a.shift();var _=s();v={type:g,left:v,right:_},g=a[0]}return v};o=function(){for(var v=l(),g=a[0];g==="+"||g==="-";){a.shift();var _=l();v={type:g,left:v,right:_},g=a[0]}return v};var f=o(),h=function(v,g){var _=function(T){return T[0]==="$"?Number(g[T]):Number(T)},b=v.type;return b==="n"?_(v.val):b==="+"?h(v.left,g)+h(v.right,g):b==="-"?h(v.left,g)-h(v.right,g):b==="x"?h(v.left,g)*h(v.right,g):h(v.left,g)/h(v.right,g)};return function(v){return h(f,v)}},nn=N3,k3=/^-?[\d.]+$/,an=/^(\$[\d+])=(.+)/,D3=function(e,t){if(t[0]==="0")return{type:"comment"};if(an.test(t)){var r=t.match(an),a=r[1],o=r[2],s=nn(e,o),l=function(_){return _[a]=s(_),_};return{type:"variable",set:l}}var f=function(_){return k3.test(_)?Number(_):nn(e,_)},h=t.split(",").map(f),v=h[0],g=h[1];if(v===1)return{type:"circle",exp:g,dia:h[2],cx:h[3],cy:h[4],rot:h[5]||0};if(v===2&&e._warn("macro aperture vector primitives with code 2 are deprecated"),v===2||v===20)return{type:"vect",exp:g,width:h[2],x1:h[3],y1:h[4],x2:h[5],y2:h[6],rot:h[7]};if(v===21)return{type:"rect",exp:g,width:h[2],height:h[3],cx:h[4],cy:h[5],rot:h[6]};if(v===22)return e._warn("macro aperture lower-left rectangle primitives are deprecated"),{type:"rectLL",exp:g,width:h[2],height:h[3],x:h[4],y:h[5],rot:h[6]};if(v===4)return{type:"outline",exp:g,points:h.slice(3,-1),rot:h[h.length-1]};if(v===5)return{type:"poly",exp:g,vertices:h[2],cx:h[3],cy:h[4],dia:h[5],rot:h[6]};if(v===6)return{type:"moire",exp:1,cx:h[1],cy:h[2],dia:h[3],ringThx:h[4],ringGap:h[5],maxRings:h[6],crossThx:h[7],crossLen:h[8],rot:h[9]};if(v===7)return{type:"thermal",exp:1,cx:h[1],cy:h[2],outerDia:h[3],innerDia:h[4],gap:h[5],rot:h[6]};e._warn(v+" is an unrecognized primitive for a macro aperture")},F3=D3,xe=pi,Ve=Er,P3=ji,j3=F3,on=/^G0*([123])/,sn=/^G3([67])/,fn=/^G7([45])/,un=/^G7([01])/,ln=/^G9([01])/,$3=/^G0*4/,U3=/^%TO[^%*]*/,hn=/^(?:G54)?D0*([1-9]\d+)/,dn=/D0*([123])$/,cn=/^(?:G0*[123])?((?:[XYIJ][+-]?\d+){1,4})(?:D0*[123])?$/,pn=/^%MO(IN|MM)/,vn=/^%FS([LT]?)([AI]?)(.*)X([0-7])([0-7])Y\4\5/,gn=/^%LP([CD])/,yn=/^%SR(?:X(\d+)Y(\d+)I([\d.]+)J([\d.]+))?/,Ui=/^%ADD0*(\d{2,})([A-Za-z_$][\w\-.]*)(?:,((?:X?[\d.-]+)*))?/,Gi=/^%AM([A-Za-z_$][\w\-.]*)\*?(.*)/,mn=/\*MO(IN|MM)$/,_n=function(e,t){var r=t==="IN"?"in":"mm";return e._push(xe.set("units",r))},G3=function(e,t){var r={places:e.format.places},a=t.match(Ui),o=a[1],s=a[2],l=a[3]?a[3].split("X"):[],f,h;s==="C"?(f="circle",h=3):s==="R"?(f="rect",h=4):s==="O"?(f="obround",h=4):s==="P"?(f="poly",h=5):(f=s,h=0);var v;f==="circle"?v=[Ve(l[0],r)]:f==="rect"||f==="obround"?v=[Ve(l[0],r),Ve(l[1],r)]:f==="poly"?(v=[Ve(l[0],r),Number(l[1]),0],l[2]&&(v[2]=Number(l[2]))):v=l.map(Number);var g=[];l[h-1]?g=[Ve(l[h-2],r),Ve(l[h-1],r)]:l[h-2]&&(g=[Ve(l[h-2],r)]);var _={shape:f,params:v,hole:g};return e._push(xe.tool(o,_))},X3=function(e,t){var r=t.match(Gi),a=r[1];a.match(/-/)&&e._warn("hyphens in macro name are illegal: "+a);var o=r[2].length?r[2].split("*"):[],s=o.filter(Boolean).map(function(l){return j3(e,l)});return e._push(xe.macro(a,s))},V3=function(e,t){if(!($3.test(t)||U3.test(t))){if(t==="M02")return e._push(xe.done());if(sn.test(t)){var r=t.match(sn)[1],a=r==="6";return e._push(xe.set("region",a))}if(fn.test(t)){var o=t.match(fn)[1],s=o==="4"?"s":"m";return e._push(xe.set("arc",s))}if(pn.test(t)){var l=t.match(pn)[1];return _n(e,l)}if(un.test(t)){var f=t.match(un)[1],h=f==="0"?"in":"mm";return e._push(xe.set("backupUnits",h))}if(vn.test(t)){var v=t.match(vn),g=v[1],_=v[2],b=v[3],T=Number(v[4]),E=Number(v[5]),R=e.format;R.zero=R.zero||g,R.places||(R.places=[T,E]),R.zero?R.zero==="T"&&e._warn("trailing zero suppression has been deprecated"):(R.zero="L",e._warn("zero suppression missing from format; assuming leading")),b&&e._warn('unknown characters "'+b+'" in "'+t+'" were ignored');var B=1.5*Math.pow(10,-R.places[1]);if(e._push(xe.set("nota",_)),e._push(xe.set("epsilon",B)),mn.test(t)){var C=t.match(mn)[1];_n(e,C)}return}if(ln.test(t)){var $=t.match(ln)[1],D=$==="0"?"A":"I";return e._push(xe.set("backupNota",D))}if(gn.test(t)){var k=t.match(gn)[1];return e._push(xe.level("polarity",k))}if(yn.test(t)){var F=t.match(yn),V=F[1]||1,te=F[2]||1,z=F[3]||0,X=F[4]||0,me={x:Number(V),y:Number(te),i:Number(z),j:Number(X)};return e._push(xe.level("stepRep",me))}if(hn.test(t)){var U=t.match(hn)[1];return e._push(xe.set("tool",U))}if(Ui.test(t))return G3(e,t);if(Gi.test(t))return X3(e,t);if(dn.test(t)||on.test(t)||cn.test(t)){var L=t.match(dn),O=t.match(on),I=t.match(cn),P;if(O&&(O[1]==="1"?P="i":O[1]==="2"?P="cw":P="ccw",e._push(xe.set("mode",P))),L||I){var q=L?L[1]:"",W=I?I[1]:"",J=P3.parse(W,e.format),se="last";q==="1"?se="int":q==="2"?se="move":q==="3"&&(se="flash"),e._push(xe.op(se,J))}return}return e._warn('block "'+t+'" was not recognized and was ignored')}},q3=V3,Xi={DRILL:"5",MOVE:"0",LINEAR:"1",CW_ARC:"2",CCW_ARC:"3"},wn=lt,le=pi,ot=Xi,W3=Er,ar=ji,xn=/;FILE_FORMAT=(\d):(\d)/,bn=/;TYPE=(PLATED|NON_PLATED)/,En=/;FORMAT={(.):(.)\/ (absolute|.+)? \/ (metric|inch) \/.+(trailing|leading|decimal|keep)/,Vi=/^(INCH|METRIC|M71|M72)/,qi=/,([TL])Z/,H3=/,(0{1,8})\.(0{1,8})/,Mn=/T0*(\d+)[\S]*C([\d.]+)/,Rn=/T0*(\d+)(?![\S]*C)/,Mr=/((?:[XYIJA][+-]?[\d.]+){1,4})(?:G85((?:[XY][+-]?[\d.]+){1,2}))?/,Sn=/^G0([01235])/,z3=function(e,t,r){var a={};if(En.test(t)){var o=t.match(En),s=Number(o[1]),l=Number(o[2]),f=o[3],h=o[4],v=o[5];wn(s)&&wn(l)&&(a.places=[s,l]),f==="absolute"?e._push(le.set("backupNota","A",r)):e._push(le.set("backupNota","I",r)),h==="metric"?e._push(le.set("backupUnits","mm",r)):e._push(le.set("backupUnits","in",r)),v==="leading"||v==="keep"?a.zero="L":v==="trailing"?a.zero="T":a.zero="D"}else if(xn.test(t)){var g=t.match(xn);a.places=[Number(g[1]),Number(g[2])]}else if(bn.test(t)){var _=t.match(bn),b=_[1]==="PLATED"?"pth":"npth";e._push(le.set("holePlating",b,r))}return a},Y3=function(e,t,r){var a=t.match(Vi),o=t.match(qi),s=t.match(H3),l=a[1]==="METRIC"||a[1]==="M71"?"mm":"in",f=o&&o[1];e.format.zero==null&&f&&(e.format.zero=f==="T"?"L":"T"),e.format.places==null&&(s?e.format.places=[s[1].length,s[2].length]:e.format.places=l==="in"?[2,4]:[3,3]),e._push(le.set("units",l,r))},Q3=function(e,t,r){var a=t.match(Mr),o=ar.parse(a[1],e.format);if(a[2])return e._push(le.op("move",o,r)),e._push(le.set("mode","i",r)),o=ar.parse(a[2],e.format),e._push(le.op("int",o,r));switch(Sn.test(t)&&(e._drillMode=t.match(Sn)[1]),e._drillMode){case ot.DRILL:return e._push(le.op("flash",o,r));case ot.MOVE:return e._push(le.op("move",o,r));case ot.LINEAR:return e._push(le.set("mode","i",r)),e._push(le.op("int",o,r));case ot.CW_ARC:return e._push(le.set("mode","cw",r)),e._push(le.op("int",o,r));case ot.CCW_ARC:return e._push(le.set("mode","ccw",r)),e._push(le.op("int",o,r))}},Wi=function(e,t,r){if(Mn.test(t)){var a=t.match(Mn),o=a[1],s=W3(a[2]),l={shape:"circle",params:[s],hole:[]};return e._push(le.tool(o,l,r))}if(Rn.test(t)){var f=t.match(Rn)[1];e._push(le.set("tool",f,r))}if(Mr.test(t))return e.format.places||(e.format.places=[2,4],e._warn("places format missing; assuming [2, 4]")),e.format.zero||(e.format.zero="T",e._warn("zero suppression missing; assuming trailing suppression")),Q3(e,t,r);if(t==="M00"||t==="M30")return e._push(le.done(r));if(t==="G90")return e._push(le.set("nota","A",r));if(t==="G91")return e._push(le.set("nota","I",r));if(Vi.test(t))return Y3(e,t,r)},Hi=function(e){e._drillStash.forEach(function(t){Wi(e,t.block,t.line)}),e._drillStash=[]},K3=function(e,t){if(t[0]===";"){var r=z3(e,t,e.line);Object.keys(r).forEach(function(a){e.format[a]||(e.format[a]=r[a])})}else e.format.zero?Wi(e,t,e.line):(e._drillStash.push({line:e.line,block:t}),Mr.test(t)&&(e.format.zero=ar.detectZero(t),e.format.zero&&e._warn("zero suppression missing; detected "+(e.format.zero==="L"?"leading":"trailing")+" suppression")),(e.format.zero||qi.test(t)||e._drillStash.length>=1e3)&&Hi(e))},Z3={parse:K3,flush:Hi},J3=function(e,t){return{message:e,line:t}},e6=J3,t6=mt.StringDecoder,r6=je,zi=mr.Transform,Yi=Ho,n6=Yo,i6=q3,Qi=Z3,a6=e6,o6=Xi,or=65535,$e=function(e,t,r){zi.call(this,{readableObjectMode:!0}),this._decoder=new t6("utf8"),this._stash="",this._index=0,this._drillMode=o6.DRILL,this._drillStash=[],this._syncResult=null,this.line=0,this.format={places:e,zero:t,filetype:r}};r6($e,zi);$e.prototype._process=function(e,t){for(;this._index<e.length;){var r=n6(t,e,this._index);this._index+=r.read,this.line+=r.lines,this._stash+=r.rem,r.block&&(t==="gerber"?i6(this,r.block):Qi.parse(this,r.block))}};$e.prototype._transform=function(e,t,r){var a=this.format.filetype;if(e=this._decoder.write(e),!a)if(a=Yi(e,this._index,or),this._index+=e.length,a)this.format.filetype=a,this._index=0;else return this._index>=or?r(new Error("unable to determine filetype")):(this._stash+=e,r());e=this._stash+e,this._stash="",this._process(e,a),this._index=0,r()};$e.prototype._flush=function(e){return this.format.filetype==="drill"&&Qi.flush(this),e&&e()};$e.prototype._push=function(e){e.line===-1&&(e.line=this.line);var t=this._syncResult?this._syncResult:this;t.push(e)};$e.prototype._warn=function(e){this.emit("warning",a6(e,this.line))};$e.prototype.parseSync=function(e){var t=Yi(e,this._index,100*or);return this.format.filetype=t,this._syncResult=[],this._process(e,t),this._flush(),this._syncResult};var s6=$e,An=lt,f6=s6,u6=function(e){if(Array.isArray(e)&&e.length===2&&An(e[0])&&An(e[1]))return e;throw new Error("places must be an array of two whole numbers")},l6=function(e){if(e==="T"||e==="L")return e;throw new Error("zero suppression must be 'L' or 'T'")},h6=function(e){if(e==="gerber"||e==="drill")return e;throw new Error('filetype must be "drill" or "gerber"')},d6=function(e){e=e||{};var t=e.places?u6(e.places):null,r=e.zero?l6(e.zero):null,a=e.filetype?h6(e.filetype):null;return new f6(t,r,a)},Tn=1/0,Ki=9007199254740991,c6=17976931348623157e292,Bn=0/0,p6=4294967295,v6="[object Function]",g6="[object GeneratorFunction]",y6="[object Symbol]",m6=/^\s+|\s+$/g,_6=/^[-+]0x[0-9a-f]+$/i,w6=/^0b[01]+$/i,x6=/^0o[0-7]+$/i,b6=/^(?:0|[1-9]\d*)$/,E6=parseInt,M6=Object.prototype,Zi=M6.toString;function R6(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}function S6(e,t,r,a){var o=e.length;for(r=sr(r),r<0&&(r=-r>o?0:o+r),a=a===void 0||a>o?o:sr(a),a<0&&(a+=o),a=r>a?0:F6(a);r<a;)e[r++]=t;return e}function A6(e,t){return t=t??Ki,!!t&&(typeof e=="number"||b6.test(e))&&e>-1&&e%1==0&&e<t}function T6(e,t,r){if(!_t(r))return!1;var a=typeof t;return(a=="number"?C6(r)&&A6(t,r.length):a=="string"&&t in r)?I6(r[t],e):!1}function B6(e,t,r,a){var o=e?e.length:0;return o?(r&&typeof r!="number"&&T6(e,t,r)&&(r=0,a=o),S6(e,t,r,a)):[]}function I6(e,t){return e===t||e!==e&&t!==t}function C6(e){return e!=null&&O6(e.length)&&!L6(e)}function L6(e){var t=_t(e)?Zi.call(e):"";return t==v6||t==g6}function O6(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ki}function _t(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function N6(e){return!!e&&typeof e=="object"}function k6(e){return typeof e=="symbol"||N6(e)&&Zi.call(e)==y6}function D6(e){if(!e)return e===0?e:0;if(e=P6(e),e===Tn||e===-Tn){var t=e<0?-1:1;return t*c6}return e===e?e:0}function sr(e){var t=D6(e),r=t%1;return t===t?r?t-r:t:0}function F6(e){return e?R6(sr(e),0,p6):0}function P6(e){if(typeof e=="number")return e;if(k6(e))return Bn;if(_t(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=_t(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(m6,"");var r=w6.test(e);return r||x6.test(e)?E6(e.slice(2),r?2:8):_6.test(e)?Bn:+e}var j6=B6,$6=j6,U6=function(e,t){var r,a;for(a=0;a<e.length;a++)if(r=e[a],t(r))return r},In=function(e,t,r){var a=e.reduce(function(o,s){var l=G6(t,s.position);return l<r&&l<o.distance?{point:s,distance:l}:o},{point:void 0,distance:1/0});return a.point},G6=function(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))},He=function(e,t){return e[0]===t[0]&&e[1]===t[1]},X6=function(e,t){return e.type==="line"&&(He(e.start,t.start)&&He(e.end,t.end)||He(e.start,t.end)&&He(e.end,t.start))},V6=function(e){var t={type:e.type,start:e.end,end:e.start};return e.type==="arc"&&(t.center=e.center,t.radius=e.radius,t.sweep=e.sweep,t.dir=e.dir==="cw"?"ccw":"cw"),t},Bt=function(e,t){this._edges=[],this._optimize=e,this._fillGaps=t,this.length=0};Bt.prototype.add=function(e){var t={segment:e,start:e.start,end:e.end};this._edges.push(t),this.length++};Bt.prototype._fillGapsAndOptimize=function(){var e=this._edges.map(function(E){return E.segment});this._edges=[],this.length=0;for(var t=e.reduce(function(E,R){return E.concat([{position:R.start,edges:[]},{position:R.end,edges:[]}])},[]),r=e.length,a=0;a<r;a++){var o=e[a],s,l,f=this._fillGaps,h=a*2,v=h+1,g=t.slice(0,h).concat(t.slice(v+1));s=In(g,o.start,f),l=In(g,o.end,f),s?f&&(o.start=s.position):s={position:o.start,edges:[]},l?f&&(o.end=l.position):l={position:o.end,edges:[]};var _=U6(this._edges,function(E){return X6(E.segment,o)});if(!_){var b=this._edges.length,T={segment:o,start:s,end:l};t[h].edges.push(b),t[h].position=T.start.position,t[v].edges.push(b),t[v].position=T.end.position,this._edges.push(T),this.length++}}this._edges.forEach(function(E){t.forEach(function(R){He(R.position,E.start.position)&&(E.start.edges=E.start.edges.concat(R.edges)),He(R.position,E.end.position)&&(E.end.edges=E.end.edges.concat(R.edges))})})};Bt.prototype.traverse=function(){if(!this._optimize)return this._edges.map(function(h){return h.segment});this._fillGapsAndOptimize();for(var e=$6(Array(this._edges.length),!1),t=[],r=[],a,o,s,l,f={position:[]};r.length<this._edges.length;)for(a=e.indexOf(!1),t.push(a);t.length;)a=t.pop(),e[a]||(e[a]=!0,o=this._edges[a],s=o.end,He(f.position,s.position)?(l=V6(o.segment),f=o.start):(l=o.segment,f=o.end),f.edges.reverse().forEach(function(h){e[h]||t.push(h)}),r.push(l));return r};var q6=Bt,W6=function(e,t){return{message:e,line:t}},H6=W6,z6="[object AsyncFunction]",Y6="[object Function]",Q6="[object GeneratorFunction]",K6="[object Null]",Z6="[object Proxy]",J6="[object Undefined]",ef=typeof he=="object"&&he&&he.Object===Object&&he,tf=typeof self=="object"&&self&&self.Object===Object&&self,rf=ef||tf||Function("return this")(),Ji=Object.prototype,nf=Ji.hasOwnProperty,ea=Ji.toString,Cn=rf.Symbol,qe=Cn?Cn.toStringTag:void 0;function af(e){return e==null?e===void 0?J6:K6:qe&&qe in Object(e)?of(e):sf(e)}function of(e){var t=nf.call(e,qe),r=e[qe];try{e[qe]=void 0;var a=!0}catch{}var o=ea.call(e);return a&&(t?e[qe]=r:delete e[qe]),o}function sf(e){return ea.call(e)}function ff(e){if(!uf(e))return!1;var t=af(e);return t==Y6||t==Q6||t==z6||t==Z6}function uf(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var lf=ff,hf=function(){return[1/0,1/0,-1/0,-1/0]},ta=function(e,t){return[Math.min(e[0],t[0]),Math.min(e[1],t[1]),Math.max(e[2],t[2]),Math.max(e[3],t[3])]},df=function(e,t){return[Math.min(e[0],t[0]),Math.min(e[1],t[1]),Math.max(e[2],t[0]),Math.max(e[3],t[1])]},cf=function(e,t,r,a){return[Math.min(e[0],r-t),Math.min(e[1],a-t),Math.max(e[2],r+t),Math.max(e[3],a+t)]},ra=function(e,t){var r=t[0],a=t[1];return[e[0]+r,e[1]+a,e[2]+r,e[3]+a]},pf=function(e,t){return ta(e,ra(e,t))},Rr={new:hf,add:ta,addPoint:df,addCircle:cf,translate:ra,repeat:pf},vf=lf,gf=lt,ge=Rr,ve=function(e){var t=Math.round(e*1e8)/1e8;return t===0?0:t},yf=function(e){return e*Math.PI/180},wt=function(e,t){t=yf(t);var r=Math.sin(t),a=Math.cos(t),o=e[0],s=e[1];return[ve(o*a-s*r),ve(o*r+s*a)]},xt=function(e,t,r,a){var o=e/2;if(t=t||0,r=r||0,a&&(t||r)){var s=wt([t,r],a);t=s[0],r=s[1]}return{shape:{type:"circle",cx:t,cy:r,r:e/2},box:ge.addCircle(ge.new(),o,t,r)}},na=function(e,t,r,a,o,s){if(s){var l=wt([e,t],s),f=wt([r,a],s);e=l[0],t=l[1],r=f[0],a=f[1]}var h=(a-t)/(r-e),v=o/2,g=v,_=v;gf(h)?(g*=h/Math.sqrt(1+Math.pow(h,2)),_*=1/Math.sqrt(1+Math.pow(h,2))):_=0;var b=[];b.push([ve(e+g),ve(t-_)]),b.push([ve(r+g),ve(a-_)]),b.push([ve(r-g),ve(a+_)]),b.push([ve(e-g),ve(t+_)]);var T=b.reduce(function(E,R){return ge.addPoint(E,R)},ge.new());return{shape:{type:"poly",points:b},box:T}},Be=function(e,t,r,a,o,s){a=a||0,o=o||0,r=r||0,s=s||0;var l=e/2,f=t/2;if(s){var h=a-l,v=a+l,g=o,_=o;return na(h,g,v,_,t,s)}return{shape:{type:"rect",cx:a,cy:o,r,width:e,height:t},box:[-l+a,-f+o,l+a,f+o]}},mf=function(e,t){for(var r=[],a=ge.new(),o,s=0;s<e.length-2;s+=2)o=[e[s],e[s+1]],t&&(o=wt(o,t)),r.push(o),a=ge.addPoint(a,o);return{shape:{type:"poly",points:r},box:a}},ia=function(e,t,r,a,o){a=a||0,o=o||0;for(var s=[],l=ge.new(),f=e/2,h=r*Math.PI/180,v=2*Math.PI/t,g,_,b,T=0;T<t;T++)g=v*T+h,_=a+ve(f*Math.cos(g)),b=o+ve(f*Math.sin(g)),l=ge.addPoint(l,[_,b]),s.push([_,b]);return{shape:{type:"poly",points:s},box:l}},aa=function(e,t,r,a){return{type:"ring",cx:e,cy:t,r,width:a}},_f=function(e,t,r,a,o,s,l,f,h){for(var v=e/2,g=[],_=ge.addCircle(ge.new(),v,l,f),b=t/2,T=r+b;v>t&&g.length<a;)v-=b,g.push(aa(l,f,ve(v),t)),v-=T;v>0&&g.length<a&&g.push(xt(ve(2*v),l,f).shape);var E=Be(s,o,0,l,f,h),R=Be(o,s,0,l,f,h);return g.push(E.shape),g.push(R.shape),_=ge.add(_,E.box),_=ge.add(_,R.box),{shape:g,box:_}},wf=function(e,t,r,a,o,s){var l=ve((r-o)/2),f=ve((r+o)/4),h=ve((r-a)/2),v=ve((r-h)/2),g=ge.addCircle(ge.new(),r/2,e,t),_=[Be(l,l,0,e+f,t+f,s).shape,Be(l,l,0,e-f,t+f,s).shape,Be(l,l,0,e-f,t-f,s).shape,Be(l,l,0,e+f,t-f,s).shape],b=aa(e,t,v,h);return{shape:{type:"clip",shape:_,clip:b},box:g}},xf=function(e,t){var r={shape:[],box:ge.new()},a=1;return t=t||[],t.reduce(function(o,s){var l;switch(s.type!=="variable"&&s.type!=="comment"&&(s=Object.keys(s).reduce(function(_,b){var T=s[b];return _[b]=E(T),_;function E(R){return Array.isArray(R)?R.map(E):vf(R)?R(e):R}},{})),s.exp!=null&&s.exp!==a&&(o.shape.push({type:"layer",polarity:s.exp===1?"dark":"clear",box:o.box.slice(0)}),a=s.exp),s.type){case"circle":l=xt(s.dia,s.cx,s.cy,s.rot);break;case"vect":l=na(s.x1,s.y1,s.x2,s.y2,s.width,s.rot);break;case"rect":l=Be(s.width,s.height,0,s.cx,s.cy,s.rot);break;case"rectLL":var f=s.height/2,h=s.width/2,v=s.x+h,g=s.y+f;l=Be(s.width,s.height,0,v,g,s.rot);break;case"outline":l=mf(s.points,s.rot);break;case"poly":l=ia(s.dia,s.vertices,s.rot,s.cx,s.cy);break;case"moire":l=_f(s.dia,s.ringThx,s.ringGap,s.maxRings,s.crossThx,s.crossLen,s.cx,s.cy,s.rot);break;case"thermal":l=wf(s.cx,s.cy,s.outerDia,s.innerDia,s.gap,s.rot);break;case"variable":return e=s.set(e),o;default:return o}return o.shape=o.shape.concat(l.shape),a===1&&(o.box=ge.add(o.box,l.box)),o},r)},bf=function(t,r){var a=[],o=ge.new(),s=t.shape,l=t.params,f,h;if(s==="circle")h=xt(l[0]);else if(s==="rect")h=Be(l[0],l[1]);else if(s==="obround")h=Be(l[0],l[1],Math.min(l[0],l[1])/2);else if(s==="poly")h=ia(l[0],l[1],l[2]);else{var v=l.reduce(function(g,_,b){return g["$"+(b+1)]=_,g},{});return xf(v,r[s])}return a.push(h.shape),o=ge.add(o,h.box),t.hole.length&&(f=t.hole.length===1?xt(t.hole[0]).shape:Be(t.hole[0],t.hole[1]).shape,a.push({type:"layer",polarity:"clear",box:o},f)),{shape:a,box:o}},pe=Rr,_e=Math.PI/2,Ln=Math.PI,Ee=Math.PI*2,Ze=3*Math.PI/2,Ef=function(e,t,r,a){return r?(a._warn("flash in region ignored"),pe.new()):t?(t.flashed||(t.flashed=!0,a.push({type:"shape",tool:t.code,shape:t.pad})),a.push({type:"pad",tool:t.code,x:e[0],y:e[1]}),pe.translate(t.box,e)):(a._warn("flash with unknown tool ignored"),pe.new())},Mf=function(e,t,r,a,o){for(var s,l,f,h,v;v==null&&o.length>0;)h=o.pop(),s=Math.atan2(e[1]-h[1],e[0]-h[0]),l=Math.atan2(t[1]-h[1],t[0]-h[0]),r==="cw"?s=s>=l?s:s+Ee:l=l>=s?l:l+Ee,f=Math.abs(s-l),a==="s"?f<=_e&&(v=h):v=h;if(v!=null)return s=s>=0?s:s+Ee,s=s<Ee?s:s-Ee,l=l>=0?l:l+Ee,l=l<Ee?l:l-Ee,{center:v,sweep:f,start:e.concat(s),end:t.concat(l)}},Rf=function(e,t,r,a,o){var s=e.start,l=e.end,f=e.center,h=e.sweep,v,g;o==="cw"?(v=l[2],g=s[2]):(v=s[2],g=l[2]);var _=[s,l];return(v>g||h===Ee)&&_.push([f[0]+t,f[1]]),v=v>=_e?v-_e:v+Ze,g=g>=_e?g-_e:g+Ze,(v>g||h===Ee)&&_.push([f[0],f[1]+t]),v=v>=_e?v-_e:v+Ze,g=g>=_e?g-_e:g+Ze,(v>g||h===Ee)&&_.push([f[0]-t,f[1]]),v=v>=_e?v-_e:v+Ze,g=g>=_e?g-_e:g+Ze,(v>g||h===Ee)&&_.push([f[0],f[1]-t]),_.reduce(function(b,T){if(!r){var E=pe.translate(a.box,T);return pe.add(b,E)}return pe.addPoint(b,T)},pe.new())},On=function(e,t){return e>=t?e:0},Sf=function(e,t,r,a,o){var s=r==="ccw"?1:-1,l=(e[0]+t[0])/2,f=(e[1]+t[1])/2,h=t[0]-e[1],v=t[1]-e[1],g=Math.sqrt(Math.pow(h,2)+Math.pow(v,2)),_=g/2,b=Math.sqrt(Math.pow(o,2)-Math.pow(_,2)),T=-s*v*b/g,E=s*h*b/g;return[[On(l+T,a),On(f+E,a)]]},Af=function(e,t,r,a,o,s,l,f,h,v){var g=r[2]||Math.sqrt(Math.pow(r[0],2)+Math.pow(r[1],2)),_=[],b=[],T=[];r[0]&&s==="s"?b.push(e[0]+r[0],e[0]-r[0]):b.push(e[0]+r[0]),r[1]&&s==="s"?T.push(e[1]+r[1],e[1]-r[1]):T.push(e[1]+r[1]);for(var E=0;E<b.length;E++)for(var R=0;R<T.length;R++)_.push([b[E],T[R]]);var B;r[2]?(s="m",B=Sf(e,t,o,f,r[2])):s==="s"?B=_.filter(function(D){var k=Math.sqrt(Math.pow(D[0]-e[0],2)+Math.pow(D[1]-e[1],2)),F=Math.sqrt(Math.pow(D[0]-t[0],2)+Math.pow(D[1]-t[1],2));return Math.abs(k-g)<=f&&Math.abs(F-g)<=f}):B=_;var C=Mf(e,t,o,s,B);s==="m"&&e[0]===t[0]&&e[1]===t[1]&&(C.sweep=Ee);var $=pe.new();return C!=null?(h.add({type:"arc",start:C.start,end:C.end,center:C.center,sweep:C.sweep,radius:g,dir:o}),$=Rf(C,g,l,a,o)):v._warn("skipping impossible arc"),$},Tf=function(e,t,r,a,o){if(o.add({type:"line",start:e,end:t}),!a){var s=pe.translate(r.box,e),l=pe.translate(r.box,t);return pe.add(s,l)}var f=pe.new();return f=pe.addPoint(f,e),f=pe.addPoint(f,t),f},Bf=function(e,t,r,a,o){var s=r.trace[0]/2,l=r.trace[1]/2,f=Math.atan2(t[1]-e[1],t[0]-e[0]),h=e[0]-s,v=e[0]+s,g=e[1]-l,_=e[1]+l,b=t[0]-s,T=t[0]+s,E=t[1]-l,R=t[1]+l,B=[];return e[0]===t[0]&&e[1]===t[1]?B.push([h,g],[v,g],[v,_],[h,_]):f>=0&&f<_e?B.push([h,g],[v,g],[T,E],[T,R],[b,R],[h,_]):f>=_e&&f<=Ln?B.push([v,g],[v,_],[T,R],[b,R],[b,E],[h,g]):f>=-Ln&&f<-_e?B.push([v,_],[h,_],[b,R],[b,E],[T,E],[v,g]):B.push([h,_],[h,g],[b,E],[T,E],[T,R],[v,_]),B.forEach(function(C,$){var D=$<B.length-1?$+1:0;a.add({type:"line",start:C,end:B[D]})}),o._finishPath(),pe.add(pe.translate(r.box,e),pe.translate(r.box,t))},If=function(e,t,r,a,o,s,l,f,h,v){var g=l||a&&a.trace.length>0,_=l||a&&a.trace.length===1,b=a?a.code:"[NO TOOL SET]";return g?o==="i"?l||a.trace.length===1?Tf(e,t,a,l,h):Bf(e,t,a,h,v):_?Af(e,t,r,a,o,s,l,f,h,v):(v._warn("cannot draw arc with non-circular tool "+b+"; ignoring interpolate"),pe.new()):(v._warn("tool "+b+" is not strokable; ignoring interpolate"),pe.new())},Cf=function(e,t,r,a,o,s,l,f,h,v){var g=[t.x!=null?t.x:r[0],t.y!=null?t.y:r[1]],_=[t.i!=null?t.i:0,t.j!=null?t.j:0,t.a],b;switch(e){case"flash":b=Ef(g,a,l,v);break;case"int":b=If(r,g,_,a,o,s,l,h,f,v);break;default:b=pe.new();break}return{pos:g,box:b}},Lf=Cf,oa=mr.Transform,Of=je,sa=q6,Nf=H6,kf=bf,Df=Lf,gt=Rr,Ff=11e-5,Pf=function(e){return e==="units"||e==="backupUnits"||e==="nota"||e==="backupNota"},Ue=function(e,t,r,a,o,s){oa.call(this,{readableObjectMode:!0,writableObjectMode:!0}),this.format={units:e,backupUnits:t||"in",nota:r,backupNota:a||"A"},this._formatLock={units:e!=null,backupUnits:t!=null,nota:r!=null,backupNota:a!=null},this._plotAsOutline=s===!0?Ff:s,(e||this.format.backupUnits)==="in"&&(this._plotAsOutline=this._plotAsOutline/25.4),this._optimizePaths=o||s,this._line=0,this._done=!1,this._tool=null,this._outTool=null,this._tools={},this._macros={},this._pos=[0,0],this._box=gt.new(),this._mode=null,this._arc=null,this._region=!1,this._path=new sa(this._optimizePaths,this._plotAsOutline),this._epsilon=null,this._lastOp=null,this._stepRep=[]};Of(Ue,oa);Ue.prototype._finishPath=function(e){var t=this._path.traverse();if(this._path=new sa(!e&&this._optimizePaths,this._plotAsOutline),t.length){var r=this._plotAsOutline?this._outTool:this._tool;!this._region&&r.trace.length===1?this.push({type:"stroke",width:r.trace[0],path:t}):this.push({type:"fill",path:t})}};Ue.prototype._warn=function(e){this.emit("warning",Nf(e,this._line))};Ue.prototype._checkFormat=function(){this.format.units||(this.format.units=this.format.backupUnits,this._warn("units not set; using backup units: "+this.format.units)),this.format.nota||(this.format.nota=this.format.backupNota,this._warn("notation not set; using backup notation: "+this.format.nota))};Ue.prototype._updateBox=function(e){var t=this._stepRep.length;if(!t)this._box=gt.add(this._box,e);else{var r=gt.repeat(e,this._stepRep[t-1]);this._box=gt.add(this._box,r)}};Ue.prototype._transform=function(e,t,r){var a=e.type;if(this._line=e.line,this._done)return this._warn("ignoring extra command recieved after done command"),r();if(a==="op"){this._checkFormat();var o=e.op,s=e.coord;if(this.nota==="I"){var l=this;s=Object.keys(s).reduce(function(D,k){var F=s[k];return k==="x"?D[k]=l._pos[0]+F:k==="y"?D[k]=l._pos[1]+F:D[k]=F,D},{})}o==="last"&&(this._warn("modal operation commands are deprecated"),o=this._lastOp),o==="int"&&(this._mode==null&&(this._warn("no interpolation mode specified; assuming linear"),this._mode="i"),this._arc==null&&this._mode.slice(-2)==="cw"&&!s.a&&(this._warn("quadrant mode unspecified; assuming single quadrant"),this._arc="s")),this._plotAsOutline&&(this._outTool=this._tool);var f=Df(o,s,this._pos,this._tool,this._mode,this._arc,this._region||this._plotAsOutline,this._path,this._epsilon,this);this._lastOp=o,this._pos=f.pos,this._updateBox(f.box)}else if(a==="set"){var h=e.prop,v=e.value;h==="region"?(this._finishPath(v),this._region=v):Pf(h)&&!this._formatLock[h]?(this.format[h]=v,(h==="units"||h==="nota")&&(this._formatLock[h]=!0)):h==="tool"?this._region?this._warn("cannot change tool while region mode is on"):this._tools[v]?this._outTool||(this._finishPath(),this._tool=this._tools[v]):this._warn("tool "+v+" is not defined"):this["_"+h]=v}else if(a==="tool"){var g=e.code,_=e.tool;this._tools[g]&&this._warn("tool "+g+" is already defined; overwriting definition");var b=kf(_,this._macros),T={code:g,trace:[],pad:b.shape,flashed:!1,box:b.box};(_.shape==="circle"||_.shape==="rect")&&_.hole.length===0&&(T.trace=_.params),this._outTool||(this._finishPath(),this._tools[g]=T,this._tool=T)}else if(a==="macro")this._macros[e.name]=e.blocks;else if(a==="level"){var E=e.level,R=e.value;if(this._finishPath(),E==="polarity")this.push({type:"polarity",polarity:R==="C"?"clear":"dark",box:this._box.slice(0)});else{var B=[];if(R.x>1||R.y>1)for(var C=0;C<R.x;C++)for(var $=0;$<R.y;$++)B.push([C*R.i,$*R.j]);this._stepRep=B,this.push({type:"repeat",offsets:this._stepRep.slice(0),box:this._box.slice(0)})}}else a==="done"&&(this._done=!0);return r()};Ue.prototype._flush=function(e){this._finishPath(),this.push({type:"size",box:this._box,units:this.format.units}),e()};var jf=Ue,$f=jf,Nn=function(e){if(e==="A"||e==="I")return e;throw new Error('notation must be "in" or "mm"')},kn=function(e){if(e==="in"||e==="mm")return e;throw new Error('units must be "in" or "mm"')},Uf=function(t){t=t||{};var r=t.units?kn(t.units):null,a=t.backupUnits?kn(t.backupUnits):null,o=t.nota?Nn(t.nota):null,s=t.backupNota?Nn(t.backupNota):null;return new $f(r,a,o,s,t.optimizePaths,t.plotAsOutline)};/*!
- * escape-html
- * Copyright(c) 2012-2013 TJ Holowaychuk
- * Copyright(c) 2015 Andreas Lubbe
- * Copyright(c) 2015 Tiancheng "Timothy" Gu
- * MIT Licensed
- */var Gf=/["'&<>]/,Xf=Vf;function Vf(e){var t=""+e,r=Gf.exec(t);if(!r)return t;var a,o="",s=0,l=0;for(s=r.index;s<t.length;s++){switch(t.charCodeAt(s)){case 34:a="&quot;";break;case 38:a="&amp;";break;case 39:a="&#39;";break;case 60:a="&lt;";break;case 62:a="&gt;";break;default:continue}l!==s&&(o+=t.substring(l,s)),l=s+1,o+=a}return l!==s?o+t.substring(l,s):o}var Gt=Xf,fa=function(t,r,a){r=r||{},a=a||[];var o="<"+Gt(t),s=Object.keys(r).reduce(function(f,h){var v=r[h],g=v!=null?" "+Gt(h)+'="'+Gt(v)+'"':"";return f+g},""),l=a.length?">"+a.join("")+"</"+t+">":"/>";return o+s+l},st=function(e){return Math.round(1e10*e)/1e7},qf=function(e,t,r){return r("rect",{x:st(e[0]),y:st(e[1]),width:st(e[2]-e[0]),height:st(e[3]-e[1]),fill:t})},Wf=function(e,t,r){var a="url(#"+e+")";return r("g",{mask:a},t)},Hf=function(e,t,r,a){r=[qf(t,"#fff",a)].concat(r);var o={id:e,fill:"#000",stroke:"#000"};return a("mask",o,[a("g",{},r)])},It={shift:st,maskLayer:Wf,createMask:Hf},Sr=It,Te=Sr.shift,Dn=Sr.createMask,zf=Sr.maskLayer,Ct=function(e,t,r){return{tag:e,attr:t,children:r||[]}},fr=function(e,t,r,a){var o={cx:Te(e),cy:Te(t),r:Te(r)};return a!=null&&(o["stroke-width"]=Te(a),o.fill="none"),Ct("circle",o)},ua=function(e,t,r,a,o){var s={x:Te(e-a/2),y:Te(t-o/2),width:Te(a),height:Te(o)};return r&&(s.rx=Te(r),s.ry=Te(r)),Ct("rect",s)},la=function(e){var t=e.map(function(r){return r.map(Te).join(",")}).join(" ");return Ct("polygon",{points:t})},Yf=function(e,t,r,a,o){var s=e+"mask-"+t,l="url(#"+s+")",f=fr(a.cx,a.cy,a.r,a.width),h=o("mask",{id:s,stroke:"#fff"},[o(f.tag,f.attr)]),v=r.map(function(_){var b=_.type==="rect"?ua(_.cx,_.cy,_.r,_.width,_.height):la(_.points);return o(b.tag,b.attr)}),g=Ct("g",{mask:l},v);return{mask:h,layer:g}},Qf=function(t,r,a,o){var s=t+"_pad-"+r,l=s+"_",f=a.reduce(function(h,v,g){var _;switch(v.type){case"circle":_=fr(v.cx,v.cy,v.r);break;case"ring":_=fr(v.cx,v.cy,v.r,v.width);break;case"rect":_=ua(v.cx,v.cy,v.r,v.width,v.height);break;case"poly":_=la(v.points);break;case"clip":var b=Yf(l,g,v.shape,v.clip,o);h.masks.push(b.mask),_=b.layer;break;case"layer":if(h.count++,h.last=v.polarity,v.polarity==="clear"){var T=l+h.count;h.maskId=T,h.maskBox=v.box.slice(0),h.maskChildren=[],h.layers=[zf(T,h.layers,o)]}else{var E=Dn(h.maskId,h.maskBox,h.maskChildren,o);h.masks.push(E)}break}if(_){a.length===1&&(_.attr.id=s);var R=o(_.tag,_.attr,_.children);h.last==="dark"?h.layers.push(R):h.maskChildren.push(R)}return h},{count:0,last:"dark",layers:[],maskId:"",maskBox:[],maskChildren:[],masks:[]});return f.last==="clear"&&f.masks.push(Dn(f.maskId,f.maskBox,f.maskChildren,o)),a.length>1&&(f.layers=o("g",{id:s},f.layers)),f.masks.concat(f.layers)},Kf=It,Fn=Kf.shift,Zf=function(t,r,a,o,s){var l="#"+t+"_pad-"+r;return s("use",{"xlink:href":l,x:Fn(a),y:Fn(o)})},Jf=It,Pe=Jf.shift,eu=function(e,t){return e[0]===t[0]&&e[1]===t[1]},tu=function(e){return"M "+Pe(e[0])+" "+Pe(e[1])},ha=function(e,t){var r=e==="L"||e==="M"?"":"L ";return r+Pe(t[0])+" "+Pe(t[1])},ur=function(e,t,r,a,o,s){if(r===0)return ha(e,o);if(r===2*Math.PI){var l=[2*s[0]-o[0],2*s[1]-o[1]],f=ur(e,t,Math.PI,a,l,s),h=ur("A",t,Math.PI,a,o,s);return f+" "+h}var v=e==="A"?"":"A ";return t=Pe(t),v+=t+" "+t+" 0 ",v+=r>Math.PI?"1 ":"0 ",v+=a==="ccw"?"1 ":"0 ",v+=Pe(o[0])+" "+Pe(o[1]),v},ru=function(e,t){var r=t.type,a=t.start,o=t.end;return eu(e.last,a)||(e.data+=(e.data?" ":"")+tu(a),e.lastCmd="M"),e.data+=" ",r==="line"?(e.data+=ha(e.lastCmd,o),e.lastCmd="L"):(e.data+=ur(e.lastCmd,t.radius,t.sweep,t.dir,o,t.center),e.lastCmd="A"),e.last=o,e},nu=function(t,r,a){var o=t.reduce(ru,{last:[],data:""}).data,s={d:o};return r!=null&&(s.fill="none",s["stroke-width"]=Pe(r)),a("path",s)},iu=fa,da=function(e,t,r){var a=r||iu,o={version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"0","fill-rule":"evenodd",width:e.width+e.units,height:e.height+e.units,viewBox:e.viewBox.join(" ")};typeof t=="string"&&(t={id:t}),Object.keys(t||{}).forEach(function(h){var v=t[h];v!=null&&(o[h]=v)});var s=[];if(e.layer.length){e.defs.length&&s.push(a("defs",{},e.defs));var l=e.viewBox[3]+2*e.viewBox[1],f="translate(0,"+l+") scale(1,-1)";s.push(a("g",{transform:f,fill:"currentColor",stroke:"currentColor"},e.layer))}return a("svg",o,s)},ca=mr.Transform,au=je,pa=lt,ou=Qf,su=Zf,Pn=nu,Ar=It,fu=da,Fe=Ar.shift,va=Ar.maskLayer,uu=Ar.createMask,lu=0,lr=1,ga=2,Oe=function(e,t,r,a){ca.call(this,{writableObjectMode:!0,readableObjectMode:a}),this.id=e,this.attributes=t,this.defs=[],this.layer=[],this.viewBox=[0,0,0,0],this.width=0,this.height=0,this.units="",this._maskId="",this._maskBox=[],this._mask=[],this._blockMode=!1,this._blockBox=[],this._block=[],this._blockCount=0,this._blockLayerCount=0,this._offsets=[],this._clearCount=0,this._lastLayer=0,this._blockCount=0,this._blockCount=0,this._element=r};au(Oe,ca);Oe.prototype._transform=function(e,t,r){switch(e.type){case"shape":this.defs=this.defs.concat(ou(this.id,e.tool,e.shape,this._element));break;case"pad":this._draw(su(this.id,e.tool,e.x,e.y,this._element));break;case"fill":this._draw(Pn(e.path,null,this._element));break;case"stroke":this._draw(Pn(e.path,e.width,this._element));break;case"polarity":this._handleNewPolarity(e.polarity,e.box);break;case"repeat":this._handleNewRepeat(e.offsets,e.box);break;case"size":this._handleSize(e.box,e.units)}r()};Oe.prototype._flush=function(e){this._handleNewRepeat([]),this.push(fu(this,this.attributes,this._element)),e()};Oe.prototype._finishBlockLayer=function(){if(this._block.length){this._blockLayerCount++;var e=this.id+"_block-"+this._blockCount+"-"+this._blockLayerCount;this.defs.push(this._element("g",{id:e},this._block)),this._block=[]}};Oe.prototype._finishClearLayer=function(){return this._maskId?(this.defs.push(uu(this._maskId,this._maskBox,this._mask,this._element)),this._maskId="",this._maskBox=[],this._mask=[],!0):!1};Oe.prototype._handleNewPolarity=function(e,t){if(this._blockMode)return this._blockLayerCount===0&&!this._block.length&&(this._blockMode=e==="dark"?lr:ga),this._finishBlockLayer();this._clearCount=e==="clear"?this._clearCount+1:this._clearCount;var r=this.id+"_clear-"+this._clearCount;e==="clear"?(this.layer=[va(r,this.layer,this._element)],this._maskId=r,this._maskBox=t.slice(0)):this._finishClearLayer(t)};Oe.prototype._handleNewRepeat=function(e,t){var r=e.length===0,a=this._finishClearLayer();this._finishBlockLayer();var o=this.layer,s=this._element,l=this._blockMode,f=this._blockLayerCount,h=this.id+"_block-"+this._blockCount+"-";if(this._offsets.forEach(function(g){for(var _=l;_<=f;_+=2)o.push(s("use",{"xlink:href":"#"+h+_,x:Fe(g[0]),y:Fe(g[1])}))}),f>2-l){var v=h+"clear";this.layer=[va(v,o,this._element)],this._maskId=v,this._maskBox=this._blockBox.slice(0),this._mask=this._offsets.reduce(function(g,_){for(var b,T=1;T<=f;T++){b=l===lr?T%2===1:T%2===0;var E={"xlink:href":"#"+h+T,x:Fe(_[0]),y:Fe(_[1])};b&&(E.fill="#fff",E.stroke="#fff"),g.push(s("use",E))}return g},[]),a=this._finishClearLayer()}this._offsets=e,r?this._blockMode=lu:(this._blockMode=a?ga:lr,this._blockCount++,this._blockLayerCount=0,this._blockBox=t.every(pa)?t:[0,0,0,0])};Oe.prototype._handleSize=function(e,t){if(e.every(pa)){var r=Fe(e[0]),a=Fe(e[1]),o=Fe(e[2]-e[0]),s=Fe(e[3]-e[1]);this.viewBox=[r,a,o,s],this.width=o/1e3,this.height=s/1e3,this.units=t}};Oe.prototype._draw=function(e){this._blockMode?this._block.push(e):this._maskId?this._mask.push(e):this.layer.push(e)};var hu=Oe,du=["id","attributes","defs","layer","viewBox","width","height","units"],cu=function(t){return du.reduce(function(r,a){var o=t[a];return o!=null&&(r[a]=t[a]),r},{})},pu=Ga,vu=d6,gu=Uf,yu=fa,mu=hu,_u=da,wu=cu,xu=function(e){typeof e=="string"?e={id:e}:e||(e={});var t={id:pu.ensure(e.id),attributes:e.attributes||{},createElement:e.createElement||yu,objectMode:e.objectMode==null?!1:e.objectMode,parser:{places:e.places,zero:e.zero,filetype:e.filetype},plotter:{units:e.units,backupUnits:e.backupUnits,nota:e.nota,backupNota:e.backupNota,optimizePaths:e.optimizePaths,plotAsOutline:e.plotAsOutline}};return t};St.exports=function(t,r,a){typeof r=="function"&&(a=r,r=null);var o=xu(r),s=a!=null,l=new mu(o.id,o.attributes,o.createElement,o.objectMode),f=vu(o.parser),h=gu(o.plotter);if(l.parser=f,l.plotter=h,f.on("warning",function(b){l.emit("warning",b)}),h.on("warning",function(b){l.emit("warning",b)}),f.once("error",function(b){l.emit("error",b)}),h.once("error",function(b){l.emit("error",b)}),f.once("end",function(){l.filetype=f.format.filetype}),t.pipe?(t.setEncoding("utf8"),t.pipe(f)):process.nextTick(function(){f.write(t),f.end()}),f.pipe(h).pipe(l),s){var v="",g=function(){return a(null,v)};l.on("readable",function(){var b;do b=l.read()||"",v+=b;while(b)}),l.once("end",g),l.once("error",function(_){return l.removeListener("end",g),a(_)})}return l};St.exports.render=_u;St.exports.clone=wu;var bu=St.exports;const Eu=hr(bu);var Mu={};(function(e){(function(){var t=e||!1||this||window;t.default=t;var r="http://www.w3.org/2000/xmlns/",a="http://www.w3.org/1999/xhtml",o="http://www.w3.org/2000/svg",s='<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY nbsp "&#160;">]>',l=/url\(["']?(.+?)["']?\)/,f={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject",sfnt:"application/font-sfnt",svg:"image/svg+xml"},h=function(L){return L instanceof HTMLElement||L instanceof SVGElement},v=function(L){if(!h(L))throw new Error("an HTMLElement or SVGElement is required; got "+L)},g=function(L){return new Promise(function(O,I){h(L)?O(L):I(new Error("an HTMLElement or SVGElement is required; got "+L))})},_=function(L){return L&&L.lastIndexOf("http",0)===0&&L.lastIndexOf(window.location.host)===-1},b=function(L){var O=Object.keys(f).filter(function(I){return L.indexOf("."+I)>0}).map(function(I){return f[I]});return O?O[0]:(console.error("Unknown font format for "+L+". Fonts may not be working correctly."),"application/octet-stream")},T=function(L){for(var O="",I=new Uint8Array(L),P=0;P<I.byteLength;P++)O+=String.fromCharCode(I[P]);return window.btoa(O)},E=function(L,O,I){var P=L.viewBox&&L.viewBox.baseVal&&L.viewBox.baseVal[I]||O.getAttribute(I)!==null&&!O.getAttribute(I).match(/%$/)&&parseInt(O.getAttribute(I))||L.getBoundingClientRect()[I]||parseInt(O.style[I])||parseInt(window.getComputedStyle(L).getPropertyValue(I));return typeof P>"u"||P===null||isNaN(parseFloat(P))?0:P},R=function(L,O,I,P){if(L.tagName==="svg")return{width:I||E(L,O,"width"),height:P||E(L,O,"height")};if(L.getBBox){var q=L.getBBox(),W=q.x,J=q.y,se=q.width,we=q.height;return{width:W+se,height:J+we}}},B=function(L){return decodeURIComponent(encodeURIComponent(L).replace(/%([0-9A-F]{2})/g,function(O,I){var P=String.fromCharCode("0x"+I);return P==="%"?"%25":P}))},C=function(L){for(var O=window.atob(L.split(",")[1]),I=L.split(",")[0].split(":")[1].split(";")[0],P=new ArrayBuffer(O.length),q=new Uint8Array(P),W=0;W<O.length;W++)q[W]=O.charCodeAt(W);return new Blob([P],{type:I})},$=function(L,O){if(O)try{return L.querySelector(O)||L.parentNode&&L.parentNode.querySelector(O)}catch(I){console.warn('Invalid CSS selector "'+O+'"',I)}},D=function(L,O){var I=L.cssText.match(l),P=I&&I[1]||"";if(!(!P||P.match(/^data:/)||P==="about:blank")){var q=P.startsWith("../")?O+"/../"+P:P.startsWith("./")?O+"/."+P:P;return{text:L.cssText,format:b(q),url:q}}},k=function(L){return Promise.all(Array.from(L.querySelectorAll("image")).map(function(O){var I=O.getAttributeNS("http://www.w3.org/1999/xlink","href")||O.getAttribute("href");return I?(_(I)&&(I+=(I.indexOf("?")===-1?"?":"&")+"t="+new Date().valueOf()),new Promise(function(P,q){var W=document.createElement("canvas"),J=new Image;J.crossOrigin="anonymous",J.src=I,J.onerror=function(){return q(new Error("Could not load "+I))},J.onload=function(){W.width=J.width,W.height=J.height,W.getContext("2d").drawImage(J,0,0),O.setAttributeNS("http://www.w3.org/1999/xlink","href",W.toDataURL("image/png")),P(!0)}})):Promise.resolve(null)}))},F={},V=function(L){return Promise.all(L.map(function(O){return new Promise(function(I,P){if(F[O.url])return I(F[O.url]);var q=new XMLHttpRequest;q.addEventListener("load",function(){var W=T(q.response),J=O.text.replace(l,'url("data:'+O.format+";base64,"+W+'")')+`
-`;F[O.url]=J,I(J)}),q.addEventListener("error",function(W){console.warn("Failed to load font from: "+O.url,W),F[O.url]=null,I(null)}),q.addEventListener("abort",function(W){console.warn("Aborted loading font from: "+O.url,W),I(null)}),q.open("GET",O.url),q.responseType="arraybuffer",q.send()})})).then(function(O){return O.filter(function(I){return I}).join("")})},te=null,z=function(){return te||(te=Array.from(document.styleSheets).map(function(L){try{return{rules:L.cssRules,href:L.href}}catch(O){return console.warn("Stylesheet could not be loaded: "+L.href,O),{}}}))},X=function(L,O){var I=O||{},P=I.selectorRemap,q=I.modifyStyle,W=I.modifyCss,J=I.fonts,se=I.excludeUnusedCss,we=W||function(ae,ye){var w=P?P(ae):ae,m=q?q(ye):ye;return w+"{"+m+`}
-`},Q=[],ee=typeof J>"u",de=J||[];return z().forEach(function(ae){var ye=ae.rules,w=ae.href;ye&&Array.from(ye).forEach(function(m){if(typeof m.style<"u")if($(L,m.selectorText))Q.push(we(m.selectorText,m.style.cssText));else if(ee&&m.cssText.match(/^@font-face/)){var A=D(m,w);A&&de.push(A)}else se||Q.push(m.cssText)})}),V(de).then(function(ae){return Q.join(`
-`)+ae})},me=function(){if(!navigator.msSaveOrOpenBlob&&!("download"in document.createElement("a")))return{popup:window.open()}};t.prepareSvg=function(U,L,O){v(U);var I=L||{},P=I.left,q=P===void 0?0:P,W=I.top,J=W===void 0?0:W,se=I.width,we=I.height,Q=I.scale,ee=Q===void 0?1:Q,de=I.responsive,ae=de===void 0?!1:de,ye=I.excludeCss,w=ye===void 0?!1:ye;return k(U).then(function(){var m=U.cloneNode(!0);m.style.backgroundColor=(L||{}).backgroundColor||U.style.backgroundColor;var A=R(U,m,se,we),j=A.width,G=A.height;if(U.tagName!=="svg")if(U.getBBox){m.getAttribute("transform")!=null&&m.setAttribute("transform",m.getAttribute("transform").replace(/translate\(.*?\)/,""));var c=document.createElementNS("http://www.w3.org/2000/svg","svg");c.appendChild(m),m=c}else{console.error("Attempted to render non-SVG element",U);return}if(m.setAttribute("version","1.1"),m.setAttribute("viewBox",[q,J,j,G].join(" ")),m.getAttribute("xmlns")||m.setAttributeNS(r,"xmlns",o),m.getAttribute("xmlns:xlink")||m.setAttributeNS(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),ae?(m.removeAttribute("width"),m.removeAttribute("height"),m.setAttribute("preserveAspectRatio","xMinYMin meet")):(m.setAttribute("width",j*ee),m.setAttribute("height",G*ee)),Array.from(m.querySelectorAll("foreignObject > *")).forEach(function(N){N.setAttributeNS(r,"xmlns",N.tagName==="svg"?o:a)}),w){var p=document.createElement("div");p.appendChild(m);var S=p.innerHTML;if(typeof O=="function")O(S,j,G);else return{src:S,width:j,height:G}}else return X(U,L).then(function(N){var re=document.createElement("style");re.setAttribute("type","text/css"),re.innerHTML=`<![CDATA[
-`+N+`
-]]>`;var H=document.createElement("defs");H.appendChild(re),m.insertBefore(H,m.firstChild);var K=document.createElement("div");K.appendChild(m);var Ae=K.innerHTML.replace(/NS\d+:href/gi,'xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href');if(typeof O=="function")O(Ae,j,G);else return{src:Ae,width:j,height:G}})})},t.svgAsDataUri=function(U,L,O){return v(U),t.prepareSvg(U,L).then(function(I){var P=I.src,q=I.width,W=I.height,J="data:image/svg+xml;base64,"+window.btoa(B(s+P));return typeof O=="function"&&O(J,q,W),J})},t.svgAsPngUri=function(U,L,O){v(U);var I=L||{},P=I.encoderType,q=P===void 0?"image/png":P,W=I.encoderOptions,J=W===void 0?.8:W,se=I.canvg,we=function(ee){var de=ee.src,ae=ee.width,ye=ee.height,w=document.createElement("canvas"),m=w.getContext("2d"),A=window.devicePixelRatio||1;w.width=ae*A,w.height=ye*A,w.style.width=w.width+"px",w.style.height=w.height+"px",m.setTransform(A,0,0,A,0,0),se?se(w,de):m.drawImage(de,0,0);var j=void 0;try{j=w.toDataURL(q,J)}catch(G){if(typeof SecurityError<"u"&&G instanceof SecurityError||G.name==="SecurityError"){console.error("Rendered SVG images cannot be downloaded in this browser.");return}else throw G}return typeof O=="function"&&O(j,w.width,w.height),Promise.resolve(j)};return se?t.prepareSvg(U,L).then(we):t.svgAsDataUri(U,L).then(function(Q){return new Promise(function(ee,de){var ae=new Image;ae.onload=function(){return ee(we({src:ae,width:ae.width,height:ae.height}))},ae.onerror=function(){de(`There was an error loading the data URI as an image on the following SVG
-`+window.atob(Q.slice(26))+`Open the following link to see browser's diagnosis
-`+Q)},ae.src=Q})})},t.download=function(U,L,O){if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(C(L),U);else{var I=document.createElement("a");if("download"in I){I.download=U,I.style.display="none",document.body.appendChild(I);try{var P=C(L),q=URL.createObjectURL(P);I.href=q,I.onclick=function(){return requestAnimationFrame(function(){return URL.revokeObjectURL(q)})}}catch(W){console.error(W),console.warn("Error while getting object URL. Falling back to string URL."),I.href=L}I.click(),document.body.removeChild(I)}else O&&O.popup&&(O.popup.document.title=U,O.popup.location.replace(L))}},t.saveSvg=function(U,L,O){var I=me();return g(U).then(function(P){return t.svgAsDataUri(P,O||{})}).then(function(P){return t.download(L,P,I)})},t.saveSvgAsPng=function(U,L,O){var I=me();return g(U).then(function(P){return t.svgAsPngUri(P,O||{})}).then(function(P){return t.download(L,P,I)})}})()})(Mu);window.Buffer=rt.Buffer;window.process=Ma;window.EventEmitter=ja;document.getElementById("body");let yt=document.getElementById("previewSVG");const bt=["Edge_Cuts","profile","B_Cu","copper_bottom","F_Cu","copper_top","B_Mask","soldermask_bottom","F_Mask","soldermask_top","B_Paste","solderpaste_bottom","F_Paste","solderpaste_top","drill","B_Silkscreen","B_Silks","silkscreen_bottom","F_Silkscreen","F_Silks","silkscreen_top"],jn={Edge_Cuts:[70,105,58,1],profile:[70,105,58,1],B_Cu:[30,130,220,.8],copper_bottom:[30,130,220,.8],F_Cu:[89,165,82,.8],copper_top:[89,165,82,.8],B_Mask:[200,177,170,.6],soldermask_bottom:[200,177,170,.6],F_Mask:[239,177,58,1],soldermask_top:[239,177,58,1],B_Paste:[200,20,230,.2],solderpaste_bottom:[200,20,230,.2],F_Paste:[200,20,230,.3],solderpaste_top:[200,20,230,.3],drill:[120,120,120,1],B_Silkscreen:[255,255,255,.6],B_Silks:[255,255,255,.6],silkscreen_bottom:[255,255,255,.6],F_Silkscreen:[255,255,255,1],F_Silks:[255,255,255,1],silkscreen_top:[255,255,255,1]};let ft=[],Et=null,Z={fillEdge:!0,asSVG:!1,dpi:1e3,svgOrig:[NaN,NaN],lockOrig:!1,svgDim:[NaN,NaN],lockDim:!1,svgMargin:[0,0]};function $n(){if(Et===null)yt.outerHTML='<svg id="previewSVG"></svg>';else{let e=new XMLSerializer;yt.outerHTML=e.serializeToString(Et)}yt=document.getElementById("previewSVG")}function dt(e=!1){console.log(JSON.stringify(ft));let t=new DOMParser;if(Et=t.parseFromString('<svg id="previewSVG" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"></svg>',"text/xml"),ft.length==0){$n();return}let r=ft.toSorted((E,R)=>bt.indexOf(E[0])-bt.indexOf(R[0])),a,o,s=Number.MAX_VALUE,l=-Number.MAX_VALUE,f=Number.MAX_VALUE,h=-Number.MAX_VALUE,v=Et.childNodes[0];v.setAttribute("stroke-linecap","round"),v.setAttribute("stroke-linejoin","round"),v.setAttribute("stroke-width","0"),v.setAttribute("fill-rule","evenodd");let g,_,b;for([a,o]of r)_=t.parseFromString(o,"text/xml"),b=_.childNodes[0],g=b.getAttribute("viewBox").split(" ").map(E=>Number(E)),b.childNodes.length!=0&&(s=Math.min(s,g[0]),l=Math.max(l,g[0]+g[2]),f=Math.min(f,g[1]),h=Math.max(h,g[1]+g[3]));e||((!Z.lockOrig||isNaN(Z.svgOrig[0]))&&(Z.svgOrig[0]=s/1e3,Z.svgOrig[1]=f/1e3),(!Z.lockDim||isNaN(Z.svgDim[0]))&&(Z.svgDim[0]=(l-s)/1e3,Z.svgDim[1]=(h-f)/1e3)),Au();let T=[Z.svgOrig[0]-Z.svgMargin[0],Z.svgOrig[1]-Z.svgMargin[1],Z.svgDim[0]+2*Z.svgMargin[0],Z.svgDim[1]+2*Z.svgMargin[1]].map(E=>E*1e3);v.setAttribute("viewBox",T.join(" ")),v.setAttribute("width",`${(T[2]/1e3).toFixed(3)}mm`),v.setAttribute("height",`${(T[3]/1e3).toFixed(3)}mm`);for([a,o]of r){_=t.parseFromString(o,"text/xml"),b=_.childNodes[0],g=b.getAttribute("viewBox").split(" ").map(B=>Number(B));let E="rgb("+jn[a].slice(0,3).join(",")+")",R=jn[a][3];for(let B of b.childNodes){if(B.tagName=="g"){const C=/translate\([-.\d]+,\s*([-.\d]+)\)/,$=B.getAttribute("transform").match(C);let D=Number($[1]);D+=T[1]+T[3]-(g[1]+g[3]),D+=T[1]-g[1],B.setAttribute("transform",`translate(0, ${D}) scale(1, -1)`),B.setAttribute("opacity",R),B.setAttribute("fill",E),B.setAttribute("stroke",E),B.childNodes.forEach(k=>{["profile","Edge_Cuts"].includes(a)&&Z.fillEdge&&(k.removeAttribute("fill"),k.setAttribute("stroke","none"))})}v.appendChild(B.cloneNode(!0))}}$n()}function Ru(e=!1){if(e)return;let t=new XMLSerializer().serializeToString(yt),r="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(t),a=document.createElement("a");a.href=r,a.download="render.svg",document.body.appendChild(a),a.click(),document.body.removeChild(a)}var nt=document.getElementById("dropZone");function Su(){nt.style.visibility="visible"}function ya(){nt.style.visibility="hidden"}window.addEventListener("dragenter",e=>{Su()});function ma(e){e.dataTransfer.dropEffect="copy",e.preventDefault()}nt.addEventListener("dragenter",ma);nt.addEventListener("dragover",ma);nt.addEventListener("dragleave",e=>{ya()});nt.addEventListener("drop",e=>{if(e.preventDefault(),ya(),!e.dataTransfer.items)return;let t=[];for(let r of e.dataTransfer.files){let a;if(r.name.endsWith(".xln")||r.name.endsWith(".drl"))a="drill";else{if(!r.name.endsWith(".gbr"))continue;let s=r.name.replace(".gbr",""),l=-1;for(let f in bt)if(a=bt[f],s.endsWith(a)){l=f;break}if(l==-1)continue}let o=new Promise((s,l)=>{const f=new FileReader;f.onload=h=>{const v={encoding:"utf8",optimizePaths:!0};Eu(f.result,v,(g,_)=>{s(g?null:[a,_])})},f.onerror=l,f.readAsText(r)});t.push(o)}Promise.all(t).then(r=>{ft=r,dt()})});function _a(){let e=document.getElementById("settingsFill"),t=document.getElementById("settingsAsSVG"),r=document.getElementById("settingsDPI"),a=document.getElementById("settingsOrigX"),o=document.getElementById("settingsOrigY"),s=document.getElementById("settingsDimX"),l=document.getElementById("settingsDimY"),f=document.getElementById("settingsMarginX"),h=document.getElementById("settingsMarginY");Z.fillEdge=e.checked,Z.asSVG=t.checked,Z.dpi=Number(r.value),Z.svgMargin=[Number(f.value),Number(h.value)],Z.svgOrig=[Number(a.value),Number(o.value)],Z.svgDim=[Number(s.value),Number(l.value)]}function Au(){let e=document.getElementById("settingsOrigX"),t=document.getElementById("settingsOrigY"),r=document.getElementById("settingsDimX"),a=document.getElementById("settingsDimY");e.value=Z.svgOrig[0],t.value=Z.svgOrig[1],r.value=Z.svgDim[0],a.value=Z.svgDim[1]}function Tu(){for(let e of["settingsFill","settingsAsSVG","settingsDPI","settingsOrigX","settingsOrigY","settingsDimX","settingsDimY","settingsMarginX","settingsMarginY"])document.getElementById(e).addEventListener("change",()=>{_a(),dt(!0)})}let Xt=document.getElementById("settingsLockOrig"),Vt=document.getElementById("settingsLockDim");Xt.addEventListener("click",()=>{let e=document.getElementById("settingsOrigX"),t=document.getElementById("settingsOrigY");Z.lockOrig?(e.disabled=!1,t.disabled=!1,Z.lockOrig=!1,Xt.innerHTML="🔓"):(e.disabled=!0,t.disabled=!0,Z.lockOrig=!0,Xt.innerHTML="🔒"),dt()});Vt.addEventListener("click",()=>{let e=document.getElementById("settingsDimX"),t=document.getElementById("settingsDimY");Z.lockDim?(e.disabled=!1,t.disabled=!1,Z.lockDim=!1,Vt.innerHTML="🔓"):(e.disabled=!0,t.disabled=!0,Z.lockDim=!0,Vt.innerHTML="🔒"),dt()});document.getElementById("downloadRenderButton").addEventListener("click",()=>{Ru(!1)});_a();Tu();ft=JSON.parse('[["Edge_Cuts","<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" fill-rule="evenodd" width="34.39mm" height="38.835mm" viewBox="52655 -71170 34390 38835"><g transform="translate(0,-103505) scale(1,-1)" fill="currentColor" stroke="currentColor"><path d="M 86995 -34925 A 2540 2540 0 0 1 84455 -32385 L 55245 -32385 A 2540 2540 0 0 1 52705 -34925 L 52705 -68580 A 2540 2540 0 0 1 55245 -71120 L 84455 -71120 A 2540 2540 0 0 1 86995 -68580 L 86995 -34925" fill="none" stroke-width="100"/></g></svg>"],["F_Cu","<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" fill-rule="evenodd" width="32.531mm" height="34.7mm" viewBox="53775 -68780 32531 34700"><defs><rect x="-635" y="-1270" width="1270" height="2540" id="QCr-OfI3ACdX_pad-10"/><rect x="-850" y="-1000" width="1700" height="2000" id="QCr-OfI3ACdX_pad-11"/><rect x="-1000" y="-850" width="2000" height="1700" id="QCr-OfI3ACdX_pad-12"/><rect x="-1500" y="-800" width="3000" height="1600" id="QCr-OfI3ACdX_pad-13"/><rect x="-600" y="-1200" width="1200" height="2400" id="QCr-OfI3ACdX_pad-14"/><circle cx="0" cy="0" r="600" id="QCr-OfI3ACdX_pad-15"/><rect x="-370" y="-1200" width="740" height="2400" id="QCr-OfI3ACdX_pad-16"/></defs><g transform="translate(0,-102860) scale(1,-1)" fill="currentColor" stroke="currentColor"><use xlink:href="#QCr-OfI3ACdX_pad-10" x="67970" y="-61550"/><use xlink:href="#QCr-OfI3ACdX_pad-10" x="65430" y="-61550"/><use xlink:href="#QCr-OfI3ACdX_pad-10" x="62890" y="-61550"/><use xlink:href="#QCr-OfI3ACdX_pad-10" x="60350" y="-61550"/><use xlink:href="#QCr-OfI3ACdX_pad-10" x="57810" y="-61550"/><use xlink:href="#QCr-OfI3ACdX_pad-10" x="55270" y="-61550"/><use xlink:href="#QCr-OfI3ACdX_pad-11" x="82550" y="-48800"/><use xlink:href="#QCr-OfI3ACdX_pad-11" x="82550" y="-52800"/><use xlink:href="#QCr-OfI3ACdX_pad-12" x="81375" y="-55880"/><use xlink:href="#QCr-OfI3ACdX_pad-12" x="77375" y="-55880"/><use xlink:href="#QCr-OfI3ACdX_pad-12" x="63595" y="-55880"/><use xlink:href="#QCr-OfI3ACdX_pad-12" x="59595" y="-55880"/><use xlink:href="#QCr-OfI3ACdX_pad-12" x="71215" y="-55880"/><use xlink:href="#QCr-OfI3ACdX_pad-12" x="67215" y="-55880"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="61235" y="-35560"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="61235" y="-38100"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="61235" y="-40640"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="61235" y="-43180"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="61235" y="-45720"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="61235" y="-48260"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="61235" y="-50800"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="78470" y="-50800"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="78470" y="-48260"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="78470" y="-45720"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="78470" y="-43180"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="78470" y="-40640"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="78470" y="-38100"/><use xlink:href="#QCr-OfI3ACdX_pad-13" x="78470" y="-35560"/><use xlink:href="#QCr-OfI3ACdX_pad-14" x="71125" y="-52070"/><use xlink:href="#QCr-OfI3ACdX_pad-14" x="68585" y="-52070"/><use xlink:href="#QCr-OfI3ACdX_pad-15" x="68580" y="-34680"/><use xlink:href="#QCr-OfI3ACdX_pad-15" x="68580" y="-37220"/><use xlink:href="#QCr-OfI3ACdX_pad-15" x="71120" y="-37220"/><use xlink:href="#QCr-OfI3ACdX_pad-15" x="71120" y="-34680"/><use xlink:href="#QCr-OfI3ACdX_pad-11" x="57785" y="-47720"/><use xlink:href="#QCr-OfI3ACdX_pad-11" x="57785" y="-43720"/><use xlink:href="#QCr-OfI3ACdX_pad-16" x="81915" y="-61550"/><use xlink:href="#QCr-OfI3ACdX_pad-16" x="81915" y="-65450"/><use xlink:href="#QCr-OfI3ACdX_pad-16" x="80645" y="-61550"/><use xlink:href="#QCr-OfI3ACdX_pad-16" x="80645" y="-65450"/><use xlink:href="#QCr-OfI3ACdX_pad-16" x="79375" y="-61550"/><use xlink:href="#QCr-OfI3ACdX_pad-16" x="79375" y="-65450"/><use xlink:href="#QCr-OfI3ACdX_pad-16" x="78105" y="-61550"/><use xlink:href="#QCr-OfI3ACdX_pad-16" x="78105" y="-65450"/><use xlink:href="#QCr-OfI3ACdX_pad-16" x="76835" y="-61550"/><use xlink:href="#QCr-OfI3ACdX_pad-16" x="76835" y="-65450"/><path d="M 77765 -67310 78105 -66970 78105 -65450 79375 -65450 79375 -67050 79375 -66720 M 79375 -67050 79635 -67310 81280 -67310 81915 -66675 81915 -65450 83140 -65450 85090 -63500 85090 -48895 84995 -48800 82550 -48800 M 85090 -48895 85090 -42545 80645 -38100 77470 -38100 79450 -38100 M 56515 -67310 71120 -67310 77765 -67310 M 71215 -67215 71120 -67310 M 55270 -60915 55270 -61550 55270 -66065 56515 -67310 M 71215 -55880 71215 -67215 M 81915 -68580 86106 -64389 86106 -41910 79756 -35560 77470 -35560 79450 -35560 M 60039.002 -59404.002 54260.998 -59404.002 53975 -59690 53975 -66675 55880 -68580 81915 -68580 M 60350 -59715 60039.002 -59404.002 M 60350 -61550 60350 -59715 M 81915 -59690 81915 -61550 M 77470 -48260 74930 -50800 74930 -56504.295 76845.206 -58419.501 80644.501 -58419.501 81915 -59690 M 74120.499 -49069.501 74120.499 -56839.602 76509.9 -59229.002 77384.002 -59229.002 78105 -59950 78105 -61550 M 77470 -45720 74120.499 -49069.501 M 76835 -60960 73310.998 -57435.998 73310.998 -47339.002 77470 -43180 M 76835 -61550 76835 -60960 M 56515 -56385.488 57914.512 -57785 62300 -57785 65430 -60915 M 56515 -48990 56515 -56385.488 M 57785 -47720 56515 -48990 M 57229.704 -58245 57229 -58245 55372 -56388 55372 -43053 57785 -40640 62235 -40640 M 61769.501 -58594.501 57579.205 -58594.501 57229.704 -58245 M 62890 -59715 61769.501 -58594.501 M 62890 -60915 62890 -59715 M 62235 -48392 62235 -48260 M 58325 -43180 57785 -43720 M 62235 -43180 58325 -43180 M 59595 -51530 59595 -55880 M 60325 -50800 59595 -51530 M 62235 -50800 60325 -50800 M 63595 -55880 67215 -55880 M 77375 -50895 77375 -55880 M 79375 -50800 77470 -50800 77375 -50895 M 81375 -55880 81915 -55880 82550 -55245 82550 -52800" fill="none" stroke-width="400"/></g></svg>"],["F_Mask","<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" fill-rule="evenodd" width="28.765mm" height="32.57mm" viewBox="54635 -66650 28765 32570"><defs><rect x="-635" y="-1270" width="1270" height="2540" id="vLxGVjB7DadG_pad-10"/><rect x="-850" y="-1000" width="1700" height="2000" id="vLxGVjB7DadG_pad-11"/><rect x="-1000" y="-850" width="2000" height="1700" id="vLxGVjB7DadG_pad-12"/><rect x="-1500" y="-800" width="3000" height="1600" id="vLxGVjB7DadG_pad-13"/><rect x="-600" y="-1200" width="1200" height="2400" id="vLxGVjB7DadG_pad-14"/><circle cx="0" cy="0" r="600" id="vLxGVjB7DadG_pad-15"/><rect x="-370" y="-1200" width="740" height="2400" id="vLxGVjB7DadG_pad-16"/></defs><g transform="translate(0,-100730) scale(1,-1)" fill="currentColor" stroke="currentColor"><use xlink:href="#vLxGVjB7DadG_pad-10" x="67970" y="-61550"/><use xlink:href="#vLxGVjB7DadG_pad-10" x="65430" y="-61550"/><use xlink:href="#vLxGVjB7DadG_pad-10" x="62890" y="-61550"/><use xlink:href="#vLxGVjB7DadG_pad-10" x="60350" y="-61550"/><use xlink:href="#vLxGVjB7DadG_pad-10" x="57810" y="-61550"/><use xlink:href="#vLxGVjB7DadG_pad-10" x="55270" y="-61550"/><use xlink:href="#vLxGVjB7DadG_pad-11" x="82550" y="-48800"/><use xlink:href="#vLxGVjB7DadG_pad-11" x="82550" y="-52800"/><use xlink:href="#vLxGVjB7DadG_pad-12" x="81375" y="-55880"/><use xlink:href="#vLxGVjB7DadG_pad-12" x="77375" y="-55880"/><use xlink:href="#vLxGVjB7DadG_pad-12" x="63595" y="-55880"/><use xlink:href="#vLxGVjB7DadG_pad-12" x="59595" y="-55880"/><use xlink:href="#vLxGVjB7DadG_pad-12" x="71215" y="-55880"/><use xlink:href="#vLxGVjB7DadG_pad-12" x="67215" y="-55880"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="61235" y="-35560"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="61235" y="-38100"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="61235" y="-40640"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="61235" y="-43180"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="61235" y="-45720"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="61235" y="-48260"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="61235" y="-50800"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="78470" y="-50800"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="78470" y="-48260"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="78470" y="-45720"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="78470" y="-43180"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="78470" y="-40640"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="78470" y="-38100"/><use xlink:href="#vLxGVjB7DadG_pad-13" x="78470" y="-35560"/><use xlink:href="#vLxGVjB7DadG_pad-14" x="71125" y="-52070"/><use xlink:href="#vLxGVjB7DadG_pad-14" x="68585" y="-52070"/><use xlink:href="#vLxGVjB7DadG_pad-15" x="68580" y="-34680"/><use xlink:href="#vLxGVjB7DadG_pad-15" x="68580" y="-37220"/><use xlink:href="#vLxGVjB7DadG_pad-15" x="71120" y="-37220"/><use xlink:href="#vLxGVjB7DadG_pad-15" x="71120" y="-34680"/><use xlink:href="#vLxGVjB7DadG_pad-11" x="57785" y="-47720"/><use xlink:href="#vLxGVjB7DadG_pad-11" x="57785" y="-43720"/><use xlink:href="#vLxGVjB7DadG_pad-16" x="81915" y="-61550"/><use xlink:href="#vLxGVjB7DadG_pad-16" x="81915" y="-65450"/><use xlink:href="#vLxGVjB7DadG_pad-16" x="80645" y="-61550"/><use xlink:href="#vLxGVjB7DadG_pad-16" x="80645" y="-65450"/><use xlink:href="#vLxGVjB7DadG_pad-16" x="79375" y="-61550"/><use xlink:href="#vLxGVjB7DadG_pad-16" x="79375" y="-65450"/><use xlink:href="#vLxGVjB7DadG_pad-16" x="78105" y="-61550"/><use xlink:href="#vLxGVjB7DadG_pad-16" x="78105" y="-65450"/><use xlink:href="#vLxGVjB7DadG_pad-16" x="76835" y="-61550"/><use xlink:href="#vLxGVjB7DadG_pad-16" x="76835" y="-65450"/></g></svg>"],["F_Silkscreen","<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" fill-rule="evenodd" width="31.927400000000002mm" height="41.975mm" viewBox="53940 -73040 31927.4 41975"><g transform="translate(0,-104105) scale(1,-1)" fill="currentColor" stroke="currentColor"><path d="M 83026.2 -34999.533 83059.533 -34932.866 83126.2 -34866.2 83226.2 -34766.2 83259.533 -34699.533 83259.533 -34632.866 M 83192.866 -34932.866 83126.2 -34866.2 83092.866 -34799.533 83092.866 -34666.2 83126.2 -34599.533 83192.866 -34532.866 83326.2 -34499.533 83559.533 -34499.533 83692.866 -34532.866 83759.533 -34599.533 83792.866 -34666.2 83792.866 -34799.533 83759.533 -34866.2 83692.866 -34932.866 83559.533 -34966.2 83326.2 -34966.2 83192.866 -34932.866 M 83559.533 -35566.199 83092.866 -35566.199 M 83559.533 -35266.199 83192.866 -35266.199 83126.2 -35299.533 83092.866 -35366.199 83092.866 -35466.199 83126.2 -35532.866 83159.533 -35566.199 M 83126.2 -36166.199 83092.866 -36099.532 83092.866 -35966.199 83126.2 -35899.532 83192.866 -35866.199 83459.533 -35866.199 83526.2 -35899.532 83559.533 -35966.199 83559.533 -36099.532 83526.2 -36166.199 83459.533 -36199.532 83392.866 -36199.532 83326.2 -35866.199 M 83559.533 -36499.532 83092.866 -36499.532 M 83492.866 -36499.532 83526.2 -36532.866 83559.533 -36599.532 83559.533 -36699.532 83526.2 -36766.199 83459.533 -36799.532 83092.866 -36799.532 M 83559.533 -37032.865 83559.533 -37299.532 M 83792.866 -37132.865 83192.866 -37132.865 83126.2 -37166.199 83092.866 -37232.865 83092.866 -37299.532 M 83092.866 -37532.865 83559.533 -37532.865 M 83792.866 -37532.865 83759.533 -37499.532 83726.2 -37532.865 83759.533 -37566.199 83792.866 -37532.865 83726.2 -37532.865 M 83559.533 -37866.198 83092.866 -37866.198 M 83492.866 -37866.198 83526.2 -37899.532 83559.533 -37966.198 83559.533 -38066.198 83526.2 -38132.865 83459.533 -38166.198 83092.866 -38166.198 M 83459.533 -39266.198 83426.2 -39366.198 83392.866 -39399.531 83326.2 -39432.864 83226.2 -39432.864 83159.533 -39399.531 83126.2 -39366.198 83092.866 -39299.531 83092.866 -39032.864 83792.866 -39032.864 83792.866 -39266.198 83759.533 -39332.864 83726.2 -39366.198 83659.533 -39399.531 83592.866 -39399.531 83526.2 -39366.198 83492.866 -39332.864 83459.533 -39266.198 83459.533 -39032.864 M 83092.866 -39832.864 83126.2 -39766.198 83159.533 -39732.864 83226.2 -39699.531 83426.2 -39699.531 83492.866 -39732.864 83526.2 -39766.198 83559.533 -39832.864 83559.533 -39932.864 83526.2 -39999.531 83492.866 -40032.864 83426.2 -40066.198 83226.2 -40066.198 83159.533 -40032.864 83126.2 -39999.531 83092.866 -39932.864 83092.866 -39832.864 M 83092.866 -40466.197 83126.2 -40399.531 83192.866 -40366.197 83792.866 -40366.197 M 83126.2 -40699.531 83092.866 -40766.198 83092.866 -40899.531 83126.2 -40966.198 83192.866 -40999.531 83226.2 -40999.531 83292.866 -40966.198 83326.2 -40899.531 83326.2 -40799.531 83359.533 -40732.864 83426.2 -40699.531 83459.533 -40699.531 83526.2 -40732.864 83559.533 -40799.531 83559.533 -40899.531 83526.2 -40966.198 M 83126.2 -41566.198 83092.866 -41499.531 83092.866 -41366.198 83126.2 -41299.531 83192.866 -41266.198 83459.533 -41266.198 83526.2 -41299.531 83559.533 -41366.198 83559.533 -41499.531 83526.2 -41566.198 83459.533 -41599.531 83392.866 -41599.531 83326.2 -41266.198 M 83826.2 -41499.531 83726.2 -41399.531 M 83126.2 -42166.198 83092.866 -42099.531 83092.866 -41966.198 83126.2 -41899.531 83192.866 -41866.198 83459.533 -41866.198 83526.2 -41899.531 83559.533 -41966.198 83559.533 -42099.531 83526.2 -42166.198 83459.533 -42199.531 83392.866 -42199.531 83326.2 -41866.198 M 83726.2 -42999.531 83759.533 -43032.864 83792.866 -43099.531 83792.866 -43266.198 83759.533 -43332.864 83726.2 -43366.198 83659.533 -43399.531 83592.866 -43399.531 83492.866 -43366.198 83092.866 -42966.198 83092.866 -43399.531 M 83792.866 -43832.865 83792.866 -43899.531 83759.533 -43966.198 83726.2 -43999.531 83659.533 -44032.865 83526.2 -44066.198 83359.533 -44066.198 83226.2 -44032.865 83159.533 -43999.531 83126.2 -43966.198 83092.866 -43899.531 83092.866 -43832.865 83126.2 -43766.198 83159.533 -43732.865 83226.2 -43699.531 83359.533 -43666.198 83526.2 -43666.198 83659.533 -43699.531 83726.2 -43732.865 83759.533 -43766.198 83792.866 -43832.865 M 83726.2 -44332.865 83759.533 -44366.198 83792.866 -44432.865 83792.866 -44599.532 83759.533 -44666.198 83726.2 -44699.532 83659.533 -44732.865 83592.866 -44732.865 83492.866 -44699.532 83092.866 -44299.532 83092.866 -44732.865 M 83792.866 -44966.199 83792.866 -45399.532 83526.2 -45166.199 83526.2 -45266.199 83492.866 -45332.865 83459.533 -45366.199 83392.866 -45399.532 83226.2 -45399.532 83159.533 -45366.199 83126.2 -45332.865 83092.866 -45266.199 83092.866 -45066.199 83126.2 -44999.532 83159.533 -44966.199 M 78740 -69469 78740 -69215 M 80010 -69469 80010 -69215 M 78740 -69469 80010 -69469" fill="none" stroke-width="120"/><path d="M 81607.428 -58547.142 81893.142 -58347.142 M 81607.428 -58204.285 82207.428 -58204.285 82207.428 -58432.856 82178.857 -58489.999 82150.285 -58518.57 82093.142 -58547.142 82007.428 -58547.142 81950.285 -58518.57 81921.714 -58489.999 81893.142 -58432.856 81893.142 -58204.285 M 81636 -58775.713 81607.428 -58861.428 81607.428 -59004.285 81636 -59061.428 81664.571 -59089.999 81721.714 -59118.57 81778.857 -59118.57 81836 -59089.999 81864.571 -59061.428 81893.142 -59004.285 81921.714 -58889.999 81950.285 -58832.856 81978.857 -58804.285 82036 -58775.713 82093.142 -58775.713 82150.285 -58804.285 82178.857 -58832.856 82207.428 -58889.999 82207.428 -59032.856 82178.857 -59118.57 M 82207.428 -59289.999 82207.428 -59632.857 M 81607.428 -59461.428 82207.428 -59461.428 M 80337.428 -58604.286 80937.428 -58604.286 80337.428 -58947.143 80937.428 -58947.143 M 80394.571 -59575.714 80366 -59547.142 80337.428 -59461.428 80337.428 -59404.285 80366 -59318.571 80423.142 -59261.428 80480.285 -59232.857 80594.571 -59204.285 80680.285 -59204.285 80794.571 -59232.857 80851.714 -59261.428 80908.857 -59318.571 80937.428 -59404.285 80937.428 -59461.428 80908.857 -59547.142 80880.285 -59575.714" fill="none" stroke-width="100"/><path d="M 70707.742 -65522.999 69979.171 -65522.999 69893.457 -65565.856 69850.6 -65608.714 69807.742 -65694.428 69807.742 -65865.856 69850.6 -65951.571 69893.457 -65994.428 69979.171 -66037.285 70707.742 -66037.285 M 70064.885 -66422.999 70064.885 -66851.571 M 69807.742 -66337.285 70707.742 -66637.285 69807.742 -66937.285 M 69807.742 -67751.571 70236.314 -67451.571 M 69807.742 -67237.285 70707.742 -67237.285 70707.742 -67580.142 70664.885 -67665.857 70622.028 -67708.714 70536.314 -67751.571 70407.742 -67751.571 70322.028 -67708.714 70279.171 -67665.857 70236.314 -67580.142 70236.314 -67237.285 M 70707.742 -68008.714 70707.742 -68523 M 69807.742 -68265.857 70707.742 -68265.857 M 70150.6 -68822.999 70150.6 -69508.714 69979.171 -69337.285 M 70150.6 -69508.714 70322.028 -69337.285" fill="none" stroke-width="120"/><path d="M 78368.857 -67767.142 78397.428 -67710 78397.428 -67624.285 78368.857 -67538.571 78311.714 -67481.428 78254.571 -67452.857 78140.285 -67424.285 78054.571 -67424.285 77940.285 -67452.857 77883.142 -67481.428 77826 -67538.571 77797.428 -67624.285 77797.428 -67681.428 77826 -67767.142 77854.571 -67795.714 78054.571 -67795.714 78054.571 -67681.428 M 77797.428 -68052.857 78397.428 -68052.857 77797.428 -68395.714 78397.428 -68395.714 M 77797.428 -68681.428 78397.428 -68681.428 78397.428 -68824.285 78368.857 -68909.999 78311.714 -68967.142 78254.571 -68995.713 78140.285 -69024.285 78054.571 -69024.285 77940.285 -68995.713 77883.142 -68967.142 77826 -68909.999 77797.428 -68824.285 77797.428 -68681.428 M 77127.428 -67367.142 76527.428 -67567.142 77127.428 -67767.142 M 76584.571 -68310 76556 -68281.428 76527.428 -68195.714 76527.428 -68138.571 76556 -68052.857 76613.142 -67995.714 76670.285 -67967.143 76784.571 -67938.571 76870.285 -67938.571 76984.571 -67967.143 77041.714 -67995.714 77098.857 -68052.857 77127.428 -68138.571 77127.428 -68195.714 77098.857 -68281.428 77070.285 -68310 M 76584.571 -68910 76556 -68881.428 76527.428 -68795.714 76527.428 -68738.571 76556 -68652.857 76613.142 -68595.714 76670.285 -68567.143 76784.571 -68538.571 76870.285 -68538.571 76984.571 -68567.143 77041.714 -68595.714 77098.857 -68652.857 77127.428 -68738.571 77127.428 -68795.714 77098.857 -68881.428 77070.285 -68910" fill="none" stroke-width="100"/><path d="M 85107.4 -34550.333 85074.066 -34650.333 85074.066 -34817 85107.4 -34883.666 85140.733 -34917 85207.4 -34950.333 85274.066 -34950.333 85340.733 -34917 85374.066 -34883.666 85407.4 -34817 85440.733 -34683.666 85474.066 -34617 85507.4 -34583.666 85574.066 -34550.333 85640.733 -34550.333 85707.4 -34583.666 85740.733 -34617 85774.066 -34683.666 85774.066 -34850.333 85740.733 -34950.333 M 85774.066 -35183.667 85074.066 -35350.333 85574.066 -35483.667 85074.066 -35617 85774.066 -35783.667 M 85074.066 -36050.333 85774.066 -36050.333 85774.066 -36217 85740.733 -36317 85674.066 -36383.667 85607.4 -36417 85474.066 -36450.333 85374.066 -36450.333 85240.733 -36417 85174.066 -36383.667 85107.4 -36317 85074.066 -36217 85074.066 -36050.333 M 85807.4 -37250.333 84907.4 -36650.333 M 85774.066 -37483.666 85207.4 -37483.666 85140.733 -37517 85107.4 -37550.333 85074.066 -37617 85074.066 -37750.333 85107.4 -37817 85140.733 -37850.333 85207.4 -37883.666 85774.066 -37883.666 M 85274.066 -38183.666 85274.066 -38516.999 M 85074.066 -38116.999 85774.066 -38350.333 85074.066 -38583.666 M 85074.066 -39216.999 85407.4 -38983.666 M 85074.066 -38816.999 85774.066 -38816.999 85774.066 -39083.666 85740.733 -39150.333 85707.4 -39183.666 85640.733 -39216.999 85540.733 -39216.999 85474.066 -39183.666 85440.733 -39150.333 85407.4 -39083.666 85407.4 -38816.999 M 85774.066 -39416.999 85774.066 -39816.999 M 85074.066 -39616.999 85774.066 -39616.999 M 85074.066 -40883.665 85440.733 -40883.665 85507.4 -40850.332 85540.733 -40783.665 85540.733 -40650.332 85507.4 -40583.665 M 85107.4 -40883.665 85074.066 -40816.999 85074.066 -40650.332 85107.4 -40583.665 85174.066 -40550.332 85240.733 -40550.332 85307.4 -40583.665 85340.733 -40650.332 85340.733 -40816.999 85374.066 -40883.665 M 85074.066 -41516.998 85774.066 -41516.998 M 85107.4 -41516.998 85074.066 -41450.332 85074.066 -41316.998 85107.4 -41250.332 85140.733 -41216.998 85207.4 -41183.665 85407.4 -41183.665 85474.066 -41216.998 85507.4 -41250.332 85540.733 -41316.998 85540.733 -41450.332 85507.4 -41516.998 M 85074.066 -42150.331 85440.733 -42150.331 85507.4 -42116.998 85540.733 -42050.331 85540.733 -41916.998 85507.4 -41850.331 M 85107.4 -42150.331 85074.066 -42083.665 85074.066 -41916.998 85107.4 -41850.331 85174.066 -41816.998 85240.733 -41816.998 85307.4 -41850.331 85340.733 -41916.998 85340.733 -42083.665 85374.066 -42150.331 M 85540.733 -42483.664 84840.733 -42483.664 M 85507.4 -42483.664 85540.733 -42550.331 85540.733 -42683.664 85507.4 -42750.331 85474.066 -42783.664 85407.4 -42816.998 85207.4 -42816.998 85140.733 -42783.664 85107.4 -42750.331 85074.066 -42683.664 85074.066 -42550.331 85107.4 -42483.664 M 85540.733 -43016.997 85540.733 -43283.664 M 85774.066 -43116.997 85174.066 -43116.997 85107.4 -43150.331 85074.066 -43216.997 85074.066 -43283.664 M 85107.4 -43783.664 85074.066 -43716.997 85074.066 -43583.664 85107.4 -43516.997 85174.066 -43483.664 85440.733 -43483.664 85507.4 -43516.997 85540.733 -43583.664 85540.733 -43716.997 85507.4 -43783.664 85440.733 -43816.997 85374.066 -43816.997 85307.4 -43483.664 M 85074.066 -44116.997 85540.733 -44116.997 M 85407.4 -44116.997 85474.066 -44150.331 85507.4 -44183.664 85540.733 -44250.331 85540.733 -44316.997" fill="none" stroke-width="120"/><path d="M 77854.571 -58490 77826 -58461.428 77797.428 -58375.714 77797.428 -58318.571 77826 -58232.857 77883.142 -58175.714 77940.285 -58147.143 78054.571 -58118.571 78140.285 -58118.571 78254.571 -58147.143 78311.714 -58175.714 78368.857 -58232.857 78397.428 -58318.571 78397.428 -58375.714 78368.857 -58461.428 78340.285 -58490 M 77797.428 -59032.857 77797.428 -58747.143 78397.428 -58747.143 M 77797.428 -59232.857 78397.428 -59232.857 M 77797.428 -59575.714 78140.285 -59318.571 M 78397.428 -59575.714 78054.571 -59232.857 M 79638.857 -67767.142 79667.428 -67710 79667.428 -67624.285 79638.857 -67538.571 79581.714 -67481.428 79524.571 -67452.857 79410.285 -67424.285 79324.571 -67424.285 79210.285 -67452.857 79153.142 -67481.428 79096 -67538.571 79067.428 -67624.285 79067.428 -67681.428 79096 -67767.142 79124.571 -67795.714 79324.571 -67795.714 79324.571 -67681.428 M 79067.428 -68052.857 79667.428 -68052.857 79067.428 -68395.714 79667.428 -68395.714 M 79067.428 -68681.428 79667.428 -68681.428 79667.428 -68824.285 79638.857 -68909.999 79581.714 -68967.142 79524.571 -68995.713 79410.285 -69024.285 79324.571 -69024.285 79210.285 -68995.713 79153.142 -68967.142 79096 -68909.999 79067.428 -68824.285 79067.428 -68681.428 M 63157.428 -58718.57 63157.428 -59061.428 M 62557.428 -58889.999 63157.428 -58889.999 M 63157.428 -59204.285 62557.428 -59604.285 M 63157.428 -59604.285 62557.428 -59204.285" fill="none" stroke-width="100"/><path d="M 66394 -43156.333 66860.666 -43856.333 M 66860.666 -43156.333 66394 -43856.333 M 67127.333 -43856.333 67127.333 -43156.333 M 67427.333 -43656.333 67760.666 -43656.333 M 67360.666 -43856.333 67594 -43156.333 67827.333 -43856.333 M 68194 -43156.333 68327.333 -43156.333 68394 -43189.666 68460.666 -43256.333 68494 -43389.666 68494 -43623 68460.666 -43756.333 68394 -43823 68327.333 -43856.333 68194 -43856.333 68127.333 -43823 68060.666 -43756.333 68027.333 -43623 68027.333 -43389.666 68060.666 -43256.333 68127.333 -43189.666 68194 -43156.333 M 69727.332 -43856.333 69493.999 -43523 M 69327.332 -43856.333 69327.332 -43156.333 69593.999 -43156.333 69660.666 -43189.666 69693.999 -43223 69727.332 -43289.666 69727.332 -43389.666 69693.999 -43456.333 69660.666 -43489.666 69593.999 -43523 69327.332 -43523 M 70027.332 -43856.333 70027.332 -43156.333 70293.999 -43156.333 70360.666 -43189.666 70393.999 -43223 70427.332 -43289.666 70427.332 -43389.666 70393.999 -43456.333 70360.666 -43489.666 70293.999 -43523 70027.332 -43523 M 70693.999 -43223 70727.332 -43189.666 70793.999 -43156.333 70960.666 -43156.333 71027.332 -43189.666 71060.666 -43223 71093.999 -43289.666 71093.999 -43356.333 71060.666 -43456.333 70660.666 -43856.333 71093.999 -43856.333 M 71527.333 -43156.333 71593.999 -43156.333 71660.666 -43189.666 71693.999 -43223 71727.333 -43289.666 71760.666 -43423 71760.666 -43589.666 71727.333 -43723 71693.999 -43789.666 71660.666 -43823 71593.999 -43856.333 71527.333 -43856.333 71460.666 -43823 71427.333 -43789.666 71393.999 -43723 71360.666 -43589.666 71360.666 -43423 71393.999 -43289.666 71427.333 -43223 71460.666 -43189.666 71527.333 -43156.333 M 72360.666 -43389.666 72360.666 -43856.333 M 72194 -43123 72027.333 -43623 72460.666 -43623 M 72860.667 -43156.333 72927.333 -43156.333 72994 -43189.666 73027.333 -43223 73060.667 -43289.666 73094 -43423 73094 -43589.666 73060.667 -43723 73027.333 -43789.666 72994 -43823 72927.333 -43856.333 72860.667 -43856.333 72794 -43823 72760.667 -43789.666 72727.333 -43723 72694 -43589.666 72694 -43423 72727.333 -43289.666 72760.667 -43223 72794 -43189.666 72860.667 -43156.333" fill="none" stroke-width="120"/><path d="M 55508.857 -58318.571 55537.428 -58261.429 55537.428 -58175.714 55508.857 -58090 55451.714 -58032.857 55394.571 -58004.286 55280.285 -57975.714 55194.571 -57975.714 55080.285 -58004.286 55023.142 -58032.857 54966 -58090 54937.428 -58175.714 54937.428 -58232.857 54966 -58318.571 54994.571 -58347.143 55194.571 -58347.143 55194.571 -58232.857 M 54937.428 -58604.286 55537.428 -58604.286 54937.428 -58947.143 55537.428 -58947.143 M 54937.428 -59232.857 55537.428 -59232.857 55537.428 -59375.714 55508.857 -59461.428 55451.714 -59518.571 55394.571 -59547.142 55280.285 -59575.714 55194.571 -59575.714 55080.285 -59547.142 55023.142 -59518.571 54966 -59461.428 54937.428 -59375.714 54937.428 -59232.857" fill="none" stroke-width="100"/><path d="M 72924 -61721.428 72881.142 -61850 72881.142 -62064.285 72924 -62150 72966.857 -62192.857 73052.571 -62235.714 73138.285 -62235.714 73224 -62192.857 73266.857 -62150 73309.714 -62064.285 73352.571 -61892.857 73395.428 -61807.142 73438.285 -61764.285 73524 -61721.428 73609.714 -61721.428 73695.428 -61764.285 73738.285 -61807.142 73781.142 -61892.857 73781.142 -62107.142 73738.285 -62235.714 M 73781.142 -62535.714 72881.142 -62750 73524 -62921.428 72881.142 -63092.857 73781.142 -63307.143 M 72881.142 -63649.999 73781.142 -63649.999 73781.142 -63864.285 73738.285 -63992.856 73652.571 -64078.571 73566.857 -64121.428 73395.428 -64164.285 73266.857 -64164.285 73095.428 -64121.428 73009.714 -64078.571 72924 -63992.856 72881.142 -63864.285 72881.142 -63649.999 M 73224 -64549.999 73224 -65235.714 73052.571 -65064.285 M 73224 -65235.714 73395.428 -65064.285" fill="none" stroke-width="120"/><path d="M 65097.428 -59004.285 65383.142 -58804.285 M 65097.428 -58661.428 65697.428 -58661.428 65697.428 -58889.999 65668.857 -58947.142 65640.285 -58975.713 65583.142 -59004.285 65497.428 -59004.285 65440.285 -58975.713 65411.714 -58947.142 65383.142 -58889.999 65383.142 -58661.428 M 65697.428 -59204.285 65097.428 -59604.285 M 65697.428 -59604.285 65097.428 -59204.285 M 79096 -57918.571 79067.428 -58004.286 79067.428 -58147.143 79096 -58204.286 79124.571 -58232.857 79181.714 -58261.428 79238.857 -58261.428 79296 -58232.857 79324.571 -58204.286 79353.142 -58147.143 79381.714 -58032.857 79410.285 -57975.714 79438.857 -57947.143 79496 -57918.571 79553.142 -57918.571 79610.285 -57947.143 79638.857 -57975.714 79667.428 -58032.857 79667.428 -58175.714 79638.857 -58261.428 M 79667.428 -58461.429 79067.428 -58604.286 79496 -58718.572 79067.428 -58832.857 79667.428 -58975.715 M 79667.428 -59318.571 79667.428 -59432.857 79638.857 -59490 79581.714 -59547.143 79467.428 -59575.714 79267.428 -59575.714 79153.142 -59547.143 79096 -59490 79067.428 -59432.857 79067.428 -59318.571 79096 -59261.429 79153.142 -59204.286 79267.428 -59175.714 79467.428 -59175.714 79581.714 -59204.286 79638.857 -59261.429 79667.428 -59318.571 M 82178.857 -67767.142 82207.428 -67710 82207.428 -67624.285 82178.857 -67538.571 82121.714 -67481.428 82064.571 -67452.857 81950.285 -67424.285 81864.571 -67424.285 81750.285 -67452.857 81693.142 -67481.428 81636 -67538.571 81607.428 -67624.285 81607.428 -67681.428 81636 -67767.142 81664.571 -67795.714 81864.571 -67795.714 81864.571 -67681.428 M 81607.428 -68052.857 82207.428 -68052.857 81607.428 -68395.714 82207.428 -68395.714 M 81607.428 -68681.428 82207.428 -68681.428 82207.428 -68824.285 82178.857 -68909.999 82121.714 -68967.142 82064.571 -68995.713 81950.285 -69024.285 81864.571 -69024.285 81750.285 -68995.713 81693.142 -68967.142 81636 -68909.999 81607.428 -68824.285 81607.428 -68681.428 M 76527.428 -58318.572 77127.428 -58318.572 77127.428 -58461.429 77098.857 -58547.143 77041.714 -58604.286 76984.571 -58632.857 76870.285 -58661.429 76784.571 -58661.429 76670.285 -58632.857 76613.142 -58604.286 76556 -58547.143 76527.428 -58461.429 76527.428 -58318.572 M 76527.428 -58918.572 77127.428 -58918.572 M 77127.428 -59318.571 77127.428 -59432.857 77098.857 -59490 77041.714 -59547.143 76927.428 -59575.714 76727.428 -59575.714 76613.142 -59547.143 76556 -59490 76527.428 -59432.857 76527.428 -59318.571 76556 -59261.429 76613.142 -59204.286 76727.428 -59175.714 76927.428 -59175.714 77041.714 -59204.286 77098.857 -59261.429 77127.428 -59318.571 M 67637.428 -58547.142 67923.142 -58347.142 M 67637.428 -58204.285 68237.428 -58204.285 68237.428 -58432.856 68208.857 -58489.999 68180.285 -58518.57 68123.142 -58547.142 68037.428 -58547.142 67980.285 -58518.57 67951.714 -58489.999 67923.142 -58432.856 67923.142 -58204.285 M 68237.428 -58718.57 68237.428 -59061.428 M 67637.428 -58889.999 68237.428 -58889.999 M 67666 -59232.856 67637.428 -59318.571 67637.428 -59461.428 67666 -59518.571 67694.571 -59547.142 67751.714 -59575.713 67808.857 -59575.713 67866 -59547.142 67894.571 -59518.571 67923.142 -59461.428 67951.714 -59347.142 67980.285 -59289.999 68008.857 -59261.428 68066 -59232.856 68123.142 -59232.856 68180.285 -59261.428 68208.857 -59289.999 68237.428 -59347.142 68237.428 -59489.999 68208.857 -59575.713 M 60617.428 -59032.856 60617.428 -58747.142 60331.714 -58718.57 60360.285 -58747.142 60388.857 -58804.285 60388.857 -58947.142 60360.285 -59004.285 60331.714 -59032.856 60274.571 -59061.427 60131.714 -59061.427 60074.571 -59032.856 60046 -59004.285 60017.428 -58947.142 60017.428 -58804.285 60046 -58747.142 60074.571 -58718.57 M 60617.428 -59232.856 60017.428 -59432.856 60617.428 -59632.856 M 57534.571 -58547.142 57506 -58518.57 57477.428 -58432.856 57477.428 -58375.713 57506 -58289.999 57563.142 -58232.856 57620.285 -58204.285 57734.571 -58175.713 57820.285 -58175.713 57934.571 -58204.285 57991.714 -58232.856 58048.857 -58289.999 58077.428 -58375.713 58077.428 -58432.856 58048.857 -58518.57 58020.285 -58547.142 M 58077.428 -58718.57 58077.428 -59061.428 M 57477.428 -58889.999 58077.428 -58889.999 M 57506 -59232.856 57477.428 -59318.571 57477.428 -59461.428 57506 -59518.571 57534.571 -59547.142 57591.714 -59575.713 57648.857 -59575.713 57706 -59547.142 57734.571 -59518.571 57763.142 -59461.428 57791.714 -59347.142 57820.285 -59289.999 57848.857 -59261.428 57906 -59232.856 57963.142 -59232.856 58020.285 -59261.428 58048.857 -59289.999 58077.428 -59347.142 58077.428 -59489.999 58048.857 -59575.713 M 80337.428 -67452.857 80937.428 -67452.857 M 80337.428 -67795.714 80680.285 -67538.571 M 80937.428 -67795.714 80594.571 -67452.857 M 80651.714 -68052.857 80651.714 -68252.857 M 80337.428 -68338.571 80337.428 -68052.857 80937.428 -68052.857 80937.428 -68338.571 M 80623.142 -68709.999 80337.428 -68709.999 M 80937.428 -68509.999 80623.142 -68709.999 80937.428 -68909.999 M 61326.666 -65663.833 61326.666 -66163.833 61293.333 -66263.833 61226.666 -66330.5 61126.666 -66363.833 61060 -66363.833 M 61626.666 -65730.5 61659.999 -65697.166 61726.666 -65663.833 61893.333 -65663.833 61959.999 -65697.166 61993.333 -65730.5 62026.666 -65797.166 62026.666 -65863.833 61993.333 -65963.833 61593.333 -66363.833 62026.666 -66363.833 M 84338.333 -48583.833 84105 -48250.5 M 83938.333 -48583.833 83938.333 -47883.833 84205 -47883.833 84271.667 -47917.166 84305 -47950.5 84338.333 -48017.166 84338.333 -48117.166 84305 -48183.833 84271.667 -48217.166 84205 -48250.5 83938.333 -48250.5 M 84571.667 -47883.833 85005 -47883.833 84771.667 -48150.5 84871.667 -48150.5 84938.333 -48183.833 84971.667 -48217.166 85005 -48283.833 85005 -48450.5 84971.667 -48517.166 84938.333 -48550.5 84871.667 -48583.833 84671.667 -48583.833 84605 -48550.5 84571.667 -48517.166 M 84371.666 -53663.833 83971.666 -53663.833 M 84171.666 -53663.833 84171.666 -52963.833 84104.999 -53063.833 84038.333 -53130.5 83971.666 -53163.833 M 84671.666 -53663.833 84671.666 -52963.833 M 84738.333 -53397.166 84938.333 -53663.833 M 84938.333 -53197.166 84671.666 -53463.833 M 82947.733 -55645.033 82947.733 -54945.033 83114.4 -54945.033 83214.4 -54978.366 83281.067 -55045.033 83314.4 -55111.7 83347.733 -55245.033 83347.733 -55345.033 83314.4 -55478.366 83281.067 -55545.033 83214.4 -55611.7 83114.4 -55645.033 82947.733 -55645.033 M 83614.4 -55011.7 83647.733 -54978.366 83714.4 -54945.033 83881.067 -54945.033 83947.733 -54978.366 83981.067 -55011.7 84014.4 -55078.366 84014.4 -55145.033 83981.067 -55245.033 83581.067 -55645.033 84014.4 -55645.033 M 56938.133 -55594.233 56938.133 -54894.233 57104.8 -54894.233 57204.8 -54927.566 57271.467 -54994.233 57304.8 -55060.9 57338.133 -55194.233 57338.133 -55294.233 57304.8 -55427.566 57271.467 -55494.233 57204.8 -55560.9 57104.8 -55594.233 56938.133 -55594.233 M 58004.8 -55594.233 57604.8 -55594.233 M 57804.8 -55594.233 57804.8 -54894.233 57738.133 -54994.233 57671.467 -55060.9 57604.8 -55094.233 M 73543.333 -55568.833 73310 -55235.5 M 73143.333 -55568.833 73143.333 -54868.833 73410 -54868.833 73476.667 -54902.166 73510 -54935.5 73543.333 -55002.166 73543.333 -55102.166 73510 -55168.833 73476.667 -55202.166 73410 -55235.5 73143.333 -55235.5 M 73810 -54935.5 73843.333 -54902.166 73910 -54868.833 74076.667 -54868.833 74143.333 -54902.166 74176.667 -54935.5 74210 -55002.166 74210 -55068.833 74176.667 -55168.833 73776.667 -55568.833 74210 -55568.833 M 73576.666 -56838.833 73176.666 -56838.833 M 73376.666 -56838.833 73376.666 -56138.833 73309.999 -56238.833 73243.333 -56305.5 73176.666 -56338.833 M 73876.666 -56838.833 73876.666 -56138.833 M 73943.333 -56572.166 74143.333 -56838.833 M 74143.333 -56372.166 73876.666 -56638.833 M 66721.5 -33484.476 66697.69 -33555.904 66697.69 -33674.952 66721.5 -33722.571 66745.309 -33746.38 66792.928 -33770.19 66840.547 -33770.19 66888.166 -33746.38 66911.976 -33722.571 66935.785 -33674.952 66959.595 -33579.714 66983.404 -33532.095 67007.214 -33508.285 67054.833 -33484.476 67102.452 -33484.476 67150.071 -33508.285 67173.88 -33532.095 67197.69 -33579.714 67197.69 -33698.761 67173.88 -33770.19 M 67197.69 -33936.856 66697.69 -34055.904 67054.833 -34151.142 66697.69 -34246.38 67197.69 -34365.428 M 66697.69 -34555.904 67197.69 -34555.904 67197.69 -34674.952 67173.88 -34746.38 67126.261 -34793.999 67078.642 -34817.809 66983.404 -34841.618 66911.976 -34841.618 66816.738 -34817.809 66769.119 -34793.999 66721.5 -34746.38 66697.69 -34674.952 66697.69 -34555.904 M 66697.69 -35055.904 67197.69 -35055.904 M 67197.69 -35389.237 67197.69 -35484.475 67173.88 -35532.094 67126.261 -35579.713 67031.023 -35603.523 66864.357 -35603.523 66769.119 -35579.713 66721.5 -35532.094 66697.69 -35484.475 66697.69 -35389.237 66721.5 -35341.618 66769.119 -35293.999 66864.357 -35270.19 67031.023 -35270.19 67126.261 -35293.999 67173.88 -35341.618 67197.69 -35389.237 M 72639.88 -51689.047 72663.69 -51641.428 72663.69 -51569.999 72639.88 -51498.571 72592.261 -51450.952 72544.642 -51427.142 72449.404 -51403.333 72377.976 -51403.333 72282.738 -51427.142 72235.119 -51450.952 72187.5 -51498.571 72163.69 -51569.999 72163.69 -51617.618 72187.5 -51689.047 72211.309 -51712.856 72377.976 -51712.856 72377.976 -51617.618 M 72163.69 -51927.142 72663.69 -51927.142 72163.69 -52212.856 72663.69 -52212.856 M 72163.69 -52450.952 72663.69 -52450.952 72663.69 -52570 72639.88 -52641.428 72592.261 -52689.047 72544.642 -52712.857 72449.404 -52736.666 72377.976 -52736.666 72282.738 -52712.857 72235.119 -52689.047 72187.5 -52641.428 72163.69 -52570 72163.69 -52450.952 M 67583.69 -51522.381 67083.69 -51689.047 67583.69 -51855.714 M 67083.69 -52022.38 67583.69 -52022.38 M 67083.69 -52260.475 67583.69 -52260.475 67083.69 -52546.189 67583.69 -52546.189 M 66697.69 -36484.809 66935.785 -36318.143 M 66697.69 -36199.095 67197.69 -36199.095 67197.69 -36389.571 67173.88 -36437.19 67150.071 -36461 67102.452 -36484.809 67031.023 -36484.809 66983.404 -36461 66959.595 -36437.19 66935.785 -36389.571 66935.785 -36199.095 M 66959.595 -36699.095 66959.595 -36865.762 M 66697.69 -36937.19 66697.69 -36699.095 67197.69 -36699.095 67197.69 -36937.19 M 66721.5 -37127.667 66697.69 -37199.095 66697.69 -37318.143 66721.5 -37365.762 66745.309 -37389.571 66792.928 -37413.381 66840.547 -37413.381 66888.166 -37389.571 66911.976 -37365.762 66935.785 -37318.143 66959.595 -37222.905 66983.404 -37175.286 67007.214 -37151.476 67054.833 -37127.667 67102.452 -37127.667 67150.071 -37151.476 67173.88 -37175.286 67197.69 -37222.905 67197.69 -37341.952 67173.88 -37413.381 M 66959.595 -37627.666 66959.595 -37794.333 M 66697.69 -37865.761 66697.69 -37627.666 67197.69 -37627.666 67197.69 -37865.761 M 67197.69 -38008.619 67197.69 -38294.333 M 66697.69 -38151.476 67197.69 -38151.476 M 72436.5 -33540.048 72412.69 -33611.476 72412.69 -33730.524 72436.5 -33778.143 72460.309 -33801.952 72507.928 -33825.762 72555.547 -33825.762 72603.166 -33801.952 72626.976 -33778.143 72650.785 -33730.524 72674.595 -33635.286 72698.404 -33587.667 72722.214 -33563.857 72769.833 -33540.048 72817.452 -33540.048 72865.071 -33563.857 72888.88 -33587.667 72912.69 -33635.286 72912.69 -33754.333 72888.88 -33825.762 M 72912.69 -33992.428 72412.69 -34111.476 72769.833 -34206.714 72412.69 -34301.952 72912.69 -34421 M 72460.309 -34897.19 72436.5 -34873.381 72412.69 -34801.952 72412.69 -34754.333 72436.5 -34682.905 72484.119 -34635.286 72531.738 -34611.476 72626.976 -34587.667 72698.404 -34587.667 72793.642 -34611.476 72841.261 -34635.286 72888.88 -34682.905 72912.69 -34754.333 72912.69 -34801.952 72888.88 -34873.381 72865.071 -34897.19 M 72412.69 -35349.571 72412.69 -35111.476 72912.69 -35111.476 M 72412.69 -35516.238 72912.69 -35516.238 M 72412.69 -35801.952 72698.404 -35587.667 M 72912.69 -35801.952 72626.976 -35516.238 M 72888.88 -36957.047 72912.69 -36909.428 72912.69 -36837.999 72888.88 -36766.571 72841.261 -36718.952 72793.642 -36695.142 72698.404 -36671.333 72626.976 -36671.333 72531.738 -36695.142 72484.119 -36718.952 72436.5 -36766.571 72412.69 -36837.999 72412.69 -36885.618 72436.5 -36957.047 72460.309 -36980.856 72626.976 -36980.856 72626.976 -36885.618 M 72412.69 -37195.142 72912.69 -37195.142 72412.69 -37480.856 72912.69 -37480.856 M 72412.69 -37718.952 72912.69 -37718.952 72912.69 -37838 72888.88 -37909.428 72841.261 -37957.047 72793.642 -37980.857 72698.404 -38004.666 72626.976 -38004.666 72531.738 -37980.857 72484.119 -37957.047 72436.5 -37909.428 72412.69 -37838 72412.69 -37718.952 M 55763.333 -43503.833 55530 -43170.5 M 55363.333 -43503.833 55363.333 -42803.833 55630 -42803.833 55696.667 -42837.166 55730 -42870.5 55763.333 -42937.166 55763.333 -43037.166 55730 -43103.833 55696.667 -43137.166 55630 -43170.5 55363.333 -43170.5 M 56430 -43503.833 56030 -43503.833 M 56230 -43503.833 56230 -42803.833 56163.333 -42903.833 56096.667 -42970.5 56030 -43003.833 M 55695.066 -48710.833 55295.066 -48710.833 M 55495.066 -48710.833 55495.066 -48010.833 55428.399 -48110.833 55361.733 -48177.5 55295.066 -48210.833 M 55995.066 -48710.833 55995.066 -48010.833 M 56061.733 -48444.166 56261.733 -48710.833 M 56261.733 -48244.166 55995.066 -48510.833 M 79141.666 -63123.833 79141.666 -63623.833 79108.333 -63723.833 79041.666 -63790.5 78941.666 -63823.833 78875 -63823.833 M 79841.666 -63823.833 79441.666 -63823.833 M 79641.666 -63823.833 79641.666 -63123.833 79574.999 -63223.833 79508.333 -63290.5 79441.666 -63323.833" fill="none" stroke-width="100"/><path d="M 69240 -60280 69240 -61550 M 68224 -63328 67716 -63328 67716 -64090 M 65684 -63328 65176 -63328 65176 -64090 M 63144 -63328 62636 -63328 62636 -64090 M 60604 -63328 60096 -63328 60096 -64090 M 58064 -63328 57556 -63328 57556 -64090 M 55524 -63328 55016 -63328 55016 -64090 M 68224 -64090 68224 -63328 M 65684 -64090 65684 -63328 M 63144 -64090 63144 -63328 M 60604 -64090 60604 -63328 M 58064 -64090 58064 -63328 M 55524 -64090 55524 -63328 M 69240 -64090 54000 -64090 54000 -72980 69240 -72980 69240 -64090 M 83620 -49800 83620 -51800 M 81480 -51800 81480 -49800 M 82475 -56830 82475 -54930 77775 -54930 M 82475 -56830 77775 -56830 M 64695 -56830 64695 -54930 59995 -54930 M 64695 -56830 59995 -56830 M 70215 -56950 68215 -56950 M 68215 -54810 70215 -54810 M 60962.5 -52461 60962.5 -33919 A 1269.999 1269.999 0 0 0 62232.5 -32649 L 77472.5 -32649 A 1270 1270 0 0 0 78742.5 -33919 L 78742.5 -52461 A 1270 1270 0 0 0 77472.5 -53731 L 62232.5 -53731 A 1269.999 1269.999 0 0 0 60962.5 -52461 M 65352.5 -32649 74352.5 -32649 74352.5 -31125 65352.5 -31125 65352.5 -32649 M 56715 -46720 56715 -44720 M 58855 -44720 58855 -46720 M 82545 -60410 82545 -61735 84455 -61735 84455 -65265 82545 -65265 M 76205 -61735 74295 -61735 74295 -65265 76205 -65265" fill="none" stroke-width="120"/></g></svg>"]]');dt();
diff --git a/dist/assets/main-8501a109.js b/dist/assets/main-8501a109.js
new file mode 100644
index 0000000000000000000000000000000000000000..b52855c1b4e94da932beef1076d3b4a6ac6035d4
--- /dev/null
+++ b/dist/assets/main-8501a109.js
@@ -0,0 +1,22 @@
+(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&a(l)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();var he=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wa(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function a(){return this instanceof a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(a){var o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(r,a,o.get?o:{enumerable:!0,get:function(){return e[a]}})}),r}var Un={exports:{}},de=Un.exports={},Ne,Ie;function Wt(){throw new Error("setTimeout has not been defined")}function Ht(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ne=setTimeout:Ne=Wt}catch{Ne=Wt}try{typeof clearTimeout=="function"?Ie=clearTimeout:Ie=Ht}catch{Ie=Ht}})();function qn(e){if(Ne===setTimeout)return setTimeout(e,0);if((Ne===Wt||!Ne)&&setTimeout)return Ne=setTimeout,setTimeout(e,0);try{return Ne(e,0)}catch{try{return Ne.call(null,e,0)}catch{return Ne.call(this,e,0)}}}function ba(e){if(Ie===clearTimeout)return clearTimeout(e);if((Ie===Ht||!Ie)&&clearTimeout)return Ie=clearTimeout,clearTimeout(e);try{return Ie(e)}catch{try{return Ie.call(null,e)}catch{return Ie.call(this,e)}}}var je=[],Qe=!1,He,dt=-1;function xa(){!Qe||!He||(Qe=!1,He.length?je=He.concat(je):dt=-1,je.length&&Gn())}function Gn(){if(!Qe){var e=qn(xa);Qe=!0;for(var t=je.length;t;){for(He=je,je=[];++dt<t;)He&&He[dt].run();dt=-1,t=je.length}He=null,Qe=!1,ba(e)}}de.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];je.push(new zn(e,t)),je.length===1&&!Qe&&qn(Gn)};function zn(e,t){this.fun=e,this.array=t}zn.prototype.run=function(){this.fun.apply(null,this.array)};de.title="browser";de.browser=!0;de.env={};de.argv=[];de.version="";de.versions={};function Fe(){}de.on=Fe;de.addListener=Fe;de.once=Fe;de.off=Fe;de.removeListener=Fe;de.removeAllListeners=Fe;de.emit=Fe;de.prependListener=Fe;de.prependOnceListener=Fe;de.listeners=function(e){return[]};de.binding=function(e){throw new Error("process.binding is not supported")};de.cwd=function(){return"/"};de.chdir=function(e){throw new Error("process.chdir is not supported")};de.umask=function(){return 0};var Ea=Un.exports;const Ma=hr(Ea);var rt={},Mt={};Mt.byteLength=Ta;Mt.toByteArray=Aa;Mt.fromByteArray=Ca;var Ce=[],Re=[],Ra=typeof Uint8Array<"u"?Uint8Array:Array,Ct="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Ke=0,Sa=Ct.length;Ke<Sa;++Ke)Ce[Ke]=Ct[Ke],Re[Ct.charCodeAt(Ke)]=Ke;Re["-".charCodeAt(0)]=62;Re["_".charCodeAt(0)]=63;function Wn(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var a=r===t?0:4-r%4;return[r,a]}function Ta(e){var t=Wn(e),r=t[0],a=t[1];return(r+a)*3/4-a}function Ba(e,t,r){return(t+r)*3/4-r}function Aa(e){var t,r=Wn(e),a=r[0],o=r[1],s=new Ra(Ba(e,a,o)),l=0,f=o>0?a-4:a,h;for(h=0;h<f;h+=4)t=Re[e.charCodeAt(h)]<<18|Re[e.charCodeAt(h+1)]<<12|Re[e.charCodeAt(h+2)]<<6|Re[e.charCodeAt(h+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=t&255;return o===2&&(t=Re[e.charCodeAt(h)]<<2|Re[e.charCodeAt(h+1)]>>4,s[l++]=t&255),o===1&&(t=Re[e.charCodeAt(h)]<<10|Re[e.charCodeAt(h+1)]<<4|Re[e.charCodeAt(h+2)]>>2,s[l++]=t>>8&255,s[l++]=t&255),s}function Na(e){return Ce[e>>18&63]+Ce[e>>12&63]+Ce[e>>6&63]+Ce[e&63]}function Ia(e,t,r){for(var a,o=[],s=t;s<r;s+=3)a=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(e[s+2]&255),o.push(Na(a));return o.join("")}function Ca(e){for(var t,r=e.length,a=r%3,o=[],s=16383,l=0,f=r-a;l<f;l+=s)o.push(Ia(e,l,l+s>f?f:l+s));return a===1?(t=e[r-1],o.push(Ce[t>>2]+Ce[t<<4&63]+"==")):a===2&&(t=(e[r-2]<<8)+e[r-1],o.push(Ce[t>>10]+Ce[t>>4&63]+Ce[t<<2&63]+"=")),o.join("")}var cr={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */cr.read=function(e,t,r,a,o){var s,l,f=o*8-a-1,h=(1<<f)-1,v=h>>1,g=-7,_=r?o-1:0,x=r?-1:1,B=e[t+_];for(_+=x,s=B&(1<<-g)-1,B>>=-g,g+=f;g>0;s=s*256+e[t+_],_+=x,g-=8);for(l=s&(1<<-g)-1,s>>=-g,g+=a;g>0;l=l*256+e[t+_],_+=x,g-=8);if(s===0)s=1-v;else{if(s===h)return l?NaN:(B?-1:1)*(1/0);l=l+Math.pow(2,a),s=s-v}return(B?-1:1)*l*Math.pow(2,s-a)};cr.write=function(e,t,r,a,o,s){var l,f,h,v=s*8-o-1,g=(1<<v)-1,_=g>>1,x=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,B=a?0:s-1,E=a?1:-1,R=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(f=isNaN(t)?1:0,l=g):(l=Math.floor(Math.log(t)/Math.LN2),t*(h=Math.pow(2,-l))<1&&(l--,h*=2),l+_>=1?t+=x/h:t+=x*Math.pow(2,1-_),t*h>=2&&(l++,h/=2),l+_>=g?(f=0,l=g):l+_>=1?(f=(t*h-1)*Math.pow(2,o),l=l+_):(f=t*Math.pow(2,_-1)*Math.pow(2,o),l=0));o>=8;e[r+B]=f&255,B+=E,f/=256,o-=8);for(l=l<<o|f,v+=o;v>0;e[r+B]=l&255,B+=E,l/=256,v-=8);e[r+B-E]|=R*128};/*!
+ * The buffer module from node.js, for the browser.
+ *
+ * @author   Feross Aboukhadijeh <https://feross.org>
+ * @license  MIT
+ */(function(e){const t=Mt,r=cr,a=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=f,e.SlowBuffer=D,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o,f.TYPED_ARRAY_SUPPORT=s(),!f.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function s(){try{const u=new Uint8Array(1),n={foo:function(){return 42}};return Object.setPrototypeOf(n,Uint8Array.prototype),Object.setPrototypeOf(u,n),u.foo()===42}catch{return!1}}Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}});function l(u){if(u>o)throw new RangeError('The value "'+u+'" is invalid for option "size"');const n=new Uint8Array(u);return Object.setPrototypeOf(n,f.prototype),n}function f(u,n,i){if(typeof u=="number"){if(typeof n=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return _(u)}return h(u,n,i)}f.poolSize=8192;function h(u,n,i){if(typeof u=="string")return x(u,n);if(ArrayBuffer.isView(u))return E(u);if(u==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof u);if(xe(u,ArrayBuffer)||u&&xe(u.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(xe(u,SharedArrayBuffer)||u&&xe(u.buffer,SharedArrayBuffer)))return R(u,n,i);if(typeof u=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const c=u.valueOf&&u.valueOf();if(c!=null&&c!==u)return f.from(c,n,i);const y=A(u);if(y)return y;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof u[Symbol.toPrimitive]=="function")return f.from(u[Symbol.toPrimitive]("string"),n,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof u)}f.from=function(u,n,i){return h(u,n,i)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array);function v(u){if(typeof u!="number")throw new TypeError('"size" argument must be of type number');if(u<0)throw new RangeError('The value "'+u+'" is invalid for option "size"')}function g(u,n,i){return v(u),u<=0?l(u):n!==void 0?typeof i=="string"?l(u).fill(n,i):l(u).fill(n):l(u)}f.alloc=function(u,n,i){return g(u,n,i)};function _(u){return v(u),l(u<0?0:I(u)|0)}f.allocUnsafe=function(u){return _(u)},f.allocUnsafeSlow=function(u){return _(u)};function x(u,n){if((typeof n!="string"||n==="")&&(n="utf8"),!f.isEncoding(n))throw new TypeError("Unknown encoding: "+n);const i=F(u,n)|0;let c=l(i);const y=c.write(u,n);return y!==i&&(c=c.slice(0,y)),c}function B(u){const n=u.length<0?0:I(u.length)|0,i=l(n);for(let c=0;c<n;c+=1)i[c]=u[c]&255;return i}function E(u){if(xe(u,Uint8Array)){const n=new Uint8Array(u);return R(n.buffer,n.byteOffset,n.byteLength)}return B(u)}function R(u,n,i){if(n<0||u.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(u.byteLength<n+(i||0))throw new RangeError('"length" is outside of buffer bounds');let c;return n===void 0&&i===void 0?c=new Uint8Array(u):i===void 0?c=new Uint8Array(u,n):c=new Uint8Array(u,n,i),Object.setPrototypeOf(c,f.prototype),c}function A(u){if(f.isBuffer(u)){const n=I(u.length)|0,i=l(n);return i.length===0||u.copy(i,0,0,n),i}if(u.length!==void 0)return typeof u.length!="number"||qe(u.length)?l(0):B(u);if(u.type==="Buffer"&&Array.isArray(u.data))return B(u.data)}function I(u){if(u>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return u|0}function D(u){return+u!=u&&(u=0),f.alloc(+u)}f.isBuffer=function(n){return n!=null&&n._isBuffer===!0&&n!==f.prototype},f.compare=function(n,i){if(xe(n,Uint8Array)&&(n=f.from(n,n.offset,n.byteLength)),xe(i,Uint8Array)&&(i=f.from(i,i.offset,i.byteLength)),!f.isBuffer(n)||!f.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(n===i)return 0;let c=n.length,y=i.length;for(let b=0,M=Math.min(c,y);b<M;++b)if(n[b]!==i[b]){c=n[b],y=i[b];break}return c<y?-1:y<c?1:0},f.isEncoding=function(n){switch(String(n).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(n,i){if(!Array.isArray(n))throw new TypeError('"list" argument must be an Array of Buffers');if(n.length===0)return f.alloc(0);let c;if(i===void 0)for(i=0,c=0;c<n.length;++c)i+=n[c].length;const y=f.allocUnsafe(i);let b=0;for(c=0;c<n.length;++c){let M=n[c];if(xe(M,Uint8Array))b+M.length>y.length?(f.isBuffer(M)||(M=f.from(M)),M.copy(y,b)):Uint8Array.prototype.set.call(y,M,b);else if(f.isBuffer(M))M.copy(y,b);else throw new TypeError('"list" argument must be an Array of Buffers');b+=M.length}return y};function F(u,n){if(f.isBuffer(u))return u.length;if(ArrayBuffer.isView(u)||xe(u,ArrayBuffer))return u.byteLength;if(typeof u!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof u);const i=u.length,c=arguments.length>2&&arguments[2]===!0;if(!c&&i===0)return 0;let y=!1;for(;;)switch(n){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return K(u).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return it(u).length;default:if(y)return c?-1:K(u).length;n=(""+n).toLowerCase(),y=!0}}f.byteLength=F;function O(u,n,i){let c=!1;if((n===void 0||n<0)&&(n=0),n>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,n>>>=0,i<=n))return"";for(u||(u="utf8");;)switch(u){case"hex":return se(this,n,i);case"utf8":case"utf-8":return N(this,n,i);case"ascii":return H(this,n,i);case"latin1":case"binary":return Q(this,n,i);case"base64":return L(this,n,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,n,i);default:if(c)throw new TypeError("Unknown encoding: "+u);u=(u+"").toLowerCase(),c=!0}}f.prototype._isBuffer=!0;function k(u,n,i){const c=u[n];u[n]=u[i],u[i]=c}f.prototype.swap16=function(){const n=this.length;if(n%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let i=0;i<n;i+=2)k(this,i,i+1);return this},f.prototype.swap32=function(){const n=this.length;if(n%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let i=0;i<n;i+=4)k(this,i,i+3),k(this,i+1,i+2);return this},f.prototype.swap64=function(){const n=this.length;if(n%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let i=0;i<n;i+=8)k(this,i,i+7),k(this,i+1,i+6),k(this,i+2,i+5),k(this,i+3,i+4);return this},f.prototype.toString=function(){const n=this.length;return n===0?"":arguments.length===0?N(this,0,n):O.apply(this,arguments)},f.prototype.toLocaleString=f.prototype.toString,f.prototype.equals=function(n){if(!f.isBuffer(n))throw new TypeError("Argument must be a Buffer");return this===n?!0:f.compare(this,n)===0},f.prototype.inspect=function(){let n="";const i=e.INSPECT_MAX_BYTES;return n=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(n+=" ... "),"<Buffer "+n+">"},a&&(f.prototype[a]=f.prototype.inspect),f.prototype.compare=function(n,i,c,y,b){if(xe(n,Uint8Array)&&(n=f.from(n,n.offset,n.byteLength)),!f.isBuffer(n))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof n);if(i===void 0&&(i=0),c===void 0&&(c=n?n.length:0),y===void 0&&(y=0),b===void 0&&(b=this.length),i<0||c>n.length||y<0||b>this.length)throw new RangeError("out of range index");if(y>=b&&i>=c)return 0;if(y>=b)return-1;if(i>=c)return 1;if(i>>>=0,c>>>=0,y>>>=0,b>>>=0,this===n)return 0;let M=b-y,Y=c-i;const fe=Math.min(M,Y),oe=this.slice(y,b),ue=n.slice(i,c);for(let ie=0;ie<fe;++ie)if(oe[ie]!==ue[ie]){M=oe[ie],Y=ue[ie];break}return M<Y?-1:Y<M?1:0};function z(u,n,i,c,y){if(u.length===0)return-1;if(typeof i=="string"?(c=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,qe(i)&&(i=y?0:u.length-1),i<0&&(i=u.length+i),i>=u.length){if(y)return-1;i=u.length-1}else if(i<0)if(y)i=0;else return-1;if(typeof n=="string"&&(n=f.from(n,c)),f.isBuffer(n))return n.length===0?-1:te(u,n,i,c,y);if(typeof n=="number")return n=n&255,typeof Uint8Array.prototype.indexOf=="function"?y?Uint8Array.prototype.indexOf.call(u,n,i):Uint8Array.prototype.lastIndexOf.call(u,n,i):te(u,[n],i,c,y);throw new TypeError("val must be string, number or Buffer")}function te(u,n,i,c,y){let b=1,M=u.length,Y=n.length;if(c!==void 0&&(c=String(c).toLowerCase(),c==="ucs2"||c==="ucs-2"||c==="utf16le"||c==="utf-16le")){if(u.length<2||n.length<2)return-1;b=2,M/=2,Y/=2,i/=2}function fe(ue,ie){return b===1?ue[ie]:ue.readUInt16BE(ie*b)}let oe;if(y){let ue=-1;for(oe=i;oe<M;oe++)if(fe(u,oe)===fe(n,ue===-1?0:oe-ue)){if(ue===-1&&(ue=oe),oe-ue+1===Y)return ue*b}else ue!==-1&&(oe-=oe-ue),ue=-1}else for(i+Y>M&&(i=M-Y),oe=i;oe>=0;oe--){let ue=!0;for(let ie=0;ie<Y;ie++)if(fe(u,oe+ie)!==fe(n,ie)){ue=!1;break}if(ue)return oe}return-1}f.prototype.includes=function(n,i,c){return this.indexOf(n,i,c)!==-1},f.prototype.indexOf=function(n,i,c){return z(this,n,i,c,!0)},f.prototype.lastIndexOf=function(n,i,c){return z(this,n,i,c,!1)};function X(u,n,i,c){i=Number(i)||0;const y=u.length-i;c?(c=Number(c),c>y&&(c=y)):c=y;const b=n.length;c>b/2&&(c=b/2);let M;for(M=0;M<c;++M){const Y=parseInt(n.substr(M*2,2),16);if(qe(Y))return M;u[i+M]=Y}return M}function G(u,n,i,c){return Ve(K(n,u.length-i),u,i,c)}function me(u,n,i,c){return Ve(Te(n),u,i,c)}function U(u,n,i,c){return Ve(it(n),u,i,c)}function C(u,n,i,c){return Ve(Ye(n,u.length-i),u,i,c)}f.prototype.write=function(n,i,c,y){if(i===void 0)y="utf8",c=this.length,i=0;else if(c===void 0&&typeof i=="string")y=i,c=this.length,i=0;else if(isFinite(i))i=i>>>0,isFinite(c)?(c=c>>>0,y===void 0&&(y="utf8")):(y=c,c=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const b=this.length-i;if((c===void 0||c>b)&&(c=b),n.length>0&&(c<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");y||(y="utf8");let M=!1;for(;;)switch(y){case"hex":return X(this,n,i,c);case"utf8":case"utf-8":return G(this,n,i,c);case"ascii":case"latin1":case"binary":return me(this,n,i,c);case"base64":return U(this,n,i,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,n,i,c);default:if(M)throw new TypeError("Unknown encoding: "+y);y=(""+y).toLowerCase(),M=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function L(u,n,i){return n===0&&i===u.length?t.fromByteArray(u):t.fromByteArray(u.slice(n,i))}function N(u,n,i){i=Math.min(u.length,i);const c=[];let y=n;for(;y<i;){const b=u[y];let M=null,Y=b>239?4:b>223?3:b>191?2:1;if(y+Y<=i){let fe,oe,ue,ie;switch(Y){case 1:b<128&&(M=b);break;case 2:fe=u[y+1],(fe&192)===128&&(ie=(b&31)<<6|fe&63,ie>127&&(M=ie));break;case 3:fe=u[y+1],oe=u[y+2],(fe&192)===128&&(oe&192)===128&&(ie=(b&15)<<12|(fe&63)<<6|oe&63,ie>2047&&(ie<55296||ie>57343)&&(M=ie));break;case 4:fe=u[y+1],oe=u[y+2],ue=u[y+3],(fe&192)===128&&(oe&192)===128&&(ue&192)===128&&(ie=(b&15)<<18|(fe&63)<<12|(oe&63)<<6|ue&63,ie>65535&&ie<1114112&&(M=ie))}}M===null?(M=65533,Y=1):M>65535&&(M-=65536,c.push(M>>>10&1023|55296),M=56320|M&1023),c.push(M),y+=Y}return W(c)}const P=4096;function W(u){const n=u.length;if(n<=P)return String.fromCharCode.apply(String,u);let i="",c=0;for(;c<n;)i+=String.fromCharCode.apply(String,u.slice(c,c+=P));return i}function H(u,n,i){let c="";i=Math.min(u.length,i);for(let y=n;y<i;++y)c+=String.fromCharCode(u[y]&127);return c}function Q(u,n,i){let c="";i=Math.min(u.length,i);for(let y=n;y<i;++y)c+=String.fromCharCode(u[y]);return c}function se(u,n,i){const c=u.length;(!n||n<0)&&(n=0),(!i||i<0||i>c)&&(i=c);let y="";for(let b=n;b<i;++b)y+=at[u[b]];return y}function we(u,n,i){const c=u.slice(n,i);let y="";for(let b=0;b<c.length-1;b+=2)y+=String.fromCharCode(c[b]+c[b+1]*256);return y}f.prototype.slice=function(n,i){const c=this.length;n=~~n,i=i===void 0?c:~~i,n<0?(n+=c,n<0&&(n=0)):n>c&&(n=c),i<0?(i+=c,i<0&&(i=0)):i>c&&(i=c),i<n&&(i=n);const y=this.subarray(n,i);return Object.setPrototypeOf(y,f.prototype),y};function V(u,n,i){if(u%1!==0||u<0)throw new RangeError("offset is not uint");if(u+n>i)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUintLE=f.prototype.readUIntLE=function(n,i,c){n=n>>>0,i=i>>>0,c||V(n,i,this.length);let y=this[n],b=1,M=0;for(;++M<i&&(b*=256);)y+=this[n+M]*b;return y},f.prototype.readUintBE=f.prototype.readUIntBE=function(n,i,c){n=n>>>0,i=i>>>0,c||V(n,i,this.length);let y=this[n+--i],b=1;for(;i>0&&(b*=256);)y+=this[n+--i]*b;return y},f.prototype.readUint8=f.prototype.readUInt8=function(n,i){return n=n>>>0,i||V(n,1,this.length),this[n]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(n,i){return n=n>>>0,i||V(n,2,this.length),this[n]|this[n+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(n,i){return n=n>>>0,i||V(n,2,this.length),this[n]<<8|this[n+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(n,i){return n=n>>>0,i||V(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+this[n+3]*16777216},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(n,i){return n=n>>>0,i||V(n,4,this.length),this[n]*16777216+(this[n+1]<<16|this[n+2]<<8|this[n+3])},f.prototype.readBigUInt64LE=Me(function(n){n=n>>>0,S(n,"offset");const i=this[n],c=this[n+7];(i===void 0||c===void 0)&&j(n,this.length-8);const y=i+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24,b=this[++n]+this[++n]*2**8+this[++n]*2**16+c*2**24;return BigInt(y)+(BigInt(b)<<BigInt(32))}),f.prototype.readBigUInt64BE=Me(function(n){n=n>>>0,S(n,"offset");const i=this[n],c=this[n+7];(i===void 0||c===void 0)&&j(n,this.length-8);const y=i*2**24+this[++n]*2**16+this[++n]*2**8+this[++n],b=this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+c;return(BigInt(y)<<BigInt(32))+BigInt(b)}),f.prototype.readIntLE=function(n,i,c){n=n>>>0,i=i>>>0,c||V(n,i,this.length);let y=this[n],b=1,M=0;for(;++M<i&&(b*=256);)y+=this[n+M]*b;return b*=128,y>=b&&(y-=Math.pow(2,8*i)),y},f.prototype.readIntBE=function(n,i,c){n=n>>>0,i=i>>>0,c||V(n,i,this.length);let y=i,b=1,M=this[n+--y];for(;y>0&&(b*=256);)M+=this[n+--y]*b;return b*=128,M>=b&&(M-=Math.pow(2,8*i)),M},f.prototype.readInt8=function(n,i){return n=n>>>0,i||V(n,1,this.length),this[n]&128?(255-this[n]+1)*-1:this[n]},f.prototype.readInt16LE=function(n,i){n=n>>>0,i||V(n,2,this.length);const c=this[n]|this[n+1]<<8;return c&32768?c|4294901760:c},f.prototype.readInt16BE=function(n,i){n=n>>>0,i||V(n,2,this.length);const c=this[n+1]|this[n]<<8;return c&32768?c|4294901760:c},f.prototype.readInt32LE=function(n,i){return n=n>>>0,i||V(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24},f.prototype.readInt32BE=function(n,i){return n=n>>>0,i||V(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]},f.prototype.readBigInt64LE=Me(function(n){n=n>>>0,S(n,"offset");const i=this[n],c=this[n+7];(i===void 0||c===void 0)&&j(n,this.length-8);const y=this[n+4]+this[n+5]*2**8+this[n+6]*2**16+(c<<24);return(BigInt(y)<<BigInt(32))+BigInt(i+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24)}),f.prototype.readBigInt64BE=Me(function(n){n=n>>>0,S(n,"offset");const i=this[n],c=this[n+7];(i===void 0||c===void 0)&&j(n,this.length-8);const y=(i<<24)+this[++n]*2**16+this[++n]*2**8+this[++n];return(BigInt(y)<<BigInt(32))+BigInt(this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+c)}),f.prototype.readFloatLE=function(n,i){return n=n>>>0,i||V(n,4,this.length),r.read(this,n,!0,23,4)},f.prototype.readFloatBE=function(n,i){return n=n>>>0,i||V(n,4,this.length),r.read(this,n,!1,23,4)},f.prototype.readDoubleLE=function(n,i){return n=n>>>0,i||V(n,8,this.length),r.read(this,n,!0,52,8)},f.prototype.readDoubleBE=function(n,i){return n=n>>>0,i||V(n,8,this.length),r.read(this,n,!1,52,8)};function ee(u,n,i,c,y,b){if(!f.isBuffer(u))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>y||n<b)throw new RangeError('"value" argument is out of bounds');if(i+c>u.length)throw new RangeError("Index out of range")}f.prototype.writeUintLE=f.prototype.writeUIntLE=function(n,i,c,y){if(n=+n,i=i>>>0,c=c>>>0,!y){const Y=Math.pow(2,8*c)-1;ee(this,n,i,c,Y,0)}let b=1,M=0;for(this[i]=n&255;++M<c&&(b*=256);)this[i+M]=n/b&255;return i+c},f.prototype.writeUintBE=f.prototype.writeUIntBE=function(n,i,c,y){if(n=+n,i=i>>>0,c=c>>>0,!y){const Y=Math.pow(2,8*c)-1;ee(this,n,i,c,Y,0)}let b=c-1,M=1;for(this[i+b]=n&255;--b>=0&&(M*=256);)this[i+b]=n/M&255;return i+c},f.prototype.writeUint8=f.prototype.writeUInt8=function(n,i,c){return n=+n,i=i>>>0,c||ee(this,n,i,1,255,0),this[i]=n&255,i+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(n,i,c){return n=+n,i=i>>>0,c||ee(this,n,i,2,65535,0),this[i]=n&255,this[i+1]=n>>>8,i+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(n,i,c){return n=+n,i=i>>>0,c||ee(this,n,i,2,65535,0),this[i]=n>>>8,this[i+1]=n&255,i+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(n,i,c){return n=+n,i=i>>>0,c||ee(this,n,i,4,4294967295,0),this[i+3]=n>>>24,this[i+2]=n>>>16,this[i+1]=n>>>8,this[i]=n&255,i+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(n,i,c){return n=+n,i=i>>>0,c||ee(this,n,i,4,4294967295,0),this[i]=n>>>24,this[i+1]=n>>>16,this[i+2]=n>>>8,this[i+3]=n&255,i+4};function ce(u,n,i,c,y){p(n,c,y,u,i,7);let b=Number(n&BigInt(4294967295));u[i++]=b,b=b>>8,u[i++]=b,b=b>>8,u[i++]=b,b=b>>8,u[i++]=b;let M=Number(n>>BigInt(32)&BigInt(4294967295));return u[i++]=M,M=M>>8,u[i++]=M,M=M>>8,u[i++]=M,M=M>>8,u[i++]=M,i}function ae(u,n,i,c,y){p(n,c,y,u,i,7);let b=Number(n&BigInt(4294967295));u[i+7]=b,b=b>>8,u[i+6]=b,b=b>>8,u[i+5]=b,b=b>>8,u[i+4]=b;let M=Number(n>>BigInt(32)&BigInt(4294967295));return u[i+3]=M,M=M>>8,u[i+2]=M,M=M>>8,u[i+1]=M,M=M>>8,u[i]=M,i+8}f.prototype.writeBigUInt64LE=Me(function(n,i=0){return ce(this,n,i,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeBigUInt64BE=Me(function(n,i=0){return ae(this,n,i,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeIntLE=function(n,i,c,y){if(n=+n,i=i>>>0,!y){const fe=Math.pow(2,8*c-1);ee(this,n,i,c,fe-1,-fe)}let b=0,M=1,Y=0;for(this[i]=n&255;++b<c&&(M*=256);)n<0&&Y===0&&this[i+b-1]!==0&&(Y=1),this[i+b]=(n/M>>0)-Y&255;return i+c},f.prototype.writeIntBE=function(n,i,c,y){if(n=+n,i=i>>>0,!y){const fe=Math.pow(2,8*c-1);ee(this,n,i,c,fe-1,-fe)}let b=c-1,M=1,Y=0;for(this[i+b]=n&255;--b>=0&&(M*=256);)n<0&&Y===0&&this[i+b+1]!==0&&(Y=1),this[i+b]=(n/M>>0)-Y&255;return i+c},f.prototype.writeInt8=function(n,i,c){return n=+n,i=i>>>0,c||ee(this,n,i,1,127,-128),n<0&&(n=255+n+1),this[i]=n&255,i+1},f.prototype.writeInt16LE=function(n,i,c){return n=+n,i=i>>>0,c||ee(this,n,i,2,32767,-32768),this[i]=n&255,this[i+1]=n>>>8,i+2},f.prototype.writeInt16BE=function(n,i,c){return n=+n,i=i>>>0,c||ee(this,n,i,2,32767,-32768),this[i]=n>>>8,this[i+1]=n&255,i+2},f.prototype.writeInt32LE=function(n,i,c){return n=+n,i=i>>>0,c||ee(this,n,i,4,2147483647,-2147483648),this[i]=n&255,this[i+1]=n>>>8,this[i+2]=n>>>16,this[i+3]=n>>>24,i+4},f.prototype.writeInt32BE=function(n,i,c){return n=+n,i=i>>>0,c||ee(this,n,i,4,2147483647,-2147483648),n<0&&(n=4294967295+n+1),this[i]=n>>>24,this[i+1]=n>>>16,this[i+2]=n>>>8,this[i+3]=n&255,i+4},f.prototype.writeBigInt64LE=Me(function(n,i=0){return ce(this,n,i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeBigInt64BE=Me(function(n,i=0){return ae(this,n,i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ye(u,n,i,c,y,b){if(i+c>u.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function w(u,n,i,c,y){return n=+n,i=i>>>0,y||ye(u,n,i,4),r.write(u,n,i,c,23,4),i+4}f.prototype.writeFloatLE=function(n,i,c){return w(this,n,i,!0,c)},f.prototype.writeFloatBE=function(n,i,c){return w(this,n,i,!1,c)};function m(u,n,i,c,y){return n=+n,i=i>>>0,y||ye(u,n,i,8),r.write(u,n,i,c,52,8),i+8}f.prototype.writeDoubleLE=function(n,i,c){return m(this,n,i,!0,c)},f.prototype.writeDoubleBE=function(n,i,c){return m(this,n,i,!1,c)},f.prototype.copy=function(n,i,c,y){if(!f.isBuffer(n))throw new TypeError("argument should be a Buffer");if(c||(c=0),!y&&y!==0&&(y=this.length),i>=n.length&&(i=n.length),i||(i=0),y>0&&y<c&&(y=c),y===c||n.length===0||this.length===0)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(c<0||c>=this.length)throw new RangeError("Index out of range");if(y<0)throw new RangeError("sourceEnd out of bounds");y>this.length&&(y=this.length),n.length-i<y-c&&(y=n.length-i+c);const b=y-c;return this===n&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(i,c,y):Uint8Array.prototype.set.call(n,this.subarray(c,y),i),b},f.prototype.fill=function(n,i,c,y){if(typeof n=="string"){if(typeof i=="string"?(y=i,i=0,c=this.length):typeof c=="string"&&(y=c,c=this.length),y!==void 0&&typeof y!="string")throw new TypeError("encoding must be a string");if(typeof y=="string"&&!f.isEncoding(y))throw new TypeError("Unknown encoding: "+y);if(n.length===1){const M=n.charCodeAt(0);(y==="utf8"&&M<128||y==="latin1")&&(n=M)}}else typeof n=="number"?n=n&255:typeof n=="boolean"&&(n=Number(n));if(i<0||this.length<i||this.length<c)throw new RangeError("Out of range index");if(c<=i)return this;i=i>>>0,c=c===void 0?this.length:c>>>0,n||(n=0);let b;if(typeof n=="number")for(b=i;b<c;++b)this[b]=n;else{const M=f.isBuffer(n)?n:f.from(n,y),Y=M.length;if(Y===0)throw new TypeError('The value "'+n+'" is invalid for argument "value"');for(b=0;b<c-i;++b)this[b+i]=M[b%Y]}return this};const T={};function $(u,n,i){T[u]=class extends i{constructor(){super(),Object.defineProperty(this,"message",{value:n.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${u}]`,this.stack,delete this.name}get code(){return u}set code(y){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:y,writable:!0})}toString(){return`${this.name} [${u}]: ${this.message}`}}}$("ERR_BUFFER_OUT_OF_BOUNDS",function(u){return u?`${u} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),$("ERR_INVALID_ARG_TYPE",function(u,n){return`The "${u}" argument must be of type number. Received type ${typeof n}`},TypeError),$("ERR_OUT_OF_RANGE",function(u,n,i){let c=`The value of "${u}" is out of range.`,y=i;return Number.isInteger(i)&&Math.abs(i)>2**32?y=q(String(i)):typeof i=="bigint"&&(y=String(i),(i>BigInt(2)**BigInt(32)||i<-(BigInt(2)**BigInt(32)))&&(y=q(y)),y+="n"),c+=` It must be ${n}. Received ${y}`,c},RangeError);function q(u){let n="",i=u.length;const c=u[0]==="-"?1:0;for(;i>=c+4;i-=3)n=`_${u.slice(i-3,i)}${n}`;return`${u.slice(0,i)}${n}`}function d(u,n,i){S(n,"offset"),(u[n]===void 0||u[n+i]===void 0)&&j(n,u.length-(i+1))}function p(u,n,i,c,y,b){if(u>i||u<n){const M=typeof n=="bigint"?"n":"";let Y;throw b>3?n===0||n===BigInt(0)?Y=`>= 0${M} and < 2${M} ** ${(b+1)*8}${M}`:Y=`>= -(2${M} ** ${(b+1)*8-1}${M}) and < 2 ** ${(b+1)*8-1}${M}`:Y=`>= ${n}${M} and <= ${i}${M}`,new T.ERR_OUT_OF_RANGE("value",Y,u)}d(c,y,b)}function S(u,n){if(typeof u!="number")throw new T.ERR_INVALID_ARG_TYPE(n,"number",u)}function j(u,n,i){throw Math.floor(u)!==u?(S(u,i),new T.ERR_OUT_OF_RANGE(i||"offset","an integer",u)):n<0?new T.ERR_BUFFER_OUT_OF_BOUNDS:new T.ERR_OUT_OF_RANGE(i||"offset",`>= ${i?1:0} and <= ${n}`,u)}const re=/[^+/0-9A-Za-z-_]/g;function Z(u){if(u=u.split("=")[0],u=u.trim().replace(re,""),u.length<2)return"";for(;u.length%4!==0;)u=u+"=";return u}function K(u,n){n=n||1/0;let i;const c=u.length;let y=null;const b=[];for(let M=0;M<c;++M){if(i=u.charCodeAt(M),i>55295&&i<57344){if(!y){if(i>56319){(n-=3)>-1&&b.push(239,191,189);continue}else if(M+1===c){(n-=3)>-1&&b.push(239,191,189);continue}y=i;continue}if(i<56320){(n-=3)>-1&&b.push(239,191,189),y=i;continue}i=(y-55296<<10|i-56320)+65536}else y&&(n-=3)>-1&&b.push(239,191,189);if(y=null,i<128){if((n-=1)<0)break;b.push(i)}else if(i<2048){if((n-=2)<0)break;b.push(i>>6|192,i&63|128)}else if(i<65536){if((n-=3)<0)break;b.push(i>>12|224,i>>6&63|128,i&63|128)}else if(i<1114112){if((n-=4)<0)break;b.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else throw new Error("Invalid code point")}return b}function Te(u){const n=[];for(let i=0;i<u.length;++i)n.push(u.charCodeAt(i)&255);return n}function Ye(u,n){let i,c,y;const b=[];for(let M=0;M<u.length&&!((n-=2)<0);++M)i=u.charCodeAt(M),c=i>>8,y=i%256,b.push(y),b.push(c);return b}function it(u){return t.toByteArray(Z(u))}function Ve(u,n,i,c){let y;for(y=0;y<c&&!(y+i>=n.length||y>=u.length);++y)n[y+i]=u[y];return y}function xe(u,n){return u instanceof n||u!=null&&u.constructor!=null&&u.constructor.name!=null&&u.constructor.name===n.name}function qe(u){return u!==u}const at=function(){const u="0123456789abcdef",n=new Array(256);for(let i=0;i<16;++i){const c=i*16;for(let y=0;y<16;++y)n[c+y]=u[i]+u[y]}return n}();function Me(u){return typeof BigInt>"u"?Ge:u}function Ge(){throw new Error("BigInt not supported")}})(rt);var dr={exports:{}},et=typeof Reflect=="object"?Reflect:null,Br=et&&typeof et.apply=="function"?et.apply:function(t,r,a){return Function.prototype.apply.call(t,r,a)},pt;et&&typeof et.ownKeys=="function"?pt=et.ownKeys:Object.getOwnPropertySymbols?pt=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:pt=function(t){return Object.getOwnPropertyNames(t)};function La(e){console&&console.warn&&console.warn(e)}var Hn=Number.isNaN||function(t){return t!==t};function ne(){ne.init.call(this)}dr.exports=ne;dr.exports.once=ka;ne.EventEmitter=ne;ne.prototype._events=void 0;ne.prototype._eventsCount=0;ne.prototype._maxListeners=void 0;var Ar=10;function Rt(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(ne,"defaultMaxListeners",{enumerable:!0,get:function(){return Ar},set:function(e){if(typeof e!="number"||e<0||Hn(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");Ar=e}});ne.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};ne.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||Hn(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function Zn(e){return e._maxListeners===void 0?ne.defaultMaxListeners:e._maxListeners}ne.prototype.getMaxListeners=function(){return Zn(this)};ne.prototype.emit=function(t){for(var r=[],a=1;a<arguments.length;a++)r.push(arguments[a]);var o=t==="error",s=this._events;if(s!==void 0)o=o&&s.error===void 0;else if(!o)return!1;if(o){var l;if(r.length>0&&(l=r[0]),l instanceof Error)throw l;var f=new Error("Unhandled error."+(l?" ("+l.message+")":""));throw f.context=l,f}var h=s[t];if(h===void 0)return!1;if(typeof h=="function")Br(h,this,r);else for(var v=h.length,g=Jn(h,v),a=0;a<v;++a)Br(g[a],this,r);return!0};function Xn(e,t,r,a){var o,s,l;if(Rt(r),s=e._events,s===void 0?(s=e._events=Object.create(null),e._eventsCount=0):(s.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),s=e._events),l=s[t]),l===void 0)l=s[t]=r,++e._eventsCount;else if(typeof l=="function"?l=s[t]=a?[r,l]:[l,r]:a?l.unshift(r):l.push(r),o=Zn(e),o>0&&l.length>o&&!l.warned){l.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=e,f.type=t,f.count=l.length,La(f)}return e}ne.prototype.addListener=function(t,r){return Xn(this,t,r,!1)};ne.prototype.on=ne.prototype.addListener;ne.prototype.prependListener=function(t,r){return Xn(this,t,r,!0)};function ja(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Yn(e,t,r){var a={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=ja.bind(a);return o.listener=r,a.wrapFn=o,o}ne.prototype.once=function(t,r){return Rt(r),this.on(t,Yn(this,t,r)),this};ne.prototype.prependOnceListener=function(t,r){return Rt(r),this.prependListener(t,Yn(this,t,r)),this};ne.prototype.removeListener=function(t,r){var a,o,s,l,f;if(Rt(r),o=this._events,o===void 0)return this;if(a=o[t],a===void 0)return this;if(a===r||a.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,a.listener||r));else if(typeof a!="function"){for(s=-1,l=a.length-1;l>=0;l--)if(a[l]===r||a[l].listener===r){f=a[l].listener,s=l;break}if(s<0)return this;s===0?a.shift():Oa(a,s),a.length===1&&(o[t]=a[0]),o.removeListener!==void 0&&this.emit("removeListener",t,f||r)}return this};ne.prototype.off=ne.prototype.removeListener;ne.prototype.removeAllListeners=function(t){var r,a,o;if(a=this._events,a===void 0)return this;if(a.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):a[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete a[t]),this;if(arguments.length===0){var s=Object.keys(a),l;for(o=0;o<s.length;++o)l=s[o],l!=="removeListener"&&this.removeAllListeners(l);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=a[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(o=r.length-1;o>=0;o--)this.removeListener(t,r[o]);return this};function Vn(e,t,r){var a=e._events;if(a===void 0)return[];var o=a[t];return o===void 0?[]:typeof o=="function"?r?[o.listener||o]:[o]:r?Fa(o):Jn(o,o.length)}ne.prototype.listeners=function(t){return Vn(this,t,!0)};ne.prototype.rawListeners=function(t){return Vn(this,t,!1)};ne.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Kn.call(e,t)};ne.prototype.listenerCount=Kn;function Kn(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}ne.prototype.eventNames=function(){return this._eventsCount>0?pt(this._events):[]};function Jn(e,t){for(var r=new Array(t),a=0;a<t;++a)r[a]=e[a];return r}function Oa(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function Fa(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function ka(e,t){return new Promise(function(r,a){function o(l){e.removeListener(t,s),a(l)}function s(){typeof e.removeListener=="function"&&e.removeListener("error",o),r([].slice.call(arguments))}Qn(e,t,s,{once:!0}),t!=="error"&&Pa(e,o,{once:!0})})}function Pa(e,t,r){typeof e.on=="function"&&Qn(e,"error",t,r)}function Qn(e,t,r,a){if(typeof e.on=="function")a.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function o(s){a.once&&e.removeEventListener(t,o),r(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var pr=dr.exports;const $a=hr(pr);var St={exports:{}},vr="_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ei="-0123456789"+vr,Da=new RegExp("^[^"+vr+"]|[^\\"+ei+"]","g"),Ua=12,qa={random:ti,sanitize:ri,ensure:Ga};function ti(e){return e=e||Ua,Nr(1,vr)+Nr(e-1,ei)}function ri(e){return e.replace(Da,"_")}function Ga(e,t){return typeof e=="string"?ri(e):ti(t)}function Nr(e,t){for(var r=t.length,a="";e>0;)e--,a+=t[Math.floor(Math.random()*r)];return a}var za=typeof he=="object"&&he&&he.Object===Object&&he,Wa=typeof self=="object"&&self&&self.Object===Object&&self,Ha=za||Wa||Function("return this")(),Za=Ha.isFinite;function Xa(e){return typeof e=="number"&&Za(e)}var lt=Xa,mt={},Zt={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */(function(e,t){var r=rt,a=r.Buffer;function o(l,f){for(var h in l)f[h]=l[h]}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s);function s(l,f,h){return a(l,f,h)}s.prototype=Object.create(a.prototype),o(a,s),s.from=function(l,f,h){if(typeof l=="number")throw new TypeError("Argument must not be a number");return a(l,f,h)},s.alloc=function(l,f,h){if(typeof l!="number")throw new TypeError("Argument must be a number");var v=a(l);return f!==void 0?typeof h=="string"?v.fill(f,h):v.fill(f):v.fill(0),v},s.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return a(l)},s.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(l)}})(Zt,Zt.exports);var Ya=Zt.exports,gr=Ya.Buffer,Ir=gr.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Va(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function Ka(e){var t=Va(e);if(typeof t!="string"&&(gr.isEncoding===Ir||!Ir(e)))throw new Error("Unknown encoding: "+e);return t||e}mt.StringDecoder=ht;function ht(e){this.encoding=Ka(e);var t;switch(this.encoding){case"utf16le":this.text=no,this.end=io,t=4;break;case"utf8":this.fillLast=eo,t=4;break;case"base64":this.text=ao,this.end=oo,t=3;break;default:this.write=so,this.end=fo;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=gr.allocUnsafe(t)}ht.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};ht.prototype.end=ro;ht.prototype.text=to;ht.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function Lt(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Ja(e,t,r){var a=t.length-1;if(a<r)return 0;var o=Lt(t[a]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--a<r||o===-2?0:(o=Lt(t[a]),o>=0?(o>0&&(e.lastNeed=o-2),o):--a<r||o===-2?0:(o=Lt(t[a]),o>=0?(o>0&&(o===2?o=0:e.lastNeed=o-3),o):0))}function Qa(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"�"}}function eo(e){var t=this.lastTotal-this.lastNeed,r=Qa(this,e);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function to(e,t){var r=Ja(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var a=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,a),e.toString("utf8",t,a)}function ro(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function no(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var a=r.charCodeAt(r.length-1);if(a>=55296&&a<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function io(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function ao(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function oo(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function so(e){return e.toString(this.encoding)}function fo(e){return e&&e.length?this.write(e):""}var Xt={exports:{}};typeof Object.create=="function"?Xt.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Xt.exports=function(t,r){if(r){t.super_=r;var a=function(){};a.prototype=r.prototype,t.prototype=new a,t.prototype.constructor=t}};var $e=Xt.exports,Yt={exports:{}},ni=pr.EventEmitter;const uo={},lo=Object.freeze(Object.defineProperty({__proto__:null,default:uo},Symbol.toStringTag,{value:"Module"})),ii=wa(lo);var jt,Cr;function ho(){if(Cr)return jt;Cr=1;function e(E,R){var A=Object.keys(E);if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(E);R&&(I=I.filter(function(D){return Object.getOwnPropertyDescriptor(E,D).enumerable})),A.push.apply(A,I)}return A}function t(E){for(var R=1;R<arguments.length;R++){var A=arguments[R]!=null?arguments[R]:{};R%2?e(Object(A),!0).forEach(function(I){r(E,I,A[I])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(A)):e(Object(A)).forEach(function(I){Object.defineProperty(E,I,Object.getOwnPropertyDescriptor(A,I))})}return E}function r(E,R,A){return R=l(R),R in E?Object.defineProperty(E,R,{value:A,enumerable:!0,configurable:!0,writable:!0}):E[R]=A,E}function a(E,R){if(!(E instanceof R))throw new TypeError("Cannot call a class as a function")}function o(E,R){for(var A=0;A<R.length;A++){var I=R[A];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(E,l(I.key),I)}}function s(E,R,A){return R&&o(E.prototype,R),A&&o(E,A),Object.defineProperty(E,"prototype",{writable:!1}),E}function l(E){var R=f(E,"string");return typeof R=="symbol"?R:String(R)}function f(E,R){if(typeof E!="object"||E===null)return E;var A=E[Symbol.toPrimitive];if(A!==void 0){var I=A.call(E,R||"default");if(typeof I!="object")return I;throw new TypeError("@@toPrimitive must return a primitive value.")}return(R==="string"?String:Number)(E)}var h=rt,v=h.Buffer,g=ii,_=g.inspect,x=_&&_.custom||"inspect";function B(E,R,A){v.prototype.copy.call(E,R,A)}return jt=function(){function E(){a(this,E),this.head=null,this.tail=null,this.length=0}return s(E,[{key:"push",value:function(A){var I={data:A,next:null};this.length>0?this.tail.next=I:this.head=I,this.tail=I,++this.length}},{key:"unshift",value:function(A){var I={data:A,next:this.head};this.length===0&&(this.tail=I),this.head=I,++this.length}},{key:"shift",value:function(){if(this.length!==0){var A=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,A}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(A){if(this.length===0)return"";for(var I=this.head,D=""+I.data;I=I.next;)D+=A+I.data;return D}},{key:"concat",value:function(A){if(this.length===0)return v.alloc(0);for(var I=v.allocUnsafe(A>>>0),D=this.head,F=0;D;)B(D.data,I,F),F+=D.data.length,D=D.next;return I}},{key:"consume",value:function(A,I){var D;return A<this.head.data.length?(D=this.head.data.slice(0,A),this.head.data=this.head.data.slice(A)):A===this.head.data.length?D=this.shift():D=I?this._getString(A):this._getBuffer(A),D}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(A){var I=this.head,D=1,F=I.data;for(A-=F.length;I=I.next;){var O=I.data,k=A>O.length?O.length:A;if(k===O.length?F+=O:F+=O.slice(0,A),A-=k,A===0){k===O.length?(++D,I.next?this.head=I.next:this.head=this.tail=null):(this.head=I,I.data=O.slice(k));break}++D}return this.length-=D,F}},{key:"_getBuffer",value:function(A){var I=v.allocUnsafe(A),D=this.head,F=1;for(D.data.copy(I),A-=D.data.length;D=D.next;){var O=D.data,k=A>O.length?O.length:A;if(O.copy(I,I.length-A,0,k),A-=k,A===0){k===O.length?(++F,D.next?this.head=D.next:this.head=this.tail=null):(this.head=D,D.data=O.slice(k));break}++F}return this.length-=F,I}},{key:x,value:function(A,I){return _(this,t(t({},I),{},{depth:0,customInspect:!1}))}}]),E}(),jt}function co(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(Vt,this,e)):process.nextTick(Vt,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(s){!t&&s?r._writableState?r._writableState.errorEmitted?process.nextTick(vt,r):(r._writableState.errorEmitted=!0,process.nextTick(Lr,r,s)):process.nextTick(Lr,r,s):t?(process.nextTick(vt,r),t(s)):process.nextTick(vt,r)}),this)}function Lr(e,t){Vt(e,t),vt(e)}function vt(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function po(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Vt(e,t){e.emit("error",t)}function vo(e,t){var r=e._readableState,a=e._writableState;r&&r.autoDestroy||a&&a.autoDestroy?e.destroy(t):e.emit("error",t)}var ai={destroy:co,undestroy:po,errorOrDestroy:vo},Xe={};function go(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var oi={};function Se(e,t,r){r||(r=Error);function a(s,l,f){return typeof t=="string"?t:t(s,l,f)}var o=function(s){go(l,s);function l(f,h,v){return s.call(this,a(f,h,v))||this}return l}(r);o.prototype.name=r.name,o.prototype.code=e,oi[e]=o}function jr(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(a){return String(a)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:r===2?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}else return"of ".concat(t," ").concat(String(e))}function yo(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function mo(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function _o(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}Se("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);Se("ERR_INVALID_ARG_TYPE",function(e,t,r){var a;typeof t=="string"&&yo(t,"not ")?(a="must not be",t=t.replace(/^not /,"")):a="must be";var o;if(mo(e," argument"))o="The ".concat(e," ").concat(a," ").concat(jr(t,"type"));else{var s=_o(e,".")?"property":"argument";o='The "'.concat(e,'" ').concat(s," ").concat(a," ").concat(jr(t,"type"))}return o+=". Received type ".concat(typeof r),o},TypeError);Se("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Se("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});Se("ERR_STREAM_PREMATURE_CLOSE","Premature close");Se("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});Se("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Se("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Se("ERR_STREAM_WRITE_AFTER_END","write after end");Se("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Se("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);Se("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Xe.codes=oi;var wo=Xe.codes.ERR_INVALID_OPT_VALUE;function bo(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function xo(e,t,r,a){var o=bo(t,a,r);if(o!=null){if(!(isFinite(o)&&Math.floor(o)===o)||o<0){var s=a?r:"highWaterMark";throw new wo(s,o)}return Math.floor(o)}return e.objectMode?16:16*1024}var si={getHighWaterMark:xo},Eo=Mo;function Mo(e,t){if(Ot("noDeprecation"))return e;var r=!1;function a(){if(!r){if(Ot("throwDeprecation"))throw new Error(t);Ot("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return a}function Ot(e){try{if(!he.localStorage)return!1}catch{return!1}var t=he.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}var Ft,Or;function fi(){if(Or)return Ft;Or=1,Ft=X;function e(w){var m=this;this.next=null,this.entry=null,this.finish=function(){ye(m,w)}}var t;X.WritableState=z;var r={deprecate:Eo},a=ni,o=rt.Buffer,s=(typeof he<"u"?he:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function l(w){return o.from(w)}function f(w){return o.isBuffer(w)||w instanceof s}var h=ai,v=si,g=v.getHighWaterMark,_=Xe.codes,x=_.ERR_INVALID_ARG_TYPE,B=_.ERR_METHOD_NOT_IMPLEMENTED,E=_.ERR_MULTIPLE_CALLBACK,R=_.ERR_STREAM_CANNOT_PIPE,A=_.ERR_STREAM_DESTROYED,I=_.ERR_STREAM_NULL_VALUES,D=_.ERR_STREAM_WRITE_AFTER_END,F=_.ERR_UNKNOWN_ENCODING,O=h.errorOrDestroy;$e(X,a);function k(){}function z(w,m,T){t=t||tt(),w=w||{},typeof T!="boolean"&&(T=m instanceof t),this.objectMode=!!w.objectMode,T&&(this.objectMode=this.objectMode||!!w.writableObjectMode),this.highWaterMark=g(this,w,"writableHighWaterMark",T),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var $=w.decodeStrings===!1;this.decodeStrings=!$,this.defaultEncoding=w.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){W(m,q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=w.emitClose!==!1,this.autoDestroy=!!w.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}z.prototype.getBuffer=function(){for(var m=this.bufferedRequest,T=[];m;)T.push(m),m=m.next;return T},function(){try{Object.defineProperty(z.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var te;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(te=Function.prototype[Symbol.hasInstance],Object.defineProperty(X,Symbol.hasInstance,{value:function(m){return te.call(this,m)?!0:this!==X?!1:m&&m._writableState instanceof z}})):te=function(m){return m instanceof this};function X(w){t=t||tt();var m=this instanceof t;if(!m&&!te.call(X,this))return new X(w);this._writableState=new z(w,this,m),this.writable=!0,w&&(typeof w.write=="function"&&(this._write=w.write),typeof w.writev=="function"&&(this._writev=w.writev),typeof w.destroy=="function"&&(this._destroy=w.destroy),typeof w.final=="function"&&(this._final=w.final)),a.call(this)}X.prototype.pipe=function(){O(this,new R)};function G(w,m){var T=new D;O(w,T),process.nextTick(m,T)}function me(w,m,T,$){var q;return T===null?q=new I:typeof T!="string"&&!m.objectMode&&(q=new x("chunk",["string","Buffer"],T)),q?(O(w,q),process.nextTick($,q),!1):!0}X.prototype.write=function(w,m,T){var $=this._writableState,q=!1,d=!$.objectMode&&f(w);return d&&!o.isBuffer(w)&&(w=l(w)),typeof m=="function"&&(T=m,m=null),d?m="buffer":m||(m=$.defaultEncoding),typeof T!="function"&&(T=k),$.ending?G(this,T):(d||me(this,$,w,T))&&($.pendingcb++,q=C(this,$,d,w,m,T)),q},X.prototype.cork=function(){this._writableState.corked++},X.prototype.uncork=function(){var w=this._writableState;w.corked&&(w.corked--,!w.writing&&!w.corked&&!w.bufferProcessing&&w.bufferedRequest&&se(this,w))},X.prototype.setDefaultEncoding=function(m){if(typeof m=="string"&&(m=m.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((m+"").toLowerCase())>-1))throw new F(m);return this._writableState.defaultEncoding=m,this},Object.defineProperty(X.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function U(w,m,T){return!w.objectMode&&w.decodeStrings!==!1&&typeof m=="string"&&(m=o.from(m,T)),m}Object.defineProperty(X.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function C(w,m,T,$,q,d){if(!T){var p=U(m,$,q);$!==p&&(T=!0,q="buffer",$=p)}var S=m.objectMode?1:$.length;m.length+=S;var j=m.length<m.highWaterMark;if(j||(m.needDrain=!0),m.writing||m.corked){var re=m.lastBufferedRequest;m.lastBufferedRequest={chunk:$,encoding:q,isBuf:T,callback:d,next:null},re?re.next=m.lastBufferedRequest:m.bufferedRequest=m.lastBufferedRequest,m.bufferedRequestCount+=1}else L(w,m,!1,S,$,q,d);return j}function L(w,m,T,$,q,d,p){m.writelen=$,m.writecb=p,m.writing=!0,m.sync=!0,m.destroyed?m.onwrite(new A("write")):T?w._writev(q,m.onwrite):w._write(q,d,m.onwrite),m.sync=!1}function N(w,m,T,$,q){--m.pendingcb,T?(process.nextTick(q,$),process.nextTick(ce,w,m),w._writableState.errorEmitted=!0,O(w,$)):(q($),w._writableState.errorEmitted=!0,O(w,$),ce(w,m))}function P(w){w.writing=!1,w.writecb=null,w.length-=w.writelen,w.writelen=0}function W(w,m){var T=w._writableState,$=T.sync,q=T.writecb;if(typeof q!="function")throw new E;if(P(T),m)N(w,T,$,m,q);else{var d=we(T)||w.destroyed;!d&&!T.corked&&!T.bufferProcessing&&T.bufferedRequest&&se(w,T),$?process.nextTick(H,w,T,d,q):H(w,T,d,q)}}function H(w,m,T,$){T||Q(w,m),m.pendingcb--,$(),ce(w,m)}function Q(w,m){m.length===0&&m.needDrain&&(m.needDrain=!1,w.emit("drain"))}function se(w,m){m.bufferProcessing=!0;var T=m.bufferedRequest;if(w._writev&&T&&T.next){var $=m.bufferedRequestCount,q=new Array($),d=m.corkedRequestsFree;d.entry=T;for(var p=0,S=!0;T;)q[p]=T,T.isBuf||(S=!1),T=T.next,p+=1;q.allBuffers=S,L(w,m,!0,m.length,q,"",d.finish),m.pendingcb++,m.lastBufferedRequest=null,d.next?(m.corkedRequestsFree=d.next,d.next=null):m.corkedRequestsFree=new e(m),m.bufferedRequestCount=0}else{for(;T;){var j=T.chunk,re=T.encoding,Z=T.callback,K=m.objectMode?1:j.length;if(L(w,m,!1,K,j,re,Z),T=T.next,m.bufferedRequestCount--,m.writing)break}T===null&&(m.lastBufferedRequest=null)}m.bufferedRequest=T,m.bufferProcessing=!1}X.prototype._write=function(w,m,T){T(new B("_write()"))},X.prototype._writev=null,X.prototype.end=function(w,m,T){var $=this._writableState;return typeof w=="function"?(T=w,w=null,m=null):typeof m=="function"&&(T=m,m=null),w!=null&&this.write(w,m),$.corked&&($.corked=1,this.uncork()),$.ending||ae(this,$,T),this},Object.defineProperty(X.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function we(w){return w.ending&&w.length===0&&w.bufferedRequest===null&&!w.finished&&!w.writing}function V(w,m){w._final(function(T){m.pendingcb--,T&&O(w,T),m.prefinished=!0,w.emit("prefinish"),ce(w,m)})}function ee(w,m){!m.prefinished&&!m.finalCalled&&(typeof w._final=="function"&&!m.destroyed?(m.pendingcb++,m.finalCalled=!0,process.nextTick(V,w,m)):(m.prefinished=!0,w.emit("prefinish")))}function ce(w,m){var T=we(m);if(T&&(ee(w,m),m.pendingcb===0&&(m.finished=!0,w.emit("finish"),m.autoDestroy))){var $=w._readableState;(!$||$.autoDestroy&&$.endEmitted)&&w.destroy()}return T}function ae(w,m,T){m.ending=!0,ce(w,m),T&&(m.finished?process.nextTick(T):w.once("finish",T)),m.ended=!0,w.writable=!1}function ye(w,m,T){var $=w.entry;for(w.entry=null;$;){var q=$.callback;m.pendingcb--,q(T),$=$.next}m.corkedRequestsFree.next=w}return Object.defineProperty(X.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(m){this._writableState&&(this._writableState.destroyed=m)}}),X.prototype.destroy=h.destroy,X.prototype._undestroy=h.undestroy,X.prototype._destroy=function(w,m){m(w)},Ft}var kt,Fr;function tt(){if(Fr)return kt;Fr=1;var e=Object.keys||function(v){var g=[];for(var _ in v)g.push(_);return g};kt=l;var t=li(),r=fi();$e(l,t);for(var a=e(r.prototype),o=0;o<a.length;o++){var s=a[o];l.prototype[s]||(l.prototype[s]=r.prototype[s])}function l(v){if(!(this instanceof l))return new l(v);t.call(this,v),r.call(this,v),this.allowHalfOpen=!0,v&&(v.readable===!1&&(this.readable=!1),v.writable===!1&&(this.writable=!1),v.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",f)))}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function f(){this._writableState.ended||process.nextTick(h,this)}function h(v){v.end()}return Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(g){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=g,this._writableState.destroyed=g)}}),kt}var kr=Xe.codes.ERR_STREAM_PREMATURE_CLOSE;function Ro(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];e.apply(this,a)}}}function So(){}function To(e){return e.setHeader&&typeof e.abort=="function"}function ui(e,t,r){if(typeof t=="function")return ui(e,null,t);t||(t={}),r=Ro(r||So);var a=t.readable||t.readable!==!1&&e.readable,o=t.writable||t.writable!==!1&&e.writable,s=function(){e.writable||f()},l=e._writableState&&e._writableState.finished,f=function(){o=!1,l=!0,a||r.call(e)},h=e._readableState&&e._readableState.endEmitted,v=function(){a=!1,h=!0,o||r.call(e)},g=function(E){r.call(e,E)},_=function(){var E;if(a&&!h)return(!e._readableState||!e._readableState.ended)&&(E=new kr),r.call(e,E);if(o&&!l)return(!e._writableState||!e._writableState.ended)&&(E=new kr),r.call(e,E)},x=function(){e.req.on("finish",f)};return To(e)?(e.on("complete",f),e.on("abort",_),e.req?x():e.on("request",x)):o&&!e._writableState&&(e.on("end",s),e.on("close",s)),e.on("end",v),e.on("finish",f),t.error!==!1&&e.on("error",g),e.on("close",_),function(){e.removeListener("complete",f),e.removeListener("abort",_),e.removeListener("request",x),e.req&&e.req.removeListener("finish",f),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",f),e.removeListener("end",v),e.removeListener("error",g),e.removeListener("close",_)}}var yr=ui,Pt,Pr;function Bo(){if(Pr)return Pt;Pr=1;var e;function t(F,O,k){return O=r(O),O in F?Object.defineProperty(F,O,{value:k,enumerable:!0,configurable:!0,writable:!0}):F[O]=k,F}function r(F){var O=a(F,"string");return typeof O=="symbol"?O:String(O)}function a(F,O){if(typeof F!="object"||F===null)return F;var k=F[Symbol.toPrimitive];if(k!==void 0){var z=k.call(F,O||"default");if(typeof z!="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(O==="string"?String:Number)(F)}var o=yr,s=Symbol("lastResolve"),l=Symbol("lastReject"),f=Symbol("error"),h=Symbol("ended"),v=Symbol("lastPromise"),g=Symbol("handlePromise"),_=Symbol("stream");function x(F,O){return{value:F,done:O}}function B(F){var O=F[s];if(O!==null){var k=F[_].read();k!==null&&(F[v]=null,F[s]=null,F[l]=null,O(x(k,!1)))}}function E(F){process.nextTick(B,F)}function R(F,O){return function(k,z){F.then(function(){if(O[h]){k(x(void 0,!0));return}O[g](k,z)},z)}}var A=Object.getPrototypeOf(function(){}),I=Object.setPrototypeOf((e={get stream(){return this[_]},next:function(){var O=this,k=this[f];if(k!==null)return Promise.reject(k);if(this[h])return Promise.resolve(x(void 0,!0));if(this[_].destroyed)return new Promise(function(G,me){process.nextTick(function(){O[f]?me(O[f]):G(x(void 0,!0))})});var z=this[v],te;if(z)te=new Promise(R(z,this));else{var X=this[_].read();if(X!==null)return Promise.resolve(x(X,!1));te=new Promise(this[g])}return this[v]=te,te}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var O=this;return new Promise(function(k,z){O[_].destroy(null,function(te){if(te){z(te);return}k(x(void 0,!0))})})}),e),A),D=function(O){var k,z=Object.create(I,(k={},t(k,_,{value:O,writable:!0}),t(k,s,{value:null,writable:!0}),t(k,l,{value:null,writable:!0}),t(k,f,{value:null,writable:!0}),t(k,h,{value:O._readableState.endEmitted,writable:!0}),t(k,g,{value:function(X,G){var me=z[_].read();me?(z[v]=null,z[s]=null,z[l]=null,X(x(me,!1))):(z[s]=X,z[l]=G)},writable:!0}),k));return z[v]=null,o(O,function(te){if(te&&te.code!=="ERR_STREAM_PREMATURE_CLOSE"){var X=z[l];X!==null&&(z[v]=null,z[s]=null,z[l]=null,X(te)),z[f]=te;return}var G=z[s];G!==null&&(z[v]=null,z[s]=null,z[l]=null,G(x(void 0,!0))),z[h]=!0}),O.on("readable",E.bind(null,z)),z};return Pt=D,Pt}var $t,$r;function Ao(){return $r||($r=1,$t=function(){throw new Error("Readable.from is not available in the browser")}),$t}var Dt,Dr;function li(){if(Dr)return Dt;Dr=1,Dt=G;var e;G.ReadableState=X,pr.EventEmitter;var t=function(p,S){return p.listeners(S).length},r=ni,a=rt.Buffer,o=(typeof he<"u"?he:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function s(d){return a.from(d)}function l(d){return a.isBuffer(d)||d instanceof o}var f=ii,h;f&&f.debuglog?h=f.debuglog("stream"):h=function(){};var v=ho(),g=ai,_=si,x=_.getHighWaterMark,B=Xe.codes,E=B.ERR_INVALID_ARG_TYPE,R=B.ERR_STREAM_PUSH_AFTER_EOF,A=B.ERR_METHOD_NOT_IMPLEMENTED,I=B.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,D,F,O;$e(G,r);var k=g.errorOrDestroy,z=["error","close","destroy","pause","resume"];function te(d,p,S){if(typeof d.prependListener=="function")return d.prependListener(p,S);!d._events||!d._events[p]?d.on(p,S):Array.isArray(d._events[p])?d._events[p].unshift(S):d._events[p]=[S,d._events[p]]}function X(d,p,S){e=e||tt(),d=d||{},typeof S!="boolean"&&(S=p instanceof e),this.objectMode=!!d.objectMode,S&&(this.objectMode=this.objectMode||!!d.readableObjectMode),this.highWaterMark=x(this,d,"readableHighWaterMark",S),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=d.emitClose!==!1,this.autoDestroy=!!d.autoDestroy,this.destroyed=!1,this.defaultEncoding=d.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,d.encoding&&(D||(D=mt.StringDecoder),this.decoder=new D(d.encoding),this.encoding=d.encoding)}function G(d){if(e=e||tt(),!(this instanceof G))return new G(d);var p=this instanceof e;this._readableState=new X(d,this,p),this.readable=!0,d&&(typeof d.read=="function"&&(this._read=d.read),typeof d.destroy=="function"&&(this._destroy=d.destroy)),r.call(this)}Object.defineProperty(G.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(p){this._readableState&&(this._readableState.destroyed=p)}}),G.prototype.destroy=g.destroy,G.prototype._undestroy=g.undestroy,G.prototype._destroy=function(d,p){p(d)},G.prototype.push=function(d,p){var S=this._readableState,j;return S.objectMode?j=!0:typeof d=="string"&&(p=p||S.defaultEncoding,p!==S.encoding&&(d=a.from(d,p),p=""),j=!0),me(this,d,p,!1,j)},G.prototype.unshift=function(d){return me(this,d,null,!0,!1)};function me(d,p,S,j,re){h("readableAddChunk",p);var Z=d._readableState;if(p===null)Z.reading=!1,W(d,Z);else{var K;if(re||(K=C(Z,p)),K)k(d,K);else if(Z.objectMode||p&&p.length>0)if(typeof p!="string"&&!Z.objectMode&&Object.getPrototypeOf(p)!==a.prototype&&(p=s(p)),j)Z.endEmitted?k(d,new I):U(d,Z,p,!0);else if(Z.ended)k(d,new R);else{if(Z.destroyed)return!1;Z.reading=!1,Z.decoder&&!S?(p=Z.decoder.write(p),Z.objectMode||p.length!==0?U(d,Z,p,!1):se(d,Z)):U(d,Z,p,!1)}else j||(Z.reading=!1,se(d,Z))}return!Z.ended&&(Z.length<Z.highWaterMark||Z.length===0)}function U(d,p,S,j){p.flowing&&p.length===0&&!p.sync?(p.awaitDrain=0,d.emit("data",S)):(p.length+=p.objectMode?1:S.length,j?p.buffer.unshift(S):p.buffer.push(S),p.needReadable&&H(d)),se(d,p)}function C(d,p){var S;return!l(p)&&typeof p!="string"&&p!==void 0&&!d.objectMode&&(S=new E("chunk",["string","Buffer","Uint8Array"],p)),S}G.prototype.isPaused=function(){return this._readableState.flowing===!1},G.prototype.setEncoding=function(d){D||(D=mt.StringDecoder);var p=new D(d);this._readableState.decoder=p,this._readableState.encoding=this._readableState.decoder.encoding;for(var S=this._readableState.buffer.head,j="";S!==null;)j+=p.write(S.data),S=S.next;return this._readableState.buffer.clear(),j!==""&&this._readableState.buffer.push(j),this._readableState.length=j.length,this};var L=1073741824;function N(d){return d>=L?d=L:(d--,d|=d>>>1,d|=d>>>2,d|=d>>>4,d|=d>>>8,d|=d>>>16,d++),d}function P(d,p){return d<=0||p.length===0&&p.ended?0:p.objectMode?1:d!==d?p.flowing&&p.length?p.buffer.head.data.length:p.length:(d>p.highWaterMark&&(p.highWaterMark=N(d)),d<=p.length?d:p.ended?p.length:(p.needReadable=!0,0))}G.prototype.read=function(d){h("read",d),d=parseInt(d,10);var p=this._readableState,S=d;if(d!==0&&(p.emittedReadable=!1),d===0&&p.needReadable&&((p.highWaterMark!==0?p.length>=p.highWaterMark:p.length>0)||p.ended))return h("read: emitReadable",p.length,p.ended),p.length===0&&p.ended?T(this):H(this),null;if(d=P(d,p),d===0&&p.ended)return p.length===0&&T(this),null;var j=p.needReadable;h("need readable",j),(p.length===0||p.length-d<p.highWaterMark)&&(j=!0,h("length less than watermark",j)),p.ended||p.reading?(j=!1,h("reading or ended",j)):j&&(h("do read"),p.reading=!0,p.sync=!0,p.length===0&&(p.needReadable=!0),this._read(p.highWaterMark),p.sync=!1,p.reading||(d=P(S,p)));var re;return d>0?re=m(d,p):re=null,re===null?(p.needReadable=p.length<=p.highWaterMark,d=0):(p.length-=d,p.awaitDrain=0),p.length===0&&(p.ended||(p.needReadable=!0),S!==d&&p.ended&&T(this)),re!==null&&this.emit("data",re),re};function W(d,p){if(h("onEofChunk"),!p.ended){if(p.decoder){var S=p.decoder.end();S&&S.length&&(p.buffer.push(S),p.length+=p.objectMode?1:S.length)}p.ended=!0,p.sync?H(d):(p.needReadable=!1,p.emittedReadable||(p.emittedReadable=!0,Q(d)))}}function H(d){var p=d._readableState;h("emitReadable",p.needReadable,p.emittedReadable),p.needReadable=!1,p.emittedReadable||(h("emitReadable",p.flowing),p.emittedReadable=!0,process.nextTick(Q,d))}function Q(d){var p=d._readableState;h("emitReadable_",p.destroyed,p.length,p.ended),!p.destroyed&&(p.length||p.ended)&&(d.emit("readable"),p.emittedReadable=!1),p.needReadable=!p.flowing&&!p.ended&&p.length<=p.highWaterMark,w(d)}function se(d,p){p.readingMore||(p.readingMore=!0,process.nextTick(we,d,p))}function we(d,p){for(;!p.reading&&!p.ended&&(p.length<p.highWaterMark||p.flowing&&p.length===0);){var S=p.length;if(h("maybeReadMore read 0"),d.read(0),S===p.length)break}p.readingMore=!1}G.prototype._read=function(d){k(this,new A("_read()"))},G.prototype.pipe=function(d,p){var S=this,j=this._readableState;switch(j.pipesCount){case 0:j.pipes=d;break;case 1:j.pipes=[j.pipes,d];break;default:j.pipes.push(d);break}j.pipesCount+=1,h("pipe count=%d opts=%j",j.pipesCount,p);var re=(!p||p.end!==!1)&&d!==process.stdout&&d!==process.stderr,Z=re?Te:Ge;j.endEmitted?process.nextTick(Z):S.once("end",Z),d.on("unpipe",K);function K(u,n){h("onunpipe"),u===S&&n&&n.hasUnpiped===!1&&(n.hasUnpiped=!0,Ve())}function Te(){h("onend"),d.end()}var Ye=V(S);d.on("drain",Ye);var it=!1;function Ve(){h("cleanup"),d.removeListener("close",at),d.removeListener("finish",Me),d.removeListener("drain",Ye),d.removeListener("error",qe),d.removeListener("unpipe",K),S.removeListener("end",Te),S.removeListener("end",Ge),S.removeListener("data",xe),it=!0,j.awaitDrain&&(!d._writableState||d._writableState.needDrain)&&Ye()}S.on("data",xe);function xe(u){h("ondata");var n=d.write(u);h("dest.write",n),n===!1&&((j.pipesCount===1&&j.pipes===d||j.pipesCount>1&&q(j.pipes,d)!==-1)&&!it&&(h("false write response, pause",j.awaitDrain),j.awaitDrain++),S.pause())}function qe(u){h("onerror",u),Ge(),d.removeListener("error",qe),t(d,"error")===0&&k(d,u)}te(d,"error",qe);function at(){d.removeListener("finish",Me),Ge()}d.once("close",at);function Me(){h("onfinish"),d.removeListener("close",at),Ge()}d.once("finish",Me);function Ge(){h("unpipe"),S.unpipe(d)}return d.emit("pipe",S),j.flowing||(h("pipe resume"),S.resume()),d};function V(d){return function(){var S=d._readableState;h("pipeOnDrain",S.awaitDrain),S.awaitDrain&&S.awaitDrain--,S.awaitDrain===0&&t(d,"data")&&(S.flowing=!0,w(d))}}G.prototype.unpipe=function(d){var p=this._readableState,S={hasUnpiped:!1};if(p.pipesCount===0)return this;if(p.pipesCount===1)return d&&d!==p.pipes?this:(d||(d=p.pipes),p.pipes=null,p.pipesCount=0,p.flowing=!1,d&&d.emit("unpipe",this,S),this);if(!d){var j=p.pipes,re=p.pipesCount;p.pipes=null,p.pipesCount=0,p.flowing=!1;for(var Z=0;Z<re;Z++)j[Z].emit("unpipe",this,{hasUnpiped:!1});return this}var K=q(p.pipes,d);return K===-1?this:(p.pipes.splice(K,1),p.pipesCount-=1,p.pipesCount===1&&(p.pipes=p.pipes[0]),d.emit("unpipe",this,S),this)},G.prototype.on=function(d,p){var S=r.prototype.on.call(this,d,p),j=this._readableState;return d==="data"?(j.readableListening=this.listenerCount("readable")>0,j.flowing!==!1&&this.resume()):d==="readable"&&!j.endEmitted&&!j.readableListening&&(j.readableListening=j.needReadable=!0,j.flowing=!1,j.emittedReadable=!1,h("on readable",j.length,j.reading),j.length?H(this):j.reading||process.nextTick(ce,this)),S},G.prototype.addListener=G.prototype.on,G.prototype.removeListener=function(d,p){var S=r.prototype.removeListener.call(this,d,p);return d==="readable"&&process.nextTick(ee,this),S},G.prototype.removeAllListeners=function(d){var p=r.prototype.removeAllListeners.apply(this,arguments);return(d==="readable"||d===void 0)&&process.nextTick(ee,this),p};function ee(d){var p=d._readableState;p.readableListening=d.listenerCount("readable")>0,p.resumeScheduled&&!p.paused?p.flowing=!0:d.listenerCount("data")>0&&d.resume()}function ce(d){h("readable nexttick read 0"),d.read(0)}G.prototype.resume=function(){var d=this._readableState;return d.flowing||(h("resume"),d.flowing=!d.readableListening,ae(this,d)),d.paused=!1,this};function ae(d,p){p.resumeScheduled||(p.resumeScheduled=!0,process.nextTick(ye,d,p))}function ye(d,p){h("resume",p.reading),p.reading||d.read(0),p.resumeScheduled=!1,d.emit("resume"),w(d),p.flowing&&!p.reading&&d.read(0)}G.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function w(d){var p=d._readableState;for(h("flow",p.flowing);p.flowing&&d.read()!==null;);}G.prototype.wrap=function(d){var p=this,S=this._readableState,j=!1;d.on("end",function(){if(h("wrapped end"),S.decoder&&!S.ended){var K=S.decoder.end();K&&K.length&&p.push(K)}p.push(null)}),d.on("data",function(K){if(h("wrapped data"),S.decoder&&(K=S.decoder.write(K)),!(S.objectMode&&K==null)&&!(!S.objectMode&&(!K||!K.length))){var Te=p.push(K);Te||(j=!0,d.pause())}});for(var re in d)this[re]===void 0&&typeof d[re]=="function"&&(this[re]=function(Te){return function(){return d[Te].apply(d,arguments)}}(re));for(var Z=0;Z<z.length;Z++)d.on(z[Z],this.emit.bind(this,z[Z]));return this._read=function(K){h("wrapped _read",K),j&&(j=!1,d.resume())},this},typeof Symbol=="function"&&(G.prototype[Symbol.asyncIterator]=function(){return F===void 0&&(F=Bo()),F(this)}),Object.defineProperty(G.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(G.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(G.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(p){this._readableState&&(this._readableState.flowing=p)}}),G._fromList=m,Object.defineProperty(G.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function m(d,p){if(p.length===0)return null;var S;return p.objectMode?S=p.buffer.shift():!d||d>=p.length?(p.decoder?S=p.buffer.join(""):p.buffer.length===1?S=p.buffer.first():S=p.buffer.concat(p.length),p.buffer.clear()):S=p.buffer.consume(d,p.decoder),S}function T(d){var p=d._readableState;h("endReadable",p.endEmitted),p.endEmitted||(p.ended=!0,process.nextTick($,p,d))}function $(d,p){if(h("endReadableNT",d.endEmitted,d.length),!d.endEmitted&&d.length===0&&(d.endEmitted=!0,p.readable=!1,p.emit("end"),d.autoDestroy)){var S=p._writableState;(!S||S.autoDestroy&&S.finished)&&p.destroy()}}typeof Symbol=="function"&&(G.from=function(d,p){return O===void 0&&(O=Ao()),O(G,d,p)});function q(d,p){for(var S=0,j=d.length;S<j;S++)if(d[S]===p)return S;return-1}return Dt}var hi=Oe,Tt=Xe.codes,No=Tt.ERR_METHOD_NOT_IMPLEMENTED,Io=Tt.ERR_MULTIPLE_CALLBACK,Co=Tt.ERR_TRANSFORM_ALREADY_TRANSFORMING,Lo=Tt.ERR_TRANSFORM_WITH_LENGTH_0,Bt=tt();$e(Oe,Bt);function jo(e,t){var r=this._transformState;r.transforming=!1;var a=r.writecb;if(a===null)return this.emit("error",new Io);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),a(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function Oe(e){if(!(this instanceof Oe))return new Oe(e);Bt.call(this,e),this._transformState={afterTransform:jo.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",Oo)}function Oo(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Ur(e,t,r)}):Ur(this,null,null)}Oe.prototype.push=function(e,t){return this._transformState.needTransform=!1,Bt.prototype.push.call(this,e,t)};Oe.prototype._transform=function(e,t,r){r(new No("_transform()"))};Oe.prototype._write=function(e,t,r){var a=this._transformState;if(a.writecb=r,a.writechunk=e,a.writeencoding=t,!a.transforming){var o=this._readableState;(a.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}};Oe.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};Oe.prototype._destroy=function(e,t){Bt.prototype._destroy.call(this,e,function(r){t(r)})};function Ur(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Lo;if(e._transformState.transforming)throw new Co;return e.push(null)}var Fo=ut,ci=hi;$e(ut,ci);function ut(e){if(!(this instanceof ut))return new ut(e);ci.call(this,e)}ut.prototype._transform=function(e,t,r){r(null,e)};var Ut;function ko(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var di=Xe.codes,Po=di.ERR_MISSING_ARGS,$o=di.ERR_STREAM_DESTROYED;function qr(e){if(e)throw e}function Do(e){return e.setHeader&&typeof e.abort=="function"}function Uo(e,t,r,a){a=ko(a);var o=!1;e.on("close",function(){o=!0}),Ut===void 0&&(Ut=yr),Ut(e,{readable:t,writable:r},function(l){if(l)return a(l);o=!0,a()});var s=!1;return function(l){if(!o&&!s){if(s=!0,Do(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();a(l||new $o("pipe"))}}}function Gr(e){e()}function qo(e,t){return e.pipe(t)}function Go(e){return!e.length||typeof e[e.length-1]!="function"?qr:e.pop()}function zo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=Go(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Po("streams");var o,s=t.map(function(l,f){var h=f<t.length-1,v=f>0;return Uo(l,h,v,function(g){o||(o=g),g&&s.forEach(Gr),!h&&(s.forEach(Gr),a(o))})});return t.reduce(qo)}var Wo=zo;(function(e,t){t=e.exports=li(),t.Stream=t,t.Readable=t,t.Writable=fi(),t.Duplex=tt(),t.Transform=hi,t.PassThrough=Fo,t.finished=yr,t.pipeline=Wo})(Yt,Yt.exports);var mr=Yt.exports,Ho=function(e,t,r){for(var a=Math.min(r-t,e.length),o=[],s=null,l=-1;!s&&++l<a;){var f=e[l];f===`
+`?o.length+l&&(s="drill",o=[]):(o.push(f),f==="*"&&o[0]!==";"&&(s="gerber",o=[]))}return s},Zo=Ho,Xo=function(e,t,r){if(e!=="gerber"&&e!=="drill")throw new Error('filetype to get next block must be "drill" or "gerber"');for(var a=t.length-r,o=e==="gerber"?"*":`
+`,s=e==="gerber"?"%":"",l=!1,f=!1,h=!1,v=!1,g=[],_=0,x=0;!v&&_<a;){var B=t[r+_];B===`
+`&&x++,B===s?f?(h=!0,g.pop()):(f=!0,g.push(B)):B===o?(l=!0,f&&g.push(B)):B>=" "&&B<="~"&&g.push(B),_++,v=l&&(!f||h)}var E=v?g.join("").trim():"",R=v?"":g.join("");return{lines:x,read:_,block:E,rem:R}},Yo=Xo,Vo=function(e){return{type:"done",line:e||-1}},Ko=function(e,t,r){return{type:"set",line:r||-1,prop:e,value:t}},Jo=function(e,t,r){return{type:"level",line:r||-1,level:e,value:t}},Qo=function(e,t,r){return{type:"tool",line:r||-1,code:e,tool:t}},es=function(e,t,r){return{type:"op",line:r||-1,op:e,coord:t}},ts=function(e,t,r){return{type:"macro",line:r||-1,name:e,blocks:t}},rs={set:Ko,done:Vo,level:Jo,tool:Qo,op:es,macro:ts},pi=rs,Kt=1/0,ns=9007199254740991,is=17976931348623157e292,zr=0/0,as="[object Symbol]",os=/^\s+|\s+$/g,ss=/^[-+]0x[0-9a-f]+$/i,fs=/^0b[01]+$/i,us=/^0o[0-7]+$/i,_r="\\ud800-\\udfff",vi="\\u0300-\\u036f\\ufe20-\\ufe23",gi="\\u20d0-\\u20f0",yi="\\ufe0e\\ufe0f",ls="["+_r+"]",Jt="["+vi+gi+"]",Qt="\\ud83c[\\udffb-\\udfff]",hs="(?:"+Jt+"|"+Qt+")",mi="[^"+_r+"]",_i="(?:\\ud83c[\\udde6-\\uddff]){2}",wi="[\\ud800-\\udbff][\\udc00-\\udfff]",bi="\\u200d",xi=hs+"?",Ei="["+yi+"]?",cs="(?:"+bi+"(?:"+[mi,_i,wi].join("|")+")"+Ei+xi+")*",ds=Ei+xi+cs,ps="(?:"+[mi+Jt+"?",Jt,_i,wi,ls].join("|")+")",er=RegExp(Qt+"(?="+Qt+")|"+ps+ds,"g"),vs=RegExp("["+bi+_r+vi+gi+yi+"]"),gs=parseInt,ys=typeof he=="object"&&he&&he.Object===Object&&he,ms=typeof self=="object"&&self&&self.Object===Object&&self,_s=ys||ms||Function("return this")(),ws=xs("length");function bs(e){return e.split("")}function xs(e){return function(t){return t==null?void 0:t[e]}}function wr(e){return vs.test(e)}function Mi(e){return wr(e)?Ms(e):ws(e)}function Es(e){return wr(e)?Rs(e):bs(e)}function Ms(e){for(var t=er.lastIndex=0;er.test(e);)t++;return t}function Rs(e){return e.match(er)||[]}var Ss=Object.prototype,Ts=Ss.toString,Wr=_s.Symbol,Bs=Math.ceil,As=Math.floor,Hr=Wr?Wr.prototype:void 0,Zr=Hr?Hr.toString:void 0;function Xr(e,t){var r="";if(!e||t<1||t>ns)return r;do t%2&&(r+=e),t=As(t/2),t&&(e+=e);while(t);return r}function Ns(e,t,r){var a=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(o);++a<o;)s[a]=e[a+t];return s}function Ri(e){if(typeof e=="string")return e;if(Si(e))return Zr?Zr.call(e):"";var t=e+"";return t=="0"&&1/e==-Kt?"-0":t}function Is(e,t,r){var a=e.length;return r=r===void 0?a:r,!t&&r>=a?e:Ns(e,t,r)}function Cs(e,t){t=t===void 0?" ":Ri(t);var r=t.length;if(r<2)return r?Xr(t,e):t;var a=Xr(t,Bs(e/Mi(t)));return wr(t)?Is(Es(a),0,e).join(""):a.slice(0,e)}function Yr(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Ls(e){return!!e&&typeof e=="object"}function Si(e){return typeof e=="symbol"||Ls(e)&&Ts.call(e)==as}function js(e){if(!e)return e===0?e:0;if(e=Fs(e),e===Kt||e===-Kt){var t=e<0?-1:1;return t*is}return e===e?e:0}function Os(e){var t=js(e),r=t%1;return t===t?r?t-r:t:0}function Fs(e){if(typeof e=="number")return e;if(Si(e))return zr;if(Yr(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Yr(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(os,"");var r=fs.test(e);return r||us.test(e)?gs(e.slice(2),r?2:8):ss.test(e)?zr:+e}function ks(e){return e==null?"":Ri(e)}function Ps(e,t,r){e=ks(e),t=Os(t);var a=t?Mi(e):0;return t&&a<t?Cs(t-a,r)+e:e}var $s=Ps,tr=1/0,Ds=9007199254740991,Us=17976931348623157e292,Vr=0/0,qs="[object Symbol]",Gs=/^\s+|\s+$/g,zs=/^[-+]0x[0-9a-f]+$/i,Ws=/^0b[01]+$/i,Hs=/^0o[0-7]+$/i,br="\\ud800-\\udfff",Ti="\\u0300-\\u036f\\ufe20-\\ufe23",Bi="\\u20d0-\\u20f0",Ai="\\ufe0e\\ufe0f",Zs="["+br+"]",rr="["+Ti+Bi+"]",nr="\\ud83c[\\udffb-\\udfff]",Xs="(?:"+rr+"|"+nr+")",Ni="[^"+br+"]",Ii="(?:\\ud83c[\\udde6-\\uddff]){2}",Ci="[\\ud800-\\udbff][\\udc00-\\udfff]",Li="\\u200d",ji=Xs+"?",Oi="["+Ai+"]?",Ys="(?:"+Li+"(?:"+[Ni,Ii,Ci].join("|")+")"+Oi+ji+")*",Vs=Oi+ji+Ys,Ks="(?:"+[Ni+rr+"?",rr,Ii,Ci,Zs].join("|")+")",ir=RegExp(nr+"(?="+nr+")|"+Ks+Vs,"g"),Js=RegExp("["+Li+br+Ti+Bi+Ai+"]"),Qs=parseInt,e6=typeof he=="object"&&he&&he.Object===Object&&he,t6=typeof self=="object"&&self&&self.Object===Object&&self,r6=e6||t6||Function("return this")(),n6=a6("length");function i6(e){return e.split("")}function a6(e){return function(t){return t==null?void 0:t[e]}}function xr(e){return Js.test(e)}function Fi(e){return xr(e)?s6(e):n6(e)}function o6(e){return xr(e)?f6(e):i6(e)}function s6(e){for(var t=ir.lastIndex=0;ir.test(e);)t++;return t}function f6(e){return e.match(ir)||[]}var u6=Object.prototype,l6=u6.toString,Kr=r6.Symbol,h6=Math.ceil,c6=Math.floor,Jr=Kr?Kr.prototype:void 0,Qr=Jr?Jr.toString:void 0;function en(e,t){var r="";if(!e||t<1||t>Ds)return r;do t%2&&(r+=e),t=c6(t/2),t&&(e+=e);while(t);return r}function d6(e,t,r){var a=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(o);++a<o;)s[a]=e[a+t];return s}function ki(e){if(typeof e=="string")return e;if(Pi(e))return Qr?Qr.call(e):"";var t=e+"";return t=="0"&&1/e==-tr?"-0":t}function p6(e,t,r){var a=e.length;return r=r===void 0?a:r,!t&&r>=a?e:d6(e,t,r)}function v6(e,t){t=t===void 0?" ":ki(t);var r=t.length;if(r<2)return r?en(t,e):t;var a=en(t,h6(e/Fi(t)));return xr(t)?p6(o6(a),0,e).join(""):a.slice(0,e)}function tn(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function g6(e){return!!e&&typeof e=="object"}function Pi(e){return typeof e=="symbol"||g6(e)&&l6.call(e)==qs}function y6(e){if(!e)return e===0?e:0;if(e=_6(e),e===tr||e===-tr){var t=e<0?-1:1;return t*Us}return e===e?e:0}function m6(e){var t=y6(e),r=t%1;return t===t?r?t-r:t:0}function _6(e){if(typeof e=="number")return e;if(Pi(e))return Vr;if(tn(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=tn(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(Gs,"");var r=Ws.test(e);return r||Hs.test(e)?Qs(e.slice(2),r?2:8):zs.test(e)?Vr:+e}function w6(e){return e==null?"":ki(e)}function b6(e,t,r){e=w6(e),t=m6(t);var a=t?Fi(e):0;return t&&a<t?e+v6(t-a,r):e}var x6=b6,rn=lt,E6=$s,M6=x6,R6=function(e,t){if(e==null)return NaN;var r=""+e,a="+";(r[0]==="-"||r[0]==="+")&&(a=r[0],r=r.slice(1));var o=r.indexOf(".")!==-1;if(o||t==null||t.zero==null)return Number(a+r);if(t.places==null||t.places.length!==2)return NaN;var s=t.places[0],l=t.places[1];if(!rn(s)||!rn(l))return NaN;if(t.zero==="T")r=M6(r,s+l,"0");else if(t.zero==="L")r=E6(r,s+l,"0");else return NaN;var f=r.slice(0,s),h=r.slice(s,s+l);return+(a+f+"."+h)},Er=R6,S6=Er,T6=/[XY]0\d+/,B6=/[XY]\d+0(?=\D|$)/,A6=[{coord:"x",test:/X([+-]?[\d.]+)/},{coord:"y",test:/Y([+-]?[\d.]+)/},{coord:"i",test:/I([+-]?[\d.]+)/},{coord:"j",test:/J([+-]?[\d.]+)/},{coord:"a",test:/A([\d.]+)/}],N6=function(e,t){if(e==null)return{};if(t.zero==null||t.places==null)throw new Error("cannot parse coordinate with format undefined");var r=A6.reduce(function(a,o){var s=e.match(o.test);return s&&(a[o.coord]=S6(s[1],t)),a},{});return r},I6=function(e){return B6.test(e)?"L":T6.test(e)?"T":null},$i={parse:N6,detectZero:I6},C6=/[+\-/xX()]/,Di=/[$\d.]+/,L6=new RegExp([C6.source,Di.source].join("|"),"g"),j6=function(t,r){var a=r.match(L6),o,s=function(){var v=a.shift(),g;return Di.test(v)?g={type:"n",val:v}:(g=o(),a.shift()),g},l=function(){var v=s(),g=a[0];for(g==="X"&&(t._warn("multiplication in macros should use 'x', not 'X'"),g="x");g==="x"||g==="/";){a.shift();var _=s();v={type:g,left:v,right:_},g=a[0]}return v};o=function(){for(var v=l(),g=a[0];g==="+"||g==="-";){a.shift();var _=l();v={type:g,left:v,right:_},g=a[0]}return v};var f=o(),h=function(v,g){var _=function(B){return B[0]==="$"?Number(g[B]):Number(B)},x=v.type;return x==="n"?_(v.val):x==="+"?h(v.left,g)+h(v.right,g):x==="-"?h(v.left,g)-h(v.right,g):x==="x"?h(v.left,g)*h(v.right,g):h(v.left,g)/h(v.right,g)};return function(v){return h(f,v)}},nn=j6,O6=/^-?[\d.]+$/,an=/^(\$[\d+])=(.+)/,F6=function(e,t){if(t[0]==="0")return{type:"comment"};if(an.test(t)){var r=t.match(an),a=r[1],o=r[2],s=nn(e,o),l=function(_){return _[a]=s(_),_};return{type:"variable",set:l}}var f=function(_){return O6.test(_)?Number(_):nn(e,_)},h=t.split(",").map(f),v=h[0],g=h[1];if(v===1)return{type:"circle",exp:g,dia:h[2],cx:h[3],cy:h[4],rot:h[5]||0};if(v===2&&e._warn("macro aperture vector primitives with code 2 are deprecated"),v===2||v===20)return{type:"vect",exp:g,width:h[2],x1:h[3],y1:h[4],x2:h[5],y2:h[6],rot:h[7]};if(v===21)return{type:"rect",exp:g,width:h[2],height:h[3],cx:h[4],cy:h[5],rot:h[6]};if(v===22)return e._warn("macro aperture lower-left rectangle primitives are deprecated"),{type:"rectLL",exp:g,width:h[2],height:h[3],x:h[4],y:h[5],rot:h[6]};if(v===4)return{type:"outline",exp:g,points:h.slice(3,-1),rot:h[h.length-1]};if(v===5)return{type:"poly",exp:g,vertices:h[2],cx:h[3],cy:h[4],dia:h[5],rot:h[6]};if(v===6)return{type:"moire",exp:1,cx:h[1],cy:h[2],dia:h[3],ringThx:h[4],ringGap:h[5],maxRings:h[6],crossThx:h[7],crossLen:h[8],rot:h[9]};if(v===7)return{type:"thermal",exp:1,cx:h[1],cy:h[2],outerDia:h[3],innerDia:h[4],gap:h[5],rot:h[6]};e._warn(v+" is an unrecognized primitive for a macro aperture")},k6=F6,be=pi,ze=Er,P6=$i,$6=k6,on=/^G0*([123])/,sn=/^G3([67])/,fn=/^G7([45])/,un=/^G7([01])/,ln=/^G9([01])/,D6=/^G0*4/,U6=/^%TO[^%*]*/,hn=/^(?:G54)?D0*([1-9]\d+)/,cn=/D0*([123])$/,dn=/^(?:G0*[123])?((?:[XYIJ][+-]?\d+){1,4})(?:D0*[123])?$/,pn=/^%MO(IN|MM)/,vn=/^%FS([LT]?)([AI]?)(.*)X([0-7])([0-7])Y\4\5/,gn=/^%LP([CD])/,yn=/^%SR(?:X(\d+)Y(\d+)I([\d.]+)J([\d.]+))?/,Ui=/^%ADD0*(\d{2,})([A-Za-z_$][\w\-.]*)(?:,((?:X?[\d.-]+)*))?/,qi=/^%AM([A-Za-z_$][\w\-.]*)\*?(.*)/,mn=/\*MO(IN|MM)$/,_n=function(e,t){var r=t==="IN"?"in":"mm";return e._push(be.set("units",r))},q6=function(e,t){var r={places:e.format.places},a=t.match(Ui),o=a[1],s=a[2],l=a[3]?a[3].split("X"):[],f,h;s==="C"?(f="circle",h=3):s==="R"?(f="rect",h=4):s==="O"?(f="obround",h=4):s==="P"?(f="poly",h=5):(f=s,h=0);var v;f==="circle"?v=[ze(l[0],r)]:f==="rect"||f==="obround"?v=[ze(l[0],r),ze(l[1],r)]:f==="poly"?(v=[ze(l[0],r),Number(l[1]),0],l[2]&&(v[2]=Number(l[2]))):v=l.map(Number);var g=[];l[h-1]?g=[ze(l[h-2],r),ze(l[h-1],r)]:l[h-2]&&(g=[ze(l[h-2],r)]);var _={shape:f,params:v,hole:g};return e._push(be.tool(o,_))},G6=function(e,t){var r=t.match(qi),a=r[1];a.match(/-/)&&e._warn("hyphens in macro name are illegal: "+a);var o=r[2].length?r[2].split("*"):[],s=o.filter(Boolean).map(function(l){return $6(e,l)});return e._push(be.macro(a,s))},z6=function(e,t){if(!(D6.test(t)||U6.test(t))){if(t==="M02")return e._push(be.done());if(sn.test(t)){var r=t.match(sn)[1],a=r==="6";return e._push(be.set("region",a))}if(fn.test(t)){var o=t.match(fn)[1],s=o==="4"?"s":"m";return e._push(be.set("arc",s))}if(pn.test(t)){var l=t.match(pn)[1];return _n(e,l)}if(un.test(t)){var f=t.match(un)[1],h=f==="0"?"in":"mm";return e._push(be.set("backupUnits",h))}if(vn.test(t)){var v=t.match(vn),g=v[1],_=v[2],x=v[3],B=Number(v[4]),E=Number(v[5]),R=e.format;R.zero=R.zero||g,R.places||(R.places=[B,E]),R.zero?R.zero==="T"&&e._warn("trailing zero suppression has been deprecated"):(R.zero="L",e._warn("zero suppression missing from format; assuming leading")),x&&e._warn('unknown characters "'+x+'" in "'+t+'" were ignored');var A=1.5*Math.pow(10,-R.places[1]);if(e._push(be.set("nota",_)),e._push(be.set("epsilon",A)),mn.test(t)){var I=t.match(mn)[1];_n(e,I)}return}if(ln.test(t)){var D=t.match(ln)[1],F=D==="0"?"A":"I";return e._push(be.set("backupNota",F))}if(gn.test(t)){var O=t.match(gn)[1];return e._push(be.level("polarity",O))}if(yn.test(t)){var k=t.match(yn),z=k[1]||1,te=k[2]||1,X=k[3]||0,G=k[4]||0,me={x:Number(z),y:Number(te),i:Number(X),j:Number(G)};return e._push(be.level("stepRep",me))}if(hn.test(t)){var U=t.match(hn)[1];return e._push(be.set("tool",U))}if(Ui.test(t))return q6(e,t);if(qi.test(t))return G6(e,t);if(cn.test(t)||on.test(t)||dn.test(t)){var C=t.match(cn),L=t.match(on),N=t.match(dn),P;if(L&&(L[1]==="1"?P="i":L[1]==="2"?P="cw":P="ccw",e._push(be.set("mode",P))),C||N){var W=C?C[1]:"",H=N?N[1]:"",Q=P6.parse(H,e.format),se="last";W==="1"?se="int":W==="2"?se="move":W==="3"&&(se="flash"),e._push(be.op(se,Q))}return}return e._warn('block "'+t+'" was not recognized and was ignored')}},W6=z6,Gi={DRILL:"5",MOVE:"0",LINEAR:"1",CW_ARC:"2",CCW_ARC:"3"},wn=lt,le=pi,ot=Gi,H6=Er,ar=$i,bn=/;FILE_FORMAT=(\d):(\d)/,xn=/;TYPE=(PLATED|NON_PLATED)/,En=/;FORMAT={(.):(.)\/ (absolute|.+)? \/ (metric|inch) \/.+(trailing|leading|decimal|keep)/,zi=/^(INCH|METRIC|M71|M72)/,Wi=/,([TL])Z/,Z6=/,(0{1,8})\.(0{1,8})/,Mn=/T0*(\d+)[\S]*C([\d.]+)/,Rn=/T0*(\d+)(?![\S]*C)/,Mr=/((?:[XYIJA][+-]?[\d.]+){1,4})(?:G85((?:[XY][+-]?[\d.]+){1,2}))?/,Sn=/^G0([01235])/,X6=function(e,t,r){var a={};if(En.test(t)){var o=t.match(En),s=Number(o[1]),l=Number(o[2]),f=o[3],h=o[4],v=o[5];wn(s)&&wn(l)&&(a.places=[s,l]),f==="absolute"?e._push(le.set("backupNota","A",r)):e._push(le.set("backupNota","I",r)),h==="metric"?e._push(le.set("backupUnits","mm",r)):e._push(le.set("backupUnits","in",r)),v==="leading"||v==="keep"?a.zero="L":v==="trailing"?a.zero="T":a.zero="D"}else if(bn.test(t)){var g=t.match(bn);a.places=[Number(g[1]),Number(g[2])]}else if(xn.test(t)){var _=t.match(xn),x=_[1]==="PLATED"?"pth":"npth";e._push(le.set("holePlating",x,r))}return a},Y6=function(e,t,r){var a=t.match(zi),o=t.match(Wi),s=t.match(Z6),l=a[1]==="METRIC"||a[1]==="M71"?"mm":"in",f=o&&o[1];e.format.zero==null&&f&&(e.format.zero=f==="T"?"L":"T"),e.format.places==null&&(s?e.format.places=[s[1].length,s[2].length]:e.format.places=l==="in"?[2,4]:[3,3]),e._push(le.set("units",l,r))},V6=function(e,t,r){var a=t.match(Mr),o=ar.parse(a[1],e.format);if(a[2])return e._push(le.op("move",o,r)),e._push(le.set("mode","i",r)),o=ar.parse(a[2],e.format),e._push(le.op("int",o,r));switch(Sn.test(t)&&(e._drillMode=t.match(Sn)[1]),e._drillMode){case ot.DRILL:return e._push(le.op("flash",o,r));case ot.MOVE:return e._push(le.op("move",o,r));case ot.LINEAR:return e._push(le.set("mode","i",r)),e._push(le.op("int",o,r));case ot.CW_ARC:return e._push(le.set("mode","cw",r)),e._push(le.op("int",o,r));case ot.CCW_ARC:return e._push(le.set("mode","ccw",r)),e._push(le.op("int",o,r))}},Hi=function(e,t,r){if(Mn.test(t)){var a=t.match(Mn),o=a[1],s=H6(a[2]),l={shape:"circle",params:[s],hole:[]};return e._push(le.tool(o,l,r))}if(Rn.test(t)){var f=t.match(Rn)[1];e._push(le.set("tool",f,r))}if(Mr.test(t))return e.format.places||(e.format.places=[2,4],e._warn("places format missing; assuming [2, 4]")),e.format.zero||(e.format.zero="T",e._warn("zero suppression missing; assuming trailing suppression")),V6(e,t,r);if(t==="M00"||t==="M30")return e._push(le.done(r));if(t==="G90")return e._push(le.set("nota","A",r));if(t==="G91")return e._push(le.set("nota","I",r));if(zi.test(t))return Y6(e,t,r)},Zi=function(e){e._drillStash.forEach(function(t){Hi(e,t.block,t.line)}),e._drillStash=[]},K6=function(e,t){if(t[0]===";"){var r=X6(e,t,e.line);Object.keys(r).forEach(function(a){e.format[a]||(e.format[a]=r[a])})}else e.format.zero?Hi(e,t,e.line):(e._drillStash.push({line:e.line,block:t}),Mr.test(t)&&(e.format.zero=ar.detectZero(t),e.format.zero&&e._warn("zero suppression missing; detected "+(e.format.zero==="L"?"leading":"trailing")+" suppression")),(e.format.zero||Wi.test(t)||e._drillStash.length>=1e3)&&Zi(e))},J6={parse:K6,flush:Zi},Q6=function(e,t){return{message:e,line:t}},e3=Q6,t3=mt.StringDecoder,r3=$e,Xi=mr.Transform,Yi=Zo,n3=Yo,i3=W6,Vi=J6,a3=e3,o3=Gi,or=65535,De=function(e,t,r){Xi.call(this,{readableObjectMode:!0}),this._decoder=new t3("utf8"),this._stash="",this._index=0,this._drillMode=o3.DRILL,this._drillStash=[],this._syncResult=null,this.line=0,this.format={places:e,zero:t,filetype:r}};r3(De,Xi);De.prototype._process=function(e,t){for(;this._index<e.length;){var r=n3(t,e,this._index);this._index+=r.read,this.line+=r.lines,this._stash+=r.rem,r.block&&(t==="gerber"?i3(this,r.block):Vi.parse(this,r.block))}};De.prototype._transform=function(e,t,r){var a=this.format.filetype;if(e=this._decoder.write(e),!a)if(a=Yi(e,this._index,or),this._index+=e.length,a)this.format.filetype=a,this._index=0;else return this._index>=or?r(new Error("unable to determine filetype")):(this._stash+=e,r());e=this._stash+e,this._stash="",this._process(e,a),this._index=0,r()};De.prototype._flush=function(e){return this.format.filetype==="drill"&&Vi.flush(this),e&&e()};De.prototype._push=function(e){e.line===-1&&(e.line=this.line);var t=this._syncResult?this._syncResult:this;t.push(e)};De.prototype._warn=function(e){this.emit("warning",a3(e,this.line))};De.prototype.parseSync=function(e){var t=Yi(e,this._index,100*or);return this.format.filetype=t,this._syncResult=[],this._process(e,t),this._flush(),this._syncResult};var s3=De,Tn=lt,f3=s3,u3=function(e){if(Array.isArray(e)&&e.length===2&&Tn(e[0])&&Tn(e[1]))return e;throw new Error("places must be an array of two whole numbers")},l3=function(e){if(e==="T"||e==="L")return e;throw new Error("zero suppression must be 'L' or 'T'")},h3=function(e){if(e==="gerber"||e==="drill")return e;throw new Error('filetype must be "drill" or "gerber"')},c3=function(e){e=e||{};var t=e.places?u3(e.places):null,r=e.zero?l3(e.zero):null,a=e.filetype?h3(e.filetype):null;return new f3(t,r,a)},Bn=1/0,Ki=9007199254740991,d3=17976931348623157e292,An=0/0,p3=4294967295,v3="[object Function]",g3="[object GeneratorFunction]",y3="[object Symbol]",m3=/^\s+|\s+$/g,_3=/^[-+]0x[0-9a-f]+$/i,w3=/^0b[01]+$/i,b3=/^0o[0-7]+$/i,x3=/^(?:0|[1-9]\d*)$/,E3=parseInt,M3=Object.prototype,Ji=M3.toString;function R3(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}function S3(e,t,r,a){var o=e.length;for(r=sr(r),r<0&&(r=-r>o?0:o+r),a=a===void 0||a>o?o:sr(a),a<0&&(a+=o),a=r>a?0:k3(a);r<a;)e[r++]=t;return e}function T3(e,t){return t=t??Ki,!!t&&(typeof e=="number"||x3.test(e))&&e>-1&&e%1==0&&e<t}function B3(e,t,r){if(!_t(r))return!1;var a=typeof t;return(a=="number"?I3(r)&&T3(t,r.length):a=="string"&&t in r)?N3(r[t],e):!1}function A3(e,t,r,a){var o=e?e.length:0;return o?(r&&typeof r!="number"&&B3(e,t,r)&&(r=0,a=o),S3(e,t,r,a)):[]}function N3(e,t){return e===t||e!==e&&t!==t}function I3(e){return e!=null&&L3(e.length)&&!C3(e)}function C3(e){var t=_t(e)?Ji.call(e):"";return t==v3||t==g3}function L3(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ki}function _t(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function j3(e){return!!e&&typeof e=="object"}function O3(e){return typeof e=="symbol"||j3(e)&&Ji.call(e)==y3}function F3(e){if(!e)return e===0?e:0;if(e=P3(e),e===Bn||e===-Bn){var t=e<0?-1:1;return t*d3}return e===e?e:0}function sr(e){var t=F3(e),r=t%1;return t===t?r?t-r:t:0}function k3(e){return e?R3(sr(e),0,p3):0}function P3(e){if(typeof e=="number")return e;if(O3(e))return An;if(_t(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=_t(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(m3,"");var r=w3.test(e);return r||b3.test(e)?E3(e.slice(2),r?2:8):_3.test(e)?An:+e}var $3=A3,D3=$3,U3=function(e,t){var r,a;for(a=0;a<e.length;a++)if(r=e[a],t(r))return r},Nn=function(e,t,r){var a=e.reduce(function(o,s){var l=q3(t,s.position);return l<r&&l<o.distance?{point:s,distance:l}:o},{point:void 0,distance:1/0});return a.point},q3=function(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))},Ze=function(e,t){return e[0]===t[0]&&e[1]===t[1]},G3=function(e,t){return e.type==="line"&&(Ze(e.start,t.start)&&Ze(e.end,t.end)||Ze(e.start,t.end)&&Ze(e.end,t.start))},z3=function(e){var t={type:e.type,start:e.end,end:e.start};return e.type==="arc"&&(t.center=e.center,t.radius=e.radius,t.sweep=e.sweep,t.dir=e.dir==="cw"?"ccw":"cw"),t},At=function(e,t){this._edges=[],this._optimize=e,this._fillGaps=t,this.length=0};At.prototype.add=function(e){var t={segment:e,start:e.start,end:e.end};this._edges.push(t),this.length++};At.prototype._fillGapsAndOptimize=function(){var e=this._edges.map(function(E){return E.segment});this._edges=[],this.length=0;for(var t=e.reduce(function(E,R){return E.concat([{position:R.start,edges:[]},{position:R.end,edges:[]}])},[]),r=e.length,a=0;a<r;a++){var o=e[a],s,l,f=this._fillGaps,h=a*2,v=h+1,g=t.slice(0,h).concat(t.slice(v+1));s=Nn(g,o.start,f),l=Nn(g,o.end,f),s?f&&(o.start=s.position):s={position:o.start,edges:[]},l?f&&(o.end=l.position):l={position:o.end,edges:[]};var _=U3(this._edges,function(E){return G3(E.segment,o)});if(!_){var x=this._edges.length,B={segment:o,start:s,end:l};t[h].edges.push(x),t[h].position=B.start.position,t[v].edges.push(x),t[v].position=B.end.position,this._edges.push(B),this.length++}}this._edges.forEach(function(E){t.forEach(function(R){Ze(R.position,E.start.position)&&(E.start.edges=E.start.edges.concat(R.edges)),Ze(R.position,E.end.position)&&(E.end.edges=E.end.edges.concat(R.edges))})})};At.prototype.traverse=function(){if(!this._optimize)return this._edges.map(function(h){return h.segment});this._fillGapsAndOptimize();for(var e=D3(Array(this._edges.length),!1),t=[],r=[],a,o,s,l,f={position:[]};r.length<this._edges.length;)for(a=e.indexOf(!1),t.push(a);t.length;)a=t.pop(),e[a]||(e[a]=!0,o=this._edges[a],s=o.end,Ze(f.position,s.position)?(l=z3(o.segment),f=o.start):(l=o.segment,f=o.end),f.edges.reverse().forEach(function(h){e[h]||t.push(h)}),r.push(l));return r};var W3=At,H3=function(e,t){return{message:e,line:t}},Z3=H3,X3="[object AsyncFunction]",Y3="[object Function]",V3="[object GeneratorFunction]",K3="[object Null]",J3="[object Proxy]",Q3="[object Undefined]",ef=typeof he=="object"&&he&&he.Object===Object&&he,tf=typeof self=="object"&&self&&self.Object===Object&&self,rf=ef||tf||Function("return this")(),Qi=Object.prototype,nf=Qi.hasOwnProperty,ea=Qi.toString,In=rf.Symbol,We=In?In.toStringTag:void 0;function af(e){return e==null?e===void 0?Q3:K3:We&&We in Object(e)?of(e):sf(e)}function of(e){var t=nf.call(e,We),r=e[We];try{e[We]=void 0;var a=!0}catch{}var o=ea.call(e);return a&&(t?e[We]=r:delete e[We]),o}function sf(e){return ea.call(e)}function ff(e){if(!uf(e))return!1;var t=af(e);return t==Y3||t==V3||t==X3||t==J3}function uf(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var lf=ff,hf=function(){return[1/0,1/0,-1/0,-1/0]},ta=function(e,t){return[Math.min(e[0],t[0]),Math.min(e[1],t[1]),Math.max(e[2],t[2]),Math.max(e[3],t[3])]},cf=function(e,t){return[Math.min(e[0],t[0]),Math.min(e[1],t[1]),Math.max(e[2],t[0]),Math.max(e[3],t[1])]},df=function(e,t,r,a){return[Math.min(e[0],r-t),Math.min(e[1],a-t),Math.max(e[2],r+t),Math.max(e[3],a+t)]},ra=function(e,t){var r=t[0],a=t[1];return[e[0]+r,e[1]+a,e[2]+r,e[3]+a]},pf=function(e,t){return ta(e,ra(e,t))},Rr={new:hf,add:ta,addPoint:cf,addCircle:df,translate:ra,repeat:pf},vf=lf,gf=lt,ge=Rr,ve=function(e){var t=Math.round(e*1e8)/1e8;return t===0?0:t},yf=function(e){return e*Math.PI/180},wt=function(e,t){t=yf(t);var r=Math.sin(t),a=Math.cos(t),o=e[0],s=e[1];return[ve(o*a-s*r),ve(o*r+s*a)]},bt=function(e,t,r,a){var o=e/2;if(t=t||0,r=r||0,a&&(t||r)){var s=wt([t,r],a);t=s[0],r=s[1]}return{shape:{type:"circle",cx:t,cy:r,r:e/2},box:ge.addCircle(ge.new(),o,t,r)}},na=function(e,t,r,a,o,s){if(s){var l=wt([e,t],s),f=wt([r,a],s);e=l[0],t=l[1],r=f[0],a=f[1]}var h=(a-t)/(r-e),v=o/2,g=v,_=v;gf(h)?(g*=h/Math.sqrt(1+Math.pow(h,2)),_*=1/Math.sqrt(1+Math.pow(h,2))):_=0;var x=[];x.push([ve(e+g),ve(t-_)]),x.push([ve(r+g),ve(a-_)]),x.push([ve(r-g),ve(a+_)]),x.push([ve(e-g),ve(t+_)]);var B=x.reduce(function(E,R){return ge.addPoint(E,R)},ge.new());return{shape:{type:"poly",points:x},box:B}},Ae=function(e,t,r,a,o,s){a=a||0,o=o||0,r=r||0,s=s||0;var l=e/2,f=t/2;if(s){var h=a-l,v=a+l,g=o,_=o;return na(h,g,v,_,t,s)}return{shape:{type:"rect",cx:a,cy:o,r,width:e,height:t},box:[-l+a,-f+o,l+a,f+o]}},mf=function(e,t){for(var r=[],a=ge.new(),o,s=0;s<e.length-2;s+=2)o=[e[s],e[s+1]],t&&(o=wt(o,t)),r.push(o),a=ge.addPoint(a,o);return{shape:{type:"poly",points:r},box:a}},ia=function(e,t,r,a,o){a=a||0,o=o||0;for(var s=[],l=ge.new(),f=e/2,h=r*Math.PI/180,v=2*Math.PI/t,g,_,x,B=0;B<t;B++)g=v*B+h,_=a+ve(f*Math.cos(g)),x=o+ve(f*Math.sin(g)),l=ge.addPoint(l,[_,x]),s.push([_,x]);return{shape:{type:"poly",points:s},box:l}},aa=function(e,t,r,a){return{type:"ring",cx:e,cy:t,r,width:a}},_f=function(e,t,r,a,o,s,l,f,h){for(var v=e/2,g=[],_=ge.addCircle(ge.new(),v,l,f),x=t/2,B=r+x;v>t&&g.length<a;)v-=x,g.push(aa(l,f,ve(v),t)),v-=B;v>0&&g.length<a&&g.push(bt(ve(2*v),l,f).shape);var E=Ae(s,o,0,l,f,h),R=Ae(o,s,0,l,f,h);return g.push(E.shape),g.push(R.shape),_=ge.add(_,E.box),_=ge.add(_,R.box),{shape:g,box:_}},wf=function(e,t,r,a,o,s){var l=ve((r-o)/2),f=ve((r+o)/4),h=ve((r-a)/2),v=ve((r-h)/2),g=ge.addCircle(ge.new(),r/2,e,t),_=[Ae(l,l,0,e+f,t+f,s).shape,Ae(l,l,0,e-f,t+f,s).shape,Ae(l,l,0,e-f,t-f,s).shape,Ae(l,l,0,e+f,t-f,s).shape],x=aa(e,t,v,h);return{shape:{type:"clip",shape:_,clip:x},box:g}},bf=function(e,t){var r={shape:[],box:ge.new()},a=1;return t=t||[],t.reduce(function(o,s){var l;switch(s.type!=="variable"&&s.type!=="comment"&&(s=Object.keys(s).reduce(function(_,x){var B=s[x];return _[x]=E(B),_;function E(R){return Array.isArray(R)?R.map(E):vf(R)?R(e):R}},{})),s.exp!=null&&s.exp!==a&&(o.shape.push({type:"layer",polarity:s.exp===1?"dark":"clear",box:o.box.slice(0)}),a=s.exp),s.type){case"circle":l=bt(s.dia,s.cx,s.cy,s.rot);break;case"vect":l=na(s.x1,s.y1,s.x2,s.y2,s.width,s.rot);break;case"rect":l=Ae(s.width,s.height,0,s.cx,s.cy,s.rot);break;case"rectLL":var f=s.height/2,h=s.width/2,v=s.x+h,g=s.y+f;l=Ae(s.width,s.height,0,v,g,s.rot);break;case"outline":l=mf(s.points,s.rot);break;case"poly":l=ia(s.dia,s.vertices,s.rot,s.cx,s.cy);break;case"moire":l=_f(s.dia,s.ringThx,s.ringGap,s.maxRings,s.crossThx,s.crossLen,s.cx,s.cy,s.rot);break;case"thermal":l=wf(s.cx,s.cy,s.outerDia,s.innerDia,s.gap,s.rot);break;case"variable":return e=s.set(e),o;default:return o}return o.shape=o.shape.concat(l.shape),a===1&&(o.box=ge.add(o.box,l.box)),o},r)},xf=function(t,r){var a=[],o=ge.new(),s=t.shape,l=t.params,f,h;if(s==="circle")h=bt(l[0]);else if(s==="rect")h=Ae(l[0],l[1]);else if(s==="obround")h=Ae(l[0],l[1],Math.min(l[0],l[1])/2);else if(s==="poly")h=ia(l[0],l[1],l[2]);else{var v=l.reduce(function(g,_,x){return g["$"+(x+1)]=_,g},{});return bf(v,r[s])}return a.push(h.shape),o=ge.add(o,h.box),t.hole.length&&(f=t.hole.length===1?bt(t.hole[0]).shape:Ae(t.hole[0],t.hole[1]).shape,a.push({type:"layer",polarity:"clear",box:o},f)),{shape:a,box:o}},pe=Rr,_e=Math.PI/2,Cn=Math.PI,Ee=Math.PI*2,Je=3*Math.PI/2,Ef=function(e,t,r,a){return r?(a._warn("flash in region ignored"),pe.new()):t?(t.flashed||(t.flashed=!0,a.push({type:"shape",tool:t.code,shape:t.pad})),a.push({type:"pad",tool:t.code,x:e[0],y:e[1]}),pe.translate(t.box,e)):(a._warn("flash with unknown tool ignored"),pe.new())},Mf=function(e,t,r,a,o){for(var s,l,f,h,v;v==null&&o.length>0;)h=o.pop(),s=Math.atan2(e[1]-h[1],e[0]-h[0]),l=Math.atan2(t[1]-h[1],t[0]-h[0]),r==="cw"?s=s>=l?s:s+Ee:l=l>=s?l:l+Ee,f=Math.abs(s-l),a==="s"?f<=_e&&(v=h):v=h;if(v!=null)return s=s>=0?s:s+Ee,s=s<Ee?s:s-Ee,l=l>=0?l:l+Ee,l=l<Ee?l:l-Ee,{center:v,sweep:f,start:e.concat(s),end:t.concat(l)}},Rf=function(e,t,r,a,o){var s=e.start,l=e.end,f=e.center,h=e.sweep,v,g;o==="cw"?(v=l[2],g=s[2]):(v=s[2],g=l[2]);var _=[s,l];return(v>g||h===Ee)&&_.push([f[0]+t,f[1]]),v=v>=_e?v-_e:v+Je,g=g>=_e?g-_e:g+Je,(v>g||h===Ee)&&_.push([f[0],f[1]+t]),v=v>=_e?v-_e:v+Je,g=g>=_e?g-_e:g+Je,(v>g||h===Ee)&&_.push([f[0]-t,f[1]]),v=v>=_e?v-_e:v+Je,g=g>=_e?g-_e:g+Je,(v>g||h===Ee)&&_.push([f[0],f[1]-t]),_.reduce(function(x,B){if(!r){var E=pe.translate(a.box,B);return pe.add(x,E)}return pe.addPoint(x,B)},pe.new())},Ln=function(e,t){return e>=t?e:0},Sf=function(e,t,r,a,o){var s=r==="ccw"?1:-1,l=(e[0]+t[0])/2,f=(e[1]+t[1])/2,h=t[0]-e[1],v=t[1]-e[1],g=Math.sqrt(Math.pow(h,2)+Math.pow(v,2)),_=g/2,x=Math.sqrt(Math.pow(o,2)-Math.pow(_,2)),B=-s*v*x/g,E=s*h*x/g;return[[Ln(l+B,a),Ln(f+E,a)]]},Tf=function(e,t,r,a,o,s,l,f,h,v){var g=r[2]||Math.sqrt(Math.pow(r[0],2)+Math.pow(r[1],2)),_=[],x=[],B=[];r[0]&&s==="s"?x.push(e[0]+r[0],e[0]-r[0]):x.push(e[0]+r[0]),r[1]&&s==="s"?B.push(e[1]+r[1],e[1]-r[1]):B.push(e[1]+r[1]);for(var E=0;E<x.length;E++)for(var R=0;R<B.length;R++)_.push([x[E],B[R]]);var A;r[2]?(s="m",A=Sf(e,t,o,f,r[2])):s==="s"?A=_.filter(function(F){var O=Math.sqrt(Math.pow(F[0]-e[0],2)+Math.pow(F[1]-e[1],2)),k=Math.sqrt(Math.pow(F[0]-t[0],2)+Math.pow(F[1]-t[1],2));return Math.abs(O-g)<=f&&Math.abs(k-g)<=f}):A=_;var I=Mf(e,t,o,s,A);s==="m"&&e[0]===t[0]&&e[1]===t[1]&&(I.sweep=Ee);var D=pe.new();return I!=null?(h.add({type:"arc",start:I.start,end:I.end,center:I.center,sweep:I.sweep,radius:g,dir:o}),D=Rf(I,g,l,a,o)):v._warn("skipping impossible arc"),D},Bf=function(e,t,r,a,o){if(o.add({type:"line",start:e,end:t}),!a){var s=pe.translate(r.box,e),l=pe.translate(r.box,t);return pe.add(s,l)}var f=pe.new();return f=pe.addPoint(f,e),f=pe.addPoint(f,t),f},Af=function(e,t,r,a,o){var s=r.trace[0]/2,l=r.trace[1]/2,f=Math.atan2(t[1]-e[1],t[0]-e[0]),h=e[0]-s,v=e[0]+s,g=e[1]-l,_=e[1]+l,x=t[0]-s,B=t[0]+s,E=t[1]-l,R=t[1]+l,A=[];return e[0]===t[0]&&e[1]===t[1]?A.push([h,g],[v,g],[v,_],[h,_]):f>=0&&f<_e?A.push([h,g],[v,g],[B,E],[B,R],[x,R],[h,_]):f>=_e&&f<=Cn?A.push([v,g],[v,_],[B,R],[x,R],[x,E],[h,g]):f>=-Cn&&f<-_e?A.push([v,_],[h,_],[x,R],[x,E],[B,E],[v,g]):A.push([h,_],[h,g],[x,E],[B,E],[B,R],[v,_]),A.forEach(function(I,D){var F=D<A.length-1?D+1:0;a.add({type:"line",start:I,end:A[F]})}),o._finishPath(),pe.add(pe.translate(r.box,e),pe.translate(r.box,t))},Nf=function(e,t,r,a,o,s,l,f,h,v){var g=l||a&&a.trace.length>0,_=l||a&&a.trace.length===1,x=a?a.code:"[NO TOOL SET]";return g?o==="i"?l||a.trace.length===1?Bf(e,t,a,l,h):Af(e,t,a,h,v):_?Tf(e,t,r,a,o,s,l,f,h,v):(v._warn("cannot draw arc with non-circular tool "+x+"; ignoring interpolate"),pe.new()):(v._warn("tool "+x+" is not strokable; ignoring interpolate"),pe.new())},If=function(e,t,r,a,o,s,l,f,h,v){var g=[t.x!=null?t.x:r[0],t.y!=null?t.y:r[1]],_=[t.i!=null?t.i:0,t.j!=null?t.j:0,t.a],x;switch(e){case"flash":x=Ef(g,a,l,v);break;case"int":x=Nf(r,g,_,a,o,s,l,h,f,v);break;default:x=pe.new();break}return{pos:g,box:x}},Cf=If,oa=mr.Transform,Lf=$e,sa=W3,jf=Z3,Of=xf,Ff=Cf,gt=Rr,kf=11e-5,Pf=function(e){return e==="units"||e==="backupUnits"||e==="nota"||e==="backupNota"},Ue=function(e,t,r,a,o,s){oa.call(this,{readableObjectMode:!0,writableObjectMode:!0}),this.format={units:e,backupUnits:t||"in",nota:r,backupNota:a||"A"},this._formatLock={units:e!=null,backupUnits:t!=null,nota:r!=null,backupNota:a!=null},this._plotAsOutline=s===!0?kf:s,(e||this.format.backupUnits)==="in"&&(this._plotAsOutline=this._plotAsOutline/25.4),this._optimizePaths=o||s,this._line=0,this._done=!1,this._tool=null,this._outTool=null,this._tools={},this._macros={},this._pos=[0,0],this._box=gt.new(),this._mode=null,this._arc=null,this._region=!1,this._path=new sa(this._optimizePaths,this._plotAsOutline),this._epsilon=null,this._lastOp=null,this._stepRep=[]};Lf(Ue,oa);Ue.prototype._finishPath=function(e){var t=this._path.traverse();if(this._path=new sa(!e&&this._optimizePaths,this._plotAsOutline),t.length){var r=this._plotAsOutline?this._outTool:this._tool;!this._region&&r.trace.length===1?this.push({type:"stroke",width:r.trace[0],path:t}):this.push({type:"fill",path:t})}};Ue.prototype._warn=function(e){this.emit("warning",jf(e,this._line))};Ue.prototype._checkFormat=function(){this.format.units||(this.format.units=this.format.backupUnits,this._warn("units not set; using backup units: "+this.format.units)),this.format.nota||(this.format.nota=this.format.backupNota,this._warn("notation not set; using backup notation: "+this.format.nota))};Ue.prototype._updateBox=function(e){var t=this._stepRep.length;if(!t)this._box=gt.add(this._box,e);else{var r=gt.repeat(e,this._stepRep[t-1]);this._box=gt.add(this._box,r)}};Ue.prototype._transform=function(e,t,r){var a=e.type;if(this._line=e.line,this._done)return this._warn("ignoring extra command recieved after done command"),r();if(a==="op"){this._checkFormat();var o=e.op,s=e.coord;if(this.nota==="I"){var l=this;s=Object.keys(s).reduce(function(F,O){var k=s[O];return O==="x"?F[O]=l._pos[0]+k:O==="y"?F[O]=l._pos[1]+k:F[O]=k,F},{})}o==="last"&&(this._warn("modal operation commands are deprecated"),o=this._lastOp),o==="int"&&(this._mode==null&&(this._warn("no interpolation mode specified; assuming linear"),this._mode="i"),this._arc==null&&this._mode.slice(-2)==="cw"&&!s.a&&(this._warn("quadrant mode unspecified; assuming single quadrant"),this._arc="s")),this._plotAsOutline&&(this._outTool=this._tool);var f=Ff(o,s,this._pos,this._tool,this._mode,this._arc,this._region||this._plotAsOutline,this._path,this._epsilon,this);this._lastOp=o,this._pos=f.pos,this._updateBox(f.box)}else if(a==="set"){var h=e.prop,v=e.value;h==="region"?(this._finishPath(v),this._region=v):Pf(h)&&!this._formatLock[h]?(this.format[h]=v,(h==="units"||h==="nota")&&(this._formatLock[h]=!0)):h==="tool"?this._region?this._warn("cannot change tool while region mode is on"):this._tools[v]?this._outTool||(this._finishPath(),this._tool=this._tools[v]):this._warn("tool "+v+" is not defined"):this["_"+h]=v}else if(a==="tool"){var g=e.code,_=e.tool;this._tools[g]&&this._warn("tool "+g+" is already defined; overwriting definition");var x=Of(_,this._macros),B={code:g,trace:[],pad:x.shape,flashed:!1,box:x.box};(_.shape==="circle"||_.shape==="rect")&&_.hole.length===0&&(B.trace=_.params),this._outTool||(this._finishPath(),this._tools[g]=B,this._tool=B)}else if(a==="macro")this._macros[e.name]=e.blocks;else if(a==="level"){var E=e.level,R=e.value;if(this._finishPath(),E==="polarity")this.push({type:"polarity",polarity:R==="C"?"clear":"dark",box:this._box.slice(0)});else{var A=[];if(R.x>1||R.y>1)for(var I=0;I<R.x;I++)for(var D=0;D<R.y;D++)A.push([I*R.i,D*R.j]);this._stepRep=A,this.push({type:"repeat",offsets:this._stepRep.slice(0),box:this._box.slice(0)})}}else a==="done"&&(this._done=!0);return r()};Ue.prototype._flush=function(e){this._finishPath(),this.push({type:"size",box:this._box,units:this.format.units}),e()};var $f=Ue,Df=$f,jn=function(e){if(e==="A"||e==="I")return e;throw new Error('notation must be "in" or "mm"')},On=function(e){if(e==="in"||e==="mm")return e;throw new Error('units must be "in" or "mm"')},Uf=function(t){t=t||{};var r=t.units?On(t.units):null,a=t.backupUnits?On(t.backupUnits):null,o=t.nota?jn(t.nota):null,s=t.backupNota?jn(t.backupNota):null;return new Df(r,a,o,s,t.optimizePaths,t.plotAsOutline)};/*!
+ * escape-html
+ * Copyright(c) 2012-2013 TJ Holowaychuk
+ * Copyright(c) 2015 Andreas Lubbe
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
+ * MIT Licensed
+ */var qf=/["'&<>]/,Gf=zf;function zf(e){var t=""+e,r=qf.exec(t);if(!r)return t;var a,o="",s=0,l=0;for(s=r.index;s<t.length;s++){switch(t.charCodeAt(s)){case 34:a="&quot;";break;case 38:a="&amp;";break;case 39:a="&#39;";break;case 60:a="&lt;";break;case 62:a="&gt;";break;default:continue}l!==s&&(o+=t.substring(l,s)),l=s+1,o+=a}return l!==s?o+t.substring(l,s):o}var qt=Gf,fa=function(t,r,a){r=r||{},a=a||[];var o="<"+qt(t),s=Object.keys(r).reduce(function(f,h){var v=r[h],g=v!=null?" "+qt(h)+'="'+qt(v)+'"':"";return f+g},""),l=a.length?">"+a.join("")+"</"+t+">":"/>";return o+s+l},st=function(e){return Math.round(1e10*e)/1e7},Wf=function(e,t,r){return r("rect",{x:st(e[0]),y:st(e[1]),width:st(e[2]-e[0]),height:st(e[3]-e[1]),fill:t})},Hf=function(e,t,r){var a="url(#"+e+")";return r("g",{mask:a},t)},Zf=function(e,t,r,a){r=[Wf(t,"#fff",a)].concat(r);var o={id:e,fill:"#000",stroke:"#000"};return a("mask",o,[a("g",{},r)])},Nt={shift:st,maskLayer:Hf,createMask:Zf},Sr=Nt,Be=Sr.shift,Fn=Sr.createMask,Xf=Sr.maskLayer,It=function(e,t,r){return{tag:e,attr:t,children:r||[]}},fr=function(e,t,r,a){var o={cx:Be(e),cy:Be(t),r:Be(r)};return a!=null&&(o["stroke-width"]=Be(a),o.fill="none"),It("circle",o)},ua=function(e,t,r,a,o){var s={x:Be(e-a/2),y:Be(t-o/2),width:Be(a),height:Be(o)};return r&&(s.rx=Be(r),s.ry=Be(r)),It("rect",s)},la=function(e){var t=e.map(function(r){return r.map(Be).join(",")}).join(" ");return It("polygon",{points:t})},Yf=function(e,t,r,a,o){var s=e+"mask-"+t,l="url(#"+s+")",f=fr(a.cx,a.cy,a.r,a.width),h=o("mask",{id:s,stroke:"#fff"},[o(f.tag,f.attr)]),v=r.map(function(_){var x=_.type==="rect"?ua(_.cx,_.cy,_.r,_.width,_.height):la(_.points);return o(x.tag,x.attr)}),g=It("g",{mask:l},v);return{mask:h,layer:g}},Vf=function(t,r,a,o){var s=t+"_pad-"+r,l=s+"_",f=a.reduce(function(h,v,g){var _;switch(v.type){case"circle":_=fr(v.cx,v.cy,v.r);break;case"ring":_=fr(v.cx,v.cy,v.r,v.width);break;case"rect":_=ua(v.cx,v.cy,v.r,v.width,v.height);break;case"poly":_=la(v.points);break;case"clip":var x=Yf(l,g,v.shape,v.clip,o);h.masks.push(x.mask),_=x.layer;break;case"layer":if(h.count++,h.last=v.polarity,v.polarity==="clear"){var B=l+h.count;h.maskId=B,h.maskBox=v.box.slice(0),h.maskChildren=[],h.layers=[Xf(B,h.layers,o)]}else{var E=Fn(h.maskId,h.maskBox,h.maskChildren,o);h.masks.push(E)}break}if(_){a.length===1&&(_.attr.id=s);var R=o(_.tag,_.attr,_.children);h.last==="dark"?h.layers.push(R):h.maskChildren.push(R)}return h},{count:0,last:"dark",layers:[],maskId:"",maskBox:[],maskChildren:[],masks:[]});return f.last==="clear"&&f.masks.push(Fn(f.maskId,f.maskBox,f.maskChildren,o)),a.length>1&&(f.layers=o("g",{id:s},f.layers)),f.masks.concat(f.layers)},Kf=Nt,kn=Kf.shift,Jf=function(t,r,a,o,s){var l="#"+t+"_pad-"+r;return s("use",{"xlink:href":l,x:kn(a),y:kn(o)})},Qf=Nt,Pe=Qf.shift,eu=function(e,t){return e[0]===t[0]&&e[1]===t[1]},tu=function(e){return"M "+Pe(e[0])+" "+Pe(e[1])},ha=function(e,t){var r=e==="L"||e==="M"?"":"L ";return r+Pe(t[0])+" "+Pe(t[1])},ur=function(e,t,r,a,o,s){if(r===0)return ha(e,o);if(r===2*Math.PI){var l=[2*s[0]-o[0],2*s[1]-o[1]],f=ur(e,t,Math.PI,a,l,s),h=ur("A",t,Math.PI,a,o,s);return f+" "+h}var v=e==="A"?"":"A ";return t=Pe(t),v+=t+" "+t+" 0 ",v+=r>Math.PI?"1 ":"0 ",v+=a==="ccw"?"1 ":"0 ",v+=Pe(o[0])+" "+Pe(o[1]),v},ru=function(e,t){var r=t.type,a=t.start,o=t.end;return eu(e.last,a)||(e.data+=(e.data?" ":"")+tu(a),e.lastCmd="M"),e.data+=" ",r==="line"?(e.data+=ha(e.lastCmd,o),e.lastCmd="L"):(e.data+=ur(e.lastCmd,t.radius,t.sweep,t.dir,o,t.center),e.lastCmd="A"),e.last=o,e},nu=function(t,r,a){var o=t.reduce(ru,{last:[],data:""}).data,s={d:o};return r!=null&&(s.fill="none",s["stroke-width"]=Pe(r)),a("path",s)},iu=fa,ca=function(e,t,r){var a=r||iu,o={version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"0","fill-rule":"evenodd",width:e.width+e.units,height:e.height+e.units,viewBox:e.viewBox.join(" ")};typeof t=="string"&&(t={id:t}),Object.keys(t||{}).forEach(function(h){var v=t[h];v!=null&&(o[h]=v)});var s=[];if(e.layer.length){e.defs.length&&s.push(a("defs",{},e.defs));var l=e.viewBox[3]+2*e.viewBox[1],f="translate(0,"+l+") scale(1,-1)";s.push(a("g",{transform:f,fill:"currentColor",stroke:"currentColor"},e.layer))}return a("svg",o,s)},da=mr.Transform,au=$e,pa=lt,ou=Vf,su=Jf,Pn=nu,Tr=Nt,fu=ca,ke=Tr.shift,va=Tr.maskLayer,uu=Tr.createMask,lu=0,lr=1,ga=2,Le=function(e,t,r,a){da.call(this,{writableObjectMode:!0,readableObjectMode:a}),this.id=e,this.attributes=t,this.defs=[],this.layer=[],this.viewBox=[0,0,0,0],this.width=0,this.height=0,this.units="",this._maskId="",this._maskBox=[],this._mask=[],this._blockMode=!1,this._blockBox=[],this._block=[],this._blockCount=0,this._blockLayerCount=0,this._offsets=[],this._clearCount=0,this._lastLayer=0,this._blockCount=0,this._blockCount=0,this._element=r};au(Le,da);Le.prototype._transform=function(e,t,r){switch(e.type){case"shape":this.defs=this.defs.concat(ou(this.id,e.tool,e.shape,this._element));break;case"pad":this._draw(su(this.id,e.tool,e.x,e.y,this._element));break;case"fill":this._draw(Pn(e.path,null,this._element));break;case"stroke":this._draw(Pn(e.path,e.width,this._element));break;case"polarity":this._handleNewPolarity(e.polarity,e.box);break;case"repeat":this._handleNewRepeat(e.offsets,e.box);break;case"size":this._handleSize(e.box,e.units)}r()};Le.prototype._flush=function(e){this._handleNewRepeat([]),this.push(fu(this,this.attributes,this._element)),e()};Le.prototype._finishBlockLayer=function(){if(this._block.length){this._blockLayerCount++;var e=this.id+"_block-"+this._blockCount+"-"+this._blockLayerCount;this.defs.push(this._element("g",{id:e},this._block)),this._block=[]}};Le.prototype._finishClearLayer=function(){return this._maskId?(this.defs.push(uu(this._maskId,this._maskBox,this._mask,this._element)),this._maskId="",this._maskBox=[],this._mask=[],!0):!1};Le.prototype._handleNewPolarity=function(e,t){if(this._blockMode)return this._blockLayerCount===0&&!this._block.length&&(this._blockMode=e==="dark"?lr:ga),this._finishBlockLayer();this._clearCount=e==="clear"?this._clearCount+1:this._clearCount;var r=this.id+"_clear-"+this._clearCount;e==="clear"?(this.layer=[va(r,this.layer,this._element)],this._maskId=r,this._maskBox=t.slice(0)):this._finishClearLayer(t)};Le.prototype._handleNewRepeat=function(e,t){var r=e.length===0,a=this._finishClearLayer();this._finishBlockLayer();var o=this.layer,s=this._element,l=this._blockMode,f=this._blockLayerCount,h=this.id+"_block-"+this._blockCount+"-";if(this._offsets.forEach(function(g){for(var _=l;_<=f;_+=2)o.push(s("use",{"xlink:href":"#"+h+_,x:ke(g[0]),y:ke(g[1])}))}),f>2-l){var v=h+"clear";this.layer=[va(v,o,this._element)],this._maskId=v,this._maskBox=this._blockBox.slice(0),this._mask=this._offsets.reduce(function(g,_){for(var x,B=1;B<=f;B++){x=l===lr?B%2===1:B%2===0;var E={"xlink:href":"#"+h+B,x:ke(_[0]),y:ke(_[1])};x&&(E.fill="#fff",E.stroke="#fff"),g.push(s("use",E))}return g},[]),a=this._finishClearLayer()}this._offsets=e,r?this._blockMode=lu:(this._blockMode=a?ga:lr,this._blockCount++,this._blockLayerCount=0,this._blockBox=t.every(pa)?t:[0,0,0,0])};Le.prototype._handleSize=function(e,t){if(e.every(pa)){var r=ke(e[0]),a=ke(e[1]),o=ke(e[2]-e[0]),s=ke(e[3]-e[1]);this.viewBox=[r,a,o,s],this.width=o/1e3,this.height=s/1e3,this.units=t}};Le.prototype._draw=function(e){this._blockMode?this._block.push(e):this._maskId?this._mask.push(e):this.layer.push(e)};var hu=Le,cu=["id","attributes","defs","layer","viewBox","width","height","units"],du=function(t){return cu.reduce(function(r,a){var o=t[a];return o!=null&&(r[a]=t[a]),r},{})},pu=qa,vu=c3,gu=Uf,yu=fa,mu=hu,_u=ca,wu=du,bu=function(e){typeof e=="string"?e={id:e}:e||(e={});var t={id:pu.ensure(e.id),attributes:e.attributes||{},createElement:e.createElement||yu,objectMode:e.objectMode==null?!1:e.objectMode,parser:{places:e.places,zero:e.zero,filetype:e.filetype},plotter:{units:e.units,backupUnits:e.backupUnits,nota:e.nota,backupNota:e.backupNota,optimizePaths:e.optimizePaths,plotAsOutline:e.plotAsOutline}};return t};St.exports=function(t,r,a){typeof r=="function"&&(a=r,r=null);var o=bu(r),s=a!=null,l=new mu(o.id,o.attributes,o.createElement,o.objectMode),f=vu(o.parser),h=gu(o.plotter);if(l.parser=f,l.plotter=h,f.on("warning",function(x){l.emit("warning",x)}),h.on("warning",function(x){l.emit("warning",x)}),f.once("error",function(x){l.emit("error",x)}),h.once("error",function(x){l.emit("error",x)}),f.once("end",function(){l.filetype=f.format.filetype}),t.pipe?(t.setEncoding("utf8"),t.pipe(f)):process.nextTick(function(){f.write(t),f.end()}),f.pipe(h).pipe(l),s){var v="",g=function(){return a(null,v)};l.on("readable",function(){var x;do x=l.read()||"",v+=x;while(x)}),l.once("end",g),l.once("error",function(_){return l.removeListener("end",g),a(_)})}return l};St.exports.render=_u;St.exports.clone=wu;var xu=St.exports;const Eu=hr(xu);var Mu={};(function(e){(function(){var t=e||!1||this||window;t.default=t;var r="http://www.w3.org/2000/xmlns/",a="http://www.w3.org/1999/xhtml",o="http://www.w3.org/2000/svg",s='<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY nbsp "&#160;">]>',l=/url\(["']?(.+?)["']?\)/,f={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject",sfnt:"application/font-sfnt",svg:"image/svg+xml"},h=function(C){return C instanceof HTMLElement||C instanceof SVGElement},v=function(C){if(!h(C))throw new Error("an HTMLElement or SVGElement is required; got "+C)},g=function(C){return new Promise(function(L,N){h(C)?L(C):N(new Error("an HTMLElement or SVGElement is required; got "+C))})},_=function(C){return C&&C.lastIndexOf("http",0)===0&&C.lastIndexOf(window.location.host)===-1},x=function(C){var L=Object.keys(f).filter(function(N){return C.indexOf("."+N)>0}).map(function(N){return f[N]});return L?L[0]:(console.error("Unknown font format for "+C+". Fonts may not be working correctly."),"application/octet-stream")},B=function(C){for(var L="",N=new Uint8Array(C),P=0;P<N.byteLength;P++)L+=String.fromCharCode(N[P]);return window.btoa(L)},E=function(C,L,N){var P=C.viewBox&&C.viewBox.baseVal&&C.viewBox.baseVal[N]||L.getAttribute(N)!==null&&!L.getAttribute(N).match(/%$/)&&parseInt(L.getAttribute(N))||C.getBoundingClientRect()[N]||parseInt(L.style[N])||parseInt(window.getComputedStyle(C).getPropertyValue(N));return typeof P>"u"||P===null||isNaN(parseFloat(P))?0:P},R=function(C,L,N,P){if(C.tagName==="svg")return{width:N||E(C,L,"width"),height:P||E(C,L,"height")};if(C.getBBox){var W=C.getBBox(),H=W.x,Q=W.y,se=W.width,we=W.height;return{width:H+se,height:Q+we}}},A=function(C){return decodeURIComponent(encodeURIComponent(C).replace(/%([0-9A-F]{2})/g,function(L,N){var P=String.fromCharCode("0x"+N);return P==="%"?"%25":P}))},I=function(C){for(var L=window.atob(C.split(",")[1]),N=C.split(",")[0].split(":")[1].split(";")[0],P=new ArrayBuffer(L.length),W=new Uint8Array(P),H=0;H<L.length;H++)W[H]=L.charCodeAt(H);return new Blob([P],{type:N})},D=function(C,L){if(L)try{return C.querySelector(L)||C.parentNode&&C.parentNode.querySelector(L)}catch(N){console.warn('Invalid CSS selector "'+L+'"',N)}},F=function(C,L){var N=C.cssText.match(l),P=N&&N[1]||"";if(!(!P||P.match(/^data:/)||P==="about:blank")){var W=P.startsWith("../")?L+"/../"+P:P.startsWith("./")?L+"/."+P:P;return{text:C.cssText,format:x(W),url:W}}},O=function(C){return Promise.all(Array.from(C.querySelectorAll("image")).map(function(L){var N=L.getAttributeNS("http://www.w3.org/1999/xlink","href")||L.getAttribute("href");return N?(_(N)&&(N+=(N.indexOf("?")===-1?"?":"&")+"t="+new Date().valueOf()),new Promise(function(P,W){var H=document.createElement("canvas"),Q=new Image;Q.crossOrigin="anonymous",Q.src=N,Q.onerror=function(){return W(new Error("Could not load "+N))},Q.onload=function(){H.width=Q.width,H.height=Q.height,H.getContext("2d").drawImage(Q,0,0),L.setAttributeNS("http://www.w3.org/1999/xlink","href",H.toDataURL("image/png")),P(!0)}})):Promise.resolve(null)}))},k={},z=function(C){return Promise.all(C.map(function(L){return new Promise(function(N,P){if(k[L.url])return N(k[L.url]);var W=new XMLHttpRequest;W.addEventListener("load",function(){var H=B(W.response),Q=L.text.replace(l,'url("data:'+L.format+";base64,"+H+'")')+`
+`;k[L.url]=Q,N(Q)}),W.addEventListener("error",function(H){console.warn("Failed to load font from: "+L.url,H),k[L.url]=null,N(null)}),W.addEventListener("abort",function(H){console.warn("Aborted loading font from: "+L.url,H),N(null)}),W.open("GET",L.url),W.responseType="arraybuffer",W.send()})})).then(function(L){return L.filter(function(N){return N}).join("")})},te=null,X=function(){return te||(te=Array.from(document.styleSheets).map(function(C){try{return{rules:C.cssRules,href:C.href}}catch(L){return console.warn("Stylesheet could not be loaded: "+C.href,L),{}}}))},G=function(C,L){var N=L||{},P=N.selectorRemap,W=N.modifyStyle,H=N.modifyCss,Q=N.fonts,se=N.excludeUnusedCss,we=H||function(ae,ye){var w=P?P(ae):ae,m=W?W(ye):ye;return w+"{"+m+`}
+`},V=[],ee=typeof Q>"u",ce=Q||[];return X().forEach(function(ae){var ye=ae.rules,w=ae.href;ye&&Array.from(ye).forEach(function(m){if(typeof m.style<"u")if(D(C,m.selectorText))V.push(we(m.selectorText,m.style.cssText));else if(ee&&m.cssText.match(/^@font-face/)){var T=F(m,w);T&&ce.push(T)}else se||V.push(m.cssText)})}),z(ce).then(function(ae){return V.join(`
+`)+ae})},me=function(){if(!navigator.msSaveOrOpenBlob&&!("download"in document.createElement("a")))return{popup:window.open()}};t.prepareSvg=function(U,C,L){v(U);var N=C||{},P=N.left,W=P===void 0?0:P,H=N.top,Q=H===void 0?0:H,se=N.width,we=N.height,V=N.scale,ee=V===void 0?1:V,ce=N.responsive,ae=ce===void 0?!1:ce,ye=N.excludeCss,w=ye===void 0?!1:ye;return O(U).then(function(){var m=U.cloneNode(!0);m.style.backgroundColor=(C||{}).backgroundColor||U.style.backgroundColor;var T=R(U,m,se,we),$=T.width,q=T.height;if(U.tagName!=="svg")if(U.getBBox){m.getAttribute("transform")!=null&&m.setAttribute("transform",m.getAttribute("transform").replace(/translate\(.*?\)/,""));var d=document.createElementNS("http://www.w3.org/2000/svg","svg");d.appendChild(m),m=d}else{console.error("Attempted to render non-SVG element",U);return}if(m.setAttribute("version","1.1"),m.setAttribute("viewBox",[W,Q,$,q].join(" ")),m.getAttribute("xmlns")||m.setAttributeNS(r,"xmlns",o),m.getAttribute("xmlns:xlink")||m.setAttributeNS(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),ae?(m.removeAttribute("width"),m.removeAttribute("height"),m.setAttribute("preserveAspectRatio","xMinYMin meet")):(m.setAttribute("width",$*ee),m.setAttribute("height",q*ee)),Array.from(m.querySelectorAll("foreignObject > *")).forEach(function(j){j.setAttributeNS(r,"xmlns",j.tagName==="svg"?o:a)}),w){var p=document.createElement("div");p.appendChild(m);var S=p.innerHTML;if(typeof L=="function")L(S,$,q);else return{src:S,width:$,height:q}}else return G(U,C).then(function(j){var re=document.createElement("style");re.setAttribute("type","text/css"),re.innerHTML=`<![CDATA[
+`+j+`
+]]>`;var Z=document.createElement("defs");Z.appendChild(re),m.insertBefore(Z,m.firstChild);var K=document.createElement("div");K.appendChild(m);var Te=K.innerHTML.replace(/NS\d+:href/gi,'xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href');if(typeof L=="function")L(Te,$,q);else return{src:Te,width:$,height:q}})})},t.svgAsDataUri=function(U,C,L){return v(U),t.prepareSvg(U,C).then(function(N){var P=N.src,W=N.width,H=N.height,Q="data:image/svg+xml;base64,"+window.btoa(A(s+P));return typeof L=="function"&&L(Q,W,H),Q})},t.svgAsPngUri=function(U,C,L){v(U);var N=C||{},P=N.encoderType,W=P===void 0?"image/png":P,H=N.encoderOptions,Q=H===void 0?.8:H,se=N.canvg,we=function(ee){var ce=ee.src,ae=ee.width,ye=ee.height,w=document.createElement("canvas"),m=w.getContext("2d"),T=window.devicePixelRatio||1;w.width=ae*T,w.height=ye*T,w.style.width=w.width+"px",w.style.height=w.height+"px",m.setTransform(T,0,0,T,0,0),se?se(w,ce):m.drawImage(ce,0,0);var $=void 0;try{$=w.toDataURL(W,Q)}catch(q){if(typeof SecurityError<"u"&&q instanceof SecurityError||q.name==="SecurityError"){console.error("Rendered SVG images cannot be downloaded in this browser.");return}else throw q}return typeof L=="function"&&L($,w.width,w.height),Promise.resolve($)};return se?t.prepareSvg(U,C).then(we):t.svgAsDataUri(U,C).then(function(V){return new Promise(function(ee,ce){var ae=new Image;ae.onload=function(){return ee(we({src:ae,width:ae.width,height:ae.height}))},ae.onerror=function(){ce(`There was an error loading the data URI as an image on the following SVG
+`+window.atob(V.slice(26))+`Open the following link to see browser's diagnosis
+`+V)},ae.src=V})})},t.download=function(U,C,L){if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(I(C),U);else{var N=document.createElement("a");if("download"in N){N.download=U,N.style.display="none",document.body.appendChild(N);try{var P=I(C),W=URL.createObjectURL(P);N.href=W,N.onclick=function(){return requestAnimationFrame(function(){return URL.revokeObjectURL(W)})}}catch(H){console.error(H),console.warn("Error while getting object URL. Falling back to string URL."),N.href=C}N.click(),document.body.removeChild(N)}else L&&L.popup&&(L.popup.document.title=U,L.popup.location.replace(C))}},t.saveSvg=function(U,C,L){var N=me();return g(U).then(function(P){return t.svgAsDataUri(P,L||{})}).then(function(P){return t.download(C,P,N)})},t.saveSvgAsPng=function(U,C,L){var N=me();return g(U).then(function(P){return t.svgAsPngUri(P,L||{})}).then(function(P){return t.download(C,P,N)})}})()})(Mu);window.Buffer=rt.Buffer;window.process=Ma;window.EventEmitter=$a;document.getElementById("body");let yt=document.getElementById("previewSVG");const xt=["Edge_Cuts","profile","B_Cu","copper_bottom","F_Cu","copper_top","B_Mask","soldermask_bottom","F_Mask","soldermask_top","B_Paste","solderpaste_bottom","F_Paste","solderpaste_top","drill","B_Silkscreen","B_Silks","silkscreen_bottom","F_Silkscreen","F_Silks","silkscreen_top"],$n={Edge_Cuts:[70,105,58,1],profile:[70,105,58,1],B_Cu:[30,130,220,.8],copper_bottom:[30,130,220,.8],F_Cu:[89,165,82,.8],copper_top:[89,165,82,.8],B_Mask:[200,177,170,.6],soldermask_bottom:[200,177,170,.6],F_Mask:[239,177,58,1],soldermask_top:[239,177,58,1],B_Paste:[200,20,230,.2],solderpaste_bottom:[200,20,230,.2],F_Paste:[200,20,230,.3],solderpaste_top:[200,20,230,.3],drill:[120,120,120,1],B_Silkscreen:[255,255,255,.6],B_Silks:[255,255,255,.6],silkscreen_bottom:[255,255,255,.6],F_Silkscreen:[255,255,255,1],F_Silks:[255,255,255,1],silkscreen_top:[255,255,255,1]};let ft=[],Et=null,J={fillEdge:!0,asSVG:!1,dpi:1e3,svgOrig:[NaN,NaN],lockOrig:!1,svgDim:[NaN,NaN],lockDim:!1,svgMargin:[0,0]};function Dn(){if(Et===null)yt.outerHTML='<svg id="previewSVG"></svg>';else{let e=new XMLSerializer;yt.outerHTML=e.serializeToString(Et)}yt=document.getElementById("previewSVG")}function ct(e=!1){console.log(JSON.stringify(ft));let t=new DOMParser;if(Et=t.parseFromString('<svg id="previewSVG" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"></svg>',"text/xml"),ft.length==0){Dn();return}let r=ft.toSorted((E,R)=>xt.indexOf(E[0])-xt.indexOf(R[0])),a,o,s=Number.MAX_VALUE,l=-Number.MAX_VALUE,f=Number.MAX_VALUE,h=-Number.MAX_VALUE,v=Et.childNodes[0];v.setAttribute("stroke-linecap","round"),v.setAttribute("stroke-linejoin","round"),v.setAttribute("stroke-width","0"),v.setAttribute("fill-rule","evenodd");let g,_,x;for([a,o]of r)_=t.parseFromString(o,"text/xml"),x=_.childNodes[0],g=x.getAttribute("viewBox").split(" ").map(E=>Number(E)),x.childNodes.length!=0&&(s=Math.min(s,g[0]),l=Math.max(l,g[0]+g[2]),f=Math.min(f,g[1]),h=Math.max(h,g[1]+g[3]));e||((!J.lockOrig||isNaN(J.svgOrig[0]))&&(J.svgOrig[0]=s/1e3,J.svgOrig[1]=f/1e3),(!J.lockDim||isNaN(J.svgDim[0]))&&(J.svgDim[0]=(l-s)/1e3,J.svgDim[1]=(h-f)/1e3)),Tu();let B=[J.svgOrig[0]-J.svgMargin[0],J.svgOrig[1]-J.svgMargin[1],J.svgDim[0]+2*J.svgMargin[0],J.svgDim[1]+2*J.svgMargin[1]].map(E=>E*1e3);v.setAttribute("viewBox",B.join(" ")),v.setAttribute("width",`${(B[2]/1e3).toFixed(3)}mm`),v.setAttribute("height",`${(B[3]/1e3).toFixed(3)}mm`);for([a,o]of r){_=t.parseFromString(o,"text/xml"),x=_.childNodes[0],g=x.getAttribute("viewBox").split(" ").map(A=>Number(A));let E="rgb("+$n[a].slice(0,3).join(",")+")",R=$n[a][3];for(let A of x.childNodes){if(A.tagName=="g"){const I=/translate\([-.\d]+,\s*([-.\d]+)\)/,D=A.getAttribute("transform").match(I);let F=Number(D[1]);F+=B[1]+B[3]-(g[1]+g[3]),F+=B[1]-g[1],A.setAttribute("transform",`translate(0, ${F}) scale(1, -1)`),A.setAttribute("opacity",R),A.setAttribute("fill",E),A.setAttribute("stroke",E),A.childNodes.forEach(O=>{["profile","Edge_Cuts"].includes(a)&&J.fillEdge&&(O.removeAttribute("fill"),O.setAttribute("stroke","none"))})}v.appendChild(A.cloneNode(!0))}}Dn()}function Ru(e=!1){if(e)return;let t=new XMLSerializer().serializeToString(yt),r="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(t),a=document.createElement("a");a.href=r,a.download="render.svg",document.body.appendChild(a),a.click(),document.body.removeChild(a)}var nt=document.getElementById("dropZone");function Su(){nt.style.visibility="visible"}function ya(){nt.style.visibility="hidden"}window.addEventListener("dragenter",e=>{Su()});function ma(e){e.dataTransfer.dropEffect="copy",e.preventDefault()}nt.addEventListener("dragenter",ma);nt.addEventListener("dragover",ma);nt.addEventListener("dragleave",e=>{ya()});nt.addEventListener("drop",e=>{if(e.preventDefault(),ya(),!e.dataTransfer.items)return;let t=[];for(let r of e.dataTransfer.files){let a;if(r.name.endsWith(".xln")||r.name.endsWith(".drl"))a="drill";else{if(!r.name.endsWith(".gbr"))continue;let s=r.name.replace(".gbr",""),l=-1;for(let f in xt)if(a=xt[f],s.endsWith(a)){l=f;break}if(l==-1)continue}let o=new Promise((s,l)=>{const f=new FileReader;f.onload=h=>{const v={encoding:"utf8",optimizePaths:!0};Eu(f.result,v,(g,_)=>{s(g?null:[a,_])})},f.onerror=l,f.readAsText(r)});t.push(o)}Promise.all(t).then(r=>{ft=r,ct()})});function _a(){let e=document.getElementById("settingsFill"),t=document.getElementById("settingsAsSVG"),r=document.getElementById("settingsDPI"),a=document.getElementById("settingsOrigX"),o=document.getElementById("settingsOrigY"),s=document.getElementById("settingsDimX"),l=document.getElementById("settingsDimY"),f=document.getElementById("settingsMarginX"),h=document.getElementById("settingsMarginY");J.fillEdge=e.checked,J.asSVG=t.checked,J.dpi=Number(r.value),J.svgMargin=[Number(f.value),Number(h.value)],J.svgOrig=[Number(a.value),Number(o.value)],J.svgDim=[Number(s.value),Number(l.value)]}function Tu(){let e=document.getElementById("settingsOrigX"),t=document.getElementById("settingsOrigY"),r=document.getElementById("settingsDimX"),a=document.getElementById("settingsDimY");e.value=J.svgOrig[0],t.value=J.svgOrig[1],r.value=J.svgDim[0],a.value=J.svgDim[1]}function Bu(){for(let e of["settingsFill","settingsAsSVG","settingsDPI","settingsOrigX","settingsOrigY","settingsDimX","settingsDimY","settingsMarginX","settingsMarginY"])document.getElementById(e).addEventListener("change",()=>{_a(),ct(!0)})}let Gt=document.getElementById("settingsLockOrig"),zt=document.getElementById("settingsLockDim");Gt.addEventListener("click",()=>{let e=document.getElementById("settingsOrigX"),t=document.getElementById("settingsOrigY");J.lockOrig?(e.disabled=!1,t.disabled=!1,J.lockOrig=!1,Gt.innerHTML="🔓"):(e.disabled=!0,t.disabled=!0,J.lockOrig=!0,Gt.innerHTML="🔒"),ct()});zt.addEventListener("click",()=>{let e=document.getElementById("settingsDimX"),t=document.getElementById("settingsDimY");J.lockDim?(e.disabled=!1,t.disabled=!1,J.lockDim=!1,zt.innerHTML="🔓"):(e.disabled=!0,t.disabled=!0,J.lockDim=!0,zt.innerHTML="🔒"),ct()});document.getElementById("downloadRenderButton").addEventListener("click",()=>{Ru(!1)});_a();Bu();ft=JSON.parse('[["Edge_Cuts","<svg version=\\"1.1\\" xmlns=\\"http://www.w3.org/2000/svg\\" xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"0\\" fill-rule=\\"evenodd\\" width=\\"34.39mm\\" height=\\"38.835mm\\" viewBox=\\"52655 -71170 34390 38835\\"><g transform=\\"translate(0,-103505) scale(1,-1)\\" fill=\\"currentColor\\" stroke=\\"currentColor\\"><path d=\\"M 86995 -34925 A 2540 2540 0 0 1 84455 -32385 L 55245 -32385 A 2540 2540 0 0 1 52705 -34925 L 52705 -68580 A 2540 2540 0 0 1 55245 -71120 L 84455 -71120 A 2540 2540 0 0 1 86995 -68580 L 86995 -34925\\" fill=\\"none\\" stroke-width=\\"100\\"/></g></svg>"],["F_Cu","<svg version=\\"1.1\\" xmlns=\\"http://www.w3.org/2000/svg\\" xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"0\\" fill-rule=\\"evenodd\\" width=\\"32.531mm\\" height=\\"34.7mm\\" viewBox=\\"53775 -68780 32531 34700\\"><defs><rect x=\\"-635\\" y=\\"-1270\\" width=\\"1270\\" height=\\"2540\\" id=\\"uZojfCN5iBEs_pad-10\\"/><rect x=\\"-850\\" y=\\"-1000\\" width=\\"1700\\" height=\\"2000\\" id=\\"uZojfCN5iBEs_pad-11\\"/><rect x=\\"-1000\\" y=\\"-850\\" width=\\"2000\\" height=\\"1700\\" id=\\"uZojfCN5iBEs_pad-12\\"/><rect x=\\"-1500\\" y=\\"-800\\" width=\\"3000\\" height=\\"1600\\" id=\\"uZojfCN5iBEs_pad-13\\"/><rect x=\\"-600\\" y=\\"-1200\\" width=\\"1200\\" height=\\"2400\\" id=\\"uZojfCN5iBEs_pad-14\\"/><circle cx=\\"0\\" cy=\\"0\\" r=\\"600\\" id=\\"uZojfCN5iBEs_pad-15\\"/><rect x=\\"-370\\" y=\\"-1200\\" width=\\"740\\" height=\\"2400\\" id=\\"uZojfCN5iBEs_pad-16\\"/></defs><g transform=\\"translate(0,-102860) scale(1,-1)\\" fill=\\"currentColor\\" stroke=\\"currentColor\\"><use xlink:href=\\"#uZojfCN5iBEs_pad-10\\" x=\\"67970\\" y=\\"-61550\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-10\\" x=\\"65430\\" y=\\"-61550\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-10\\" x=\\"62890\\" y=\\"-61550\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-10\\" x=\\"60350\\" y=\\"-61550\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-10\\" x=\\"57810\\" y=\\"-61550\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-10\\" x=\\"55270\\" y=\\"-61550\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-11\\" x=\\"82550\\" y=\\"-48800\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-11\\" x=\\"82550\\" y=\\"-52800\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-12\\" x=\\"81375\\" y=\\"-55880\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-12\\" x=\\"77375\\" y=\\"-55880\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-12\\" x=\\"63595\\" y=\\"-55880\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-12\\" x=\\"59595\\" y=\\"-55880\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-12\\" x=\\"71215\\" y=\\"-55880\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-12\\" x=\\"67215\\" y=\\"-55880\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"61235\\" y=\\"-35560\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"61235\\" y=\\"-38100\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"61235\\" y=\\"-40640\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"61235\\" y=\\"-43180\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"61235\\" y=\\"-45720\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"61235\\" y=\\"-48260\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"61235\\" y=\\"-50800\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"78470\\" y=\\"-50800\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"78470\\" y=\\"-48260\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"78470\\" y=\\"-45720\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"78470\\" y=\\"-43180\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"78470\\" y=\\"-40640\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"78470\\" y=\\"-38100\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-13\\" x=\\"78470\\" y=\\"-35560\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-14\\" x=\\"71125\\" y=\\"-52070\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-14\\" x=\\"68585\\" y=\\"-52070\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-15\\" x=\\"68580\\" y=\\"-34680\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-15\\" x=\\"68580\\" y=\\"-37220\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-15\\" x=\\"71120\\" y=\\"-37220\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-15\\" x=\\"71120\\" y=\\"-34680\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-11\\" x=\\"57785\\" y=\\"-47720\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-11\\" x=\\"57785\\" y=\\"-43720\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-16\\" x=\\"81915\\" y=\\"-61550\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-16\\" x=\\"81915\\" y=\\"-65450\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-16\\" x=\\"80645\\" y=\\"-61550\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-16\\" x=\\"80645\\" y=\\"-65450\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-16\\" x=\\"79375\\" y=\\"-61550\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-16\\" x=\\"79375\\" y=\\"-65450\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-16\\" x=\\"78105\\" y=\\"-61550\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-16\\" x=\\"78105\\" y=\\"-65450\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-16\\" x=\\"76835\\" y=\\"-61550\\"/><use xlink:href=\\"#uZojfCN5iBEs_pad-16\\" x=\\"76835\\" y=\\"-65450\\"/><path d=\\"M 77765 -67310 78105 -66970 78105 -65450 79375 -65450 79375 -67050 79375 -66720 M 79375 -67050 79635 -67310 81280 -67310 81915 -66675 81915 -65450 83140 -65450 85090 -63500 85090 -48895 84995 -48800 82550 -48800 M 85090 -48895 85090 -42545 80645 -38100 77470 -38100 79450 -38100 M 56515 -67310 71120 -67310 77765 -67310 M 71215 -67215 71120 -67310 M 55270 -60915 55270 -61550 55270 -66065 56515 -67310 M 71215 -55880 71215 -67215 M 81915 -68580 86106 -64389 86106 -41910 79756 -35560 77470 -35560 79450 -35560 M 60039.002 -59404.002 54260.998 -59404.002 53975 -59690 53975 -66675 55880 -68580 81915 -68580 M 60350 -59715 60039.002 -59404.002 M 60350 -61550 60350 -59715 M 81915 -59690 81915 -61550 M 77470 -48260 74930 -50800 74930 -56504.295 76845.206 -58419.501 80644.501 -58419.501 81915 -59690 M 74120.499 -49069.501 74120.499 -56839.602 76509.9 -59229.002 77384.002 -59229.002 78105 -59950 78105 -61550 M 77470 -45720 74120.499 -49069.501 M 76835 -60960 73310.998 -57435.998 73310.998 -47339.002 77470 -43180 M 76835 -61550 76835 -60960 M 56515 -56385.488 57914.512 -57785 62300 -57785 65430 -60915 M 56515 -48990 56515 -56385.488 M 57785 -47720 56515 -48990 M 57229.704 -58245 57229 -58245 55372 -56388 55372 -43053 57785 -40640 62235 -40640 M 61769.501 -58594.501 57579.205 -58594.501 57229.704 -58245 M 62890 -59715 61769.501 -58594.501 M 62890 -60915 62890 -59715 M 62235 -48392 62235 -48260 M 58325 -43180 57785 -43720 M 62235 -43180 58325 -43180 M 59595 -51530 59595 -55880 M 60325 -50800 59595 -51530 M 62235 -50800 60325 -50800 M 63595 -55880 67215 -55880 M 77375 -50895 77375 -55880 M 79375 -50800 77470 -50800 77375 -50895 M 81375 -55880 81915 -55880 82550 -55245 82550 -52800\\" fill=\\"none\\" stroke-width=\\"400\\"/></g></svg>"],["F_Mask","<svg version=\\"1.1\\" xmlns=\\"http://www.w3.org/2000/svg\\" xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"0\\" fill-rule=\\"evenodd\\" width=\\"28.765mm\\" height=\\"32.57mm\\" viewBox=\\"54635 -66650 28765 32570\\"><defs><rect x=\\"-635\\" y=\\"-1270\\" width=\\"1270\\" height=\\"2540\\" id=\\"rjjz4qFsGmhm_pad-10\\"/><rect x=\\"-850\\" y=\\"-1000\\" width=\\"1700\\" height=\\"2000\\" id=\\"rjjz4qFsGmhm_pad-11\\"/><rect x=\\"-1000\\" y=\\"-850\\" width=\\"2000\\" height=\\"1700\\" id=\\"rjjz4qFsGmhm_pad-12\\"/><rect x=\\"-1500\\" y=\\"-800\\" width=\\"3000\\" height=\\"1600\\" id=\\"rjjz4qFsGmhm_pad-13\\"/><rect x=\\"-600\\" y=\\"-1200\\" width=\\"1200\\" height=\\"2400\\" id=\\"rjjz4qFsGmhm_pad-14\\"/><circle cx=\\"0\\" cy=\\"0\\" r=\\"600\\" id=\\"rjjz4qFsGmhm_pad-15\\"/><rect x=\\"-370\\" y=\\"-1200\\" width=\\"740\\" height=\\"2400\\" id=\\"rjjz4qFsGmhm_pad-16\\"/></defs><g transform=\\"translate(0,-100730) scale(1,-1)\\" fill=\\"currentColor\\" stroke=\\"currentColor\\"><use xlink:href=\\"#rjjz4qFsGmhm_pad-10\\" x=\\"67970\\" y=\\"-61550\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-10\\" x=\\"65430\\" y=\\"-61550\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-10\\" x=\\"62890\\" y=\\"-61550\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-10\\" x=\\"60350\\" y=\\"-61550\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-10\\" x=\\"57810\\" y=\\"-61550\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-10\\" x=\\"55270\\" y=\\"-61550\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-11\\" x=\\"82550\\" y=\\"-48800\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-11\\" x=\\"82550\\" y=\\"-52800\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-12\\" x=\\"81375\\" y=\\"-55880\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-12\\" x=\\"77375\\" y=\\"-55880\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-12\\" x=\\"63595\\" y=\\"-55880\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-12\\" x=\\"59595\\" y=\\"-55880\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-12\\" x=\\"71215\\" y=\\"-55880\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-12\\" x=\\"67215\\" y=\\"-55880\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"61235\\" y=\\"-35560\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"61235\\" y=\\"-38100\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"61235\\" y=\\"-40640\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"61235\\" y=\\"-43180\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"61235\\" y=\\"-45720\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"61235\\" y=\\"-48260\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"61235\\" y=\\"-50800\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"78470\\" y=\\"-50800\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"78470\\" y=\\"-48260\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"78470\\" y=\\"-45720\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"78470\\" y=\\"-43180\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"78470\\" y=\\"-40640\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"78470\\" y=\\"-38100\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-13\\" x=\\"78470\\" y=\\"-35560\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-14\\" x=\\"71125\\" y=\\"-52070\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-14\\" x=\\"68585\\" y=\\"-52070\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-15\\" x=\\"68580\\" y=\\"-34680\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-15\\" x=\\"68580\\" y=\\"-37220\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-15\\" x=\\"71120\\" y=\\"-37220\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-15\\" x=\\"71120\\" y=\\"-34680\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-11\\" x=\\"57785\\" y=\\"-47720\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-11\\" x=\\"57785\\" y=\\"-43720\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-16\\" x=\\"81915\\" y=\\"-61550\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-16\\" x=\\"81915\\" y=\\"-65450\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-16\\" x=\\"80645\\" y=\\"-61550\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-16\\" x=\\"80645\\" y=\\"-65450\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-16\\" x=\\"79375\\" y=\\"-61550\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-16\\" x=\\"79375\\" y=\\"-65450\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-16\\" x=\\"78105\\" y=\\"-61550\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-16\\" x=\\"78105\\" y=\\"-65450\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-16\\" x=\\"76835\\" y=\\"-61550\\"/><use xlink:href=\\"#rjjz4qFsGmhm_pad-16\\" x=\\"76835\\" y=\\"-65450\\"/></g></svg>"],["F_Silkscreen","<svg version=\\"1.1\\" xmlns=\\"http://www.w3.org/2000/svg\\" xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"0\\" fill-rule=\\"evenodd\\" width=\\"31.927400000000002mm\\" height=\\"41.975mm\\" viewBox=\\"53940 -73040 31927.4 41975\\"><g transform=\\"translate(0,-104105) scale(1,-1)\\" fill=\\"currentColor\\" stroke=\\"currentColor\\"><path d=\\"M 83026.2 -34999.533 83059.533 -34932.866 83126.2 -34866.2 83226.2 -34766.2 83259.533 -34699.533 83259.533 -34632.866 M 83192.866 -34932.866 83126.2 -34866.2 83092.866 -34799.533 83092.866 -34666.2 83126.2 -34599.533 83192.866 -34532.866 83326.2 -34499.533 83559.533 -34499.533 83692.866 -34532.866 83759.533 -34599.533 83792.866 -34666.2 83792.866 -34799.533 83759.533 -34866.2 83692.866 -34932.866 83559.533 -34966.2 83326.2 -34966.2 83192.866 -34932.866 M 83559.533 -35566.199 83092.866 -35566.199 M 83559.533 -35266.199 83192.866 -35266.199 83126.2 -35299.533 83092.866 -35366.199 83092.866 -35466.199 83126.2 -35532.866 83159.533 -35566.199 M 83126.2 -36166.199 83092.866 -36099.532 83092.866 -35966.199 83126.2 -35899.532 83192.866 -35866.199 83459.533 -35866.199 83526.2 -35899.532 83559.533 -35966.199 83559.533 -36099.532 83526.2 -36166.199 83459.533 -36199.532 83392.866 -36199.532 83326.2 -35866.199 M 83559.533 -36499.532 83092.866 -36499.532 M 83492.866 -36499.532 83526.2 -36532.866 83559.533 -36599.532 83559.533 -36699.532 83526.2 -36766.199 83459.533 -36799.532 83092.866 -36799.532 M 83559.533 -37032.865 83559.533 -37299.532 M 83792.866 -37132.865 83192.866 -37132.865 83126.2 -37166.199 83092.866 -37232.865 83092.866 -37299.532 M 83092.866 -37532.865 83559.533 -37532.865 M 83792.866 -37532.865 83759.533 -37499.532 83726.2 -37532.865 83759.533 -37566.199 83792.866 -37532.865 83726.2 -37532.865 M 83559.533 -37866.198 83092.866 -37866.198 M 83492.866 -37866.198 83526.2 -37899.532 83559.533 -37966.198 83559.533 -38066.198 83526.2 -38132.865 83459.533 -38166.198 83092.866 -38166.198 M 83459.533 -39266.198 83426.2 -39366.198 83392.866 -39399.531 83326.2 -39432.864 83226.2 -39432.864 83159.533 -39399.531 83126.2 -39366.198 83092.866 -39299.531 83092.866 -39032.864 83792.866 -39032.864 83792.866 -39266.198 83759.533 -39332.864 83726.2 -39366.198 83659.533 -39399.531 83592.866 -39399.531 83526.2 -39366.198 83492.866 -39332.864 83459.533 -39266.198 83459.533 -39032.864 M 83092.866 -39832.864 83126.2 -39766.198 83159.533 -39732.864 83226.2 -39699.531 83426.2 -39699.531 83492.866 -39732.864 83526.2 -39766.198 83559.533 -39832.864 83559.533 -39932.864 83526.2 -39999.531 83492.866 -40032.864 83426.2 -40066.198 83226.2 -40066.198 83159.533 -40032.864 83126.2 -39999.531 83092.866 -39932.864 83092.866 -39832.864 M 83092.866 -40466.197 83126.2 -40399.531 83192.866 -40366.197 83792.866 -40366.197 M 83126.2 -40699.531 83092.866 -40766.198 83092.866 -40899.531 83126.2 -40966.198 83192.866 -40999.531 83226.2 -40999.531 83292.866 -40966.198 83326.2 -40899.531 83326.2 -40799.531 83359.533 -40732.864 83426.2 -40699.531 83459.533 -40699.531 83526.2 -40732.864 83559.533 -40799.531 83559.533 -40899.531 83526.2 -40966.198 M 83126.2 -41566.198 83092.866 -41499.531 83092.866 -41366.198 83126.2 -41299.531 83192.866 -41266.198 83459.533 -41266.198 83526.2 -41299.531 83559.533 -41366.198 83559.533 -41499.531 83526.2 -41566.198 83459.533 -41599.531 83392.866 -41599.531 83326.2 -41266.198 M 83826.2 -41499.531 83726.2 -41399.531 M 83126.2 -42166.198 83092.866 -42099.531 83092.866 -41966.198 83126.2 -41899.531 83192.866 -41866.198 83459.533 -41866.198 83526.2 -41899.531 83559.533 -41966.198 83559.533 -42099.531 83526.2 -42166.198 83459.533 -42199.531 83392.866 -42199.531 83326.2 -41866.198 M 83726.2 -42999.531 83759.533 -43032.864 83792.866 -43099.531 83792.866 -43266.198 83759.533 -43332.864 83726.2 -43366.198 83659.533 -43399.531 83592.866 -43399.531 83492.866 -43366.198 83092.866 -42966.198 83092.866 -43399.531 M 83792.866 -43832.865 83792.866 -43899.531 83759.533 -43966.198 83726.2 -43999.531 83659.533 -44032.865 83526.2 -44066.198 83359.533 -44066.198 83226.2 -44032.865 83159.533 -43999.531 83126.2 -43966.198 83092.866 -43899.531 83092.866 -43832.865 83126.2 -43766.198 83159.533 -43732.865 83226.2 -43699.531 83359.533 -43666.198 83526.2 -43666.198 83659.533 -43699.531 83726.2 -43732.865 83759.533 -43766.198 83792.866 -43832.865 M 83726.2 -44332.865 83759.533 -44366.198 83792.866 -44432.865 83792.866 -44599.532 83759.533 -44666.198 83726.2 -44699.532 83659.533 -44732.865 83592.866 -44732.865 83492.866 -44699.532 83092.866 -44299.532 83092.866 -44732.865 M 83792.866 -44966.199 83792.866 -45399.532 83526.2 -45166.199 83526.2 -45266.199 83492.866 -45332.865 83459.533 -45366.199 83392.866 -45399.532 83226.2 -45399.532 83159.533 -45366.199 83126.2 -45332.865 83092.866 -45266.199 83092.866 -45066.199 83126.2 -44999.532 83159.533 -44966.199 M 78740 -69469 78740 -69215 M 80010 -69469 80010 -69215 M 78740 -69469 80010 -69469\\" fill=\\"none\\" stroke-width=\\"120\\"/><path d=\\"M 81607.428 -58547.142 81893.142 -58347.142 M 81607.428 -58204.285 82207.428 -58204.285 82207.428 -58432.856 82178.857 -58489.999 82150.285 -58518.57 82093.142 -58547.142 82007.428 -58547.142 81950.285 -58518.57 81921.714 -58489.999 81893.142 -58432.856 81893.142 -58204.285 M 81636 -58775.713 81607.428 -58861.428 81607.428 -59004.285 81636 -59061.428 81664.571 -59089.999 81721.714 -59118.57 81778.857 -59118.57 81836 -59089.999 81864.571 -59061.428 81893.142 -59004.285 81921.714 -58889.999 81950.285 -58832.856 81978.857 -58804.285 82036 -58775.713 82093.142 -58775.713 82150.285 -58804.285 82178.857 -58832.856 82207.428 -58889.999 82207.428 -59032.856 82178.857 -59118.57 M 82207.428 -59289.999 82207.428 -59632.857 M 81607.428 -59461.428 82207.428 -59461.428 M 80337.428 -58604.286 80937.428 -58604.286 80337.428 -58947.143 80937.428 -58947.143 M 80394.571 -59575.714 80366 -59547.142 80337.428 -59461.428 80337.428 -59404.285 80366 -59318.571 80423.142 -59261.428 80480.285 -59232.857 80594.571 -59204.285 80680.285 -59204.285 80794.571 -59232.857 80851.714 -59261.428 80908.857 -59318.571 80937.428 -59404.285 80937.428 -59461.428 80908.857 -59547.142 80880.285 -59575.714\\" fill=\\"none\\" stroke-width=\\"100\\"/><path d=\\"M 70707.742 -65522.999 69979.171 -65522.999 69893.457 -65565.856 69850.6 -65608.714 69807.742 -65694.428 69807.742 -65865.856 69850.6 -65951.571 69893.457 -65994.428 69979.171 -66037.285 70707.742 -66037.285 M 70064.885 -66422.999 70064.885 -66851.571 M 69807.742 -66337.285 70707.742 -66637.285 69807.742 -66937.285 M 69807.742 -67751.571 70236.314 -67451.571 M 69807.742 -67237.285 70707.742 -67237.285 70707.742 -67580.142 70664.885 -67665.857 70622.028 -67708.714 70536.314 -67751.571 70407.742 -67751.571 70322.028 -67708.714 70279.171 -67665.857 70236.314 -67580.142 70236.314 -67237.285 M 70707.742 -68008.714 70707.742 -68523 M 69807.742 -68265.857 70707.742 -68265.857 M 70150.6 -68822.999 70150.6 -69508.714 69979.171 -69337.285 M 70150.6 -69508.714 70322.028 -69337.285\\" fill=\\"none\\" stroke-width=\\"120\\"/><path d=\\"M 78368.857 -67767.142 78397.428 -67710 78397.428 -67624.285 78368.857 -67538.571 78311.714 -67481.428 78254.571 -67452.857 78140.285 -67424.285 78054.571 -67424.285 77940.285 -67452.857 77883.142 -67481.428 77826 -67538.571 77797.428 -67624.285 77797.428 -67681.428 77826 -67767.142 77854.571 -67795.714 78054.571 -67795.714 78054.571 -67681.428 M 77797.428 -68052.857 78397.428 -68052.857 77797.428 -68395.714 78397.428 -68395.714 M 77797.428 -68681.428 78397.428 -68681.428 78397.428 -68824.285 78368.857 -68909.999 78311.714 -68967.142 78254.571 -68995.713 78140.285 -69024.285 78054.571 -69024.285 77940.285 -68995.713 77883.142 -68967.142 77826 -68909.999 77797.428 -68824.285 77797.428 -68681.428 M 77127.428 -67367.142 76527.428 -67567.142 77127.428 -67767.142 M 76584.571 -68310 76556 -68281.428 76527.428 -68195.714 76527.428 -68138.571 76556 -68052.857 76613.142 -67995.714 76670.285 -67967.143 76784.571 -67938.571 76870.285 -67938.571 76984.571 -67967.143 77041.714 -67995.714 77098.857 -68052.857 77127.428 -68138.571 77127.428 -68195.714 77098.857 -68281.428 77070.285 -68310 M 76584.571 -68910 76556 -68881.428 76527.428 -68795.714 76527.428 -68738.571 76556 -68652.857 76613.142 -68595.714 76670.285 -68567.143 76784.571 -68538.571 76870.285 -68538.571 76984.571 -68567.143 77041.714 -68595.714 77098.857 -68652.857 77127.428 -68738.571 77127.428 -68795.714 77098.857 -68881.428 77070.285 -68910\\" fill=\\"none\\" stroke-width=\\"100\\"/><path d=\\"M 85107.4 -34550.333 85074.066 -34650.333 85074.066 -34817 85107.4 -34883.666 85140.733 -34917 85207.4 -34950.333 85274.066 -34950.333 85340.733 -34917 85374.066 -34883.666 85407.4 -34817 85440.733 -34683.666 85474.066 -34617 85507.4 -34583.666 85574.066 -34550.333 85640.733 -34550.333 85707.4 -34583.666 85740.733 -34617 85774.066 -34683.666 85774.066 -34850.333 85740.733 -34950.333 M 85774.066 -35183.667 85074.066 -35350.333 85574.066 -35483.667 85074.066 -35617 85774.066 -35783.667 M 85074.066 -36050.333 85774.066 -36050.333 85774.066 -36217 85740.733 -36317 85674.066 -36383.667 85607.4 -36417 85474.066 -36450.333 85374.066 -36450.333 85240.733 -36417 85174.066 -36383.667 85107.4 -36317 85074.066 -36217 85074.066 -36050.333 M 85807.4 -37250.333 84907.4 -36650.333 M 85774.066 -37483.666 85207.4 -37483.666 85140.733 -37517 85107.4 -37550.333 85074.066 -37617 85074.066 -37750.333 85107.4 -37817 85140.733 -37850.333 85207.4 -37883.666 85774.066 -37883.666 M 85274.066 -38183.666 85274.066 -38516.999 M 85074.066 -38116.999 85774.066 -38350.333 85074.066 -38583.666 M 85074.066 -39216.999 85407.4 -38983.666 M 85074.066 -38816.999 85774.066 -38816.999 85774.066 -39083.666 85740.733 -39150.333 85707.4 -39183.666 85640.733 -39216.999 85540.733 -39216.999 85474.066 -39183.666 85440.733 -39150.333 85407.4 -39083.666 85407.4 -38816.999 M 85774.066 -39416.999 85774.066 -39816.999 M 85074.066 -39616.999 85774.066 -39616.999 M 85074.066 -40883.665 85440.733 -40883.665 85507.4 -40850.332 85540.733 -40783.665 85540.733 -40650.332 85507.4 -40583.665 M 85107.4 -40883.665 85074.066 -40816.999 85074.066 -40650.332 85107.4 -40583.665 85174.066 -40550.332 85240.733 -40550.332 85307.4 -40583.665 85340.733 -40650.332 85340.733 -40816.999 85374.066 -40883.665 M 85074.066 -41516.998 85774.066 -41516.998 M 85107.4 -41516.998 85074.066 -41450.332 85074.066 -41316.998 85107.4 -41250.332 85140.733 -41216.998 85207.4 -41183.665 85407.4 -41183.665 85474.066 -41216.998 85507.4 -41250.332 85540.733 -41316.998 85540.733 -41450.332 85507.4 -41516.998 M 85074.066 -42150.331 85440.733 -42150.331 85507.4 -42116.998 85540.733 -42050.331 85540.733 -41916.998 85507.4 -41850.331 M 85107.4 -42150.331 85074.066 -42083.665 85074.066 -41916.998 85107.4 -41850.331 85174.066 -41816.998 85240.733 -41816.998 85307.4 -41850.331 85340.733 -41916.998 85340.733 -42083.665 85374.066 -42150.331 M 85540.733 -42483.664 84840.733 -42483.664 M 85507.4 -42483.664 85540.733 -42550.331 85540.733 -42683.664 85507.4 -42750.331 85474.066 -42783.664 85407.4 -42816.998 85207.4 -42816.998 85140.733 -42783.664 85107.4 -42750.331 85074.066 -42683.664 85074.066 -42550.331 85107.4 -42483.664 M 85540.733 -43016.997 85540.733 -43283.664 M 85774.066 -43116.997 85174.066 -43116.997 85107.4 -43150.331 85074.066 -43216.997 85074.066 -43283.664 M 85107.4 -43783.664 85074.066 -43716.997 85074.066 -43583.664 85107.4 -43516.997 85174.066 -43483.664 85440.733 -43483.664 85507.4 -43516.997 85540.733 -43583.664 85540.733 -43716.997 85507.4 -43783.664 85440.733 -43816.997 85374.066 -43816.997 85307.4 -43483.664 M 85074.066 -44116.997 85540.733 -44116.997 M 85407.4 -44116.997 85474.066 -44150.331 85507.4 -44183.664 85540.733 -44250.331 85540.733 -44316.997\\" fill=\\"none\\" stroke-width=\\"120\\"/><path d=\\"M 77854.571 -58490 77826 -58461.428 77797.428 -58375.714 77797.428 -58318.571 77826 -58232.857 77883.142 -58175.714 77940.285 -58147.143 78054.571 -58118.571 78140.285 -58118.571 78254.571 -58147.143 78311.714 -58175.714 78368.857 -58232.857 78397.428 -58318.571 78397.428 -58375.714 78368.857 -58461.428 78340.285 -58490 M 77797.428 -59032.857 77797.428 -58747.143 78397.428 -58747.143 M 77797.428 -59232.857 78397.428 -59232.857 M 77797.428 -59575.714 78140.285 -59318.571 M 78397.428 -59575.714 78054.571 -59232.857 M 79638.857 -67767.142 79667.428 -67710 79667.428 -67624.285 79638.857 -67538.571 79581.714 -67481.428 79524.571 -67452.857 79410.285 -67424.285 79324.571 -67424.285 79210.285 -67452.857 79153.142 -67481.428 79096 -67538.571 79067.428 -67624.285 79067.428 -67681.428 79096 -67767.142 79124.571 -67795.714 79324.571 -67795.714 79324.571 -67681.428 M 79067.428 -68052.857 79667.428 -68052.857 79067.428 -68395.714 79667.428 -68395.714 M 79067.428 -68681.428 79667.428 -68681.428 79667.428 -68824.285 79638.857 -68909.999 79581.714 -68967.142 79524.571 -68995.713 79410.285 -69024.285 79324.571 -69024.285 79210.285 -68995.713 79153.142 -68967.142 79096 -68909.999 79067.428 -68824.285 79067.428 -68681.428 M 63157.428 -58718.57 63157.428 -59061.428 M 62557.428 -58889.999 63157.428 -58889.999 M 63157.428 -59204.285 62557.428 -59604.285 M 63157.428 -59604.285 62557.428 -59204.285\\" fill=\\"none\\" stroke-width=\\"100\\"/><path d=\\"M 66394 -43156.333 66860.666 -43856.333 M 66860.666 -43156.333 66394 -43856.333 M 67127.333 -43856.333 67127.333 -43156.333 M 67427.333 -43656.333 67760.666 -43656.333 M 67360.666 -43856.333 67594 -43156.333 67827.333 -43856.333 M 68194 -43156.333 68327.333 -43156.333 68394 -43189.666 68460.666 -43256.333 68494 -43389.666 68494 -43623 68460.666 -43756.333 68394 -43823 68327.333 -43856.333 68194 -43856.333 68127.333 -43823 68060.666 -43756.333 68027.333 -43623 68027.333 -43389.666 68060.666 -43256.333 68127.333 -43189.666 68194 -43156.333 M 69727.332 -43856.333 69493.999 -43523 M 69327.332 -43856.333 69327.332 -43156.333 69593.999 -43156.333 69660.666 -43189.666 69693.999 -43223 69727.332 -43289.666 69727.332 -43389.666 69693.999 -43456.333 69660.666 -43489.666 69593.999 -43523 69327.332 -43523 M 70027.332 -43856.333 70027.332 -43156.333 70293.999 -43156.333 70360.666 -43189.666 70393.999 -43223 70427.332 -43289.666 70427.332 -43389.666 70393.999 -43456.333 70360.666 -43489.666 70293.999 -43523 70027.332 -43523 M 70693.999 -43223 70727.332 -43189.666 70793.999 -43156.333 70960.666 -43156.333 71027.332 -43189.666 71060.666 -43223 71093.999 -43289.666 71093.999 -43356.333 71060.666 -43456.333 70660.666 -43856.333 71093.999 -43856.333 M 71527.333 -43156.333 71593.999 -43156.333 71660.666 -43189.666 71693.999 -43223 71727.333 -43289.666 71760.666 -43423 71760.666 -43589.666 71727.333 -43723 71693.999 -43789.666 71660.666 -43823 71593.999 -43856.333 71527.333 -43856.333 71460.666 -43823 71427.333 -43789.666 71393.999 -43723 71360.666 -43589.666 71360.666 -43423 71393.999 -43289.666 71427.333 -43223 71460.666 -43189.666 71527.333 -43156.333 M 72360.666 -43389.666 72360.666 -43856.333 M 72194 -43123 72027.333 -43623 72460.666 -43623 M 72860.667 -43156.333 72927.333 -43156.333 72994 -43189.666 73027.333 -43223 73060.667 -43289.666 73094 -43423 73094 -43589.666 73060.667 -43723 73027.333 -43789.666 72994 -43823 72927.333 -43856.333 72860.667 -43856.333 72794 -43823 72760.667 -43789.666 72727.333 -43723 72694 -43589.666 72694 -43423 72727.333 -43289.666 72760.667 -43223 72794 -43189.666 72860.667 -43156.333\\" fill=\\"none\\" stroke-width=\\"120\\"/><path d=\\"M 55508.857 -58318.571 55537.428 -58261.429 55537.428 -58175.714 55508.857 -58090 55451.714 -58032.857 55394.571 -58004.286 55280.285 -57975.714 55194.571 -57975.714 55080.285 -58004.286 55023.142 -58032.857 54966 -58090 54937.428 -58175.714 54937.428 -58232.857 54966 -58318.571 54994.571 -58347.143 55194.571 -58347.143 55194.571 -58232.857 M 54937.428 -58604.286 55537.428 -58604.286 54937.428 -58947.143 55537.428 -58947.143 M 54937.428 -59232.857 55537.428 -59232.857 55537.428 -59375.714 55508.857 -59461.428 55451.714 -59518.571 55394.571 -59547.142 55280.285 -59575.714 55194.571 -59575.714 55080.285 -59547.142 55023.142 -59518.571 54966 -59461.428 54937.428 -59375.714 54937.428 -59232.857\\" fill=\\"none\\" stroke-width=\\"100\\"/><path d=\\"M 72924 -61721.428 72881.142 -61850 72881.142 -62064.285 72924 -62150 72966.857 -62192.857 73052.571 -62235.714 73138.285 -62235.714 73224 -62192.857 73266.857 -62150 73309.714 -62064.285 73352.571 -61892.857 73395.428 -61807.142 73438.285 -61764.285 73524 -61721.428 73609.714 -61721.428 73695.428 -61764.285 73738.285 -61807.142 73781.142 -61892.857 73781.142 -62107.142 73738.285 -62235.714 M 73781.142 -62535.714 72881.142 -62750 73524 -62921.428 72881.142 -63092.857 73781.142 -63307.143 M 72881.142 -63649.999 73781.142 -63649.999 73781.142 -63864.285 73738.285 -63992.856 73652.571 -64078.571 73566.857 -64121.428 73395.428 -64164.285 73266.857 -64164.285 73095.428 -64121.428 73009.714 -64078.571 72924 -63992.856 72881.142 -63864.285 72881.142 -63649.999 M 73224 -64549.999 73224 -65235.714 73052.571 -65064.285 M 73224 -65235.714 73395.428 -65064.285\\" fill=\\"none\\" stroke-width=\\"120\\"/><path d=\\"M 65097.428 -59004.285 65383.142 -58804.285 M 65097.428 -58661.428 65697.428 -58661.428 65697.428 -58889.999 65668.857 -58947.142 65640.285 -58975.713 65583.142 -59004.285 65497.428 -59004.285 65440.285 -58975.713 65411.714 -58947.142 65383.142 -58889.999 65383.142 -58661.428 M 65697.428 -59204.285 65097.428 -59604.285 M 65697.428 -59604.285 65097.428 -59204.285 M 79096 -57918.571 79067.428 -58004.286 79067.428 -58147.143 79096 -58204.286 79124.571 -58232.857 79181.714 -58261.428 79238.857 -58261.428 79296 -58232.857 79324.571 -58204.286 79353.142 -58147.143 79381.714 -58032.857 79410.285 -57975.714 79438.857 -57947.143 79496 -57918.571 79553.142 -57918.571 79610.285 -57947.143 79638.857 -57975.714 79667.428 -58032.857 79667.428 -58175.714 79638.857 -58261.428 M 79667.428 -58461.429 79067.428 -58604.286 79496 -58718.572 79067.428 -58832.857 79667.428 -58975.715 M 79667.428 -59318.571 79667.428 -59432.857 79638.857 -59490 79581.714 -59547.143 79467.428 -59575.714 79267.428 -59575.714 79153.142 -59547.143 79096 -59490 79067.428 -59432.857 79067.428 -59318.571 79096 -59261.429 79153.142 -59204.286 79267.428 -59175.714 79467.428 -59175.714 79581.714 -59204.286 79638.857 -59261.429 79667.428 -59318.571 M 82178.857 -67767.142 82207.428 -67710 82207.428 -67624.285 82178.857 -67538.571 82121.714 -67481.428 82064.571 -67452.857 81950.285 -67424.285 81864.571 -67424.285 81750.285 -67452.857 81693.142 -67481.428 81636 -67538.571 81607.428 -67624.285 81607.428 -67681.428 81636 -67767.142 81664.571 -67795.714 81864.571 -67795.714 81864.571 -67681.428 M 81607.428 -68052.857 82207.428 -68052.857 81607.428 -68395.714 82207.428 -68395.714 M 81607.428 -68681.428 82207.428 -68681.428 82207.428 -68824.285 82178.857 -68909.999 82121.714 -68967.142 82064.571 -68995.713 81950.285 -69024.285 81864.571 -69024.285 81750.285 -68995.713 81693.142 -68967.142 81636 -68909.999 81607.428 -68824.285 81607.428 -68681.428 M 76527.428 -58318.572 77127.428 -58318.572 77127.428 -58461.429 77098.857 -58547.143 77041.714 -58604.286 76984.571 -58632.857 76870.285 -58661.429 76784.571 -58661.429 76670.285 -58632.857 76613.142 -58604.286 76556 -58547.143 76527.428 -58461.429 76527.428 -58318.572 M 76527.428 -58918.572 77127.428 -58918.572 M 77127.428 -59318.571 77127.428 -59432.857 77098.857 -59490 77041.714 -59547.143 76927.428 -59575.714 76727.428 -59575.714 76613.142 -59547.143 76556 -59490 76527.428 -59432.857 76527.428 -59318.571 76556 -59261.429 76613.142 -59204.286 76727.428 -59175.714 76927.428 -59175.714 77041.714 -59204.286 77098.857 -59261.429 77127.428 -59318.571 M 67637.428 -58547.142 67923.142 -58347.142 M 67637.428 -58204.285 68237.428 -58204.285 68237.428 -58432.856 68208.857 -58489.999 68180.285 -58518.57 68123.142 -58547.142 68037.428 -58547.142 67980.285 -58518.57 67951.714 -58489.999 67923.142 -58432.856 67923.142 -58204.285 M 68237.428 -58718.57 68237.428 -59061.428 M 67637.428 -58889.999 68237.428 -58889.999 M 67666 -59232.856 67637.428 -59318.571 67637.428 -59461.428 67666 -59518.571 67694.571 -59547.142 67751.714 -59575.713 67808.857 -59575.713 67866 -59547.142 67894.571 -59518.571 67923.142 -59461.428 67951.714 -59347.142 67980.285 -59289.999 68008.857 -59261.428 68066 -59232.856 68123.142 -59232.856 68180.285 -59261.428 68208.857 -59289.999 68237.428 -59347.142 68237.428 -59489.999 68208.857 -59575.713 M 60617.428 -59032.856 60617.428 -58747.142 60331.714 -58718.57 60360.285 -58747.142 60388.857 -58804.285 60388.857 -58947.142 60360.285 -59004.285 60331.714 -59032.856 60274.571 -59061.427 60131.714 -59061.427 60074.571 -59032.856 60046 -59004.285 60017.428 -58947.142 60017.428 -58804.285 60046 -58747.142 60074.571 -58718.57 M 60617.428 -59232.856 60017.428 -59432.856 60617.428 -59632.856 M 57534.571 -58547.142 57506 -58518.57 57477.428 -58432.856 57477.428 -58375.713 57506 -58289.999 57563.142 -58232.856 57620.285 -58204.285 57734.571 -58175.713 57820.285 -58175.713 57934.571 -58204.285 57991.714 -58232.856 58048.857 -58289.999 58077.428 -58375.713 58077.428 -58432.856 58048.857 -58518.57 58020.285 -58547.142 M 58077.428 -58718.57 58077.428 -59061.428 M 57477.428 -58889.999 58077.428 -58889.999 M 57506 -59232.856 57477.428 -59318.571 57477.428 -59461.428 57506 -59518.571 57534.571 -59547.142 57591.714 -59575.713 57648.857 -59575.713 57706 -59547.142 57734.571 -59518.571 57763.142 -59461.428 57791.714 -59347.142 57820.285 -59289.999 57848.857 -59261.428 57906 -59232.856 57963.142 -59232.856 58020.285 -59261.428 58048.857 -59289.999 58077.428 -59347.142 58077.428 -59489.999 58048.857 -59575.713 M 80337.428 -67452.857 80937.428 -67452.857 M 80337.428 -67795.714 80680.285 -67538.571 M 80937.428 -67795.714 80594.571 -67452.857 M 80651.714 -68052.857 80651.714 -68252.857 M 80337.428 -68338.571 80337.428 -68052.857 80937.428 -68052.857 80937.428 -68338.571 M 80623.142 -68709.999 80337.428 -68709.999 M 80937.428 -68509.999 80623.142 -68709.999 80937.428 -68909.999 M 61326.666 -65663.833 61326.666 -66163.833 61293.333 -66263.833 61226.666 -66330.5 61126.666 -66363.833 61060 -66363.833 M 61626.666 -65730.5 61659.999 -65697.166 61726.666 -65663.833 61893.333 -65663.833 61959.999 -65697.166 61993.333 -65730.5 62026.666 -65797.166 62026.666 -65863.833 61993.333 -65963.833 61593.333 -66363.833 62026.666 -66363.833 M 84338.333 -48583.833 84105 -48250.5 M 83938.333 -48583.833 83938.333 -47883.833 84205 -47883.833 84271.667 -47917.166 84305 -47950.5 84338.333 -48017.166 84338.333 -48117.166 84305 -48183.833 84271.667 -48217.166 84205 -48250.5 83938.333 -48250.5 M 84571.667 -47883.833 85005 -47883.833 84771.667 -48150.5 84871.667 -48150.5 84938.333 -48183.833 84971.667 -48217.166 85005 -48283.833 85005 -48450.5 84971.667 -48517.166 84938.333 -48550.5 84871.667 -48583.833 84671.667 -48583.833 84605 -48550.5 84571.667 -48517.166 M 84371.666 -53663.833 83971.666 -53663.833 M 84171.666 -53663.833 84171.666 -52963.833 84104.999 -53063.833 84038.333 -53130.5 83971.666 -53163.833 M 84671.666 -53663.833 84671.666 -52963.833 M 84738.333 -53397.166 84938.333 -53663.833 M 84938.333 -53197.166 84671.666 -53463.833 M 82947.733 -55645.033 82947.733 -54945.033 83114.4 -54945.033 83214.4 -54978.366 83281.067 -55045.033 83314.4 -55111.7 83347.733 -55245.033 83347.733 -55345.033 83314.4 -55478.366 83281.067 -55545.033 83214.4 -55611.7 83114.4 -55645.033 82947.733 -55645.033 M 83614.4 -55011.7 83647.733 -54978.366 83714.4 -54945.033 83881.067 -54945.033 83947.733 -54978.366 83981.067 -55011.7 84014.4 -55078.366 84014.4 -55145.033 83981.067 -55245.033 83581.067 -55645.033 84014.4 -55645.033 M 56938.133 -55594.233 56938.133 -54894.233 57104.8 -54894.233 57204.8 -54927.566 57271.467 -54994.233 57304.8 -55060.9 57338.133 -55194.233 57338.133 -55294.233 57304.8 -55427.566 57271.467 -55494.233 57204.8 -55560.9 57104.8 -55594.233 56938.133 -55594.233 M 58004.8 -55594.233 57604.8 -55594.233 M 57804.8 -55594.233 57804.8 -54894.233 57738.133 -54994.233 57671.467 -55060.9 57604.8 -55094.233 M 73543.333 -55568.833 73310 -55235.5 M 73143.333 -55568.833 73143.333 -54868.833 73410 -54868.833 73476.667 -54902.166 73510 -54935.5 73543.333 -55002.166 73543.333 -55102.166 73510 -55168.833 73476.667 -55202.166 73410 -55235.5 73143.333 -55235.5 M 73810 -54935.5 73843.333 -54902.166 73910 -54868.833 74076.667 -54868.833 74143.333 -54902.166 74176.667 -54935.5 74210 -55002.166 74210 -55068.833 74176.667 -55168.833 73776.667 -55568.833 74210 -55568.833 M 73576.666 -56838.833 73176.666 -56838.833 M 73376.666 -56838.833 73376.666 -56138.833 73309.999 -56238.833 73243.333 -56305.5 73176.666 -56338.833 M 73876.666 -56838.833 73876.666 -56138.833 M 73943.333 -56572.166 74143.333 -56838.833 M 74143.333 -56372.166 73876.666 -56638.833 M 66721.5 -33484.476 66697.69 -33555.904 66697.69 -33674.952 66721.5 -33722.571 66745.309 -33746.38 66792.928 -33770.19 66840.547 -33770.19 66888.166 -33746.38 66911.976 -33722.571 66935.785 -33674.952 66959.595 -33579.714 66983.404 -33532.095 67007.214 -33508.285 67054.833 -33484.476 67102.452 -33484.476 67150.071 -33508.285 67173.88 -33532.095 67197.69 -33579.714 67197.69 -33698.761 67173.88 -33770.19 M 67197.69 -33936.856 66697.69 -34055.904 67054.833 -34151.142 66697.69 -34246.38 67197.69 -34365.428 M 66697.69 -34555.904 67197.69 -34555.904 67197.69 -34674.952 67173.88 -34746.38 67126.261 -34793.999 67078.642 -34817.809 66983.404 -34841.618 66911.976 -34841.618 66816.738 -34817.809 66769.119 -34793.999 66721.5 -34746.38 66697.69 -34674.952 66697.69 -34555.904 M 66697.69 -35055.904 67197.69 -35055.904 M 67197.69 -35389.237 67197.69 -35484.475 67173.88 -35532.094 67126.261 -35579.713 67031.023 -35603.523 66864.357 -35603.523 66769.119 -35579.713 66721.5 -35532.094 66697.69 -35484.475 66697.69 -35389.237 66721.5 -35341.618 66769.119 -35293.999 66864.357 -35270.19 67031.023 -35270.19 67126.261 -35293.999 67173.88 -35341.618 67197.69 -35389.237 M 72639.88 -51689.047 72663.69 -51641.428 72663.69 -51569.999 72639.88 -51498.571 72592.261 -51450.952 72544.642 -51427.142 72449.404 -51403.333 72377.976 -51403.333 72282.738 -51427.142 72235.119 -51450.952 72187.5 -51498.571 72163.69 -51569.999 72163.69 -51617.618 72187.5 -51689.047 72211.309 -51712.856 72377.976 -51712.856 72377.976 -51617.618 M 72163.69 -51927.142 72663.69 -51927.142 72163.69 -52212.856 72663.69 -52212.856 M 72163.69 -52450.952 72663.69 -52450.952 72663.69 -52570 72639.88 -52641.428 72592.261 -52689.047 72544.642 -52712.857 72449.404 -52736.666 72377.976 -52736.666 72282.738 -52712.857 72235.119 -52689.047 72187.5 -52641.428 72163.69 -52570 72163.69 -52450.952 M 67583.69 -51522.381 67083.69 -51689.047 67583.69 -51855.714 M 67083.69 -52022.38 67583.69 -52022.38 M 67083.69 -52260.475 67583.69 -52260.475 67083.69 -52546.189 67583.69 -52546.189 M 66697.69 -36484.809 66935.785 -36318.143 M 66697.69 -36199.095 67197.69 -36199.095 67197.69 -36389.571 67173.88 -36437.19 67150.071 -36461 67102.452 -36484.809 67031.023 -36484.809 66983.404 -36461 66959.595 -36437.19 66935.785 -36389.571 66935.785 -36199.095 M 66959.595 -36699.095 66959.595 -36865.762 M 66697.69 -36937.19 66697.69 -36699.095 67197.69 -36699.095 67197.69 -36937.19 M 66721.5 -37127.667 66697.69 -37199.095 66697.69 -37318.143 66721.5 -37365.762 66745.309 -37389.571 66792.928 -37413.381 66840.547 -37413.381 66888.166 -37389.571 66911.976 -37365.762 66935.785 -37318.143 66959.595 -37222.905 66983.404 -37175.286 67007.214 -37151.476 67054.833 -37127.667 67102.452 -37127.667 67150.071 -37151.476 67173.88 -37175.286 67197.69 -37222.905 67197.69 -37341.952 67173.88 -37413.381 M 66959.595 -37627.666 66959.595 -37794.333 M 66697.69 -37865.761 66697.69 -37627.666 67197.69 -37627.666 67197.69 -37865.761 M 67197.69 -38008.619 67197.69 -38294.333 M 66697.69 -38151.476 67197.69 -38151.476 M 72436.5 -33540.048 72412.69 -33611.476 72412.69 -33730.524 72436.5 -33778.143 72460.309 -33801.952 72507.928 -33825.762 72555.547 -33825.762 72603.166 -33801.952 72626.976 -33778.143 72650.785 -33730.524 72674.595 -33635.286 72698.404 -33587.667 72722.214 -33563.857 72769.833 -33540.048 72817.452 -33540.048 72865.071 -33563.857 72888.88 -33587.667 72912.69 -33635.286 72912.69 -33754.333 72888.88 -33825.762 M 72912.69 -33992.428 72412.69 -34111.476 72769.833 -34206.714 72412.69 -34301.952 72912.69 -34421 M 72460.309 -34897.19 72436.5 -34873.381 72412.69 -34801.952 72412.69 -34754.333 72436.5 -34682.905 72484.119 -34635.286 72531.738 -34611.476 72626.976 -34587.667 72698.404 -34587.667 72793.642 -34611.476 72841.261 -34635.286 72888.88 -34682.905 72912.69 -34754.333 72912.69 -34801.952 72888.88 -34873.381 72865.071 -34897.19 M 72412.69 -35349.571 72412.69 -35111.476 72912.69 -35111.476 M 72412.69 -35516.238 72912.69 -35516.238 M 72412.69 -35801.952 72698.404 -35587.667 M 72912.69 -35801.952 72626.976 -35516.238 M 72888.88 -36957.047 72912.69 -36909.428 72912.69 -36837.999 72888.88 -36766.571 72841.261 -36718.952 72793.642 -36695.142 72698.404 -36671.333 72626.976 -36671.333 72531.738 -36695.142 72484.119 -36718.952 72436.5 -36766.571 72412.69 -36837.999 72412.69 -36885.618 72436.5 -36957.047 72460.309 -36980.856 72626.976 -36980.856 72626.976 -36885.618 M 72412.69 -37195.142 72912.69 -37195.142 72412.69 -37480.856 72912.69 -37480.856 M 72412.69 -37718.952 72912.69 -37718.952 72912.69 -37838 72888.88 -37909.428 72841.261 -37957.047 72793.642 -37980.857 72698.404 -38004.666 72626.976 -38004.666 72531.738 -37980.857 72484.119 -37957.047 72436.5 -37909.428 72412.69 -37838 72412.69 -37718.952 M 55763.333 -43503.833 55530 -43170.5 M 55363.333 -43503.833 55363.333 -42803.833 55630 -42803.833 55696.667 -42837.166 55730 -42870.5 55763.333 -42937.166 55763.333 -43037.166 55730 -43103.833 55696.667 -43137.166 55630 -43170.5 55363.333 -43170.5 M 56430 -43503.833 56030 -43503.833 M 56230 -43503.833 56230 -42803.833 56163.333 -42903.833 56096.667 -42970.5 56030 -43003.833 M 55695.066 -48710.833 55295.066 -48710.833 M 55495.066 -48710.833 55495.066 -48010.833 55428.399 -48110.833 55361.733 -48177.5 55295.066 -48210.833 M 55995.066 -48710.833 55995.066 -48010.833 M 56061.733 -48444.166 56261.733 -48710.833 M 56261.733 -48244.166 55995.066 -48510.833 M 79141.666 -63123.833 79141.666 -63623.833 79108.333 -63723.833 79041.666 -63790.5 78941.666 -63823.833 78875 -63823.833 M 79841.666 -63823.833 79441.666 -63823.833 M 79641.666 -63823.833 79641.666 -63123.833 79574.999 -63223.833 79508.333 -63290.5 79441.666 -63323.833\\" fill=\\"none\\" stroke-width=\\"100\\"/><path d=\\"M 69240 -60280 69240 -61550 M 68224 -63328 67716 -63328 67716 -64090 M 65684 -63328 65176 -63328 65176 -64090 M 63144 -63328 62636 -63328 62636 -64090 M 60604 -63328 60096 -63328 60096 -64090 M 58064 -63328 57556 -63328 57556 -64090 M 55524 -63328 55016 -63328 55016 -64090 M 68224 -64090 68224 -63328 M 65684 -64090 65684 -63328 M 63144 -64090 63144 -63328 M 60604 -64090 60604 -63328 M 58064 -64090 58064 -63328 M 55524 -64090 55524 -63328 M 69240 -64090 54000 -64090 54000 -72980 69240 -72980 69240 -64090 M 83620 -49800 83620 -51800 M 81480 -51800 81480 -49800 M 82475 -56830 82475 -54930 77775 -54930 M 82475 -56830 77775 -56830 M 64695 -56830 64695 -54930 59995 -54930 M 64695 -56830 59995 -56830 M 70215 -56950 68215 -56950 M 68215 -54810 70215 -54810 M 60962.5 -52461 60962.5 -33919 A 1269.999 1269.999 0 0 0 62232.5 -32649 L 77472.5 -32649 A 1270 1270 0 0 0 78742.5 -33919 L 78742.5 -52461 A 1270 1270 0 0 0 77472.5 -53731 L 62232.5 -53731 A 1269.999 1269.999 0 0 0 60962.5 -52461 M 65352.5 -32649 74352.5 -32649 74352.5 -31125 65352.5 -31125 65352.5 -32649 M 56715 -46720 56715 -44720 M 58855 -44720 58855 -46720 M 82545 -60410 82545 -61735 84455 -61735 84455 -65265 82545 -65265 M 76205 -61735 74295 -61735 74295 -65265 76205 -65265\\" fill=\\"none\\" stroke-width=\\"120\\"/></g></svg>"]]');ct();
diff --git a/dist/index.html b/dist/index.html
index 009e71bc3239a96eb3040c395383dce67d08f6a2..276243c0d1ba26b9ec61f5b9547e643a94f48999 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -8,7 +8,7 @@
 	<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
 	<meta http-equiv="Pragma" content="no-cache" />
 	<meta http-equiv="Expires" content="-1" />
-  <script type="module" crossorigin src="https://quentinbolsee.pages.cba.mit.edu/gerber2img/assets/main-69ebc831.js"></script>
+  <script type="module" crossorigin src="https://quentinbolsee.pages.cba.mit.edu/gerber2img/assets/main-8501a109.js"></script>
   <link rel="stylesheet" href="https://quentinbolsee.pages.cba.mit.edu/gerber2img/assets/index-c5b4e48b.css">
 </head>
 <body style="background-color: rgb(255, 255, 255);">