!function(e,t){"object"==typeofexports&&"object"==typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define("pdfjs-dist/build/pdf",[],t):"object"==typeofexports?exports["pdfjs-dist/build/pdf"]=t():e["pdfjs-dist/build/pdf"]=e.pdfjsDistBuildPdf=t()}(this,function(){returnfunction(e){functiont(n){if(r[n])returnr[n].exports;vari=r[n]={i:n,l:!1,exports:{}};returne[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}varr={};returnt.m=e,t.c=r,t.i=function(e){returne},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){varr=e&&e.__esModule?function(){returne.default}:function(){returne};returnt.d(r,"a",r),r},t.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=83)}([function(e,t,r){"use strict";functionn(e){le=e}functioni(){returnle}functiona(e){le>=ae.infos&&console.log("Info: "+e)}functiono(e){le>=ae.warnings&&console.log("Warning: "+e)}functions(e){console.log("Deprecated API usage: "+e)}functionl(e){thrownewError(e)}functionc(e,t){e||l(t)}functionu(e,t){try{varr=newURL(e);if(!r.origin||"null"===r.origin)return!1}catch(e){return!1}varn=newURL(t,r);returnr.origin===n.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}}functiond(e,t){if(!e)returnnull;try{varr=t?newURL(e,t):newURL(e);if(h(r))returnr}catch(e){}returnnull}functionf(e,t,r){returnObject.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1}),r}functionp(e){vart;returnfunction(){returne&&(t=Object.create(null),e(t),e=null),t}}functionm(e){return"string"!=typeofe?(o("The argument for removeNullCharacters must be a string."),e):e.replace(Ae,"")}functiong(e){c(null!==e&&"object"===(void0===e?"undefined":X(e))&&void0!==e.length,"Invalid argument for bytesToString");vart=e.length;if(t<8192)returnString.fromCharCode.apply(null,e);for(varr=[],n=0;n<t;n+=8192){vari=Math.min(n+8192,t),a=e.subarray(n,i);r.push(String.fromCharCode.apply(null,a))}returnr.join("")}functionv(e){c("string"==typeofe,"Invalid argument for stringToBytes");for(vart=e.length,r=newUint8Array(t),n=0;n<t;++n)r[n]=255&e.charCodeAt(n);returnr}functionb(e){returnvoid0!==e.length?e.length:(c(void0!==e.byteLength),e.byteLength)}functiony(e){if(1===e.length&&e[0]instanceofUint8Array)returne[0];vart,r,n,i=0,a=e.length;for(t=0;t<a;t++)r=e[t],n=b(r),i+=n;varo=0,s=newUint8Array(i);for(t=0;t<a;t++)r=e[t],rinstanceofUint8Array||(r="string"==typeofr?v(r):newUint8Array(r)),n=r.byteLength,s.set(r,o),o+=n;returns}function_(e){returnString.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}functionA(e){for(vart=1,r=0;e>t;)t<<=1,r++;returnr}functionS(e,t){returne[t]<<24>>24}functionw(e,t){returne[t]<<8|e[t+1]}functionP(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}functionC(){vare=newUint8Array(4);returne[0]=1,1===newUint32Array(e.buffer,0,1)[0]}functionx(){try{returnnewFunction(""),!0}catch(e){return!1}}functionR(e){vart,r=e.length,n=[];if("þ"===e[0]&&"ÿ"===e[1])for(t=2;t<r;t+=2)n.push(String.fromCharCode(e.charCodeAt(t)<<8|e.charCodeAt(t+1)));elsefor(t=0;t<r;++t){vari=Ce[e.charCodeAt(t)];n.push(i?String.fromCharCode(i):e.charAt(t))}returnn.join("")}functionk(e){returndecodeURIComponent(escape(e))}functionT(e){returnunescape(encodeURIComponent(e))}functionE(e){for(vartine)return!1;return!0}functionI(e){return"boolean"==typeofe}functionO(e){return"number"==typeofe&&(0|e)===e}functionL(e){return"number"==typeofe}functionj(e){return"string"==typeofe}functionD(e){returneinstanceofArray}functionF(e){return"object"===(void0===e?"undefined":X(e))&&null!==e&&void0!==e.byteLength}functionN(e){return32===e||9===e||13===e||10===e}functionM(){return"object"===("undefined"==typeofprocess?"undefined":X(process))&&process+""=="[object process]"}functionq(){vare={};returne.promise=newPromise(function(t,r){e.resolve=t,e.reject=r}),e}functionU(e,t){varr=arguments.length>2&&void0!==arguments[2]?a
;if("string"==typeofe)a={url:e};elseif((0,u.isArrayBuffer)(e))a={data:e};elseif(einstanceofR)a={range:e};else{if("object"!==(void0===e?"undefined":c(e)))thrownewError("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");if(!e.url&&!e.data&&!e.range)thrownewError("Invalid parameter object: need either .data, .range or .url");a=e}vars={},l=null,d=null,f=h.DOMCMapReaderFactory;for(varpina)if("url"!==p||"undefined"==typeofwindow)if("range"!==p)if("worker"!==p)if("data"!==p||a[p]instanceofUint8Array)"CMapReaderFactory"!==p?s[p]=a[p]:f=a[p];else{varv=a[p];if("string"==typeofv)s[p]=(0,u.stringToBytes)(v);elseif("object"!==(void0===v?"undefined":c(v))||null===v||isNaN(v.length)){if(!(0,u.isArrayBuffer)(v))thrownewError("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.");s[p]=newUint8Array(v)}elses[p]=newUint8Array(v)}elsed=a[p];elsel=a[p];elses[p]=newURL(a[p],window.location).href;if(s.rangeChunkSize=s.rangeChunkSize||g,s.ignoreErrors=!0!==s.stopAtErrors,void0!==s.disableNativeImageDecoder&&(0,u.deprecated)("parameter disableNativeImageDecoder, use nativeImageDecoderSupport instead"),s.nativeImageDecoderSupport=s.nativeImageDecoderSupport||(!0===s.disableNativeImageDecoder?u.NativeImageDecoding.NONE:u.NativeImageDecoding.DECODE),s.nativeImageDecoderSupport!==u.NativeImageDecoding.DECODE&&s.nativeImageDecoderSupport!==u.NativeImageDecoding.NONE&&s.nativeImageDecoderSupport!==u.NativeImageDecoding.DISPLAY&&((0,u.warn)("Invalid parameter nativeImageDecoderSupport: need a state of enum {NativeImageDecoding}"),s.nativeImageDecoderSupport=u.NativeImageDecoding.DECODE),!d){varb=(0,h.getDefaultSetting)("workerPort");d=b?I.fromPort(b):newI,i._worker=d}vary=i.docId;returnd.promise.then(function(){if(i.destroyed)thrownewError("Loading aborted");returno(d,s,l,y).then(function(e){if(i.destroyed)thrownewError("Loading aborted");vart=void0;l?t=newm.PDFDataTransportStream(s,l):s.data||(t=neww({source:s,disableRange:(0,h.getDefaultSetting)("disableRange")}));varr=newu.MessageHandler(y,e,d.port);r.postMessageTransfers=d.postMessageTransfers;varn=newO(r,i,t,f);i._transport=n,r.send("Ready",null)})}).catch(i._capability.reject),i}functiono(e,t,r,n){returne.destroyed?Promise.reject(newError("Worker was destroyed")):(t.disableAutoFetch=(0,h.getDefaultSetting)("disableAutoFetch"),t.disableStream=(0,h.getDefaultSetting)("disableStream"),t.chunkedViewerLoading=!!r,r&&(t.length=r.length,t.initialData=r.initialData),e.messageHandler.sendWithPromise("GetDocRequest",{docId:n,source:{data:t.data,url:t.url,password:t.password,disableAutoFetch:t.disableAutoFetch,rangeChunkSize:t.rangeChunkSize,length:t.length},maxImageSize:(0,h.getDefaultSetting)("maxImageSize"),disableFontFace:(0,h.getDefaultSetting)("disableFontFace"),disableCreateObjectURL:(0,h.getDefaultSetting)("disableCreateObjectURL"),postMessageTransfers:(0,h.getDefaultSetting)("postMessageTransfers")&&!b,docBaseUrl:t.docBaseUrl,nativeImageDecoderSupport:t.nativeImageDecoderSupport,ignoreErrors:t.ignoreErrors}).then(function(t){if(e.destroyed)thrownewError("Worker was destroyed");returnt}))}Object.defineProperty(t,"__esModule",{value:!0}),t.build=t.version=t._UnsupportedManager=t.setPDFNetworkStreamClass=t.PDFPageProxy=t.PDFDocumentProxy=t.PDFWorker=t.PDFDataRangeTransport=t.LoopbackPort=t.getDocument=void0;vars,l=function(){functione(e,t){for(varr=0;r<t.length;r++){varn=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}returnfunction(t,r,n){returnr&&e(t.prototype,r),n&&e(t,n),t}}(),c="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},u=r(0),h=r(7),d=r(80),f=r(79),p=r(50),m=r(82),g=65536,v=!1,b=!1,y="undefined"!=typeofdocument&&document.currentScript?document.currentScript.src:null,_=null,A=!1;"undefined"==typeofwindow?(v=!0,void0===
for(vareinthis.pendingRequests)this.abortRequest(0|e)},abortRequest:function(e){vart=this.pendingRequests[e].xhr;deletethis.pendingRequests[e],t.abort()}},a.prototype={_onRangeRequestReaderClosed:function(e){vart=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)},getFullReader:function(){return(0,l.assert)(!this._fullRequestReader),this._fullRequestReader=newo(this._manager,this._options),this._fullRequestReader},getRangeReader:function(e,t){varr=news(this._manager,e,t);returnr.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(r),r},cancelAllRequests:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}},o.prototype={_validateRangeRequestCapabilities:function(){if(this._disableRange)return!1;vare=this._manager;if(!e.isHttp)return!1;vart=this._fullRequestId,r=e.getRequestXhr(t);if("bytes"!==r.getResponseHeader("Accept-Ranges"))return!1;if("identity"!==(r.getResponseHeader("Content-Encoding")||"identity"))return!1;varn=r.getResponseHeader("Content-Length");returnn=parseInt(n,10),!!(0,l.isInt)(n)&&(this._contentLength=n,!(n<=2*this._rangeChunkSize))},_onHeadersReceived:function(){this._validateRangeRequestCapabilities()&&(this._isRangeSupported=!0);vare=this._manager,t=this._fullRequestId;e.isStreamingRequest(t)?this._isStreamingSupported=!0:this._isRangeSupported&&e.abortRequest(t),this._headersReceivedCapability.resolve()},_onProgressiveData:function(e){if(this._requests.length>0){this._requests.shift().resolve({value:e,done:!1})}elsethis._cachedChunks.push(e)},_onDone:function(e){e&&this._onProgressiveData(e.chunk),this._done=!0,this._cachedChunks.length>0||(this._requests.forEach(function(e){e.resolve({value:void0,done:!0})}),this._requests=[])},_onError:function(e){vart,r=this._url;t=404===e||0===e&&/^file:/.test(r)?newl.MissingPDFException('Missing PDF "'+r+'".'):newl.UnexpectedResponseException("Unexpected server response ("+e+') while retrieving PDF "'+r+'".',e),this._storedError=t,this._headersReceivedCapability.reject(t),this._requests.forEach(function(e){e.reject(t)}),this._requests=[],this._cachedChunks=[]},_onProgress:function(e){this.onProgress&&this.onProgress({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})},getisRangeSupported(){returnthis._isRangeSupported},getisStreamingSupported(){returnthis._isStreamingSupported},getcontentLength(){returnthis._contentLength},getheadersReady(){returnthis._headersReceivedCapability.promise},read:function(){if(this._storedError)returnPromise.reject(this._storedError);if(this._cachedChunks.length>0){vare=this._cachedChunks.shift();returnPromise.resolve({value:e,done:!1})}if(this._done)returnPromise.resolve({value:void0,done:!0});vart=(0,l.createPromiseCapability)();returnthis._requests.push(t),t.promise},cancel:function(e){this._done=!0,this._headersReceivedCapability.reject(e),this._requests.forEach(function(e){e.resolve({value:void0,done:!0})}),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},s.prototype={_close:function(){this.onClosed&&this.onClosed(this)},_onDone:function(e){vart=e.chunk;if(this._requests.length>0){this._requests.shift().resolve({value:t,done:!1})}elsethis._queuedChunk=t;this._done=!0,this._requests.forEach(function(e){e.resolve({value:void0,done:!0})}),this._requests=[],this._close()},_onProgress:function(e){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:e.loaded})},getisStreamingSupported(){return!1},read:function(){if(null!==this._queuedChunk){vare=this._queuedChunk;returnthis._queuedChunk=null,Promise.resolve({value:e,done:!1})}if(this._done)returnPromise.resolve({value:void0,done:!0});vart=(0,l.createPromiseCapability)();returnthis._requests.push(t),t.promise},cancel:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void0,done:!0})}),this._requests=[],this._manager.isPendingReques
varu=c[0],h=Math.min(s,u.byteLength),d=t.byteOffset+t.bytesFilled;Ce(t.buffer,d,u.buffer,u.byteOffset,h),u.byteLength===h?c.shift():(u.byteOffset+=h,u.byteLength-=h),e._queueTotalSize-=h,Y(e,h,t),s-=h}return!1===l&&(Me(0===e._queueTotalSize,"queue must be empty"),Me(t.bytesFilled>0),Me(t.bytesFilled<t.elementSize)),l}functionY(e,t,r){Me(0===e._pendingPullIntos.length||e._pendingPullIntos[0]===r),J(e),r.bytesFilled+=t}functionV(e){Me("readable"===e._controlledReadableStream._state),0===e._queueTotalSize&&!0===e._closeRequested?g(e._controlledReadableStream):W(e)}functionJ(e){void0!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void0,e._byobRequest._view=void0,e._byobRequest=void0)}functionQ(e){for(Me(!1===e._closeRequested);e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;vart=e._pendingPullIntos[0];!0===X(e,t)&&(te(e),z(e._controlledReadableStream,t))}}functionK(e,t){varr=e._controlledReadableStream,n=1;t.constructor!==DataView&&(n=t.constructor.BYTES_PER_ELEMENT);vari=t.constructor,a={buffer:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:n,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)returna.buffer=Ee(a.buffer),e._pendingPullIntos.push(a),f(r);if("closed"===r._state){varo=newt.constructor(a.buffer,a.byteOffset,0);returnPromise.resolve(xe(o,!0))}if(e._queueTotalSize>0){if(!0===X(e,a)){vars=G(a);returnV(e),Promise.resolve(xe(s,!1))}if(!0===e._closeRequested){varl=newTypeError("Insufficient bytes to fill elements in the given buffer");returnae(e,l),Promise.reject(l)}}a.buffer=Ee(a.buffer),e._pendingPullIntos.push(a);varc=f(r);returnW(e),c}functionZ(e,t){t.buffer=Ee(t.buffer),Me(0===t.bytesFilled,"bytesFilled must be 0");varr=e._controlledReadableStream;if(!0===S(r))for(;_(r)>0;){varn=te(e);z(r,n)}}function$(e,t,r){if(r.bytesFilled+t>r.byteLength)thrownewRangeError("bytesWritten out of range");if(Y(e,t,r),!(r.bytesFilled<r.elementSize)){te(e);varn=r.bytesFilled%r.elementSize;if(n>0){vari=r.byteOffset+r.bytesFilled,a=r.buffer.slice(i-n,i);H(e,a,0,a.byteLength)}r.buffer=Ee(r.buffer),r.bytesFilled-=n,z(e._controlledReadableStream,r),Q(e)}}functionee(e,t){varr=e._pendingPullIntos[0],n=e._controlledReadableStream;if("closed"===n._state){if(0!==t)thrownewTypeError("bytesWritten must be 0 when calling respond() on a closed stream");Z(e,r)}elseMe("readable"===n._state),$(e,t,r)}functionte(e){vart=e._pendingPullIntos.shift();returnJ(e),t}functionre(e){vart=e._controlledReadableStream;return"readable"===t._state&&(!0!==e._closeRequested&&(!1!==e._started&&(!0===w(t)&&A(t)>0||(!0===S(t)&&_(t)>0||oe(e)>0))))}functionne(e){vart=e._controlledReadableStream;if(Me(!1===e._closeRequested),Me("readable"===t._state),e._queueTotalSize>0)returnvoid(e._closeRequested=!0);if(e._pendingPullIntos.length>0){if(e._pendingPullIntos[0].bytesFilled>0){varr=newTypeError("Insufficient bytes to fill elements in the given buffer");throwae(e,r),r}}g(t)}functionie(e,t){varr=e._controlledReadableStream;Me(!1===e._closeRequested),Me("readable"===r._state);varn=t.buffer,i=t.byteOffset,a=t.byteLength,o=Ee(n);if(!0===w(r))if(0===A(r))H(e,o,i,a);else{Me(0===e._queue.length);vars=newUint8Array(o,i,a);y(r,s,!1)}else!0===S(r)?(H(e,o,i,a),Q(e)):(Me(!1===l(r),"stream must not be locked"),H(e,o,i,a))}functionae(e,t){varr=e._controlledReadableStream;Me("readable"===r._state),B(e),ze(e),v(r,t)}functionoe(e){vart=e._controlledReadableStream,r=t._state;return"errored"===r?null:"closed"===r?0:e._strategyHWM-e._queueTotalSize}functionse(e,t){if(t=Number(t),!1===Re(t))thrownewRangeError("bytesWritten must be a finite");Me(e._pendingPullIntos.length>0),ee(e,t)}functionle(e,t){Me(e._pendingPullIntos.length>0);varr=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)thrownewRangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)thrownewRangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,ee(e,t.byteLength)}functionce(e){return
if(!(S(e)&&veine))throwH("It is not a typed array constructor!");returnnewe(t)},ke=function(e,t){returnTe(L(e,e[be]),t)},Te=function(e,t){for(varr=0,n=t.length,i=Re(e,n);n>r;)i[r]=t[r++];returni},Ee=function(e,t,r){B(e,t,{get:function(){returnthis._d[r]}})},Ie=function(e){vart,r,n,i,a,o,s=w(e),l=arguments.length,c=l>1?arguments[1]:void0,h=void0!==c,d=k(s);if(void0!=d&&!P(d)){for(o=d.call(s),n=[],t=0;!(a=o.next()).done;t++)n.push(a.value);s=n}for(h&&l>2&&(c=u(c,arguments[2],2)),t=0,r=g(s.length),i=Re(this,r);r>t;t++)i[t]=h?c(s[t],t):s[t];returni},Oe=function(){for(vare=0,t=arguments.length,r=Re(this,t);t>e;)r[e]=arguments[e++];returnr},Le=!!X&&o(function(){pe.call(newX(1))}),je=function(){returnpe.apply(Le?de.call(xe(this)):xe(this),arguments)},De={copyWithin:function(e,t){returnq.call(xe(this),e,t,arguments.length>2?arguments[2]:void0)},every:function(e){return$(xe(this),e,arguments.length>1?arguments[1]:void0)},fill:function(e){returnM.apply(xe(this),arguments)},filter:function(e){returnke(this,K(xe(this),e,arguments.length>1?arguments[1]:void0))},find:function(e){returnee(xe(this),e,arguments.length>1?arguments[1]:void0)},findIndex:function(e){returnte(xe(this),e,arguments.length>1?arguments[1]:void0)},forEach:function(e){Q(xe(this),e,arguments.length>1?arguments[1]:void0)},indexOf:function(e){returnne(xe(this),e,arguments.length>1?arguments[1]:void0)},includes:function(e){returnre(xe(this),e,arguments.length>1?arguments[1]:void0)},join:function(e){returnue.apply(xe(this),arguments)},lastIndexOf:function(e){returnse.apply(xe(this),arguments)},map:function(e){returnSe(xe(this),e,arguments.length>1?arguments[1]:void0)},reduce:function(e){returnle.apply(xe(this),arguments)},reduceRight:function(e){returnce.apply(xe(this),arguments)},reverse:function(){for(vare,t=this,r=xe(t).length,n=Math.floor(r/2),i=0;i<n;)e=t[i],t[i++]=t[--r],t[r]=e;returnt},some:function(e){returnZ(xe(this),e,arguments.length>1?arguments[1]:void0)},sort:function(e){returnhe.call(xe(this),e)},subarray:function(e,t){varr=xe(this),n=r.length,i=b(e,n);returnnew(L(r,r[be]))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,g((void0===t?n:b(t,n))-i))}},Fe=function(e,t){returnke(this,de.call(xe(this),e,t))},Ne=function(e){xe(this);vart=Ce(arguments[1],1),r=this.length,n=w(e),i=g(n.length),a=0;if(i+t>r)throwG("Wrong length!");for(;a<i;)this[t+a]=n[a++]},Me={entries:function(){returnoe.call(xe(this))},keys:function(){returnae.call(xe(this))},values:function(){returnie.call(xe(this))}},qe=function(e,t){returnS(e)&&e[_e]&&"symbol"!=(void0===t?"undefined":n(t))&&tine&&String(+t)==String(t)},Ue=function(e,t){returnqe(e,t=y(t,!0))?d(2,e[t]):z(e,t)},We=function(e,t,r){return!(qe(e,t=y(t,!0))&&S(r)&&_(r,"value"))||_(r,"get")||_(r,"set")||r.configurable||_(r,"writable")&&!r.writable||_(r,"enumerable")&&!r.enumerable?B(e,t,r):(e[t]=r.value,e)};ye||(W.f=Ue,U.f=We),s(s.S+s.F*!ye,"Object",{getOwnPropertyDescriptor:Ue,defineProperty:We}),o(function(){fe.call({})})&&(fe=pe=function(){returnue.call(this)});varBe=p({},De);p(Be,Me),f(Be,me,Me.values),p(Be,{slice:Fe,set:Ne,constructor:function(){},toString:fe,toLocaleString:je}),Ee(Be,"buffer","b"),Ee(Be,"byteOffset","o"),Ee(Be,"byteLength","l"),Ee(Be,"length","e"),B(Be,ge,{get:function(){returnthis[_e]}}),e.exports=function(e,t,r,n){n=!!n;varc=e+(n?"Clamped":"")+"Array",u="get"+e,d="set"+e,p=a[c],m=p||{},b=p&&x(p),y=!p||!l.ABV,_={},w=p&&p.prototype,P=function(e,r){varn=e._d;returnn.v[u](r*t+n.o,we)},k=function(e,r,i){vara=e._d;n&&(i=(i=Math.round(i))<0?0:i>255?255:255&i),a.v[d](r*t+a.o,i,we)},T=function(e,t){B(e,t,{get:function(){returnP(this,t)},set:function(e){returnk(this,t,e)},enumerable:!0})};y?(p=r(function(e,r,n,i){h(e,p,c,"_d");vara,o,s,l,u=0,d=0;if(S(r)){if(!(rinstanceofV||"ArrayBuffer"==(l=A(r))||"SharedArrayBuffer"==l))return_einr?Te(p,r):Ie.call(p,r);a=r,d=Ce(n,t);varm=r.byteLength;if(void0===i){if(m%t)throwG("Wrong length!");if((o=m-d)<0)throwG("Wrong length!")}elseif((o=g(i)*t)+d>m)throwG("Wrong length!");s=o/t}elses=v(r),o=s*t,a=newV(o)