!function(e,t){"object"==typeofexports&&"object"==typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define("pdfjs-dist/build/pdf.worker",[],t):"object"==typeofexports?exports["pdfjs-dist/build/pdf.worker"]=t():e["pdfjs-dist/build/pdf.worker"]=e.pdfjsDistBuildPdfWorker=t()}(this,function(){returnfunction(e){functiont(a){if(r[a])returnr[a].exports;vari=r[a]={i:a,l:!1,exports:{}};e[a].call(i.exports,i,i.exports,t);i.l=!0;returni.exports}varr={};t.m=e;t.c=r;t.i=function(e){returne};t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:a})};t.n=function(e){varr=e&&e.__esModule?function(){returne.default}:function(){returne};t.d(r,"a",r);returnr};t.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)};t.p="";returnt(t.s=36)}([function(e,t,r){"use strict";functiona(e){se=e}functioni(){returnse}functionn(e){se>=ie.infos&&console.log("Info: "+e)}functiono(e){se>=ie.warnings&&console.log("Warning: "+e)}functions(e){console.log("Deprecated API usage: "+e)}functionc(e){thrownewError(e)}functionl(e,t){e||c(t)}functionu(e,t){try{varr=newURL(e);if(!r.origin||"null"===r.origin)return!1}catch(e){return!1}vara=newURL(t,r);returnr.origin===a.origin}functionh(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}functionf(e,t){if(!e)returnnull;try{varr=t?newURL(e,t):newURL(e);if(h(r))returnr}catch(e){}returnnull}functiond(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1});returnr}functiong(e){vart;returnfunction(){if(e){t=Object.create(null);e(t);e=null}returnt}}functionm(e){if("string"!=typeofe){o("The argument for removeNullCharacters must be a string.");returne}returne.replace(ye,"")}functionp(e){l(null!==e&&"object"===(void0===e?"undefined":W(e))&&void0!==e.length,"Invalid argument for bytesToString");vart=e.length;if(t<8192)returnString.fromCharCode.apply(null,e);for(varr=[],a=0;a<t;a+=8192){vari=Math.min(a+8192,t),n=e.subarray(a,i);r.push(String.fromCharCode.apply(null,n))}returnr.join("")}functionb(e){l("string"==typeofe,"Invalid argument for stringToBytes");for(vart=e.length,r=newUint8Array(t),a=0;a<t;++a)r[a]=255&e.charCodeAt(a);returnr}functionv(e){if(void0!==e.length)returne.length;l(void0!==e.byteLength);returne.byteLength}functiony(e){if(1===e.length&&e[0]instanceofUint8Array)returne[0];vart,r,a,i=0,n=e.length;for(t=0;t<n;t++){r=e[t];a=v(r);i+=a}varo=0,s=newUint8Array(i);for(t=0;t<n;t++){r=e[t];rinstanceofUint8Array||(r="string"==typeofr?b(r):newUint8Array(r));a=r.byteLength;s.set(r,o);o+=a}returns}functionw(e){returnString.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}functionk(e){for(vart=1,r=0;e>t;){t<<=1;r++}returnr}functionS(e,t){returne[t]<<24>>24}functionC(e,t){returne[t]<<8|e[t+1]}functionx(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}functionA(){vare=newUint8Array(4);e[0]=1;return1===newUint32Array(e.buffer,0,1)[0]}function_(){try{newFunction("");return!0}catch(e){return!1}}functionP(e){vart,r=e.length,a=[];if("þ"===e[0]&&"ÿ"===e[1])for(t=2;t<r;t+=2)a.push(String.fromCharCode(e.charCodeAt(t)<<8|e.charCodeAt(t+1)));elsefor(t=0;t<r;++t){vari=Ce[e.charCodeAt(t)];a.push(i?String.fromCharCode(i):e.charAt(t))}returna.join("")}functionI(e){returndecodeURIComponent(escape(e))}functionO(e){returnunescape(encodeURIComponent(e))}functionT(e){for(vartine)return!1;return!0}functionR(e){return"boolean"==typeofe}functionE(e){return"number"==typeofe&&(0|e)===e}functionF(e){return"number"==typeofe}functionB(e){return"string"==typeofe}functionM(e){returneinstanceofArray}functionD(e){return"object"===(void0===e?"undefined":W(e))&&null!==e&&void0!==e.byteLength}functionq(e){return32===e||9===e||13===e||10===e}functionL(){return"object"===("undefined"==typeofprocess?"undefined":W(process))&&process+""=="[object process]"}functionN(){vare={};e.promise=newPromise(function(t,r){e.resolve=t;e.reject=r});returne}functionU(e,t){v
;returnnews(y,t.fromIR(w),n.PDFFunction.fromIR(k));case"LabCS":r=e[1];i=e[2];varS=e[3];returnnewm(r,i,S);default:thrownewa.FormatError("Unknown colorspace name: "+u)}};t.parseToIR=function(e,r,o){if((0,i.isName)(e)){vars=o.get("ColorSpace");if((0,i.isDict)(s)){varc=s.get(e.name);c&&(e=c)}}e=r.fetchIfRef(e);if((0,i.isName)(e))switch(e.name){case"DeviceGray":case"G":return"DeviceGrayCS";case"DeviceRGB":case"RGB":return"DeviceRgbCS";case"DeviceCMYK":case"CMYK":return"DeviceCmykCS";case"Pattern":return["PatternCS",null];default:thrownewa.FormatError("unrecognized colorspace "+e.name)}if((0,a.isArray)(e)){varl,u,h,f,d,g,m=r.fetchIfRef(e[0]).name;switch(m){case"DeviceGray":case"G":return"DeviceGrayCS";case"DeviceRGB":case"RGB":return"DeviceRgbCS";case"DeviceCMYK":case"CMYK":return"DeviceCmykCS";case"CalGray":u=r.fetchIfRef(e[1]);f=u.getArray("WhitePoint");d=u.getArray("BlackPoint");g=u.get("Gamma");return["CalGrayCS",f,d,g];case"CalRGB":u=r.fetchIfRef(e[1]);f=u.getArray("WhitePoint");d=u.getArray("BlackPoint");g=u.getArray("Gamma");return["CalRGBCS",f,d,g,u.getArray("Matrix")];case"ICCBased":varp=r.fetchIfRef(e[1]),b=p.dict;l=b.get("N");h=b.get("Alternate");if(h){varv=t.parseToIR(h,r,o);if(t.fromIR(v).numComps===l)returnv;(0,a.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===l)return"DeviceGrayCS";if(3===l)return"DeviceRgbCS";if(4===l)return"DeviceCmykCS";break;case"Pattern":vary=e[1]||null;y&&(y=t.parseToIR(y,r,o));return["PatternCS",y];case"Indexed":case"I":varw=t.parseToIR(e[1],r,o),k=r.fetchIfRef(e[2])+1,S=r.fetchIfRef(e[3]);(0,i.isStream)(S)&&(S=S.getBytes());return["IndexedCS",w,k,S];case"Separation":case"DeviceN":varC=r.fetchIfRef(e[1]);l=(0,a.isArray)(C)?C.length:1;h=t.parseToIR(e[2],r,o);return["AlternateCS",l,h,n.PDFFunction.getIR(r,r.fetchIfRef(e[3]))];case"Lab":u=r.fetchIfRef(e[1]);f=u.getArray("WhitePoint");d=u.getArray("BlackPoint");return["LabCS",f,d,u.getArray("Range")];default:thrownewa.FormatError('unimplemented color space object "'+m+'"')}}thrownewa.FormatError('unrecognized color space object: "'+e+'"')};t.isDefaultDecode=function(e,t){if(!(0,a.isArray)(e))return!0;if(2*t!==e.length){(0,a.warn)("The decode map is not the correct length");return!0}for(varr=0,i=e.length;r<i;r+=2)if(0!==e[r]||1!==e[r+1])return!1;return!0};t.singletons={getgray(){return(0,a.shadow)(this,"gray",newu)},getrgb(){return(0,a.shadow)(this,"rgb",newh)},getcmyk(){return(0,a.shadow)(this,"cmyk",newf)}};returnt}(),s=function(){functione(e,t,r){this.name="Alternate";this.numComps=e;this.defaultColor=newFloat32Array(e);for(vara=0;a<e;++a)this.defaultColor[a]=1;this.base=t;this.tintFn=r;this.tmpBuf=newFloat32Array(t.numComps)}e.prototype={getRgb:o.prototype.getRgb,getRgbItem:function(e,t,r,a){vari=this.tmpBuf;this.tintFn(e,t,i,0);this.base.getRgbItem(i,0,r,a)},getRgbBuffer:function(e,t,r,a,i,n,o){vars,c,l=this.tintFn,u=this.base,h=1/((1<<n)-1),f=u.numComps,d=u.usesZeroToOneRange,g=(u.isPassthrough(8)||!d)&&0===o,m=g?i:0,p=g?a:newUint8Array(f*r),b=this.numComps,v=newFloat32Array(b),y=newFloat32Array(f);for(s=0;s<r;s++){for(c=0;c<b;c++)v[c]=e[t++]*h;l(v,0,y,0);if(d)for(c=0;c<f;c++)p[m++]=255*y[c];else{u.getRgbItem(y,0,p,m);m+=f}}g||u.getRgbBuffer(p,0,r,a,i,8,o)},getOutputLength:function(e,t){returnthis.base.getOutputLength(e*this.base.numComps/this.numComps,t)},isPassthrough:o.prototype.isPassthrough,fillRgb:o.prototype.fillRgb,isDefaultDecode:function(e){returno.isDefaultDecode(e,this.numComps)},usesZeroToOneRange:!0};returne}(),c=function(){functione(e){this.name="Pattern";this.base=e}e.prototype={};returne}(),l=function(){functione(e,t,r){this.name="Indexed";this.numComps=1;this.defaultColor=newUint8Array(this.numComps);this.base=e;this.highVal=t;varn=e.numComps,o=n*t;if((0,i.isStream)(r)){this.lookup=newUint8Array(o);vars=r.getBytes(o);this.lookup.set(s)}elseif((0,a.isString)(r)){this.lookup=newUint8Array(o);for(varc=0;c<o;++c)this.lookup[c]=r.charCodeAt(c)}else{if(!(rinstanceofUint8Array||rinstanceofArray))thrownewa.FormatError("Unrecognizedlookuptabl
;if(-1===t){(0,i.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead.");e.skip(-a);returnthis.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);returna},findASCII85DecodeInlineStreamEnd:function(e){for(vart,r,a=e.pos;-1!==(t=e.getByte());)if(126===t&&62===e.peekByte()){e.skip();break}r=e.pos-a;if(-1===t){(0,i.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead.");e.skip(-r);returnthis.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);returnr},findASCIIHexDecodeInlineStreamEnd:function(e){for(vart,r,a=e.pos;-1!==(t=e.getByte())&&62!==t;);r=e.pos-a;if(-1===t){(0,i.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead.");e.skip(-r);returnthis.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);returnr},inlineStreamSkipEI:function(e){for(vart,r=0;-1!==(t=e.getByte());)if(0===r)r=69===t?1:0;elseif(1===r)r=73===t?2:0;elseif(2===r)break},makeInlineImage:function(e){for(vart=this.lexer,r=t.stream,a=newn.Dict(this.xref);!(0,n.isCmd)(this.buf1,"ID")&&!(0,n.isEOF)(this.buf1);){if(!(0,n.isName)(this.buf1))thrownewi.FormatError("Dictionary key must be a name object");varo=this.buf1.name;this.shift();if((0,n.isEOF)(this.buf1))break;a.set(o,this.getObj(e))}vars,c=a.get("Filter","F");if((0,n.isName)(c))s=c.name;elseif((0,i.isArray)(c)){varl=this.xref.fetchIfRef(c[0]);(0,n.isName)(l)&&(s=l.name)}varu,h,f,d=r.pos;u="DCTDecode"===s||"DCT"===s?this.findDCTDecodeInlineStreamEnd(r):"ASCII85Decode"===s||"A85"===s?this.findASCII85DecodeInlineStreamEnd(r):"ASCIIHexDecode"===s||"AHx"===s?this.findASCIIHexDecodeInlineStreamEnd(r):this.findDefaultInlineStreamEnd(r);varg,m=r.makeSubStream(d,u,a);if(u<1e3){varp=m.getBytes();m.reset();varb=1,v=0;for(h=0,f=p.length;h<f;++h){b+=255&p[h];v+=b}g=v%65521<<16|b%65521;if(this.imageCache.adler32===g){this.buf2=n.Cmd.get("EI");this.shift();this.imageCache[g].reset();returnthis.imageCache[g]}}e&&(m=e.createStream(m,u));m=this.filter(m,a,u);m.dict=a;if(void0!==g){m.cacheKey="inline_"+u+"_"+g;this.imageCache[g]=m}this.buf2=n.Cmd.get("EI");this.shift();returnm},makeStream:function(e,t){varr=this.lexer,a=r.stream;r.skipToNextLine();varo=a.pos-1,s=e.get("Length");if(!(0,i.isInt)(s)){(0,i.info)("Bad "+s+" attribute in stream");s=0}a.pos=o+s;r.nextChar();if(this.tryShift()&&(0,n.isCmd)(this.buf2,"endstream"))this.shift();else{a.pos=o;for(varc,l,u=[101,110,100,115,116,114,101,97,109],h=0,f=!1;a.pos<a.end;){vard=a.peekBytes(2048),g=d.length-9;if(g<=0)break;f=!1;c=0;for(;c<g;){l=0;for(;l<9&&d[c+l]===u[l];)l++;if(l>=9){f=!0;break}c++}if(f){h+=c;a.pos+=c;break}h+=g;a.pos+=g}if(!f)thrownewi.FormatError("Missing endstream");s=h;r.nextChar();this.shift();this.shift()}this.shift();a=a.makeSubStream(o,s,e);t&&(a=t.createStream(a,s));a=this.filter(a,e,s);a.dict=e;returna},filter:function(e,t,r){vara=t.get("Filter","F"),o=t.get("DecodeParms","DP");if((0,n.isName)(a)){(0,i.isArray)(o)&&(o=this.xref.fetchIfRef(o[0]));returnthis.makeFilter(e,a.name,r,o)}vars=r;if((0,i.isArray)(a))for(varc=a,l=o,u=0,h=c.length;u<h;++u){a=this.xref.fetchIfRef(c[u]);if(!(0,n.isName)(a))thrownewi.FormatError("Bad filter name: "+a);o=null;(0,i.isArray)(l)&&uinl&&(o=this.xref.fetchIfRef(l[u]));e=this.makeFilter(e,a.name,s,o);s=null}returne},makeFilter:function(e,t,r,n){if(0===r){(0,i.warn)('Empty "'+t+'" stream.');returnnewa.NullStream(e)}try{varo=this.xref.stats.streamTypes;if("FlateDecode"===t||"Fl"===t){o[i.StreamType.FLATE]=!0;returnn?newa.PredictorStream(newa.FlateStream(e,r),r,n):newa.FlateStream(e,r)}if("LZWDecode"===t||"LZW"===t){o[i.StreamType.LZW]=!0;vars=1;if(n){n.has("EarlyChange")&&(s=n.get("EarlyChange"));returnnewa.PredictorStream(newa.LZWStream(e,r,s),r,n)}returnnewa.LZWStream(e,r,s)}if("DCTDecode"===t||"DCT"===t){o[i.StreamType.DCT]=!0;returnnewa.JpegStream(e,r,e.dict,n)}if("JPXDecode"===t||"JPX"===t){o[i.StreamType.JPX]=!0;returnnewa.JpxStream(e,r,e.dict,n)}if("ASCII85Decode"===t||"A85"===t){o[i.StreamType.A85]=!0;returnnewa.Ascii85Stream(e,r)}if("
;deletethis.promisesByRequest[l];m.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})},onError:function(e){this._loadedStreamCapability.reject(e)},getBeginChunk:function(e){returnMath.floor(e/this.chunkSize)},getEndChunk:function(e){returnMath.floor((e-1)/this.chunkSize)+1},abort:function(){this.aborted=!0;this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests("abort");for(vareinthis.promisesByRequest){this.promisesByRequest[e].reject(newError("Request was aborted"))}}};returne}();t.ChunkedStream=i;t.ChunkedStreamManager=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateSHA512=t.calculateSHA384=t.calculateSHA256=t.calculateMD5=t.PDF20=t.PDF17=t.CipherTransformFactory=t.ARCFourCipher=t.AES256Cipher=t.AES128Cipher=void0;vara=r(0),i=r(1),n=r(2),o=function(){functione(e){this.a=0;this.b=0;vart,r,a=newUint8Array(256),i=0,n=e.length;for(t=0;t<256;++t)a[t]=t;for(t=0;t<256;++t){r=a[t];i=i+r+e[t%n]&255;a[t]=a[i];a[i]=r}this.s=a}e.prototype={encryptBlock:function(e){vart,r,a,i=e.length,n=this.a,o=this.b,s=this.s,c=newUint8Array(i);for(t=0;t<i;++t){n=n+1&255;r=s[n];o=o+r&255;a=s[o];s[n]=a;s[o]=r;c[t]=e[t]^s[r+a&255]}this.a=n;this.b=o;returnc}};e.prototype.decryptBlock=e.prototype.encryptBlock;returne}(),s=function(){functione(e,a,i){varn,o,s,c=1732584193,l=-271733879,u=-1732584194,h=271733878,f=i+72&-64,d=newUint8Array(f);for(n=0;n<i;++n)d[n]=e[a++];d[n++]=128;s=f-8;for(;n<s;)d[n++]=0;d[n++]=i<<3&255;d[n++]=i>>5&255;d[n++]=i>>13&255;d[n++]=i>>21&255;d[n++]=i>>>29&255;d[n++]=0;d[n++]=0;d[n++]=0;varg=newInt32Array(16);for(n=0;n<f;){for(o=0;o<16;++o,n+=4)g[o]=d[n]|d[n+1]<<8|d[n+2]<<16|d[n+3]<<24;varm,p,b=c,v=l,y=u,w=h;for(o=0;o<64;++o){if(o<16){m=v&y|~v&w;p=o}elseif(o<32){m=w&v|~w&y;p=5*o+1&15}elseif(o<48){m=v^y^w;p=3*o+5&15}else{m=y^(v|~w);p=7*o&15}vark=w,S=b+m+r[o]+g[p]|0,C=t[o];w=y;y=v;v=v+(S<<C|S>>>32-C)|0;b=k}c=c+b|0;l=l+v|0;u=u+y|0;h=h+w|0}returnnewUint8Array([255&c,c>>8&255,c>>16&255,c>>>24&255,255&l,l>>8&255,l>>16&255,l>>>24&255,255&u,u>>8&255,u>>16&255,u>>>24&255,255&h,h>>8&255,h>>16&255,h>>>24&255])}vart=newUint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]),r=newInt32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]);returne}(),c=function(){functione(e,t){this.high=0|e;this.low=0|t}e.prototype={and:function(e){this.high&=e.high;this.low&=e.low},xor:function(e){this.high^=e.high;this.low^=e.low},or:function(e){this.high|=e.high;this.low|=e.low},shiftRight:function(e){if(e>=32){this.low=this.high>>>e-32|0;this.high=0}else{this.low=this.low>>>e|this.high<<32-e;this.high=this.high>>>e|0}},shiftLeft:function(e){if(e>=32){this.high=this.low<<e-32;this.low=0}else{this.high=this.high<<e|this.low>>>32-e;this.low=this.low<<e}},rotateRight:function(e){vart,r;if(32&e){r=this.low;t=this.high}else{t=this.low;r=this.high}e&=31;this.low=t>>>e|r<<32-e;this.high=r>>>e|t<<32-e},not:function(){this.high=~this.high;this.low=~this.low},add:function(e){vart=(this.low>>>0)+(e.low>>>0),r=(this.high>>>0)+(e.high>>>0);t>4294967295&&(r+=1);this.low=0|t;this.high=0|r},copyTo:function(e,t){e[t]=this.high>>>24&255;e[t+1]=this.high>>16&255;e[t+2]=this.high>>8&255;e[t+3]=255&this.high;e[t+4]=this.low>>>24&255;e[t+5]=this.low>>16&255;e[
;oins||(o=this.isSerifFont(e)?"Times-Roman":"Helvetica");varc=s[o];if((0,i.isNum)(c)){t=c;a=!0}elser=c();return{defaultWidth:t,monospace:a,widths:r}},buildCharCodeToWidth:function(e,t){for(varr=Object.create(null),a=t.differences,i=t.defaultEncoding,n=0;n<256;n++)nina&&e[a[n]]?r[n]=e[a[n]]:nini&&e[i[n]]&&(r[n]=e[i[n]]);returnr},preEvaluateFont:function(e){vart=e,r=e.get("Subtype");(0,i.assert)((0,s.isName)(r),"invalid font Subtype");vara,n=!1;if("Type0"===r.name){varo=e.get("DescendantFonts");(0,i.assert)(o,"Descendant fonts are not specified");e=(0,i.isArray)(o)?this.xref.fetchIfRef(o[0]):o;r=e.get("Subtype");(0,i.assert)((0,s.isName)(r),"invalid font Subtype");n=!0}varc=e.get("FontDescriptor");if(c){varl=newy.MurmurHash3_64,u=t.getRaw("Encoding");if((0,s.isName)(u))l.update(u.name);elseif((0,s.isRef)(u))l.update(u.toString());elseif((0,s.isDict)(u))for(varh=u.getKeys(),f=0,d=h.length;f<d;f++){varg=u.getRaw(h[f]);if((0,s.isName)(g))l.update(g.name);elseif((0,s.isRef)(g))l.update(g.toString());elseif((0,i.isArray)(g)){for(varm=g.length,p=newArray(m),b=0;b<m;b++){varv=g[b];(0,s.isName)(v)?p[b]=v.name:((0,i.isNum)(v)||(0,s.isRef)(v))&&(p[b]=v.toString())}l.update(p.join())}}varw=e.get("ToUnicode")||t.get("ToUnicode");if((0,s.isStream)(w)){vark=w.str||w;a=k.buffer?newUint8Array(k.buffer.buffer,0,k.bufferLength):newUint8Array(k.bytes.buffer,k.start,k.end-k.start);l.update(a)}else(0,s.isName)(w)&&l.update(w.name);varS=e.get("Widths")||t.get("Widths");if(S){a=newUint8Array(newUint32Array(S).buffer);l.update(a)}}return{descriptor:c,dict:e,baseDict:t,composite:n,type:r.name,hash:l?l.hexdigest():""}},translateFont:function(e){vart,r=this,a=e.baseDict,o=e.dict,l=e.composite,u=e.descriptor,f=e.type,d=l?65535:255;if(!u){if("Type3"!==f){varg=o.get("BaseFont");(0,i.assert)((0,s.isName)(g),"Base font is not specified");g=g.name.replace(/[,_]/g,"-");varm=this.getBaseFontMetrics(g),p=g.split("-")[0],b=(this.isSerifFont(p)?c.FontFlags.Serif:0)|(m.monospace?c.FontFlags.FixedPitch:0)|((0,h.getSymbolsFonts)()[p]?c.FontFlags.Symbolic:c.FontFlags.Nonsymbolic);t={type:f,name:g,widths:m.widths,defaultWidth:m.defaultWidth,flags:b,firstChar:0,lastChar:d};returnthis.extractDataStructures(o,o,t).then(function(e){e.widths=r.buildCharCodeToWidth(m.widths,e);returnnewc.Font(g,null,e)})}u=news.Dict(null);u.set("FontName",s.Name.get(f));u.set("FontBBox",o.getArray("FontBBox"))}varv=o.get("FirstChar")||0,y=o.get("LastChar")||d,w=u.get("FontName"),k=o.get("BaseFont");(0,i.isString)(w)&&(w=s.Name.get(w));(0,i.isString)(k)&&(k=s.Name.get(k));if("Type3"!==f){varS=w&&w.name,C=k&&k.name;if(S!==C){(0,i.info)("The FontDescriptor's FontName is \""+S+'" but should be the same as the Font\'s BaseFont "'+C+'"');S&&C&&0===C.indexOf(S)&&(w=k)}}w=w||k;(0,i.assert)((0,s.isName)(w),"invalid font name");varx=u.get("FontFile","FontFile2","FontFile3");if(x&&x.dict){varA=x.dict.get("Subtype");A&&(A=A.name);var_=x.dict.get("Length1"),P=x.dict.get("Length2"),I=x.dict.get("Length3")}t={type:f,name:w.name,subtype:A,file:x,length1:_,length2:P,length3:I,loadedName:a.loadedName,composite:l,wideChars:l,fixedPitch:!1,fontMatrix:o.getArray("FontMatrix")||i.FONT_IDENTITY_MATRIX,firstChar:v||0,lastChar:y||d,bbox:u.getArray("FontBBox"),ascent:u.get("Ascent"),descent:u.get("Descent"),xHeight:u.get("XHeight"),capHeight:u.get("CapHeight"),flags:u.get("Flags"),italicAngle:u.get("ItalicAngle"),coded:!1};varO;if(l){varT=a.get("Encoding");(0,s.isName)(T)&&(t.cidEncoding=T.name);O=n.CMapFactory.create({encoding:T,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then(function(e){t.cMap=e;t.vertical=t.cMap.vertical})}elseO=Promise.resolve(void0);returnO.then(function(){returnr.extractDataStructures(o,a,t)}).then(function(e){r.extractWidths(o,u,e);"Type3"===f&&(e.isType3Font=!0);returnnewc.Font(w.name,x,e)})}};returnt}(),S=function(){functione(e,t,r){this.loadedName=e;this.font=t;this.dict=r;this.type3Loaded=null;this.sent=!1}e.prototype={send:function(e){if(!this.sent){vart=this.font.exportData();e.send("commonobj",[this.loadedName,"Font"
varr=t;t=e.getByte();if(65361===(r<<8|t)){e.skip(4);vara=e.getInt32()>>>0,i=e.getInt32()>>>0,o=e.getInt32()>>>0,s=e.getInt32()>>>0;e.skip(16);varc=e.getUint16();this.width=a-o;this.height=i-s;this.componentsCount=c;this.bitsPerComponent=8;return}}thrownewn("No size marker found in JPX stream")},parseCodestream:function(e,i,o){vars={},c=!1;try{for(varl=i;l+1<o;){varu=(0,a.readUint16)(e,l);l+=2;varh,f,d,g,m,p,y=0;switch(u){case65359:s.mainHeader=!0;break;case65497:break;case65361:y=(0,a.readUint16)(e,l);varw={};w.Xsiz=(0,a.readUint32)(e,l+4);w.Ysiz=(0,a.readUint32)(e,l+8);w.XOsiz=(0,a.readUint32)(e,l+12);w.YOsiz=(0,a.readUint32)(e,l+16);w.XTsiz=(0,a.readUint32)(e,l+20);w.YTsiz=(0,a.readUint32)(e,l+24);w.XTOsiz=(0,a.readUint32)(e,l+28);w.YTOsiz=(0,a.readUint32)(e,l+32);varC=(0,a.readUint16)(e,l+36);w.Csiz=C;varx=[];h=l+38;for(varA=0;A<C;A++){var_={precision:1+(127&e[h]),isSigned:!!(128&e[h]),XRsiz:e[h+1],YRsiz:e[h+1]};t(_,w);x.push(_)}s.SIZ=w;s.components=x;r(s,x);s.QCC=[];s.COC=[];break;case65372:y=(0,a.readUint16)(e,l);varP={};h=l+2;f=e[h++];switch(31&f){case0:g=8;m=!0;break;case1:g=16;m=!1;break;case2:g=16;m=!0;break;default:thrownewError("Invalid SQcd value "+f)}P.noQuantization=8===g;P.scalarExpounded=m;P.guardBits=f>>5;d=[];for(;h<y+l;){varI={};if(8===g){I.epsilon=e[h++]>>3;I.mu=0}else{I.epsilon=e[h]>>3;I.mu=(7&e[h])<<8|e[h+1];h+=2}d.push(I)}P.SPqcds=d;if(s.mainHeader)s.QCD=P;else{s.currentTile.QCD=P;s.currentTile.QCC=[]}break;case65373:y=(0,a.readUint16)(e,l);varO={};h=l+2;varT;if(s.SIZ.Csiz<257)T=e[h++];else{T=(0,a.readUint16)(e,h);h+=2}f=e[h++];switch(31&f){case0:g=8;m=!0;break;case1:g=16;m=!1;break;case2:g=16;m=!0;break;default:thrownewError("Invalid SQcd value "+f)}O.noQuantization=8===g;O.scalarExpounded=m;O.guardBits=f>>5;d=[];for(;h<y+l;){I={};if(8===g){I.epsilon=e[h++]>>3;I.mu=0}else{I.epsilon=e[h]>>3;I.mu=(7&e[h])<<8|e[h+1];h+=2}d.push(I)}O.SPqcds=d;s.mainHeader?s.QCC[T]=O:s.currentTile.QCC[T]=O;break;case65362:y=(0,a.readUint16)(e,l);varR={};h=l+2;varE=e[h++];R.entropyCoderWithCustomPrecincts=!!(1&E);R.sopMarkerUsed=!!(2&E);R.ephMarkerUsed=!!(4&E);R.progressionOrder=e[h++];R.layersCount=(0,a.readUint16)(e,h);h+=2;R.multipleComponentTransform=e[h++];R.decompositionLevelsCount=e[h++];R.xcb=2+(15&e[h++]);R.ycb=2+(15&e[h++]);varF=e[h++];R.selectiveArithmeticCodingBypass=!!(1&F);R.resetContextProbabilities=!!(2&F);R.terminationOnEachCodingPass=!!(4&F);R.verticalyStripe=!!(8&F);R.predictableTermination=!!(16&F);R.segmentationSymbolUsed=!!(32&F);R.reversibleTransformation=e[h++];if(R.entropyCoderWithCustomPrecincts){for(varB=[];h<y+l;){varM=e[h++];B.push({PPx:15&M,PPy:M>>4})}R.precinctsSizes=B}varD=[];R.selectiveArithmeticCodingBypass&&D.push("selectiveArithmeticCodingBypass");R.resetContextProbabilities&&D.push("resetContextProbabilities");R.terminationOnEachCodingPass&&D.push("terminationOnEachCodingPass");R.verticalyStripe&&D.push("verticalyStripe");R.predictableTermination&&D.push("predictableTermination");if(D.length>0){c=!0;thrownewError("Unsupported COD options ("+D.join(", ")+")")}if(s.mainHeader)s.COD=R;else{s.currentTile.COD=R;s.currentTile.COC=[]}break;case65424:y=(0,a.readUint16)(e,l);p={};p.index=(0,a.readUint16)(e,l+2);p.length=(0,a.readUint32)(e,l+4);p.dataEnd=p.length+l-2;p.partIndex=e[l+8];p.partsCount=e[l+9];s.mainHeader=!1;if(0===p.partIndex){p.COD=s.COD;p.COC=s.COC.slice(0);p.QCD=s.QCD;p.QCC=s.QCC.slice(0)}s.currentTile=p;break;case65427:p=s.currentTile;if(0===p.partIndex){S(s,p.index);b(s)}y=p.dataEnd-l;v(s,e,l,y);break;case65365:case65367:case65368:case65380:y=(0,a.readUint16)(e,l);break;case65363:thrownewError("Codestream code 0xFF53 (COC) is not implemented");default:thrownewError("Unknown codestream code: "+u.toString(16))}l+=y}}catch(e){if(c||this.failOnCorruptedImage)thrownewn(e.message);(0,a.warn)("JPX: Trying to recover from: "+e.message)}this.tiles=k(s);this.width=s.SIZ.Xsiz-s.SIZ.XOsiz;this.height=s.SIZ.Ysiz-s.SIZ.YOsiz;this.componentsCount=s.SIZ.Csiz}};varx=function(){functione(e,t){varr=(0,a.log2)(Math.max(e,t))+1;this.leve
;this.contentAvailable=!0;if(!e.has("EF")){this.contentAvailable=!1;(0,n.warn)("Non-embedded file specifications are not supported")}}}functiont(e){returne.has("UF")?e.get("UF"):e.has("F")?e.get("F"):e.has("Unix")?e.get("Unix"):e.has("Mac")?e.get("Mac"):e.has("DOS")?e.get("DOS"):null}e.prototype={getfilename(){if(!this._filename&&this.root){vare=t(this.root)||"unnamed";this._filename=(0,n.stringToPDFString)(e).replace(/\\\\/g,"\\").replace(/\\\//g,"/").replace(/\\/g,"/")}returnthis._filename},getcontent(){if(!this.contentAvailable)returnnull;!this.contentRef&&this.root&&(this.contentRef=t(this.root.get("EF")));vare=null;if(this.contentRef){varr=this.xref,a=r.fetchIfRef(this.contentRef);a&&(0,o.isStream)(a)?e=a.getBytes():(0,n.warn)("Embedded file specification points to non-existing/invalid content")}else(0,n.warn)("Embedded file specification does not have a content");returne},getserializable(){return{filename:this.filename,content:this.content}}};returne}(),b=function(){functione(e){return(0,o.isRef)(e)||(0,o.isDict)(e)||(0,n.isArray)(e)||(0,o.isStream)(e)}functiont(t,r){if((0,o.isDict)(t)||(0,o.isStream)(t))for(vara=(0,o.isDict)(t)?t:t.dict,i=a.getKeys(),s=0,c=i.length;s<c;s++){varl=a.getRaw(i[s]);e(l)&&r.push(l)}elseif((0,n.isArray)(t))for(varu=0,h=t.length;u<h;u++){varf=t[u];e(f)&&r.push(f)}}functionr(e,t,r){this.dict=e;this.keys=t;this.xref=r;this.refSet=null;this.capability=null}r.prototype={load:function(){this.capability=(0,n.createPromiseCapability)();if(!(this.xref.streaminstanceofc.ChunkedStream)||0===this.xref.stream.getMissingChunks().length){this.capability.resolve();returnthis.capability.promise}vare=this.keys,t=this.dict;this.refSet=newo.RefSet;for(varr=[],a=0,i=e.length;a<i;a++){vars=t.getRaw(e[a]);void0!==s&&r.push(s)}this._walk(r);returnthis.capability.promise},_walk:function(e){for(varr=this,a=[],i=[];e.length;){vars=e.pop();if((0,o.isRef)(s)){if(this.refSet.has(s))continue;try{this.refSet.put(s);s=this.xref.fetch(s)}catch(e){if(!(einstanceofn.MissingDataException))throwe;a.push(s);i.push({begin:e.begin,end:e.end})}}if(s&&s.getBaseStreams){for(varc=s.getBaseStreams(),l=!1,u=0,h=c.length;u<h;u++){varf=c[u];if(f.getMissingChunks&&f.getMissingChunks().length){l=!0;i.push({begin:f.start,end:f.end})}}l&&a.push(s)}t(s,e)}if(i.length)this.xref.stream.manager.requestRanges(i).then(function(){for(vare=0,t=a.length;e<t;e++){vari=a[e];(0,o.isRef)(i)&&r.refSet.remove(i)}r._walk(a)},this.capability.reject);else{this.refSet=null;this.capability.resolve()}}};returnr}();t.Catalog=h;t.ObjectLoader=b;t.XRef=f;t.FileSpec=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getSupplementalGlyphMapForArialBlack=t.getGlyphMapForStandardFonts=t.getSymbolsFonts=t.getSerifFonts=t.getNonStdFontMap=t.getStdFontMap=void0;vara=r(0),i=(0,a.getLookupTableFactory)(function(e){e.ArialNarrow="Helvetica";e["ArialNarrow-Bold"]="Helvetica-Bold";e["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique";e["ArialNarrow-Italic"]="Helvetica-Oblique";e.ArialBlack="Helvetica";e["ArialBlack-Bold"]="Helvetica-Bold";e["ArialBlack-BoldItalic"]="Helvetica-BoldOblique";e["ArialBlack-Italic"]="Helvetica-Oblique";e["Arial-Black"]="Helvetica";e["Arial-Black-Bold"]="Helvetica-Bold";e["Arial-Black-BoldItalic"]="Helvetica-BoldOblique";e["Arial-Black-Italic"]="Helvetica-Oblique";e.Arial="Helvetica";e["Arial-Bold"]="Helvetica-Bold";e["Arial-BoldItalic"]="Helvetica-BoldOblique";e["Arial-Italic"]="Helvetica-Oblique";e["Arial-BoldItalicMT"]="Helvetica-BoldOblique";e["Arial-BoldMT"]="Helvetica-Bold";e["Arial-ItalicMT"]="Helvetica-Oblique";e.ArialMT="Helvetica";e["Courier-Bold"]="Courier-Bold";e["Courier-BoldItalic"]="Courier-BoldOblique";e["Courier-Italic"]="Courier-Oblique";e.CourierNew="Courier";e["CourierNew-Bold"]="Courier-Bold";e["CourierNew-BoldItalic"]="Courier-BoldOblique";e["CourierNew-Italic"]="Courier-Oblique";e["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique";e["CourierNewPS-BoldMT"]="Courier-Bold";e["CourierNewPS-ItalicMT"]="Courier-Oblique";e.CourierNewPSMT="Courier";e.Helvetica="
varo=t,s=t;!1===i.canceled1&&M(r,o);!1===i.canceled2&&M(a,s)}})}returne}functionh(){functione(t){varr=e._stream,a=e._teeState;a.canceled1=!0;a.reason1=t;if(!0===a.canceled2){vari=Be([a.reason1,a.reason2]),n=m(r,i);a._resolve(n)}returna.promise}returne}functionf(){functione(t){varr=e._stream,a=e._teeState;a.canceled2=!0;a.reason2=t;if(!0===a.canceled1){vari=Be([a.reason1,a.reason2]),n=m(r,i);a._resolve(n)}returna.promise}returne}functiond(e){Le(!0===x(e._reader));Le("readable"===e._state||"closed"===e._state);returnnewPromise(function(t,r){vara={_resolve:t,_reject:r};e._reader._readIntoRequests.push(a)})}functiong(e){Le(!0===A(e._reader));Le("readable"===e._state);returnnewPromise(function(t,r){vara={_resolve:t,_reject:r};e._reader._readRequests.push(a)})}functionm(e,t){e._disturbed=!0;if("closed"===e._state)returnPromise.resolve(void0);if("errored"===e._state)returnPromise.reject(e._storedError);p(e);returne._readableStreamController.__cancelSteps(t).then(function(){})}functionp(e){Le("readable"===e._state);e._state="closed";vart=e._reader;if(void0!==t){if(!0===A(t)){for(varr=0;r<t._readRequests.length;r++){(0,t._readRequests[r]._resolve)(_e(void0,!0))}t._readRequests=[]}be(t)}}functionb(e,t){Le(!0===o(e),"stream must be ReadableStream");Le("readable"===e._state,"state must be readable");e._state="errored";e._storedError=t;varr=e._reader;if(void0!==r){if(!0===A(r)){for(vara=0;a<r._readRequests.length;a++){r._readRequests[a]._reject(t)}r._readRequests=[]}else{Le(x(r),"reader must be ReadableStreamBYOBReader");for(vari=0;i<r._readIntoRequests.length;i++){r._readIntoRequests[i]._reject(t)}r._readIntoRequests=[]}me(r,t);r._closedPromise.catch(function(){})}}functionv(e,t,r){vara=e._reader;Le(a._readIntoRequests.length>0);a._readIntoRequests.shift()._resolve(_e(t,r))}functiony(e,t,r){vara=e._reader;Le(a._readRequests.length>0);a._readRequests.shift()._resolve(_e(t,r))}functionw(e){returne._reader._readIntoRequests.length}functionk(e){returne._reader._readRequests.length}functionS(e){vart=e._reader;returnvoid0!==t&&!1!==x(t)}functionC(e){vart=e._reader;returnvoid0!==t&&!1!==A(t)}functionx(e){return!!De(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")}functionA(e){return!!De(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")}function_(e,t){e._ownerReadableStream=t;t._reader=e;if("readable"===t._state)fe(e);elseif("closed"===t._state)ge(e);else{Le("errored"===t._state,"state must be errored");de(e,t._storedError);e._closedPromise.catch(function(){})}}functionP(e,t){varr=e._ownerReadableStream;Le(void0!==r);returnm(r,t)}functionI(e){Le(void0!==e._ownerReadableStream);Le(e._ownerReadableStream._reader===e);"readable"===e._ownerReadableStream._state?me(e,newTypeError("Reader was released and can no longer be used to monitor the stream's closedness")):pe(e,newTypeError("Reader was released and can no longer be used to monitor the stream's closedness"));e._closedPromise.catch(function(){});e._ownerReadableStream._reader=void0;e._ownerReadableStream=void0}functionO(e,t){varr=e._ownerReadableStream;Le(void0!==r);r._disturbed=!0;return"errored"===r._state?Promise.reject(r._storedError):Z(r._readableStreamController,t)}functionT(e){vart=e._ownerReadableStream;Le(void0!==t);t._disturbed=!0;if("closed"===t._state)returnPromise.resolve(_e(void0,!0));if("errored"===t._state)returnPromise.reject(t._storedError);Le("readable"===t._state);returnt._readableStreamController.__pullSteps()}functionR(e){return!!De(e)&&!!Object.prototype.hasOwnProperty.call(e,"_underlyingSource")}functionE(e){if(!1!==F(e))if(!0!==e._pulling){Le(!1===e._pullAgain);e._pulling=!0;vart=Oe(e._underlyingSource,"pull",[e]);t.then(function(){e._pulling=!1;if(!0===e._pullAgain){e._pullAgain=!1;returnE(e)}},function(t){q(e,t)}).catch(Ne)}elsee._pullAgain=!0}functionF(e){vart=e._controlledReadableStream;return"closed"!==t._state&&"errored"!==t._state&&(!0!==e._closeRequested&&(!1!==e._started&&(!0===c(t)&&k(t)>0||L(e)>0)))}functionB(e){vart=e._controlledReadableStr
;this._backpressureChangePromise_resolve=void0;this._transformStreamController=newq(this);varn=void0,o=newPromise(function(e){n=e}),s=newD(this,o);this._readable=newP(s,r);varc=newM(this,o);this._writable=newF(c,i);w(void0!==this._writableController);w(void0!==this._readableController);h(this,R(this._readableController)<=0);varl=this,u=S(t,"start",[l._transformStreamController]);n(u);o.catch(function(e){if(!1===l._errored){l._errored=!0;l._storedError=e}})}v(e,[{key:"readable",get:function(){if(!1===m(this))throwb("readable");returnthis._readable}},{key:"writable",get:function(){if(!1===m(this))throwb("writable");returnthis._writable}}]);returne}();e.exports={TransformStream:L}},function(e,t,r){e.exports=r(5)}]))},function(e,t,r){"use strict";functiona(){}Object.defineProperty(t,"__esModule",{value:!0});t.AnnotationFactory=t.AnnotationBorderStyle=t.Annotation=void0;vari=r(0),n=r(15),o=r(1),s=r(3),c=r(13),l=r(2);a.prototype={create:function(e,t,r,a){varn=e.fetchIfRef(t);if((0,o.isDict)(n)){vars=(0,o.isRef)(t)?t.toString():"annot_"+a.createObjId(),c=n.get("Subtype");c=(0,o.isName)(c)?c.name:null;varl={xref:e,dict:n,ref:(0,o.isRef)(t)?t:null,subtype:c,id:s,pdfManager:r};switch(c){case"Link":returnnewb(l);case"Text":returnnewp(l);case"Widget":varh=i.Util.getInheritableProperty(n,"FT");h=(0,o.isName)(h)?h.name:null;switch(h){case"Tx":returnnewd(l);case"Btn":returnnewg(l);case"Ch":returnnewm(l)}(0,i.warn)('Unimplemented widget field type "'+h+'", falling back to base field type.');returnnewf(l);case"Popup":returnnewv(l);case"Line":returnnewy(l);case"Highlight":returnneww(l);case"Underline":returnnewk(l);case"Squiggly":returnnewS(l);case"StrikeOut":returnnewC(l);case"FileAttachment":returnnewx(l);default:c?(0,i.warn)('Unimplemented annotation type "'+c+'", falling back to base annotation.'):(0,i.warn)("Annotation is missing the required /Subtype.");returnnewu(l)}}}};varu=function(){functione(e,t,r){vara=i.Util.getAxialAlignedBoundingBox(t,r),n=a[0],o=a[1],s=a[2],c=a[3];if(n===s||o===c)return[1,0,0,1,e[0],e[1]];varl=(e[2]-e[0])/(s-n),u=(e[3]-e[1])/(c-o);return[l,0,0,u,e[0]-n*l,e[1]-o*u]}functiont(e){vart=e.dict;this.setFlags(t.get("F"));this.setRectangle(t.getArray("Rect"));this.setColor(t.getArray("C"));this.setBorderStyle(t);this.setAppearance(t);this.data={};this.data.id=e.id;this.data.subtype=e.subtype;this.data.annotationFlags=this.flags;this.data.rect=this.rectangle;this.data.color=this.color;this.data.borderStyle=this.borderStyle;this.data.hasAppearance=!!this.appearance}t.prototype={_hasFlag:function(e,t){return!!(e&t)},_isViewable:function(e){return!this._hasFlag(e,i.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,i.AnnotationFlag.HIDDEN)&&!this._hasFlag(e,i.AnnotationFlag.NOVIEW)},_isPrintable:function(e){returnthis._hasFlag(e,i.AnnotationFlag.PRINT)&&!this._hasFlag(e,i.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,i.AnnotationFlag.HIDDEN)},getviewable(){return0===this.flags||this._isViewable(this.flags)},getprintable(){return0!==this.flags&&this._isPrintable(this.flags)},setFlags:function(e){this.flags=(0,i.isInt)(e)&&e>0?e:0},hasFlag:function(e){returnthis._hasFlag(this.flags,e)},setRectangle:function(e){(0,i.isArray)(e)&&4===e.length?this.rectangle=i.Util.normalizeRect(e):this.rectangle=[0,0,0,0]},setColor:function(e){vart=newUint8Array(3);if((0,i.isArray)(e))switch(e.length){case0:this.color=null;break;case1:s.ColorSpace.singletons.gray.getRgbItem(e,0,t,0);this.color=t;break;case3:s.ColorSpace.singletons.rgb.getRgbItem(e,0,t,0);this.color=t;break;case4:s.ColorSpace.singletons.cmyk.getRgbItem(e,0,t,0);this.color=t;break;default:this.color=t}elsethis.color=t},setBorderStyle:function(e){this.borderStyle=newh;if((0,o.isDict)(e))if(e.has("BS")){vart=e.get("BS"),r=t.get("Type");if(!r||(0,o.isName)(r,"Border")){this.borderStyle.setWidth(t.get("W"));this.borderStyle.setStyle(t.get("S"));this.borderStyle.setDashArray(t.getArray("D"))}}elseif(e.has("Border")){vara=e.getArray("Border");if((0,i.isArray)(a)&&a.length>=3){this.borderStyle.setHorizontalCornerR
}else{if(!(0,i.isCmd)(o,"["))break;o=n.getObj();for(varu=[];!(0,i.isCmd)(o,"]")&&!(0,i.isEOF)(o);){u.push(o);o=n.getObj()}r.mapBfRangeToArray(s,c,u)}}thrownewa.FormatError("Invalid bf range.")}functiond(a,n){for(;;){varo=n.getObj();if((0,i.isEOF)(o))break;if((0,i.isCmd)(o,"endcidchar"))return;t(o);vars=e(o);o=n.getObj();r(o);varc=o;a.mapOne(s,c)}}functiong(a,n){for(;;){varo=n.getObj();if((0,i.isEOF)(o))break;if((0,i.isCmd)(o,"endcidrange"))return;t(o);vars=e(o);o=n.getObj();t(o);varc=e(o);o=n.getObj();r(o);varl=o;a.mapCidRange(s,c,l)}}functionm(t,r){for(;;){varn=r.getObj();if((0,i.isEOF)(n))break;if((0,i.isCmd)(n,"endcodespacerange"))return;if(!(0,a.isString)(n))break;varo=e(n);n=r.getObj();if(!(0,a.isString)(n))break;vars=e(n);t.addCodespaceRange(n.length,o,s)}thrownewa.FormatError("Invalid codespace range.")}functionp(e,t){varr=t.getObj();(0,a.isInt)(r)&&(e.vertical=!!r)}functionb(e,t){varr=t.getObj();(0,i.isName)(r)&&(0,a.isString)(r.name)&&(e.name=r.name)}functionv(e,t,r,n){varo,s;e:for(;;)try{varc=t.getObj();if((0,i.isEOF)(c))break;if((0,i.isName)(c)){"WMode"===c.name?p(e,t):"CMapName"===c.name&&b(e,t);o=c}elseif((0,i.isCmd)(c))switch(c.cmd){case"endcmap":breake;case"usecmap":(0,i.isName)(o)&&(s=o.name);break;case"begincodespacerange":m(e,t);break;case"beginbfchar":h(e,t);break;case"begincidchar":d(e,t);break;case"beginbfrange":f(e,t);break;case"begincidrange":g(e,t)}}catch(e){if(einstanceofa.MissingDataException)throwe;(0,a.warn)("Invalid cMap data: "+e);continue}!n&&s&&(n=s);returnn?y(e,r,n):Promise.resolve(e)}functiony(e,t,r){returnw(r,t).then(function(t){e.useCMap=t;if(0===e.numCodespaceRanges){for(varr=e.useCMap.codespaceRanges,a=0;a<r.length;a++)e.codespaceRanges[a]=r[a].slice();e.numCodespaceRanges=e.useCMap.numCodespaceRanges}e.useCMap.forEach(function(t,r){e.contains(t)||e.mapOne(t,e.useCMap.lookup(t))});returne})}functionw(e,t){if("Identity-H"===e)returnPromise.resolve(newl(!1,2));if("Identity-V"===e)returnPromise.resolve(newl(!0,2));if(-1===s.indexOf(e))returnPromise.reject(newError("Unknown CMap name: "+e));(0,a.assert)(t,"Built-in CMap parameters are not provided.");returnt(e).then(function(e){varr=e.cMapData,i=e.compressionType,s=newc(!0);if(i===a.CMapCompressionType.BINARY)return(newu).process(r,s,function(e){returny(s,t,e)});(0,a.assert)(i===a.CMapCompressionType.NONE,"TODO: Only BINARY/NONE CMap compression is currently supported.");varl=newn.Lexer(newo.Stream(r));returnv(s,l,t,null)})}return{create:function(e){vart=e.encoding,r=e.fetchBuiltInCMap,a=e.useCMap;if((0,i.isName)(t))returnw(t.name,r);if((0,i.isStream)(t)){returnv(newc,newn.Lexer(t),r,a).then(function(e){returne.isIdentityCMap?w(e.name,r):e})}returnPromise.reject(newError("Encoding required."))}}}();t.CMap=c;t.IdentityCMap=l;t.CMapFactory=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.PDFDocument=t.Page=void0;vara=function(){functione(e,t){varr=[],a=!0,i=!1,n=void0;try{for(varo,s=e[Symbol.iterator]();!(a=(o=s.next()).done);a=!0){r.push(o.value);if(t&&r.length===t)break}}catch(e){i=!0;n=e}finally{try{!a&&s.return&&s.return()}finally{if(i)thrown}}returnr}returnfunction(t,r){if(Array.isArray(t))returnt;if(Symbol.iteratorinObject(t))returne(t,r);thrownewTypeError("Invalid attempt to destructure non-iterable instance")}}(),i=r(0),n=r(15),o=r(1),s=r(2),c=r(13),l=r(20),u=r(12),h=r(5),f=function(){functione(e,t){return"display"===t&&e.viewable||"print"===t&&e.printable}functiont(e,t,r,a,i,n,o){this.pdfManager=e;this.pageIndex=r;this.pageDict=a;this.xref=t;this.ref=i;this.fontCache=n;this.builtInCMapCache=o;this.evaluatorOptions=e.evaluatorOptions;this.resourcesPromise=null;vars="p"+this.pageIndex+"_",c={obj:0};this.idFactory={createObjId:function(){returns+++c.obj}}}varr=[0,0,612,792];t.prototype={getPageProp:function(e){returnthis.pageDict.get(e)},getInheritedPageProp:function(e,t){varr=this.pageDict,a=null,n=0;t=t||!1;for(;r;){vars=t?r.getArray(e):r.get(e);if(void0!==s){a||(a=[]);a.push(s)}if(++n>100){(0,i.warn)("getInherited
functionD(e){for(vart=0,r=I.length-1;t<r;){vara=t+r+1>>1;e<I[a]?r=a-1:t=a}return!(1&t)}functionq(e,t,r){vara=t.toUnicode,i=!!(t.flags&S.Symbolic),n=t.toUnicodeinstanceof_,o=Object.create(null),s=[],c=[],l=b;for(varuine){u|=0;varh=e[u],f=u,d=!1;if(!n&&a.has(u)){d=!0;varg=a.get(f);1===g.length&&(f=g.charCodeAt(0))}if(!r[h]&&(void0!==c[f]||D(f)||i&&!d)&&l<=v)do{f=l++;if(y&&61440===f){f=61472;l=f+1}}while(void0!==c[f]&&l<=v);o[f]=h;s[u]=f;c[f]=!0}return{toFontChar:s,charCodeToGlyphId:o,nextAvailableFontCharCode:l}}functionL(e,t){varr=[];for(varaine)e[a]>=t||r.push({fontCharCode:0|a,glyphId:e[a]});r.sort(function(e,t){returne.fontCharCode-t.fontCharCode});for(vari=[],n=r.length,o=0;o<n;){vars=r[o].fontCharCode,c=[r[o].glyphId];++o;for(varl=s;o<n&&l+1===r[o].fontCharCode;){c.push(r[o].glyphId);++l;++o;if(65535===l)break}i.push([s,l,c])}returni}functionN(e,t){varr,a,i,n,o=L(e,t),s=o[o.length-1][1]>65535?2:1,l="\0\0"+p(s)+"\0\0"+(0,c.string32)(4+8*s);for(r=o.length-1;r>=0&&!(o[r][0]<=65535);--r);varu=r+1;o[r][0]<65535&&65535===o[r][1]&&(o[r][1]=65534);varh,f,d,g,m=o[r][1]<65535?1:0,b=u+m,v=P.getSearchParams(b,2),y="",w="",k="",S="",C="",x=0;for(r=0,a=u;r<a;r++){h=o[r];f=h[0];d=h[1];y+=p(f);w+=p(d);g=h[2];varA=!0;for(i=1,n=g.length;i<n;++i)if(g[i]!==g[i-1]+1){A=!1;break}if(A){k+=p(g[0]-f&65535);S+=p(0)}else{var_=2*(b-r)+2*x;x+=d-f+1;k+=p(0);S+=p(_);for(i=0,n=g.length;i<n;++i)C+=p(g[i])}}if(m>0){w+="ÿÿ";y+="ÿÿ";k+="\0";S+="\0\0"}varI="\0\0"+p(2*b)+p(v.range)+p(v.entry)+p(v.rangeShift)+w+"\0\0"+y+k+S+C,O="",T="";if(s>1){l+="\0\0\n"+(0,c.string32)(4+8*s+4+I.length);O="";for(r=0,a=o.length;r<a;r++){h=o[r];f=h[0];g=h[2];varR=g[0];for(i=1,n=g.length;i<n;++i)if(g[i]!==g[i-1]+1){d=h[0]+i-1;O+=(0,c.string32)(f)+(0,c.string32)(d)+(0,c.string32)(R);f=d+1;R=g[i]}O+=(0,c.string32)(f)+(0,c.string32)(h[1])+(0,c.string32)(R)}T="\0\f\0\0"+(0,c.string32)(O.length+16)+"\0\0\0\0"+(0,c.string32)(O.length/12)}returnl+"\0"+p(I.length+4)+I+T+O}functionU(e){vart=newm.Stream(e.data),r=t.getUint16();t.getBytes(60);vara=t.getUint16();if(r<4&&768&a)return!1;if(t.getUint16()>t.getUint16())return!1;t.getBytes(6);if(0===t.getUint16())return!1;e.data[8]=e.data[9]=0;return!0}functionj(e,t,r){r=r||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};vara=0,i=0,n=0,o=0,s=null,l=0;if(t)for(varuint){u|=0;(s>u||!s)&&(s=u);l<u&&(l=u);varh=(0,d.getUnicodeRangeFor)(u);if(h<32)a|=1<<h;elseif(h<64)i|=1<<h-32;elseif(h<96)n|=1<<h-64;else{if(!(h<123))thrownewc.FormatError("Unicode ranges Bits > 123 are reserved for internal usage");o|=1<<h-96}}else{s=0;l=255}varf=e.bbox||[0,0,0,0],g=r.unitsPerEm||1/(e.fontMatrix||c.FONT_IDENTITY_MATRIX)[0],m=e.ascentScaled?1:g/w,b=r.ascent||Math.round(m*(e.ascent||f[3])),v=r.descent||Math.round(m*(e.descent||f[1]));v>0&&e.descent>0&&f[1]<0&&(v=-v);vary=r.yMax||b,k=-r.yMin||-v;return"\0$ô\0\0\0»\0\0\0»\0\0ß\x001\0\0\0\0"+String.fromCharCode(e.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,c.string32)(a)+(0,c.string32)(i)+(0,c.string32)(n)+(0,c.string32)(o)+"*21*"+p(e.italicAngle?1:0)+p(s||e.firstChar)+p(l||e.lastChar)+p(b)+p(v)+"\0d"+p(y)+p(k)+"\0\0\0\0\0\0\0\0"+p(e.xHeight)+p(e.capHeight)+p(0)+p(s||e.firstChar)+"\0"}functionz(e){vart=Math.floor(e.italicAngle*Math.pow(2,16));return"\0\0\0"+(0,c.string32)(t)+"\0\0\0\0"+(0,c.string32)(e.fixedPitch)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}functionH(e,t){t||(t=[[],[]]);varr,a,i,n,o,s=[t[0][0]||"Original licence",t[0][1]||e,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||e,t[0][5]||"Version 0.11",t[0][6]||"",t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],c=[];for(r=0,a=s.length;r<a;r++){o=t[1][r]||s[r];varl=[];for(i=0,n=o.length;i<n;i++)l.push(p(o.charCodeAt(i)));c.push(l.join(""))}varu=[s,c],h=["\0","\0"],f=["\0\0","\0"],d=["\0\0","\t"],g=s.length*h.length,m="\0\0"+p(g)+p(12*g+6),b=0;for(r=0,a=h.length;r<a;r++){varv=u[r];for(i=0,n=v.length;i<n;i++){o=v[i];m+=h[r]+f[r]+d[r]+p(i)+p(o.length)+p(b);b+=o.length}}m+=s.join("")+c.join("");returnm}e.getFontID=function(){vare=1;returnfunction(){returnString(e++)}}();e.pro
o.kind=a.ImageKind.RGB_24BPP;o.data=newUint8Array(r*n*3);b=0;v=!1}this.needsDecode&&this.decodeBuffer(w);this.colorSpace.fillRgb(o.data,c,l,r,n,y,u,w,b);v&&this.undoPreblend(o.data,r,y);returno},fillGrayBuffer:function(e){vart=this.numComps;if(1!==t)thrownewa.FormatError("Reading gray scale from a color image: "+t);varr,i,n=this.width,o=this.height,s=this.bpc,c=n*t*s+7>>3,l=this.getImageBytes(o*c),u=this.getComponents(l);if(1!==s){this.needsDecode&&this.decodeBuffer(u);i=n*o;varh=255/((1<<s)-1);for(r=0;r<i;++r)e[r]=h*u[r]|0}else{i=n*o;if(this.needsDecode)for(r=0;r<i;++r)e[r]=u[r]-1&255;elsefor(r=0;r<i;++r)e[r]=255&-u[r]}},getImageBytes:function(e,t,r,a){this.image.reset();this.image.drawWidth=t||this.width;this.image.drawHeight=r||this.height;this.image.forceRGB=!!a;returnthis.image.getBytes(e)}};returnc}();t.PDFImage=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Jbig2Image=void0;vara=r(0),i=r(9),n=function(){functione(e){this.message="JBIG2 error: "+e}e.prototype=newError;e.prototype.name="Jbig2Error";e.constructor=e;returne}(),o=function(){functione(){}functiont(e,t,r){this.data=e;this.start=t;this.end=r}functionr(e,t,r){functiona(e){for(vart=0,a=0;a<e;a++){varo=r.readBit(i,n);n=n<256?n<<1|o:511&(n<<1|o)|256;t=t<<1|o}returnt>>>0}vari=e.getContexts(t),n=1,o=a(1),s=a(1)?a(1)?a(1)?a(1)?a(1)?a(32)+4436:a(12)+340:a(8)+84:a(6)+20:a(4)+4:a(2);return0===o?s:s>0?-s:null}functiono(e,t,r){for(vara=e.getContexts("IAID"),i=1,n=0;n<r;n++){i=i<<1|t.readBit(a,i)}returnr<31?i&(1<<r)-1:2147483647&i}functions(e,t,r){vara,i,n,o,s,c,l,u=r.decoder,h=r.contextCache.getContexts("GB"),f=[];for(i=0;i<t;i++){s=f[i]=newUint8Array(e);c=i<1?s:f[i-1];l=i<2?s:f[i-2];a=l[0]<<13|l[1]<<12|l[2]<<11|c[0]<<7|c[1]<<6|c[2]<<5|c[3]<<4;for(n=0;n<e;n++){s[n]=o=u.readBit(h,a);a=(31735&a)<<1|(n+3<e?l[n+3]<<11:0)|(n+4<e?c[n+4]<<4:0)|o}}returnf}functionc(e,t,r,a,i,o,c,l){if(e)thrownewn("MMR encoding is not supported");if(0===a&&!o&&!i&&4===c.length&&3===c[0].x&&-1===c[0].y&&-3===c[1].x&&-1===c[1].y&&2===c[2].x&&-2===c[2].y&&-2===c[3].x&&-2===c[3].y)returns(t,r,l);varu=!!o,h=k[a].concat(c);h.sort(function(e,t){returne.y-t.y||e.x-t.x});varf,d,g=h.length,m=newInt8Array(g),p=newInt8Array(g),b=[],v=0,y=0,w=0,S=0;for(d=0;d<g;d++){m[d]=h[d].x;p[d]=h[d].y;y=Math.min(y,h[d].x);w=Math.max(w,h[d].x);S=Math.min(S,h[d].y);d<g-1&&h[d].y===h[d+1].y&&h[d].x===h[d+1].x-1?v|=1<<g-1-d:b.push(d)}varx=b.length,A=newInt8Array(x),_=newInt8Array(x),P=newUint16Array(x);for(f=0;f<x;f++){d=b[f];A[f]=h[d].x;_[f]=h[d].y;P[f]=1<<g-1-d}for(varI,O,T,R,E,F=-y,B=-S,M=t-w,D=C[a],q=newUint8Array(t),L=[],N=l.decoder,U=l.contextCache.getContexts("GB"),j=0,z=0,H=0;H<r;H++){if(i){j^=N.readBit(U,D);if(j){L.push(q);continue}}q=newUint8Array(q);L.push(q);for(I=0;I<t;I++)if(u&&o[H][I])q[I]=0;else{if(I>=F&&I<M&&H>=B){z=z<<1&v;for(d=0;d<x;d++){O=H+_[d];T=I+A[d];R=L[O][T];if(R){R=P[d];z|=R}}}else{z=0;E=g-1;for(d=0;d<g;d++,E--){T=I+m[d];if(T>=0&&T<t){O=H+p[d];if(O>=0){R=L[O][T];R&&(z|=R<<E)}}}}varG=N.readBit(U,z);q[I]=G}}returnL}functionl(e,t,r,a,i,o,s,c,l){varu=S[r].coding;0===r&&(u=u.concat([c[0]]));varh,f=u.length,d=newInt32Array(f),g=newInt32Array(f);for(h=0;h<f;h++){d[h]=u[h].x;g[h]=u[h].y}varm=S[r].reference;0===r&&(m=m.concat([c[1]]));varp=m.length,b=newInt32Array(p),v=newInt32Array(p);for(h=0;h<p;h++){b[h]=m[h].x;v[h]=m[h].y}for(vary=a[0].length,w=a.length,k=x[r],C=[],A=l.decoder,_=l.contextCache.getContexts("GR"),P=0,I=0;I<t;I++){if(s){P^=A.readBit(_,k);if(P)thrownewn("prediction is not supported")}varO=newUint8Array(e);C.push(O);for(varT=0;T<e;T++){varR,E,F=0;for(h=0;h<f;h++){R=I+g[h];E=T+d[h];R<0||E<0||E>=e?F<<=1:F=F<<1|C[R][E]}for(h=0;h<p;h++){R=I+v[h]-o;E=T+b[h]-i;R<0||R>=w||E<0||E>=y?F<<=1:F=F<<1|a[R][E]}varB=A.readBit(_,F);O[T]=B}}returnC}functionu(e,t,i,s,u,f,d,g,m,p,b){if(e)thrownewn("huffman is not supported");for(varv=[],y=0,w=(0,a.log2)(i.length+s),k=b.decoder,S=b.contextCache;v.length<s;){y+=r(S,"IADH",k);for(varC=0;;){varx=r(S,"IADW",k);if(null===x)break;C+=x;varA;if(t){var_=r(S,
;e.imacron=278;e.Euro=500});e.ZapfDingbats=(0,a.getLookupTableFactory)(function(e){e.space=278;e.a1=974;e.a2=961;e.a202=974;e.a3=980;e.a4=719;e.a5=789;e.a119=790;e.a118=791;e.a117=690;e.a11=960;e.a12=939;e.a13=549;e.a14=855;e.a15=911;e.a16=933;e.a105=911;e.a17=945;e.a18=974;e.a19=755;e.a20=846;e.a21=762;e.a22=761;e.a23=571;e.a24=677;e.a25=763;e.a26=760;e.a27=759;e.a28=754;e.a6=494;e.a7=552;e.a8=537;e.a9=577;e.a10=692;e.a29=786;e.a30=788;e.a31=788;e.a32=790;e.a33=793;e.a34=794;e.a35=816;e.a36=823;e.a37=789;e.a38=841;e.a39=823;e.a40=833;e.a41=816;e.a42=831;e.a43=923;e.a44=744;e.a45=723;e.a46=749;e.a47=790;e.a48=792;e.a49=695;e.a50=776;e.a51=768;e.a52=792;e.a53=759;e.a54=707;e.a55=708;e.a56=682;e.a57=701;e.a58=826;e.a59=815;e.a60=789;e.a61=789;e.a62=707;e.a63=687;e.a64=696;e.a65=689;e.a66=786;e.a67=787;e.a68=713;e.a69=791;e.a70=785;e.a71=791;e.a72=873;e.a73=761;e.a74=762;e.a203=762;e.a75=759;e.a204=759;e.a76=892;e.a77=892;e.a78=788;e.a79=784;e.a81=438;e.a82=138;e.a83=277;e.a84=415;e.a97=392;e.a98=392;e.a99=668;e.a100=668;e.a89=390;e.a90=390;e.a93=317;e.a94=317;e.a91=276;e.a92=276;e.a205=509;e.a85=509;e.a206=410;e.a86=410;e.a87=234;e.a88=234;e.a95=334;e.a96=334;e.a101=732;e.a102=544;e.a103=544;e.a104=910;e.a106=667;e.a107=760;e.a108=760;e.a112=776;e.a111=595;e.a110=694;e.a109=626;e.a120=788;e.a121=788;e.a122=788;e.a123=788;e.a124=788;e.a125=788;e.a126=788;e.a127=788;e.a128=788;e.a129=788;e.a130=788;e.a131=788;e.a132=788;e.a133=788;e.a134=788;e.a135=788;e.a136=788;e.a137=788;e.a138=788;e.a139=788;e.a140=788;e.a141=788;e.a142=788;e.a143=788;e.a144=788;e.a145=788;e.a146=788;e.a147=788;e.a148=788;e.a149=788;e.a150=788;e.a151=788;e.a152=788;e.a153=788;e.a154=788;e.a155=788;e.a156=788;e.a157=788;e.a158=788;e.a159=788;e.a160=894;e.a161=838;e.a163=1016;e.a164=458;e.a196=748;e.a165=924;e.a192=748;e.a166=918;e.a167=927;e.a168=928;e.a169=928;e.a170=834;e.a171=873;e.a172=828;e.a173=924;e.a162=924;e.a174=917;e.a175=930;e.a176=931;e.a177=463;e.a178=883;e.a179=836;e.a193=836;e.a180=867;e.a199=867;e.a181=696;e.a200=696;e.a182=874;e.a201=874;e.a183=760;e.a184=946;e.a197=771;e.a185=865;e.a194=771;e.a198=888;e.a186=967;e.a195=888;e.a187=831;e.a188=873;e.a189=927;e.a190=970;e.a191=918})});t.getMetrics=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});vara="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},i=function(e){functiont(e){this.h1=e?4294967295&e:3285377520;this.h2=e?4294967295&e:3285377520}t.prototype={update:function(e){vart;if("string"==typeofe){varr=newUint8Array(2*e.length),i=0;for(t=0;t<e.length;t++){varn=e.charCodeAt(t);if(n<=255)r[i++]=n;else{r[i++]=n>>>8;r[i++]=255&n}}}else{if(!("object"===(void0===e?"undefined":a(e))&&"byteLength"ine))thrownewError("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");r=e;i=r.byteLength}varo=i>>2,s=i-4*o,c=newUint32Array(r.buffer,0,o),l=0,u=0,h=this.h1,f=this.h2,d=3432918353,g=461845907;for(t=0;t<o;t++)if(1&t){l=c[t];l=l*d&4294901760|11601*l&65535;l=l<<15|l>>>17;l=l*g&4294901760|13715*l&65535;h^=l;h=h<<13|h>>>19;h=5*h+3864292196}else{u=c[t];u=u*d&4294901760|11601*u&65535;u=u<<15|u>>>17;u=u*g&4294901760|13715*u&65535;f^=u;f=f<<13|f>>>19;f=5*f+3864292196}l=0;switch(s){case3:l^=r[4*o+2]<<16;case2:l^=r[4*o+1]<<8;case1:l^=r[4*o];l=l*d&4294901760|11601*l&65535;l=l<<15|l>>>17;l=l*g&4294901760|13715*l&65535;1&o?h^=l:f^=l}this.h1=h;this.h2=f;returnthis},hexdigest:function(){vare=this.h1,t=this.h2;e^=t>>>1;e=3981806797*e&4294901760|36045*e&65535;t=4283543511*t&4294901760|(2950163797*(t<<16|e>>>16)&4294901760)>>>16;e^=t>>>1;e=444984403*e&4294901760|60499*e&65535;t=3301882366*t&4294901760|(3120437893*(t<<16|e>>>16)&4294901760)>>>16;e^=t>>>1;for(varr=0,a=[e,t],i="";r<a.length;r++){for(varn=(a[r]>>>0).toString(16);n.length<8;)n="0"+n;i+=n}returni}};returnt}();t.MurmurHash3_64=i},function(e,t,r){"use strict";functiona(e,t,r){vara=t.getArray("Matrix"),n=i.Util.normalizeRect(t.getA