diff --git a/assets/JoshFriedman_resume.pdf b/assets/JoshFriedman_resume.pdf index a2a7ea5..4258346 100644 Binary files a/assets/JoshFriedman_resume.pdf and b/assets/JoshFriedman_resume.pdf differ diff --git a/assets/main.680b843a.js b/assets/main.664f4311.js similarity index 99% rename from assets/main.680b843a.js rename to assets/main.664f4311.js index 2a6daa9..e56633e 100644 --- a/assets/main.680b843a.js +++ b/assets/main.664f4311.js @@ -1,4 +1,4 @@ -import{c as Gr,g as hu,r as Xt,j as nt,a as Gt,F as Pr,f as mu,b as yu,d as gu,e as vu,p as mo,h as bu,i as xu,k as _u,l as wu,m as ju,n as Su,o as Eu,q as Mu,s as Tu,t as Cu,u as ku,v as Ou,w as Pu,x as Lu,y as Ru,z as Au,A as ya,B as Iu,C as Du,D as Uu,E as Fu,G as Nu,H as Bu,R as Gu}from"./skills.d78f14d9.js";class Vu{constructor(y,E,e,S){this.p5=y,this.p=E,this.pos=this.p.createVector(E.random(E.width),E.random(E.height)),this.vel=this.p.createVector(),this.acc=this.p.createVector(),this.target=this.p.createVector(e,S),this.maxSpeed=10,this.maxForce=1}setTarget(y,E){this.target=this.p.createVector(y,E)}doBehaviours(){let y=this.seek(this.target),E=this.flee(this.p.createVector(this.p.mouseX,this.p.mouseY));y.mult(1),E.mult(5),this.applyForce(y),this.applyForce(E)}seek(y){let E=this.p5.Vector.sub(y,this.pos),e=this.maxSpeed;E.mag()<100&&(e=this.p.map(E.mag(),0,100,0,this.maxSpeed)),E.setMag(e);let S=this.p5.Vector.sub(E,this.vel);return S.limit(this.maxForce),S}flee(y){let E=this.p5.Vector.sub(y,this.pos);if(E.mag()<100){E.setMag(this.maxSpeed),E.mult(-1);let e=this.p5.Vector.sub(E,this.vel);return e.limit(this.maxForce),e}else return this.p.createVector(0,0)}applyForce(y){this.acc.add(y)}update(){this.pos.add(this.vel),this.vel.add(this.acc),this.acc.mult(0)}draw(){this.p.strokeWeight(4),this.p.stroke(255),this.p.point(this.pos.x,this.pos.y)}}function Fn(h){throw new Error('Could not dynamically require "'+h+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ai={exports:{}};/*! p5.js v1.5.0 October 18, 2022 */(function(h,y){(function(E){h.exports=E()})(function(){var E;return function e(S,v,l){function s(c,f){if(!v[c]){if(!S[c]){var r=typeof Fn=="function"&&Fn;if(!f&&r)return r(c,!0);if(n)return n(c,!0);throw(f=new Error("Cannot find module '"+c+"'")).code="MODULE_NOT_FOUND",f}r=v[c]={exports:{}},S[c][0].call(r.exports,function(o){return s(S[c][1][o]||o)},r,r.exports,e,S,v,l)}return v[c].exports}for(var n=typeof Fn=="function"&&Fn,a=0;a>16&255,m[b++]=t>>8&255,m[b++]=255&t;return p===2&&(t=s[o.charCodeAt(i)]<<2|s[o.charCodeAt(i+1)]>>4,m[b++]=255&t),p===1&&(t=s[o.charCodeAt(i)]<<10|s[o.charCodeAt(i+1)]<<4|s[o.charCodeAt(i+2)]>>2,m[b++]=t>>8&255,m[b++]=255&t),m},v.fromByteArray=function(o){for(var t,i=o.length,u=i%3,p=[],m=0,b=i-u;m>18&63]+l[R>>12&63]+l[R>>6&63]+l[63&R]}(M));return O.join("")}(o,m,b>2]+l[t<<4&63]+"==")):u==2&&(t=(o[i-2]<<8)+o[i-1],p.push(l[t>>10]+l[t>>4&63]+l[t<<2&63]+"=")),p.join("")};for(var l=[],s=[],n=typeof Uint8Array<"u"?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,f=a.length;c>>1;case"base64":return $(C).length;default:if(ee)return H?-1:q(C).length;P=(""+P).toLowerCase(),ee=!0}}function b(C,P,F){var H,ee=!1;if((P=P===void 0||P<0?0:P)>this.length||(F=F===void 0||F>this.length?this.length:F)<=0||(F>>>=0)<=(P>>>=0))return"";for(C=C||"utf8";;)switch(C){case"hex":var ae=this,pe=P,ie=F,me=ae.length;(!ie||ie<0||me=C.length){if(ee)return-1;F=C.length-1}else if(F<0){if(!ee)return-1;F=0}if(typeof P=="string"&&(P=r.from(P,H)),r.isBuffer(P))return P.length===0?-1:T(C,P,F,H,ee);if(typeof P=="number")return P&=255,typeof Uint8Array.prototype.indexOf=="function"?(ee?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(C,P,F):T(C,[P],F,H,ee);throw new TypeError("val must be string, number or Buffer")}function T(C,P,F,H,ee){var ae=1,ie=C.length,de=P.length;if(H!==void 0&&((H=String(H).toLowerCase())==="ucs2"||H==="ucs-2"||H==="utf16le"||H==="utf-16le")){if(C.length<2||P.length<2)return-1;ie/=ae=2,de/=2,F/=2}function oe(ge,ve){return ae===1?ge[ve]:ge.readUInt16BE(ve*ae)}if(ee)for(var le=-1,me=F;me>8,de=de%256,oe.push(de),oe.push(ie);return oe}(P,C.length-F),C,F,H)}function L(C,P,F){F=Math.min(C.length,F);for(var H=[],ee=P;ee>>10&1023|55296),me=56320|1023&me),H.push(me),ee+=K}var fe=H,ge=fe.length;if(ge<=R)return String.fromCharCode.apply(String,fe);for(var ve="",pe=0;pe"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."),Object.defineProperty(r.prototype,"parent",{enumerable:!0,get:function(){if(r.isBuffer(this))return this.buffer}}),Object.defineProperty(r.prototype,"offset",{enumerable:!0,get:function(){if(r.isBuffer(this))return this.byteOffset}}),typeof Symbol<"u"&&Symbol.species!=null&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),r.poolSize=8192,r.from=o,Object.setPrototypeOf(r.prototype,Uint8Array.prototype),Object.setPrototypeOf(r,Uint8Array),r.alloc=function(C,P,F){return P=P,F=F,t(C=C),!(C<=0)&&P!==void 0?typeof F=="string"?f(C).fill(P,F):f(C).fill(P):f(C)},r.allocUnsafe=i,r.allocUnsafeSlow=i,r.isBuffer=function(C){return C!=null&&C._isBuffer===!0&&C!==r.prototype},r.compare=function(C,P){if(X(C,Uint8Array)&&(C=r.from(C,C.offset,C.byteLength)),X(P,Uint8Array)&&(P=r.from(P,P.offset,P.byteLength)),!r.isBuffer(C)||!r.isBuffer(P))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(C===P)return 0;for(var F=C.length,H=P.length,ee=0,ae=Math.min(F,H);eeC&&(P+=" ... "),""},a&&(r.prototype[a]=r.prototype.inspect),r.prototype.compare=function(C,P,F,H,ee){if(X(C,Uint8Array)&&(C=r.from(C,C.offset,C.byteLength)),!r.isBuffer(C))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof C);if(F===void 0&&(F=C?C.length:0),H===void 0&&(H=0),ee===void 0&&(ee=this.length),(P=P===void 0?0:P)<0||F>C.length||H<0||ee>this.length)throw new RangeError("out of range index");if(ee<=H&&F<=P)return 0;if(ee<=H)return-1;if(F<=P)return 1;if(this===C)return 0;for(var ae=(ee>>>=0)-(H>>>=0),ie=(F>>>=0)-(P>>>=0),de=Math.min(ae,ie),oe=this.slice(H,ee),le=C.slice(P,F),me=0;me>>=0,isFinite(F)?(F>>>=0,H===void 0&&(H="utf8")):(H=F,F=void 0)}var ee=this.length-P;if((F===void 0||eethis.length)throw new RangeError("Attempt to write outside buffer bounds");H=H||"utf8";for(var ae,ie,de,oe=!1;;)switch(H){case"hex":var le=this,me=C,K=P,fe=F,ge=(K=Number(K)||0,le.length-K);(!fe||ge<(fe=Number(fe)))&&(fe=ge),(ge=me.length)/2C.length)throw new RangeError("Index out of range")}function U(C,P,F,H){if(F+H>C.length)throw new RangeError("Index out of range");if(F<0)throw new RangeError("Index out of range")}function B(C,P,F,H,ee){return P=+P,F>>>=0,ee||U(C,0,F,4),n.write(C,P,F,H,23,4),F+4}function W(C,P,F,H,ee){return P=+P,F>>>=0,ee||U(C,0,F,8),n.write(C,P,F,H,52,8),F+8}r.prototype.slice=function(C,P){var F=this.length,F=((C=~~C)<0?(C+=F)<0&&(C=0):F>>=0,P>>>=0,F||A(C,P,this.length);for(var H=this[C],ee=1,ae=0;++ae>>=0,P>>>=0,F||A(C,P,this.length);for(var H=this[C+--P],ee=1;0>>=0,P||A(C,1,this.length),this[C]},r.prototype.readUInt16LE=function(C,P){return C>>>=0,P||A(C,2,this.length),this[C]|this[C+1]<<8},r.prototype.readUInt16BE=function(C,P){return C>>>=0,P||A(C,2,this.length),this[C]<<8|this[C+1]},r.prototype.readUInt32LE=function(C,P){return C>>>=0,P||A(C,4,this.length),(this[C]|this[C+1]<<8|this[C+2]<<16)+16777216*this[C+3]},r.prototype.readUInt32BE=function(C,P){return C>>>=0,P||A(C,4,this.length),16777216*this[C]+(this[C+1]<<16|this[C+2]<<8|this[C+3])},r.prototype.readIntLE=function(C,P,F){C>>>=0,P>>>=0,F||A(C,P,this.length);for(var H=this[C],ee=1,ae=0;++ae>>=0,P>>>=0,F||A(C,P,this.length);for(var H=P,ee=1,ae=this[C+--H];0>>=0,P||A(C,1,this.length),128&this[C]?-1*(255-this[C]+1):this[C]},r.prototype.readInt16LE=function(C,P){return C>>>=0,P||A(C,2,this.length),P=this[C]|this[C+1]<<8,32768&P?4294901760|P:P},r.prototype.readInt16BE=function(C,P){return C>>>=0,P||A(C,2,this.length),P=this[C+1]|this[C]<<8,32768&P?4294901760|P:P},r.prototype.readInt32LE=function(C,P){return C>>>=0,P||A(C,4,this.length),this[C]|this[C+1]<<8|this[C+2]<<16|this[C+3]<<24},r.prototype.readInt32BE=function(C,P){return C>>>=0,P||A(C,4,this.length),this[C]<<24|this[C+1]<<16|this[C+2]<<8|this[C+3]},r.prototype.readFloatLE=function(C,P){return C>>>=0,P||A(C,4,this.length),n.read(this,C,!0,23,4)},r.prototype.readFloatBE=function(C,P){return C>>>=0,P||A(C,4,this.length),n.read(this,C,!1,23,4)},r.prototype.readDoubleLE=function(C,P){return C>>>=0,P||A(C,8,this.length),n.read(this,C,!0,52,8)},r.prototype.readDoubleBE=function(C,P){return C>>>=0,P||A(C,8,this.length),n.read(this,C,!1,52,8)},r.prototype.writeUIntLE=function(C,P,F,H){C=+C,P>>>=0,F>>>=0,H||N(this,C,P,F,Math.pow(2,8*F)-1,0);var ee=1,ae=0;for(this[P]=255&C;++ae>>=0,F>>>=0,H||N(this,C,P,F,Math.pow(2,8*F)-1,0);var ee=F-1,ae=1;for(this[P+ee]=255&C;0<=--ee&&(ae*=256);)this[P+ee]=C/ae&255;return P+F},r.prototype.writeUInt8=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,1,255,0),this[P]=255&C,P+1},r.prototype.writeUInt16LE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,2,65535,0),this[P]=255&C,this[P+1]=C>>>8,P+2},r.prototype.writeUInt16BE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,2,65535,0),this[P]=C>>>8,this[P+1]=255&C,P+2},r.prototype.writeUInt32LE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,4,4294967295,0),this[P+3]=C>>>24,this[P+2]=C>>>16,this[P+1]=C>>>8,this[P]=255&C,P+4},r.prototype.writeUInt32BE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,4,4294967295,0),this[P]=C>>>24,this[P+1]=C>>>16,this[P+2]=C>>>8,this[P+3]=255&C,P+4},r.prototype.writeIntLE=function(C,P,F,H){C=+C,P>>>=0,H||N(this,C,P,F,(H=Math.pow(2,8*F-1))-1,-H);var ee=0,ae=1,ie=0;for(this[P]=255&C;++ee>0)-ie&255;return P+F},r.prototype.writeIntBE=function(C,P,F,H){C=+C,P>>>=0,H||N(this,C,P,F,(H=Math.pow(2,8*F-1))-1,-H);var ee=F-1,ae=1,ie=0;for(this[P+ee]=255&C;0<=--ee&&(ae*=256);)C<0&&ie===0&&this[P+ee+1]!==0&&(ie=1),this[P+ee]=(C/ae>>0)-ie&255;return P+F},r.prototype.writeInt8=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,1,127,-128),this[P]=255&(C=C<0?255+C+1:C),P+1},r.prototype.writeInt16LE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,2,32767,-32768),this[P]=255&C,this[P+1]=C>>>8,P+2},r.prototype.writeInt16BE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,2,32767,-32768),this[P]=C>>>8,this[P+1]=255&C,P+2},r.prototype.writeInt32LE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,4,2147483647,-2147483648),this[P]=255&C,this[P+1]=C>>>8,this[P+2]=C>>>16,this[P+3]=C>>>24,P+4},r.prototype.writeInt32BE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,4,2147483647,-2147483648),this[P]=(C=C<0?4294967295+C+1:C)>>>24,this[P+1]=C>>>16,this[P+2]=C>>>8,this[P+3]=255&C,P+4},r.prototype.writeFloatLE=function(C,P,F){return B(this,C,P,!0,F)},r.prototype.writeFloatBE=function(C,P,F){return B(this,C,P,!1,F)},r.prototype.writeDoubleLE=function(C,P,F){return W(this,C,P,!0,F)},r.prototype.writeDoubleBE=function(C,P,F){return W(this,C,P,!1,F)},r.prototype.copy=function(C,P,F,H){if(!r.isBuffer(C))throw new TypeError("argument should be a Buffer");if(F=F||0,H||H===0||(H=this.length),P>=C.length&&(P=C.length),(H=0=this.length)throw new RangeError("Index out of range");if(H<0)throw new RangeError("sourceEnd out of bounds");H>this.length&&(H=this.length);var ee=(H=C.length-P>>=0,F=F===void 0?this.length:F>>>0,typeof(C=C||0)=="number")for(ae=P;ae>6|192,63&F|128)}else if(F<65536){if((P-=3)<0)break;ae.push(F>>12|224,F>>6&63|128,63&F|128)}else{if(!(F<1114112))throw new Error("Invalid code point");if((P-=4)<0)break;ae.push(F>>18|240,F>>12&63|128,F>>6&63|128,63&F|128)}}return ae}function $(C){return s.toByteArray(function(P){if((P=(P=P.split("=")[0]).trim().replace(Z,"")).length<2)return"";for(;P.length%4!=0;)P+="=";return P}(C))}function z(C,P,F,H){for(var ee=0;ee=P.length||ee>=C.length);++ee)P[ee+F]=C[ee];return ee}function X(C,P){return C instanceof P||C!=null&&C.constructor!=null&&C.constructor.name!=null&&C.constructor.name===P.name}function Q(C){return C!=C}var se=function(){for(var C="0123456789abcdef",P=new Array(256),F=0;F<16;++F)for(var H=16*F,ee=0;ee<16;++ee)P[H+ee]=C[F]+C[ee];return P}()}).call(this,e("buffer").Buffer)},{"base64-js":1,buffer:4,ieee754:238}],5:[function(e,S,v){S.exports=function(l){if(typeof l!="function")throw TypeError(String(l)+" is not a function");return l}},{}],6:[function(e,S,v){var l=e("../internals/is-object");S.exports=function(s){if(l(s)||s===null)return s;throw TypeError("Can't set "+String(s)+" as a prototype")}},{"../internals/is-object":74}],7:[function(n,S,v){var l=n("../internals/well-known-symbol"),s=n("../internals/object-create"),n=n("../internals/object-define-property"),a=l("unscopables"),c=Array.prototype;c[a]==null&&n.f(c,a,{configurable:!0,value:s(null)}),S.exports=function(f){c[a][f]=!0}},{"../internals/object-create":90,"../internals/object-define-property":92,"../internals/well-known-symbol":146}],8:[function(e,S,v){var l=e("../internals/string-multibyte").charAt;S.exports=function(s,n,a){return n+(a?l(s,n).length:1)}},{"../internals/string-multibyte":123}],9:[function(e,S,v){S.exports=function(l,s,n){if(l instanceof s)return l;throw TypeError("Incorrect "+(n?n+" ":"")+"invocation")}},{}],10:[function(e,S,v){var l=e("../internals/is-object");S.exports=function(s){if(l(s))return s;throw TypeError(String(s)+" is not an object")}},{"../internals/is-object":74}],11:[function(e,S,v){S.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},{}],12:[function(U,S,v){function l(W){return f(W)&&r(B,o(W))}var s,n=U("../internals/array-buffer-native"),a=U("../internals/descriptors"),c=U("../internals/global"),f=U("../internals/is-object"),r=U("../internals/has"),o=U("../internals/classof"),t=U("../internals/create-non-enumerable-property"),i=U("../internals/redefine"),u=U("../internals/object-define-property").f,p=U("../internals/object-get-prototype-of"),m=U("../internals/object-set-prototype-of"),R=U("../internals/well-known-symbol"),U=U("../internals/uid"),b=c.Int8Array,x=b&&b.prototype,w=c.Uint8ClampedArray,w=w&&w.prototype,T=b&&p(b),M=x&&p(x),O=Object.prototype,L=O.isPrototypeOf,R=R("toStringTag"),A=U("TYPED_ARRAY_TAG"),N=n&&!!m&&o(c.opera)!=="Opera",U=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8};for(s in B)c[s]||(N=!1);if((!N||typeof T!="function"||T===Function.prototype)&&(T=function(){throw TypeError("Incorrect invocation")},N))for(s in B)c[s]&&m(c[s],T);if((!N||!M||M===O)&&(M=T.prototype,N))for(s in B)c[s]&&m(c[s].prototype,M);if(N&&p(w)!==M&&m(w,M),a&&!r(M,R))for(s in U=!0,u(M,R,{get:function(){return f(this)?this[A]:void 0}}),B)c[s]&&t(c[s],A,s);S.exports={NATIVE_ARRAY_BUFFER_VIEWS:N,TYPED_ARRAY_TAG:U&&A,aTypedArray:function(W){if(l(W))return W;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(W){if(m){if(L.call(T,W))return W}else for(var Z in B)if(r(B,s)&&(Z=c[Z],Z&&(W===Z||L.call(Z,W))))return W;throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(W,Z,q){if(a){if(q)for(var $ in B)$=c[$],$&&r($.prototype,W)&&delete $.prototype[W];M[W]&&!q||i(M,W,!q&&N&&x[W]||Z)}},exportTypedArrayStaticMethod:function(W,Z,q){var $,z;if(a){if(m){if(q)for($ in B)(z=c[$])&&r(z,W)&&delete z[W];if(T[W]&&!q)return;try{return i(T,W,!q&&N&&b[W]||Z)}catch{}}for($ in B)!(z=c[$])||z[W]&&!q||i(z,W,Z)}},isView:function(W){return W=o(W),W==="DataView"||r(B,W)},isTypedArray:l,TypedArray:T,TypedArrayPrototype:M}},{"../internals/array-buffer-native":11,"../internals/classof":29,"../internals/create-non-enumerable-property":38,"../internals/descriptors":43,"../internals/global":59,"../internals/has":60,"../internals/is-object":74,"../internals/object-define-property":92,"../internals/object-get-prototype-of":97,"../internals/object-set-prototype-of":101,"../internals/redefine":108,"../internals/uid":143,"../internals/well-known-symbol":146}],13:[function(F,S,v){function l(K){return[255&K]}function s(K){return[255&K,K>>8&255]}function n(K){return[255&K,K>>8&255,K>>16&255,K>>24&255]}function a(K){return K[3]<<24|K[2]<<16|K[1]<<8|K[0]}function c(K){return ae(K,23,4)}function f(K){return ae(K,52,8)}function r(K,fe){U(K[X],fe,{get:function(){return Z(this)[fe]}})}function o(Te,fe,Oe,ve){if(Oe=O(Oe),Te=Z(Te),Oe+fe>Te.byteLength)throw ee(Q);var pe=Z(Te.buffer).bytes,Oe=Oe+Te.byteOffset,Te=pe.slice(Oe,Oe+fe);return ve?Te:Te.reverse()}function t(K,fe,ge,ve,pe,Oe){if(ge=O(ge),K=Z(K),ge+fe>K.byteLength)throw ee(Q);for(var Te=Z(K.buffer).bytes,Re=ge+K.byteOffset,Me=ve(+pe),Be=0;Bele;)(de=oe[le++])in C||m(C,de,se[de]);i.constructor=C}A&&R(F)!==H&&A(F,H);var L=new P(new C(2)),me=F.setInt8;L.setInt8(0,2147483648),L.setInt8(1,2147483649),!L.getInt8(0)&&L.getInt8(1)||b(F,{setInt8:function(fe,ge){me.call(this,fe,ge<<24>>24)},setUint8:function(fe,ge){me.call(this,fe,ge<<24>>24)}},{unsafe:!0})}else C=function(K){w(this,C,$),K=O(K),q(this,{bytes:B.call(new Array(K),0),byteLength:K}),u||(this.byteLength=K)},P=function(K,pe,ge){w(this,P,z),w(K,C,z);var ve=Z(K).byteLength,pe=T(pe);if(pe<0||ve>24},getUint8:function(K){return o(this,1,K)[0]},getInt16:function(K){return K=o(this,2,K,1>16},getUint16:function(K){return K=o(this,2,K,1>>0},getFloat32:function(K){return ie(o(this,4,K,1"+r+""}},{"../internals/require-object-coercible":113}],37:[function(e,S,v){function l(){return this}var s=e("../internals/iterators-core").IteratorPrototype,n=e("../internals/object-create"),a=e("../internals/create-property-descriptor"),c=e("../internals/set-to-string-tag"),f=e("../internals/iterators");S.exports=function(r,o,t){return o+=" Iterator",r.prototype=n(s,{next:a(1,t)}),c(r,o,!1,!0),f[o]=l,r}},{"../internals/create-property-descriptor":39,"../internals/iterators":79,"../internals/iterators-core":78,"../internals/object-create":90,"../internals/set-to-string-tag":117}],38:[function(e,S,v){var l=e("../internals/descriptors"),s=e("../internals/object-define-property"),n=e("../internals/create-property-descriptor");S.exports=l?function(a,c,f){return s.f(a,c,n(1,f))}:function(a,c,f){return a[c]=f,a}},{"../internals/create-property-descriptor":39,"../internals/descriptors":43,"../internals/object-define-property":92}],39:[function(e,S,v){S.exports=function(l,s){return{enumerable:!(1&l),configurable:!(2&l),writable:!(4&l),value:s}}},{}],40:[function(e,S,v){var l=e("../internals/to-primitive"),s=e("../internals/object-define-property"),n=e("../internals/create-property-descriptor");S.exports=function(a,c,f){c=l(c),c in a?s.f(a,c,n(0,f)):a[c]=f}},{"../internals/create-property-descriptor":39,"../internals/object-define-property":92,"../internals/to-primitive":138}],41:[function(p,S,v){function l(){return this}var s=p("../internals/export"),n=p("../internals/create-iterator-constructor"),a=p("../internals/object-get-prototype-of"),c=p("../internals/object-set-prototype-of"),f=p("../internals/set-to-string-tag"),r=p("../internals/create-non-enumerable-property"),o=p("../internals/redefine"),t=p("../internals/well-known-symbol"),i=p("../internals/is-pure"),u=p("../internals/iterators"),p=p("../internals/iterators-core"),m=p.IteratorPrototype,b=p.BUGGY_SAFARI_ITERATORS,x=t("iterator"),w="values",T="entries";S.exports=function(M,O,L,q,A,N,U){n(L,O,q);function B(C){if(C===A&&Q)return Q;if(!b&&C in z)return z[C];switch(C){case"keys":case w:case T:return function(){return new L(this,C)}}return function(){return new L(this)}}var W,Z,q=O+" Iterator",$=!1,z=M.prototype,X=z[x]||z["@@iterator"]||A&&z[A],Q=!b&&X||B(A),se=O=="Array"&&z.entries||X;if(se&&(se=a(se.call(new M)),m!==Object.prototype&&se.next&&(i||a(se)===m||(c?c(se,m):typeof se[x]!="function"&&r(se,x,l)),f(se,q,!0,!0),i&&(u[q]=l))),A==w&&X&&X.name!==w&&($=!0,Q=function(){return X.call(this)}),i&&!U||z[x]===Q||r(z,x,Q),u[O]=Q,A)if(W={values:B(w),keys:N?Q:B("keys"),entries:B(T)},U)for(Z in W)!b&&!$&&Z in z||o(z,Z,W[Z]);else s({target:O,proto:!0,forced:b||$},W);return W}},{"../internals/create-iterator-constructor":37,"../internals/create-non-enumerable-property":38,"../internals/export":50,"../internals/is-pure":75,"../internals/iterators":79,"../internals/iterators-core":78,"../internals/object-get-prototype-of":97,"../internals/object-set-prototype-of":101,"../internals/redefine":108,"../internals/set-to-string-tag":117,"../internals/well-known-symbol":146}],42:[function(e,S,v){var l=e("../internals/path"),s=e("../internals/has"),n=e("../internals/well-known-symbol-wrapped"),a=e("../internals/object-define-property").f;S.exports=function(c){var f=l.Symbol||(l.Symbol={});s(f,c)||a(f,c,{value:n.f(c)})}},{"../internals/has":60,"../internals/object-define-property":92,"../internals/path":104,"../internals/well-known-symbol-wrapped":145}],43:[function(e,S,v){e=e("../internals/fails"),S.exports=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":51}],44:[function(s,S,v){var l=s("../internals/global"),s=s("../internals/is-object"),n=l.document,a=s(n)&&s(n.createElement);S.exports=function(c){return a?n.createElement(c):{}}},{"../internals/global":59,"../internals/is-object":74}],45:[function(e,S,v){S.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],46:[function(e,S,v){e=e("../internals/engine-user-agent"),S.exports=/(iphone|ipod|ipad).*applewebkit/i.test(e)},{"../internals/engine-user-agent":47}],47:[function(e,S,v){e=e("../internals/get-built-in"),S.exports=e("navigator","userAgent")||""},{"../internals/get-built-in":56}],48:[function(n,S,v){var l,s,a=n("../internals/global"),n=n("../internals/engine-user-agent"),a=a.process,a=a&&a.versions,a=a&&a.v8;a?s=(l=a.split("."))[0]+l[1]:n&&(!(l=n.match(/Edge\/(\d+)/))||74<=l[1])&&(l=n.match(/Chrome\/(\d+)/))&&(s=l[1]),S.exports=s&&+s},{"../internals/engine-user-agent":47,"../internals/global":59}],49:[function(e,S,v){S.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],50:[function(e,S,v){var l=e("../internals/global"),s=e("../internals/object-get-own-property-descriptor").f,n=e("../internals/create-non-enumerable-property"),a=e("../internals/redefine"),c=e("../internals/set-global"),f=e("../internals/copy-constructor-properties"),r=e("../internals/is-forced");S.exports=function(o,t){var i,u,p,m=o.target,b=o.global,x=o.stat,w=b?l:x?l[m]||c(m,{}):(l[m]||{}).prototype;if(w)for(i in t){if(u=t[i],p=o.noTargetGet?(p=s(w,i))&&p.value:w[i],!r(b?i:m+(x?".":"#")+i,o.forced)&&p!==void 0){if(typeof u==typeof p)continue;f(u,p)}(o.sham||p&&p.sham)&&n(u,"sham",!0),a(w,i,u,o)}}},{"../internals/copy-constructor-properties":33,"../internals/create-non-enumerable-property":38,"../internals/global":59,"../internals/is-forced":73,"../internals/object-get-own-property-descriptor":93,"../internals/redefine":108,"../internals/set-global":115}],51:[function(e,S,v){S.exports=function(l){try{return!!l()}catch{return!0}}},{}],52:[function(t,S,v){t("../modules/es.regexp.exec");var l=t("../internals/redefine"),s=t("../internals/fails"),n=t("../internals/well-known-symbol"),a=t("../internals/regexp-exec"),c=t("../internals/create-non-enumerable-property"),f=n("species"),r=!s(function(){var p=/./;return p.exec=function(){var m=[];return m.groups={a:"7"},m},"".replace(p,"$")!=="7"}),o="a".replace(/./,"$0")==="$0",t=n("replace"),i=!!/./[t]&&/./[t]("a","$0")==="",u=!s(function(){var m=/(?:)/,p=m.exec,m=(m.exec=function(){return p.apply(this,arguments)},"ab".split(m));return m.length!==2||m[0]!=="a"||m[1]!=="b"});S.exports=function(p,m,b,x){var w,T,M=n(p),O=!s(function(){var R={};return R[M]=function(){return 7},""[p](R)!=7}),L=O&&!s(function(){var R=!1,A=/a/;return p==="split"&&((A={constructor:{}}).constructor[f]=function(){return A},A.flags="",A[M]=/./[M]),A.exec=function(){return R=!0,null},A[M](""),!R});O&&L&&(p!=="replace"||r&&o&&!i)&&(p!=="split"||u)||(w=/./[M],b=(L=b(M,""[p],function(R,A,N,U,B){return A.exec===a?O&&!B?{done:!0,value:w.call(A,N,U)}:{done:!0,value:R.call(N,A,U)}:{done:!1}},{REPLACE_KEEPS_$0:o,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:i}))[0],T=L[1],l(String.prototype,p,b),l(RegExp.prototype,M,m==2?function(R,A){return T.call(R,this,A)}:function(R){return T.call(R,this)})),x&&c(RegExp.prototype[M],"sham",!0)}},{"../internals/create-non-enumerable-property":38,"../internals/fails":51,"../internals/redefine":108,"../internals/regexp-exec":110,"../internals/well-known-symbol":146,"../modules/es.regexp.exec":181}],53:[function(e,S,v){e=e("../internals/fails"),S.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},{"../internals/fails":51}],54:[function(e,S,v){var l=e("../internals/a-function");S.exports=function(s,n,a){if(l(s),n===void 0)return s;switch(a){case 0:return function(){return s.call(n)};case 1:return function(c){return s.call(n,c)};case 2:return function(c,f){return s.call(n,c,f)};case 3:return function(c,f,r){return s.call(n,c,f,r)}}return function(){return s.apply(n,arguments)}}},{"../internals/a-function":5}],55:[function(e,S,v){var l=e("../internals/a-function"),s=e("../internals/is-object"),n=[].slice,a={};S.exports=Function.bind||function(c){var f=l(this),r=n.call(arguments,1),o=function(){var t=r.concat(n.call(arguments));if(this instanceof o){var i=f,u=t.length,p=t;if(!(u in a)){for(var m=[],b=0;b>1,w=r===23?s(2,-24)-s(2,-77):0,T=f<0||f===0&&1/f<0?1:0,M=0;for((f=l(f))!=f||f===1/0?(i=f!=f?1:0,t=b):(t=n(a(f)/c),f*(u=s(2,-t))<1&&(t--,u*=2),2<=(f+=1<=t+x?w/u:w*s(2,1-x))*u&&(t++,u/=2),b<=t+x?(i=0,t=b):1<=t+x?(i=(f*u-1)*s(2,r),t+=x):(i=f*s(2,x-1)*s(2,r),t=0));8<=r;p[M++]=255&i,i/=256,r-=8);for(t=t<>1,p=b-7,m=t-1,b=f[m--],x=127&b;for(b>>=7;0>=-p,p+=r;0"+x+""},b=function(){try{s=document.domain&&new ActiveXObject("htmlfile")}catch{}b=s?((x=s).write(m("")),x.close(),w=x.parentWindow.Object,x=null,w):(x=o("iframe"),w="java"+u+":",x.style.display="none",r.appendChild(x),x.src=String(w),(w=x.contentWindow.document).open(),w.write(m("document.F=Object")),w.close(),w.F);for(var x,w,T=c.length;T--;)delete b[i][c[T]];return b()};f[p]=!0,S.exports=Object.create||function(x,w){var T;return x!==null?(l[i]=n(x),T=new l,l[i]=null,T[p]=x):T=b(),w===void 0?T:a(T,w)}},{"../internals/an-object":10,"../internals/document-create-element":44,"../internals/enum-bug-keys":49,"../internals/hidden-keys":61,"../internals/html":63,"../internals/object-define-properties":91,"../internals/shared-key":118}],91:[function(e,S,v){var l=e("../internals/descriptors"),s=e("../internals/object-define-property"),n=e("../internals/an-object"),a=e("../internals/object-keys");S.exports=l?Object.defineProperties:function(c,f){n(c);for(var r,o=a(f),t=o.length,i=0;it;)!l(o,r=f[t++])||~n(i,r)||i.push(r);return i}},{"../internals/array-includes":18,"../internals/has":60,"../internals/hidden-keys":61,"../internals/to-indexed-object":132}],99:[function(e,S,v){var l=e("../internals/object-keys-internal"),s=e("../internals/enum-bug-keys");S.exports=Object.keys||function(n){return l(n,s)}},{"../internals/enum-bug-keys":49,"../internals/object-keys-internal":98}],100:[function(e,S,v){var l={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,n=s&&!l.call({1:2},1);v.f=n?function(a){return a=s(this,a),!!a&&a.enumerable}:l},{}],101:[function(e,S,v){var l=e("../internals/an-object"),s=e("../internals/a-possible-prototype");S.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var n,a=!1,c={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(c,[]),a=c instanceof Array}catch{}return function(f,r){return l(f),s(r),a?n.call(f,r):f.__proto__=r,f}}():void 0)},{"../internals/a-possible-prototype":6,"../internals/an-object":10}],102:[function(e,S,v){var l=e("../internals/to-string-tag-support"),s=e("../internals/classof");S.exports=l?{}.toString:function(){return"[object "+s(this)+"]"}},{"../internals/classof":29,"../internals/to-string-tag-support":139}],103:[function(e,S,v){var l=e("../internals/get-built-in"),s=e("../internals/object-get-own-property-names"),n=e("../internals/object-get-own-property-symbols"),a=e("../internals/an-object");S.exports=l("Reflect","ownKeys")||function(c){var f=s.f(a(c)),r=n.f;return r?f.concat(r(c)):f}},{"../internals/an-object":10,"../internals/get-built-in":56,"../internals/object-get-own-property-names":95,"../internals/object-get-own-property-symbols":96}],104:[function(e,S,v){e=e("../internals/global"),S.exports=e},{"../internals/global":59}],105:[function(e,S,v){S.exports=function(l){try{return{error:!1,value:l()}}catch(s){return{error:!0,value:s}}}},{}],106:[function(e,S,v){var l=e("../internals/an-object"),s=e("../internals/is-object"),n=e("../internals/new-promise-capability");S.exports=function(a,c){return l(a),s(c)&&c.constructor===a?c:((0,(a=n.f(a)).resolve)(c),a.promise)}},{"../internals/an-object":10,"../internals/is-object":74,"../internals/new-promise-capability":86}],107:[function(e,S,v){var l=e("../internals/redefine");S.exports=function(s,n,a){for(var c in n)l(s,c,n[c],a);return s}},{"../internals/redefine":108}],108:[function(f,S,v){var l=f("../internals/global"),s=f("../internals/create-non-enumerable-property"),n=f("../internals/has"),a=f("../internals/set-global"),c=f("../internals/inspect-source"),f=f("../internals/internal-state"),r=f.get,o=f.enforce,t=String(String).split("String");(S.exports=function(i,u,p,w){var b=!!w&&!!w.unsafe,x=!!w&&!!w.enumerable,w=!!w&&!!w.noTargetGet;typeof p=="function"&&(typeof u!="string"||n(p,"name")||s(p,"name",u),o(p).source=t.join(typeof u=="string"?u:"")),i===l?x?i[u]=p:a(u,p):(b?!w&&i[u]&&(x=!0):delete i[u],x?i[u]=p:s(i,u,p))})(Function.prototype,"toString",function(){return typeof this=="function"&&r(this).source||c(this)})},{"../internals/create-non-enumerable-property":38,"../internals/global":59,"../internals/has":60,"../internals/inspect-source":68,"../internals/internal-state":70,"../internals/set-global":115}],109:[function(e,S,v){var l=e("./classof-raw"),s=e("./regexp-exec");S.exports=function(n,a){var c=n.exec;if(typeof c=="function"){if(c=c.call(n,a),typeof c!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return c}if(l(n)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return s.call(n,a)}},{"./classof-raw":28,"./regexp-exec":110}],110:[function(a,S,v){var l,s,n=a("./regexp-flags"),a=a("./regexp-sticky-helpers"),c=RegExp.prototype.exec,f=String.prototype.replace,r=c,o=(l=/a/,s=/b*/g,c.call(l,"a"),c.call(s,"a"),l.lastIndex!==0||s.lastIndex!==0),t=a.UNSUPPORTED_Y||a.BROKEN_CARET,i=/()??/.exec("")[1]!==void 0;S.exports=r=o||i||t?function(u){var p,m,b,x,w=this,T=t&&w.sticky,M=n.call(w),O=w.source,L=0,R=u;return T&&((M=M.replace("y","")).indexOf("g")===-1&&(M+="g"),R=String(u).slice(w.lastIndex),0>16&255,m[b++]=t>>8&255,m[b++]=255&t;return p===2&&(t=s[o.charCodeAt(i)]<<2|s[o.charCodeAt(i+1)]>>4,m[b++]=255&t),p===1&&(t=s[o.charCodeAt(i)]<<10|s[o.charCodeAt(i+1)]<<4|s[o.charCodeAt(i+2)]>>2,m[b++]=t>>8&255,m[b++]=255&t),m},v.fromByteArray=function(o){for(var t,i=o.length,u=i%3,p=[],m=0,b=i-u;m>18&63]+l[R>>12&63]+l[R>>6&63]+l[63&R]}(M));return O.join("")}(o,m,b>2]+l[t<<4&63]+"==")):u==2&&(t=(o[i-2]<<8)+o[i-1],p.push(l[t>>10]+l[t>>4&63]+l[t<<2&63]+"=")),p.join("")};for(var l=[],s=[],n=typeof Uint8Array<"u"?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,f=a.length;c>>1;case"base64":return $(C).length;default:if(ee)return H?-1:q(C).length;P=(""+P).toLowerCase(),ee=!0}}function b(C,P,F){var H,ee=!1;if((P=P===void 0||P<0?0:P)>this.length||(F=F===void 0||F>this.length?this.length:F)<=0||(F>>>=0)<=(P>>>=0))return"";for(C=C||"utf8";;)switch(C){case"hex":var ae=this,pe=P,ie=F,me=ae.length;(!ie||ie<0||me=C.length){if(ee)return-1;F=C.length-1}else if(F<0){if(!ee)return-1;F=0}if(typeof P=="string"&&(P=r.from(P,H)),r.isBuffer(P))return P.length===0?-1:T(C,P,F,H,ee);if(typeof P=="number")return P&=255,typeof Uint8Array.prototype.indexOf=="function"?(ee?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(C,P,F):T(C,[P],F,H,ee);throw new TypeError("val must be string, number or Buffer")}function T(C,P,F,H,ee){var ae=1,ie=C.length,de=P.length;if(H!==void 0&&((H=String(H).toLowerCase())==="ucs2"||H==="ucs-2"||H==="utf16le"||H==="utf-16le")){if(C.length<2||P.length<2)return-1;ie/=ae=2,de/=2,F/=2}function oe(ge,ve){return ae===1?ge[ve]:ge.readUInt16BE(ve*ae)}if(ee)for(var le=-1,me=F;me>8,de=de%256,oe.push(de),oe.push(ie);return oe}(P,C.length-F),C,F,H)}function L(C,P,F){F=Math.min(C.length,F);for(var H=[],ee=P;ee>>10&1023|55296),me=56320|1023&me),H.push(me),ee+=K}var fe=H,ge=fe.length;if(ge<=R)return String.fromCharCode.apply(String,fe);for(var ve="",pe=0;pe"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."),Object.defineProperty(r.prototype,"parent",{enumerable:!0,get:function(){if(r.isBuffer(this))return this.buffer}}),Object.defineProperty(r.prototype,"offset",{enumerable:!0,get:function(){if(r.isBuffer(this))return this.byteOffset}}),typeof Symbol<"u"&&Symbol.species!=null&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),r.poolSize=8192,r.from=o,Object.setPrototypeOf(r.prototype,Uint8Array.prototype),Object.setPrototypeOf(r,Uint8Array),r.alloc=function(C,P,F){return P=P,F=F,t(C=C),!(C<=0)&&P!==void 0?typeof F=="string"?f(C).fill(P,F):f(C).fill(P):f(C)},r.allocUnsafe=i,r.allocUnsafeSlow=i,r.isBuffer=function(C){return C!=null&&C._isBuffer===!0&&C!==r.prototype},r.compare=function(C,P){if(X(C,Uint8Array)&&(C=r.from(C,C.offset,C.byteLength)),X(P,Uint8Array)&&(P=r.from(P,P.offset,P.byteLength)),!r.isBuffer(C)||!r.isBuffer(P))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(C===P)return 0;for(var F=C.length,H=P.length,ee=0,ae=Math.min(F,H);eeC&&(P+=" ... "),""},a&&(r.prototype[a]=r.prototype.inspect),r.prototype.compare=function(C,P,F,H,ee){if(X(C,Uint8Array)&&(C=r.from(C,C.offset,C.byteLength)),!r.isBuffer(C))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof C);if(F===void 0&&(F=C?C.length:0),H===void 0&&(H=0),ee===void 0&&(ee=this.length),(P=P===void 0?0:P)<0||F>C.length||H<0||ee>this.length)throw new RangeError("out of range index");if(ee<=H&&F<=P)return 0;if(ee<=H)return-1;if(F<=P)return 1;if(this===C)return 0;for(var ae=(ee>>>=0)-(H>>>=0),ie=(F>>>=0)-(P>>>=0),de=Math.min(ae,ie),oe=this.slice(H,ee),le=C.slice(P,F),me=0;me>>=0,isFinite(F)?(F>>>=0,H===void 0&&(H="utf8")):(H=F,F=void 0)}var ee=this.length-P;if((F===void 0||eethis.length)throw new RangeError("Attempt to write outside buffer bounds");H=H||"utf8";for(var ae,ie,de,oe=!1;;)switch(H){case"hex":var le=this,me=C,K=P,fe=F,ge=(K=Number(K)||0,le.length-K);(!fe||ge<(fe=Number(fe)))&&(fe=ge),(ge=me.length)/2C.length)throw new RangeError("Index out of range")}function U(C,P,F,H){if(F+H>C.length)throw new RangeError("Index out of range");if(F<0)throw new RangeError("Index out of range")}function B(C,P,F,H,ee){return P=+P,F>>>=0,ee||U(C,0,F,4),n.write(C,P,F,H,23,4),F+4}function W(C,P,F,H,ee){return P=+P,F>>>=0,ee||U(C,0,F,8),n.write(C,P,F,H,52,8),F+8}r.prototype.slice=function(C,P){var F=this.length,F=((C=~~C)<0?(C+=F)<0&&(C=0):F>>=0,P>>>=0,F||A(C,P,this.length);for(var H=this[C],ee=1,ae=0;++ae>>=0,P>>>=0,F||A(C,P,this.length);for(var H=this[C+--P],ee=1;0>>=0,P||A(C,1,this.length),this[C]},r.prototype.readUInt16LE=function(C,P){return C>>>=0,P||A(C,2,this.length),this[C]|this[C+1]<<8},r.prototype.readUInt16BE=function(C,P){return C>>>=0,P||A(C,2,this.length),this[C]<<8|this[C+1]},r.prototype.readUInt32LE=function(C,P){return C>>>=0,P||A(C,4,this.length),(this[C]|this[C+1]<<8|this[C+2]<<16)+16777216*this[C+3]},r.prototype.readUInt32BE=function(C,P){return C>>>=0,P||A(C,4,this.length),16777216*this[C]+(this[C+1]<<16|this[C+2]<<8|this[C+3])},r.prototype.readIntLE=function(C,P,F){C>>>=0,P>>>=0,F||A(C,P,this.length);for(var H=this[C],ee=1,ae=0;++ae>>=0,P>>>=0,F||A(C,P,this.length);for(var H=P,ee=1,ae=this[C+--H];0>>=0,P||A(C,1,this.length),128&this[C]?-1*(255-this[C]+1):this[C]},r.prototype.readInt16LE=function(C,P){return C>>>=0,P||A(C,2,this.length),P=this[C]|this[C+1]<<8,32768&P?4294901760|P:P},r.prototype.readInt16BE=function(C,P){return C>>>=0,P||A(C,2,this.length),P=this[C+1]|this[C]<<8,32768&P?4294901760|P:P},r.prototype.readInt32LE=function(C,P){return C>>>=0,P||A(C,4,this.length),this[C]|this[C+1]<<8|this[C+2]<<16|this[C+3]<<24},r.prototype.readInt32BE=function(C,P){return C>>>=0,P||A(C,4,this.length),this[C]<<24|this[C+1]<<16|this[C+2]<<8|this[C+3]},r.prototype.readFloatLE=function(C,P){return C>>>=0,P||A(C,4,this.length),n.read(this,C,!0,23,4)},r.prototype.readFloatBE=function(C,P){return C>>>=0,P||A(C,4,this.length),n.read(this,C,!1,23,4)},r.prototype.readDoubleLE=function(C,P){return C>>>=0,P||A(C,8,this.length),n.read(this,C,!0,52,8)},r.prototype.readDoubleBE=function(C,P){return C>>>=0,P||A(C,8,this.length),n.read(this,C,!1,52,8)},r.prototype.writeUIntLE=function(C,P,F,H){C=+C,P>>>=0,F>>>=0,H||N(this,C,P,F,Math.pow(2,8*F)-1,0);var ee=1,ae=0;for(this[P]=255&C;++ae>>=0,F>>>=0,H||N(this,C,P,F,Math.pow(2,8*F)-1,0);var ee=F-1,ae=1;for(this[P+ee]=255&C;0<=--ee&&(ae*=256);)this[P+ee]=C/ae&255;return P+F},r.prototype.writeUInt8=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,1,255,0),this[P]=255&C,P+1},r.prototype.writeUInt16LE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,2,65535,0),this[P]=255&C,this[P+1]=C>>>8,P+2},r.prototype.writeUInt16BE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,2,65535,0),this[P]=C>>>8,this[P+1]=255&C,P+2},r.prototype.writeUInt32LE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,4,4294967295,0),this[P+3]=C>>>24,this[P+2]=C>>>16,this[P+1]=C>>>8,this[P]=255&C,P+4},r.prototype.writeUInt32BE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,4,4294967295,0),this[P]=C>>>24,this[P+1]=C>>>16,this[P+2]=C>>>8,this[P+3]=255&C,P+4},r.prototype.writeIntLE=function(C,P,F,H){C=+C,P>>>=0,H||N(this,C,P,F,(H=Math.pow(2,8*F-1))-1,-H);var ee=0,ae=1,ie=0;for(this[P]=255&C;++ee>0)-ie&255;return P+F},r.prototype.writeIntBE=function(C,P,F,H){C=+C,P>>>=0,H||N(this,C,P,F,(H=Math.pow(2,8*F-1))-1,-H);var ee=F-1,ae=1,ie=0;for(this[P+ee]=255&C;0<=--ee&&(ae*=256);)C<0&&ie===0&&this[P+ee+1]!==0&&(ie=1),this[P+ee]=(C/ae>>0)-ie&255;return P+F},r.prototype.writeInt8=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,1,127,-128),this[P]=255&(C=C<0?255+C+1:C),P+1},r.prototype.writeInt16LE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,2,32767,-32768),this[P]=255&C,this[P+1]=C>>>8,P+2},r.prototype.writeInt16BE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,2,32767,-32768),this[P]=C>>>8,this[P+1]=255&C,P+2},r.prototype.writeInt32LE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,4,2147483647,-2147483648),this[P]=255&C,this[P+1]=C>>>8,this[P+2]=C>>>16,this[P+3]=C>>>24,P+4},r.prototype.writeInt32BE=function(C,P,F){return C=+C,P>>>=0,F||N(this,C,P,4,2147483647,-2147483648),this[P]=(C=C<0?4294967295+C+1:C)>>>24,this[P+1]=C>>>16,this[P+2]=C>>>8,this[P+3]=255&C,P+4},r.prototype.writeFloatLE=function(C,P,F){return B(this,C,P,!0,F)},r.prototype.writeFloatBE=function(C,P,F){return B(this,C,P,!1,F)},r.prototype.writeDoubleLE=function(C,P,F){return W(this,C,P,!0,F)},r.prototype.writeDoubleBE=function(C,P,F){return W(this,C,P,!1,F)},r.prototype.copy=function(C,P,F,H){if(!r.isBuffer(C))throw new TypeError("argument should be a Buffer");if(F=F||0,H||H===0||(H=this.length),P>=C.length&&(P=C.length),(H=0=this.length)throw new RangeError("Index out of range");if(H<0)throw new RangeError("sourceEnd out of bounds");H>this.length&&(H=this.length);var ee=(H=C.length-P>>=0,F=F===void 0?this.length:F>>>0,typeof(C=C||0)=="number")for(ae=P;ae>6|192,63&F|128)}else if(F<65536){if((P-=3)<0)break;ae.push(F>>12|224,F>>6&63|128,63&F|128)}else{if(!(F<1114112))throw new Error("Invalid code point");if((P-=4)<0)break;ae.push(F>>18|240,F>>12&63|128,F>>6&63|128,63&F|128)}}return ae}function $(C){return s.toByteArray(function(P){if((P=(P=P.split("=")[0]).trim().replace(Z,"")).length<2)return"";for(;P.length%4!=0;)P+="=";return P}(C))}function z(C,P,F,H){for(var ee=0;ee=P.length||ee>=C.length);++ee)P[ee+F]=C[ee];return ee}function X(C,P){return C instanceof P||C!=null&&C.constructor!=null&&C.constructor.name!=null&&C.constructor.name===P.name}function Q(C){return C!=C}var se=function(){for(var C="0123456789abcdef",P=new Array(256),F=0;F<16;++F)for(var H=16*F,ee=0;ee<16;++ee)P[H+ee]=C[F]+C[ee];return P}()}).call(this,e("buffer").Buffer)},{"base64-js":1,buffer:4,ieee754:238}],5:[function(e,S,v){S.exports=function(l){if(typeof l!="function")throw TypeError(String(l)+" is not a function");return l}},{}],6:[function(e,S,v){var l=e("../internals/is-object");S.exports=function(s){if(l(s)||s===null)return s;throw TypeError("Can't set "+String(s)+" as a prototype")}},{"../internals/is-object":74}],7:[function(n,S,v){var l=n("../internals/well-known-symbol"),s=n("../internals/object-create"),n=n("../internals/object-define-property"),a=l("unscopables"),c=Array.prototype;c[a]==null&&n.f(c,a,{configurable:!0,value:s(null)}),S.exports=function(f){c[a][f]=!0}},{"../internals/object-create":90,"../internals/object-define-property":92,"../internals/well-known-symbol":146}],8:[function(e,S,v){var l=e("../internals/string-multibyte").charAt;S.exports=function(s,n,a){return n+(a?l(s,n).length:1)}},{"../internals/string-multibyte":123}],9:[function(e,S,v){S.exports=function(l,s,n){if(l instanceof s)return l;throw TypeError("Incorrect "+(n?n+" ":"")+"invocation")}},{}],10:[function(e,S,v){var l=e("../internals/is-object");S.exports=function(s){if(l(s))return s;throw TypeError(String(s)+" is not an object")}},{"../internals/is-object":74}],11:[function(e,S,v){S.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},{}],12:[function(U,S,v){function l(W){return f(W)&&r(B,o(W))}var s,n=U("../internals/array-buffer-native"),a=U("../internals/descriptors"),c=U("../internals/global"),f=U("../internals/is-object"),r=U("../internals/has"),o=U("../internals/classof"),t=U("../internals/create-non-enumerable-property"),i=U("../internals/redefine"),u=U("../internals/object-define-property").f,p=U("../internals/object-get-prototype-of"),m=U("../internals/object-set-prototype-of"),R=U("../internals/well-known-symbol"),U=U("../internals/uid"),b=c.Int8Array,x=b&&b.prototype,w=c.Uint8ClampedArray,w=w&&w.prototype,T=b&&p(b),M=x&&p(x),O=Object.prototype,L=O.isPrototypeOf,R=R("toStringTag"),A=U("TYPED_ARRAY_TAG"),N=n&&!!m&&o(c.opera)!=="Opera",U=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8};for(s in B)c[s]||(N=!1);if((!N||typeof T!="function"||T===Function.prototype)&&(T=function(){throw TypeError("Incorrect invocation")},N))for(s in B)c[s]&&m(c[s],T);if((!N||!M||M===O)&&(M=T.prototype,N))for(s in B)c[s]&&m(c[s].prototype,M);if(N&&p(w)!==M&&m(w,M),a&&!r(M,R))for(s in U=!0,u(M,R,{get:function(){return f(this)?this[A]:void 0}}),B)c[s]&&t(c[s],A,s);S.exports={NATIVE_ARRAY_BUFFER_VIEWS:N,TYPED_ARRAY_TAG:U&&A,aTypedArray:function(W){if(l(W))return W;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(W){if(m){if(L.call(T,W))return W}else for(var Z in B)if(r(B,s)&&(Z=c[Z],Z&&(W===Z||L.call(Z,W))))return W;throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(W,Z,q){if(a){if(q)for(var $ in B)$=c[$],$&&r($.prototype,W)&&delete $.prototype[W];M[W]&&!q||i(M,W,!q&&N&&x[W]||Z)}},exportTypedArrayStaticMethod:function(W,Z,q){var $,z;if(a){if(m){if(q)for($ in B)(z=c[$])&&r(z,W)&&delete z[W];if(T[W]&&!q)return;try{return i(T,W,!q&&N&&b[W]||Z)}catch{}}for($ in B)!(z=c[$])||z[W]&&!q||i(z,W,Z)}},isView:function(W){return W=o(W),W==="DataView"||r(B,W)},isTypedArray:l,TypedArray:T,TypedArrayPrototype:M}},{"../internals/array-buffer-native":11,"../internals/classof":29,"../internals/create-non-enumerable-property":38,"../internals/descriptors":43,"../internals/global":59,"../internals/has":60,"../internals/is-object":74,"../internals/object-define-property":92,"../internals/object-get-prototype-of":97,"../internals/object-set-prototype-of":101,"../internals/redefine":108,"../internals/uid":143,"../internals/well-known-symbol":146}],13:[function(F,S,v){function l(K){return[255&K]}function s(K){return[255&K,K>>8&255]}function n(K){return[255&K,K>>8&255,K>>16&255,K>>24&255]}function a(K){return K[3]<<24|K[2]<<16|K[1]<<8|K[0]}function c(K){return ae(K,23,4)}function f(K){return ae(K,52,8)}function r(K,fe){U(K[X],fe,{get:function(){return Z(this)[fe]}})}function o(Te,fe,Oe,ve){if(Oe=O(Oe),Te=Z(Te),Oe+fe>Te.byteLength)throw ee(Q);var pe=Z(Te.buffer).bytes,Oe=Oe+Te.byteOffset,Te=pe.slice(Oe,Oe+fe);return ve?Te:Te.reverse()}function t(K,fe,ge,ve,pe,Oe){if(ge=O(ge),K=Z(K),ge+fe>K.byteLength)throw ee(Q);for(var Te=Z(K.buffer).bytes,Re=ge+K.byteOffset,Me=ve(+pe),Be=0;Bele;)(de=oe[le++])in C||m(C,de,se[de]);i.constructor=C}A&&R(F)!==H&&A(F,H);var L=new P(new C(2)),me=F.setInt8;L.setInt8(0,2147483648),L.setInt8(1,2147483649),!L.getInt8(0)&&L.getInt8(1)||b(F,{setInt8:function(fe,ge){me.call(this,fe,ge<<24>>24)},setUint8:function(fe,ge){me.call(this,fe,ge<<24>>24)}},{unsafe:!0})}else C=function(K){w(this,C,$),K=O(K),q(this,{bytes:B.call(new Array(K),0),byteLength:K}),u||(this.byteLength=K)},P=function(K,pe,ge){w(this,P,z),w(K,C,z);var ve=Z(K).byteLength,pe=T(pe);if(pe<0||ve>24},getUint8:function(K){return o(this,1,K)[0]},getInt16:function(K){return K=o(this,2,K,1>16},getUint16:function(K){return K=o(this,2,K,1>>0},getFloat32:function(K){return ie(o(this,4,K,1"+r+""}},{"../internals/require-object-coercible":113}],37:[function(e,S,v){function l(){return this}var s=e("../internals/iterators-core").IteratorPrototype,n=e("../internals/object-create"),a=e("../internals/create-property-descriptor"),c=e("../internals/set-to-string-tag"),f=e("../internals/iterators");S.exports=function(r,o,t){return o+=" Iterator",r.prototype=n(s,{next:a(1,t)}),c(r,o,!1,!0),f[o]=l,r}},{"../internals/create-property-descriptor":39,"../internals/iterators":79,"../internals/iterators-core":78,"../internals/object-create":90,"../internals/set-to-string-tag":117}],38:[function(e,S,v){var l=e("../internals/descriptors"),s=e("../internals/object-define-property"),n=e("../internals/create-property-descriptor");S.exports=l?function(a,c,f){return s.f(a,c,n(1,f))}:function(a,c,f){return a[c]=f,a}},{"../internals/create-property-descriptor":39,"../internals/descriptors":43,"../internals/object-define-property":92}],39:[function(e,S,v){S.exports=function(l,s){return{enumerable:!(1&l),configurable:!(2&l),writable:!(4&l),value:s}}},{}],40:[function(e,S,v){var l=e("../internals/to-primitive"),s=e("../internals/object-define-property"),n=e("../internals/create-property-descriptor");S.exports=function(a,c,f){c=l(c),c in a?s.f(a,c,n(0,f)):a[c]=f}},{"../internals/create-property-descriptor":39,"../internals/object-define-property":92,"../internals/to-primitive":138}],41:[function(p,S,v){function l(){return this}var s=p("../internals/export"),n=p("../internals/create-iterator-constructor"),a=p("../internals/object-get-prototype-of"),c=p("../internals/object-set-prototype-of"),f=p("../internals/set-to-string-tag"),r=p("../internals/create-non-enumerable-property"),o=p("../internals/redefine"),t=p("../internals/well-known-symbol"),i=p("../internals/is-pure"),u=p("../internals/iterators"),p=p("../internals/iterators-core"),m=p.IteratorPrototype,b=p.BUGGY_SAFARI_ITERATORS,x=t("iterator"),w="values",T="entries";S.exports=function(M,O,L,q,A,N,U){n(L,O,q);function B(C){if(C===A&&Q)return Q;if(!b&&C in z)return z[C];switch(C){case"keys":case w:case T:return function(){return new L(this,C)}}return function(){return new L(this)}}var W,Z,q=O+" Iterator",$=!1,z=M.prototype,X=z[x]||z["@@iterator"]||A&&z[A],Q=!b&&X||B(A),se=O=="Array"&&z.entries||X;if(se&&(se=a(se.call(new M)),m!==Object.prototype&&se.next&&(i||a(se)===m||(c?c(se,m):typeof se[x]!="function"&&r(se,x,l)),f(se,q,!0,!0),i&&(u[q]=l))),A==w&&X&&X.name!==w&&($=!0,Q=function(){return X.call(this)}),i&&!U||z[x]===Q||r(z,x,Q),u[O]=Q,A)if(W={values:B(w),keys:N?Q:B("keys"),entries:B(T)},U)for(Z in W)!b&&!$&&Z in z||o(z,Z,W[Z]);else s({target:O,proto:!0,forced:b||$},W);return W}},{"../internals/create-iterator-constructor":37,"../internals/create-non-enumerable-property":38,"../internals/export":50,"../internals/is-pure":75,"../internals/iterators":79,"../internals/iterators-core":78,"../internals/object-get-prototype-of":97,"../internals/object-set-prototype-of":101,"../internals/redefine":108,"../internals/set-to-string-tag":117,"../internals/well-known-symbol":146}],42:[function(e,S,v){var l=e("../internals/path"),s=e("../internals/has"),n=e("../internals/well-known-symbol-wrapped"),a=e("../internals/object-define-property").f;S.exports=function(c){var f=l.Symbol||(l.Symbol={});s(f,c)||a(f,c,{value:n.f(c)})}},{"../internals/has":60,"../internals/object-define-property":92,"../internals/path":104,"../internals/well-known-symbol-wrapped":145}],43:[function(e,S,v){e=e("../internals/fails"),S.exports=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":51}],44:[function(s,S,v){var l=s("../internals/global"),s=s("../internals/is-object"),n=l.document,a=s(n)&&s(n.createElement);S.exports=function(c){return a?n.createElement(c):{}}},{"../internals/global":59,"../internals/is-object":74}],45:[function(e,S,v){S.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],46:[function(e,S,v){e=e("../internals/engine-user-agent"),S.exports=/(iphone|ipod|ipad).*applewebkit/i.test(e)},{"../internals/engine-user-agent":47}],47:[function(e,S,v){e=e("../internals/get-built-in"),S.exports=e("navigator","userAgent")||""},{"../internals/get-built-in":56}],48:[function(n,S,v){var l,s,a=n("../internals/global"),n=n("../internals/engine-user-agent"),a=a.process,a=a&&a.versions,a=a&&a.v8;a?s=(l=a.split("."))[0]+l[1]:n&&(!(l=n.match(/Edge\/(\d+)/))||74<=l[1])&&(l=n.match(/Chrome\/(\d+)/))&&(s=l[1]),S.exports=s&&+s},{"../internals/engine-user-agent":47,"../internals/global":59}],49:[function(e,S,v){S.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],50:[function(e,S,v){var l=e("../internals/global"),s=e("../internals/object-get-own-property-descriptor").f,n=e("../internals/create-non-enumerable-property"),a=e("../internals/redefine"),c=e("../internals/set-global"),f=e("../internals/copy-constructor-properties"),r=e("../internals/is-forced");S.exports=function(o,t){var i,u,p,m=o.target,b=o.global,x=o.stat,w=b?l:x?l[m]||c(m,{}):(l[m]||{}).prototype;if(w)for(i in t){if(u=t[i],p=o.noTargetGet?(p=s(w,i))&&p.value:w[i],!r(b?i:m+(x?".":"#")+i,o.forced)&&p!==void 0){if(typeof u==typeof p)continue;f(u,p)}(o.sham||p&&p.sham)&&n(u,"sham",!0),a(w,i,u,o)}}},{"../internals/copy-constructor-properties":33,"../internals/create-non-enumerable-property":38,"../internals/global":59,"../internals/is-forced":73,"../internals/object-get-own-property-descriptor":93,"../internals/redefine":108,"../internals/set-global":115}],51:[function(e,S,v){S.exports=function(l){try{return!!l()}catch{return!0}}},{}],52:[function(t,S,v){t("../modules/es.regexp.exec");var l=t("../internals/redefine"),s=t("../internals/fails"),n=t("../internals/well-known-symbol"),a=t("../internals/regexp-exec"),c=t("../internals/create-non-enumerable-property"),f=n("species"),r=!s(function(){var p=/./;return p.exec=function(){var m=[];return m.groups={a:"7"},m},"".replace(p,"$")!=="7"}),o="a".replace(/./,"$0")==="$0",t=n("replace"),i=!!/./[t]&&/./[t]("a","$0")==="",u=!s(function(){var m=/(?:)/,p=m.exec,m=(m.exec=function(){return p.apply(this,arguments)},"ab".split(m));return m.length!==2||m[0]!=="a"||m[1]!=="b"});S.exports=function(p,m,b,x){var w,T,M=n(p),O=!s(function(){var R={};return R[M]=function(){return 7},""[p](R)!=7}),L=O&&!s(function(){var R=!1,A=/a/;return p==="split"&&((A={constructor:{}}).constructor[f]=function(){return A},A.flags="",A[M]=/./[M]),A.exec=function(){return R=!0,null},A[M](""),!R});O&&L&&(p!=="replace"||r&&o&&!i)&&(p!=="split"||u)||(w=/./[M],b=(L=b(M,""[p],function(R,A,N,U,B){return A.exec===a?O&&!B?{done:!0,value:w.call(A,N,U)}:{done:!0,value:R.call(N,A,U)}:{done:!1}},{REPLACE_KEEPS_$0:o,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:i}))[0],T=L[1],l(String.prototype,p,b),l(RegExp.prototype,M,m==2?function(R,A){return T.call(R,this,A)}:function(R){return T.call(R,this)})),x&&c(RegExp.prototype[M],"sham",!0)}},{"../internals/create-non-enumerable-property":38,"../internals/fails":51,"../internals/redefine":108,"../internals/regexp-exec":110,"../internals/well-known-symbol":146,"../modules/es.regexp.exec":181}],53:[function(e,S,v){e=e("../internals/fails"),S.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},{"../internals/fails":51}],54:[function(e,S,v){var l=e("../internals/a-function");S.exports=function(s,n,a){if(l(s),n===void 0)return s;switch(a){case 0:return function(){return s.call(n)};case 1:return function(c){return s.call(n,c)};case 2:return function(c,f){return s.call(n,c,f)};case 3:return function(c,f,r){return s.call(n,c,f,r)}}return function(){return s.apply(n,arguments)}}},{"../internals/a-function":5}],55:[function(e,S,v){var l=e("../internals/a-function"),s=e("../internals/is-object"),n=[].slice,a={};S.exports=Function.bind||function(c){var f=l(this),r=n.call(arguments,1),o=function(){var t=r.concat(n.call(arguments));if(this instanceof o){var i=f,u=t.length,p=t;if(!(u in a)){for(var m=[],b=0;b>1,w=r===23?s(2,-24)-s(2,-77):0,T=f<0||f===0&&1/f<0?1:0,M=0;for((f=l(f))!=f||f===1/0?(i=f!=f?1:0,t=b):(t=n(a(f)/c),f*(u=s(2,-t))<1&&(t--,u*=2),2<=(f+=1<=t+x?w/u:w*s(2,1-x))*u&&(t++,u/=2),b<=t+x?(i=0,t=b):1<=t+x?(i=(f*u-1)*s(2,r),t+=x):(i=f*s(2,x-1)*s(2,r),t=0));8<=r;p[M++]=255&i,i/=256,r-=8);for(t=t<>1,p=b-7,m=t-1,b=f[m--],x=127&b;for(b>>=7;0>=-p,p+=r;0"+x+""},b=function(){try{s=document.domain&&new ActiveXObject("htmlfile")}catch{}b=s?((x=s).write(m("")),x.close(),w=x.parentWindow.Object,x=null,w):(x=o("iframe"),w="java"+u+":",x.style.display="none",r.appendChild(x),x.src=String(w),(w=x.contentWindow.document).open(),w.write(m("document.F=Object")),w.close(),w.F);for(var x,w,T=c.length;T--;)delete b[i][c[T]];return b()};f[p]=!0,S.exports=Object.create||function(x,w){var T;return x!==null?(l[i]=n(x),T=new l,l[i]=null,T[p]=x):T=b(),w===void 0?T:a(T,w)}},{"../internals/an-object":10,"../internals/document-create-element":44,"../internals/enum-bug-keys":49,"../internals/hidden-keys":61,"../internals/html":63,"../internals/object-define-properties":91,"../internals/shared-key":118}],91:[function(e,S,v){var l=e("../internals/descriptors"),s=e("../internals/object-define-property"),n=e("../internals/an-object"),a=e("../internals/object-keys");S.exports=l?Object.defineProperties:function(c,f){n(c);for(var r,o=a(f),t=o.length,i=0;it;)!l(o,r=f[t++])||~n(i,r)||i.push(r);return i}},{"../internals/array-includes":18,"../internals/has":60,"../internals/hidden-keys":61,"../internals/to-indexed-object":132}],99:[function(e,S,v){var l=e("../internals/object-keys-internal"),s=e("../internals/enum-bug-keys");S.exports=Object.keys||function(n){return l(n,s)}},{"../internals/enum-bug-keys":49,"../internals/object-keys-internal":98}],100:[function(e,S,v){var l={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,n=s&&!l.call({1:2},1);v.f=n?function(a){return a=s(this,a),!!a&&a.enumerable}:l},{}],101:[function(e,S,v){var l=e("../internals/an-object"),s=e("../internals/a-possible-prototype");S.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var n,a=!1,c={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(c,[]),a=c instanceof Array}catch{}return function(f,r){return l(f),s(r),a?n.call(f,r):f.__proto__=r,f}}():void 0)},{"../internals/a-possible-prototype":6,"../internals/an-object":10}],102:[function(e,S,v){var l=e("../internals/to-string-tag-support"),s=e("../internals/classof");S.exports=l?{}.toString:function(){return"[object "+s(this)+"]"}},{"../internals/classof":29,"../internals/to-string-tag-support":139}],103:[function(e,S,v){var l=e("../internals/get-built-in"),s=e("../internals/object-get-own-property-names"),n=e("../internals/object-get-own-property-symbols"),a=e("../internals/an-object");S.exports=l("Reflect","ownKeys")||function(c){var f=s.f(a(c)),r=n.f;return r?f.concat(r(c)):f}},{"../internals/an-object":10,"../internals/get-built-in":56,"../internals/object-get-own-property-names":95,"../internals/object-get-own-property-symbols":96}],104:[function(e,S,v){e=e("../internals/global"),S.exports=e},{"../internals/global":59}],105:[function(e,S,v){S.exports=function(l){try{return{error:!1,value:l()}}catch(s){return{error:!0,value:s}}}},{}],106:[function(e,S,v){var l=e("../internals/an-object"),s=e("../internals/is-object"),n=e("../internals/new-promise-capability");S.exports=function(a,c){return l(a),s(c)&&c.constructor===a?c:((0,(a=n.f(a)).resolve)(c),a.promise)}},{"../internals/an-object":10,"../internals/is-object":74,"../internals/new-promise-capability":86}],107:[function(e,S,v){var l=e("../internals/redefine");S.exports=function(s,n,a){for(var c in n)l(s,c,n[c],a);return s}},{"../internals/redefine":108}],108:[function(f,S,v){var l=f("../internals/global"),s=f("../internals/create-non-enumerable-property"),n=f("../internals/has"),a=f("../internals/set-global"),c=f("../internals/inspect-source"),f=f("../internals/internal-state"),r=f.get,o=f.enforce,t=String(String).split("String");(S.exports=function(i,u,p,w){var b=!!w&&!!w.unsafe,x=!!w&&!!w.enumerable,w=!!w&&!!w.noTargetGet;typeof p=="function"&&(typeof u!="string"||n(p,"name")||s(p,"name",u),o(p).source=t.join(typeof u=="string"?u:"")),i===l?x?i[u]=p:a(u,p):(b?!w&&i[u]&&(x=!0):delete i[u],x?i[u]=p:s(i,u,p))})(Function.prototype,"toString",function(){return typeof this=="function"&&r(this).source||c(this)})},{"../internals/create-non-enumerable-property":38,"../internals/global":59,"../internals/has":60,"../internals/inspect-source":68,"../internals/internal-state":70,"../internals/set-global":115}],109:[function(e,S,v){var l=e("./classof-raw"),s=e("./regexp-exec");S.exports=function(n,a){var c=n.exec;if(typeof c=="function"){if(c=c.call(n,a),typeof c!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return c}if(l(n)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return s.call(n,a)}},{"./classof-raw":28,"./regexp-exec":110}],110:[function(a,S,v){var l,s,n=a("./regexp-flags"),a=a("./regexp-sticky-helpers"),c=RegExp.prototype.exec,f=String.prototype.replace,r=c,o=(l=/a/,s=/b*/g,c.call(l,"a"),c.call(s,"a"),l.lastIndex!==0||s.lastIndex!==0),t=a.UNSUPPORTED_Y||a.BROKEN_CARET,i=/()??/.exec("")[1]!==void 0;S.exports=r=o||i||t?function(u){var p,m,b,x,w=this,T=t&&w.sticky,M=n.call(w),O=w.source,L=0,R=u;return T&&((M=M.replace("y","")).indexOf("g")===-1&&(M+="g"),R=String(u).slice(w.lastIndex),0p((n-O)/B))throw RangeError(i);for(O+=(N-M)*B,M=N,U=0;Un)throw RangeError(i);if(x==M){for(var W=O,Z=a;;Z+=a){var q=Z<=L?1:L+c<=Z?c:Z-L;if(W>1,X+=p(X/Q);u*c>>1>>=1)&&(a+=a))1&f&&(c+=a);return c}},{"../internals/require-object-coercible":113,"../internals/to-integer":133}],126:[function(e,S,v){var l=e("../internals/fails"),s=e("../internals/whitespaces");S.exports=function(n){return l(function(){return!!s[n]()||"\u200B\x85\u180E"[n]()!="\u200B\x85\u180E"||s[n].name!==n})}},{"../internals/fails":51,"../internals/whitespaces":147}],127:[function(n,S,v){function l(f){return function(r){return r=String(s(r)),1&f&&(r=r.replace(a,"")),r=2&f?r.replace(c,""):r}}var s=n("../internals/require-object-coercible"),n="["+n("../internals/whitespaces")+"]",a=RegExp("^"+n+n+"*"),c=RegExp(n+n+"*$");S.exports={start:l(1),end:l(2),trim:l(3)}},{"../internals/require-object-coercible":113,"../internals/whitespaces":147}],128:[function(u,S,v){function l(A){return function(){R(A)}}function s(A){R(A.data)}function n(A){c.postMessage(A+"",p.protocol+"//"+p.host)}var a,c=u("../internals/global"),f=u("../internals/fails"),r=u("../internals/classof-raw"),o=u("../internals/function-bind-context"),t=u("../internals/html"),i=u("../internals/document-create-element"),u=u("../internals/engine-is-ios"),p=c.location,m=c.setImmediate,b=c.clearImmediate,x=c.process,w=c.MessageChannel,T=c.Dispatch,M=0,O={},L="onreadystatechange",R=function(A){var N;O.hasOwnProperty(A)&&(N=O[A],delete O[A],N())};m&&b||(m=function(A){for(var N=[],U=1;U=i.length?{value:t.target=void 0,done:!0}:u=="keys"?{value:p,done:!1}:u=="values"?{value:i[p],done:!1}:{value:[p,i[p]],done:!1}},"values"),n.Arguments=n.Array,s("keys"),s("values"),s("entries")},{"../internals/add-to-unscopables":7,"../internals/define-iterator":41,"../internals/internal-state":70,"../internals/iterators":79,"../internals/to-indexed-object":132}],159:[function(c,S,v){var l=c("../internals/export"),a=c("../internals/indexed-object"),s=c("../internals/to-indexed-object"),c=c("../internals/array-method-is-strict"),n=[].join,a=a!=Object,c=c("join",",");l({target:"Array",proto:!0,forced:a||!c},{join:function(f){return n.call(s(this),f===void 0?",":f)}})},{"../internals/array-method-is-strict":22,"../internals/export":50,"../internals/indexed-object":66,"../internals/to-indexed-object":132}],160:[function(s,S,v){var l=s("../internals/export"),s=s("../internals/array-last-index-of");l({target:"Array",proto:!0,forced:s!==[].lastIndexOf},{lastIndexOf:s})},{"../internals/array-last-index-of":20,"../internals/export":50}],161:[function(a,S,v){var l=a("../internals/export"),s=a("../internals/array-iteration").map,n=a("../internals/array-method-has-species-support"),a=a("../internals/array-method-uses-to-length"),n=n("map"),a=a("map");l({target:"Array",proto:!0,forced:!n||!a},{map:function(c){return s(this,c,1N;N++)f(T,L=A[N])&&!f(R,L)&&b(R,L,m(T,L));(R.prototype=M).constructor=R,c(n,w,R)}},{"../internals/classof-raw":28,"../internals/descriptors":43,"../internals/fails":51,"../internals/global":59,"../internals/has":60,"../internals/inherit-if-required":67,"../internals/is-forced":73,"../internals/object-create":90,"../internals/object-define-property":92,"../internals/object-get-own-property-descriptor":93,"../internals/object-get-own-property-names":95,"../internals/redefine":108,"../internals/string-trim":127,"../internals/to-primitive":138}],170:[function(e,S,v){e("../internals/export")({target:"Number",stat:!0},{isFinite:e("../internals/number-is-finite")})},{"../internals/export":50,"../internals/number-is-finite":88}],171:[function(f,S,v){function l(t,i,u){return i===0?u:i%2==1?l(t,i-1,u*t):l(t*t,i/2,u)}var s=f("../internals/export"),n=f("../internals/to-integer"),a=f("../internals/this-number-value"),c=f("../internals/string-repeat"),f=f("../internals/fails"),r=1 .toFixed,o=Math.floor;s({target:"Number",proto:!0,forced:r&&(8e-5 .toFixed(3)!=="0.000"||.9 .toFixed(0)!=="1"||1.255 .toFixed(2)!=="1.25"||0xde0b6b3a7640080 .toFixed(0)!=="1000000000000000128")||!f(function(){r.call({})})},{toFixed:function(w){function i(L,R){for(var A=-1,N=R;++A<6;)N+=L*T[A],T[A]=N%1e7,N=o(N/1e7)}function u(L){for(var R=6,A=0;0<=--R;)A+=T[R],T[R]=o(A/L),A=A%L*1e7}function p(){for(var L,R=6,A="";0<=--R;)A===""&&R!==0&&T[R]===0||(L=String(T[R]),A=A===""?L:A+c.call("0",7-L.length)+L);return A}var m,b,x=a(this),w=n(w),T=[0,0,0,0,0,0],M="",O="0";if(w<0||20ke;){var Ue,Ne,Ge,We=J[ke++],lt=we?We.ok:We.fail,st=We.resolve,Je=We.reject,at=We.domain;try{lt?(we||(_e.rejection===Oe&&function(ot,wt){A.call(r,function(){le?ae.emit("rejectionHandled",ot):$e(fe,ot,wt.value)})}(Le,_e),_e.rejection=pe),lt===!0?Ue=ye:(at&&at.enter(),Ue=lt(ye),at&&(at.exit(),Ge=!0)),Ue===We.promise?Je(H("Promise-chain cycle")):(Ne=Me(Ue))?Ne.call(Ue,st,Je):st(Ue)):Je(ye)}catch(ot){at&&!Ge&&at.exit(),Je(ot)}}_e.reactions=[],_e.notified=!1,V&&!_e.rejection&&(G=Le,te=_e,A.call(r,function(){var ot=te.value,wt=ze(te);if(wt&&(wt=Z(function(){le?ae.emit("unhandledRejection",ot,G):$e(K,G,ot)}),te.rejection=le||ze(te)?Oe:pe,wt.error))throw wt.value}))}))},$e=function(Le,_e,V){var J;me?((J=ee.createEvent("Event")).promise=_e,J.reason=V,J.initEvent(Le,!1,!0),r.dispatchEvent(J)):J={promise:_e,reason:V},(_e=r["on"+Le])?_e(J):Le===K&&B("Unhandled promise rejection",V)},ze=function(Le){return Le.rejection!==pe&&!Le.parent},Qe=function(Le,_e,V,J){return function(G){Le(_e,V,G,J)}},Xe=function(Le,_e,V,J){_e.done||(_e.done=!0,(_e=J||_e).value=V,_e.state=ve,Be(Le,_e,!0))},be=function(Le,_e,V,J){if(!_e.done){_e.done=!0,J&&(_e=J);try{if(Le===V)throw H("Promise can't be resolved itself");var G=Me(V);G?N(function(){var te={done:!1};try{G.call(V,Qe(be,Le,te,_e),Qe(Xe,Le,te,_e))}catch(ye){Xe(Le,te,ye,_e)}}):(_e.value=V,_e.state=ge,Be(Le,_e,!1))}catch(te){Xe(Le,{done:!1},te,_e)}}};Te&&(F=function(Le){w(this,F,Q),x(Le),l.call(this);var _e=se(this);try{Le(Qe(be,this,_e),Qe(Xe,this,_e))}catch(V){Xe(this,_e,V)}},(l=function(Le){C(this,{type:Q,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=u(F.prototype,{then:function(Le,_e){var V=P(this),J=de(R(this,F));return J.ok=typeof Le!="function"||Le,J.fail=typeof _e=="function"&&_e,J.domain=le?ae.domain:void 0,V.parent=!0,V.reactions.push(J),V.state!=0&&Be(this,V,!1),J.promise},catch:function(Le){return this.then(void 0,Le)}}),s=function(){var Le=new l,_e=se(Le);this.promise=Le,this.resolve=Qe(be,Le,_e),this.reject=Qe(Xe,Le,_e)},W.f=de=function(Le){return Le===F||Le===n?new s:oe(Le)},f||typeof t!="function"||(a=t.prototype.then,i(t.prototype,"then",function(Le,_e){var V=this;return new F(function(J,G){a.call(V,J,G)}).then(Le,_e)},{unsafe:!0}),typeof ie=="function"&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(Le){return U(F,ie.apply(r,arguments))}}))),c({global:!0,wrap:!0,forced:Te},{Promise:F}),p(F,Q,!1,!0),m(Q),n=o(Q),c({target:Q,stat:!0,forced:Te},{reject:function(Le){var _e=de(this);return _e.reject.call(void 0,Le),_e.promise}}),c({target:Q,stat:!0,forced:f||Te},{resolve:function(Le){return U(f&&this===n?F:this,Le)}}),c({target:Q,stat:!0,forced:Re},{all:function(Le){var _e=this,V=de(_e),J=V.resolve,G=V.reject,te=Z(function(){var ye=x(_e.resolve),we=[],ke=0,Ue=1;O(Le,function(Ne){var Ge=ke++,We=!1;we.push(void 0),Ue++,ye.call(_e,Ne).then(function(lt){We||(We=!0,we[Ge]=lt,--Ue||J(we))},G)}),--Ue||J(we)});return te.error&&G(te.value),V.promise},race:function(Le){var _e=this,V=de(_e),J=V.reject,G=Z(function(){var te=x(_e.resolve);O(Le,function(ye){te.call(_e,ye).then(V.resolve,J)})});return G.error&&J(G.value),V.promise}})},{"../internals/a-function":5,"../internals/an-instance":9,"../internals/check-correctness-of-iteration":27,"../internals/classof-raw":28,"../internals/engine-v8-version":48,"../internals/export":50,"../internals/get-built-in":56,"../internals/global":59,"../internals/host-report-errors":62,"../internals/inspect-source":68,"../internals/internal-state":70,"../internals/is-forced":73,"../internals/is-object":74,"../internals/is-pure":75,"../internals/iterate":77,"../internals/microtask":81,"../internals/native-promise-constructor":82,"../internals/new-promise-capability":86,"../internals/perform":105,"../internals/promise-resolve":106,"../internals/redefine":108,"../internals/redefine-all":107,"../internals/set-species":116,"../internals/set-to-string-tag":117,"../internals/species-constructor":121,"../internals/task":128,"../internals/well-known-symbol":146}],179:[function(r,S,v){var l=r("../internals/export"),u=r("../internals/get-built-in"),s=r("../internals/a-function"),n=r("../internals/an-object"),a=r("../internals/is-object"),c=r("../internals/object-create"),f=r("../internals/function-bind"),r=r("../internals/fails"),o=u("Reflect","construct"),t=r(function(){function p(){}return!(o(function(){},[],p)instanceof p)}),i=!r(function(){o(function(){})}),u=t||i;l({target:"Reflect",stat:!0,forced:u,sham:u},{construct:function(p,m){s(p),n(m);var b=arguments.length<3?p:s(arguments[2]);if(i&&!t)return o(p,m,b);if(p==b){switch(m.length){case 0:return new p;case 1:return new p(m[0]);case 2:return new p(m[0],m[1]);case 3:return new p(m[0],m[1],m[2]);case 4:return new p(m[0],m[1],m[2],m[3])}var x=[null];return x.push.apply(x,m),new(f.apply(p,x))}return x=b.prototype,b=c(a(x)?x:Object.prototype),x=Function.apply.call(p,b,m),a(x)?x:b}})},{"../internals/a-function":5,"../internals/an-object":10,"../internals/export":50,"../internals/fails":51,"../internals/function-bind":55,"../internals/get-built-in":56,"../internals/is-object":74,"../internals/object-create":90}],180:[function(e,S,v){var l=e("../internals/descriptors"),s=e("../internals/global"),n=e("../internals/is-forced"),a=e("../internals/inherit-if-required"),c=e("../internals/object-define-property").f,f=e("../internals/object-get-own-property-names").f,r=e("../internals/is-regexp"),o=e("../internals/regexp-flags"),t=e("../internals/regexp-sticky-helpers"),i=e("../internals/redefine"),u=e("../internals/fails"),p=e("../internals/internal-state").set,m=e("../internals/set-species"),b=e("../internals/well-known-symbol")("match"),x=s.RegExp,w=x.prototype,T=/a/g,M=/a/g,O=new x(T)!==T,L=t.UNSUPPORTED_Y;if(l&&n("RegExp",!O||L||u(function(){return M[b]=!1,x(T)!=T||x(M)==M||x(T,"i")!="/a/i"}))){for(var R=function(U,B){var W,Z=this instanceof R,q=r(U),$=B===void 0;return!Z&&q&&U.constructor===R&&$?U:(O?q&&!$&&(U=U.source):U instanceof R&&($&&(B=o.call(U)),U=U.source),L&&(W=!!B&&-1N;)(function(U){U in R||c(R,U,{configurable:!0,get:function(){return x[U]},set:function(B){x[U]=B}})})(A[N++]);(w.constructor=R).prototype=w,i(s,"RegExp",R)}m("RegExp")},{"../internals/descriptors":43,"../internals/fails":51,"../internals/global":59,"../internals/inherit-if-required":67,"../internals/internal-state":70,"../internals/is-forced":73,"../internals/is-regexp":76,"../internals/object-define-property":92,"../internals/object-get-own-property-names":95,"../internals/redefine":108,"../internals/regexp-flags":111,"../internals/regexp-sticky-helpers":112,"../internals/set-species":116,"../internals/well-known-symbol":146}],181:[function(s,S,v){var l=s("../internals/export"),s=s("../internals/regexp-exec");l({target:"RegExp",proto:!0,forced:/./.exec!==s},{exec:s})},{"../internals/export":50,"../internals/regexp-exec":110}],182:[function(a,S,v){var l=a("../internals/redefine"),s=a("../internals/an-object"),r=a("../internals/fails"),n=a("../internals/regexp-flags"),a="toString",c=RegExp.prototype,f=c[a],r=r(function(){return f.call({source:"a",flags:"b"})!="/a/b"}),o=f.name!=a;(r||o)&&l(RegExp.prototype,a,function(){var t=s(this),i=String(t.source),u=t.flags;return"/"+i+"/"+String(u===void 0&&t instanceof RegExp&&!("flags"in c)?n.call(t):u)},{unsafe:!0})},{"../internals/an-object":10,"../internals/fails":51,"../internals/redefine":108,"../internals/regexp-flags":111}],183:[function(s,S,v){var l=s("../internals/collection"),s=s("../internals/collection-strong");S.exports=l("Set",function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},s)},{"../internals/collection":32,"../internals/collection-strong":30}],184:[function(f,S,v){var l=f("../internals/export"),s=f("../internals/object-get-own-property-descriptor").f,n=f("../internals/to-length"),a=f("../internals/not-a-regexp"),c=f("../internals/require-object-coercible"),t=f("../internals/correct-is-regexp-logic"),f=f("../internals/is-pure"),r="".endsWith,o=Math.min,t=t("endsWith");l({target:"String",proto:!0,forced:!!(f||t||!(l=s(String.prototype,"endsWith"))||l.writable)&&!t},{endsWith:function(i){var u=String(c(this)),p=(a(i),1=o.length?{value:void 0,done:!0}:(o=l(o,t),r.index+=o.length,{value:o,done:!1})})},{"../internals/define-iterator":41,"../internals/internal-state":70,"../internals/string-multibyte":123}],187:[function(e,S,v){var l=e("../internals/fix-regexp-well-known-symbol-logic"),s=e("../internals/an-object"),n=e("../internals/to-length"),a=e("../internals/require-object-coercible"),c=e("../internals/advance-string-index"),f=e("../internals/regexp-exec-abstract");l("match",1,function(r,o,t){return[function(i){var u=a(this),p=i==null?void 0:i[r];return p!==void 0?p.call(i,u):new RegExp(i)[r](String(u))},function(i){var u=t(o,i,this);if(u.done)return u.value;var p=s(i),m=String(this);if(!p.global)return f(p,m);for(var b=p.unicode,x=[],w=p.lastIndex=0;(T=f(p,m))!==null;){var T=String(T[0]);(x[w]=T)===""&&(p.lastIndex=c(m,n(p.lastIndex),b)),w++}return w===0?null:x}]})},{"../internals/advance-string-index":8,"../internals/an-object":10,"../internals/fix-regexp-well-known-symbol-logic":52,"../internals/regexp-exec-abstract":109,"../internals/require-object-coercible":113,"../internals/to-length":134}],188:[function(e,S,v){e("../internals/export")({target:"String",proto:!0},{repeat:e("../internals/string-repeat")})},{"../internals/export":50,"../internals/string-repeat":125}],189:[function(e,S,v){var l=e("../internals/fix-regexp-well-known-symbol-logic"),s=e("../internals/an-object"),n=e("../internals/to-object"),a=e("../internals/to-length"),c=e("../internals/to-integer"),f=e("../internals/require-object-coercible"),r=e("../internals/advance-string-index"),o=e("../internals/regexp-exec-abstract"),t=Math.max,i=Math.min,u=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;l("replace",2,function(b,x,w,T){var M=T.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,O=T.REPLACE_KEEPS_$0,L=M?"$":"$0";return[function(R,A){var N=f(this),U=R==null?void 0:R[b];return U!==void 0?U.call(R,N,A):x.call(String(N),R,A)},function(R,A){if(!M&&O||typeof A=="string"&&A.indexOf(L)===-1){var N=w(x,R,this,A);if(N.done)return N.value}for(var U,B=s(R),W=String(this),Z=typeof A=="function",q=(Z||(A=String(A)),B.global),$=(q&&(U=B.unicode,B.lastIndex=0),[]);(C=o(B,W))!==null&&($.push(C),q);)String(C[0])===""&&(B.lastIndex=r(W,a(B.lastIndex),U));for(var z,X="",Q=0,se=0;se<$.length;se++){for(var C=$[se],P=String(C[0]),F=t(i(c(C.index),W.length),0),H=[],ee=1;ee>>0;if(A==0)return[];if(O===void 0)return[R];if(!s(O))return w.call(R,O,A);for(var N,U,B,W=[],L=(O.ignoreCase?"i":"")+(O.multiline?"m":"")+(O.unicode?"u":"")+(O.sticky?"y":""),Z=0,q=new RegExp(O.source,L+"g");(N=t.call(q,R))&&!(Z<(U=q.lastIndex)&&(W.push(R.slice(Z,N.index)),1=A));)q.lastIndex===N.index&&q.lastIndex++;return Z===R.length?!B&&q.test("")||W.push(""):W.push(R.slice(Z)),W.length>A?W.slice(0,A):W}:"0".split(void 0,0).length?function(O,L){return O===void 0&&L===0?[]:w.call(this,O,L)}:w;return[function(O,L){var R=a(this),A=O==null?void 0:O[x];return A!==void 0?A.call(O,R,L):M.call(String(R),O,L)},function(N,L){var R=T(M,N,this,L,M!==w);if(R.done)return R.value;var R=n(N),A=String(this),N=c(R,RegExp),U=R.unicode,B=(R.ignoreCase?"i":"")+(R.multiline?"m":"")+(R.unicode?"u":"")+(b?"y":"g"),W=new N(b?R:"^(?:"+R.source+")",B),Z=L===void 0?m:L>>>0;if(Z==0)return[];if(A.length===0)return o(W,A)===null?[A]:[];for(var q=0,$=0,z=[];$ie.key){le.splice(de,0,ie);break}de===K&&le.push(ie)}oe.updateURL()},forEach:function(ie){for(var de,oe=z(this).entries,le=w(ie,16))return;for(At=0;Wt();){if(Ht=null,At>0)if(Wt()=="."&&At<4)He++;else return;if(!F.test(Wt()))return;for(;F.test(Wt());){if(br=parseInt(Wt(),10),Ht===null)Ht=br;else{if(Ht==0)return;Ht=Ht*10+br}if(Ht>255)return;He++}yt[Ve]=yt[Ve]*256+Ht,At++,(At==2||At==4)&&Ve++}if(At!=4)return;break}else if(Wt()==":"){if(He++,!Wt())return}else if(Wt())return;yt[Ve++]=Ut}if(ht!==null)for(ur=Ve-ht,Ve=7;Ve!=0&&ur>0;)xr=yt[Ve],yt[Ve--]=yt[ht+ur-1],yt[ht+--ur]=xr;else if(Ve!=8)return;return yt}(Fe.slice(1,-1)))?void(ce.host=qe):Q;if(Me(ce))return Fe=O(Fe),de.test(Fe)||(qe=function(Ie){var yt=Ie.split("."),Ve,ht,He,Ut,Vt,At,Ht;if(yt.length&&yt[yt.length-1]==""&&yt.pop(),(Ve=yt.length)>4)return Ie;for(ht=[],He=0;He1&&Ut.charAt(0)=="0"&&(Vt=H.test(Ut)?16:8,Ut=Ut.slice(Vt==8?1:2)),Ut==="")At=0;else{if(!(Vt==10?ae:Vt==8?ee:ie).test(Ut))return Ie;At=parseInt(Ut,Vt)}ht.push(At)}for(He=0;He=$(256,5-Ve))return null}else if(At>255)return null;for(Ht=ht.pop(),He=0;He":1,"`":1}),pe=w({},ve,{"#":1,"?":1,"{":1,"}":1}),Oe=w({},pe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Te=function(ce,Fe){var qe=M(ce,0);return 32"u"&&l!==void 0&&{}.toString.call(l)==="[object process]",b=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function x(){var K=setTimeout;return function(){return K(T,1)}}var w=new Array(1e3);function T(){for(var K=0;KR,applyPalette:()=>function(Z,q,$="rgb565"){if(!Z||!Z.buffer)throw new Error("quantize() expected RGBA Uint8Array data");if(!(Z instanceof Uint8Array||Z instanceof Uint8ClampedArray))throw new Error("quantize() expected RGBA Uint8Array data");if(256>24&255,F=ee>>16&255,H=ee>>8&255,ee=255&ee,ae=i(ee,H,F,P),ae=ae in C?C[ae]:C[ae]=function(K,fe,ge,ve,pe){let Oe=0,Te=1e100;for(let $e=0;$eTe||(Re=Me[0],(Be+=M(Re-K))>Te||(Re=Me[1],(Be+=M(Re-fe))>Te||(Re=Me[2],(Be+=M(Re-ge))>Te||(Te=Be,Oe=$e))))}return Oe}(ee,H,F,P,q);se[me]=ae}else{const me=$==="rgb444"?u:t;for(let K=0;K>16&255,de=oe>>8&255,oe=255&oe,le=me(oe,de,ie),le=le in C?C[le]:C[le]=function(fe,ge,ve,pe){let Oe=0,Te=1e100;for(let $e=0;$eTe||(Re=Me[1],(Be+=M(Re-ge))>Te||(Re=Me[2],(Be+=M(Re-ve))>Te||(Te=Be,Oe=$e)))}return Oe}(oe,de,ie,q);se[K]=le}}return se},default:()=>W,nearestColor:()=>function(Z,q,$=w){return Z[O(Z,q,$)]},nearestColorIndex:()=>O,nearestColorIndexWithDistance:()=>L,prequantize:()=>function(Z,{roundRGB:q=5,roundAlpha:$=10,oneBitAlpha:z=null}={}){const X=new Uint32Array(Z.buffer);for(let F=0;F>24&255;var Q,se=P>>16&255,C=P>>8&255,P=255&P;H=T(H,$),z&&(Q=typeof z=="number"?z:127,H=H<=Q?0:255),P=T(P,q),C=T(C,q),se=T(se,q),X[F]=H<<24|se<<16|C<<8|P<<0}},quantize:()=>function(Z,q,$={}){var{format:z="rgb565",clearAlpha:X=!0,clearAlphaColor:Q=0,clearAlphaThreshold:se=0,oneBitAlpha:C=!1}=$;if(!Z||!Z.buffer)throw new Error("quantize() expected RGBA Uint8Array data");if(!(Z instanceof Uint8Array||Z instanceof Uint8ClampedArray))throw new Error("quantize() expected RGBA Uint8Array data");Z=new Uint32Array(Z.buffer);let P=$.useSqrt!==!1;const F=z==="rgba4444",H=function(ze,Qe){const Xe=Qe==="rgb444"?4096:65536,be=new Array(Xe),Le=ze.length;if(Qe==="rgba4444")for(let st=0;st>24&255,V=G>>16&255,J=G>>8&255,G=255&G,te=i(G,J,V,_e);let Je=te in be?be[te]:be[te]=x();Je.rc+=G,Je.gc+=J,Je.bc+=V,Je.ac+=_e,Je.cnt++}else if(Qe==="rgb444")for(let st=0;st>16&255,we=ke>>8&255,ke=255&ke,Ue=u(ke,we,ye);let Je=Ue in be?be[Ue]:be[Ue]=x();Je.rc+=ke,Je.gc+=we,Je.bc+=ye,Je.cnt++}else for(let st=0;st>16&255,Ge=We>>8&255,We=255&We,lt=t(We,Ge,Ne);let Je=lt in be?be[lt]:be[lt]=x();Je.rc+=We,Je.gc+=Ge,Je.bc+=Ne,Je.cnt++}return be}(Z,z),ee=H.length,ae=ee-1,ie=new Uint32Array(ee+1);for(var de=0,oe=0;oe>1,!(H[le=ie[K]].err<=fe));me=K)ie[me]=le;ie[me]=oe}var ge,ve=de-q;for(oe=0;oe=ge.mtm&&H[ge.nn].mtm<=ge.tm)break;for(ge.mtm==ae?pe=ie[1]=ie[ie[0]--]:(b(H,pe,!1),ge.tm=oe),fe=H[pe].err,me=1;(K=me+me)<=ie[0]&&(KH[ie[K+1]].err&&K++,!(fe<=H[le=ie[K]].err));me=K)ie[me]=le;ie[me]=pe}var Oe=H[ge.nn],Te=ge.cnt,Re=Oe.cnt,Me=1/(Te+Re);F&&(ge.ac=Me*(Te*ge.ac+Re*Oe.ac)),ge.rc=Me*(Te*ge.rc+Re*Oe.rc),ge.gc=Me*(Te*ge.gc+Re*Oe.gc),ge.bc=Me*(Te*ge.bc+Re*Oe.bc),ge.cnt+=Oe.cnt,ge.mtm=++oe,H[Oe.bk].fw=Oe.fw,H[Oe.fw].bk=Oe.bk,Oe.mtm=ae}let Be=[];for(oe=0;;0){let ze=p(Math.round(H[oe].rc),0,255),Qe=p(Math.round(H[oe].gc),0,255),Xe=p(Math.round(H[oe].bc),0,255),be=255;F&&(be=p(Math.round(H[oe].ac),0,255),C&&($e=typeof C=="number"?C:127,be=be<=$e?0:255),X&&be<=se&&(ze=Qe=Xe=Q,be=0));var $e=F?[ze,Qe,Xe,be]:[ze,Qe,Xe];if(function(Le,_e){for(let G=0;Gfunction(Z,q,$=5){if(Z.length&&q.length){var z=Z.map(P=>P.slice(0,3)),X=$*$,Q=Z[0].length;for(let P=0;PQ?F.slice(0,3):F.slice();var C=L(z,F.slice(0,3),w),se=C[0],C=C[1];0>>0),Q!=0&&(X=Math.max(X,256));const se=$;$=new Uint8Array(X),0>=8,ee-=8;if((fe>le||de)&&(de?(oe=ie,le=(1<>=8,ee-=8;0>3}function i(Z,q,$,z){return Z>>4|240&q|(240&$)<<4|(240&z)<<8}function u(Z,q,$){return Z>>4<<8|240&q|$>>4}function p(Z,q,$){return Z>8&255)}function U(Z,q){for(var $=0;$>1,u=-7,p=n?b-1:0,m=n?-1:1,b=l[s+p];for(p+=m,f=b&(1<<-u)-1,b>>=-u,u+=o;0>=-u,u+=a;0>1,p=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=a?0:x-1,b=a?1:-1,x=s<0||s===0&&1/s<0?1:0;for(s=Math.abs(s),isNaN(s)||s===1/0?(o=isNaN(s)?1:0,r=i):(r=Math.floor(Math.log(s)/Math.LN2),s*(a=Math.pow(2,-r))<1&&(r--,a*=2),2<=(s+=1<=r+u?p/a:p*Math.pow(2,1-u))*a&&(r++,a/=2),i<=r+u?(o=0,r=i):1<=r+u?(o=(s*a-1)*Math.pow(2,c),r+=u):(o=s*Math.pow(2,u-1)*Math.pow(2,c),r=0));8<=c;l[n+m]=255&o,m+=b,o/=256,c-=8);for(r=r<Math.abs(V[0])&&(J=1),J=Math.abs(V[2])>Math.abs(V[J])?2:J}function N(V,J){V.f+=J.f,V.b.f+=J.b.f}function U(V,J,G){return V=V.a,J=J.a,G=G.a,J.b.a===V?G.b.a===V?n(J.a,G.a)?c(G.b.a,J.a,G.a)<=0:0<=c(J.b.a,G.a,J.a):c(G.b.a,V,G.a)<=0:G.b.a===V?0<=c(J.b.a,V,J.a):(J=a(J.b.a,V,J.a),(V=a(G.b.a,V,G.a))<=J)}function B(V){V.a.i=null;var J=V.e;J.a.c=J.c,J.c.a=J.a,V.e=null}function W(V,J){p(V.a),V.c=!1,(V.a=J).i=V}function Z(V){for(var J=V.a.a;(V=_e(V)).a.a===J;);return V.c&&(W(V,J=b(Le(V).a.b,V.a.e)),V=_e(V)),V}function q(V,J,G){var te=new be;return te.a=G,te.e=de(V.f,J.e,te),G.i=te}function $(V,J){switch(V.s){case 100130:return(1&J)!=0;case 100131:return J!==0;case 100132:return 0>1]],Ue[ke[Ge]])?Qe:Xe)(G,Ge),Ue[we]=null,Ne[we]=G.b,G.b=we}else for(G.c[-(we+1)]=null;0Math.max(ke.a,Ne.a))){if(n(we,ke)){if(0G.f&&(G.f*=2,G.c=Be(G.c,G.f+1)),G.b===0?ye=te:(ye=G.b,G.b=G.c[G.b]),G.e[ye]=J,G.c[ye]=te,G.d[te]=ye,G.h&&Xe(G,te),ye):(G=V.a++,V.c[G]=J,-(G+1))}function Re(V){if(V.a===0)return ze(V.b);var J=V.c[V.d[V.a-1]];if(V.b.a!==0&&n($e(V.b),J))return ze(V.b);for(;--V.a,0V.a||n(te[ke],te[Ne])){ye[G[we]=ke]=we;break}ye[G[we]=Ne]=we,we=Ue}}function Xe(V,J){for(var G=V.d,te=V.e,ye=V.c,we=J,ke=G[we];;){var Ue=we>>1,Ne=G[Ue];if(Ue==0||n(te[Ne],te[ke])){ye[G[we]=ke]=we;break}ye[G[we]=Ne]=we,we=Ue}}function be(){this.e=this.a=null,this.f=0,this.c=this.b=this.h=this.d=!1}function Le(V){return V.e.c.b}function _e(V){return V.e.a.b}(l=le.prototype).x=function(){me(this,0)},l.B=function(V,J){switch(V){case 100142:return;case 100140:switch(J){case 100130:case 100131:case 100132:case 100133:case 100134:return void(this.s=J)}break;case 100141:return void(this.m=!!J);default:return void K(this,100900)}K(this,100901)},l.y=function(V){switch(V){case 100142:return 0;case 100140:return this.s;case 100141:return this.m;default:K(this,100900)}return!1},l.A=function(V,J,G){this.j[0]=V,this.j[1]=J,this.j[2]=G},l.z=function(V,J){var G=J||null;switch(V){case 100100:case 100106:this.h=G;break;case 100104:case 100110:this.l=G;break;case 100101:case 100107:this.k=G;break;case 100102:case 100108:this.i=G;break;case 100103:case 100109:this.p=G;break;case 100105:case 100111:this.o=G;break;case 100112:this.r=G;break;default:K(this,100900)}},l.C=function(V,J){var G=!1,te=[0,0,0];me(this,2);for(var ye=0;ye<3;++ye){var we=V[ye];we<-1e150&&(we=-1e150,G=!0),1e150te[Ge]&&(te[Ge]=We,ye[Ge]=G)}if(te[1]-Ue[1]>te[G=0]-Ue[0]&&(G=1),Ue[G=te[2]-Ue[2]>te[G]-Ue[G]?2:G]>=te[G])ke[0]=0,ke[1]=0,ke[2]=1;else{for(Ue=Ne[G],ye=ye[G],Ne=[te=0,0,0],Ue=[Ue.g[0]-ye.g[0],Ue.g[1]-ye.g[1],Ue.g[2]-ye.g[2]],Ge=[0,0,0],G=we.e;G!==we;G=G.e)Ge[0]=G.g[0]-ye.g[0],Ge[1]=G.g[1]-ye.g[1],Ge[2]=G.g[2]-ye.g[2],Ne[0]=Ue[1]*Ge[2]-Ue[2]*Ge[1],Ne[1]=Ue[2]*Ge[0]-Ue[0]*Ge[2],Ne[2]=Ue[0]*Ge[1]-Ue[1]*Ge[0],te<(We=Ne[0]*Ne[0]+Ne[1]*Ne[1]+Ne[2]*Ne[2])&&(te=We,ke[0]=Ne[0],ke[1]=Ne[1],ke[2]=Ne[2]);te<=0&&(ke[0]=ke[1]=ke[2]=0,ke[A(Ue)]=1)}we=!0}for(Ne=A(ke),G=this.b.c,te=(Ne+1)%3,ye=(Ne+2)%3,Ne=0>=1;)++u;if(m=1<>8&255,n[r++]=255&c,n[r++]=c>>8&255,n[r++]=(t!==null?128:0)|u,n[r++]=p,n[r++]=0,t!==null)for(var b=0,x=t.length;b>16&255,n[r++]=w>>8&255,n[r++]=255&w}if(o!==null){if(o<0||65535>8&255,n[r++]=0}var T=!1;this.addFrame=function(M,O,L,R,A,N){if(T===!0&&(--r,T=!1),N=N===void 0?{}:N,M<0||O<0||65535>=1;)++W;var Z=1<>8&255,n[r++]=X,n[r++]=0),n[r++]=44,n[r++]=255&M,n[r++]=M>>8&255,n[r++]=255&O,n[r++]=O>>8&255,n[r++]=255&L,n[r++]=L>>8&255,n[r++]=255&R,n[r++]=R>>8&255,n[r++]=U===!0?128|W-1:0,U===!0)for(var Q=0,se=B.length;Q>16&255,n[r++]=C>>8&255,n[r++]=255&C}return r=function(P,F,H,ee){P[F++]=H;var ae=F++,ie=1<>=8,K-=8,F===ae+256&&(P[ae]=255,ae=F++)}function ve(ze){fe|=ze<>=8,K-=8,F===ae+256&&(P[ae]=255,ae=F++);le===4096?(ve(ie),le=1+oe,me=H+1,Oe={}):(1<>=u,m-=u,O==o)i=1+t,p=(1<<(u=r+1))-1,M=null;else{if(O==t)break;for(var L=O>8,++R;var N=A;if(f>=8;M!==null&&i<4096&&(T[i++]=M<<8|N,p+1<=i&&u<12&&(++u,p=p<<1|1)),M=O}}x!==f&&console.log("Warning, gif stream shorter than expected.")}try{v.GifWriter=l,v.GifReader=function(n){var a=0;if(n[a++]!==71||n[a++]!==73||n[a++]!==70||n[a++]!==56||(n[a++]+1&253)!=56||n[a++]!==97)throw new Error("Invalid GIF 87a/89a header.");var c=n[a++]|n[a++]<<8,f=n[a++]|n[a++]<<8,r=n[a++],o=1<<1+(7&r),t=(n[a++],n[a++],null),i=null,u=(r>>7&&(t=a,a+=3*(i=o)),!0),p=[],m=0,b=null,x=0,w=null;for(this.width=c,this.height=f;u&&a>2&7,a++;break;case 254:for(;;){if(!(0<=(M=n[a++])))throw Error("Invalid block size");if(M===0)break;a+=M}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var M,O=n[a++]|n[a++]<<8,L=n[a++]|n[a++]<<8,R=n[a++]|n[a++]<<8,A=n[a++]|n[a++]<<8,q=n[a++],N=q>>6&1,U=1<<1+(7&q),B=t,W=i,Z=!1,q=(q>>7&&(Z=!0,B=a,a+=3*(W=U)),a);for(a++;;){if(!(0<=(M=n[a++])))throw Error("Invalid block size");if(M===0)break;a+=M}p.push({x:O,y:L,width:R,height:A,has_local_palette:Z,palette_offset:B,palette_size:W,data_offset:q,data_length:a-q,transparent_index:b,interlaced:!!N,delay:m,disposal:x});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return p.length},this.loopCount=function(){return w},this.frameInfo=function($){if($<0||$>=p.length)throw new Error("Frame index out of range.");return p[$]},this.decodeAndBlitFrameBGRA=function($,z){for(var $=this.frameInfo($),X=$.width*$.height,Q=new Uint8Array(X),se=(s(n,$.data_offset,Q,X),$.palette_offset),C=$.transparent_index,P=(C===null&&(C=256),$.width),F=c-P,H=P,ee=4*($.y*c+$.x),ae=4*(($.y+$.height)*c+$.x),ie=ee,de=4*F,oe=($.interlaced===!0&&(de+=4*c*7),8),le=0,me=Q.length;le>=1)),ge===C?ie+=4:(K=n[se+3*ge],fe=n[se+3*ge+1],ge=n[se+3*ge+2],z[ie++]=ge,z[ie++]=fe,z[ie++]=K,z[ie++]=255),--H}},this.decodeAndBlitFrameRGBA=function($,z){for(var $=this.frameInfo($),X=$.width*$.height,Q=new Uint8Array(X),se=(s(n,$.data_offset,Q,X),$.palette_offset),C=$.transparent_index,P=(C===null&&(C=256),$.width),F=c-P,H=P,ee=4*($.y*c+$.x),ae=4*(($.y+$.height)*c+$.x),ie=ee,de=4*F,oe=($.interlaced===!0&&(de+=4*c*7),8),le=0,me=Q.length;le>=1)),ge===C?ie+=4:(K=n[se+3*ge],fe=n[se+3*ge+1],ge=n[se+3*ge+2],z[ie++]=K,z[ie++]=fe,z[ie++]=ge,z[ie++]=255),--H}}}}catch{}},{}],241:[function(e,S,v){(function(l){var s,n;s=this,n=function(a){function c(k){if(this==null)throw TypeError();var g,_=String(this),j=_.length,k=k?Number(k):0;if(!((k=k!=k?0:k)<0||j<=k))return 55296<=(g=_.charCodeAt(k))&&g<=56319&&k+1>>16-g;return d.tag>>>=g,d.bitcount-=g,j+_}function U(d,g){for(;d.bitcount<24;)d.tag|=d.source[d.sourceIndex++]<>>=1,_+=g.table[++k],0<=(j-=g.table[k]););return d.tag=I,d.bitcount-=k,g.trans[_+j]}function B(d,g,_){for(;;){var j=U(d,g);if(j===256)return r;if(j<256)d.dest[d.destLen++]=j;else for(var k,I=N(d,m[j-=257],b[j]),j=U(d,_),D=k=d.destLen-N(d,x[j],w[j]);D>>=1,j=k,N(I,2,0)){case 0:_=function(Ee){for(var Ke,it;8this.x2&&(this.x2=d)),typeof g=="number"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=g,this.y2=g),gthis.y2&&(this.y2=g))},X.prototype.addX=function(d){this.addPoint(d,null)},X.prototype.addY=function(d){this.addPoint(null,d)},X.prototype.addBezier=function(d,g,_,j,k,I,D,Y){var ne=[d,g],re=[_,j],he=[k,I],je=[D,Y];this.addPoint(d,g),this.addPoint(D,Y);for(var xe=0;xe<=1;xe++){var ue,Ae=6*ne[xe]-12*re[xe]+6*he[xe],Ce=-3*ne[xe]+9*re[xe]-9*he[xe]+3*je[xe],Pe=3*re[xe]-3*ne[xe];Ce==0?Ae==0||0<(ue=-Pe/Ae)&&ue<1&&(xe===0&&this.addX(z(ne[xe],re[xe],he[xe],je[xe],ue)),xe===1&&this.addY(z(ne[xe],re[xe],he[xe],je[xe],ue))):(ue=Math.pow(Ae,2)-4*Pe*Ce)<0||(0<(Pe=(-Ae+Math.sqrt(ue))/(2*Ce))&&Pe<1&&(xe===0&&this.addX(z(ne[xe],re[xe],he[xe],je[xe],Pe)),xe===1&&this.addY(z(ne[xe],re[xe],he[xe],je[xe],Pe))),0<(Pe=(-Ae-Math.sqrt(ue))/(2*Ce))&&Pe<1&&(xe===0&&this.addX(z(ne[xe],re[xe],he[xe],je[xe],Pe)),xe===1&&this.addY(z(ne[xe],re[xe],he[xe],je[xe],Pe))))}},X.prototype.addQuad=function(d,g,_,j,k,I){_=d+2/3*(_-d),j=g+2/3*(j-g),this.addBezier(d,g,_,j,_+1/3*(k-d),j+1/3*(I-g),k,I)},Q.prototype.moveTo=function(d,g){this.commands.push({type:"M",x:d,y:g})},Q.prototype.lineTo=function(d,g){this.commands.push({type:"L",x:d,y:g})},Q.prototype.curveTo=Q.prototype.bezierCurveTo=function(d,g,_,j,k,I){this.commands.push({type:"C",x1:d,y1:g,x2:_,y2:j,x:k,y:I})},Q.prototype.quadTo=Q.prototype.quadraticCurveTo=function(d,g,_,j){this.commands.push({type:"Q",x1:d,y1:g,x:_,y:j})},Q.prototype.close=Q.prototype.closePath=function(){this.commands.push({type:"Z"})},Q.prototype.extend=function(d){var g;if(d.commands)d=d.commands;else if(d instanceof X)return g=d,this.moveTo(g.x1,g.y1),this.lineTo(g.x2,g.y1),this.lineTo(g.x2,g.y2),this.lineTo(g.x1,g.y2),void this.close();Array.prototype.push.apply(this.commands,d)},Q.prototype.getBoundingBox=function(){for(var d=new X,g=0,_=0,j=0,k=0,I=0;I>8&255,255&d]},ee.USHORT=ae(2),H.SHORT=function(d){return[(d=32768<=d?-(65536-d):d)>>8&255,255&d]},ee.SHORT=ae(2),H.UINT24=function(d){return[d>>16&255,d>>8&255,255&d]},ee.UINT24=ae(3),H.ULONG=function(d){return[d>>24&255,d>>16&255,d>>8&255,255&d]},ee.ULONG=ae(4),H.LONG=function(d){return[(d=2147483648<=d?-(4294967296-d):d)>>24&255,d>>16&255,d>>8&255,255&d]},ee.LONG=ae(4),H.FIXED=H.ULONG,ee.FIXED=ee.ULONG,H.FWORD=H.SHORT,ee.FWORD=ee.SHORT,H.UFWORD=H.USHORT,ee.UFWORD=ee.USHORT,H.LONGDATETIME=function(d){return[0,0,0,0,d>>24&255,d>>16&255,d>>8&255,255&d]},ee.LONGDATETIME=ae(8),H.TAG=function(d){return P.argument(d.length===4,"Tag should be exactly 4 ASCII characters."),[d.charCodeAt(0),d.charCodeAt(1),d.charCodeAt(2),d.charCodeAt(3)]},ee.TAG=ae(4),H.Card8=H.BYTE,ee.Card8=ee.BYTE,H.Card16=H.USHORT,ee.Card16=ee.USHORT,H.OffSize=H.BYTE,ee.OffSize=ee.BYTE,H.SID=H.USHORT,ee.SID=ee.USHORT,H.NUMBER=function(d){return-107<=d&&d<=107?[d+139]:108<=d&&d<=1131?[247+((d-=108)>>8),255&d]:-1131<=d&&d<=-108?[251+((d=-d-108)>>8),255&d]:-32768<=d&&d<=32767?H.NUMBER16(d):H.NUMBER32(d)},ee.NUMBER=function(d){return H.NUMBER(d).length},H.NUMBER16=function(d){return[28,d>>8&255,255&d]},ee.NUMBER16=ae(3),H.NUMBER32=function(d){return[29,d>>24&255,d>>16&255,d>>8&255,255&d]},ee.NUMBER32=ae(5),H.REAL=function(d){for(var g=d.toString(),_=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(g),j=(_&&(_=parseFloat("1e"+((_[2]?+_[2]:0)+_[1].length)),g=(Math.round(d*_)/_).toString()),""),k=0,I=g.length;k>8&255,g[g.length]=255&j}return g},ee.UTF16=function(d){return 2*d.length};var ie,de={"x-mac-croatian":"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\u0160\u2122\xB4\xA8\u2260\u017D\xD8\u221E\xB1\u2264\u2265\u2206\xB5\u2202\u2211\u220F\u0161\u222B\xAA\xBA\u03A9\u017E\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u0106\xAB\u010C\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u0110\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\uF8FF\xA9\u2044\u20AC\u2039\u203A\xC6\xBB\u2013\xB7\u201A\u201E\u2030\xC2\u0107\xC1\u010D\xC8\xCD\xCE\xCF\xCC\xD3\xD4\u0111\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u03C0\xCB\u02DA\xB8\xCA\xE6\u02C7","x-mac-cyrillic":"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u2020\xB0\u0490\xA3\xA7\u2022\xB6\u0406\xAE\xA9\u2122\u0402\u0452\u2260\u0403\u0453\u221E\xB1\u2264\u2265\u0456\xB5\u0491\u0408\u0404\u0454\u0407\u0457\u0409\u0459\u040A\u045A\u0458\u0405\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\u040B\u045B\u040C\u045C\u0455\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u201E\u040E\u045E\u040F\u045F\u2116\u0401\u0451\u044F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E","x-mac-gaelic":"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u1E02\xB1\u2264\u2265\u1E03\u010A\u010B\u1E0A\u1E0B\u1E1E\u1E1F\u0120\u0121\u1E40\xE6\xF8\u1E41\u1E56\u1E57\u027C\u0192\u017F\u1E60\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\u1E61\u1E9B\xFF\u0178\u1E6A\u20AC\u2039\u203A\u0176\u0177\u1E6B\xB7\u1EF2\u1EF3\u204A\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\u2663\xD2\xDA\xDB\xD9\u0131\xDD\xFD\u0174\u0175\u1E84\u1E85\u1E80\u1E81\u1E82\u1E83","x-mac-greek":"\xC4\xB9\xB2\xC9\xB3\xD6\xDC\u0385\xE0\xE2\xE4\u0384\xA8\xE7\xE9\xE8\xEA\xEB\xA3\u2122\xEE\xEF\u2022\xBD\u2030\xF4\xF6\xA6\u20AC\xF9\xFB\xFC\u2020\u0393\u0394\u0398\u039B\u039E\u03A0\xDF\xAE\xA9\u03A3\u03AA\xA7\u2260\xB0\xB7\u0391\xB1\u2264\u2265\xA5\u0392\u0395\u0396\u0397\u0399\u039A\u039C\u03A6\u03AB\u03A8\u03A9\u03AC\u039D\xAC\u039F\u03A1\u2248\u03A4\xAB\xBB\u2026\xA0\u03A5\u03A7\u0386\u0388\u0153\u2013\u2015\u201C\u201D\u2018\u2019\xF7\u0389\u038A\u038C\u038E\u03AD\u03AE\u03AF\u03CC\u038F\u03CD\u03B1\u03B2\u03C8\u03B4\u03B5\u03C6\u03B3\u03B7\u03B9\u03BE\u03BA\u03BB\u03BC\u03BD\u03BF\u03C0\u03CE\u03C1\u03C3\u03C4\u03B8\u03C9\u03C2\u03C7\u03C5\u03B6\u03CA\u03CB\u0390\u03B0\xAD","x-mac-icelandic":"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\xDD\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u03A9\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\u20AC\xD0\xF0\xDE\xFE\xFD\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uF8FF\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7","x-mac-inuit":"\u1403\u1404\u1405\u1406\u140A\u140B\u1431\u1432\u1433\u1434\u1438\u1439\u1449\u144E\u144F\u1450\u1451\u1455\u1456\u1466\u146D\u146E\u146F\u1470\u1472\u1473\u1483\u148B\u148C\u148D\u148E\u1490\u1491\xB0\u14A1\u14A5\u14A6\u2022\xB6\u14A7\xAE\xA9\u2122\u14A8\u14AA\u14AB\u14BB\u14C2\u14C3\u14C4\u14C5\u14C7\u14C8\u14D0\u14EF\u14F0\u14F1\u14F2\u14F4\u14F5\u1505\u14D5\u14D6\u14D7\u14D8\u14DA\u14DB\u14EA\u1528\u1529\u152A\u152B\u152D\u2026\xA0\u152E\u153E\u1555\u1556\u1557\u2013\u2014\u201C\u201D\u2018\u2019\u1558\u1559\u155A\u155D\u1546\u1547\u1548\u1549\u154B\u154C\u1550\u157F\u1580\u1581\u1582\u1583\u1584\u1585\u158F\u1590\u1591\u1592\u1593\u1594\u1595\u1671\u1672\u1673\u1674\u1675\u1676\u1596\u15A0\u15A1\u15A2\u15A3\u15A4\u15A5\u15A6\u157C\u0141\u0142","x-mac-ce":"\xC4\u0100\u0101\xC9\u0104\xD6\xDC\xE1\u0105\u010C\xE4\u010D\u0106\u0107\xE9\u0179\u017A\u010E\xED\u010F\u0112\u0113\u0116\xF3\u0117\xF4\xF6\xF5\xFA\u011A\u011B\xFC\u2020\xB0\u0118\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\u0119\xA8\u2260\u0123\u012E\u012F\u012A\u2264\u2265\u012B\u0136\u2202\u2211\u0142\u013B\u013C\u013D\u013E\u0139\u013A\u0145\u0146\u0143\xAC\u221A\u0144\u0147\u2206\xAB\xBB\u2026\xA0\u0148\u0150\xD5\u0151\u014C\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\u014D\u0154\u0155\u0158\u2039\u203A\u0159\u0156\u0157\u0160\u201A\u201E\u0161\u015A\u015B\xC1\u0164\u0165\xCD\u017D\u017E\u016A\xD3\xD4\u016B\u016E\xDA\u016F\u0170\u0171\u0172\u0173\xDD\xFD\u0137\u017B\u0141\u017C\u0122\u02C7",macintosh:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u03A9\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\u20AC\u2039\u203A\uFB01\uFB02\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uF8FF\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7","x-mac-romanian":"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\u0102\u0218\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u03A9\u0103\u0219\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\u20AC\u2039\u203A\u021A\u021B\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uF8FF\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7","x-mac-turkish":"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u03A9\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u011E\u011F\u0130\u0131\u015E\u015F\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uF8FF\xD2\xDA\xDB\xD9\uF8A0\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},oe=(F.MACSTRING=function(d,g,_,j){var k=de[j];if(k!==void 0){for(var I="",D=0;D<_;D++){var Y=d.getUint8(g+D);I+=Y<=127?String.fromCharCode(Y):k[127&Y]}return I}},typeof WeakMap=="function"&&new WeakMap);function le(d){return-128<=d&&d<=127}H.MACSTRING=function(d,g){var _=function(D){if(!ie)for(var Y in ie={},de)ie[Y]=new String(Y);var ne=ie[D];if(ne!==void 0){if(oe){var re=oe.get(ne);if(re!==void 0)return re}var he=de[D];if(he!==void 0){for(var je={},xe=0;xe>8&255,xe+256&255)}return re})(d,j,g);return g},H.INDEX=function(d){for(var g=1,_=[g],j=[],k=0;k>8,g[he+1]=255&je,g=g.concat(j[re])}return g},ee.TABLE=function(d){for(var g=0,_=d.fields.length,j=0;j<_;j+=1){var k=d.fields[j],I=ee[k.type],D=(P.argument(I!==void 0,"No sizeOf function for field type "+k.type+" ("+k.name+")"),d[k.name]);g+=I(D=D===void 0?k.value:D),k.type==="TABLE"&&(g+=2)}return g},H.RECORD=H.TABLE,ee.RECORD=ee.TABLE,H.LITERAL=function(d){return d},ee.LITERAL=function(d){return d.length},K.prototype.encode=function(){return H.TABLE(this)},K.prototype.sizeOf=function(){return ee.TABLE(this)};var Me={Table:K,Record:K,Coverage:(pe.prototype=Object.create(K.prototype)).constructor=pe,ScriptList:(Oe.prototype=Object.create(K.prototype)).constructor=Oe,FeatureList:(Te.prototype=Object.create(K.prototype)).constructor=Te,LookupList:(Re.prototype=Object.create(K.prototype)).constructor=Re,ushortList:fe,tableList:ge,recordList:ve};function Be(d,g){return d.getUint8(g)}function $e(d,g){return d.getUint16(g,!1)}function ze(d,g){return d.getUint32(g,!1)}function Qe(d,g){return d.getInt16(g,!1)+d.getUint16(g+2,!1)/65535}var Xe={byte:1,uShort:2,short:2,uLong:4,fixed:4,longDateTime:8,tag:4};function be(d,g){this.data=d,this.offset=g,this.relativeOffset=0}be.prototype.parseByte=function(){var d=this.data.getUint8(this.offset+this.relativeOffset);return this.relativeOffset+=1,d},be.prototype.parseChar=function(){var d=this.data.getInt8(this.offset+this.relativeOffset);return this.relativeOffset+=1,d},be.prototype.parseCard8=be.prototype.parseByte,be.prototype.parseCard16=be.prototype.parseUShort=function(){var d=this.data.getUint16(this.offset+this.relativeOffset);return this.relativeOffset+=2,d},be.prototype.parseSID=be.prototype.parseUShort,be.prototype.parseOffset16=be.prototype.parseUShort,be.prototype.parseShort=function(){var d=this.data.getInt16(this.offset+this.relativeOffset);return this.relativeOffset+=2,d},be.prototype.parseF2Dot14=function(){var d=this.data.getInt16(this.offset+this.relativeOffset)/16384;return this.relativeOffset+=2,d},be.prototype.parseOffset32=be.prototype.parseULong=function(){var d=ze(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,d},be.prototype.parseFixed=function(){var d=Qe(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,d},be.prototype.parseString=function(d){var g=this.data,_=this.offset+this.relativeOffset,j="";this.relativeOffset+=d;for(var k=0;k>1,Y.skip("uShort",3),Pe.glyphIndexMap={};for(var it,et=new _e.Parser(Se,Ee+Ke+14),rt=new _e.Parser(Se,Ee+Ke+16+2*it),ct=new _e.Parser(Se,Ee+Ke+16+4*it),jt=new _e.Parser(Se,Ee+Ke+16+6*it),It=Ee+Ke+16+8*it,Bt=0;Bt>4,D=15&D;if(I==15||(j+=k[I],D==15))break;j+=k[D]}return parseFloat(j)}if(32<=g&&g<=246)return g-139;if(247<=g&&g<=250)return 256*(g-247)+d.parseByte()+108;if(251<=g&&g<=254)return 256*-(g-251)-d.parseByte()-108;throw new Error("Invalid b0 "+g)}function er(d,g,_){var j=new _e.Parser(d,g=g!==void 0?g:0),k=[],I=[];for(_=_!==void 0?_:d.length;j.relativeOffset<_;){var D=j.parseByte();D<=21?(D===12&&(D=1200+j.parseByte()),k.push([D,I]),I=[]):I.push(wt(j,D))}for(var Y=k,ne={},re=0;re>1,ue.length=0,Ce=!0}return function rt(ct){for(var jt,It,Bt,tr,rr,vr,_t,Tt,vt,nr,Ot,Zt,Ct=0;CtMath.abs(Zt-Ee)?Se=Ot+ue.shift():Ee=Zt+ue.shift(),xe.curveTo(j,k,I,D,_t,Tt),xe.curveTo(vt,nr,Ot,Zt,Se,Ee);break;default:console.log("Glyph "+g.index+": unknown operator 1200"+qt),ue.length=0}break;case 14:0>3;break;case 21:2>16),Ct+=2;break;case 29:rr=ue.pop()+d.gsubrsBias,(vr=d.gsubrs[rr])&&rt(vr);break;case 30:for(;0=_.begin&&d<_.end)return g}return-1}},Rs={parse:function(d,g){var _={},j=new _e.Parser(d,g);switch(_.version=j.parseVersion(),_.italicAngle=j.parseFixed(),_.underlinePosition=j.parseShort(),_.underlineThickness=j.parseShort(),_.isFixedPitch=j.parseULong(),_.minMemType42=j.parseULong(),_.maxMemType42=j.parseULong(),_.minMemType1=j.parseULong(),_.maxMemType1=j.parseULong(),_.version){case 1:_.names=ye.slice();break;case 2:_.numberOfGlyphs=j.parseUShort(),_.glyphNameIndex=new Array(_.numberOfGlyphs);for(var k=0;k<_.numberOfGlyphs;k++)_.glyphNameIndex[k]=j.parseUShort();_.names=[];for(var I,D=0;D<_.numberOfGlyphs;D++)_.glyphNameIndex[D]>=ye.length&&(I=j.parseChar(),_.names.push(j.parseString(I)));break;case 2.5:_.numberOfGlyphs=j.parseUShort(),_.offset=new Array(_.numberOfGlyphs);for(var Y=0;Y<_.numberOfGlyphs;Y++)_.offset[Y]=j.parseChar()}return _},make:function(){return new Me.Table("post",[{name:"version",type:"FIXED",value:196608},{name:"italicAngle",type:"FIXED",value:0},{name:"underlinePosition",type:"FWORD",value:0},{name:"underlineThickness",type:"FWORD",value:0},{name:"isFixedPitch",type:"ULONG",value:0},{name:"minMemType42",type:"ULONG",value:0},{name:"maxMemType42",type:"ULONG",value:0},{name:"minMemType1",type:"ULONG",value:0},{name:"maxMemType1",type:"ULONG",value:0}])}},yr=new Array(9),Zr=(yr[1]=function(){var d=this.offset+this.relativeOffset,g=this.parseUShort();return g===1?{substFormat:1,coverage:this.parsePointer(be.coverage),deltaGlyphId:this.parseUShort()}:g===2?{substFormat:2,coverage:this.parsePointer(be.coverage),substitute:this.parseOffset16List()}:void P.assert(!1,"0x"+d.toString(16)+": lookup type 1 format must be 1 or 2.")},yr[2]=function(){var d=this.parseUShort();return P.argument(d===1,"GSUB Multiple Substitution Subtable identifier-format must be 1"),{substFormat:d,coverage:this.parsePointer(be.coverage),sequences:this.parseListOfLists()}},yr[3]=function(){var d=this.parseUShort();return P.argument(d===1,"GSUB Alternate Substitution Subtable identifier-format must be 1"),{substFormat:d,coverage:this.parsePointer(be.coverage),alternateSets:this.parseListOfLists()}},yr[4]=function(){var d=this.parseUShort();return P.argument(d===1,"GSUB ligature table identifier-format must be 1"),{substFormat:d,coverage:this.parsePointer(be.coverage),ligatureSets:this.parseListOfLists(function(){return{ligGlyph:this.parseUShort(),components:this.parseUShortList(this.parseUShort()-1)}})}},{sequenceIndex:be.uShort,lookupListIndex:be.uShort});yr[5]=function(){var d,g,_=this.offset+this.relativeOffset,j=this.parseUShort();return j===1?{substFormat:j,coverage:this.parsePointer(be.coverage),ruleSets:this.parseListOfLists(function(){var k=this.parseUShort(),I=this.parseUShort();return{input:this.parseUShortList(k-1),lookupRecords:this.parseRecordList(I,Zr)}})}:j===2?{substFormat:j,coverage:this.parsePointer(be.coverage),classDef:this.parsePointer(be.classDef),classSets:this.parseListOfLists(function(){var k=this.parseUShort(),I=this.parseUShort();return{classes:this.parseUShortList(k-1),lookupRecords:this.parseRecordList(I,Zr)}})}:j===3?(d=this.parseUShort(),g=this.parseUShort(),{substFormat:j,coverages:this.parseList(d,be.pointer(be.coverage)),lookupRecords:this.parseRecordList(g,Zr)}):void P.assert(!1,"0x"+_.toString(16)+": lookup type 5 format must be 1, 2 or 3.")},yr[6]=function(){var d=this.offset+this.relativeOffset,g=this.parseUShort();return g===1?{substFormat:1,coverage:this.parsePointer(be.coverage),chainRuleSets:this.parseListOfLists(function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(Zr)}})}:g===2?{substFormat:2,coverage:this.parsePointer(be.coverage),backtrackClassDef:this.parsePointer(be.classDef),inputClassDef:this.parsePointer(be.classDef),lookaheadClassDef:this.parsePointer(be.classDef),chainClassSet:this.parseListOfLists(function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(Zr)}})}:g===3?{substFormat:3,backtrackCoverage:this.parseList(be.pointer(be.coverage)),inputCoverage:this.parseList(be.pointer(be.coverage)),lookaheadCoverage:this.parseList(be.pointer(be.coverage)),lookupRecords:this.parseRecordList(Zr)}:void P.assert(!1,"0x"+d.toString(16)+": lookup type 6 format must be 1, 2 or 3.")},yr[7]=function(){var d=this.parseUShort(),d=(P.argument(d===1,"GSUB Extension Substitution subtable identifier-format must be 1"),this.parseUShort()),g=new be(this.data,this.offset+this.parseULong());return{substFormat:1,lookupType:d,extension:yr[d].call(g)}},yr[8]=function(){var d=this.parseUShort();return P.argument(d===1,"GSUB Reverse Chaining Contextual Single Substitution Subtable identifier-format must be 1"),{substFormat:d,coverage:this.parsePointer(be.coverage),backtrackCoverage:this.parseList(be.pointer(be.coverage)),lookaheadCoverage:this.parseList(be.pointer(be.coverage)),substitutes:this.parseUShortList()}};var Rn=new Array(9);Rn[1]=function(d){return d.substFormat===1?new Me.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new Me.Coverage(d.coverage)},{name:"deltaGlyphID",type:"USHORT",value:d.deltaGlyphId}]):new Me.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:2},{name:"coverage",type:"TABLE",value:new Me.Coverage(d.coverage)}].concat(Me.ushortList("substitute",d.substitute)))},Rn[3]=function(d){return P.assert(d.substFormat===1,"Lookup type 3 substFormat must be 1."),new Me.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new Me.Coverage(d.coverage)}].concat(Me.tableList("altSet",d.alternateSets,function(g){return new Me.Table("alternateSetTable",Me.ushortList("alternate",g))})))},Rn[4]=function(d){return P.assert(d.substFormat===1,"Lookup type 4 substFormat must be 1."),new Me.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new Me.Coverage(d.coverage)}].concat(Me.tableList("ligSet",d.ligatureSets,function(g){return new Me.Table("ligatureSetTable",Me.tableList("ligature",g,function(_){return new Me.Table("ligatureTable",[{name:"ligGlyph",type:"USHORT",value:_.ligGlyph}].concat(Me.ushortList("component",_.components,_.components.length+1)))}))})))};var As={parse:function(d,g){return g=(d=new be(d,g=g||0)).parseVersion(1),P.argument(g===1||g===1.1,"Unsupported GSUB table version."),g===1?{version:g,scripts:d.parseScriptList(),features:d.parseFeatureList(),lookups:d.parseLookupList(yr)}:{version:g,scripts:d.parseScriptList(),features:d.parseFeatureList(),lookups:d.parseLookupList(yr),variations:d.parseFeatureVariationsList()}},make:function(d){return new Me.Table("GSUB",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new Me.ScriptList(d.scripts)},{name:"features",type:"TABLE",value:new Me.FeatureList(d.features)},{name:"lookups",type:"TABLE",value:new Me.LookupList(d.lookups,Rn)}])}},Is={parse:function(d,g){for(var _=new _e.Parser(d,g),j=_.parseULong(),k=(P.argument(j===1,"Unsupported META table version."),_.parseULong(),_.parseULong(),_.parseULong()),I={},D=0;Dje.value.tag?1:-1}),g.fields=g.fields.concat(j),g.fields=g.fields.concat(k),g}function Ns(d,g,_){for(var j=0;j 123 are reserved for internal usage");ue|=1<>>1,I=d[k].tag;if(I===g)return k;I>>1,I=d[k];if(I===g)return k;I>>1,D=(k=d[I]).start;if(D===g)return k;D(k=d[_-1]).end?0:k}function An(d,g){this.font=d,this.tableName=g}function In(d){An.call(this,d,"gpos")}function _r(d){An.call(this,d,"gsub")}function Vs(d,g,_){for(var j=d.subtables,k=0;kg.points.length-1||j.matchedPoints[1]>k.points.length-1)throw Error("Matched points out of range in "+g.name);var D=g.points[j.matchedPoints[0]],Y=k.points[j.matchedPoints[1]],j={xScale:j.xScale,scale01:j.scale01,scale10:j.scale10,yScale:j.yScale,dx:0,dy:0},Y=Oo([Y],j)[0];j.dx=D.x-Y.x,j.dy=D.y-Y.y,I=Oo(k.points,j)}g.points=g.points.concat(I)}}return Ws(g.points)}(In.prototype=An.prototype={searchTag:ko,binSearch:Bs,getTable:function(d){var g=this.font.tables[this.tableName];return g=!g&&d?this.font.tables[this.tableName]=this.createDefaultTable():g},getScriptNames:function(){var d=this.getTable();return d?d.scripts.map(function(g){return g.tag}):[]},getDefaultScriptName:function(){var d=this.getTable();if(d){for(var g=!1,_=0;_=D[g-1].tag,"Features must be added in alphabetical order."),D.push(k={tag:_,feature:{params:0,lookupListIndexes:[]}}),I.push(g),k.feature}},getLookupTables:function(I,g,_,j,k){var I=this.getFeatureTable(I,g,_,k),D=[];if(I){for(var Y,ne=I.lookupListIndexes,re=this.font.tables[this.tableName].lookups,he=0;he",I),g.stack.push(Math.round(64*I))}function Lo(d,g){var _=g.stack,j=_.pop(),k=g.fv,I=g.pv,D=g.ppem,Y=g.deltaBase+16*(d-1),ne=g.deltaShift,re=g.z0;a.DEBUG&&console.log(g.step,"DELTAP["+d+"]",j,_);for(var he=0;he>4)===D&&(0<=(xe=(15&xe)-8)&&xe++,a.DEBUG&&console.log(g.step,"DELTAPFIX",je,"by",xe*ne),je=re[je],k.setRelative(je,je,xe*ne,I))}}function Un(d,g){var _=g.stack,j=_.pop();a.DEBUG&&console.log(g.step,"ROUND[]"),_.push(64*g.round(j/64))}function Ro(d,g){var _=g.stack,j=_.pop(),k=g.ppem,I=g.deltaBase+16*(d-1),D=g.deltaShift;a.DEBUG&&console.log(g.step,"DELTAC["+d+"]",j,_);for(var Y=0;Y>4)===k&&(0<=(re=(15&re)-8)&&re++,re=re*D,a.DEBUG&&console.log(g.step,"DELTACFIX",ne,"by",re),g.cvt[ne]+=re)}}function da(d,g){var _,k=g.stack,j=k.pop(),k=k.pop(),I=g.z2[j],D=g.z1[k];a.DEBUG&&console.log(g.step,"SDPVTL["+d+"]",j,k),j=d?(_=I.y-D.y,D.x-I.x):(_=D.x-I.x,D.y-I.y),g.dpv=dn(_,j)}function Ir(d,g){var _=g.stack,j=g.prog,k=g.ip;a.DEBUG&&console.log(g.step,"PUSHB["+d+"]");for(var I=0;I":"_")+(j?"R":"_")+(k===0?"Gr":k===1?"Bl":k===2?"Wh":"")+"]",d?ne+"("+I.cvt[ne]+","+Y+")":"",re,"(d =",D,"->",Pe*Ce,")"),I.rp1=I.rp0,I.rp2=re,g&&(I.rp0=re)}Xs.prototype.exec=function(d,g){if(typeof g!="number")throw new Error("Point size is not a number!");if(!(2",j),Y.interpolate(je,I,D,ne),Y.touch(je)}d.loop=1},ia.bind(void 0,0),ia.bind(void 0,1),function(d){for(var g=d.stack,_=d.rp0,j=d.z0[_],k=d.loop,I=d.fv,D=d.pv,Y=d.z1;k--;){var ne=g.pop(),re=Y[ne];a.DEBUG&&console.log(d.step,(1"u"?fu:pu)(d,function(_,j){if(_)return g(_);var k;try{k=Ao(j)}catch(I){return g(I,null)}return g(null,k)})},a.loadSync=function(d){return Ao(zs(e("fs").readFileSync(d)))},Object.defineProperty(a,"__esModule",{value:!0})},n(typeof v=="object"&&S!==void 0?v:s.opentype={})}).call(this,e("buffer").Buffer)},{buffer:4,fs:2}],242:[function(e,S,v){(function(l){function s(c,f){for(var r=0,o=c.length-1;0<=o;o--){var t=c[o];t==="."?c.splice(o,1):t===".."?(c.splice(o,1),r++):r&&(c.splice(o,1),r--)}if(f)for(;r--;)c.unshift("..");return c}function n(c,f){if(c.filter)return c.filter(f);for(var r=[],o=0;o'.concat(m,"").concat(i,""),this.dummyDOM||(this.dummyDOM=document.getElementById(p).parentNode),this.descriptions?this.descriptions.fallbackElements||(this.descriptions.fallbackElements={}):this.descriptions={fallbackElements:{}},this.descriptions.fallbackElements[t]?this.descriptions.fallbackElements[t].innerHTML!==m&&(this.descriptions.fallbackElements[t].innerHTML=m):this._describeElementHTML("fallback",t,m),u===this.LABEL&&(this.descriptions.labelElements||(this.descriptions.labelElements={}),this.descriptions.labelElements[t]?this.descriptions.labelElements[t].innerHTML!==m&&(this.descriptions.labelElements[t].innerHTML=m):this._describeElementHTML("label",t,m)))},l.default.prototype._describeHTML=function(t,i){var u,p=this.canvas.id;t==="fallback"?(this.dummyDOM.querySelector("#".concat(p+s))?this.dummyDOM.querySelector("#"+p+a).insertAdjacentHTML("beforebegin",'

')):(u='

'),this.dummyDOM.querySelector("#".concat(p,"accessibleOutput"))?this.dummyDOM.querySelector("#".concat(p,"accessibleOutput")).insertAdjacentHTML("beforebegin",u):this.dummyDOM.querySelector("#".concat(p)).innerHTML=u),this.descriptions.fallback=this.dummyDOM.querySelector("#".concat(p).concat(n)),this.descriptions.fallback.innerHTML=i):t==="label"&&(this.dummyDOM.querySelector("#".concat(p+c))?this.dummyDOM.querySelector("#".concat(p+r))&&this.dummyDOM.querySelector("#".concat(p+r)).insertAdjacentHTML("beforebegin",'

')):(u='

'),this.dummyDOM.querySelector("#".concat(p,"accessibleOutputLabel"))?this.dummyDOM.querySelector("#".concat(p,"accessibleOutputLabel")).insertAdjacentHTML("beforebegin",u):this.dummyDOM.querySelector("#"+p).insertAdjacentHTML("afterend",u)),this.descriptions.label=this.dummyDOM.querySelector("#"+p+f),this.descriptions.label.innerHTML=i)},l.default.prototype._describeElementHTML=function(t,i,u){var p,m=this.canvas.id;t==="fallback"?(this.dummyDOM.querySelector("#".concat(m+s))?this.dummyDOM.querySelector("#"+m+a)||this.dummyDOM.querySelector("#"+m+n).insertAdjacentHTML("afterend",'
Canvas elements and their descriptions
')):(p='
Canvas elements and their descriptions
'),this.dummyDOM.querySelector("#".concat(m,"accessibleOutput"))?this.dummyDOM.querySelector("#".concat(m,"accessibleOutput")).insertAdjacentHTML("beforebegin",p):this.dummyDOM.querySelector("#"+m).innerHTML=p),(p=document.createElement("tr")).id=m+"_fte_"+i,this.dummyDOM.querySelector("#"+m+a).appendChild(p),this.descriptions.fallbackElements[i]=this.dummyDOM.querySelector("#".concat(m).concat("_fte_").concat(i)),this.descriptions.fallbackElements[i].innerHTML=u):t==="label"&&(this.dummyDOM.querySelector("#".concat(m+c))?this.dummyDOM.querySelector("#".concat(m+r))||this.dummyDOM.querySelector("#"+m+f).insertAdjacentHTML("afterend",'
')):(p='
'),this.dummyDOM.querySelector("#".concat(m,"accessibleOutputLabel"))?this.dummyDOM.querySelector("#".concat(m,"accessibleOutputLabel")).insertAdjacentHTML("beforebegin",p):this.dummyDOM.querySelector("#"+m).insertAdjacentHTML("afterend",p)),(t=document.createElement("tr")).id=m+"_lte_"+i,this.dummyDOM.querySelector("#"+m+r).appendChild(t),this.descriptions.labelElements[i]=this.dummyDOM.querySelector("#".concat(m).concat("_lte_").concat(i)),this.descriptions.labelElements[i].innerHTML=u)},e=l.default,v.default=e},{"../core/main":267,"core-js/modules/es.array.concat":149,"core-js/modules/es.regexp.exec":181,"core-js/modules/es.string.ends-with":184,"core-js/modules/es.string.replace":189}],248:[function(e,S,v){e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.map"),e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.map"),Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0,e=(e=e("../core/main"))&&e.__esModule?e:{default:e},e.default.prototype._updateGridOutput=function(l){var s,n,a,c;this.dummyDOM.querySelector("#".concat(l,"_summary"))&&(s=this._accessibleOutputs[l],a=function(f,r,o,t){return r="".concat(r," canvas, ").concat(o," by ").concat(t," pixels, contains ").concat(f[0]),r=(f[0]===1?"".concat(r," shape: "):"".concat(r," shapes: ")).concat(f[1]),r}((n=function(f,r){var o,t="",i="",u=0;for(o in r){var p,m=0;for(p in r[o]){var b='
  • ').concat(r[o][p].color," ").concat(o,",");o==="line"?b+=" location = ".concat(r[o][p].pos,", length = ").concat(r[o][p].length," pixels"):(b+=" location = ".concat(r[o][p].pos),o!=="point"&&(b+=", area = ".concat(r[o][p].area," %")),b+="
  • "),t+=b,m++,u++}i=1').concat(r[t][b].color," ").concat(t,"
    "):'').concat(r[t][b].color," ").concat(t," midpoint"),m[r[t][b].loc.locY][r[t][b].loc.locX]?m[r[t][b].loc.locY][r[t][b].loc.locX]=m[r[t][b].loc.locY][r[t][b].loc.locX]+" "+x:m[r[t][b].loc.locY][r[t][b].loc.locX]=x,u++}for(i in m){var w,T="";for(w in m[i])T+="",m[i][w]!==void 0&&(T+=m[i][w]),T+="";p=p+T+""}return p}(l,this.ingredients.shapes),a!==s.summary.innerHTML&&(s.summary.innerHTML=a),c!==s.map.innerHTML&&(s.map.innerHTML=c),n.details!==s.shapeDetails.innerHTML&&(s.shapeDetails.innerHTML=n.details),this._accessibleOutputs[l]=s)},e=e.default,v.default=e},{"../core/main":267,"core-js/modules/es.array.concat":149,"core-js/modules/es.array.map":161}],249:[function(e,S,v){e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.fill"),e("core-js/modules/es.array.map"),e("core-js/modules/es.number.to-fixed"),e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.fill"),e("core-js/modules/es.array.map"),e("core-js/modules/es.number.to-fixed"),Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var l=(e=e("../core/main"))&&e.__esModule?e:{default:e};function s(a,c,f){return a[0]<.4*c?a[1]<.4*f?"top left":a[1]>.6*f?"bottom left":"mid left":a[0]>.6*c?a[1]<.4*f?"top right":a[1]>.6*f?"bottom right":"mid right":a[1]<.4*f?"top middle":a[1]>.6*f?"bottom middle":"middle"}function n(a,c,f){return c=Math.floor(a[0]/c*10),a=Math.floor(a[1]/f*10),c===10&&(c-=1),a===10&&(a-=1),{locX:c,locY:a}}l.default.prototype.textOutput=function(a){l.default._validateParameters("textOutput",arguments),this._accessibleOutputs.text||(this._accessibleOutputs.text=!0,this._createOutput("textOutput","Fallback"),a===this.LABEL&&(this._accessibleOutputs.textLabel=!0,this._createOutput("textOutput","Label")))},l.default.prototype.gridOutput=function(a){l.default._validateParameters("gridOutput",arguments),this._accessibleOutputs.grid||(this._accessibleOutputs.grid=!0,this._createOutput("gridOutput","Fallback"),a===this.LABEL&&(this._accessibleOutputs.gridLabel=!0,this._createOutput("gridOutput","Label")))},l.default.prototype._addAccsOutput=function(){return this._accessibleOutputs||(this._accessibleOutputs={text:!1,grid:!1,textLabel:!1,gridLabel:!1}),this._accessibleOutputs.grid||this._accessibleOutputs.text},l.default.prototype._createOutput=function(a,c){var f,r,o,t=this.canvas.id,i=(this.ingredients||(this.ingredients={shapes:{},colors:{background:"white",fill:"white",stroke:"black"},pShapes:""}),this.dummyDOM||(this.dummyDOM=document.getElementById(t).parentNode),"");c==="Fallback"?(f=t+a,this.dummyDOM.querySelector("#".concat(r=t+"accessibleOutput"))||(this.dummyDOM.querySelector("#".concat(t,"_Description"))?this.dummyDOM.querySelector("#".concat(t,"_Description")).insertAdjacentHTML("afterend",'
    ')):this.dummyDOM.querySelector("#".concat(t)).innerHTML='
    '))):c==="Label"&&(f=t+a+(i=c),this.dummyDOM.querySelector("#".concat(r=t+"accessibleOutput"+c))||(this.dummyDOM.querySelector("#".concat(t,"_Label"))?this.dummyDOM.querySelector("#".concat(t,"_Label")):this.dummyDOM.querySelector("#".concat(t))).insertAdjacentHTML("afterend",'
    '))),this._accessibleOutputs[f]={},a==="textOutput"?(i="#".concat(t,"gridOutput").concat(i),o='
    Text Output

      '),this.dummyDOM.querySelector(i)?this.dummyDOM.querySelector(i).insertAdjacentHTML("beforebegin",o):this.dummyDOM.querySelector("#".concat(r)).innerHTML=o,this._accessibleOutputs[f].list=this.dummyDOM.querySelector("#".concat(f,"_list"))):a==="gridOutput"&&(i="#".concat(t,"textOutput").concat(i),o='
      Grid Output

        '),this.dummyDOM.querySelector(i)?this.dummyDOM.querySelector(i).insertAdjacentHTML("afterend",o):this.dummyDOM.querySelector("#".concat(r)).innerHTML=o,this._accessibleOutputs[f].map=this.dummyDOM.querySelector("#".concat(f,"_map"))),this._accessibleOutputs[f].shapeDetails=this.dummyDOM.querySelector("#".concat(f,"_shapeDetails")),this._accessibleOutputs[f].summary=this.dummyDOM.querySelector("#".concat(f,"_summary"))},l.default.prototype._updateAccsOutput=function(){var a=this.canvas.id;JSON.stringify(this.ingredients.shapes)!==this.ingredients.pShapes&&(this.ingredients.pShapes=JSON.stringify(this.ingredients.shapes),this._accessibleOutputs.text&&this._updateTextOutput(a+"textOutput"),this._accessibleOutputs.grid&&this._updateGridOutput(a+"gridOutput"),this._accessibleOutputs.textLabel&&this._updateTextOutput(a+"textOutputLabel"),this._accessibleOutputs.gridLabel&&this._updateGridOutput(a+"gridOutputLabel"))},l.default.prototype._accsBackground=function(a){this.ingredients.pShapes=JSON.stringify(this.ingredients.shapes),this.ingredients.shapes={},this.ingredients.colors.backgroundRGBA!==a&&(this.ingredients.colors.backgroundRGBA=a,this.ingredients.colors.background=this._rgbColorName(a))},l.default.prototype._accsCanvasColors=function(a,c){a==="fill"?this.ingredients.colors.fillRGBA!==c&&(this.ingredients.colors.fillRGBA=c,this.ingredients.colors.fill=this._rgbColorName(c)):a==="stroke"&&this.ingredients.colors.strokeRGBA!==c&&(this.ingredients.colors.strokeRGBA=c,this.ingredients.colors.stroke=this._rgbColorName(c))},l.default.prototype._accsOutput=function(a,c){a==="ellipse"&&c[2]===c[3]?a="circle":a==="rectangle"&&c[2]===c[3]&&(a="square");var f,r,o={},t=!0,i=function(p,m){var b;return p=p==="rectangle"||p==="ellipse"||p==="arc"||p==="circle"||p==="square"?(b=Math.round(m[0]+m[2]/2),Math.round(m[1]+m[3]/2)):p==="triangle"?(b=(m[0]+m[2]+m[4])/3,(m[1]+m[3]+m[5])/3):p==="quadrilateral"?(b=(m[0]+m[2]+m[4]+m[6])/4,(m[1]+m[3]+m[5]+m[7])/4):p==="line"?(b=(m[0]+m[2])/2,(m[1]+m[3])/2):(b=m[0],m[1]),[b,p]}(a,c);if(a==="line"?(o.color=this.ingredients.colors.stroke,o.length=Math.round(this.dist(c[0],c[1],c[2],c[3])),f=s([c[0],[1]],this.width,this.height),r=s([c[2],[3]],this.width,this.height),o.loc=n(i,this.width,this.height),o.pos=f===r?"at ".concat(f):"from ".concat(f," to ").concat(r)):(a==="point"?o.color=this.ingredients.colors.stroke:(o.color=this.ingredients.colors.fill,o.area=function(p,m,b,x){var w=0;{var T,M,O,L,R,A,N;p==="arc"?(T=((m[5]-m[4])%(2*Math.PI)+2*Math.PI)%(2*Math.PI),w=T*m[2]*m[3]/8,m[6]!=="open"&&m[6]!=="chord"||(N=m[0],M=m[1],O=m[0]+m[2]/2*Math.cos(m[4]).toFixed(2),L=m[1]+m[3]/2*Math.sin(m[4]).toFixed(2),R=m[0]+m[2]/2*Math.cos(m[5]).toFixed(2),A=m[1]+m[3]/2*Math.sin(m[5]).toFixed(2),N=Math.abs(N*(L-A)+O*(A-M)+R*(M-L))/2,T>Math.PI?w+=N:w-=N)):p==="ellipse"||p==="circle"?w=3.14*m[2]/2*m[3]/2:p==="line"||p==="point"?w=0:p==="quadrilateral"?w=Math.abs((m[6]+m[0])*(m[7]-m[1])+(m[0]+m[2])*(m[1]-m[3])+(m[2]+m[4])*(m[3]-m[5])+(m[4]+m[6])*(m[5]-m[7]))/2:p==="rectangle"||p==="square"?w=m[2]*m[3]:p==="triangle"&&(w=Math.abs(m[0]*(m[3]-m[5])+m[2]*(m[5]-m[1])+m[4]*(m[1]-m[3]))/2)}return Math.round(100*w/(b*x))}(a,c,this.width,this.height)),o.pos=s(i,this.width,this.height),o.loc=n(i,this.width,this.height)),this.ingredients.shapes[a]){if(this.ingredients.shapes[a]!==[o]){for(var u in this.ingredients.shapes[a])JSON.stringify(this.ingredients.shapes[a][u])===JSON.stringify(o)&&(t=!1);t===!0&&this.ingredients.shapes[a].push(o)}}else this.ingredients.shapes[a]=[o]},e=l.default,v.default=e},{"../core/main":267,"core-js/modules/es.array.concat":149,"core-js/modules/es.array.fill":152,"core-js/modules/es.array.map":161,"core-js/modules/es.number.to-fixed":171}],250:[function(e,S,v){e("core-js/modules/es.array.concat"),e("core-js/modules/es.array.concat"),Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0,e=(e=e("../core/main"))&&e.__esModule?e:{default:e},e.default.prototype._updateTextOutput=function(l){var s,n,a,c;this.dummyDOM.querySelector("#".concat(l,"_summary"))&&(s=this._accessibleOutputs[l],a=function(f,r,o,t){return o="Your output is a, ".concat(o," by ").concat(t," pixels, ").concat(r," canvas containing the following"),o=f===1?"".concat(o," shape:"):"".concat(o," ").concat(f," shapes:"),o}((n=function(f,r){var o,t="",i=0;for(o in r)for(var u in r[o]){var p='
      • ').concat(r[o][u].color," ").concat(o,"");o==="line"?p+=", ".concat(r[o][u].pos,", ").concat(r[o][u].length," pixels long.
      • "):(p+=", at ".concat(r[o][u].pos),o!=="point"&&(p+=", covering ".concat(r[o][u].area,"% of the canvas")),p+="."),t+=p,i++}return{numShapes:i,listShapes:t}}(l,this.ingredients.shapes)).numShapes,this.ingredients.colors.background,this.width,this.height),c=function(f,r){var o,t="",i=0;for(o in r)for(var u in r[o]){var p='').concat(r[o][u].color," ").concat(o,"");o==="line"?p+="location = ".concat(r[o][u].pos,"length = ").concat(r[o][u].length," pixels"):(p+="location = ".concat(r[o][u].pos,""),o!=="point"&&(p+=" area = ".concat(r[o][u].area,"%")),p+=""),t+=p,i++}return t}(l,this.ingredients.shapes),a!==s.summary.innerHTML&&(s.summary.innerHTML=a),n.listShapes!==s.list.innerHTML&&(s.list.innerHTML=n.listShapes),c!==s.shapeDetails.innerHTML&&(s.shapeDetails.innerHTML=c),this._accessibleOutputs[l]=s)},e=e.default,v.default=e},{"../core/main":267,"core-js/modules/es.array.concat":149}],251:[function(e,S,v){var l=(l=e("./core/main"))&&l.__esModule?l:{default:l};e("./core/constants"),e("./core/environment"),e("./core/friendly_errors/stacktrace"),e("./core/friendly_errors/validate_params"),e("./core/friendly_errors/file_errors"),e("./core/friendly_errors/fes_core"),e("./core/friendly_errors/sketch_reader"),e("./core/helpers"),e("./core/legacy"),e("./core/preload"),e("./core/p5.Element"),e("./core/p5.Graphics"),e("./core/p5.Renderer"),e("./core/p5.Renderer2D"),e("./core/rendering"),e("./core/shim"),e("./core/structure"),e("./core/transform"),e("./core/shape/2d_primitives"),e("./core/shape/attributes"),e("./core/shape/curves"),e("./core/shape/vertex"),e("./accessibility/outputs"),e("./accessibility/textOutput"),e("./accessibility/gridOutput"),e("./accessibility/color_namer"),e("./color/color_conversion"),e("./color/creating_reading"),e("./color/p5.Color"),e("./color/setting"),e("./data/p5.TypedDict"),e("./data/local_storage.js"),e("./dom/dom"),e("./accessibility/describe"),e("./events/acceleration"),e("./events/keyboard"),e("./events/mouse"),e("./events/touch"),e("./image/filters"),e("./image/image"),e("./image/loading_displaying"),e("./image/p5.Image"),e("./image/pixels"),e("./io/files"),e("./io/p5.Table"),e("./io/p5.TableRow"),e("./io/p5.XML"),e("./math/calculation"),e("./math/math"),e("./math/noise"),e("./math/p5.Vector"),e("./math/random"),e("./math/trigonometry"),e("./typography/attributes"),e("./typography/loading_displaying"),e("./typography/p5.Font"),e("./utilities/array_functions"),e("./utilities/conversion"),e("./utilities/string_functions"),e("./utilities/time_date"),e("./webgl/3d_primitives"),e("./webgl/interaction"),e("./webgl/light"),e("./webgl/loading"),e("./webgl/material"),e("./webgl/p5.Camera"),e("./webgl/p5.Geometry"),e("./webgl/p5.Matrix"),e("./webgl/p5.RendererGL.Immediate"),e("./webgl/p5.RendererGL"),e("./webgl/p5.RendererGL.Retained"),e("./webgl/p5.Shader"),e("./webgl/p5.RenderBuffer"),e("./webgl/p5.Texture"),e("./webgl/text"),e("./core/init"),S.exports=l.default},{"./accessibility/color_namer":246,"./accessibility/describe":247,"./accessibility/gridOutput":248,"./accessibility/outputs":249,"./accessibility/textOutput":250,"./color/color_conversion":252,"./color/creating_reading":253,"./color/p5.Color":254,"./color/setting":255,"./core/constants":256,"./core/environment":257,"./core/friendly_errors/fes_core":258,"./core/friendly_errors/file_errors":259,"./core/friendly_errors/sketch_reader":260,"./core/friendly_errors/stacktrace":261,"./core/friendly_errors/validate_params":262,"./core/helpers":263,"./core/init":264,"./core/legacy":266,"./core/main":267,"./core/p5.Element":268,"./core/p5.Graphics":269,"./core/p5.Renderer":270,"./core/p5.Renderer2D":271,"./core/preload":272,"./core/rendering":273,"./core/shape/2d_primitives":274,"./core/shape/attributes":275,"./core/shape/curves":276,"./core/shape/vertex":277,"./core/shim":278,"./core/structure":279,"./core/transform":280,"./data/local_storage.js":281,"./data/p5.TypedDict":282,"./dom/dom":283,"./events/acceleration":284,"./events/keyboard":285,"./events/mouse":286,"./events/touch":287,"./image/filters":288,"./image/image":289,"./image/loading_displaying":290,"./image/p5.Image":291,"./image/pixels":292,"./io/files":293,"./io/p5.Table":294,"./io/p5.TableRow":295,"./io/p5.XML":296,"./math/calculation":297,"./math/math":298,"./math/noise":299,"./math/p5.Vector":300,"./math/random":301,"./math/trigonometry":302,"./typography/attributes":303,"./typography/loading_displaying":304,"./typography/p5.Font":305,"./utilities/array_functions":306,"./utilities/conversion":307,"./utilities/string_functions":308,"./utilities/time_date":309,"./webgl/3d_primitives":310,"./webgl/interaction":311,"./webgl/light":312,"./webgl/loading":313,"./webgl/material":314,"./webgl/p5.Camera":315,"./webgl/p5.Geometry":316,"./webgl/p5.Matrix":317,"./webgl/p5.RenderBuffer":318,"./webgl/p5.RendererGL":321,"./webgl/p5.RendererGL.Immediate":319,"./webgl/p5.RendererGL.Retained":320,"./webgl/p5.Shader":322,"./webgl/p5.Texture":323,"./webgl/text":324}],252:[function(e,S,v){Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0,e=(e=e("../core/main"))&&e.__esModule?e:{default:e},e.default.ColorConversion={},e.default.ColorConversion._hsbaToHSLA=function(l){var s=l[0],n=l[1],a=l[2],c=(2-n)*a/2;return c!=0&&(c==1?n=0:c<.5?n/=2-n:n=n*a/(2-2*c)),[s,n,c,l[3]]},e.default.ColorConversion._hsbaToRGBA=function(l){var s,n,a,c,f,r=6*l[0],o=l[1],t=l[2];return o===0?[t,t,t,l[3]]:(n=t*(1-o),a=t*(1-o*(r-(s=Math.floor(r)))),o=t*(1-o*(1+s-r)),r=s===1?(c=a,f=t,n):s===2?(c=n,f=t,o):s===3?(c=n,f=a,t):s===4?(c=o,f=n,t):s===5?(c=t,f=n,a):(c=t,f=o,n),[c,f,r,l[3]])},e.default.ColorConversion._hslaToHSBA=function(l){var s=l[0],n=l[1],a=l[2],c=a<.5?(1+n)*a:a+n-a*n;return[s,n=2*(c-a)/c,c,l[3]]},e.default.ColorConversion._hslaToRGBA=function(l){var s,n=6*l[0],a=l[1],c=l[2];return a===0?[c,c,c,l[3]]:[(s=function(f,r,o){return f<0?f+=6:6<=f&&(f-=6),f<1?r+(o-r)*f:f<3?o:f<4?r+(o-r)*(4-f):r})(2+n,a=2*c-(c=c<.5?(1+a)*c:c+a-c*a),c),s(n,a,c),s(n-2,a,c),l[3]]},e.default.ColorConversion._rgbaToHSBA=function(l){var s,n,a=l[0],c=l[1],f=l[2],r=Math.max(a,c,f),o=r-Math.min(a,c,f);return o==0?n=s=0:(n=o/r,a===r?s=(c-f)/o:c===r?s=2+(f-a)/o:f===r&&(s=4+(a-c)/o),s<0?s+=6:6<=s&&(s-=6)),[s/6,n,r,l[3]]},e.default.ColorConversion._rgbaToHSLA=function(l){var s,n,a=l[0],c=l[1],f=l[2],r=Math.max(a,c,f),t=Math.min(a,c,f),o=r+t,t=r-t;return t==0?n=s=0:(n=o<1?t/o:t/(2-o),a===r?s=(c-f)/t:c===r?s=2+(f-a)/t:f===r&&(s=4+(a-c)/t),s<0?s+=6:6<=s&&(s-=6)),[s/6,n,o/2,l[3]]},e=e.default.ColorConversion,v.default=e},{"../core/main":267}],253:[function(e,S,v){function l(r){return(l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(r)}function s(r){return(s=typeof Symbol=="function"&&l(Symbol.iterator)==="symbol"?function(o){return l(o)}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":l(o)})(r)}e("core-js/modules/es.symbol"),e("core-js/modules/es.symbol.description"),e("core-js/modules/es.symbol.iterator"),e("core-js/modules/es.array.iterator"),e("core-js/modules/es.array.map"),e("core-js/modules/es.object.get-own-property-descriptor"),e("core-js/modules/es.object.to-string"),e("core-js/modules/es.string.iterator"),e("core-js/modules/es.weak-map"),e("core-js/modules/web.dom-collections.iterator"),e("core-js/modules/es.array.map"),Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var n=(f=e("../core/main"))&&f.__esModule?f:{default:f},a=function(r){if(r&&r.__esModule)return r;if(r===null||s(r)!=="object"&&typeof r!="function")return{default:r};var o=c();if(o&&o.has(r))return o.get(r);var t,i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(t in r){var p;Object.prototype.hasOwnProperty.call(r,t)&&((p=u?Object.getOwnPropertyDescriptor(r,t):null)&&(p.get||p.set)?Object.defineProperty(i,t,p):i[t]=r[t])}return i.default=r,o&&o.set(r,i),i}(e("../core/constants"));function c(){var r;return typeof WeakMap!="function"?null:(r=new WeakMap,c=function(){return r},r)}e("./p5.Color"),e("../core/friendly_errors/validate_params"),e("../core/friendly_errors/file_errors"),e("../core/friendly_errors/fes_core"),n.default.prototype.alpha=function(r){return n.default._validateParameters("alpha",arguments),this.color(r)._getAlpha()},n.default.prototype.blue=function(r){return n.default._validateParameters("blue",arguments),this.color(r)._getBlue()},n.default.prototype.brightness=function(r){return n.default._validateParameters("brightness",arguments),this.color(r)._getBrightness()},n.default.prototype.color=function(){var r;return n.default._validateParameters("color",arguments),arguments[0]instanceof n.default.Color?arguments[0]:(r=arguments[0]instanceof Array?arguments[0]:arguments,new n.default.Color(this,r))},n.default.prototype.green=function(r){return n.default._validateParameters("green",arguments),this.color(r)._getGreen()},n.default.prototype.hue=function(r){return n.default._validateParameters("hue",arguments),this.color(r)._getHue()},n.default.prototype.lerpColor=function(r,o,t){n.default._validateParameters("lerpColor",arguments);var i,u,p,m=this._colorMode,b=this._colorMaxes;if(m===a.RGB)u=r.levels.map(function(x){return x/255}),p=o.levels.map(function(x){return x/255});else if(m===a.HSB)r._getBrightness(),o._getBrightness(),u=r.hsba,p=o.hsba;else{if(m!==a.HSL)throw new Error("".concat(m,"cannot be used for interpolation."));r._getLightness(),o._getLightness(),u=r.hsla,p=o.hsla}return t=Math.max(Math.min(t,1),0),this.lerp===void 0&&(this.lerp=function(x,w,T){return T*(w-x)+x}),r=this.lerp(u[0],p[0],t),o=this.lerp(u[1],p[1],t),i=this.lerp(u[2],p[2],t),u=this.lerp(u[3],p[3],t),r*=b[m][0],o*=b[m][1],i*=b[m][2],u*=b[m][3],this.color(r,o,i,u)},n.default.prototype.lightness=function(r){return n.default._validateParameters("lightness",arguments),this.color(r)._getLightness()},n.default.prototype.red=function(r){return n.default._validateParameters("red",arguments),this.color(r)._getRed()},n.default.prototype.saturation=function(r){return n.default._validateParameters("saturation",arguments),this.color(r)._getSaturation()};var f=n.default;v.default=f},{"../core/constants":256,"../core/friendly_errors/fes_core":258,"../core/friendly_errors/file_errors":259,"../core/friendly_errors/validate_params":262,"../core/main":267,"./p5.Color":254,"core-js/modules/es.array.iterator":158,"core-js/modules/es.array.map":161,"core-js/modules/es.object.get-own-property-descriptor":173,"core-js/modules/es.object.to-string":177,"core-js/modules/es.string.iterator":186,"core-js/modules/es.symbol":196,"core-js/modules/es.symbol.description":194,"core-js/modules/es.symbol.iterator":195,"core-js/modules/es.weak-map":228,"core-js/modules/web.dom-collections.iterator":230}],254:[function(t,S,v){function l(b){return(l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(b)}function s(b){return(s=typeof Symbol=="function"&&l(Symbol.iterator)==="symbol"?function(x){return l(x)}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":l(x)})(b)}t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.map"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.object.get-own-property-descriptor"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.regexp.constructor"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.trim"),t("core-js/modules/es.weak-map"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.map"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.regexp.constructor"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.string.trim"),Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var n=r(t("../core/main")),a=function(b){if(b&&b.__esModule)return b;if(b===null||s(b)!=="object"&&typeof b!="function")return{default:b};var x=f();if(x&&x.has(b))return x.get(b);var w,T={},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(w in b){var O;Object.prototype.hasOwnProperty.call(b,w)&&((O=M?Object.getOwnPropertyDescriptor(b,w):null)&&(O.get||O.set)?Object.defineProperty(T,w,O):T[w]=b[w])}return T.default=b,x&&x.set(b,T),T}(t("../core/constants")),c=r(t("./color_conversion"));function f(){var b;return typeof WeakMap!="function"?null:(b=new WeakMap,f=function(){return b},b)}function r(b){return b&&b.__esModule?b:{default:b}}n.default.Color=function(b,x){if(this._storeModeAndMaxes(b._colorMode,b._colorMaxes),this.mode!==a.RGB&&this.mode!==a.HSL&&this.mode!==a.HSB)throw new Error("".concat(this.mode," is an invalid colorMode."));return this._array=n.default.Color._parseInputs.apply(this,x),this._calculateLevels(),this},n.default.Color.prototype.toString=function(b){var x=this.levels,w=this._array,T=w[3];switch(b){case"#rrggbb":return"#".concat(x[0]<16?"0".concat(x[0].toString(16)):x[0].toString(16),x[1]<16?"0".concat(x[1].toString(16)):x[1].toString(16),x[2]<16?"0".concat(x[2].toString(16)):x[2].toString(16));case"#rrggbbaa":return"#".concat(x[0]<16?"0".concat(x[0].toString(16)):x[0].toString(16),x[1]<16?"0".concat(x[1].toString(16)):x[1].toString(16),x[2]<16?"0".concat(x[2].toString(16)):x[2].toString(16),x[3]<16?"0".concat(x[3].toString(16)):x[3].toString(16));case"#rgb":return"#".concat(Math.round(15*w[0]).toString(16),Math.round(15*w[1]).toString(16),Math.round(15*w[2]).toString(16));case"#rgba":return"#".concat(Math.round(15*w[0]).toString(16),Math.round(15*w[1]).toString(16),Math.round(15*w[2]).toString(16),Math.round(15*w[3]).toString(16));case"rgb":return"rgb(".concat(x[0],", ",x[1],", ",x[2],")");case"rgb%":return"rgb(".concat((100*w[0]).toPrecision(3),"%, ",(100*w[1]).toPrecision(3),"%, ",(100*w[2]).toPrecision(3),"%)");case"rgba%":return"rgba(".concat((100*w[0]).toPrecision(3),"%, ",(100*w[1]).toPrecision(3),"%, ",(100*w[2]).toPrecision(3),"%, ",(100*w[3]).toPrecision(3),"%)");case"hsb":case"hsv":return this.hsba||(this.hsba=c.default._rgbaToHSBA(this._array)),"hsb(".concat(this.hsba[0]*this.maxes[a.HSB][0],", ",this.hsba[1]*this.maxes[a.HSB][1],", ",this.hsba[2]*this.maxes[a.HSB][2],")");case"hsb%":case"hsv%":return this.hsba||(this.hsba=c.default._rgbaToHSBA(this._array)),"hsb(".concat((100*this.hsba[0]).toPrecision(3),"%, ",(100*this.hsba[1]).toPrecision(3),"%, ",(100*this.hsba[2]).toPrecision(3),"%)");case"hsba":case"hsva":return this.hsba||(this.hsba=c.default._rgbaToHSBA(this._array)),"hsba(".concat(this.hsba[0]*this.maxes[a.HSB][0],", ",this.hsba[1]*this.maxes[a.HSB][1],", ",this.hsba[2]*this.maxes[a.HSB][2],", ",T,")");case"hsba%":case"hsva%":return this.hsba||(this.hsba=c.default._rgbaToHSBA(this._array)),"hsba(".concat((100*this.hsba[0]).toPrecision(3),"%, ",(100*this.hsba[1]).toPrecision(3),"%, ",(100*this.hsba[2]).toPrecision(3),"%, ",(100*T).toPrecision(3),"%)");case"hsl":return this.hsla||(this.hsla=c.default._rgbaToHSLA(this._array)),"hsl(".concat(this.hsla[0]*this.maxes[a.HSL][0],", ",this.hsla[1]*this.maxes[a.HSL][1],", ",this.hsla[2]*this.maxes[a.HSL][2],")");case"hsl%":return this.hsla||(this.hsla=c.default._rgbaToHSLA(this._array)),"hsl(".concat((100*this.hsla[0]).toPrecision(3),"%, ",(100*this.hsla[1]).toPrecision(3),"%, ",(100*this.hsla[2]).toPrecision(3),"%)");case"hsla":return this.hsla||(this.hsla=c.default._rgbaToHSLA(this._array)),"hsla(".concat(this.hsla[0]*this.maxes[a.HSL][0],", ",this.hsla[1]*this.maxes[a.HSL][1],", ",this.hsla[2]*this.maxes[a.HSL][2],", ",T,")");case"hsla%":return this.hsla||(this.hsla=c.default._rgbaToHSLA(this._array)),"hsl(".concat((100*this.hsla[0]).toPrecision(3),"%, ",(100*this.hsla[1]).toPrecision(3),"%, ",(100*this.hsla[2]).toPrecision(3),"%, ",(100*T).toPrecision(3),"%)");default:return"rgba(".concat(x[0],",",x[1],",",x[2],",",T,")")}},n.default.Color.prototype.setRed=function(b){this._array[0]=b/this.maxes[a.RGB][0],this._calculateLevels()},n.default.Color.prototype.setGreen=function(b){this._array[1]=b/this.maxes[a.RGB][1],this._calculateLevels()},n.default.Color.prototype.setBlue=function(b){this._array[2]=b/this.maxes[a.RGB][2],this._calculateLevels()},n.default.Color.prototype.setAlpha=function(b){this._array[3]=b/this.maxes[this.mode][3],this._calculateLevels()},n.default.Color.prototype._calculateLevels=function(){for(var b=this._array,x=this.levels=new Array(b.length),w=b.length-1;0<=w;--w)x[w]=Math.round(255*b[w]);this.hsla=null,this.hsba=null},n.default.Color.prototype._getAlpha=function(){return this._array[3]*this.maxes[this.mode][3]},n.default.Color.prototype._storeModeAndMaxes=function(b,x){this.mode=b,this.maxes=x},n.default.Color.prototype._getMode=function(){return this.mode},n.default.Color.prototype._getMaxes=function(){return this.maxes},n.default.Color.prototype._getBlue=function(){return this._array[2]*this.maxes[a.RGB][2]},n.default.Color.prototype._getBrightness=function(){return this.hsba||(this.hsba=c.default._rgbaToHSBA(this._array)),this.hsba[2]*this.maxes[a.HSB][2]},n.default.Color.prototype._getGreen=function(){return this._array[1]*this.maxes[a.RGB][1]},n.default.Color.prototype._getHue=function(){return this.mode===a.HSB?(this.hsba||(this.hsba=c.default._rgbaToHSBA(this._array)),this.hsba[0]*this.maxes[a.HSB][0]):(this.hsla||(this.hsla=c.default._rgbaToHSLA(this._array)),this.hsla[0]*this.maxes[a.HSL][0])},n.default.Color.prototype._getLightness=function(){return this.hsla||(this.hsla=c.default._rgbaToHSLA(this._array)),this.hsla[2]*this.maxes[a.HSL][2]},n.default.Color.prototype._getRed=function(){return this._array[0]*this.maxes[a.RGB][0]},n.default.Color.prototype._getSaturation=function(){return this.mode===a.HSB?(this.hsba||(this.hsba=c.default._rgbaToHSBA(this._array)),this.hsba[1]*this.maxes[a.HSB][1]):(this.hsla||(this.hsla=c.default._rgbaToHSLA(this._array)),this.hsla[1]*this.maxes[a.HSL][1])};var o={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},t=/\s*/,m=/(\d{1,3})/,i=/((?:\d+(?:\.\d+)?)|(?:\.\d+))/,u=new RegExp("".concat(i.source,"%")),p={HEX3:/^#([a-f0-9])([a-f0-9])([a-f0-9])$/i,HEX4:/^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])$/i,HEX6:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/i,HEX8:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/i,RGB:new RegExp(["^rgb\\(",m.source,",",m.source,",",m.source,"\\)$"].join(t.source),"i"),RGB_PERCENT:new RegExp(["^rgb\\(",u.source,",",u.source,",",u.source,"\\)$"].join(t.source),"i"),RGBA:new RegExp(["^rgba\\(",m.source,",",m.source,",",m.source,",",i.source,"\\)$"].join(t.source),"i"),RGBA_PERCENT:new RegExp(["^rgba\\(",u.source,",",u.source,",",u.source,",",i.source,"\\)$"].join(t.source),"i"),HSL:new RegExp(["^hsl\\(",m.source,",",u.source,",",u.source,"\\)$"].join(t.source),"i"),HSLA:new RegExp(["^hsla\\(",m.source,",",u.source,",",u.source,",",i.source,"\\)$"].join(t.source),"i"),HSB:new RegExp(["^hsb\\(",m.source,",",u.source,",",u.source,"\\)$"].join(t.source),"i"),HSBA:new RegExp(["^hsba\\(",m.source,",",u.source,",",u.source,",",i.source,"\\)$"].join(t.source),"i")},m=(n.default.Color._parseInputs=function(b,x,w,T){var M,O=arguments.length,L=this.mode,R=this.maxes[L],A=[];if(3<=O){for(A[0]=b/R[0],A[1]=x/R[1],A[2]=w/R[2],A[3]=typeof T=="number"?T/R[3]:1,M=A.length-1;0<=M;--M){var N=A[M];N<0?A[M]=0:1");function Nc(h,y,E,e,S){switch(y){case"select":h.push(Er("select"));var v=null,l=null;for(c in E)if(lr.call(E,c)){var s=E[c];if(s!=null)switch(c){case"children":v=s;break;case"dangerouslySetInnerHTML":l=s;break;case"defaultValue":case"value":break;default:dr(h,e,c,s)}}return h.push(Br),Kn(h,l,v),v;case"option":l=S.selectedValue,h.push(Er("option"));var n=s=null,a=null,c=null;for(v in E)if(lr.call(E,v)){var f=E[v];if(f!=null)switch(v){case"children":s=f;break;case"selected":a=f;break;case"dangerouslySetInnerHTML":c=f;break;case"value":n=f;default:dr(h,e,v,f)}}if(l!=null)if(E=n!==null?""+n:Dc(s),Ko(l)){for(e=0;e"),Vc=Ye(''),Hc=Ye(""),Wc=Ye(''),Xc=Ye(""),$c=Ye(""),Yc=Ye("");function $a(h,y,E){if(tt(h,Wc),E===null)throw Error(dt(395));return tt(h,E),kt(h,qc)}var Kc=Ye('"),rd=Ye('"),sd=Ye('"),ld=Ye(''),cd=Ye(""),dd=Ye(''),pd=Ye(""),hd=Ye(''),yd=Ye(""),gd=Ye(''),bd=Ye("");function xd(h,y,E,e){switch(E.insertionMode){case 0:case 1:return tt(h,Kc),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,ed);case 2:return tt(h,rd),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,nd);case 3:return tt(h,sd),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,ad);case 4:return tt(h,ld),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,ud);case 5:return tt(h,dd),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,fd);case 6:return tt(h,hd),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,md);case 7:return tt(h,gd),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,vd);default:throw Error(dt(397))}}function _d(h,y){switch(y.insertionMode){case 0:case 1:return kt(h,td);case 2:return kt(h,od);case 3:return kt(h,id);case 4:return kt(h,cd);case 5:return kt(h,pd);case 6:return kt(h,yd);case 7:return kt(h,bd);default:throw Error(dt(397))}}var wd=Ye('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),jd=Ye('$RS("'),Sd=Ye('","'),Ed=Ye('")<\/script>'),Md=Ye('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Td=Ye('$RC("'),Cd=Ye('","'),kd=Ye('")<\/script>'),Od=Ye('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Pd=Ye('$RX("'),Ld=Ye('"'),Rd=Ye(")<\/script>"),Go=Ye(","),Ad=/[<\u2028\u2029]/g;function Vo(h){return JSON.stringify(h).replace(Ad,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var xn=Object.assign,Id=Symbol.for("react.element"),cl=Symbol.for("react.portal"),dl=Symbol.for("react.fragment"),fl=Symbol.for("react.strict_mode"),pl=Symbol.for("react.profiler"),hl=Symbol.for("react.provider"),ml=Symbol.for("react.context"),yl=Symbol.for("react.forward_ref"),gl=Symbol.for("react.suspense"),vl=Symbol.for("react.suspense_list"),bl=Symbol.for("react.memo"),bs=Symbol.for("react.lazy"),Dd=Symbol.for("react.scope"),Ud=Symbol.for("react.debug_trace_mode"),Fd=Symbol.for("react.legacy_hidden"),Nd=Symbol.for("react.default_value"),Ya=Symbol.iterator;function es(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case dl:return"Fragment";case cl:return"Portal";case pl:return"Profiler";case fl:return"StrictMode";case gl:return"Suspense";case vl:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case ml:return(h.displayName||"Context")+".Consumer";case hl:return(h._context.displayName||"Context")+".Provider";case yl:var y=h.render;return h=h.displayName,h||(h=y.displayName||y.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case bl:return y=h.displayName||null,y!==null?y:es(h.type)||"Memo";case bs:y=h._payload,h=h._init;try{return es(h(y))}catch{}}return null}var xl={};function Za(h,y){if(h=h.contextTypes,!h)return xl;var E={},e;for(e in h)E[e]=y[e];return E}var Yr=null;function bo(h,y){if(h!==y){h.context._currentValue=h.parentValue,h=h.parent;var E=y.parent;if(h===null){if(E!==null)throw Error(dt(401))}else{if(E===null)throw Error(dt(401));bo(h,E)}y.context._currentValue=y.value}}function _l(h){h.context._currentValue=h.parentValue,h=h.parent,h!==null&&_l(h)}function wl(h){var y=h.parent;y!==null&&wl(y),h.context._currentValue=h.value}function jl(h,y){if(h.context._currentValue=h.parentValue,h=h.parent,h===null)throw Error(dt(402));h.depth===y.depth?bo(h,y):jl(h,y)}function Sl(h,y){var E=y.parent;if(E===null)throw Error(dt(402));h.depth===E.depth?bo(h,E):Sl(h,E),y.context._currentValue=y.value}function lo(h){var y=Yr;y!==h&&(y===null?wl(h):h===null?_l(y):y.depth===h.depth?bo(y,h):y.depth>h.depth?jl(y,h):Sl(y,h),Yr=h)}var Qa={isMounted:function(){return!1},enqueueSetState:function(h,y){h=h._reactInternals,h.queue!==null&&h.queue.push(y)},enqueueReplaceState:function(h,y){h=h._reactInternals,h.replace=!0,h.queue=[y]},enqueueForceUpdate:function(){}};function Ja(h,y,E,e){var S=h.state!==void 0?h.state:null;h.updater=Qa,h.props=E,h.state=S;var v={queue:[],replace:!1};h._reactInternals=v;var l=y.contextType;if(h.context=typeof l=="object"&&l!==null?l._currentValue:e,l=y.getDerivedStateFromProps,typeof l=="function"&&(l=l(E,S),S=l==null?S:xn({},S,l),h.state=S),typeof y.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function"))if(y=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),y!==h.state&&Qa.enqueueReplaceState(h,h.state,null),v.queue!==null&&0>=l,S-=l,{id:1<<32-eo(y)+S|E<>>=0,h===0?32:31-(Gd(h)/Vd|0)|0}function Hd(h,y){return h===y&&(h!==0||1/h===1/y)||h!==h&&y!==y}var Wd=typeof Object.is=="function"?Object.is:Hd,Rr=null,xs=null,to=null,Et=null,yn=!1,uo=!1,jn=0,zr=null,xo=0;function Xr(){if(Rr===null)throw Error(dt(321));return Rr}function Ka(){if(0h.progressiveChunkSize)e.rootSegmentID=h.nextSegmentId++,h.completedBoundaries.push(e),$a(y,h.responseState,e.id),zn(h,y,E);else{if(kt(y,Hc),E=e.completedSegments,E.length!==1)throw Error(dt(391));_o(h,y,E[0])}return kt(y,$c)}function ii(h,y,E){return xd(y,h.responseState,E.formatContext,E.id),_o(h,y,E),_d(y,E.formatContext)}function li(h,y,E){for(var e=E.completedSegments,S=0;S{y.current.onmousemove=({clientX:E,clientY:e})=>{let S=y.current.getBoundingClientRect();y.current.style.setProperty("--x",`${E-S.x}px`),y.current.style.setProperty("--y",`${e-S.y}px`)}},[]),Gt("section",{className:"contact",id:"contact",children:[nt(as,{children:"Contact"}),Gt("div",{className:"container",children:[nt("p",{className:"float-text",children:Nn.email}),Gt("div",{className:"socials",children:[nt("a",{href:Nn.linkedin,target:"_blank",id:"linkedin",children:nt(Pr,{icon:mu})}),nt("a",{href:Nn.github,target:"_blank",id:"github",children:nt(Pr,{icon:yu})}),nt("a",{href:Nn.codepen,target:"_blank",id:"codepen",children:nt(Pr,{icon:gu})})]}),Gt("a",{id:"resume-dl",ref:y,href:"/assets/JoshFriedman_resume.pdf",target:"_blank",children:[nt(Pr,{icon:vu}),"Resume"]})]})]})}function Jd({onScrollIn:h}){const y=Xt.exports.useRef(null);return Xt.exports.useRef(null),Xt.exports.useEffect(()=>{y.current.children.forEach(E=>{E.onmouseenter=()=>E.classList.add("animating"),E.onanimationend=()=>E.classList.remove("animating")})},[]),Gt("section",{className:"landing",id:"landing",children:[Gt("h1",{children:[Gt("div",{className:"backdrop",ref:y,children:[nt("span",{children:"J"}),nt("span",{children:"O"}),nt("span",{children:"S"}),nt("span",{children:"H"})]}),nt("span",{children:"Josh Friedman"})]}),Gt("p",{children:[nt("span",{children:"\u{1F44B}"})," Hey! I'm Josh, a full stack developer based in Toronto. I'm currently studying Computer Engineering at Queen's University in Kingston."]})]})}var Dt={},Es={},En={},Mn={},Pl="Expected a function",ci=0/0,Kd="[object Symbol]",ef=/^\s+|\s+$/g,tf=/^[-+]0x[0-9a-f]+$/i,rf=/^0b[01]+$/i,nf=/^0o[0-7]+$/i,of=parseInt,sf=typeof Gr=="object"&&Gr&&Gr.Object===Object&&Gr,af=typeof self=="object"&&self&&self.Object===Object&&self,lf=sf||af||Function("return this")(),uf=Object.prototype,cf=uf.toString,df=Math.max,ff=Math.min,Ho=function(){return lf.Date.now()};function pf(h,y,E){var e,S,v,l,s,n,a=0,c=!1,f=!1,r=!0;if(typeof h!="function")throw new TypeError(Pl);y=di(y)||0,ho(E)&&(c=!!E.leading,f="maxWait"in E,v=f?df(di(E.maxWait)||0,y):v,r="trailing"in E?!!E.trailing:r);function o(T){var M=e,O=S;return e=S=void 0,a=T,l=h.apply(O,M),l}function t(T){return a=T,s=setTimeout(p,y),c?o(T):l}function i(T){var M=T-n,O=T-a,L=y-M;return f?ff(L,v-O):L}function u(T){var M=T-n,O=T-a;return n===void 0||M>=y||M<0||f&&O>=v}function p(){var T=Ho();if(u(T))return m(T);s=setTimeout(p,i(T))}function m(T){return s=void 0,r&&e?o(T):(e=S=void 0,l)}function b(){s!==void 0&&clearTimeout(s),a=0,e=n=S=s=void 0}function x(){return s===void 0?l:m(Ho())}function w(){var T=Ho(),M=u(T);if(e=arguments,S=this,n=T,M){if(s===void 0)return t(n);if(f)return s=setTimeout(p,y),o(n)}return s===void 0&&(s=setTimeout(p,y)),l}return w.cancel=b,w.flush=x,w}function hf(h,y,E){var e=!0,S=!0;if(typeof h!="function")throw new TypeError(Pl);return ho(E)&&(e="leading"in E?!!E.leading:e,S="trailing"in E?!!E.trailing:S),pf(h,y,{leading:e,maxWait:y,trailing:S})}function ho(h){var y=typeof h;return!!h&&(y=="object"||y=="function")}function mf(h){return!!h&&typeof h=="object"}function yf(h){return typeof h=="symbol"||mf(h)&&cf.call(h)==Kd}function di(h){if(typeof h=="number")return h;if(yf(h))return ci;if(ho(h)){var y=typeof h.valueOf=="function"?h.valueOf():h;h=ho(y)?y+"":y}if(typeof h!="string")return h===0?h:+h;h=h.replace(ef,"");var E=rf.test(h);return E||nf.test(h)?of(h.slice(2),E?2:8):tf.test(h)?ci:+h}var gf=hf,Tn={};Object.defineProperty(Tn,"__esModule",{value:!0});Tn.addPassiveEventListener=function(y,E,e){var S=function(){var v=!1;try{var l=Object.defineProperty({},"passive",{get:function(){v=!0}});window.addEventListener("test",null,l)}catch{}return v}();y.addEventListener(E,e,S?{passive:!0}:!1)};Tn.removePassiveEventListener=function(y,E,e){y.removeEventListener(E,e)};Object.defineProperty(Mn,"__esModule",{value:!0});var vf=gf,bf=_f(vf),xf=Tn;function _f(h){return h&&h.__esModule?h:{default:h}}var wf=function(y){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:66;return(0,bf.default)(y,E)},Lt={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(y,E){if(y){var e=wf(function(S){Lt.scrollHandler(y)},E);Lt.scrollSpyContainers.push(y),(0,xf.addPassiveEventListener)(y,"scroll",e)}},isMounted:function(y){return Lt.scrollSpyContainers.indexOf(y)!==-1},currentPositionX:function(y){if(y===document){var E=window.pageYOffset!==void 0,e=(document.compatMode||"")==="CSS1Compat";return E?window.pageXOffset:e?document.documentElement.scrollLeft:document.body.scrollLeft}else return y.scrollLeft},currentPositionY:function(y){if(y===document){var E=window.pageXOffset!==void 0,e=(document.compatMode||"")==="CSS1Compat";return E?window.pageYOffset:e?document.documentElement.scrollTop:document.body.scrollTop}else return y.scrollTop},scrollHandler:function(y){var E=Lt.scrollSpyContainers[Lt.scrollSpyContainers.indexOf(y)].spyCallbacks||[];E.forEach(function(e){return e(Lt.currentPositionX(y),Lt.currentPositionY(y))})},addStateHandler:function(y){Lt.spySetState.push(y)},addSpyHandler:function(y,E){var e=Lt.scrollSpyContainers[Lt.scrollSpyContainers.indexOf(E)];e.spyCallbacks||(e.spyCallbacks=[]),e.spyCallbacks.push(y),y(Lt.currentPositionX(E),Lt.currentPositionY(E))},updateStates:function(){Lt.spySetState.forEach(function(y){return y()})},unmount:function(y,E){Lt.scrollSpyContainers.forEach(function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.indexOf(E)>-1&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(E),1)}),Lt.spySetState&&Lt.spySetState.length&&Lt.spySetState.indexOf(y)>-1&&Lt.spySetState.splice(Lt.spySetState.indexOf(y),1),document.removeEventListener("scroll",Lt.scrollHandler)},update:function(){return Lt.scrollSpyContainers.forEach(function(y){return Lt.scrollHandler(y)})}};Mn.default=Lt;var nn={},Cn={};Object.defineProperty(Cn,"__esModule",{value:!0});var jf=function(y,E){var e=y.indexOf("#")===0?y.substring(1):y,S=e?"#"+e:"",v=window&&window.location,l=S?v.pathname+v.search+S:v.pathname+v.search;E?history.pushState(history.state,"",l):history.replaceState(history.state,"",l)},Sf=function(){return window.location.hash.replace(/^#/,"")},Ef=function(y){return function(E){return y.contains?y!=E&&y.contains(E):!!(y.compareDocumentPosition(E)&16)}},Mf=function(y){return getComputedStyle(y).position!=="static"},Wo=function(y,E){for(var e=y.offsetTop,S=y.offsetParent;S&&!E(S);)e+=S.offsetTop,S=S.offsetParent;return{offsetTop:e,offsetParent:S}},Tf=function(y,E,e){if(e)return y===document?E.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):getComputedStyle(y).position!=="static"?E.offsetLeft:E.offsetLeft-y.offsetLeft;if(y===document)return E.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if(Mf(y)){if(E.offsetParent!==y){var S=function(c){return c===y||c===document},v=Wo(E,S),l=v.offsetTop,s=v.offsetParent;if(s!==y)throw new Error("Seems containerElement is not an ancestor of the Element");return l}return E.offsetTop}if(E.offsetParent===y.offsetParent)return E.offsetTop-y.offsetTop;var n=function(c){return c===document};return Wo(E,n).offsetTop-Wo(y,n).offsetTop};Cn.default={updateHash:jf,getHash:Sf,filterElementInContainer:Ef,scrollOffset:Tf};var wo={},Ms={};Object.defineProperty(Ms,"__esModule",{value:!0});Ms.default={defaultEasing:function(y){return y<.5?Math.pow(y*2,2)/2:1-Math.pow((1-y)*2,2)/2},linear:function(y){return y},easeInQuad:function(y){return y*y},easeOutQuad:function(y){return y*(2-y)},easeInOutQuad:function(y){return y<.5?2*y*y:-1+(4-2*y)*y},easeInCubic:function(y){return y*y*y},easeOutCubic:function(y){return--y*y*y+1},easeInOutCubic:function(y){return y<.5?4*y*y*y:(y-1)*(2*y-2)*(2*y-2)+1},easeInQuart:function(y){return y*y*y*y},easeOutQuart:function(y){return 1- --y*y*y*y},easeInOutQuart:function(y){return y<.5?8*y*y*y*y:1-8*--y*y*y*y},easeInQuint:function(y){return y*y*y*y*y},easeOutQuint:function(y){return 1+--y*y*y*y*y},easeInOutQuint:function(y){return y<.5?16*y*y*y*y*y:1+16*--y*y*y*y*y}};var Ts={};Object.defineProperty(Ts,"__esModule",{value:!0});var Cf=Tn,kf=["mousedown","mousewheel","touchmove","keydown"];Ts.default={subscribe:function(y){return typeof document<"u"&&kf.forEach(function(E){return(0,Cf.addPassiveEventListener)(document,E,y)})}};var kn={};Object.defineProperty(kn,"__esModule",{value:!0});var os={registered:{},scrollEvent:{register:function(y,E){os.registered[y]=E},remove:function(y){os.registered[y]=null}}};kn.default=os;Object.defineProperty(wo,"__esModule",{value:!0});var Of=Object.assign||function(h){for(var y=1;y=S.duration?1:y(S.progress/S.duration),S.currentPosition=S.startPosition+Math.ceil(S.delta*S.percent),S.containerElement&&S.containerElement!==document&&S.containerElement!==document.body?E.horizontal?S.containerElement.scrollLeft=S.currentPosition:S.containerElement.scrollTop=S.currentPosition:E.horizontal?window.scrollTo(S.currentPosition,0):window.scrollTo(0,S.currentPosition),S.percent<1){var v=h.bind(null,y,E);ss.call(window,v);return}Mr.default.registered.end&&Mr.default.registered.end(S.to,S.target,S.currentPosition)},Cs=function(y){y.data.containerElement=y?y.containerId?document.getElementById(y.containerId):y.container&&y.container.nodeType?y.container:document:null},On=function(y,E,e,S){if(E.data=E.data||Rl(),window.clearTimeout(E.data.delayTimeout),Af.default.subscribe(function(){E.data.cancel=!0}),Cs(E),E.data.start=null,E.data.cancel=!1,E.data.startPosition=E.horizontal?Al(E):Il(E),E.data.targetPosition=E.absolute?y:y+E.data.startPosition,E.data.startPosition===E.data.targetPosition){Mr.default.registered.end&&Mr.default.registered.end(E.data.to,E.data.target,E.data.currentPosition);return}E.data.delta=Math.round(E.data.targetPosition-E.data.startPosition),E.data.duration=Df(E.duration)(E.data.delta),E.data.duration=isNaN(parseFloat(E.data.duration))?1e3:parseFloat(E.data.duration),E.data.to=e,E.data.target=S;var v=Ll(E),l=Bf.bind(null,v,E);if(E&&E.delay>0){E.data.delayTimeout=window.setTimeout(function(){Mr.default.registered.begin&&Mr.default.registered.begin(E.data.to,E.data.target),ss.call(window,l)},E.delay);return}Mr.default.registered.begin&&Mr.default.registered.begin(E.data.to,E.data.target),ss.call(window,l)},So=function(y){return y=Of({},y),y.data=y.data||Rl(),y.absolute=!0,y},Gf=function(y){On(0,So(y))},Vf=function(y,E){On(y,So(E))},zf=function(y){y=So(y),Cs(y),On(y.horizontal?Ff(y):Nf(y),y)},Hf=function(y,E){E=So(E),Cs(E);var e=E.horizontal?Al(E):Il(E);On(y+e,E)};wo.default={animateTopScroll:On,getAnimationType:Ll,scrollToTop:Gf,scrollToBottom:zf,scrollTo:Vf,scrollMore:Hf};Object.defineProperty(nn,"__esModule",{value:!0});var Wf=Object.assign||function(h){for(var y=1;y=Math.floor(i)&&x=Math.floor(u)}else{var w=0,T=0,M=0;if(a.getBoundingClientRect){var O=a.getBoundingClientRect();M=O.top}if(!r||l.props.isDynamic){if(r=E.get(f),!r)return;var L=r.getBoundingClientRect();w=L.top-M+n,T=w+L.height}var R=n-l.props.offset;o=R>=Math.floor(w)&&R=Math.floor(T)}var A=E.getActiveLink();if(t){if(f===A&&E.setActiveLink(void 0),l.props.hashSpy&&Ur.default.getHash()===f){var N=l.props.saveHashHistory,U=N===void 0?!1:N;Ur.default.changeHash("",U)}l.props.spy&&l.state.active&&(l.setState({active:!1}),l.props.onSetInactive&&l.props.onSetInactive(f,r))}if(o&&(A!==f||l.state.active===!1)){E.setActiveLink(f);var B=l.props.saveHashHistory,W=B===void 0?!1:B;l.props.hashSpy&&Ur.default.changeHash(f,W),l.props.spy&&(l.setState({active:!0}),l.props.onSetActive&&l.props.onSetActive(f,r))}}}};return e.propTypes=yi,e.defaultProps={offset:0},e};Object.defineProperty(Es,"__esModule",{value:!0});var cp=Xt.exports,gi=Dl(cp),dp=En,fp=Dl(dp);function Dl(h){return h&&h.__esModule?h:{default:h}}function pp(h,y){if(!(h instanceof y))throw new TypeError("Cannot call a class as a function")}function vi(h,y){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:h}function hp(h,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);h.prototype=Object.create(y&&y.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(h,y):h.__proto__=y)}var mp=function(h){hp(y,h);function y(){var E,e,S,v;pp(this,y);for(var l=arguments.length,s=Array(l),n=0;n"u")return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(v){this.props.name!==v.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if(typeof window>"u")return!1;_i.default.unregister(this.props.name)}},{key:"registerElems",value:function(v){_i.default.register(v,this.childBindings.domNode)}},{key:"render",value:function(){return xi.default.createElement(h,Sp({},this.props,{parentBindings:this.childBindings}))}}]),e}(xi.default.Component);return y.propTypes={name:wi.default.string,id:wi.default.string},y};Object.defineProperty(Ps,"__esModule",{value:!0});var ji=Object.assign||function(h){for(var y=1;y=Math.floor(r)&&p=Math.floor(o),x=e.getActiveLink();if(b)return c===x&&e.setActiveLink(void 0),s.props.hashSpy&&Fr.getHash()===c&&Fr.changeHash(),s.props.spy&&s.state.active&&(s.setState({active:!1}),s.props.onSetInactive&&s.props.onSetInactive()),Hr.updateStates();if(m&&x!==c)return e.setActiveLink(c),s.props.hashSpy&&Fr.changeHash(c),s.props.spy&&(s.setState({active:!0}),s.props.onSetActive&&s.props.onSetActive(c)),Hr.updateStates()}}};return S.propTypes=Ri,S.defaultProps={offset:0},S},Element:function(y){console.warn("Helpers.Element is deprecated since v1.7.0");var E=function(e){Pi(S,e);function S(v){ki(this,S);var l=Oi(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,v));return l.childBindings={domNode:null},l}return Ci(S,[{key:"componentDidMount",value:function(){if(typeof window>"u")return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(l){this.props.name!==l.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if(typeof window>"u")return!1;Xo.unregister(this.props.name)}},{key:"registerElems",value:function(l){Xo.register(l,this.childBindings.domNode)}},{key:"render",value:function(){return Mi(y,{...this.props,parentBindings:this.childBindings})}}]),S}(Li.Component);return E.propTypes={name:Rt.string,id:Rt.string},E}},zp=Vp;Object.defineProperty(Dt,"__esModule",{value:!0});Dt.Helpers=Dt.ScrollElement=Dt.ScrollLink=Dt.animateScroll=Dt.scrollSpy=Dt.Events=Dt.scroller=Dt.Element=Dt.Button=vn=Dt.Link=void 0;var Hp=Es,Nl=Tr(Hp),Wp=Os,Bl=Tr(Wp),qp=Ps,Gl=Tr(qp),Xp=nn,Vl=Tr(Xp),$p=kn,zl=Tr($p),Yp=Mn,Hl=Tr(Yp),Zp=wo,Wl=Tr(Zp),Qp=En,ql=Tr(Qp),Jp=Mo,Xl=Tr(Jp),Kp=zp,$l=Tr(Kp);function Tr(h){return h&&h.__esModule?h:{default:h}}var vn=Dt.Link=Nl.default;Dt.Button=Bl.default;Dt.Element=Gl.default;Dt.scroller=Vl.default;Dt.Events=zl.default;Dt.scrollSpy=Hl.default;Dt.animateScroll=Wl.default;Dt.ScrollLink=ql.default;Dt.ScrollElement=Xl.default;Dt.Helpers=$l.default;Dt.default={Link:Nl.default,Button:Bl.default,Element:Gl.default,scroller:Vl.default,Events:zl.default,scrollSpy:Hl.default,animateScroll:Wl.default,ScrollLink:ql.default,ScrollElement:Xl.default,Helpers:$l.default};function eh({currentSection:h}){return nt("nav",{id:"mainNav",children:Gt("ul",{children:[nt("li",{children:Gt(vn,{to:"landing",activeClass:"active",spy:!0,children:[nt(Pr,{icon:wu}),nt("span",{children:"Home"})]})}),nt("li",{children:Gt(vn,{to:"skills",activeClass:"active",spy:!0,children:[nt(Pr,{icon:ju}),nt("span",{children:"Skills"})]})}),nt("li",{children:Gt(vn,{to:"projects",activeClass:"active",spy:!0,children:[nt(Pr,{icon:Su}),nt("span",{children:"Projects"})]})}),nt("li",{children:Gt(vn,{to:"contact",activeClass:"active",spy:!0,children:[nt(Pr,{icon:Eu}),nt("span",{children:"Contact"})]})})]})})}function th(){return Gt("div",{className:"pinwheel",children:[nt("div",{className:"pinwheel__ball"}),Gt("div",{className:"pinwheel__plus",children:[nt("span",{className:"horiz"}),nt("span",{className:"vert"}),nt("span",{className:"screw"})]})]})}function rh({title:h,description:y,image:E,url:e}){return nt("li",{children:nt("a",{href:e,target:"_blank",children:Gt("div",{className:"card",style:{"--bg-img":`url(${E})`},children:[nt("h4",{children:h}),nt("p",{children:y})]})})})}function nh({onScrollIn:h}){const y=Xt.exports.useRef(null);return Xt.exports.useEffect(()=>{matchMedia("(min-width: 768px)").matches&&(y.current.onmousemove=({clientX:E,clientY:e})=>{y.current.children.forEach(S=>{let v=S.getBoundingClientRect(),l=E-v.x,s=e-v.y;S.style.setProperty("--x",`${l}px`),S.style.setProperty("--y",`${s}px`)})})},[]),Gt("section",{className:"projects",id:"projects",children:[nt(as,{children:"Projects"}),nt("ul",{className:"projects-list",ref:y,children:Mu.filter(E=>!E.resume_only).map((E,e)=>nt(rh,{...E},e))})]})}const oh={icon:[24,24,[],"","M14.314 0L2.3 12 6 15.7 21.684.012h-7.357L14.314 0zm.014 11.072l-6.471 6.457 6.47 6.47H21.7l-6.46-6.468 6.46-6.46h-7.371z"],iconName:"flutter",prefix:"custom"},sh={icon:[24,24,[],"","M0 2.34375C0 1.04933 1.04933 0 2.34375 0H21.6562C22.9507 0 24 1.04933 24 2.34375V21.6562C24 22.9507 22.9507 24 21.6562 24H2.34375C1.04933 24 0 22.9507 0 21.6562V2.34375ZM16.243 19.901C15.7442 19.7226 15.282 19.4549 14.8565 19.098V21.4446C15.238 21.6402 15.6892 21.7868 16.21 21.8846C16.7309 21.9824 17.2799 22.0312 17.857 22.0312C18.4194 22.0312 18.9537 21.9775 19.4599 21.8699C19.9661 21.7624 20.41 21.5851 20.7915 21.3382C21.1729 21.0914 21.4749 20.7687 21.6975 20.3703C21.92 19.9718 22.0312 19.4793 22.0312 18.8927C22.0312 18.4673 21.9677 18.0946 21.8405 17.7744C21.7133 17.4542 21.53 17.1694 21.2903 16.9201C21.0507 16.6708 20.7633 16.4471 20.4283 16.2491C20.0933 16.0511 19.7155 15.8641 19.2949 15.6881C18.9868 15.561 18.7104 15.4376 18.4659 15.3178C18.2213 15.198 18.0135 15.0758 17.8423 14.9512C17.6711 14.8265 17.5391 14.6945 17.4462 14.5552C17.3533 14.4158 17.3068 14.2582 17.3068 14.0821C17.3068 13.9208 17.3483 13.7754 17.4315 13.6458C17.5147 13.5163 17.632 13.4051 17.7836 13.3122C17.9353 13.2193 18.1211 13.1472 18.3412 13.0958C18.5613 13.0445 18.8058 13.0189 19.0748 13.0189C19.2704 13.0189 19.477 13.0335 19.6947 13.0628C19.9123 13.0922 20.1312 13.1374 20.3513 13.1985C20.5714 13.2596 20.7853 13.3366 20.9932 13.4295C21.201 13.5224 21.393 13.6299 21.5691 13.7522V11.5596C21.2121 11.4227 20.822 11.3212 20.399 11.2552C19.9759 11.1892 19.4905 11.1562 18.9427 11.1562C18.3852 11.1562 17.857 11.2162 17.3581 11.3359C16.8593 11.4557 16.4204 11.6427 16.0413 11.8969C15.6622 12.1511 15.3627 12.475 15.1426 12.8685C14.9226 13.2621 14.8125 13.7326 14.8125 14.2801C14.8125 14.9792 15.0142 15.5757 15.4177 16.0695C15.8212 16.5632 16.4338 16.9812 17.2554 17.3234C17.5782 17.4554 17.879 17.5849 18.1578 17.712C18.4365 17.8392 18.6774 17.9712 18.8804 18.108C19.0833 18.2449 19.2435 18.394 19.3609 18.5554C19.4783 18.7167 19.537 18.9 19.537 19.1054C19.537 19.2569 19.5003 19.3974 19.4269 19.527C19.3536 19.6566 19.2423 19.769 19.0931 19.8643C18.944 19.9597 18.7581 20.0342 18.5356 20.088C18.313 20.1418 18.0526 20.1686 17.7543 20.1686C17.2456 20.1686 16.7419 20.0794 16.243 19.901ZM10.9116 13.3163H13.9219V11.3906H5.53125V13.3163H8.52684V21.8906H10.9116V13.3163Z"],iconName:"typescript",prefix:"custom"},ah={icon:[22,24,[],"","M21.7143 6.60936C21.7143 6.3183 21.6075 6.04205 21.4209 5.82601L21.4211 5.82587C21.316 5.68816 21.1983 5.58359 21.044 5.49673C20.0888 4.96187 18.1787 3.8963 16.2685 2.83072C14.3584 1.76515 12.4483 0.699588 11.4931 0.164732C11.4041 0.114864 11.3077 0.0762359 11.2074 0.04896C11.0986 0.0181335 10.9865 0.00197351 10.8742 0.000480235C10.6366 -0.00566416 10.3973 0.0471294 10.1954 0.160161C8.28514 1.23045 2.53543 4.45044 0.625142 5.52016C0.238286 5.73616 0 6.13616 0 6.5693V6.60993V17.2887V17.3911C0 17.8265 0.238857 18.2282 0.626285 18.4459C1.80512 19.1073 4.43928 20.586 6.73943 21.8772L6.76841 21.8935L10.2303 23.8368C10.6177 24.0545 11.0954 24.0545 11.4834 23.8368C12.6707 23.1706 15.3343 21.6754 17.6461 20.3777L21.0874 18.4459C21.4754 18.2282 21.7143 17.8259 21.7143 17.3905V6.60936ZM10.8572 4.00018C13.7874 4.00018 16.3517 5.57884 17.7452 7.93135L14.2714 9.9163C13.5682 8.76737 12.3015 8.00018 10.8572 8.00018C8.64917 8.00018 6.85717 9.79218 6.85717 12.0002C6.85717 14.2076 8.64974 16.0002 10.8572 16.0002C12.3257 16.0002 13.6105 15.2069 14.3062 14.0259L17.8117 15.9546C16.4343 18.3702 13.8346 20.0002 10.8572 20.0002C6.44175 20.0002 2.85718 16.4156 2.85718 12.0002C2.85718 7.58475 6.44175 4.00018 10.8572 4.00018Z"],iconName:"c",prefix:"custom"},ih={icon:[18,24,[],"","M0.009522 19.3642L2.9622 0.462951C2.99697 0.23703 3.16827 0.057383 3.39107 0.0115584C3.39776 0.0101612 3.4045 0.00888502 3.41129 0.00773229C3.50457 -0.00811578 3.59773 0.000815642 3.68294 0.0306889C3.81547 0.0725626 3.93036 0.16485 3.99903 0.293494L7.03965 5.98222L8.2552 3.66783C8.34952 3.48856 8.53542 3.37631 8.738 3.37631C8.75265 3.37631 8.76721 3.3769 8.78166 3.37806C8.96748 3.39252 9.13433 3.50126 9.22203 3.66793L11.4461 7.90226L14.2612 5.07163C14.3453 4.98741 14.4526 4.93484 14.5659 4.91804C14.653 4.90172 14.7444 4.9066 14.832 4.93467C15.0263 4.99693 15.1698 5.1621 15.204 5.36316L17.4665 19.364L17.4665 19.364V19.3642L17.4665 19.3643L17.4648 19.3652L17.4447 19.3778L17.4445 19.3765L15.871 20.2511L9.5018 23.7923C9.00593 24.0692 8.40201 24.0692 7.90614 23.7923L1.5959 20.2536L0.0907783 19.4098L0.0872543 19.4133L0.009522 19.3751L0 19.3642H0.009522Z"],iconName:"firebase",prefix:"custom"},lh={icon:[24,24,[],"","M17.5574 23.9382C17.7783 23.9388 18.0012 23.8905 18.2093 23.7903L23.1505 21.4127C23.6697 21.1629 23.9999 20.6374 23.9999 20.0609V3.93919C23.9999 3.36271 23.6698 2.83723 23.1506 2.58739L18.2093 0.209701C17.9993 0.108638 17.7743 0.0603514 17.5513 0.061927C17.2378 0.0610839 16.9277 0.158906 16.6686 0.347298C16.6058 0.392939 16.546 0.443895 16.4899 0.500051L7.03721 9.12392L2.92487 6.0023C2.74426 5.86521 2.52974 5.79796 2.31611 5.79901C2.29935 5.79887 2.2826 5.79915 2.26586 5.79985C2.0379 5.80908 1.81315 5.89613 1.63399 6.05909L0.312678 7.26115C-0.123327 7.65751 -0.123827 8.34305 0.311598 8.74006L3.88465 12L0.311598 15.26C-0.123827 15.657 -0.123327 16.3425 0.312678 16.7388L1.63399 17.941C1.82614 18.1158 2.07075 18.2032 2.31551 18.201C2.52934 18.2022 2.74409 18.135 2.92487 17.9977L7.03718 14.8761L16.4899 23.5001C16.6395 23.6498 16.8153 23.7625 17.0042 23.8361C17.1805 23.9048 17.3684 23.9394 17.5574 23.9382ZM17.989 17.4372L10.8261 12L17.989 6.56281V17.4372Z"],iconName:"vscode",prefix:"custom"},uh={JavaScript:Cu,TypeScript:sh,HTML:ku,CSS:Ou,SCSS:Pu,SQL:Lu,C:ah,Java:Ru,NodeJS:Au,React:ya,"React Native":ya,Flutter:oh,Git:Iu,AWS:Du,Firebase:ih,Linux:Uu,VSCode:lh,Python:Fu};function ch(){const h=({target:y,clientX:E,clientY:e})=>{let S=y.getBoundingClientRect();const v=E-S.x,l=e-S.y;y.style.setProperty("--x",`${v}px`),y.style.setProperty("--y",`${l}px`)};return nt("div",{className:"container",children:nt("ul",{className:"skills-list",children:Object.values(Tu).flat().map((y,E)=>Gt("li",{onMouseMove:h,children:[nt(Pr,{icon:uh[y]}),y]},E))})})}function dh(){return Gt("section",{className:"skills",id:"skills",children:[nt(as,{children:"Skills"}),nt(ch,{})]})}function fh(){return Xt.exports.useState("home"),Gt(Nu,{children:[nt(eh,{}),nt(th,{}),nt(Jd,{}),nt(dh,{}),nt(nh,{}),nt(Qd,{})]})}Bu.createRoot(document.getElementById("root")).render(nt(Gu.StrictMode,{children:nt(fh,{})})); +`&&h.push(Bo),v;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":h.push(Er(y));for(var o in E)if(lr.call(E,o)&&(v=E[o],v!=null))switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(dt(399,y));default:dr(h,e,o,v)}return h.push(qa),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return No(h,E,y,e);case"html":return S.insertionMode===0&&h.push(Fc),No(h,E,y,e);default:if(y.indexOf("-")===-1&&typeof E.is!="string")return No(h,E,y,e);h.push(Er(y)),l=v=null;for(a in E)if(lr.call(E,a)&&(s=E[a],s!=null))switch(a){case"children":v=s;break;case"dangerouslySetInnerHTML":l=s;break;case"style":ul(h,e,s);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ll(a)&&typeof s!="function"&&typeof s!="symbol"&&h.push(Nr,ft(a),en,ft(Qt(s)),qr)}return h.push(Br),Kn(h,l,v),v}}var Bc=Ye(""),Vc=Ye(''),Hc=Ye(""),Wc=Ye(''),Xc=Ye(""),$c=Ye(""),Yc=Ye("");function $a(h,y,E){if(tt(h,Wc),E===null)throw Error(dt(395));return tt(h,E),kt(h,qc)}var Kc=Ye('"),rd=Ye('"),sd=Ye('"),ld=Ye(''),cd=Ye(""),dd=Ye(''),pd=Ye(""),hd=Ye(''),yd=Ye(""),gd=Ye(''),bd=Ye("");function xd(h,y,E,e){switch(E.insertionMode){case 0:case 1:return tt(h,Kc),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,ed);case 2:return tt(h,rd),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,nd);case 3:return tt(h,sd),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,ad);case 4:return tt(h,ld),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,ud);case 5:return tt(h,dd),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,fd);case 6:return tt(h,hd),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,md);case 7:return tt(h,gd),tt(h,y.segmentPrefix),tt(h,ft(e.toString(16))),kt(h,vd);default:throw Error(dt(397))}}function _d(h,y){switch(y.insertionMode){case 0:case 1:return kt(h,td);case 2:return kt(h,od);case 3:return kt(h,id);case 4:return kt(h,cd);case 5:return kt(h,pd);case 6:return kt(h,yd);case 7:return kt(h,bd);default:throw Error(dt(397))}}var wd=Ye('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),jd=Ye('$RS("'),Sd=Ye('","'),Ed=Ye('")<\/script>'),Md=Ye('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Td=Ye('$RC("'),Cd=Ye('","'),kd=Ye('")<\/script>'),Od=Ye('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Pd=Ye('$RX("'),Ld=Ye('"'),Rd=Ye(")<\/script>"),Go=Ye(","),Ad=/[<\u2028\u2029]/g;function Vo(h){return JSON.stringify(h).replace(Ad,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var xn=Object.assign,Id=Symbol.for("react.element"),cl=Symbol.for("react.portal"),dl=Symbol.for("react.fragment"),fl=Symbol.for("react.strict_mode"),pl=Symbol.for("react.profiler"),hl=Symbol.for("react.provider"),ml=Symbol.for("react.context"),yl=Symbol.for("react.forward_ref"),gl=Symbol.for("react.suspense"),vl=Symbol.for("react.suspense_list"),bl=Symbol.for("react.memo"),bs=Symbol.for("react.lazy"),Dd=Symbol.for("react.scope"),Ud=Symbol.for("react.debug_trace_mode"),Fd=Symbol.for("react.legacy_hidden"),Nd=Symbol.for("react.default_value"),Ya=Symbol.iterator;function es(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case dl:return"Fragment";case cl:return"Portal";case pl:return"Profiler";case fl:return"StrictMode";case gl:return"Suspense";case vl:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case ml:return(h.displayName||"Context")+".Consumer";case hl:return(h._context.displayName||"Context")+".Provider";case yl:var y=h.render;return h=h.displayName,h||(h=y.displayName||y.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case bl:return y=h.displayName||null,y!==null?y:es(h.type)||"Memo";case bs:y=h._payload,h=h._init;try{return es(h(y))}catch{}}return null}var xl={};function Za(h,y){if(h=h.contextTypes,!h)return xl;var E={},e;for(e in h)E[e]=y[e];return E}var Yr=null;function bo(h,y){if(h!==y){h.context._currentValue=h.parentValue,h=h.parent;var E=y.parent;if(h===null){if(E!==null)throw Error(dt(401))}else{if(E===null)throw Error(dt(401));bo(h,E)}y.context._currentValue=y.value}}function _l(h){h.context._currentValue=h.parentValue,h=h.parent,h!==null&&_l(h)}function wl(h){var y=h.parent;y!==null&&wl(y),h.context._currentValue=h.value}function jl(h,y){if(h.context._currentValue=h.parentValue,h=h.parent,h===null)throw Error(dt(402));h.depth===y.depth?bo(h,y):jl(h,y)}function Sl(h,y){var E=y.parent;if(E===null)throw Error(dt(402));h.depth===E.depth?bo(h,E):Sl(h,E),y.context._currentValue=y.value}function lo(h){var y=Yr;y!==h&&(y===null?wl(h):h===null?_l(y):y.depth===h.depth?bo(y,h):y.depth>h.depth?jl(y,h):Sl(y,h),Yr=h)}var Qa={isMounted:function(){return!1},enqueueSetState:function(h,y){h=h._reactInternals,h.queue!==null&&h.queue.push(y)},enqueueReplaceState:function(h,y){h=h._reactInternals,h.replace=!0,h.queue=[y]},enqueueForceUpdate:function(){}};function Ja(h,y,E,e){var S=h.state!==void 0?h.state:null;h.updater=Qa,h.props=E,h.state=S;var v={queue:[],replace:!1};h._reactInternals=v;var l=y.contextType;if(h.context=typeof l=="object"&&l!==null?l._currentValue:e,l=y.getDerivedStateFromProps,typeof l=="function"&&(l=l(E,S),S=l==null?S:xn({},S,l),h.state=S),typeof y.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function"))if(y=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),y!==h.state&&Qa.enqueueReplaceState(h,h.state,null),v.queue!==null&&0>=l,S-=l,{id:1<<32-eo(y)+S|E<>>=0,h===0?32:31-(Gd(h)/Vd|0)|0}function Hd(h,y){return h===y&&(h!==0||1/h===1/y)||h!==h&&y!==y}var Wd=typeof Object.is=="function"?Object.is:Hd,Rr=null,xs=null,to=null,Et=null,yn=!1,uo=!1,jn=0,zr=null,xo=0;function Xr(){if(Rr===null)throw Error(dt(321));return Rr}function Ka(){if(0h.progressiveChunkSize)e.rootSegmentID=h.nextSegmentId++,h.completedBoundaries.push(e),$a(y,h.responseState,e.id),zn(h,y,E);else{if(kt(y,Hc),E=e.completedSegments,E.length!==1)throw Error(dt(391));_o(h,y,E[0])}return kt(y,$c)}function ii(h,y,E){return xd(y,h.responseState,E.formatContext,E.id),_o(h,y,E),_d(y,E.formatContext)}function li(h,y,E){for(var e=E.completedSegments,S=0;S{y.current.onmousemove=({clientX:E,clientY:e})=>{let S=y.current.getBoundingClientRect();y.current.style.setProperty("--x",`${E-S.x}px`),y.current.style.setProperty("--y",`${e-S.y}px`)}},[]),Gt("section",{className:"contact",id:"contact",children:[nt(as,{children:"Contact"}),Gt("div",{className:"container",children:[nt("p",{className:"float-text",children:Nn.email}),Gt("div",{className:"socials",children:[nt("a",{href:Nn.linkedin,target:"_blank",id:"linkedin",children:nt(Pr,{icon:mu})}),nt("a",{href:Nn.github,target:"_blank",id:"github",children:nt(Pr,{icon:yu})}),nt("a",{href:Nn.codepen,target:"_blank",id:"codepen",children:nt(Pr,{icon:gu})})]}),Gt("a",{id:"resume-dl",ref:y,href:"/assets/JoshFriedman_resume.pdf",target:"_blank",children:[nt(Pr,{icon:vu}),"Resume"]})]})]})}function Jd({onScrollIn:h}){const y=Xt.exports.useRef(null);return Xt.exports.useRef(null),Xt.exports.useEffect(()=>{y.current.children.forEach(E=>{E.onmouseenter=()=>E.classList.add("animating"),E.onanimationend=()=>E.classList.remove("animating")})},[]),Gt("section",{className:"landing",id:"landing",children:[Gt("h1",{children:[Gt("div",{className:"backdrop",ref:y,children:[nt("span",{children:"J"}),nt("span",{children:"O"}),nt("span",{children:"S"}),nt("span",{children:"H"})]}),nt("span",{children:"Josh Friedman"})]}),Gt("p",{children:[nt("span",{children:"\u{1F44B}"})," Hey! I'm Josh, a full stack developer based in Toronto. I'm currently studying Computer Engineering at Queen's University in Kingston."]})]})}var Dt={},Es={},En={},Mn={},Pl="Expected a function",ci=0/0,Kd="[object Symbol]",ef=/^\s+|\s+$/g,tf=/^[-+]0x[0-9a-f]+$/i,rf=/^0b[01]+$/i,nf=/^0o[0-7]+$/i,of=parseInt,sf=typeof Gr=="object"&&Gr&&Gr.Object===Object&&Gr,af=typeof self=="object"&&self&&self.Object===Object&&self,lf=sf||af||Function("return this")(),uf=Object.prototype,cf=uf.toString,df=Math.max,ff=Math.min,Ho=function(){return lf.Date.now()};function pf(h,y,E){var e,S,v,l,s,n,a=0,c=!1,f=!1,r=!0;if(typeof h!="function")throw new TypeError(Pl);y=di(y)||0,ho(E)&&(c=!!E.leading,f="maxWait"in E,v=f?df(di(E.maxWait)||0,y):v,r="trailing"in E?!!E.trailing:r);function o(T){var M=e,O=S;return e=S=void 0,a=T,l=h.apply(O,M),l}function t(T){return a=T,s=setTimeout(p,y),c?o(T):l}function i(T){var M=T-n,O=T-a,L=y-M;return f?ff(L,v-O):L}function u(T){var M=T-n,O=T-a;return n===void 0||M>=y||M<0||f&&O>=v}function p(){var T=Ho();if(u(T))return m(T);s=setTimeout(p,i(T))}function m(T){return s=void 0,r&&e?o(T):(e=S=void 0,l)}function b(){s!==void 0&&clearTimeout(s),a=0,e=n=S=s=void 0}function x(){return s===void 0?l:m(Ho())}function w(){var T=Ho(),M=u(T);if(e=arguments,S=this,n=T,M){if(s===void 0)return t(n);if(f)return s=setTimeout(p,y),o(n)}return s===void 0&&(s=setTimeout(p,y)),l}return w.cancel=b,w.flush=x,w}function hf(h,y,E){var e=!0,S=!0;if(typeof h!="function")throw new TypeError(Pl);return ho(E)&&(e="leading"in E?!!E.leading:e,S="trailing"in E?!!E.trailing:S),pf(h,y,{leading:e,maxWait:y,trailing:S})}function ho(h){var y=typeof h;return!!h&&(y=="object"||y=="function")}function mf(h){return!!h&&typeof h=="object"}function yf(h){return typeof h=="symbol"||mf(h)&&cf.call(h)==Kd}function di(h){if(typeof h=="number")return h;if(yf(h))return ci;if(ho(h)){var y=typeof h.valueOf=="function"?h.valueOf():h;h=ho(y)?y+"":y}if(typeof h!="string")return h===0?h:+h;h=h.replace(ef,"");var E=rf.test(h);return E||nf.test(h)?of(h.slice(2),E?2:8):tf.test(h)?ci:+h}var gf=hf,Tn={};Object.defineProperty(Tn,"__esModule",{value:!0});Tn.addPassiveEventListener=function(y,E,e){var S=function(){var v=!1;try{var l=Object.defineProperty({},"passive",{get:function(){v=!0}});window.addEventListener("test",null,l)}catch{}return v}();y.addEventListener(E,e,S?{passive:!0}:!1)};Tn.removePassiveEventListener=function(y,E,e){y.removeEventListener(E,e)};Object.defineProperty(Mn,"__esModule",{value:!0});var vf=gf,bf=_f(vf),xf=Tn;function _f(h){return h&&h.__esModule?h:{default:h}}var wf=function(y){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:66;return(0,bf.default)(y,E)},Lt={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(y,E){if(y){var e=wf(function(S){Lt.scrollHandler(y)},E);Lt.scrollSpyContainers.push(y),(0,xf.addPassiveEventListener)(y,"scroll",e)}},isMounted:function(y){return Lt.scrollSpyContainers.indexOf(y)!==-1},currentPositionX:function(y){if(y===document){var E=window.pageYOffset!==void 0,e=(document.compatMode||"")==="CSS1Compat";return E?window.pageXOffset:e?document.documentElement.scrollLeft:document.body.scrollLeft}else return y.scrollLeft},currentPositionY:function(y){if(y===document){var E=window.pageXOffset!==void 0,e=(document.compatMode||"")==="CSS1Compat";return E?window.pageYOffset:e?document.documentElement.scrollTop:document.body.scrollTop}else return y.scrollTop},scrollHandler:function(y){var E=Lt.scrollSpyContainers[Lt.scrollSpyContainers.indexOf(y)].spyCallbacks||[];E.forEach(function(e){return e(Lt.currentPositionX(y),Lt.currentPositionY(y))})},addStateHandler:function(y){Lt.spySetState.push(y)},addSpyHandler:function(y,E){var e=Lt.scrollSpyContainers[Lt.scrollSpyContainers.indexOf(E)];e.spyCallbacks||(e.spyCallbacks=[]),e.spyCallbacks.push(y),y(Lt.currentPositionX(E),Lt.currentPositionY(E))},updateStates:function(){Lt.spySetState.forEach(function(y){return y()})},unmount:function(y,E){Lt.scrollSpyContainers.forEach(function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.indexOf(E)>-1&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(E),1)}),Lt.spySetState&&Lt.spySetState.length&&Lt.spySetState.indexOf(y)>-1&&Lt.spySetState.splice(Lt.spySetState.indexOf(y),1),document.removeEventListener("scroll",Lt.scrollHandler)},update:function(){return Lt.scrollSpyContainers.forEach(function(y){return Lt.scrollHandler(y)})}};Mn.default=Lt;var nn={},Cn={};Object.defineProperty(Cn,"__esModule",{value:!0});var jf=function(y,E){var e=y.indexOf("#")===0?y.substring(1):y,S=e?"#"+e:"",v=window&&window.location,l=S?v.pathname+v.search+S:v.pathname+v.search;E?history.pushState(history.state,"",l):history.replaceState(history.state,"",l)},Sf=function(){return window.location.hash.replace(/^#/,"")},Ef=function(y){return function(E){return y.contains?y!=E&&y.contains(E):!!(y.compareDocumentPosition(E)&16)}},Mf=function(y){return getComputedStyle(y).position!=="static"},Wo=function(y,E){for(var e=y.offsetTop,S=y.offsetParent;S&&!E(S);)e+=S.offsetTop,S=S.offsetParent;return{offsetTop:e,offsetParent:S}},Tf=function(y,E,e){if(e)return y===document?E.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):getComputedStyle(y).position!=="static"?E.offsetLeft:E.offsetLeft-y.offsetLeft;if(y===document)return E.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if(Mf(y)){if(E.offsetParent!==y){var S=function(c){return c===y||c===document},v=Wo(E,S),l=v.offsetTop,s=v.offsetParent;if(s!==y)throw new Error("Seems containerElement is not an ancestor of the Element");return l}return E.offsetTop}if(E.offsetParent===y.offsetParent)return E.offsetTop-y.offsetTop;var n=function(c){return c===document};return Wo(E,n).offsetTop-Wo(y,n).offsetTop};Cn.default={updateHash:jf,getHash:Sf,filterElementInContainer:Ef,scrollOffset:Tf};var wo={},Ms={};Object.defineProperty(Ms,"__esModule",{value:!0});Ms.default={defaultEasing:function(y){return y<.5?Math.pow(y*2,2)/2:1-Math.pow((1-y)*2,2)/2},linear:function(y){return y},easeInQuad:function(y){return y*y},easeOutQuad:function(y){return y*(2-y)},easeInOutQuad:function(y){return y<.5?2*y*y:-1+(4-2*y)*y},easeInCubic:function(y){return y*y*y},easeOutCubic:function(y){return--y*y*y+1},easeInOutCubic:function(y){return y<.5?4*y*y*y:(y-1)*(2*y-2)*(2*y-2)+1},easeInQuart:function(y){return y*y*y*y},easeOutQuart:function(y){return 1- --y*y*y*y},easeInOutQuart:function(y){return y<.5?8*y*y*y*y:1-8*--y*y*y*y},easeInQuint:function(y){return y*y*y*y*y},easeOutQuint:function(y){return 1+--y*y*y*y*y},easeInOutQuint:function(y){return y<.5?16*y*y*y*y*y:1+16*--y*y*y*y*y}};var Ts={};Object.defineProperty(Ts,"__esModule",{value:!0});var Cf=Tn,kf=["mousedown","mousewheel","touchmove","keydown"];Ts.default={subscribe:function(y){return typeof document<"u"&&kf.forEach(function(E){return(0,Cf.addPassiveEventListener)(document,E,y)})}};var kn={};Object.defineProperty(kn,"__esModule",{value:!0});var os={registered:{},scrollEvent:{register:function(y,E){os.registered[y]=E},remove:function(y){os.registered[y]=null}}};kn.default=os;Object.defineProperty(wo,"__esModule",{value:!0});var Of=Object.assign||function(h){for(var y=1;y=S.duration?1:y(S.progress/S.duration),S.currentPosition=S.startPosition+Math.ceil(S.delta*S.percent),S.containerElement&&S.containerElement!==document&&S.containerElement!==document.body?E.horizontal?S.containerElement.scrollLeft=S.currentPosition:S.containerElement.scrollTop=S.currentPosition:E.horizontal?window.scrollTo(S.currentPosition,0):window.scrollTo(0,S.currentPosition),S.percent<1){var v=h.bind(null,y,E);ss.call(window,v);return}Mr.default.registered.end&&Mr.default.registered.end(S.to,S.target,S.currentPosition)},Cs=function(y){y.data.containerElement=y?y.containerId?document.getElementById(y.containerId):y.container&&y.container.nodeType?y.container:document:null},On=function(y,E,e,S){if(E.data=E.data||Rl(),window.clearTimeout(E.data.delayTimeout),Af.default.subscribe(function(){E.data.cancel=!0}),Cs(E),E.data.start=null,E.data.cancel=!1,E.data.startPosition=E.horizontal?Al(E):Il(E),E.data.targetPosition=E.absolute?y:y+E.data.startPosition,E.data.startPosition===E.data.targetPosition){Mr.default.registered.end&&Mr.default.registered.end(E.data.to,E.data.target,E.data.currentPosition);return}E.data.delta=Math.round(E.data.targetPosition-E.data.startPosition),E.data.duration=Df(E.duration)(E.data.delta),E.data.duration=isNaN(parseFloat(E.data.duration))?1e3:parseFloat(E.data.duration),E.data.to=e,E.data.target=S;var v=Ll(E),l=Bf.bind(null,v,E);if(E&&E.delay>0){E.data.delayTimeout=window.setTimeout(function(){Mr.default.registered.begin&&Mr.default.registered.begin(E.data.to,E.data.target),ss.call(window,l)},E.delay);return}Mr.default.registered.begin&&Mr.default.registered.begin(E.data.to,E.data.target),ss.call(window,l)},So=function(y){return y=Of({},y),y.data=y.data||Rl(),y.absolute=!0,y},Gf=function(y){On(0,So(y))},Vf=function(y,E){On(y,So(E))},zf=function(y){y=So(y),Cs(y),On(y.horizontal?Ff(y):Nf(y),y)},Hf=function(y,E){E=So(E),Cs(E);var e=E.horizontal?Al(E):Il(E);On(y+e,E)};wo.default={animateTopScroll:On,getAnimationType:Ll,scrollToTop:Gf,scrollToBottom:zf,scrollTo:Vf,scrollMore:Hf};Object.defineProperty(nn,"__esModule",{value:!0});var Wf=Object.assign||function(h){for(var y=1;y=Math.floor(i)&&x=Math.floor(u)}else{var w=0,T=0,M=0;if(a.getBoundingClientRect){var O=a.getBoundingClientRect();M=O.top}if(!r||l.props.isDynamic){if(r=E.get(f),!r)return;var L=r.getBoundingClientRect();w=L.top-M+n,T=w+L.height}var R=n-l.props.offset;o=R>=Math.floor(w)&&R=Math.floor(T)}var A=E.getActiveLink();if(t){if(f===A&&E.setActiveLink(void 0),l.props.hashSpy&&Ur.default.getHash()===f){var N=l.props.saveHashHistory,U=N===void 0?!1:N;Ur.default.changeHash("",U)}l.props.spy&&l.state.active&&(l.setState({active:!1}),l.props.onSetInactive&&l.props.onSetInactive(f,r))}if(o&&(A!==f||l.state.active===!1)){E.setActiveLink(f);var B=l.props.saveHashHistory,W=B===void 0?!1:B;l.props.hashSpy&&Ur.default.changeHash(f,W),l.props.spy&&(l.setState({active:!0}),l.props.onSetActive&&l.props.onSetActive(f,r))}}}};return e.propTypes=yi,e.defaultProps={offset:0},e};Object.defineProperty(Es,"__esModule",{value:!0});var cp=Xt.exports,gi=Dl(cp),dp=En,fp=Dl(dp);function Dl(h){return h&&h.__esModule?h:{default:h}}function pp(h,y){if(!(h instanceof y))throw new TypeError("Cannot call a class as a function")}function vi(h,y){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:h}function hp(h,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);h.prototype=Object.create(y&&y.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(h,y):h.__proto__=y)}var mp=function(h){hp(y,h);function y(){var E,e,S,v;pp(this,y);for(var l=arguments.length,s=Array(l),n=0;n"u")return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(v){this.props.name!==v.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if(typeof window>"u")return!1;_i.default.unregister(this.props.name)}},{key:"registerElems",value:function(v){_i.default.register(v,this.childBindings.domNode)}},{key:"render",value:function(){return xi.default.createElement(h,Sp({},this.props,{parentBindings:this.childBindings}))}}]),e}(xi.default.Component);return y.propTypes={name:wi.default.string,id:wi.default.string},y};Object.defineProperty(Ps,"__esModule",{value:!0});var ji=Object.assign||function(h){for(var y=1;y=Math.floor(r)&&p=Math.floor(o),x=e.getActiveLink();if(b)return c===x&&e.setActiveLink(void 0),s.props.hashSpy&&Fr.getHash()===c&&Fr.changeHash(),s.props.spy&&s.state.active&&(s.setState({active:!1}),s.props.onSetInactive&&s.props.onSetInactive()),Hr.updateStates();if(m&&x!==c)return e.setActiveLink(c),s.props.hashSpy&&Fr.changeHash(c),s.props.spy&&(s.setState({active:!0}),s.props.onSetActive&&s.props.onSetActive(c)),Hr.updateStates()}}};return S.propTypes=Ri,S.defaultProps={offset:0},S},Element:function(y){console.warn("Helpers.Element is deprecated since v1.7.0");var E=function(e){Pi(S,e);function S(v){ki(this,S);var l=Oi(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,v));return l.childBindings={domNode:null},l}return Ci(S,[{key:"componentDidMount",value:function(){if(typeof window>"u")return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(l){this.props.name!==l.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if(typeof window>"u")return!1;Xo.unregister(this.props.name)}},{key:"registerElems",value:function(l){Xo.register(l,this.childBindings.domNode)}},{key:"render",value:function(){return Mi(y,{...this.props,parentBindings:this.childBindings})}}]),S}(Li.Component);return E.propTypes={name:Rt.string,id:Rt.string},E}},zp=Vp;Object.defineProperty(Dt,"__esModule",{value:!0});Dt.Helpers=Dt.ScrollElement=Dt.ScrollLink=Dt.animateScroll=Dt.scrollSpy=Dt.Events=Dt.scroller=Dt.Element=Dt.Button=vn=Dt.Link=void 0;var Hp=Es,Nl=Tr(Hp),Wp=Os,Bl=Tr(Wp),qp=Ps,Gl=Tr(qp),Xp=nn,Vl=Tr(Xp),$p=kn,zl=Tr($p),Yp=Mn,Hl=Tr(Yp),Zp=wo,Wl=Tr(Zp),Qp=En,ql=Tr(Qp),Jp=Mo,Xl=Tr(Jp),Kp=zp,$l=Tr(Kp);function Tr(h){return h&&h.__esModule?h:{default:h}}var vn=Dt.Link=Nl.default;Dt.Button=Bl.default;Dt.Element=Gl.default;Dt.scroller=Vl.default;Dt.Events=zl.default;Dt.scrollSpy=Hl.default;Dt.animateScroll=Wl.default;Dt.ScrollLink=ql.default;Dt.ScrollElement=Xl.default;Dt.Helpers=$l.default;Dt.default={Link:Nl.default,Button:Bl.default,Element:Gl.default,scroller:Vl.default,Events:zl.default,scrollSpy:Hl.default,animateScroll:Wl.default,ScrollLink:ql.default,ScrollElement:Xl.default,Helpers:$l.default};function eh({currentSection:h}){return nt("nav",{id:"mainNav",children:Gt("ul",{children:[nt("li",{children:Gt(vn,{to:"landing",activeClass:"active",spy:!0,children:[nt(Pr,{icon:wu}),nt("span",{children:"Home"})]})}),nt("li",{children:Gt(vn,{to:"skills",activeClass:"active",spy:!0,children:[nt(Pr,{icon:ju}),nt("span",{children:"Skills"})]})}),nt("li",{children:Gt(vn,{to:"projects",activeClass:"active",spy:!0,children:[nt(Pr,{icon:Su}),nt("span",{children:"Projects"})]})}),nt("li",{children:Gt(vn,{to:"contact",activeClass:"active",spy:!0,children:[nt(Pr,{icon:Eu}),nt("span",{children:"Contact"})]})})]})})}function th(){return Gt("div",{className:"pinwheel",children:[nt("div",{className:"pinwheel__ball"}),Gt("div",{className:"pinwheel__plus",children:[nt("span",{className:"horiz"}),nt("span",{className:"vert"}),nt("span",{className:"screw"})]})]})}function rh({title:h,description:y,image:E,url:e}){return nt("li",{children:nt("a",{href:e,target:"_blank",children:Gt("div",{className:"card",style:{"--bg-img":`url(${E})`},children:[nt("h4",{children:h}),nt("p",{children:y})]})})})}function nh({onScrollIn:h}){const y=Xt.exports.useRef(null);return Xt.exports.useEffect(()=>{matchMedia("(min-width: 768px)").matches&&(y.current.onmousemove=({clientX:E,clientY:e})=>{y.current.children.forEach(S=>{let v=S.getBoundingClientRect(),l=E-v.x,s=e-v.y;S.style.setProperty("--x",`${l}px`),S.style.setProperty("--y",`${s}px`)})})},[]),Gt("section",{className:"projects",id:"projects",children:[nt(as,{children:"Projects"}),nt("ul",{className:"projects-list",ref:y,children:Mu.filter(E=>E.description).map((E,e)=>nt(rh,{...E},e))})]})}const oh={icon:[24,24,[],"","M14.314 0L2.3 12 6 15.7 21.684.012h-7.357L14.314 0zm.014 11.072l-6.471 6.457 6.47 6.47H21.7l-6.46-6.468 6.46-6.46h-7.371z"],iconName:"flutter",prefix:"custom"},sh={icon:[24,24,[],"","M0 2.34375C0 1.04933 1.04933 0 2.34375 0H21.6562C22.9507 0 24 1.04933 24 2.34375V21.6562C24 22.9507 22.9507 24 21.6562 24H2.34375C1.04933 24 0 22.9507 0 21.6562V2.34375ZM16.243 19.901C15.7442 19.7226 15.282 19.4549 14.8565 19.098V21.4446C15.238 21.6402 15.6892 21.7868 16.21 21.8846C16.7309 21.9824 17.2799 22.0312 17.857 22.0312C18.4194 22.0312 18.9537 21.9775 19.4599 21.8699C19.9661 21.7624 20.41 21.5851 20.7915 21.3382C21.1729 21.0914 21.4749 20.7687 21.6975 20.3703C21.92 19.9718 22.0312 19.4793 22.0312 18.8927C22.0312 18.4673 21.9677 18.0946 21.8405 17.7744C21.7133 17.4542 21.53 17.1694 21.2903 16.9201C21.0507 16.6708 20.7633 16.4471 20.4283 16.2491C20.0933 16.0511 19.7155 15.8641 19.2949 15.6881C18.9868 15.561 18.7104 15.4376 18.4659 15.3178C18.2213 15.198 18.0135 15.0758 17.8423 14.9512C17.6711 14.8265 17.5391 14.6945 17.4462 14.5552C17.3533 14.4158 17.3068 14.2582 17.3068 14.0821C17.3068 13.9208 17.3483 13.7754 17.4315 13.6458C17.5147 13.5163 17.632 13.4051 17.7836 13.3122C17.9353 13.2193 18.1211 13.1472 18.3412 13.0958C18.5613 13.0445 18.8058 13.0189 19.0748 13.0189C19.2704 13.0189 19.477 13.0335 19.6947 13.0628C19.9123 13.0922 20.1312 13.1374 20.3513 13.1985C20.5714 13.2596 20.7853 13.3366 20.9932 13.4295C21.201 13.5224 21.393 13.6299 21.5691 13.7522V11.5596C21.2121 11.4227 20.822 11.3212 20.399 11.2552C19.9759 11.1892 19.4905 11.1562 18.9427 11.1562C18.3852 11.1562 17.857 11.2162 17.3581 11.3359C16.8593 11.4557 16.4204 11.6427 16.0413 11.8969C15.6622 12.1511 15.3627 12.475 15.1426 12.8685C14.9226 13.2621 14.8125 13.7326 14.8125 14.2801C14.8125 14.9792 15.0142 15.5757 15.4177 16.0695C15.8212 16.5632 16.4338 16.9812 17.2554 17.3234C17.5782 17.4554 17.879 17.5849 18.1578 17.712C18.4365 17.8392 18.6774 17.9712 18.8804 18.108C19.0833 18.2449 19.2435 18.394 19.3609 18.5554C19.4783 18.7167 19.537 18.9 19.537 19.1054C19.537 19.2569 19.5003 19.3974 19.4269 19.527C19.3536 19.6566 19.2423 19.769 19.0931 19.8643C18.944 19.9597 18.7581 20.0342 18.5356 20.088C18.313 20.1418 18.0526 20.1686 17.7543 20.1686C17.2456 20.1686 16.7419 20.0794 16.243 19.901ZM10.9116 13.3163H13.9219V11.3906H5.53125V13.3163H8.52684V21.8906H10.9116V13.3163Z"],iconName:"typescript",prefix:"custom"},ah={icon:[22,24,[],"","M21.7143 6.60936C21.7143 6.3183 21.6075 6.04205 21.4209 5.82601L21.4211 5.82587C21.316 5.68816 21.1983 5.58359 21.044 5.49673C20.0888 4.96187 18.1787 3.8963 16.2685 2.83072C14.3584 1.76515 12.4483 0.699588 11.4931 0.164732C11.4041 0.114864 11.3077 0.0762359 11.2074 0.04896C11.0986 0.0181335 10.9865 0.00197351 10.8742 0.000480235C10.6366 -0.00566416 10.3973 0.0471294 10.1954 0.160161C8.28514 1.23045 2.53543 4.45044 0.625142 5.52016C0.238286 5.73616 0 6.13616 0 6.5693V6.60993V17.2887V17.3911C0 17.8265 0.238857 18.2282 0.626285 18.4459C1.80512 19.1073 4.43928 20.586 6.73943 21.8772L6.76841 21.8935L10.2303 23.8368C10.6177 24.0545 11.0954 24.0545 11.4834 23.8368C12.6707 23.1706 15.3343 21.6754 17.6461 20.3777L21.0874 18.4459C21.4754 18.2282 21.7143 17.8259 21.7143 17.3905V6.60936ZM10.8572 4.00018C13.7874 4.00018 16.3517 5.57884 17.7452 7.93135L14.2714 9.9163C13.5682 8.76737 12.3015 8.00018 10.8572 8.00018C8.64917 8.00018 6.85717 9.79218 6.85717 12.0002C6.85717 14.2076 8.64974 16.0002 10.8572 16.0002C12.3257 16.0002 13.6105 15.2069 14.3062 14.0259L17.8117 15.9546C16.4343 18.3702 13.8346 20.0002 10.8572 20.0002C6.44175 20.0002 2.85718 16.4156 2.85718 12.0002C2.85718 7.58475 6.44175 4.00018 10.8572 4.00018Z"],iconName:"c",prefix:"custom"},ih={icon:[18,24,[],"","M0.009522 19.3642L2.9622 0.462951C2.99697 0.23703 3.16827 0.057383 3.39107 0.0115584C3.39776 0.0101612 3.4045 0.00888502 3.41129 0.00773229C3.50457 -0.00811578 3.59773 0.000815642 3.68294 0.0306889C3.81547 0.0725626 3.93036 0.16485 3.99903 0.293494L7.03965 5.98222L8.2552 3.66783C8.34952 3.48856 8.53542 3.37631 8.738 3.37631C8.75265 3.37631 8.76721 3.3769 8.78166 3.37806C8.96748 3.39252 9.13433 3.50126 9.22203 3.66793L11.4461 7.90226L14.2612 5.07163C14.3453 4.98741 14.4526 4.93484 14.5659 4.91804C14.653 4.90172 14.7444 4.9066 14.832 4.93467C15.0263 4.99693 15.1698 5.1621 15.204 5.36316L17.4665 19.364L17.4665 19.364V19.3642L17.4665 19.3643L17.4648 19.3652L17.4447 19.3778L17.4445 19.3765L15.871 20.2511L9.5018 23.7923C9.00593 24.0692 8.40201 24.0692 7.90614 23.7923L1.5959 20.2536L0.0907783 19.4098L0.0872543 19.4133L0.009522 19.3751L0 19.3642H0.009522Z"],iconName:"firebase",prefix:"custom"},lh={icon:[24,24,[],"","M17.5574 23.9382C17.7783 23.9388 18.0012 23.8905 18.2093 23.7903L23.1505 21.4127C23.6697 21.1629 23.9999 20.6374 23.9999 20.0609V3.93919C23.9999 3.36271 23.6698 2.83723 23.1506 2.58739L18.2093 0.209701C17.9993 0.108638 17.7743 0.0603514 17.5513 0.061927C17.2378 0.0610839 16.9277 0.158906 16.6686 0.347298C16.6058 0.392939 16.546 0.443895 16.4899 0.500051L7.03721 9.12392L2.92487 6.0023C2.74426 5.86521 2.52974 5.79796 2.31611 5.79901C2.29935 5.79887 2.2826 5.79915 2.26586 5.79985C2.0379 5.80908 1.81315 5.89613 1.63399 6.05909L0.312678 7.26115C-0.123327 7.65751 -0.123827 8.34305 0.311598 8.74006L3.88465 12L0.311598 15.26C-0.123827 15.657 -0.123327 16.3425 0.312678 16.7388L1.63399 17.941C1.82614 18.1158 2.07075 18.2032 2.31551 18.201C2.52934 18.2022 2.74409 18.135 2.92487 17.9977L7.03718 14.8761L16.4899 23.5001C16.6395 23.6498 16.8153 23.7625 17.0042 23.8361C17.1805 23.9048 17.3684 23.9394 17.5574 23.9382ZM17.989 17.4372L10.8261 12L17.989 6.56281V17.4372Z"],iconName:"vscode",prefix:"custom"},uh={JavaScript:Cu,TypeScript:sh,HTML:ku,CSS:Ou,SCSS:Pu,SQL:Lu,C:ah,Java:Ru,NodeJS:Au,React:ya,"React Native":ya,Flutter:oh,Git:Iu,AWS:Du,Firebase:ih,Linux:Uu,VSCode:lh,Python:Fu};function ch(){const h=({target:y,clientX:E,clientY:e})=>{let S=y.getBoundingClientRect();const v=E-S.x,l=e-S.y;y.style.setProperty("--x",`${v}px`),y.style.setProperty("--y",`${l}px`)};return nt("div",{className:"container",children:nt("ul",{className:"skills-list",children:Object.values(Tu).flat().map((y,E)=>Gt("li",{onMouseMove:h,children:[nt(Pr,{icon:uh[y]}),y]},E))})})}function dh(){return Gt("section",{className:"skills",id:"skills",children:[nt(as,{children:"Skills"}),nt(ch,{})]})}function fh(){return Xt.exports.useState("home"),Gt(Nu,{children:[nt(eh,{}),nt(th,{}),nt(Jd,{}),nt(dh,{}),nt(nh,{}),nt(Qd,{})]})}Bu.createRoot(document.getElementById("root")).render(nt(Gu.StrictMode,{children:nt(fh,{})})); diff --git a/assets/resume.6a1122ae.js b/assets/resume.ebaeba39.js similarity index 92% rename from assets/resume.6a1122ae.js rename to assets/resume.ebaeba39.js index 9fd9478..5d54199 100644 --- a/assets/resume.6a1122ae.js +++ b/assets/resume.ebaeba39.js @@ -1,11 +1,11 @@ -import{g as Ir,R as $n,j as I,G as ke,p as T,H as Pr,a as q,F as An,I as Or,o as vr,J as Tr,K as Dr,f as Lr,b as Qe,s as zr,q as Nr}from"./skills.d78f14d9.js";const Br=[{name:"3rd year @ Queen's University (B.A.Sc. in Computer Engineering, Innovation Stream)",date:"April 2025 (Expected)",location:"Kingston, Ontario",gpa:"4.16/4.3 (Dean's Scholar)",awards:["The Innovation stream allows me to combine engineering with courses in entrepreneurship and operating a business","Courses in Data Structures & Algorithms, Object-Oriented Programming, Digital Logic, and Operating Systems","Received Dean Scholars Distinction every semester and the Ontario Professional Engineers Foundation Scholarship"]}],Rr=[{organization:"Nutripair",icon:"/assets/img/nutripair.png",url:"https://www.nutripair.co/",title:"Founding Full Stack Tech Lead",date:"August 2023 - Present",location:"California (Remote)",description:["As a member of the upper management team, I work with the CEO and other tech leads to create a product that helps users find food to match their dietary needs while also helping restaurants increase their customer base","Implemented a CI/CD pipeline using **GitHub Actions** to fully automate the testing and building process of the app, decreasing build times by 50% and increasing developer productivity by 25%","Guided a team of interns focused on writing tests across the stack using **Jest**, increasing code coverage by 20%","Documented the various processes and systems in place throughout the tech stack using **Notion**, increasing the onboarding speed of new engineers by over 50%"]},{organization:"Nutripair",icon:"/assets/img/nutripair.png",url:"https://www.nutripair.co/",title:"Software Engineering Intern (Full Stack)",date:"January 2023 - August 2023",location:"California (Remote)",description:["Decreased security vulnerabilities by 50% by implementing an authentication system using **AWS Cognito** across the stack","Collaborated with backend engineers to implement a **CloudFront** caching layer to reduce loading times by 25%, increasing customer satisfaction by over 65%","Worked directly with beta tester feedback to iterate a **React + TypeScript** frontend increasing user-reported satisfaction by over 60%"]},{organization:"Ollon",icon:"/assets/img/ollon.png",url:"https://www.ollon.ca/",title:"Software Engineer Intern",date:"June 2023 - August 2023",location:"Toronto, Ontario (Remote)",description:["Multi-tasked between several software projects to deliver high quality products to clients in a timely manner","Created and implemented a plan to redevelop a machine learning model in **Python** into more reusable code, increasing accuracy by over 20% and decreasing runtime by over 50%","Implemented an email status feature to connect the **React** frontend to the **Node.JS** backend, decreasing the volume of error reporting by over 75%","Met with clients to discuss product requirements, increasing satisfaction on the first revision by 25%"]},{organization:"Engineering Society of Queen's University",icon:"/assets/img/engsoc.png",url:"https://www.engsoc.queensu.ca/",title:"Director of Information Technology",date:"May 2023 - Present",location:"Kingston, Ontario",description:["Managed IT resources for 7 businesses and 40+ teams overseen by the student society","Reduced disk usage of the **Linux** main server by over 25%, avoiding a potential cost of over $1000","Decreased security vulnerabilities by 85% by implementing recurring security audits and automatic updates"]}],hn={url:"joshfriedman.dev",email:"friedman.josh03@gmail.com",phone:"(416) 843-6670",location:"Toronto, Ontario",github:"github.com/jwiggiff",linkedin:"linkedin.com/in/joshwfriedman"};/*! +import{g as Ir,R as $n,j as I,G as ke,p as T,H as Pr,a as q,F as An,I as Or,o as vr,J as Tr,K as Dr,f as Lr,b as Qe,s as zr,q as Nr}from"./skills.0ab7a8af.js";const Br=[{name:"B.A.Sc. in Computer Engineering & Innovation @ Queen's University",date:"April 2025 (Expected)",location:"Kingston, Ontario",gpa:"4.16/4.3 (Dean's Scholar)",awards:["The Innovation stream allows me to combine engineering with courses in entrepreneurship and operating a business","Courses in Data Structures & Algorithms, Object-Oriented Programming, Digital Logic, and Operating Systems","Received Dean Scholars Distinction every semester and the Ontario Professional Engineers Foundation Scholarship"]}],Rr=[{organization:"Nutripair",icon:"/assets/img/nutripair.png",url:"https://www.nutripair.co/",title:"Founding Full Stack Tech Lead",date:"August 2023 - Present",location:"California (Remote)",description:["As a member of the upper management team, I work with the CEO and other tech leads to create a product that helps users find food to match their dietary needs while also helping restaurants increase their customer base","Implemented a CI/CD pipeline using **GitHub Actions** to fully automate the testing and building process of the app, decreasing build times by 50% and increasing developer productivity by 25%","Guided a team of interns focused on writing tests across the stack using **Jest**, increasing code coverage by 20%","Documented the various processes and systems in place throughout the tech stack using **Notion**, increasing the onboarding speed of new engineers by over 50%"]},{organization:"Nutripair",icon:"/assets/img/nutripair.png",url:"https://www.nutripair.co/",title:"Software Engineering Intern (Full Stack)",date:"January 2023 - August 2023",location:"California (Remote)",description:["Decreased security vulnerabilities by 50% by implementing an authentication system using **AWS Cognito** across the stack","Collaborated with backend engineers to implement a **CloudFront** caching layer to reduce loading times by 25%, increasing customer satisfaction by over 65%","Worked directly with beta tester feedback to iterate a **React + TypeScript** frontend increasing user-reported satisfaction by over 60%"]},{organization:"Ollon",icon:"/assets/img/ollon.png",url:"https://www.ollon.ca/",title:"Software Engineer Intern",date:"June 2023 - August 2023",location:"Toronto, Ontario (Remote)",description:["Multi-tasked between several software projects to deliver high quality products to clients in a timely manner","Created and implemented a plan to redevelop a machine learning model in **Python** into more reusable code, increasing accuracy by over 20% and decreasing runtime by over 50%","Implemented an email status feature to connect the **React** frontend to the **Node.JS** backend, decreasing the volume of error reporting by over 75%","Met with clients to discuss product requirements, increasing satisfaction on the first revision by 25%"]},{organization:"Engineering Society of Queen's University",icon:"/assets/img/engsoc.png",url:"https://www.engsoc.queensu.ca/",title:"Director of Information Technology",date:"May 2023 - Present",location:"Kingston, Ontario",description:["Managed IT resources for 7 businesses and 40+ teams overseen by the student society","Reduced disk usage of the **Linux** main server by over 25%, avoiding a potential cost of over $1000","Decreased security vulnerabilities by 85% by implementing recurring security audits and automatic updates"]}],bn={url:"joshfriedman.dev",email:"friedman.josh03@gmail.com",phone:"(416) 843-6670",location:"Toronto, Ontario",github:"github.com/jwiggiff",linkedin:"linkedin.com/in/joshwfriedman"};/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT - */var Nt=function(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)};function _n(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Xe(n.position):"start"in n||"end"in n?Xe(n):"line"in n||"column"in n?be(n):""}function be(n){return Ge(n&&n.line)+":"+Ge(n&&n.column)}function Xe(n){return be(n&&n.start)+"-"+be(n&&n.end)}function Ge(n){return n&&typeof n=="number"?n:1}class on extends Error{constructor(e,t,r){const i=[null,null];let l={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof t=="string"&&(r=t,t=void 0),typeof r=="string"){const o=r.indexOf(":");o===-1?i[1]=r:(i[0]=r.slice(0,o),i[1]=r.slice(o+1))}t&&("type"in t||"position"in t?t.position&&(l=t.position):"start"in t||"end"in t?l=t:("line"in t||"column"in t)&&(l.start=t)),this.name=_n(t)||"1:1",this.message=typeof e=="object"?e.message:e,this.stack="",typeof e=="object"&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=l.start.line,this.column=l.start.column,this.position=l,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}on.prototype.file="";on.prototype.name="";on.prototype.reason="";on.prototype.message="";on.prototype.stack="";on.prototype.fatal=null;on.prototype.column=null;on.prototype.line=null;on.prototype.source=null;on.prototype.ruleId=null;on.prototype.position=null;const mn={basename:Mr,dirname:_r,extname:jr,join:Hr,sep:"/"};function Mr(n,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');Hn(n);let t=0,r=-1,i=n.length,l;if(e===void 0||e.length===0||e.length>n.length){for(;i--;)if(n.charCodeAt(i)===47){if(l){t=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":n.slice(t,r)}if(e===n)return"";let o=-1,u=e.length-1;for(;i--;)if(n.charCodeAt(i)===47){if(l){t=i+1;break}}else o<0&&(l=!0,o=i+1),u>-1&&(n.charCodeAt(i)===e.charCodeAt(u--)?u<0&&(r=i):(u=-1,r=o));return t===r?r=o:r<0&&(r=n.length),n.slice(t,r)}function _r(n){if(Hn(n),n.length===0)return".";let e=-1,t=n.length,r;for(;--t;)if(n.charCodeAt(t)===47){if(r){e=t;break}}else r||(r=!0);return e<0?n.charCodeAt(0)===47?"/":".":e===1&&n.charCodeAt(0)===47?"//":n.slice(0,e)}function jr(n){Hn(n);let e=n.length,t=-1,r=0,i=-1,l=0,o;for(;e--;){const u=n.charCodeAt(e);if(u===47){if(o){r=e+1;break}continue}t<0&&(o=!0,t=e+1),u===46?i<0?i=e:l!==1&&(l=1):i>-1&&(l=-1)}return i<0||t<0||l===0||l===1&&i===t-1&&i===r+1?"":n.slice(i,t)}function Hr(...n){let e=-1,t;for(;++e0&&n.charCodeAt(n.length-1)===47&&(t+="/"),e?"/"+t:t}function qr(n,e){let t="",r=0,i=-1,l=0,o=-1,u,s;for(;++o<=n.length;){if(o2){if(s=t.lastIndexOf("/"),s!==t.length-1){s<0?(t="",r=0):(t=t.slice(0,s),r=t.length-1-t.lastIndexOf("/")),i=o,l=0;continue}}else if(t.length>0){t="",r=0,i=o,l=0;continue}}e&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+n.slice(i+1,o):t=n.slice(i+1,o),r=o-i-1;i=o,l=0}else u===46&&l>-1?l++:l=-1}return t}function Hn(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const Vr={cwd:$r};function $r(){return"/"}function we(n){return n!==null&&typeof n=="object"&&n.href&&n.origin}function Wr(n){if(typeof n=="string")n=new URL(n);else if(!we(n)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(n.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return Qr(n)}function Qr(n){if(n.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const e=n.pathname;let t=-1;for(;++t"u"||Wn.call(e,i)},tt=function(e,t){Je&&t.name==="__proto__"?Je(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},rt=function(e,t){if(t==="__proto__")if(Wn.call(e,t)){if(Ze)return Ze(e,t).value}else return;return e[t]},it=function n(){var e,t,r,i,l,o,u=arguments[0],s=1,a=arguments.length,c=!1;for(typeof u=="boolean"&&(c=u,u=arguments[1]||{},s=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});so.length;let s;u&&o.push(i);try{s=n.apply(this,o)}catch(a){const c=a;if(u&&t)throw c;return i(c)}u||(s instanceof Promise?s.then(l,i):s instanceof Error?i(s):l(s))}function i(o,...u){t||(t=!0,e(o,...u))}function l(o){i(null,o)}}const Yr=_t().freeze(),Mt={}.hasOwnProperty;function _t(){const n=Gr(),e=[];let t={},r,i=-1;return l.data=o,l.Parser=void 0,l.Compiler=void 0,l.freeze=u,l.attachers=e,l.use=s,l.parse=a,l.stringify=c,l.run=m,l.runSync=d,l.process=f,l.processSync=w,l;function l(){const x=_t();let C=-1;for(;++C{if(g||!P||!z)B(g);else{const _=l.stringify(P,z);_==null||(ni(_)?z.value=_:z.result=_),B(g,z)}});function B(g,P){g||!P?E(g):L?L(P):C(null,P)}}}function w(x){let C;l.freeze(),fe("processSync",l.Parser),he("processSync",l.Compiler);const k=Mn(x);return l.process(k,L),ut("processSync","process",C),k;function L(E){C=!0,Ye(E)}}}function lt(n,e){return typeof n=="function"&&n.prototype&&(Jr(n.prototype)||e in n.prototype)}function Jr(n){let e;for(e in n)if(Mt.call(n,e))return!0;return!1}function fe(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `Parser`")}function he(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `Compiler`")}function me(n,e){if(e)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ot(n){if(!Se(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function ut(n,e,t){if(!t)throw new Error("`"+n+"` finished async. Use `"+e+"` instead")}function Mn(n){return Zr(n)?n:new Bt(n)}function Zr(n){return Boolean(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function ni(n){return typeof n=="string"||Nt(n)}const ei={};function ti(n,e){const t=e||ei,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return jt(n,r,i)}function jt(n,e,t){if(ri(n)){if("value"in n)return n.type==="html"&&!t?"":n.value;if(e&&"alt"in n&&n.alt)return n.alt;if("children"in n)return at(n.children,e,t)}return Array.isArray(n)?at(n,e,t):""}function at(n,e,t){const r=[];let i=-1;for(;++ii?0:i+e:e=e>i?i:e,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(e,t),n.splice(...o);else for(t&&n.splice(e,t);l0?(gn(n,n.length,0,e),n):e}const st={}.hasOwnProperty;function ii(n){const e={};let t=-1;for(;++to))return;const P=e.events.length;let z=P,_,K;for(;z--;)if(e.events[z][0]==="exit"&&e.events[z][1].type==="chunkFlow"){if(_){K=e.events[z][1].end;break}_=!0}for(k(r),g=P;gE;){const B=t[N];e.containerState=B[1],B[0].exit.call(e,n)}t.length=E}function L(){i.write([null]),l=void 0,i=void 0,e.containerState._closeFlow=void 0}}function yi(n,e,t){return $(n,n.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function pt(n){if(n===null||en(n)||fi(n))return 1;if(pi(n))return 2}function ve(n,e,t){const r=[];let i=-1;for(;++i1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const m=Object.assign({},n[r][1].end),d=Object.assign({},n[t][1].start);ft(m,-s),ft(d,s),o={type:s>1?"strongSequence":"emphasisSequence",start:m,end:Object.assign({},n[r][1].end)},u={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[t][1].start),end:d},l={type:s>1?"strongText":"emphasisText",start:Object.assign({},n[r][1].end),end:Object.assign({},n[t][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},u.end)},n[r][1].end=Object.assign({},o.start),n[t][1].start=Object.assign({},u.end),a=[],n[r][1].end.offset-n[r][1].start.offset&&(a=ln(a,[["enter",n[r][1],e],["exit",n[r][1],e]])),a=ln(a,[["enter",i,e],["enter",o,e],["exit",o,e],["enter",l,e]]),a=ln(a,ve(e.parser.constructs.insideSpan.null,n.slice(r+1,t),e)),a=ln(a,[["exit",l,e],["enter",u,e],["exit",u,e],["exit",i,e]]),n[t][1].end.offset-n[t][1].start.offset?(c=2,a=ln(a,[["enter",n[t][1],e],["exit",n[t][1],e]])):c=0,gn(n,r-1,t-r+3,a),t=r+a.length-c-2;break}}for(t=-1;++t0&&M(g)?$(n,L,"linePrefix",l+1)(g):L(g)}function L(g){return g===null||v(g)?n.check(mt,x,N)(g):(n.enter("codeFlowValue"),E(g))}function E(g){return g===null||v(g)?(n.exit("codeFlowValue"),L(g)):(n.consume(g),E)}function N(g){return n.exit("codeFenced"),e(g)}function B(g,P,z){let _=0;return K;function K(R){return g.enter("lineEnding"),g.consume(R),g.exit("lineEnding"),A}function A(R){return g.enter("codeFencedFence"),M(R)?$(g,F,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):F(R)}function F(R){return R===u?(g.enter("codeFencedFenceSequence"),W(R)):z(R)}function W(R){return R===u?(_++,g.consume(R),W):_>=o?(g.exit("codeFencedFenceSequence"),M(R)?$(g,Q,"whitespace")(R):Q(R)):z(R)}function Q(R){return R===null||v(R)?(g.exit("codeFencedFence"),P(R)):z(R)}}}function Oi(n,e,t){const r=this;return i;function i(o){return o===null?t(o):(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),l)}function l(o){return r.parser.lazy[r.now().line]?t(o):e(o)}}const de={name:"codeIndented",tokenize:Ti},vi={tokenize:Di,partial:!0};function Ti(n,e,t){const r=this;return i;function i(a){return n.enter("codeIndented"),$(n,l,"linePrefix",4+1)(a)}function l(a){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(a):t(a)}function o(a){return a===null?s(a):v(a)?n.attempt(vi,o,s)(a):(n.enter("codeFlowValue"),u(a))}function u(a){return a===null||v(a)?(n.exit("codeFlowValue"),o(a)):(n.consume(a),u)}function s(a){return n.exit("codeIndented"),e(a)}}function Di(n,e,t){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?t(o):v(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),i):$(n,l,"linePrefix",4+1)(o)}function l(o){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?e(o):v(o)?i(o):t(o)}}const Li={name:"codeText",tokenize:Bi,resolve:zi,previous:Ni};function zi(n){let e=n.length-4,t=3,r,i;if((n[t][1].type==="lineEnding"||n[t][1].type==="space")&&(n[e][1].type==="lineEnding"||n[e][1].type==="space")){for(r=t;++r=4?e(o):n.interrupt(r.parser.constructs.flow,t,e)(o)}}function $t(n,e,t,r,i,l,o,u,s){const a=s||Number.POSITIVE_INFINITY;let c=0;return m;function m(k){return k===60?(n.enter(r),n.enter(i),n.enter(l),n.consume(k),n.exit(l),d):k===null||k===32||k===41||Ce(k)?t(k):(n.enter(r),n.enter(o),n.enter(u),n.enter("chunkString",{contentType:"string"}),x(k))}function d(k){return k===62?(n.enter(l),n.consume(k),n.exit(l),n.exit(i),n.exit(r),e):(n.enter(u),n.enter("chunkString",{contentType:"string"}),f(k))}function f(k){return k===62?(n.exit("chunkString"),n.exit(u),d(k)):k===null||k===60||v(k)?t(k):(n.consume(k),k===92?w:f)}function w(k){return k===60||k===62||k===92?(n.consume(k),f):f(k)}function x(k){return!c&&(k===null||k===41||en(k))?(n.exit("chunkString"),n.exit(u),n.exit(o),n.exit(r),e(k)):c999||f===null||f===91||f===93&&!s||f===94&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs?t(f):f===93?(n.exit(l),n.enter(i),n.consume(f),n.exit(i),n.exit(r),e):v(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),c):(n.enter("chunkString",{contentType:"string"}),m(f))}function m(f){return f===null||f===91||f===93||v(f)||u++>999?(n.exit("chunkString"),c(f)):(n.consume(f),s||(s=!M(f)),f===92?d:m)}function d(f){return f===91||f===92||f===93?(n.consume(f),u++,m):m(f)}}function Qt(n,e,t,r,i,l){let o;return u;function u(d){return d===34||d===39||d===40?(n.enter(r),n.enter(i),n.consume(d),n.exit(i),o=d===40?41:d,s):t(d)}function s(d){return d===o?(n.enter(i),n.consume(d),n.exit(i),n.exit(r),e):(n.enter(l),a(d))}function a(d){return d===o?(n.exit(l),s(o)):d===null?t(d):v(d)?(n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),$(n,a,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||v(d)?(n.exit("chunkString"),a(d)):(n.consume(d),d===92?m:c)}function m(d){return d===o||d===92?(n.consume(d),c):c(d)}}function jn(n,e){let t;return r;function r(i){return v(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),t=!0,r):M(i)?$(n,r,t?"linePrefix":"lineSuffix")(i):e(i)}}function Dn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const qi={name:"definition",tokenize:$i},Vi={tokenize:Wi,partial:!0};function $i(n,e,t){const r=this;let i;return l;function l(f){return n.enter("definition"),o(f)}function o(f){return Wt.call(r,n,u,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function u(f){return i=Dn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),f===58?(n.enter("definitionMarker"),n.consume(f),n.exit("definitionMarker"),s):t(f)}function s(f){return en(f)?jn(n,a)(f):a(f)}function a(f){return $t(n,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function c(f){return n.attempt(Vi,m,m)(f)}function m(f){return M(f)?$(n,d,"whitespace")(f):d(f)}function d(f){return f===null||v(f)?(n.exit("definition"),r.parser.defined.push(i),e(f)):t(f)}}function Wi(n,e,t){return r;function r(u){return en(u)?jn(n,i)(u):t(u)}function i(u){return Qt(n,l,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function l(u){return M(u)?$(n,o,"whitespace")(u):o(u)}function o(u){return u===null||v(u)?e(u):t(u)}}const Qi={name:"hardBreakEscape",tokenize:Xi};function Xi(n,e,t){return r;function r(l){return n.enter("hardBreakEscape"),n.consume(l),i}function i(l){return v(l)?(n.exit("hardBreakEscape"),e(l)):t(l)}}const Gi={name:"headingAtx",tokenize:Yi,resolve:Ki};function Ki(n,e){let t=n.length-2,r=3,i,l;return n[r][1].type==="whitespace"&&(r+=2),t-2>r&&n[t][1].type==="whitespace"&&(t-=2),n[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&n[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:n[r][1].start,end:n[t][1].end},l={type:"chunkText",start:n[r][1].start,end:n[t][1].end,contentType:"text"},gn(n,r,t-r+1,[["enter",i,e],["enter",l,e],["exit",l,e],["exit",i,e]])),n}function Yi(n,e,t){let r=0;return i;function i(c){return n.enter("atxHeading"),l(c)}function l(c){return n.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(n.consume(c),o):c===null||en(c)?(n.exit("atxHeadingSequence"),u(c)):t(c)}function u(c){return c===35?(n.enter("atxHeadingSequence"),s(c)):c===null||v(c)?(n.exit("atxHeading"),e(c)):M(c)?$(n,u,"whitespace")(c):(n.enter("atxHeadingText"),a(c))}function s(c){return c===35?(n.consume(c),s):(n.exit("atxHeadingSequence"),u(c))}function a(c){return c===null||c===35||en(c)?(n.exit("atxHeadingText"),u(c)):(n.consume(c),a)}}const Ji=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],gt=["pre","script","style","textarea"],Zi={name:"htmlFlow",tokenize:rl,resolveTo:tl,concrete:!0},nl={tokenize:ll,partial:!0},el={tokenize:il,partial:!0};function tl(n){let e=n.length;for(;e--&&!(n[e][0]==="enter"&&n[e][1].type==="htmlFlow"););return e>1&&n[e-2][1].type==="linePrefix"&&(n[e][1].start=n[e-2][1].start,n[e+1][1].start=n[e-2][1].start,n.splice(e-2,2)),n}function rl(n,e,t){const r=this;let i,l,o,u,s;return a;function a(h){return c(h)}function c(h){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(h),m}function m(h){return h===33?(n.consume(h),d):h===47?(n.consume(h),l=!0,x):h===63?(n.consume(h),i=3,r.interrupt?e:p):dn(h)?(n.consume(h),o=String.fromCharCode(h),C):t(h)}function d(h){return h===45?(n.consume(h),i=2,f):h===91?(n.consume(h),i=5,u=0,w):dn(h)?(n.consume(h),i=4,r.interrupt?e:p):t(h)}function f(h){return h===45?(n.consume(h),r.interrupt?e:p):t(h)}function w(h){const pn="CDATA[";return h===pn.charCodeAt(u++)?(n.consume(h),u===pn.length?r.interrupt?e:F:w):t(h)}function x(h){return dn(h)?(n.consume(h),o=String.fromCharCode(h),C):t(h)}function C(h){if(h===null||h===47||h===62||en(h)){const pn=h===47,Pn=o.toLowerCase();return!pn&&!l&>.includes(Pn)?(i=1,r.interrupt?e(h):F(h)):Ji.includes(o.toLowerCase())?(i=6,pn?(n.consume(h),k):r.interrupt?e(h):F(h)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(h):l?L(h):E(h))}return h===45||rn(h)?(n.consume(h),o+=String.fromCharCode(h),C):t(h)}function k(h){return h===62?(n.consume(h),r.interrupt?e:F):t(h)}function L(h){return M(h)?(n.consume(h),L):K(h)}function E(h){return h===47?(n.consume(h),K):h===58||h===95||dn(h)?(n.consume(h),N):M(h)?(n.consume(h),E):K(h)}function N(h){return h===45||h===46||h===58||h===95||rn(h)?(n.consume(h),N):B(h)}function B(h){return h===61?(n.consume(h),g):M(h)?(n.consume(h),B):E(h)}function g(h){return h===null||h===60||h===61||h===62||h===96?t(h):h===34||h===39?(n.consume(h),s=h,P):M(h)?(n.consume(h),g):z(h)}function P(h){return h===s?(n.consume(h),s=null,_):h===null||v(h)?t(h):(n.consume(h),P)}function z(h){return h===null||h===34||h===39||h===47||h===60||h===61||h===62||h===96||en(h)?B(h):(n.consume(h),z)}function _(h){return h===47||h===62||M(h)?E(h):t(h)}function K(h){return h===62?(n.consume(h),A):t(h)}function A(h){return h===null||v(h)?F(h):M(h)?(n.consume(h),A):t(h)}function F(h){return h===45&&i===2?(n.consume(h),Z):h===60&&i===1?(n.consume(h),Y):h===62&&i===4?(n.consume(h),cn):h===63&&i===3?(n.consume(h),p):h===93&&i===5?(n.consume(h),yn):v(h)&&(i===6||i===7)?(n.exit("htmlFlowData"),n.check(nl,xn,W)(h)):h===null||v(h)?(n.exit("htmlFlowData"),W(h)):(n.consume(h),F)}function W(h){return n.check(el,Q,xn)(h)}function Q(h){return n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),R}function R(h){return h===null||v(h)?W(h):(n.enter("htmlFlowData"),F(h))}function Z(h){return h===45?(n.consume(h),p):F(h)}function Y(h){return h===47?(n.consume(h),o="",sn):F(h)}function sn(h){if(h===62){const pn=o.toLowerCase();return gt.includes(pn)?(n.consume(h),cn):F(h)}return dn(h)&&o.length<8?(n.consume(h),o+=String.fromCharCode(h),sn):F(h)}function yn(h){return h===93?(n.consume(h),p):F(h)}function p(h){return h===62?(n.consume(h),cn):h===45&&i===2?(n.consume(h),p):F(h)}function cn(h){return h===null||v(h)?(n.exit("htmlFlowData"),xn(h)):(n.consume(h),cn)}function xn(h){return n.exit("htmlFlow"),e(h)}}function il(n,e,t){const r=this;return i;function i(o){return v(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),l):t(o)}function l(o){return r.parser.lazy[r.now().line]?t(o):e(o)}}function ll(n,e,t){return r;function r(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),n.attempt(Gn,e,t)}}const ol={name:"htmlText",tokenize:ul};function ul(n,e,t){const r=this;let i,l,o;return u;function u(p){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(p),s}function s(p){return p===33?(n.consume(p),a):p===47?(n.consume(p),B):p===63?(n.consume(p),E):dn(p)?(n.consume(p),z):t(p)}function a(p){return p===45?(n.consume(p),c):p===91?(n.consume(p),l=0,w):dn(p)?(n.consume(p),L):t(p)}function c(p){return p===45?(n.consume(p),f):t(p)}function m(p){return p===null?t(p):p===45?(n.consume(p),d):v(p)?(o=m,Y(p)):(n.consume(p),m)}function d(p){return p===45?(n.consume(p),f):m(p)}function f(p){return p===62?Z(p):p===45?d(p):m(p)}function w(p){const cn="CDATA[";return p===cn.charCodeAt(l++)?(n.consume(p),l===cn.length?x:w):t(p)}function x(p){return p===null?t(p):p===93?(n.consume(p),C):v(p)?(o=x,Y(p)):(n.consume(p),x)}function C(p){return p===93?(n.consume(p),k):x(p)}function k(p){return p===62?Z(p):p===93?(n.consume(p),k):x(p)}function L(p){return p===null||p===62?Z(p):v(p)?(o=L,Y(p)):(n.consume(p),L)}function E(p){return p===null?t(p):p===63?(n.consume(p),N):v(p)?(o=E,Y(p)):(n.consume(p),E)}function N(p){return p===62?Z(p):E(p)}function B(p){return dn(p)?(n.consume(p),g):t(p)}function g(p){return p===45||rn(p)?(n.consume(p),g):P(p)}function P(p){return v(p)?(o=P,Y(p)):M(p)?(n.consume(p),P):Z(p)}function z(p){return p===45||rn(p)?(n.consume(p),z):p===47||p===62||en(p)?_(p):t(p)}function _(p){return p===47?(n.consume(p),Z):p===58||p===95||dn(p)?(n.consume(p),K):v(p)?(o=_,Y(p)):M(p)?(n.consume(p),_):Z(p)}function K(p){return p===45||p===46||p===58||p===95||rn(p)?(n.consume(p),K):A(p)}function A(p){return p===61?(n.consume(p),F):v(p)?(o=A,Y(p)):M(p)?(n.consume(p),A):_(p)}function F(p){return p===null||p===60||p===61||p===62||p===96?t(p):p===34||p===39?(n.consume(p),i=p,W):v(p)?(o=F,Y(p)):M(p)?(n.consume(p),F):(n.consume(p),Q)}function W(p){return p===i?(n.consume(p),i=void 0,R):p===null?t(p):v(p)?(o=W,Y(p)):(n.consume(p),W)}function Q(p){return p===null||p===34||p===39||p===60||p===61||p===96?t(p):p===47||p===62||en(p)?_(p):(n.consume(p),Q)}function R(p){return p===47||p===62||en(p)?_(p):t(p)}function Z(p){return p===62?(n.consume(p),n.exit("htmlTextData"),n.exit("htmlText"),e):t(p)}function Y(p){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),sn}function sn(p){return M(p)?$(n,yn,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(p):yn(p)}function yn(p){return n.enter("htmlTextData"),o(p)}}const De={name:"labelEnd",tokenize:hl,resolveTo:fl,resolveAll:pl},al={tokenize:ml},sl={tokenize:dl},cl={tokenize:gl};function pl(n){let e=-1;for(;++e=3&&(a===null||v(a))?(n.exit("thematicBreak"),e(a)):t(a)}function s(a){return a===i?(n.consume(a),r++,s):(n.exit("thematicBreakSequence"),M(a)?$(n,u,"whitespace")(a):u(a))}}const nn={name:"list",tokenize:Al,continuation:{tokenize:Fl},exit:Pl},Cl={tokenize:Ol,partial:!0},El={tokenize:Il,partial:!0};function Al(n,e,t){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return u;function u(f){const w=r.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!r.containerState.marker||f===r.containerState.marker:Ee(f)){if(r.containerState.type||(r.containerState.type=w,n.enter(w,{_container:!0})),w==="listUnordered")return n.enter("listItemPrefix"),f===42||f===45?n.check(Qn,t,a)(f):a(f);if(!r.interrupt||f===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),s(f)}return t(f)}function s(f){return Ee(f)&&++o<10?(n.consume(f),s):(!r.interrupt||o<2)&&(r.containerState.marker?f===r.containerState.marker:f===41||f===46)?(n.exit("listItemValue"),a(f)):t(f)}function a(f){return n.enter("listItemMarker"),n.consume(f),n.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||f,n.check(Gn,r.interrupt?t:c,n.attempt(Cl,d,m))}function c(f){return r.containerState.initialBlankLine=!0,l++,d(f)}function m(f){return M(f)?(n.enter("listItemPrefixWhitespace"),n.consume(f),n.exit("listItemPrefixWhitespace"),d):t(f)}function d(f){return r.containerState.size=l+r.sliceSerialize(n.exit("listItemPrefix"),!0).length,e(f)}}function Fl(n,e,t){const r=this;return r.containerState._closeFlow=void 0,n.check(Gn,i,l);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,$(n,e,"listItemIndent",r.containerState.size+1)(u)}function l(u){return r.containerState.furtherBlankLines||!M(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,n.attempt(El,e,o)(u))}function o(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,$(n,n.attempt(nn,e,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function Il(n,e,t){const r=this;return $(n,i,"listItemIndent",r.containerState.size+1);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?e(l):t(l)}}function Pl(n){n.exit(this.containerState.type)}function Ol(n,e,t){const r=this;return $(n,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(l){const o=r.events[r.events.length-1];return!M(l)&&o&&o[1].type==="listItemPrefixWhitespace"?e(l):t(l)}}const yt={name:"setextUnderline",tokenize:Tl,resolveTo:vl};function vl(n,e){let t=n.length,r,i,l;for(;t--;)if(n[t][0]==="enter"){if(n[t][1].type==="content"){r=t;break}n[t][1].type==="paragraph"&&(i=t)}else n[t][1].type==="content"&&n.splice(t,1),!l&&n[t][1].type==="definition"&&(l=t);const o={type:"setextHeading",start:Object.assign({},n[i][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[i][1].type="setextHeadingText",l?(n.splice(i,0,["enter",o,e]),n.splice(l+1,0,["exit",n[r][1],e]),n[r][1].end=Object.assign({},n[l][1].end)):n[r][1]=o,n.push(["exit",o,e]),n}function Tl(n,e,t){const r=this;let i;return l;function l(a){let c=r.events.length,m;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){m=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||m)?(n.enter("setextHeadingLine"),i=a,o(a)):t(a)}function o(a){return n.enter("setextHeadingLineSequence"),u(a)}function u(a){return a===i?(n.consume(a),u):(n.exit("setextHeadingLineSequence"),M(a)?$(n,s,"lineSuffix")(a):s(a))}function s(a){return a===null||v(a)?(n.exit("setextHeadingLine"),e(a)):t(a)}}const Dl={tokenize:Ll};function Ll(n){const e=this,t=n.attempt(Gn,r,n.attempt(this.parser.constructs.flowInitial,i,$(n,n.attempt(this.parser.constructs.flow,i,n.attempt(Mi,i)),"linePrefix")));return t;function r(l){if(l===null){n.consume(l);return}return n.enter("lineEndingBlank"),n.consume(l),n.exit("lineEndingBlank"),e.currentConstruct=void 0,t}function i(l){if(l===null){n.consume(l);return}return n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),e.currentConstruct=void 0,t}}const zl={resolveAll:Gt()},Nl=Xt("string"),Bl=Xt("text");function Xt(n){return{tokenize:e,resolveAll:Gt(n==="text"?Rl:void 0)};function e(t){const r=this,i=this.parser.constructs[n],l=t.attempt(i,o,u);return o;function o(c){return a(c)?l(c):u(c)}function u(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),s}function s(c){return a(c)?(t.exit("data"),l(c)):(t.consume(c),s)}function a(c){if(c===null)return!0;const m=i[c];let d=-1;if(m)for(;++d-1){const u=o[0];typeof u=="string"?o[0]=u.slice(r):o.shift()}l>0&&o.push(n[i].slice(0,l))}return o}function jl(n,e){let t=-1;const r=[];let i;for(;++tn.length){for(;i--;)if(n.charCodeAt(i)===47){if(l){t=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":n.slice(t,r)}if(e===n)return"";let o=-1,u=e.length-1;for(;i--;)if(n.charCodeAt(i)===47){if(l){t=i+1;break}}else o<0&&(l=!0,o=i+1),u>-1&&(n.charCodeAt(i)===e.charCodeAt(u--)?u<0&&(r=i):(u=-1,r=o));return t===r?r=o:r<0&&(r=n.length),n.slice(t,r)}function _r(n){if(Hn(n),n.length===0)return".";let e=-1,t=n.length,r;for(;--t;)if(n.charCodeAt(t)===47){if(r){e=t;break}}else r||(r=!0);return e<0?n.charCodeAt(0)===47?"/":".":e===1&&n.charCodeAt(0)===47?"//":n.slice(0,e)}function jr(n){Hn(n);let e=n.length,t=-1,r=0,i=-1,l=0,o;for(;e--;){const u=n.charCodeAt(e);if(u===47){if(o){r=e+1;break}continue}t<0&&(o=!0,t=e+1),u===46?i<0?i=e:l!==1&&(l=1):i>-1&&(l=-1)}return i<0||t<0||l===0||l===1&&i===t-1&&i===r+1?"":n.slice(i,t)}function Hr(...n){let e=-1,t;for(;++e0&&n.charCodeAt(n.length-1)===47&&(t+="/"),e?"/"+t:t}function qr(n,e){let t="",r=0,i=-1,l=0,o=-1,u,s;for(;++o<=n.length;){if(o2){if(s=t.lastIndexOf("/"),s!==t.length-1){s<0?(t="",r=0):(t=t.slice(0,s),r=t.length-1-t.lastIndexOf("/")),i=o,l=0;continue}}else if(t.length>0){t="",r=0,i=o,l=0;continue}}e&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+n.slice(i+1,o):t=n.slice(i+1,o),r=o-i-1;i=o,l=0}else u===46&&l>-1?l++:l=-1}return t}function Hn(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const Vr={cwd:$r};function $r(){return"/"}function we(n){return n!==null&&typeof n=="object"&&n.href&&n.origin}function Wr(n){if(typeof n=="string")n=new URL(n);else if(!we(n)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(n.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return Qr(n)}function Qr(n){if(n.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const e=n.pathname;let t=-1;for(;++t"u"||Wn.call(e,i)},tt=function(e,t){Je&&t.name==="__proto__"?Je(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},rt=function(e,t){if(t==="__proto__")if(Wn.call(e,t)){if(Ze)return Ze(e,t).value}else return;return e[t]},it=function n(){var e,t,r,i,l,o,u=arguments[0],s=1,a=arguments.length,c=!1;for(typeof u=="boolean"&&(c=u,u=arguments[1]||{},s=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});so.length;let s;u&&o.push(i);try{s=n.apply(this,o)}catch(a){const c=a;if(u&&t)throw c;return i(c)}u||(s instanceof Promise?s.then(l,i):s instanceof Error?i(s):l(s))}function i(o,...u){t||(t=!0,e(o,...u))}function l(o){i(null,o)}}const Yr=_t().freeze(),Mt={}.hasOwnProperty;function _t(){const n=Gr(),e=[];let t={},r,i=-1;return l.data=o,l.Parser=void 0,l.Compiler=void 0,l.freeze=u,l.attachers=e,l.use=s,l.parse=a,l.stringify=c,l.run=m,l.runSync=d,l.process=f,l.processSync=w,l;function l(){const x=_t();let C=-1;for(;++C{if(g||!P||!z)B(g);else{const _=l.stringify(P,z);_==null||(ni(_)?z.value=_:z.result=_),B(g,z)}});function B(g,P){g||!P?E(g):L?L(P):C(null,P)}}}function w(x){let C;l.freeze(),fe("processSync",l.Parser),he("processSync",l.Compiler);const k=Mn(x);return l.process(k,L),ut("processSync","process",C),k;function L(E){C=!0,Ye(E)}}}function lt(n,e){return typeof n=="function"&&n.prototype&&(Jr(n.prototype)||e in n.prototype)}function Jr(n){let e;for(e in n)if(Mt.call(n,e))return!0;return!1}function fe(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `Parser`")}function he(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `Compiler`")}function me(n,e){if(e)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ot(n){if(!Se(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function ut(n,e,t){if(!t)throw new Error("`"+n+"` finished async. Use `"+e+"` instead")}function Mn(n){return Zr(n)?n:new Bt(n)}function Zr(n){return Boolean(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function ni(n){return typeof n=="string"||Nt(n)}const ei={};function ti(n,e){const t=e||ei,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return jt(n,r,i)}function jt(n,e,t){if(ri(n)){if("value"in n)return n.type==="html"&&!t?"":n.value;if(e&&"alt"in n&&n.alt)return n.alt;if("children"in n)return at(n.children,e,t)}return Array.isArray(n)?at(n,e,t):""}function at(n,e,t){const r=[];let i=-1;for(;++ii?0:i+e:e=e>i?i:e,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(e,t),n.splice(...o);else for(t&&n.splice(e,t);l0?(dn(n,n.length,0,e),n):e}const st={}.hasOwnProperty;function ii(n){const e={};let t=-1;for(;++to))return;const P=e.events.length;let z=P,_,K;for(;z--;)if(e.events[z][0]==="exit"&&e.events[z][1].type==="chunkFlow"){if(_){K=e.events[z][1].end;break}_=!0}for(k(r),g=P;gE;){const B=t[N];e.containerState=B[1],B[0].exit.call(e,n)}t.length=E}function L(){i.write([null]),l=void 0,i=void 0,e.containerState._closeFlow=void 0}}function yi(n,e,t){return $(n,n.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function pt(n){if(n===null||en(n)||fi(n))return 1;if(pi(n))return 2}function ve(n,e,t){const r=[];let i=-1;for(;++i1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const m=Object.assign({},n[r][1].end),d=Object.assign({},n[t][1].start);ft(m,-s),ft(d,s),o={type:s>1?"strongSequence":"emphasisSequence",start:m,end:Object.assign({},n[r][1].end)},u={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[t][1].start),end:d},l={type:s>1?"strongText":"emphasisText",start:Object.assign({},n[r][1].end),end:Object.assign({},n[t][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},u.end)},n[r][1].end=Object.assign({},o.start),n[t][1].start=Object.assign({},u.end),a=[],n[r][1].end.offset-n[r][1].start.offset&&(a=ln(a,[["enter",n[r][1],e],["exit",n[r][1],e]])),a=ln(a,[["enter",i,e],["enter",o,e],["exit",o,e],["enter",l,e]]),a=ln(a,ve(e.parser.constructs.insideSpan.null,n.slice(r+1,t),e)),a=ln(a,[["exit",l,e],["enter",u,e],["exit",u,e],["exit",i,e]]),n[t][1].end.offset-n[t][1].start.offset?(c=2,a=ln(a,[["enter",n[t][1],e],["exit",n[t][1],e]])):c=0,dn(n,r-1,t-r+3,a),t=r+a.length-c-2;break}}for(t=-1;++t0&&M(g)?$(n,L,"linePrefix",l+1)(g):L(g)}function L(g){return g===null||v(g)?n.check(mt,x,N)(g):(n.enter("codeFlowValue"),E(g))}function E(g){return g===null||v(g)?(n.exit("codeFlowValue"),L(g)):(n.consume(g),E)}function N(g){return n.exit("codeFenced"),e(g)}function B(g,P,z){let _=0;return K;function K(R){return g.enter("lineEnding"),g.consume(R),g.exit("lineEnding"),A}function A(R){return g.enter("codeFencedFence"),M(R)?$(g,F,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):F(R)}function F(R){return R===u?(g.enter("codeFencedFenceSequence"),W(R)):z(R)}function W(R){return R===u?(_++,g.consume(R),W):_>=o?(g.exit("codeFencedFenceSequence"),M(R)?$(g,Q,"whitespace")(R):Q(R)):z(R)}function Q(R){return R===null||v(R)?(g.exit("codeFencedFence"),P(R)):z(R)}}}function Oi(n,e,t){const r=this;return i;function i(o){return o===null?t(o):(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),l)}function l(o){return r.parser.lazy[r.now().line]?t(o):e(o)}}const de={name:"codeIndented",tokenize:Ti},vi={tokenize:Di,partial:!0};function Ti(n,e,t){const r=this;return i;function i(a){return n.enter("codeIndented"),$(n,l,"linePrefix",4+1)(a)}function l(a){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(a):t(a)}function o(a){return a===null?s(a):v(a)?n.attempt(vi,o,s)(a):(n.enter("codeFlowValue"),u(a))}function u(a){return a===null||v(a)?(n.exit("codeFlowValue"),o(a)):(n.consume(a),u)}function s(a){return n.exit("codeIndented"),e(a)}}function Di(n,e,t){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?t(o):v(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),i):$(n,l,"linePrefix",4+1)(o)}function l(o){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?e(o):v(o)?i(o):t(o)}}const Li={name:"codeText",tokenize:Bi,resolve:zi,previous:Ni};function zi(n){let e=n.length-4,t=3,r,i;if((n[t][1].type==="lineEnding"||n[t][1].type==="space")&&(n[e][1].type==="lineEnding"||n[e][1].type==="space")){for(r=t;++r=4?e(o):n.interrupt(r.parser.constructs.flow,t,e)(o)}}function $t(n,e,t,r,i,l,o,u,s){const a=s||Number.POSITIVE_INFINITY;let c=0;return m;function m(k){return k===60?(n.enter(r),n.enter(i),n.enter(l),n.consume(k),n.exit(l),d):k===null||k===32||k===41||Ce(k)?t(k):(n.enter(r),n.enter(o),n.enter(u),n.enter("chunkString",{contentType:"string"}),x(k))}function d(k){return k===62?(n.enter(l),n.consume(k),n.exit(l),n.exit(i),n.exit(r),e):(n.enter(u),n.enter("chunkString",{contentType:"string"}),f(k))}function f(k){return k===62?(n.exit("chunkString"),n.exit(u),d(k)):k===null||k===60||v(k)?t(k):(n.consume(k),k===92?w:f)}function w(k){return k===60||k===62||k===92?(n.consume(k),f):f(k)}function x(k){return!c&&(k===null||k===41||en(k))?(n.exit("chunkString"),n.exit(u),n.exit(o),n.exit(r),e(k)):c999||f===null||f===91||f===93&&!s||f===94&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs?t(f):f===93?(n.exit(l),n.enter(i),n.consume(f),n.exit(i),n.exit(r),e):v(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),c):(n.enter("chunkString",{contentType:"string"}),m(f))}function m(f){return f===null||f===91||f===93||v(f)||u++>999?(n.exit("chunkString"),c(f)):(n.consume(f),s||(s=!M(f)),f===92?d:m)}function d(f){return f===91||f===92||f===93?(n.consume(f),u++,m):m(f)}}function Qt(n,e,t,r,i,l){let o;return u;function u(d){return d===34||d===39||d===40?(n.enter(r),n.enter(i),n.consume(d),n.exit(i),o=d===40?41:d,s):t(d)}function s(d){return d===o?(n.enter(i),n.consume(d),n.exit(i),n.exit(r),e):(n.enter(l),a(d))}function a(d){return d===o?(n.exit(l),s(o)):d===null?t(d):v(d)?(n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),$(n,a,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||v(d)?(n.exit("chunkString"),a(d)):(n.consume(d),d===92?m:c)}function m(d){return d===o||d===92?(n.consume(d),c):c(d)}}function jn(n,e){let t;return r;function r(i){return v(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),t=!0,r):M(i)?$(n,r,t?"linePrefix":"lineSuffix")(i):e(i)}}function Dn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const qi={name:"definition",tokenize:$i},Vi={tokenize:Wi,partial:!0};function $i(n,e,t){const r=this;let i;return l;function l(f){return n.enter("definition"),o(f)}function o(f){return Wt.call(r,n,u,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function u(f){return i=Dn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),f===58?(n.enter("definitionMarker"),n.consume(f),n.exit("definitionMarker"),s):t(f)}function s(f){return en(f)?jn(n,a)(f):a(f)}function a(f){return $t(n,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function c(f){return n.attempt(Vi,m,m)(f)}function m(f){return M(f)?$(n,d,"whitespace")(f):d(f)}function d(f){return f===null||v(f)?(n.exit("definition"),r.parser.defined.push(i),e(f)):t(f)}}function Wi(n,e,t){return r;function r(u){return en(u)?jn(n,i)(u):t(u)}function i(u){return Qt(n,l,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function l(u){return M(u)?$(n,o,"whitespace")(u):o(u)}function o(u){return u===null||v(u)?e(u):t(u)}}const Qi={name:"hardBreakEscape",tokenize:Xi};function Xi(n,e,t){return r;function r(l){return n.enter("hardBreakEscape"),n.consume(l),i}function i(l){return v(l)?(n.exit("hardBreakEscape"),e(l)):t(l)}}const Gi={name:"headingAtx",tokenize:Yi,resolve:Ki};function Ki(n,e){let t=n.length-2,r=3,i,l;return n[r][1].type==="whitespace"&&(r+=2),t-2>r&&n[t][1].type==="whitespace"&&(t-=2),n[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&n[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:n[r][1].start,end:n[t][1].end},l={type:"chunkText",start:n[r][1].start,end:n[t][1].end,contentType:"text"},dn(n,r,t-r+1,[["enter",i,e],["enter",l,e],["exit",l,e],["exit",i,e]])),n}function Yi(n,e,t){let r=0;return i;function i(c){return n.enter("atxHeading"),l(c)}function l(c){return n.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(n.consume(c),o):c===null||en(c)?(n.exit("atxHeadingSequence"),u(c)):t(c)}function u(c){return c===35?(n.enter("atxHeadingSequence"),s(c)):c===null||v(c)?(n.exit("atxHeading"),e(c)):M(c)?$(n,u,"whitespace")(c):(n.enter("atxHeadingText"),a(c))}function s(c){return c===35?(n.consume(c),s):(n.exit("atxHeadingSequence"),u(c))}function a(c){return c===null||c===35||en(c)?(n.exit("atxHeadingText"),u(c)):(n.consume(c),a)}}const Ji=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],gt=["pre","script","style","textarea"],Zi={name:"htmlFlow",tokenize:rl,resolveTo:tl,concrete:!0},nl={tokenize:ll,partial:!0},el={tokenize:il,partial:!0};function tl(n){let e=n.length;for(;e--&&!(n[e][0]==="enter"&&n[e][1].type==="htmlFlow"););return e>1&&n[e-2][1].type==="linePrefix"&&(n[e][1].start=n[e-2][1].start,n[e+1][1].start=n[e-2][1].start,n.splice(e-2,2)),n}function rl(n,e,t){const r=this;let i,l,o,u,s;return a;function a(h){return c(h)}function c(h){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(h),m}function m(h){return h===33?(n.consume(h),d):h===47?(n.consume(h),l=!0,x):h===63?(n.consume(h),i=3,r.interrupt?e:p):mn(h)?(n.consume(h),o=String.fromCharCode(h),C):t(h)}function d(h){return h===45?(n.consume(h),i=2,f):h===91?(n.consume(h),i=5,u=0,w):mn(h)?(n.consume(h),i=4,r.interrupt?e:p):t(h)}function f(h){return h===45?(n.consume(h),r.interrupt?e:p):t(h)}function w(h){const pn="CDATA[";return h===pn.charCodeAt(u++)?(n.consume(h),u===pn.length?r.interrupt?e:F:w):t(h)}function x(h){return mn(h)?(n.consume(h),o=String.fromCharCode(h),C):t(h)}function C(h){if(h===null||h===47||h===62||en(h)){const pn=h===47,Pn=o.toLowerCase();return!pn&&!l&>.includes(Pn)?(i=1,r.interrupt?e(h):F(h)):Ji.includes(o.toLowerCase())?(i=6,pn?(n.consume(h),k):r.interrupt?e(h):F(h)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(h):l?L(h):E(h))}return h===45||rn(h)?(n.consume(h),o+=String.fromCharCode(h),C):t(h)}function k(h){return h===62?(n.consume(h),r.interrupt?e:F):t(h)}function L(h){return M(h)?(n.consume(h),L):K(h)}function E(h){return h===47?(n.consume(h),K):h===58||h===95||mn(h)?(n.consume(h),N):M(h)?(n.consume(h),E):K(h)}function N(h){return h===45||h===46||h===58||h===95||rn(h)?(n.consume(h),N):B(h)}function B(h){return h===61?(n.consume(h),g):M(h)?(n.consume(h),B):E(h)}function g(h){return h===null||h===60||h===61||h===62||h===96?t(h):h===34||h===39?(n.consume(h),s=h,P):M(h)?(n.consume(h),g):z(h)}function P(h){return h===s?(n.consume(h),s=null,_):h===null||v(h)?t(h):(n.consume(h),P)}function z(h){return h===null||h===34||h===39||h===47||h===60||h===61||h===62||h===96||en(h)?B(h):(n.consume(h),z)}function _(h){return h===47||h===62||M(h)?E(h):t(h)}function K(h){return h===62?(n.consume(h),A):t(h)}function A(h){return h===null||v(h)?F(h):M(h)?(n.consume(h),A):t(h)}function F(h){return h===45&&i===2?(n.consume(h),Z):h===60&&i===1?(n.consume(h),Y):h===62&&i===4?(n.consume(h),cn):h===63&&i===3?(n.consume(h),p):h===93&&i===5?(n.consume(h),gn):v(h)&&(i===6||i===7)?(n.exit("htmlFlowData"),n.check(nl,yn,W)(h)):h===null||v(h)?(n.exit("htmlFlowData"),W(h)):(n.consume(h),F)}function W(h){return n.check(el,Q,yn)(h)}function Q(h){return n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),R}function R(h){return h===null||v(h)?W(h):(n.enter("htmlFlowData"),F(h))}function Z(h){return h===45?(n.consume(h),p):F(h)}function Y(h){return h===47?(n.consume(h),o="",sn):F(h)}function sn(h){if(h===62){const pn=o.toLowerCase();return gt.includes(pn)?(n.consume(h),cn):F(h)}return mn(h)&&o.length<8?(n.consume(h),o+=String.fromCharCode(h),sn):F(h)}function gn(h){return h===93?(n.consume(h),p):F(h)}function p(h){return h===62?(n.consume(h),cn):h===45&&i===2?(n.consume(h),p):F(h)}function cn(h){return h===null||v(h)?(n.exit("htmlFlowData"),yn(h)):(n.consume(h),cn)}function yn(h){return n.exit("htmlFlow"),e(h)}}function il(n,e,t){const r=this;return i;function i(o){return v(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),l):t(o)}function l(o){return r.parser.lazy[r.now().line]?t(o):e(o)}}function ll(n,e,t){return r;function r(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),n.attempt(Gn,e,t)}}const ol={name:"htmlText",tokenize:ul};function ul(n,e,t){const r=this;let i,l,o;return u;function u(p){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(p),s}function s(p){return p===33?(n.consume(p),a):p===47?(n.consume(p),B):p===63?(n.consume(p),E):mn(p)?(n.consume(p),z):t(p)}function a(p){return p===45?(n.consume(p),c):p===91?(n.consume(p),l=0,w):mn(p)?(n.consume(p),L):t(p)}function c(p){return p===45?(n.consume(p),f):t(p)}function m(p){return p===null?t(p):p===45?(n.consume(p),d):v(p)?(o=m,Y(p)):(n.consume(p),m)}function d(p){return p===45?(n.consume(p),f):m(p)}function f(p){return p===62?Z(p):p===45?d(p):m(p)}function w(p){const cn="CDATA[";return p===cn.charCodeAt(l++)?(n.consume(p),l===cn.length?x:w):t(p)}function x(p){return p===null?t(p):p===93?(n.consume(p),C):v(p)?(o=x,Y(p)):(n.consume(p),x)}function C(p){return p===93?(n.consume(p),k):x(p)}function k(p){return p===62?Z(p):p===93?(n.consume(p),k):x(p)}function L(p){return p===null||p===62?Z(p):v(p)?(o=L,Y(p)):(n.consume(p),L)}function E(p){return p===null?t(p):p===63?(n.consume(p),N):v(p)?(o=E,Y(p)):(n.consume(p),E)}function N(p){return p===62?Z(p):E(p)}function B(p){return mn(p)?(n.consume(p),g):t(p)}function g(p){return p===45||rn(p)?(n.consume(p),g):P(p)}function P(p){return v(p)?(o=P,Y(p)):M(p)?(n.consume(p),P):Z(p)}function z(p){return p===45||rn(p)?(n.consume(p),z):p===47||p===62||en(p)?_(p):t(p)}function _(p){return p===47?(n.consume(p),Z):p===58||p===95||mn(p)?(n.consume(p),K):v(p)?(o=_,Y(p)):M(p)?(n.consume(p),_):Z(p)}function K(p){return p===45||p===46||p===58||p===95||rn(p)?(n.consume(p),K):A(p)}function A(p){return p===61?(n.consume(p),F):v(p)?(o=A,Y(p)):M(p)?(n.consume(p),A):_(p)}function F(p){return p===null||p===60||p===61||p===62||p===96?t(p):p===34||p===39?(n.consume(p),i=p,W):v(p)?(o=F,Y(p)):M(p)?(n.consume(p),F):(n.consume(p),Q)}function W(p){return p===i?(n.consume(p),i=void 0,R):p===null?t(p):v(p)?(o=W,Y(p)):(n.consume(p),W)}function Q(p){return p===null||p===34||p===39||p===60||p===61||p===96?t(p):p===47||p===62||en(p)?_(p):(n.consume(p),Q)}function R(p){return p===47||p===62||en(p)?_(p):t(p)}function Z(p){return p===62?(n.consume(p),n.exit("htmlTextData"),n.exit("htmlText"),e):t(p)}function Y(p){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),sn}function sn(p){return M(p)?$(n,gn,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(p):gn(p)}function gn(p){return n.enter("htmlTextData"),o(p)}}const De={name:"labelEnd",tokenize:hl,resolveTo:fl,resolveAll:pl},al={tokenize:ml},sl={tokenize:dl},cl={tokenize:gl};function pl(n){let e=-1;for(;++e=3&&(a===null||v(a))?(n.exit("thematicBreak"),e(a)):t(a)}function s(a){return a===i?(n.consume(a),r++,s):(n.exit("thematicBreakSequence"),M(a)?$(n,u,"whitespace")(a):u(a))}}const nn={name:"list",tokenize:Al,continuation:{tokenize:Fl},exit:Pl},Cl={tokenize:Ol,partial:!0},El={tokenize:Il,partial:!0};function Al(n,e,t){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return u;function u(f){const w=r.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!r.containerState.marker||f===r.containerState.marker:Ee(f)){if(r.containerState.type||(r.containerState.type=w,n.enter(w,{_container:!0})),w==="listUnordered")return n.enter("listItemPrefix"),f===42||f===45?n.check(Qn,t,a)(f):a(f);if(!r.interrupt||f===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),s(f)}return t(f)}function s(f){return Ee(f)&&++o<10?(n.consume(f),s):(!r.interrupt||o<2)&&(r.containerState.marker?f===r.containerState.marker:f===41||f===46)?(n.exit("listItemValue"),a(f)):t(f)}function a(f){return n.enter("listItemMarker"),n.consume(f),n.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||f,n.check(Gn,r.interrupt?t:c,n.attempt(Cl,d,m))}function c(f){return r.containerState.initialBlankLine=!0,l++,d(f)}function m(f){return M(f)?(n.enter("listItemPrefixWhitespace"),n.consume(f),n.exit("listItemPrefixWhitespace"),d):t(f)}function d(f){return r.containerState.size=l+r.sliceSerialize(n.exit("listItemPrefix"),!0).length,e(f)}}function Fl(n,e,t){const r=this;return r.containerState._closeFlow=void 0,n.check(Gn,i,l);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,$(n,e,"listItemIndent",r.containerState.size+1)(u)}function l(u){return r.containerState.furtherBlankLines||!M(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,n.attempt(El,e,o)(u))}function o(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,$(n,n.attempt(nn,e,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function Il(n,e,t){const r=this;return $(n,i,"listItemIndent",r.containerState.size+1);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?e(l):t(l)}}function Pl(n){n.exit(this.containerState.type)}function Ol(n,e,t){const r=this;return $(n,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(l){const o=r.events[r.events.length-1];return!M(l)&&o&&o[1].type==="listItemPrefixWhitespace"?e(l):t(l)}}const yt={name:"setextUnderline",tokenize:Tl,resolveTo:vl};function vl(n,e){let t=n.length,r,i,l;for(;t--;)if(n[t][0]==="enter"){if(n[t][1].type==="content"){r=t;break}n[t][1].type==="paragraph"&&(i=t)}else n[t][1].type==="content"&&n.splice(t,1),!l&&n[t][1].type==="definition"&&(l=t);const o={type:"setextHeading",start:Object.assign({},n[i][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[i][1].type="setextHeadingText",l?(n.splice(i,0,["enter",o,e]),n.splice(l+1,0,["exit",n[r][1],e]),n[r][1].end=Object.assign({},n[l][1].end)):n[r][1]=o,n.push(["exit",o,e]),n}function Tl(n,e,t){const r=this;let i;return l;function l(a){let c=r.events.length,m;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){m=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||m)?(n.enter("setextHeadingLine"),i=a,o(a)):t(a)}function o(a){return n.enter("setextHeadingLineSequence"),u(a)}function u(a){return a===i?(n.consume(a),u):(n.exit("setextHeadingLineSequence"),M(a)?$(n,s,"lineSuffix")(a):s(a))}function s(a){return a===null||v(a)?(n.exit("setextHeadingLine"),e(a)):t(a)}}const Dl={tokenize:Ll};function Ll(n){const e=this,t=n.attempt(Gn,r,n.attempt(this.parser.constructs.flowInitial,i,$(n,n.attempt(this.parser.constructs.flow,i,n.attempt(Mi,i)),"linePrefix")));return t;function r(l){if(l===null){n.consume(l);return}return n.enter("lineEndingBlank"),n.consume(l),n.exit("lineEndingBlank"),e.currentConstruct=void 0,t}function i(l){if(l===null){n.consume(l);return}return n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),e.currentConstruct=void 0,t}}const zl={resolveAll:Gt()},Nl=Xt("string"),Bl=Xt("text");function Xt(n){return{tokenize:e,resolveAll:Gt(n==="text"?Rl:void 0)};function e(t){const r=this,i=this.parser.constructs[n],l=t.attempt(i,o,u);return o;function o(c){return a(c)?l(c):u(c)}function u(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),s}function s(c){return a(c)?(t.exit("data"),l(c)):(t.consume(c),s)}function a(c){if(c===null)return!0;const m=i[c];let d=-1;if(m)for(;++d-1){const u=o[0];typeof u=="string"?o[0]=u.slice(r):o.shift()}l>0&&o.push(n[i].slice(0,l))}return o}function jl(n,e){let t=-1;const r=[];let i;for(;++t13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"\uFFFD":String.fromCharCode(t)}const no=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function eo(n){return n.replace(no,to)}function to(n,e,t){if(e)return e;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),l=i===120||i===88;return Kt(t.slice(l?2:1),l?16:10)}return Te(t)||n}const Yt={}.hasOwnProperty,ro=function(n,e,t){return typeof e!="string"&&(t=e,e=void 0),io(t)(Zl(Yl(t).document().write(Jl()(n,e,!0))))};function io(n){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u($e),autolinkProtocol:A,autolinkEmail:A,atxHeading:u(Ue),blockQuote:u(ue),characterEscape:A,characterReference:A,codeFenced:u(He),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:u(He,s),codeText:u(xr,s),codeTextData:A,data:A,codeFlowValue:A,definition:u(kr),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:u(br),hardBreakEscape:u(qe),hardBreakTrailing:u(qe),htmlFlow:u(Ve,s),htmlFlowData:A,htmlText:u(Ve,s),htmlTextData:A,image:u(wr),label:s,link:u($e),listItem:u(Sr),listItemValue:w,listOrdered:u(We,f),listUnordered:u(We),paragraph:u(Cr),reference:Pn,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:u(Ue),strong:u(Er),thematicBreak:u(Fr)},exit:{atxHeading:c(),atxHeadingSequence:P,autolink:c(),autolinkEmail:Tn,autolinkProtocol:vn,blockQuote:c(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:On,characterReferenceMarkerNumeric:On,characterReferenceValue:wn,codeFenced:c(L),codeFencedFence:k,codeFencedFenceInfo:x,codeFencedFenceMeta:C,codeFlowValue:F,codeIndented:c(E),codeText:c(Y),codeTextData:F,data:F,definition:c(),definitionDestinationString:g,definitionLabelString:N,definitionTitleString:B,emphasis:c(),hardBreakEscape:c(Q),hardBreakTrailing:c(Q),htmlFlow:c(R),htmlFlowData:F,htmlText:c(Z),htmlTextData:F,image:c(yn),label:cn,labelText:p,lineEnding:W,link:c(sn),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:J,resourceDestinationString:xn,resourceTitleString:h,resource:pn,setextHeading:c(K),setextHeadingLineSequence:_,setextHeadingText:z,strong:c(),thematicBreak:c()}};Jt(e,(n||{}).mdastExtensions||[]);const t={};return r;function r(y){let S={type:"root",children:[]};const O={stack:[S],tokenStack:[],config:e,enter:a,exit:m,buffer:s,resume:d,setData:l,getData:o},H=[];let U=-1;for(;++U0){const fn=O.tokenStack[O.tokenStack.length-1];(fn[1]||kt).call(O,void 0,fn[0])}for(S.position={start:Cn(y.length>0?y[0][1].start:{line:1,column:1,offset:0}),end:Cn(y.length>0?y[y.length-2][1].end:{line:1,column:1,offset:0})},U=-1;++U{const r=this.data("settings");return ro(t,Object.assign({},r,n,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function uo(n,e){const t={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(e),!0)};return n.patch(e,t),n.applyData(e,t)}function ao(n,e){const t={type:"element",tagName:"br",properties:{},children:[]};return n.patch(e,t),[n.applyData(e,t),{type:"text",value:` +`;break}case-2:{o=e?" ":" ";break}case-1:{if(!e&&i)continue;o=" ";break}default:o=String.fromCharCode(l)}i=l===-2,r.push(o)}return r.join("")}const Hl={[42]:nn,[43]:nn,[45]:nn,[48]:nn,[49]:nn,[50]:nn,[51]:nn,[52]:nn,[53]:nn,[54]:nn,[55]:nn,[56]:nn,[57]:nn,[62]:Ht},Ul={[91]:qi},ql={[-2]:de,[-1]:de,[32]:de},Vl={[35]:Gi,[42]:Qn,[45]:[yt,Qn],[60]:Zi,[61]:yt,[95]:Qn,[96]:dt,[126]:dt},$l={[38]:qt,[92]:Ut},Wl={[-5]:ge,[-4]:ge,[-3]:ge,[33]:yl,[38]:qt,[42]:Ae,[60]:[bi,ol],[91]:kl,[92]:[Qi,Ut],[93]:De,[95]:Ae,[96]:Li},Ql={null:[Ae,zl]},Xl={null:[42,95]},Gl={null:[]},Kl=Object.freeze(Object.defineProperty({__proto__:null,document:Hl,contentInitial:Ul,flowInitial:ql,flow:Vl,string:$l,text:Wl,insideSpan:Ql,attentionMarkers:Xl,disable:Gl},Symbol.toStringTag,{value:"Module"}));function Yl(n){const t=ii([Kl,...(n||{}).extensions||[]]),r={defined:[],lazy:{},constructs:t,content:i(hi),document:i(di),flow:i(Dl),string:i(Nl),text:i(Bl)};return r;function i(l){return o;function o(u){return Ml(r,l,u)}}}const xt=/[\0\t\n\r]/g;function Jl(){let n=1,e="",t=!0,r;return i;function i(l,o,u){const s=[];let a,c,m,d,f;for(l=e+l.toString(o),m=0,e="",t&&(l.charCodeAt(0)===65279&&m++,t=void 0);m13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"\uFFFD":String.fromCharCode(t)}const no=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function eo(n){return n.replace(no,to)}function to(n,e,t){if(e)return e;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),l=i===120||i===88;return Kt(t.slice(l?2:1),l?16:10)}return Te(t)||n}const Yt={}.hasOwnProperty,ro=function(n,e,t){return typeof e!="string"&&(t=e,e=void 0),io(t)(Zl(Yl(t).document().write(Jl()(n,e,!0))))};function io(n){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u($e),autolinkProtocol:A,autolinkEmail:A,atxHeading:u(Ue),blockQuote:u(ue),characterEscape:A,characterReference:A,codeFenced:u(He),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:u(He,s),codeText:u(xr,s),codeTextData:A,data:A,codeFlowValue:A,definition:u(kr),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:u(br),hardBreakEscape:u(qe),hardBreakTrailing:u(qe),htmlFlow:u(Ve,s),htmlFlowData:A,htmlText:u(Ve,s),htmlTextData:A,image:u(wr),label:s,link:u($e),listItem:u(Sr),listItemValue:w,listOrdered:u(We,f),listUnordered:u(We),paragraph:u(Cr),reference:Pn,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:u(Ue),strong:u(Er),thematicBreak:u(Fr)},exit:{atxHeading:c(),atxHeadingSequence:P,autolink:c(),autolinkEmail:Tn,autolinkProtocol:vn,blockQuote:c(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:On,characterReferenceMarkerNumeric:On,characterReferenceValue:wn,codeFenced:c(L),codeFencedFence:k,codeFencedFenceInfo:x,codeFencedFenceMeta:C,codeFlowValue:F,codeIndented:c(E),codeText:c(Y),codeTextData:F,data:F,definition:c(),definitionDestinationString:g,definitionLabelString:N,definitionTitleString:B,emphasis:c(),hardBreakEscape:c(Q),hardBreakTrailing:c(Q),htmlFlow:c(R),htmlFlowData:F,htmlText:c(Z),htmlTextData:F,image:c(gn),label:cn,labelText:p,lineEnding:W,link:c(sn),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:J,resourceDestinationString:yn,resourceTitleString:h,resource:pn,setextHeading:c(K),setextHeadingLineSequence:_,setextHeadingText:z,strong:c(),thematicBreak:c()}};Jt(e,(n||{}).mdastExtensions||[]);const t={};return r;function r(y){let S={type:"root",children:[]};const O={stack:[S],tokenStack:[],config:e,enter:a,exit:m,buffer:s,resume:d,setData:l,getData:o},H=[];let U=-1;for(;++U0){const fn=O.tokenStack[O.tokenStack.length-1];(fn[1]||kt).call(O,void 0,fn[0])}for(S.position={start:Cn(y.length>0?y[0][1].start:{line:1,column:1,offset:0}),end:Cn(y.length>0?y[y.length-2][1].end:{line:1,column:1,offset:0})},U=-1;++U{const r=this.data("settings");return ro(t,Object.assign({},r,n,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function uo(n,e){const t={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(e),!0)};return n.patch(e,t),n.applyData(e,t)}function ao(n,e){const t={type:"element",tagName:"br",properties:{},children:[]};return n.patch(e,t),[n.applyData(e,t),{type:"text",value:` `}]}function so(n,e){const t=e.value?e.value+` `:"",r=e.lang?e.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let l={type:"element",tagName:"code",properties:i,children:[{type:"text",value:t}]};return e.meta&&(l.data={meta:e.meta}),n.patch(e,l),l=n.applyData(e,l),l={type:"element",tagName:"pre",properties:{},children:[l]},n.patch(e,l),l}function co(n,e){const t={type:"element",tagName:"del",properties:{},children:n.all(e)};return n.patch(e,t),n.applyData(e,t)}function po(n,e){const t={type:"element",tagName:"em",properties:{},children:n.all(e)};return n.patch(e,t),n.applyData(e,t)}function zn(n){const e=[];let t=-1,r=0,i=0;for(;++t55295&&l<57344){const u=n.charCodeAt(t+1);l<56320&&u>56319&&u<57344?(o=String.fromCharCode(l,u),i=1):o="\uFFFD"}else o=String.fromCharCode(l);o&&(e.push(n.slice(r,t),encodeURIComponent(o)),r=t+i+1,o=""),i&&(t+=i,i=0)}return e.join("")+n.slice(r)}function Zt(n,e){const t=String(e.identifier).toUpperCase(),r=zn(t.toLowerCase()),i=n.footnoteOrder.indexOf(t);let l;i===-1?(n.footnoteOrder.push(t),n.footnoteCounts[t]=1,l=n.footnoteOrder.length):(n.footnoteCounts[t]++,l=i+1);const o=n.footnoteCounts[t],u={type:"element",tagName:"a",properties:{href:"#"+n.clobberPrefix+"fn-"+r,id:n.clobberPrefix+"fnref-"+r+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};n.patch(e,u);const s={type:"element",tagName:"sup",properties:{},children:[u]};return n.patch(e,s),n.applyData(e,s)}function fo(n,e){const t=n.footnoteById;let r=1;for(;r in t;)r++;const i=String(r);return t[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:e.children}],position:e.position},Zt(n,{type:"footnoteReference",identifier:i,position:e.position})}function ho(n,e){const t={type:"element",tagName:"h"+e.depth,properties:{},children:n.all(e)};return n.patch(e,t),n.applyData(e,t)}function mo(n,e){if(n.dangerous){const t={type:"raw",value:e.value};return n.patch(e,t),n.applyData(e,t)}return null}function nr(n,e){const t=e.referenceType;let r="]";if(t==="collapsed"?r+="[]":t==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return{type:"text",value:"!["+e.alt+r};const i=n.all(e),l=i[0];l&&l.type==="text"?l.value="["+l.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function go(n,e){const t=n.definition(e.identifier);if(!t)return nr(n,e);const r={src:zn(t.url||""),alt:e.alt};t.title!==null&&t.title!==void 0&&(r.title=t.title);const i={type:"element",tagName:"img",properties:r,children:[]};return n.patch(e,i),n.applyData(e,i)}function yo(n,e){const t={src:zn(e.url)};e.alt!==null&&e.alt!==void 0&&(t.alt=e.alt),e.title!==null&&e.title!==void 0&&(t.title=e.title);const r={type:"element",tagName:"img",properties:t,children:[]};return n.patch(e,r),n.applyData(e,r)}function xo(n,e){const t={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};n.patch(e,t);const r={type:"element",tagName:"code",properties:{},children:[t]};return n.patch(e,r),n.applyData(e,r)}function ko(n,e){const t=n.definition(e.identifier);if(!t)return nr(n,e);const r={href:zn(t.url||"")};t.title!==null&&t.title!==void 0&&(r.title=t.title);const i={type:"element",tagName:"a",properties:r,children:n.all(e)};return n.patch(e,i),n.applyData(e,i)}function bo(n,e){const t={href:zn(e.url)};e.title!==null&&e.title!==void 0&&(t.title=e.title);const r={type:"element",tagName:"a",properties:t,children:n.all(e)};return n.patch(e,r),n.applyData(e,r)}function wo(n,e,t){const r=n.all(e),i=t?So(t):er(e),l={},o=[];if(typeof e.checked=="boolean"){const c=r[0];let m;c&&c.type==="element"&&c.tagName==="p"?m=c:(m={type:"element",tagName:"p",properties:{},children:[]},r.unshift(m)),m.children.length>0&&m.children.unshift({type:"text",value:" "}),m.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let u=-1;for(;++ui||(i=e.indexOf("#"),i!==-1&&r>i)?e:"javascript:void(0)"}const Pe={}.hasOwnProperty,Lu=new Set(["table","thead","tbody","tfoot","tr"]);function yr(n,e){const t=[];let r=-1,i;for(;++r0?$n.createElement(f,s,m):$n.createElement(f,s)}function Nu(n){let e=-1;for(;++e for more info)`),delete Vn[l]}const e=Yr().use(oo).use(n.remarkPlugins||[]).use(Jo,{...n.remarkRehypeOptions,allowDangerousHtml:!0}).use(n.rehypePlugins||[]).use(fu,n),t=new Bt;typeof n.children=="string"?t.value=n.children:n.children!==void 0&&n.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${n.children}\`)`);const r=e.runSync(e.parse(t),t);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=I(ke,{children:yr({options:n,schema:cu,listDepth:0},r)});return n.className&&(i=I("div",{className:n.className,children:i})),i}Oe.propTypes={children:T.exports.string,className:T.exports.string,allowElement:T.exports.func,allowedElements:T.exports.arrayOf(T.exports.string),disallowedElements:T.exports.arrayOf(T.exports.string),unwrapDisallowed:T.exports.bool,remarkPlugins:T.exports.arrayOf(T.exports.oneOfType([T.exports.object,T.exports.func,T.exports.arrayOf(T.exports.oneOfType([T.exports.bool,T.exports.string,T.exports.object,T.exports.func,T.exports.arrayOf(T.exports.any)]))])),rehypePlugins:T.exports.arrayOf(T.exports.oneOfType([T.exports.object,T.exports.func,T.exports.arrayOf(T.exports.oneOfType([T.exports.bool,T.exports.string,T.exports.object,T.exports.func,T.exports.arrayOf(T.exports.any)]))])),sourcePos:T.exports.bool,rawSourcePos:T.exports.bool,skipHtml:T.exports.bool,includeElementIndex:T.exports.bool,transformLinkUri:T.exports.oneOfType([T.exports.func,T.exports.bool]),linkTarget:T.exports.oneOfType([T.exports.func,T.exports.string]),transformImageUri:T.exports.func,components:T.exports.object};function Hu(){return q(ke,{children:[q("header",{children:[q("div",{className:"left",children:[I("div",{className:"name",children:I("h1",{children:"JOSH FRIEDMAN"})}),q("div",{className:"links",children:[q("a",{target:"_blank",href:"https://"+hn.url,children:[I(An,{icon:Or})," ",hn.url]}),I("div",{className:"clear"}),q("span",{children:[I(An,{icon:vr})," ",hn.email]}),I("div",{className:"clear"}),q("span",{children:[I(An,{icon:Tr})," ",hn.phone]})]})]}),q("div",{className:"right",children:[q("span",{children:[hn.location," ",I(An,{icon:Dr})]}),I("div",{className:"clear"}),q("a",{target:"_blank",href:"https://"+hn.linkedin,children:[hn.linkedin," ",I(An,{icon:Lr})]}),I("div",{className:"clear"}),q("a",{target:"_blank",href:"https://"+hn.github,children:[hn.github," ",I(An,{icon:Qe})]})]}),I("div",{className:"clear"})]}),q("section",{id:"education",children:[I("h2",{children:"Education"}),Br.map((n,e)=>{var t;return q("div",{className:"education",children:[I("span",{className:"school",children:n.name}),I("span",{className:"date",children:n.date}),I("div",{className:"clear"}),I("span",{className:"location",children:n.location}),(n.gpa||n.average)&&I("span",{className:"average",children:n.gpa?`GPA: ${n.gpa}`:`Avg: ${n.average}`}),I("div",{className:"clear"}),I("ul",{className:"awards",children:(t=n.awards)==null?void 0:t.map((r,i)=>I("li",{children:r},i))})]},e)})]}),q("section",{id:"skills",children:[I("h2",{children:"Technical Skills"}),I("div",{className:"skills",children:Object.entries(zr).map(([n,e])=>q("p",{children:[q("b",{children:[n,": "]}),I("span",{children:"| "}),e.map(t=>q("span",{children:[t," | "]}))]}))})]}),q("section",{id:"experience",children:[I("h2",{children:"Experience"}),q("p",{className:"subtext",children:[hn.experience_tagline,"My full work experience can be seen at"," ",I("a",{href:"https://linkedin.com/in/joshwfriedman",children:"linkedin.com/in/joshwfriedman"}),"."]}),Rr.map((n,e)=>q("div",{className:"experience"+(n.continued?" continued":""),children:[q("div",{className:"heading",children:[n.icon&&I("a",{href:n.url,target:"_blank",className:"icon",children:I("img",{className:"icon",src:n.icon,alt:n.organization})}),q("div",{children:[n.organization&&I(ke,{children:q("div",{className:"firstRow",children:[I("a",{href:n.url,target:"_blank",className:"company",children:n.organization}),I("span",{className:"location",children:n.location})]})}),q("div",{className:"secondRow",children:[I("span",{className:"title",children:n.title}),I("span",{className:"date",children:n.date})]})]})]}),I("div",{className:"clear"}),I("p",{className:"context",children:n.context}),I("ul",{className:"description",children:n.description.map((t,r)=>I("li",{children:I(Oe,{children:t})},r))})]},e))]}),q("section",{id:"projects",children:[I("h2",{children:"Projects"}),q("p",{className:"subtext",children:["Check out more projects at"," ",I("a",{href:"https://joshfriedman.dev",children:"joshfriedman.dev"}),". All source code is available at"," ",I("a",{href:"https://github.com/jwiggiff",children:"github.com/jwiggiff"}),"."]}),I("ul",{className:"projects",children:Nr.filter(n=>n.resume_description).map((n,e)=>q("li",{className:"project",children:[I("h4",{children:n.title}),I("a",{target:"_blank",href:n.url,children:I(An,{icon:Qe})}),I(Oe,{children:n.resume_description})]},e))})]})]})}Pr.createRoot(document.getElementById("root")).render(I($n.StrictMode,{children:I(Hu,{})})); +`,vt="/",Tt="*",Fn="",Iu="comment",Pu="declaration",Ou=function(n,e){if(typeof n!="string")throw new TypeError("First argument must be a string");if(!n)return[];e=e||{};var t=1,r=1;function i(w){var x=w.match(ku);x&&(t+=x.length);var C=w.lastIndexOf(Fu);r=~C?w.length-C:r+w.length}function l(){var w={line:t,column:r};return function(x){return x.position=new o(w),a(),x}}function o(w){this.start=w,this.end={line:t,column:r},this.source=e.source}o.prototype.content=n;function u(w){var x=new Error(e.source+":"+t+":"+r+": "+w);if(x.reason=w,x.filename=e.source,x.line=t,x.column=r,x.source=n,!e.silent)throw x}function s(w){var x=w.exec(n);if(!!x){var C=x[0];return i(C),n=n.slice(C.length),x}}function a(){s(bu)}function c(w){var x;for(w=w||[];x=m();)x!==!1&&w.push(x);return w}function m(){var w=l();if(!(vt!=n.charAt(0)||Tt!=n.charAt(1))){for(var x=2;Fn!=n.charAt(x)&&(Tt!=n.charAt(x)||vt!=n.charAt(x+1));)++x;if(x+=2,Fn===n.charAt(x-1))return u("End of comment missing");var C=n.slice(2,x-2);return r+=2,i(C),n=n.slice(x),r+=2,w({type:Iu,comment:C})}}function d(){var w=l(),x=s(wu);if(!!x){if(m(),!s(Su))return u("property missing ':'");var C=s(Cu),k=w({type:Pu,property:Dt(x[0].replace(Ot,Fn)),value:C?Dt(C[0].replace(Ot,Fn)):Fn});return s(Eu),k}}function f(){var w=[];c(w);for(var x;x=d();)x!==!1&&(w.push(x),c(w));return w}return a(),f()};function Dt(n){return n?n.replace(Au,Fn):Fn}var vu=Ou;function gr(n,e){var t=null;if(!n||typeof n!="string")return t;for(var r,i=vu(n),l=typeof e=="function",o,u,s=0,a=i.length;si||(i=e.indexOf("#"),i!==-1&&r>i)?e:"javascript:void(0)"}const Pe={}.hasOwnProperty,Lu=new Set(["table","thead","tbody","tfoot","tr"]);function yr(n,e){const t=[];let r=-1,i;for(;++r0?$n.createElement(f,s,m):$n.createElement(f,s)}function Nu(n){let e=-1;for(;++e for more info)`),delete Vn[l]}const e=Yr().use(oo).use(n.remarkPlugins||[]).use(Jo,{...n.remarkRehypeOptions,allowDangerousHtml:!0}).use(n.rehypePlugins||[]).use(fu,n),t=new Bt;typeof n.children=="string"?t.value=n.children:n.children!==void 0&&n.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${n.children}\`)`);const r=e.runSync(e.parse(t),t);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=I(ke,{children:yr({options:n,schema:cu,listDepth:0},r)});return n.className&&(i=I("div",{className:n.className,children:i})),i}Oe.propTypes={children:T.exports.string,className:T.exports.string,allowElement:T.exports.func,allowedElements:T.exports.arrayOf(T.exports.string),disallowedElements:T.exports.arrayOf(T.exports.string),unwrapDisallowed:T.exports.bool,remarkPlugins:T.exports.arrayOf(T.exports.oneOfType([T.exports.object,T.exports.func,T.exports.arrayOf(T.exports.oneOfType([T.exports.bool,T.exports.string,T.exports.object,T.exports.func,T.exports.arrayOf(T.exports.any)]))])),rehypePlugins:T.exports.arrayOf(T.exports.oneOfType([T.exports.object,T.exports.func,T.exports.arrayOf(T.exports.oneOfType([T.exports.bool,T.exports.string,T.exports.object,T.exports.func,T.exports.arrayOf(T.exports.any)]))])),sourcePos:T.exports.bool,rawSourcePos:T.exports.bool,skipHtml:T.exports.bool,includeElementIndex:T.exports.bool,transformLinkUri:T.exports.oneOfType([T.exports.func,T.exports.bool]),linkTarget:T.exports.oneOfType([T.exports.func,T.exports.string]),transformImageUri:T.exports.func,components:T.exports.object};function Hu(){return q(ke,{children:[q("header",{children:[q("div",{className:"left",children:[I("div",{className:"name",children:I("h1",{children:"JOSH FRIEDMAN"})}),q("div",{className:"links",children:[q("a",{target:"_blank",href:"https://"+bn.url,children:[I(An,{icon:Or})," ",bn.url]}),I("div",{className:"clear"}),q("span",{children:[I(An,{icon:vr})," ",bn.email]}),I("div",{className:"clear"}),q("span",{children:[I(An,{icon:Tr})," ",bn.phone]})]})]}),q("div",{className:"right",children:[q("span",{children:[bn.location," ",I(An,{icon:Dr})]}),I("div",{className:"clear"}),q("a",{target:"_blank",href:"https://"+bn.linkedin,children:[bn.linkedin," ",I(An,{icon:Lr})]}),I("div",{className:"clear"}),q("a",{target:"_blank",href:"https://"+bn.github,children:[bn.github," ",I(An,{icon:Qe})]})]}),I("div",{className:"clear"})]}),q("section",{id:"education",children:[I("h2",{children:"Education"}),Br.map((n,e)=>{var t;return q("div",{className:"education",children:[I("span",{className:"school",children:n.name}),I("span",{className:"date",children:n.date}),I("div",{className:"clear"}),I("span",{className:"location",children:n.location}),(n.gpa||n.average)&&I("span",{className:"average",children:n.gpa?`GPA: ${n.gpa}`:`Avg: ${n.average}`}),I("div",{className:"clear"}),I("ul",{className:"awards",children:(t=n.awards)==null?void 0:t.map((r,i)=>I("li",{children:r},i))})]},e)})]}),q("section",{id:"skills",children:[I("h2",{children:"Technical Skills"}),I("div",{className:"skills",children:Object.entries(zr).map(([n,e])=>q("p",{children:[q("b",{children:[n,": "]}),I("span",{children:"| "}),e.map(t=>q("span",{children:[t," | "]}))]}))})]}),q("section",{id:"experience",children:[I("h2",{children:"Experience"}),q("p",{className:"subtext",children:["Full work experience can be seen at"," ",I("a",{href:"https://linkedin.com/in/joshwfriedman",children:"linkedin.com/in/joshwfriedman"}),"."]}),Rr.map((n,e)=>q("div",{className:"experience"+(n.continued?" continued":""),children:[q("div",{className:"heading",children:[n.icon&&I("a",{href:n.url,target:"_blank",className:"icon",children:I("img",{className:"icon",src:n.icon,alt:n.organization})}),q("div",{children:[n.organization&&I(ke,{children:q("div",{className:"firstRow",children:[I("a",{href:n.url,target:"_blank",className:"company",children:n.organization}),I("span",{className:"location",children:n.location})]})}),q("div",{className:"secondRow",children:[I("span",{className:"title",children:n.title}),I("span",{className:"date",children:n.date})]})]})]}),I("div",{className:"clear"}),I("p",{className:"context",children:n.context}),I("ul",{className:"description",children:n.description.map((t,r)=>I("li",{children:I(Oe,{children:t})},r))})]},e))]}),q("section",{id:"projects",children:[I("h2",{children:"Projects"}),q("p",{className:"subtext",children:["More projects at"," ",I("a",{href:"https://joshfriedman.dev",children:"joshfriedman.dev"}),". Source code available at"," ",I("a",{href:"https://github.com/jwiggiff",children:"github.com/jwiggiff"}),"."]}),I("ul",{className:"projects",children:Nr.filter(n=>n.resume_description).map((n,e)=>q("li",{className:"project",children:[I("h4",{children:n.title}),n.url&&I("a",{target:"_blank",href:n.url,children:I(An,{icon:Qe})}),I(Oe,{children:n.resume_description})]},e))})]})]})}Pr.createRoot(document.getElementById("root")).render(I($n.StrictMode,{children:I(Hu,{})})); diff --git a/assets/skills.d78f14d9.js b/assets/skills.0ab7a8af.js similarity index 99% rename from assets/skills.d78f14d9.js rename to assets/skills.0ab7a8af.js index 9a63435..cfaa0b9 100644 --- a/assets/skills.d78f14d9.js +++ b/assets/skills.0ab7a8af.js @@ -795,10 +795,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var om=qi.exports,lm=Symbol.for("react.element"),um=Symbol.for("react.fragment"),sm=Object.prototype.hasOwnProperty,cm=om.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,fm={key:!0,ref:!0,__self:!0,__source:!0};function V1(e,n,t){var r,i={},a=null,o=null;t!==void 0&&(a=""+t),n.key!==void 0&&(a=""+n.key),n.ref!==void 0&&(o=n.ref);for(r in n)sm.call(n,r)&&!fm.hasOwnProperty(r)&&(i[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps,n)i[r]===void 0&&(i[r]=n[r]);return{$$typeof:lm,type:e,key:a,ref:o,props:i,_owner:cm.current}}Sa.Fragment=um;Sa.jsx=V1;Sa.jsxs=V1;(function(e){e.exports=Sa})(ka);const dm=ka.exports.Fragment,pm=ka.exports.jsx,mm=ka.exports.jsxs,$m=Object.freeze(Object.defineProperty({__proto__:null,Fragment:dm,jsx:pm,jsxs:mm},Symbol.toStringTag,{value:"Module"})),Um=[{title:"Infinipedia",description:`An AI-powered encyclopedia. -`,resume_description:`An AI-powered encyclopedia I built using **Next.JS**. It uses **Typescript + React** on the frontend and **Node.JS** in the backend to connect with the **OpenAI API**. +`,resume_description:`An AI-powered encyclopedia I built using **Next.JS**. It uses **TypeScript + React** on the frontend and **Node.JS** in the backend to connect with the **OpenAI API**. `,url:"https://github.com/Jwiggiff/infinipedia",image:"/assets/img/infinipedia.png"},{title:"Playlist.AI",description:`A playlist generator using AI. `,resume_description:`A playlist generator powered by **GPT-3** I built with a couple friends. I worked on the frontend using **Vite + React** and **Node.JS + Express** for the backend. It interacts with **OpenAI's API** to generate a playlist based on the inputted songs and uses **Spotify's API** for music searching and retrieving song information. -`,url:"https://github.com/ethanwhitcher/playlist.ai",image:"/assets/img/playlistai.png"},{title:"Iris",description:`A live transcription and translation tool for lecturers. +`,url:"https://github.com/ethanwhitcher/playlist.ai",image:"/assets/img/playlistai.png"},{title:"Autonomous Rover",resume_description:`An autonomous rover built as part of a Mechatronics class. The rover was powered by an **Arduino** and used a combination of **Infrared and Ultrasonic sensors** as well as **PID control** and a robotic arm to complete several capture-the-flag challenges throughout the course. +`},{title:"Iris",description:`A live transcription and translation tool for lecturers. `,url:"https://github.com/Jwiggiff/QHacks22",image:"/assets/img/iris.png"},{title:"Jumper",description:`A platform jumper game that has a new challenge each day. `,url:"https://github.com/Jwiggiff/jumperio",image:"/assets/img/jumper.png"},{title:"DashTab",description:`A custom New Tab page for Chrome with calendar, shortcuts and more. `,url:"https://chrome.google.com/webstore/detail/dashtab/eikheedcbbnljjnifbekbccllgjnggak",image:"/assets/img/dashtab.png"},{title:"My Website",description:`See how I made this website! diff --git a/index.html b/index.html index b10c86a..379b283 100644 --- a/index.html +++ b/index.html @@ -69,8 +69,8 @@ gtag("config", "G-2ZN8K9HEP1"); - - + + diff --git a/resume.html b/resume.html index 5468584..33b3488 100644 --- a/resume.html +++ b/resume.html @@ -5,8 +5,8 @@ JoshFriedman_resume - - + +