1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2597],{15376:e=>{!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=f(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,i=f(e),a=i[0],u=i[1],s=new o((a+u)*3/4-u),l=0,c=u>0?a-4:a;for(r=0;r<c;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=255&t;return 2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,s[l++]=255&t),1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,s[l++]=t>>8&255,s[l++]=255&t),s},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,u=n-o;a<u;a+=16383)i.push(function(e,t,n){for(var o,i=[],a=t;a<n;a+=3)o=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),i.push(r[o>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,a,a+16383>u?u:a+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=i.length;a<u;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function f(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(e,t,r){"use strict";var n=r(675),o=r(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return f(e,t,r)}function f(e,t,r){if("string"==typeof e){var n=e,o=t;if(("string"!=typeof o||""===o)&&(o="utf8"),!u.isEncoding(o))throw TypeError("Unknown encoding: "+o);var i=0|p(n,o),f=a(i),s=f.write(n,o);return s!==i&&(f=f.slice(0,s)),f}if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(C(e,ArrayBuffer)||e&&C(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(C(e,SharedArrayBuffer)||e&&C(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),u.prototype),n}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var l=e.valueOf&&e.valueOf();if(null!=l&&l!==e)return u.from(l,t,r);var d=function(e){if(u.isBuffer(e)){var t=0|h(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):c(e):"Buffer"===e.type&&Array.isArray(e.data)?c(e.data):void 0}(e);if(d)return d;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return s(e),a(e<0?0:0|h(e))}function c(e){for(var t=e.length<0?0:0|h(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}t.Buffer=u,t.SlowBuffer=function(e){return+e!=e&&(e=0),u.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,u.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||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(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return f(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return(s(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},u.allocUnsafe=function(e){return l(e)},u.allocUnsafeSlow=function(e){return l(e)};function h(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||C(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return T(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return L(e).length;default:if(o)return n?-1:T(e).length;t=(""+t).toLowerCase(),o=!0}}function d(e,t,r){var o,i,a,u=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=B[e[i]];return o}(this,t,r);case"utf8":case"utf-8":return m(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return o=this,i=t,a=r,0===i&&a===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(i,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,t,r);default:if(u)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),u=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,o){var i;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(i=r*=1)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(o)return -1;else r=e.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,o);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(
vendor: 12,881 bytes, line 1
1o)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return v(e,[t],r,n,o)}throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,o){var i,a=1,u=e.length,f=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,u/=2,f/=2,r/=2}function s(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<u;i++)if(s(e,i)===s(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===f)return l*a}else -1!==l&&(i-=i-l),l=-1}else for(r+f>u&&(r=u-f),i=r;i>=0;i--){for(var c=!0,h=0;h<f;h++)if(s(e,i+h)!==s(t,h)){c=!1;break}if(c)return i}return -1}u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(C(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),C(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:+(n<r)},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=u.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(C(i,Uint8Array)&&(i=u.from(i)),!u.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},u.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?m(this,0,e):d.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,o){if(C(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,f=Math.min(i,a),s=this.slice(n,o),l=e.slice(t,r),c=0;c<f;++c)if(s[c]!==l[c]){i=s[c],a=l[c];break}return i<a?-1:+(a<i)},u.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)};function m(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,u,f,s=e[o],l=null,c=s>239?4:s>223?3:s>191?2:1;if(o+c<=r)switch(c){case 1:s<128&&(l=s);break;case 2:(192&(i=e[o+1]))==128&&(f=(31&s)<<6|63&i)>127&&(l=f);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(f=(15&s)<<12|(63&i)<<6|63&a)>2047&&(f<55296||f>57343)&&(l=f);break;case 4:i=e[o+1],a=e[o+2],u=e[o+3],(192&i)==128&&(192&a)==128&&(192&u)==128&&(f=(15&s)<<18|(63&i)<<12|(63&a)<<6|63&u)>65535&&f<1114112&&(l=f)}null===l?(l=65533,c=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=c}var h=n,p=h.length;if(p<=4096)return String.fromCharCode.apply(String,h);for(var d="",g=0;g<p;)d+=String.fromCharCode.apply(String,h.slice(g,g+=4096));return d}function E(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,o,i){if(!u.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function b(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function A(e,t,r,n,i){return t*=1,r>>>=0,i||b(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function x(e,t,r,n,i){return t*=1,r>>>=0,i||b(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,u,f,s,l,c,h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var u,f=parseInt(t.substr(2*a,2),16);if((u=f)!=u)break;e[r+a]=f}return a}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,P(T(e,this.length-o),this,o,i);case"ascii":return a=t,u=r,P(R(e),this,a,u);case"latin1":case"binary":return function(e,t,r,n){return P(R(t),e,r,n)}(this,e,t,r);case"base64":return f=t,s=r,P(L(e),this,f,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=t,c=r,P(function(e,t){for(var r,n,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-l),this,l,c);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},u.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},u.prototype.readUInt8=function(e,t){return e>>>=0,t||E(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return(e>>>=0,t||E(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||E(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||E(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return e>>>=0,t||E(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||E(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||E(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||E(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;w(this,e,t,r,o,0)}var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;w(this,e,t,r,o,0)}var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var o=Math.pow(2,8*r-1);w(this,e,t,r,o-1,-o)}var i=0,a=1,u=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===u&&0!==this[t+i-1]&&(u=1),this[t+i]=(e/a|0)-u&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var o=Math.pow(2,8*r-1);w(this,e,t,r,o-1,-o)}var i=r-1,a=1,u=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===u&&0!==this[t+i+1]&&(u=1),this[t+i]=(e/a|0)-u&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeFloatLE=function(e,t,r){return A(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return A(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return x(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return x(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var i=o-1;i>=0;--i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=u.isBuffer(e)?e:u.from(e,n),f=a.length;
1if(0===f)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%f]}return this};var S=/[^+/0-9A-Za-z-_]/g;function T(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319||a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function R(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function L(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(S,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function P(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function C(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var B=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},783:function(e,t){t.read=function(e,t,r,n,o){var i,a,u=8*o-n-1,f=(1<<u)-1,s=f>>1,l=-7,c=r?o-1:0,h=r?-1:1,p=e[t+c];for(c+=h,i=p&(1<<-l)-1,p>>=-l,l+=u;l>0;i=256*i+e[t+c],c+=h,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+c],c+=h,l-=8);if(0===i)i=1-s;else{if(i===f)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=s}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,u,f,s=8*i-o-1,l=(1<<s)-1,c=l>>1,h=5960464477539062e-23*(23===o),p=n?0:i-1,d=n?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(u=+!!isNaN(t),a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(f=Math.pow(2,-a))<1&&(a--,f*=2),a+c>=1?t+=h/f:t+=h*Math.pow(2,1-c),t*f>=2&&(a++,f/=2),a+c>=l?(u=0,a=l):a+c>=1?(u=(t*f-1)*Math.pow(2,o),a+=c):(u=t*Math.pow(2,c-1)*Math.pow(2,o),a=0));o>=8;e[r+p]=255&u,p+=d,u/=256,o-=8);for(a=a<<o|u,s+=o;s>0;e[r+p]=255&a,p+=d,a/=256,s-=8);e[r+p-d]|=128*g}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab="//",e.exports=n(72)}()},24964:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>o});let n=["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onBlur","onInput","onInvalid","onReset","onSubmit","onLoad","onError","onKeyDown","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionEnd","onChange","onToggle"];function o(e,t){let r={};for(let o of n){let n=e[o];n&&(t?r[o]=e=>n(e,t(o)):r[o]=n)}return r}},25839:e=>{"use strict";e.exports=function(){}},26913:(e,t,r)=>{"use strict";r.d(t,{A:()=>C});var n=r(95155),o=r(12115),i=r(2821),a=r(66731),u=r(24964);function f(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.filter(Boolean);return r.length<=1?r[0]||null:function(e){for(var t=0;t<r.length;t++){var n=r[t];"function"==typeof n?n(e):n&&(n.current=e)}}}var s=r(55744),l=r(25839),c=r(99471),h=r(25261),p=r(72252);function d(){return(0,o.useContext)(p.A)}let g=(0,o.createContext)(null);function y(){return(0,o.useContext)(g)}var v=r(79704),m=r(56347);function E(){let e=d(),t=y();(0,s.A)(t,"Unable to find Page context.");let{imageResourcesPath:r,linkService:u,onGetAnnotationsError:f,onGetAnnotationsSuccess:c,onRenderAnnotationLayerError:p,onRenderAnnotationLayerSuccess:g,page:E,pdf:w,renderForms:b,rotate:A,scale:x=1}={...e,...t};(0,s.A)(w,"Attempted to load page annotations, but no document was specified. Wrap <Page /> in a <Document />
1 or pass explicit `pdf` prop."),(0,s.A)(E,"Attempted to load page annotations, but no page was specified."),(0,s.A)(u,"Attempted to load page annotations, but no linkService was specified.");let[S,T]=(0,v.A)(),{value:R,error:L}=S,P=(0,o.useRef)(null);l(1===Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-annotation-layer"),10),"AnnotationLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-annotations"),(0,o.useEffect)(function(){T({type:"RESET"})},[T,E]),(0,o.useEffect)(function(){if(!E)return;let e=(0,a.A)(E.getAnnotations());return e.promise.then(e=>{T({type:"RESOLVE",value:e})}).catch(e=>{T({type:"REJECT",error:e})}),()=>{(0,m.xL)(e)}},[T,E]),(0,o.useEffect)(()=>{if(void 0!==R){if(!1===R)return void(L&&(l(!1,L.toString()),f&&f(L)));R&&c&&c(R)}},[R]);let C=(0,o.useMemo)(()=>E.getViewport({scale:x,rotation:A}),[E,A,x]);return(0,o.useEffect)(function(){if(!w||!E||!u||!R)return;let{current:e}=P;if(!e)return;let t=C.clone({dontFlip:!0}),n={accessibilityManager:null,annotationCanvasMap:null,annotationEditorUIManager:null,annotationStorage:w.annotationStorage,commentManager:null,div:e,l10n:null,linkService:u,page:E,structTreeLayer:null,viewport:t},o={annotations:R,annotationStorage:w.annotationStorage,div:e,imageResourcesPath:r,linkService:u,page:E,renderForms:b,viewport:t};e.innerHTML="";try{new h.dU(n).render(o),g&&g()}catch(e){l(!1,"".concat(e)),p&&p(e)}return()=>{}},[R,r,u,E,w,b,C]),(0,n.jsx)("div",{className:(0,i.A)("react-pdf__Page__annotations","annotationLayer"),ref:P})}let w={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},b=/^H(\d+)$/;function A(e){return"children"in e}function x(e){return!!A(e)&&1===e.children.length&&0 in e.children&&"id"in e.children[0]}function S({className:e,node:t}){let r=(0,o.useMemo)(()=>t?{...function(e){let t={};if(A(e)){let{role:r}=e,n=r.match(b);if(n)t.role="heading",t["aria-level"]=Number(n[1]);else if(r in w){let e=w[r];e&&(t.role=e)}}return t}(t),...function e(t){let r={};if(A(t)){if(void 0!==t.alt&&(r["aria-label"]=t.alt),void 0!==t.lang&&(r.lang=t.lang),x(t)){let[n]=t.children;if(n){let t=e(n);return{...r,...t}}}}else"id"in t&&(r["aria-owns"]=t.id);return r}(t)}:null,[t]),i=(0,o.useMemo)(()=>!A(t)||x(t)?null:t.children.map((e,t)=>(0,n.jsx)(S,{node:e},t)),[t]);return(0,n.jsx)("span",{className:e,...r,children:i})}function T(){let e=y();(0,s.A)(e,"Unable to find Page context.");let{onGetStructTreeError:t,onGetStructTreeSuccess:r}=e,[i,u]=(0,v.A)(),{value:f,error:c}=i,{customTextRenderer:h,page:p}=e;return((0,o.useEffect)(function(){u({type:"RESET"})},[u,p]),(0,o.useEffect)(function(){if(h||!p)return;let e=(0,a.A)(p.getStructTree());return e.promise.then(e=>{u({type:"RESOLVE",value:e})}).catch(e=>{u({type:"REJECT",error:e})}),()=>(0,m.xL)(e)},[h,p,u]),(0,o.useEffect)(()=>{if(void 0!==f){if(!1===f)return void(c&&(l(!1,c.toString()),t&&t(c)));f&&r&&r(f)}},[f]),f)?(0,n.jsx)(S,{className:"react-pdf__Page__structTree structTree",node:f}):null}let R=h.ng;function L(e){let t=y();(0,s.A)(t,"Unable to find Page context.");let{_className:r,canvasBackground:i,devicePixelRatio:a=(0,m.mZ)(),onRenderError:u,onRenderSuccess:c,page:h,renderForms:p,renderTextLayer:d,rotate:g,scale:v}={...t,...e},{canvasRef:E}=e;(0,s.A)(h,"Attempted to render page canvas, but no page was specified.");let w=(0,o.useRef)(null);function b(e){!(0,m.UT)(e)&&(l(!1,e.toString()),u&&u(e))}let A=(0,o.useMemo)(()=>h.getViewport({scale:v*a,rotation:g}),[a,h,g,v]),x=(0,o.useMemo)(()=>h.getViewport({scale:v,rotation:g}),[h,g,v]);(0,o.useEffect)(function(){if(!h)return;h.cleanup();let{current:e}=w;if(!e)return;e.width=A.width,e.height=A.height,e.style.width="".concat(Math.floor(x.width),"px"),e.style.height="".concat(Math.floor(x.height),"px"),e.style.visibility="hidden";let t={annotationMode:p?R.ENABLE_FORMS:R.ENABLE,canvas:e,canvasContext:e.getContext("2d",{alpha:!1}),viewport:A};i&&(t.background=i);let r=h.render(t);return r.promise.then(()=>{e.style.visibility="",h&&c&&c((0,m.vS)(h,v))}).catch(b),()=>(0,m.xL)(r)},[i,h,p,A,x]);let S=(0,o.useCallback)(()=>{let{current:e}=w;e&&(e.width=0,e.height=0)},[]);return(0,o.useEffect)(()=>S,[S]),(0,n.jsx)("canvas",{className:"".concat(r,"__canvas"),dir:"ltr",ref:f(E,w),style:{display:"block",userSelect:"none"},children:d?(0,n.jsx)(T,{}):null})}function P(){let e=y();(0,s.A)(e,"Unable to find Page context.");let{customTextRenderer:t,onGetTextError:r,onGetTextSuccess:u,onRenderTextLayerError:f,onRenderTextLayerSuccess:c,page:p,pageIndex:d,pageNumber:g,rotate:E,scale:w}=e;(0,s.A)(p,"Attempted to load page text content, but no page was specified.");let[b,A]=(0,v.A)(),{value:x,error:S}=b,T=(0,o.useRef)(null);l(1===Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-text-layer"),10),"TextLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-text-layer"),(0,o.useEffect)(function(){A({type:"RESET"})},[p,A]),(0,o.useEffect)(function(){if(!p)return;let e=(0,a.A)(p.getTextContent());return e.promise.then(e=>{A({type:"RESOLVE",value:e})}).catch(e=>{A({type:"REJECT",error:e})}),()=>(0,m.xL)(e)},[p,A]),(0,o.useEffect)(()=>
1{if(void 0!==x){if(!1===x)return void(S&&(l(!1,S.toString()),r&&r(S)));x&&u&&u(x)}},[x]);let R=(0,o.useCallback)(()=>{c&&c()},[c]),L=(0,o.useCallback)(e=>{l(!1,e.toString()),f&&f(e)},[f]),P=(0,o.useMemo)(()=>p.getViewport({scale:w,rotation:E}),[p,E,w]);return(0,o.useLayoutEffect)(function(){if(!p||!x)return;let{current:e}=T;if(!e)return;e.innerHTML="";let r=p.streamTextContent({includeMarkedContent:!0}),n=new h.D6({container:e,textContentSource:r,viewport:P});return n.render().then(()=>{let r=document.createElement("div");r.className="endOfContent",e.append(r);let n=e.querySelectorAll('[role="presentation"]');if(t){let e=0;x.items.forEach((r,o)=>{if(!("str"in r))return;let i=n[e];i&&(i.innerHTML=t({pageIndex:d,pageNumber:g,itemIndex:o,...r}),e+=r.str&&r.hasEOL?2:1)})}R()}).catch(L),()=>(0,m.xL)(n)},[t,L,R,p,d,g,x,P]),(0,n.jsx)("div",{className:(0,i.A)("react-pdf__Page__textContent","textLayer"),onMouseUp:function(){let e=T.current;e&&e.classList.remove("selecting")},onMouseDown:function(){let e=T.current;e&&e.classList.add("selecting")},ref:T})}function C(e){let{_className:t="react-pdf__Page",_enableRegisterUnregisterPage:r=!0,canvasBackground:h,canvasRef:p,children:y,className:w,customRenderer:b,customTextRenderer:A,devicePixelRatio:x,error:S="Failed to load the page.",height:T,inputRef:R,loading:C="Loading pageâ¦",noData:B="No page specified.",onGetAnnotationsError:D,onGetAnnotationsSuccess:U,onGetStructTreeError:I,onGetStructTreeSuccess:O,onGetTextError:M,onGetTextSuccess:k,onLoadError:j,onLoadSuccess:_,onRenderAnnotationLayerError:N,onRenderAnnotationLayerSuccess:V,onRenderError:F,onRenderSuccess:z,onRenderTextLayerError:G,onRenderTextLayerSuccess:H,pageIndex:W,pageNumber:q,pdf:Y,registerPage:J,renderAnnotationLayer:$=!0,renderForms:K=!1,renderMode:X="canvas",renderTextLayer:Z=!0,rotate:Q,scale:ee=1,unregisterPage:et,width:er,...en}={...d(),...e},[eo,ei]=(0,v.A)(),{value:ea,error:eu}=eo,ef=(0,o.useRef)(null);(0,s.A)(Y,"Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.");let es=(0,m.ci)(q)?q-1:null!=W?W:null,el=null!=q?q:(0,m.ci)(W)?W+1:null,ec=null!=Q?Q:ea?ea.rotate:null,eh=(0,o.useMemo)(()=>{if(!ea)return null;let e=1,t=null!=ee?ee:1;if(er||T){let t=ea.getViewport({scale:1,rotation:ec});er?e=er/t.width:T&&(e=T/t.height)}return t*e},[T,ea,ec,ee,er]);(0,o.useEffect)(function(){return()=>{(0,m.ci)(es)&&r&&et&&et(es)}},[r,Y,es,et]),(0,o.useEffect)(function(){ei({type:"RESET"})},[ei,Y,es]),(0,o.useEffect)(function(){if(!Y||!el)return;let e=(0,a.A)(Y.getPage(el));return e.promise.then(e=>{ei({type:"RESOLVE",value:e})}).catch(e=>{ei({type:"REJECT",error:e})}),()=>(0,m.xL)(e)},[ei,Y,el]),(0,o.useEffect)(()=>{if(void 0!==ea){if(!1===ea)return void(eu&&(l(!1,eu.toString()),j&&j(eu)));!function(){if(_){if(!ea||!eh)return;_((0,m.vS)(ea,eh))}if(r&&J){if(!(0,m.ci)(es)||!ef.current)return;J(es,ef.current)}}()}},[ea,eh]);let ep=(0,o.useMemo)(()=>(0,m.ci)(es)&&el&&(0,m.ci)(ec)&&(0,m.ci)(eh)?{_className:t,canvasBackground:h,customTextRenderer:A,devicePixelRatio:x,onGetAnnotationsError:D,onGetAnnotationsSuccess:U,onGetStructTreeError:I,onGetStructTreeSuccess:O,onGetTextError:M,onGetTextSuccess:k,onRenderAnnotationLayerError:N,onRenderAnnotationLayerSuccess:V,onRenderError:F,onRenderSuccess:z,onRenderTextLayerError:G,onRenderTextLayerSuccess:H,page:ea,pageIndex:es,pageNumber:el,renderForms:K,renderTextLayer:Z,rotate:ec,scale:eh}:null,[t,h,A,x,D,U,I,O,M,k,N,V,F,z,G,H,ea,es,el,K,Z,ec,eh]),ed=(0,o.useMemo)(()=>(0,u.Ay)(en,()=>ea?eh?(0,m.vS)(ea,eh):void 0:ea),[en,ea,eh]),eg="".concat(es,"@").concat(eh,"/").concat(ec);return(0,n.jsx)("div",{className:(0,i.A)(t,w),"data-page-number":el,ref:f(R,ef),style:{"--scale-round-x":"1px","--scale-round-y":"1px","--scale-factor":"1","--user-unit":"".concat(eh),"--total-scale-factor":"calc(var(--scale-factor) * var(--user-unit))",backgroundColor:h||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"},...ed,children:function(){if(!el)return(0,n.jsx)(c.A,{type:"no-data",children:"function"==typeof B?B():B});if(null===Y||null==ea)return(0,n.jsx)(c.A,{type:"loading",children:"function"==typeof C?C():C});if(!1===Y||!1===ea)return(0,n.jsx)(c.A,{type:"error",children:"function"==typeof S?S():S});if(!(null==ep?void 0:ep.page))throw Error("page is undefined");let e="function"==typeof y?y(ep):y;return(0,n.jsxs)(g.Provider,{value:ep,children:[function(){switch(X){case"custom"
1:return(0,s.A)(b,'renderMode was set to "custom", but no customRenderer was passed.'),(0,n.jsx)(b,{},"".concat(eg,"_custom"));case"none":return null;default:return(0,n.jsx)(L,{canvasRef:p},"".concat(eg,"_canvas"))}}(),Z?(0,n.jsx)(P,{},"".concat(eg,"_text")):null,$?(0,n.jsx)(E,{},"".concat(eg,"_annotations")):null,e]})}()})}},36938:(e,t,r)=>{"use strict";r.d(t,{A:()=>x});var n=r(95155),o=r(12115),i=r(2821),a=Object.prototype.hasOwnProperty;function u(e,t,r){for(r of e.keys())if(f(r,t))return r}function f(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&f(e[n],t[n]););return -1===n}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if((o=n)&&"object"==typeof o&&!(o=u(t,o))||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if((o=n[0])&&"object"==typeof o&&!(o=u(t,o))||!f(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return -1===n}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return -1===n}if(!r||"object"==typeof e){for(r in n=0,e)if(a.call(e,r)&&++n&&!a.call(t,r)||!(r in t)||!f(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!=e&&t!=t}var s=r(66731),l=r(24964),c=r(25261),h=r(55744),p=r(25839),d=r(72252);class g{constructor(){this.externalLinkEnabled=!0,this.externalLinkRel=void 0,this.externalLinkTarget=void 0,this.isInPresentationMode=!1,this.pdfDocument=void 0,this.pdfViewer=void 0}setDocument(e){this.pdfDocument=e}setViewer(e){this.pdfViewer=e}setExternalLinkRel(e){this.externalLinkRel=e}setExternalLinkTarget(e){this.externalLinkTarget=e}setHash(){}setHistory(){}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return(0,h.A)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber||0}set page(e){(0,h.A)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber=e}get rotation(){return 0}set rotation(e){}addLinkAttributes(e,t,r){e.href=t,e.rel=this.externalLinkRel||"noopener noreferrer nofollow",e.target=r?"_blank":this.externalLinkTarget||""}goToDestination(e){return new Promise(t=>{(0,h.A)(this.pdfDocument,"PDF document not loaded."),(0,h.A)(e,"Destination is not specified."),"string"==typeof e?this.pdfDocument.getDestination(e).then(t):Array.isArray(e)?t(e):e.then(t)}).then(e=>{(0,h.A)(Array.isArray(e),`"${e}" is not a valid destination array.`);let t=e[0];new Promise(e=>{(0,h.A)(this.pdfDocument,"PDF document not loaded."),t instanceof Object?this.pdfDocument.getPageIndex(t).then(t=>{e(t)}).catch(()=>{(0,h.A)(!1,`"${t}" is not a valid page reference.`)}):"number"==typeof t?e(t):(0,h.A)(!1,`"${t}" is not a valid destination reference.`)}).then(t=>{let r=t+1;(0,h.A)(this.pdfViewer,"PDF viewer is not initialized."),(0,h.A)(r>=1&&r<=this.pagesCount,`"${r}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({dest:e,pageIndex:t,pageNumber:r})})})}goToPage(e){(0,h.A)(this.pdfViewer,"PDF viewer is not initialized."),(0,h.A)(e>=1&&e<=this.pagesCount,`"${e}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({pageIndex:e-1,pageNumber:e})}goToXY(){}cachePageRef(){}getDestinationHash(){return"#"}getAnchorUrl(){return"#"}executeNamedAction(){}executeSetOCGState(){}isPageVisible(){return!0}isPageCached(){return!0}navigateTo(e){this.goToDestination(e)}}var y=r(99471);let v={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var m=r(79704),E=r(56347);let{Tm:w}=c,b=(e,t)=>{switch(t){case v.NEED_PASSWORD:e(prompt("Enter the password to open this PDF file."));break;case v.INCORRECT_PASSWORD:e(prompt("Invalid password. Please try again."))}};function A(e){return"object"==typeof e&&null!==e&&("data"in e||"range"in e||"url"in e)}let x=(0,o.forwardRef)(function(e,t){let{children:r,className:a,error:u="Failed to load PDF file.",externalLinkRel:v,externalLinkTarget:x,file:S,inputRef:T,imageResourcesPath:R,loading:L="Loading PDFâ¦",noData:P="No PDF file specified.",onItemClick:C,onLoadError:B,onLoadProgress:D,onLoadSuccess:U,onPassword:I=b,onSourceError:O,onSourceSuccess:M,options:k,renderMode:j,rotate:_,scale:N,...V}=e,[F,z]=(0,m.A)(),{value:G,error:H}=F,[W,q]=(0,m.A)(),{value:Y,error:J}=W,$=(0,o.useRef)(new g),K=(0,o.useRef)([]),X=(0,o.useRef)(void 0),Z=(0,o.useRef)(void 0);S&&S!==X.current&&A(S)&&(p(!f(S,X.current),'File prop passed to <Document /> changed, but it\'s equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "file" prop.'),X.current=S),k&&k!==Z.current&&(p(!f(k,Z.
1current),'Options prop passed to <Document /> changed, but it\'s equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "options" prop.'),Z.current=k);let Q=(0,o.useRef)({scrollPageIntoView:e=>{let{dest:t,pageNumber:r,pageIndex:n=r-1}=e;if(C)return void C({dest:t,pageIndex:n,pageNumber:r});let o=K.current[n];if(o)return void o.scrollIntoView();p(!1,"An internal link leading to page ".concat(r," was clicked, but neither <Document> was provided with onItemClick nor it was able to find the page within itself. Either provide onItemClick to <Document> and handle navigating by yourself or ensure that all pages are rendered within <Document>."))}});(0,o.useImperativeHandle)(t,()=>({linkService:$,pages:K,viewer:Q}),[]),(0,o.useEffect)(function(){z({type:"RESET"})},[S,z]);let ee=(0,o.useCallback)(async()=>{if(!S)return null;if("string"==typeof S)return(0,E.zL)(S)?{data:(0,E.jA)(S)}:((0,E.qC)(),{url:S});if(S instanceof w)return{range:S};if((0,E.mw)(S))return{data:S};if(E.Bd&&(0,E.qf)(S))return{data:await (0,E.h1)(S)};if((0,h.A)("object"==typeof S,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,h.A)(A(S),"Invalid parameter object: need either .data, .range or .url"),"url"in S&&"string"==typeof S.url){if((0,E.zL)(S.url)){let{url:e,...t}=S;return{data:(0,E.jA)(e),...t}}(0,E.qC)()}return S},[S]);(0,o.useEffect)(()=>{let e=(0,s.A)(ee());return e.promise.then(e=>{z({type:"RESOLVE",value:e})}).catch(e=>{z({type:"REJECT",error:e})}),()=>{(0,E.xL)(e)}},[ee,z]),(0,o.useEffect)(()=>{if(void 0!==G){if(!1===G)return void(H&&(p(!1,H.toString()),O&&O(H)));M&&M()}},[G]),(0,o.useEffect)(function(){q({type:"RESET"})},[q,G]),(0,o.useEffect)(function(){if(!G)return;let e=k?{...G,...k}:G,t=c.YE(e);D&&(t.onProgress=D),I&&(t.onPassword=I);let r=t.promise.then(e=>{q({type:"RESOLVE",value:e})}).catch(e=>{t.destroyed||q({type:"REJECT",error:e})});return()=>{r.finally(()=>t.destroy())}},[k,q,G]),(0,o.useEffect)(()=>{if(void 0!==Y){if(!1===Y)return void(J&&(p(!1,J.toString()),B&&B(J)));Y&&(U&&U(Y),K.current=Array(Y.numPages),$.current.setDocument(Y))}},[Y]),(0,o.useEffect)(function(){$.current.setViewer(Q.current),$.current.setExternalLinkRel(v),$.current.setExternalLinkTarget(x)},[v,x]);let et=(0,o.useCallback)((e,t)=>{K.current[e]=t},[]),er=(0,o.useCallback)(e=>{delete K.current[e]},[]),en=(0,o.useMemo)(()=>({imageResourcesPath:R,linkService:$.current,onItemClick:C,pdf:Y,registerPage:et,renderMode:j,rotate:_,scale:N,unregisterPage:er}),[R,C,Y,et,j,_,N,er]),eo=(0,o.useMemo)(()=>(0,l.Ay)(V,()=>Y),[V,Y]);return(0,n.jsx)("div",{className:(0,i.A)("react-pdf__Document",a),ref:T,...eo,children:function(){if(!S)return(0,n.jsx)(y.A,{type:"no-data",children:"function"==typeof P?P():P});if(null==Y)return(0,n.jsx)(y.A,{type:"loading",children:"function"==typeof L?L():L});if(!1===Y)return(0,n.jsx)(y.A,{type:"error",children:"function"==typeof u?u():u});if(!(null==en?void 0:en.pdf))throw Error("pdf is undefined");let e="function"==typeof r?r(en):r;return(0,n.jsx)(d.A.Provider,{value:en,children:e})}()})})},55744:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});function n(e,t){if(!e)throw Error("Invariant failed")}},56347:(e,t,r)=>{"use strict";r.d(t,{Bd:()=>i,UT:()=>y,ci:()=>u,h1:()=>v,jA:()=>c,mZ:()=>h,mw:()=>f,qC:()=>p,qf:()=>s,vS:()=>g,xL:()=>d,zL:()=>l});var n=r(55744),o=r(25839);let i="undefined"!=typeof window,a=i&&"file:"===window.location.protocol;function u(e){return null!=e}function f(e){return e instanceof ArrayBuffer}function s(e){return(0,n.A)(i,"isBlob can only be used in a browser environment"),e instanceof Blob}function l(e){return"string"==typeof e&&/^data:/.test(e)}function c(e){(0,n.A)(l(e),"Invalid data URI.");let[t="",r=""]=e.split(",");return -1!==t.split(";").indexOf("base64")?atob(r):unescape(r)}function h(){return i&&window.devicePixelRatio||1}function p(){o(!a,"Loading PDF as base64 strings/URLs may not work on protocols other than HTTP/HTTPS. On Chromium based browsers, you can use --allow-file-access-from-files flag for debugging purposes.")}function d(e){(null==e?void 0:e.cancel)&&e.cancel()}function g(e,t){return Object.defineProperty(e,"width",{get(){return this.view[2]*t},configurable:!0}),Object.defineProperty(e,"height",{get(){return this.view[3]*t},configurable:!0}),Object.defineProperty(e,"originalWidth",{get(){return this.view[2]},configurable:!0}),Object.defineProperty(e,"originalHeight",{get(){return this.view[3]},configurable:!0}),e}
1function y(e){return"RenderingCancelledException"===e.name}function v(e){return new Promise((t,r)=>{let n=new FileReader;n.onload=()=>{if(!n.result)return r(Error("Error while reading a file."));t(n.result)},n.onerror=e=>{if(!e.target)return r(Error("Error while reading a file."));let{error:t}=e.target;if(!t)return r(Error("Error while reading a file."));switch(t.code){case t.NOT_FOUND_ERR:return r(Error("Error while reading a file: File not found."));case t.SECURITY_ERR:return r(Error("Error while reading a file: Security error."));case t.ABORT_ERR:return r(Error("Error while reading a file: Aborted."));default:return r(Error("Error while reading a file."))}},n.readAsArrayBuffer(e)})}},66731:(e,t,r)=>{"use strict";function n(e){let t=!1;return{promise:new Promise((r,n)=>{e.then(e=>!t&&r(e)).catch(e=>!t&&n(e))}),cancel(){t=!0}}}r.d(t,{A:()=>n})},72252:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(12115).createContext)(null)},79704:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(12115);function o(e,t){switch(t.type){case"RESOLVE":return{value:t.value,error:void 0};case"REJECT":return{value:!1,error:t.error};case"RESET":return{value:void 0,error:void 0};default:return e}}function i(){return(0,n.useReducer)(o,{value:void 0,error:void 0})}},99471:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(95155);function o({children:e,type:t}){return(0,n.jsx)("div",{className:`react-pdf__message react-pdf__message--${t}`,children:e})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.