UNPKG

pdf-parse-new

Version:

Pure javascript cross-platform module to extract text from PDFs with AI-powered optimization and multi-core processing.

2 lines 1.7 MB
/*! For license information please see build.js.LICENSE.txt */ (()=>{var t={905:(t,e,A)=>{const i=A(284),s={pagerender:function(t){return t.getTextContent({normalizeWhitespace:!1,disableCombineTextItems:!1}).then((function(t){let e,A="";for(let i of t.items)e!==i.transform[5]&&e?A+="\n"+i.str:A+=i.str,e=i.transform[5];return A}))},max:0,verbosityLevel:5};t.exports=async function(t,e){let A={numpages:0,numrender:0,info:null,metadata:null,text:"",version:null};void 0===e&&(e=s),"function"!=typeof e.pagerender&&(e.pagerender=s.pagerender),"number"!=typeof e.max&&(e.max=s.max),A.version=i.version,i.disableWorker=!0;let a=await i.getDocument({verbosity:e.verbosityLevel??s.verbosityLevel,data:new Uint8Array(t)}).promise;A.numpages=a.numPages;let n=await a.getMetadata().catch((function(t){return null}));A.info=n?n.info:null,A.metadata=n?n.metadata:null;let r=e.max<=0?a.numPages:e.max;r=r>a.numPages?a.numPages:r,A.text="";for(let t=1;t<=r;t++){let i=await a.getPage(t).then((t=>e.pagerender(t))).catch((t=>""));A.text=`${A.text}\n\n${i}`}return A.numrender=r,a.destroy(),A}},284:(t,e,A)=>{const i=A(194);var s={9306:(t,e,A)=>{var i=A(4901),s=A(6823),a=TypeError;t.exports=function(t){if(i(t))return t;throw new a(s(t)+" is not a function")}},3506:(t,e,A)=>{var i=A(3925),s=String,a=TypeError;t.exports=function(t){if(i(t))return t;throw new a("Can't set "+s(t)+" as a prototype")}},7080:(t,e,A)=>{var i=A(4402).has;t.exports=function(t){return i(t),t}},679:(t,e,A)=>{var i=A(1625),s=TypeError;t.exports=function(t,e){if(i(e,t))return t;throw new s("Incorrect invocation")}},8551:(t,e,A)=>{var i=A(34),s=String,a=TypeError;t.exports=function(t){if(i(t))return t;throw new a(s(t)+" is not an object")}},7811:t=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7394:(t,e,A)=>{var i=A(6706),s=A(4576),a=TypeError;t.exports=i(ArrayBuffer.prototype,"byteLength","get")||function(t){if("ArrayBuffer"!==s(t))throw new a("ArrayBuffer expected");return t.byteLength}},3238:(t,e,A)=>{var i=A(9504),s=A(7394),a=i(ArrayBuffer.prototype.slice);t.exports=function(t){if(0!==s(t))return!1;try{return a(t,0,0),!1}catch(t){return!0}}},5636:(t,e,A)=>{var i=A(4475),s=A(9504),a=A(6706),n=A(7696),r=A(3238),o=A(7394),g=A(4483),c=A(1548),h=i.structuredClone,l=i.ArrayBuffer,I=i.DataView,C=i.TypeError,B=Math.min,d=l.prototype,u=I.prototype,Q=s(d.slice),E=a(d,"resizable","get"),f=a(d,"maxByteLength","get"),p=s(u.getInt8),m=s(u.setInt8);t.exports=(c||g)&&function(t,e,A){var i,s=o(t),a=void 0===e?s:n(e),d=!E||!E(t);if(r(t))throw new C("ArrayBuffer is detached");if(c&&(t=h(t,{transfer:[t]}),s===a&&(A||d)))return t;if(s>=a&&(!A||d))i=Q(t,0,a);else{var u=A&&!d&&f?{maxByteLength:f(t)}:void 0;i=new l(a,u);for(var y=new I(t),w=new I(i),b=B(a,s),D=0;D<b;D++)m(w,D,p(y,D))}return c||g(t),i}},4644:(t,e,A)=>{var i,s,a,n=A(7811),r=A(3724),o=A(4475),g=A(4901),c=A(34),h=A(9297),l=A(6955),I=A(6823),C=A(6699),B=A(6840),d=A(2106),u=A(1625),Q=A(2787),E=A(2967),f=A(8227),p=A(3392),m=A(1181),y=m.enforce,w=m.get,b=o.Int8Array,D=b&&b.prototype,k=o.Uint8ClampedArray,S=k&&k.prototype,F=b&&Q(b),R=D&&Q(D),x=Object.prototype,v=o.TypeError,N=f("toStringTag"),G=p("TYPED_ARRAY_TAG"),M="TypedArrayConstructor",L=n&&!!E&&"Opera"!==l(o.opera),U=!1,H={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},J={BigInt64Array:8,BigUint64Array:8},Y=function(t){var e=Q(t);if(c(e)){var A=w(e);return A&&h(A,M)?A[M]:Y(e)}},T=function(t){if(!c(t))return!1;var e=l(t);return h(H,e)||h(J,e)};for(i in H)(a=(s=o[i])&&s.prototype)?y(a)[M]=s:L=!1;for(i in J)(a=(s=o[i])&&s.prototype)&&(y(a)[M]=s);if((!L||!g(F)||F===Function.prototype)&&(F=function(){throw new v("Incorrect invocation")},L))for(i in H)o[i]&&E(o[i],F);if((!L||!R||R===x)&&(R=F.prototype,L))for(i in H)o[i]&&E(o[i].prototype,R);if(L&&Q(S)!==R&&E(S,R),r&&!h(R,N))for(i in U=!0,d(R,N,{configurable:!0,get:function(){return c(this)?this[G]:void 0}}),H)o[i]&&C(o[i],G,i);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:U&&G,aTypedArray:function(t){if(T(t))return t;throw new v("Target is not a typed array")},aTypedArrayConstructor:function(t){if(g(t)&&(!E||u(F,t)))return t;throw new v(I(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,A,i){if(r){if(A)for(var s in H){var a=o[s];if(a&&h(a.prototype,t))try{delete a.prototype[t]}catch(A){try{a.prototype[t]=e}catch(t){}}}R[t]&&!A||B(R,t,A?e:L&&D[t]||e,i)}},exportTypedArrayStaticMethod:function(t,e,A){var i,s;if(r){if(E){if(A)for(i in H)if((s=o[i])&&h(s,t))try{delete s[t]}catch(t){}if(F[t]&&!A)return;try{return B(F,t,A?e:L&&F[t]||e)}catch(t){}}for(i in H)!(s=o[i])||s[t]&&!A||B(s,t,e)}},getTypedArrayConstructor:Y,isView:function(t){if(!c(t))return!1;var e=l(t);return"DataView"===e||h(H,e)||h(J,e)},isTypedArray:T,TypedArray:F,TypedArrayPrototype:R}},5370:(t,e,A)=>{var i=A(6198);t.exports=function(t,e,A){for(var s=0,a=arguments.length>2?A:i(e),n=new t(a);a>s;)n[s]=e[s++];return n}},9617:(t,e,A)=>{var i=A(5397),s=A(5610),a=A(6198),n=function(t){return function(e,A,n){var r=i(e),o=a(r);if(0===o)return!t&&-1;var g,c=s(n,o);if(t&&A!=A){for(;o>c;)if((g=r[c++])!=g)return!0}else for(;o>c;c++)if((t||c in r)&&r[c]===A)return t||c||0;return!t&&-1}};t.exports={includes:n(!0),indexOf:n(!1)}},4527:(t,e,A)=>{var i=A(3724),s=A(4376),a=TypeError,n=Object.getOwnPropertyDescriptor,r=i&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=r?function(t,e){if(s(t)&&!n(t,"length").writable)throw new a("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},7628:(t,e,A)=>{var i=A(6198);t.exports=function(t,e){for(var A=i(t),s=new e(A),a=0;a<A;a++)s[a]=t[A-a-1];return s}},9928:(t,e,A)=>{var i=A(6198),s=A(1291),a=RangeError;t.exports=function(t,e,A,n){var r=i(t),o=s(A),g=o<0?r+o:o;if(g>=r||g<0)throw new a("Incorrect index");for(var c=new e(r),h=0;h<r;h++)c[h]=h===g?n:t[h];return c}},6319:(t,e,A)=>{var i=A(8551),s=A(9539);t.exports=function(t,e,A,a){try{return a?e(i(A)[0],A[1]):e(A)}catch(e){s(t,"throw",e)}}},4576:(t,e,A)=>{var i=A(9504),s=i({}.toString),a=i("".slice);t.exports=function(t){return a(s(t),8,-1)}},6955:(t,e,A)=>{var i=A(2140),s=A(4901),a=A(4576),n=A(8227)("toStringTag"),r=Object,o="Arguments"===a(function(){return arguments}());t.exports=i?a:function(t){var e,A,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(A=function(t,e){try{return t[e]}catch(t){}}(e=r(t),n))?A:o?a(e):"Object"===(i=a(e))&&s(e.callee)?"Arguments":i}},7740:(t,e,A)=>{var i=A(9297),s=A(5031),a=A(7347),n=A(4913);t.exports=function(t,e,A){for(var r=s(e),o=n.f,g=a.f,c=0;c<r.length;c++){var h=r[c];i(t,h)||A&&i(A,h)||o(t,h,g(e,h))}}},2211:(t,e,A)=>{var i=A(9039);t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},2529:t=>{t.exports=function(t,e){return{value:t,done:e}}},6699:(t,e,A)=>{var i=A(3724),s=A(4913),a=A(6980);t.exports=i?function(t,e,A){return s.f(t,e,a(1,A))}:function(t,e,A){return t[e]=A,t}},6980:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4659:(t,e,A)=>{var i=A(3724),s=A(4913),a=A(6980);t.exports=function(t,e,A){i?s.f(t,e,a(0,A)):t[e]=A}},2106:(t,e,A)=>{var i=A(283),s=A(4913);t.exports=function(t,e,A){return A.get&&i(A.get,e,{getter:!0}),A.set&&i(A.set,e,{setter:!0}),s.f(t,e,A)}},6840:(t,e,A)=>{var i=A(4901),s=A(4913),a=A(283),n=A(9433);t.exports=function(t,e,A,r){r||(r={});var o=r.enumerable,g=void 0!==r.name?r.name:e;if(i(A)&&a(A,g,r),r.global)o?t[e]=A:n(e,A);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=A:s.f(t,e,{value:A,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t}},6279:(t,e,A)=>{var i=A(6840);t.exports=function(t,e,A){for(var s in e)i(t,s,e[s],A);return t}},9433:(t,e,A)=>{var i=A(4475),s=Object.defineProperty;t.exports=function(t,e){try{s(i,t,{value:e,configurable:!0,writable:!0})}catch(A){i[t]=e}return e}},3724:(t,e,A)=>{var i=A(9039);t.exports=!i((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4483:(t,e,A)=>{var i,s,a,n,r=A(4475),o=A(9714),g=A(1548),c=r.structuredClone,h=r.ArrayBuffer,l=r.MessageChannel,I=!1;if(g)I=function(t){c(t,{transfer:[t]})};else if(h)try{l||(i=o("worker_threads"))&&(l=i.MessageChannel),l&&(s=new l,a=new h(2),n=function(t){s.port1.postMessage(null,[t])},2===a.byteLength&&(n(a),0===a.byteLength&&(I=n)))}catch(t){}t.exports=I},4055:(t,e,A)=>{var i=A(4475),s=A(34),a=i.document,n=s(a)&&s(a.createElement);t.exports=function(t){return n?a.createElement(t):{}}},6837:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},5002:t=>{t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},7290:(t,e,A)=>{var i=A(516),s=A(9088);t.exports=!i&&!s&&"object"==typeof window&&"object"==typeof document},516:t=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},9088:(t,e,A)=>{var i=A(4475),s=A(4576);t.exports="process"===s(i.process)},9392:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(t,e,A)=>{var i,s,a=A(4475),n=A(9392),r=a.process,o=a.Deno,g=r&&r.versions||o&&o.version,c=g&&g.v8;c&&(s=(i=c.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!s&&n&&(!(i=n.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=n.match(/Chrome\/(\d+)/))&&(s=+i[1]),t.exports=s},8727:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6193:(t,e,A)=>{var i=A(9504),s=Error,a=i("".replace),n=String(new s("zxcasd").stack),r=/\n\s*at [^:]*:[^\n]*/,o=r.test(n);t.exports=function(t,e){if(o&&"string"==typeof t&&!s.prepareStackTrace)for(;e--;)t=a(t,r,"");return t}},6518:(t,e,A)=>{var i=A(4475),s=A(7347).f,a=A(6699),n=A(6840),r=A(9433),o=A(7740),g=A(2796);t.exports=function(t,e){var A,c,h,l,I,C=t.target,B=t.global,d=t.stat;if(A=B?i:d?i[C]||r(C,{}):i[C]&&i[C].prototype)for(c in e){if(l=e[c],h=t.dontCallGetSet?(I=s(A,c))&&I.value:A[c],!g(B?c:C+(d?".":"#")+c,t.forced)&&void 0!==h){if(typeof l==typeof h)continue;o(l,h)}(t.sham||h&&h.sham)&&a(l,"sham",!0),n(A,c,l,t)}}},9039:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},6080:(t,e,A)=>{var i=A(7476),s=A(9306),a=A(616),n=i(i.bind);t.exports=function(t,e){return s(t),void 0===e?t:a?n(t,e):function(){return t.apply(e,arguments)}}},616:(t,e,A)=>{var i=A(9039);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9565:(t,e,A)=>{var i=A(616),s=Function.prototype.call;t.exports=i?s.bind(s):function(){return s.apply(s,arguments)}},350:(t,e,A)=>{var i=A(3724),s=A(9297),a=Function.prototype,n=i&&Object.getOwnPropertyDescriptor,r=s(a,"name"),o=r&&"something"===function(){}.name,g=r&&(!i||i&&n(a,"name").configurable);t.exports={EXISTS:r,PROPER:o,CONFIGURABLE:g}},6706:(t,e,A)=>{var i=A(9504),s=A(9306);t.exports=function(t,e,A){try{return i(s(Object.getOwnPropertyDescriptor(t,e)[A]))}catch(t){}}},7476:(t,e,A)=>{var i=A(4576),s=A(9504);t.exports=function(t){if("Function"===i(t))return s(t)}},9504:(t,e,A)=>{var i=A(616),s=Function.prototype,a=s.call,n=i&&s.bind.bind(a,a);t.exports=i?n:function(t){return function(){return a.apply(t,arguments)}}},7751:(t,e,A)=>{var i=A(4475),s=A(4901);t.exports=function(t,e){return arguments.length<2?(A=i[t],s(A)?A:void 0):i[t]&&i[t][e];var A}},1767:t=>{t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},8646:(t,e,A)=>{var i=A(9565),s=A(8551),a=A(1767),n=A(851);t.exports=function(t,e){e&&"string"==typeof t||s(t);var A=n(t);return a(s(void 0!==A?i(A,t):t))}},851:(t,e,A)=>{var i=A(6955),s=A(5966),a=A(4117),n=A(6269),r=A(8227)("iterator");t.exports=function(t){if(!a(t))return s(t,r)||s(t,"@@iterator")||n[i(t)]}},81:(t,e,A)=>{var i=A(9565),s=A(9306),a=A(8551),n=A(6823),r=A(851),o=TypeError;t.exports=function(t,e){var A=arguments.length<2?r(t):e;if(s(A))return a(i(A,t));throw new o(n(t)+" is not iterable")}},5966:(t,e,A)=>{var i=A(9306),s=A(4117);t.exports=function(t,e){var A=t[e];return s(A)?void 0:i(A)}},3789:(t,e,A)=>{var i=A(9306),s=A(8551),a=A(9565),n=A(1291),r=A(1767),o="Invalid size",g=RangeError,c=TypeError,h=Math.max,l=function(t,e){this.set=t,this.size=h(e,0),this.has=i(t.has),this.keys=i(t.keys)};l.prototype={getIterator:function(){return r(s(a(this.keys,this.set)))},includes:function(t){return a(this.has,this.set,t)}},t.exports=function(t){s(t);var e=+t.size;if(e!=e)throw new c(o);var A=n(e);if(A<0)throw new g(o);return new l(t,A)}},4475:function(t){var e=function(t){return t&&t.Math===Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof global&&global)||e("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(t,e,A)=>{var i=A(9504),s=A(8981),a=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return a(s(t),e)}},421:t=>{t.exports={}},397:(t,e,A)=>{var i=A(7751);t.exports=i("document","documentElement")},5917:(t,e,A)=>{var i=A(3724),s=A(9039),a=A(4055);t.exports=!i&&!s((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},7055:(t,e,A)=>{var i=A(9504),s=A(9039),a=A(4576),n=Object,r=i("".split);t.exports=s((function(){return!n("z").propertyIsEnumerable(0)}))?function(t){return"String"===a(t)?r(t,""):n(t)}:n},3167:(t,e,A)=>{var i=A(4901),s=A(34),a=A(2967);t.exports=function(t,e,A){var n,r;return a&&i(n=e.constructor)&&n!==A&&s(r=n.prototype)&&r!==A.prototype&&a(t,r),t}},3706:(t,e,A)=>{var i=A(9504),s=A(4901),a=A(7629),n=i(Function.toString);s(a.inspectSource)||(a.inspectSource=function(t){return n(t)}),t.exports=a.inspectSource},1181:(t,e,A)=>{var i,s,a,n=A(8622),r=A(4475),o=A(34),g=A(6699),c=A(9297),h=A(7629),l=A(6119),I=A(421),C="Object already initialized",B=r.TypeError,d=r.WeakMap;if(n||h.state){var u=h.state||(h.state=new d);u.get=u.get,u.has=u.has,u.set=u.set,i=function(t,e){if(u.has(t))throw new B(C);return e.facade=t,u.set(t,e),e},s=function(t){return u.get(t)||{}},a=function(t){return u.has(t)}}else{var Q=l("state");I[Q]=!0,i=function(t,e){if(c(t,Q))throw new B(C);return e.facade=t,g(t,Q,e),e},s=function(t){return c(t,Q)?t[Q]:{}},a=function(t){return c(t,Q)}}t.exports={set:i,get:s,has:a,enforce:function(t){return a(t)?s(t):i(t,{})},getterFor:function(t){return function(e){var A;if(!o(e)||(A=s(e)).type!==t)throw new B("Incompatible receiver, "+t+" required");return A}}}},4209:(t,e,A)=>{var i=A(8227),s=A(6269),a=i("iterator"),n=Array.prototype;t.exports=function(t){return void 0!==t&&(s.Array===t||n[a]===t)}},4376:(t,e,A)=>{var i=A(4576);t.exports=Array.isArray||function(t){return"Array"===i(t)}},1108:(t,e,A)=>{var i=A(6955);t.exports=function(t){var e=i(t);return"BigInt64Array"===e||"BigUint64Array"===e}},4901:t=>{var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},2796:(t,e,A)=>{var i=A(9039),s=A(4901),a=/#|\.prototype\./,n=function(t,e){var A=o[r(t)];return A===c||A!==g&&(s(e)?i(e):!!e)},r=n.normalize=function(t){return String(t).replace(a,".").toLowerCase()},o=n.data={},g=n.NATIVE="N",c=n.POLYFILL="P";t.exports=n},4117:t=>{t.exports=function(t){return null==t}},34:(t,e,A)=>{var i=A(4901);t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},3925:(t,e,A)=>{var i=A(34);t.exports=function(t){return i(t)||null===t}},6395:t=>{t.exports=!1},757:(t,e,A)=>{var i=A(7751),s=A(4901),a=A(1625),n=A(7040),r=Object;t.exports=n?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return s(e)&&a(e.prototype,r(t))}},507:(t,e,A)=>{var i=A(9565);t.exports=function(t,e,A){for(var s,a,n=A?t:t.iterator,r=t.next;!(s=i(r,n)).done;)if(void 0!==(a=e(s.value)))return a}},2652:(t,e,A)=>{var i=A(6080),s=A(9565),a=A(8551),n=A(6823),r=A(4209),o=A(6198),g=A(1625),c=A(81),h=A(851),l=A(9539),I=TypeError,C=function(t,e){this.stopped=t,this.result=e},B=C.prototype;t.exports=function(t,e,A){var d,u,Q,E,f,p,m,y=A&&A.that,w=!(!A||!A.AS_ENTRIES),b=!(!A||!A.IS_RECORD),D=!(!A||!A.IS_ITERATOR),k=!(!A||!A.INTERRUPTED),S=i(e,y),F=function(t){return d&&l(d,"normal",t),new C(!0,t)},R=function(t){return w?(a(t),k?S(t[0],t[1],F):S(t[0],t[1])):k?S(t,F):S(t)};if(b)d=t.iterator;else if(D)d=t;else{if(!(u=h(t)))throw new I(n(t)+" is not iterable");if(r(u)){for(Q=0,E=o(t);E>Q;Q++)if((f=R(t[Q]))&&g(B,f))return f;return new C(!1)}d=c(t,u)}for(p=b?t.next:d.next;!(m=s(p,d)).done;){try{f=R(m.value)}catch(t){l(d,"throw",t)}if("object"==typeof f&&f&&g(B,f))return f}return new C(!1)}},9539:(t,e,A)=>{var i=A(9565),s=A(8551),a=A(5966);t.exports=function(t,e,A){var n,r;s(t);try{if(!(n=a(t,"return"))){if("throw"===e)throw A;return A}n=i(n,t)}catch(t){r=!0,n=t}if("throw"===e)throw A;if(r)throw n;return s(n),A}},9462:(t,e,A)=>{var i=A(9565),s=A(2360),a=A(6699),n=A(6279),r=A(8227),o=A(1181),g=A(5966),c=A(7657).IteratorPrototype,h=A(2529),l=A(9539),I=r("toStringTag"),C="IteratorHelper",B="WrapForValidIterator",d=o.set,u=function(t){var e=o.getterFor(t?B:C);return n(s(c),{next:function(){var A=e(this);if(t)return A.nextHandler();try{var i=A.done?void 0:A.nextHandler();return h(i,A.done)}catch(t){throw A.done=!0,t}},return:function(){var A=e(this),s=A.iterator;if(A.done=!0,t){var a=g(s,"return");return a?i(a,s):h(void 0,!0)}if(A.inner)try{l(A.inner.iterator,"normal")}catch(t){return l(s,"throw",t)}return l(s,"normal"),h(void 0,!0)}})},Q=u(!0),E=u(!1);a(E,I,"Iterator Helper"),t.exports=function(t,e){var A=function(A,i){i?(i.iterator=A.iterator,i.next=A.next):i=A,i.type=e?B:C,i.nextHandler=t,i.counter=0,i.done=!1,d(this,i)};return A.prototype=e?Q:E,A}},713:(t,e,A)=>{var i=A(9565),s=A(9306),a=A(8551),n=A(1767),r=A(9462),o=A(6319),g=r((function(){var t=this.iterator,e=a(i(this.next,t));if(!(this.done=!!e.done))return o(t,this.mapper,[e.value,this.counter++],!0)}));t.exports=function(t){return a(this),s(t),new g(n(this),{mapper:t})}},7657:(t,e,A)=>{var i,s,a,n=A(9039),r=A(4901),o=A(34),g=A(2360),c=A(2787),h=A(6840),l=A(8227),I=A(6395),C=l("iterator"),B=!1;[].keys&&("next"in(a=[].keys())?(s=c(c(a)))!==Object.prototype&&(i=s):B=!0),!o(i)||n((function(){var t={};return i[C].call(t)!==t}))?i={}:I&&(i=g(i)),r(i[C])||h(i,C,(function(){return this})),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:B}},6269:t=>{t.exports={}},6198:(t,e,A)=>{var i=A(8014);t.exports=function(t){return i(t.length)}},283:(t,e,A)=>{var i=A(9504),s=A(9039),a=A(4901),n=A(9297),r=A(3724),o=A(350).CONFIGURABLE,g=A(3706),c=A(1181),h=c.enforce,l=c.get,I=String,C=Object.defineProperty,B=i("".slice),d=i("".replace),u=i([].join),Q=r&&!s((function(){return 8!==C((function(){}),"length",{value:8}).length})),E=String(String).split("String"),f=t.exports=function(t,e,A){"Symbol("===B(I(e),0,7)&&(e="["+d(I(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),A&&A.getter&&(e="get "+e),A&&A.setter&&(e="set "+e),(!n(t,"name")||o&&t.name!==e)&&(r?C(t,"name",{value:e,configurable:!0}):t.name=e),Q&&A&&n(A,"arity")&&t.length!==A.arity&&C(t,"length",{value:A.arity});try{A&&n(A,"constructor")&&A.constructor?r&&C(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var i=h(t);return n(i,"source")||(i.source=u(E,"string"==typeof e?e:"")),t};Function.prototype.toString=f((function(){return a(this)&&l(this).source||g(this)}),"toString")},741:t=>{var e=Math.ceil,A=Math.floor;t.exports=Math.trunc||function(t){var i=+t;return(i>0?A:e)(i)}},6043:(t,e,A)=>{var i=A(9306),s=TypeError,a=function(t){var e,A;this.promise=new t((function(t,i){if(void 0!==e||void 0!==A)throw new s("Bad Promise constructor");e=t,A=i})),this.resolve=i(e),this.reject=i(A)};t.exports.f=function(t){return new a(t)}},2603:(t,e,A)=>{var i=A(655);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:i(t)}},4149:t=>{var e=RangeError;t.exports=function(t){if(t==t)return t;throw new e("NaN is not allowed")}},2360:(t,e,A)=>{var i,s=A(8551),a=A(6801),n=A(8727),r=A(421),o=A(397),g=A(4055),c=A(6119),h="prototype",l="script",I=c("IE_PROTO"),C=function(){},B=function(t){return"<"+l+">"+t+"</"+l+">"},d=function(t){t.write(B("")),t.close();var e=t.parentWindow.Object;return t=null,e},u=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}var t,e,A;u="undefined"!=typeof document?document.domain&&i?d(i):(e=g("iframe"),A="java"+l+":",e.style.display="none",o.appendChild(e),e.src=String(A),(t=e.contentWindow.document).open(),t.write(B("document.F=Object")),t.close(),t.F):d(i);for(var s=n.length;s--;)delete u[h][n[s]];return u()};r[I]=!0,t.exports=Object.create||function(t,e){var A;return null!==t?(C[h]=s(t),A=new C,C[h]=null,A[I]=t):A=u(),void 0===e?A:a.f(A,e)}},6801:(t,e,A)=>{var i=A(3724),s=A(8686),a=A(4913),n=A(8551),r=A(5397),o=A(1072);e.f=i&&!s?Object.defineProperties:function(t,e){n(t);for(var A,i=r(e),s=o(e),g=s.length,c=0;g>c;)a.f(t,A=s[c++],i[A]);return t}},4913:(t,e,A)=>{var i=A(3724),s=A(5917),a=A(8686),n=A(8551),r=A(6969),o=TypeError,g=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",l="configurable",I="writable";e.f=i?a?function(t,e,A){if(n(t),e=r(e),n(A),"function"==typeof t&&"prototype"===e&&"value"in A&&I in A&&!A[I]){var i=c(t,e);i&&i[I]&&(t[e]=A.value,A={configurable:l in A?A[l]:i[l],enumerable:h in A?A[h]:i[h],writable:!1})}return g(t,e,A)}:g:function(t,e,A){if(n(t),e=r(e),n(A),s)try{return g(t,e,A)}catch(t){}if("get"in A||"set"in A)throw new o("Accessors not supported");return"value"in A&&(t[e]=A.value),t}},7347:(t,e,A)=>{var i=A(3724),s=A(9565),a=A(8773),n=A(6980),r=A(5397),o=A(6969),g=A(9297),c=A(5917),h=Object.getOwnPropertyDescriptor;e.f=i?h:function(t,e){if(t=r(t),e=o(e),c)try{return h(t,e)}catch(t){}if(g(t,e))return n(!s(a.f,t,e),t[e])}},8480:(t,e,A)=>{var i=A(1828),s=A(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,s)}},3717:(t,e)=>{e.f=Object.getOwnPropertySymbols},2787:(t,e,A)=>{var i=A(9297),s=A(4901),a=A(8981),n=A(6119),r=A(2211),o=n("IE_PROTO"),g=Object,c=g.prototype;t.exports=r?g.getPrototypeOf:function(t){var e=a(t);if(i(e,o))return e[o];var A=e.constructor;return s(A)&&e instanceof A?A.prototype:e instanceof g?c:null}},1625:(t,e,A)=>{var i=A(9504);t.exports=i({}.isPrototypeOf)},1828:(t,e,A)=>{var i=A(9504),s=A(9297),a=A(5397),n=A(9617).indexOf,r=A(421),o=i([].push);t.exports=function(t,e){var A,i=a(t),g=0,c=[];for(A in i)!s(r,A)&&s(i,A)&&o(c,A);for(;e.length>g;)s(i,A=e[g++])&&(~n(c,A)||o(c,A));return c}},1072:(t,e,A)=>{var i=A(1828),s=A(8727);t.exports=Object.keys||function(t){return i(t,s)}},8773:(t,e)=>{var A={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,s=i&&!A.call({1:2},1);e.f=s?function(t){var e=i(this,t);return!!e&&e.enumerable}:A},2967:(t,e,A)=>{var i=A(6706),s=A(34),a=A(7750),n=A(3506);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,A={};try{(t=i(Object.prototype,"__proto__","set"))(A,[]),e=A instanceof Array}catch(t){}return function(A,i){return a(A),n(i),s(A)?(e?t(A,i):A.__proto__=i,A):A}}():void 0)},4270:(t,e,A)=>{var i=A(9565),s=A(4901),a=A(34),n=TypeError;t.exports=function(t,e){var A,r;if("string"===e&&s(A=t.toString)&&!a(r=i(A,t)))return r;if(s(A=t.valueOf)&&!a(r=i(A,t)))return r;if("string"!==e&&s(A=t.toString)&&!a(r=i(A,t)))return r;throw new n("Can't convert object to primitive value")}},5031:(t,e,A)=>{var i=A(7751),s=A(9504),a=A(8480),n=A(3717),r=A(8551),o=s([].concat);t.exports=i("Reflect","ownKeys")||function(t){var e=a.f(r(t)),A=n.f;return A?o(e,A(t)):e}},8235:(t,e,A)=>{var i=A(9504),s=A(9297),a=SyntaxError,n=parseInt,r=String.fromCharCode,o=i("".charAt),g=i("".slice),c=i(/./.exec),h={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},l=/^[\da-f]{4}$/i,I=/^[\u0000-\u001F]$/;t.exports=function(t,e){for(var A=!0,i="";e<t.length;){var C=o(t,e);if("\\"===C){var B=g(t,e,e+2);if(s(h,B))i+=h[B],e+=2;else{if("\\u"!==B)throw new a('Unknown escape sequence: "'+B+'"');var d=g(t,e+=2,e+4);if(!c(l,d))throw new a("Bad Unicode escape at: "+e);i+=r(n(d,16)),e+=4}}else{if('"'===C){A=!1,e++;break}if(c(I,C))throw new a("Bad control character in string literal at: "+e);i+=C,e++}}if(A)throw new a("Unterminated string at: "+e);return{value:i,end:e}}},7750:(t,e,A)=>{var i=A(4117),s=TypeError;t.exports=function(t){if(i(t))throw new s("Can't call method on "+t);return t}},9286:(t,e,A)=>{var i=A(4402),s=A(8469),a=i.Set,n=i.add;t.exports=function(t){var e=new a;return s(t,(function(t){n(e,t)})),e}},3440:(t,e,A)=>{var i=A(7080),s=A(4402),a=A(9286),n=A(5170),r=A(3789),o=A(8469),g=A(507),c=s.has,h=s.remove;t.exports=function(t){var e=i(this),A=r(t),s=a(e);return n(e)<=A.size?o(e,(function(t){A.includes(t)&&h(s,t)})):g(A.getIterator(),(function(t){c(e,t)&&h(s,t)})),s}},4402:(t,e,A)=>{var i=A(9504),s=Set.prototype;t.exports={Set,add:i(s.add),has:i(s.has),remove:i(s.delete),proto:s}},8750:(t,e,A)=>{var i=A(7080),s=A(4402),a=A(5170),n=A(3789),r=A(8469),o=A(507),g=s.Set,c=s.add,h=s.has;t.exports=function(t){var e=i(this),A=n(t),s=new g;return a(e)>A.size?o(A.getIterator(),(function(t){h(e,t)&&c(s,t)})):r(e,(function(t){A.includes(t)&&c(s,t)})),s}},4449:(t,e,A)=>{var i=A(7080),s=A(4402).has,a=A(5170),n=A(3789),r=A(8469),o=A(507),g=A(9539);t.exports=function(t){var e=i(this),A=n(t);if(a(e)<=A.size)return!1!==r(e,(function(t){if(A.includes(t))return!1}),!0);var c=A.getIterator();return!1!==o(c,(function(t){if(s(e,t))return g(c,"normal",!1)}))}},3838:(t,e,A)=>{var i=A(7080),s=A(5170),a=A(8469),n=A(3789);t.exports=function(t){var e=i(this),A=n(t);return!(s(e)>A.size)&&!1!==a(e,(function(t){if(!A.includes(t))return!1}),!0)}},8527:(t,e,A)=>{var i=A(7080),s=A(4402).has,a=A(5170),n=A(3789),r=A(507),o=A(9539);t.exports=function(t){var e=i(this),A=n(t);if(a(e)<A.size)return!1;var g=A.getIterator();return!1!==r(g,(function(t){if(!s(e,t))return o(g,"normal",!1)}))}},8469:(t,e,A)=>{var i=A(9504),s=A(507),a=A(4402),n=a.Set,r=a.proto,o=i(r.forEach),g=i(r.keys),c=g(new n).next;t.exports=function(t,e,A){return A?s({iterator:g(t),next:c},e):o(t,e)}},4916:(t,e,A)=>{var i=A(7751),s=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};t.exports=function(t){var e=i("Set");try{(new e)[t](s(0));try{return(new e)[t](s(-1)),!1}catch(t){return!0}}catch(t){return!1}}},5170:(t,e,A)=>{var i=A(6706),s=A(4402);t.exports=i(s.proto,"size","get")||function(t){return t.size}},3650:(t,e,A)=>{var i=A(7080),s=A(4402),a=A(9286),n=A(3789),r=A(507),o=s.add,g=s.has,c=s.remove;t.exports=function(t){var e=i(this),A=n(t).getIterator(),s=a(e);return r(A,(function(t){g(e,t)?c(s,t):o(s,t)})),s}},4204:(t,e,A)=>{var i=A(7080),s=A(4402).add,a=A(9286),n=A(3789),r=A(507);t.exports=function(t){var e=i(this),A=n(t).getIterator(),o=a(e);return r(A,(function(t){s(o,t)})),o}},6119:(t,e,A)=>{var i=A(5745),s=A(3392),a=i("keys");t.exports=function(t){return a[t]||(a[t]=s(t))}},7629:(t,e,A)=>{var i=A(6395),s=A(4475),a=A(9433),n="__core-js_shared__",r=t.exports=s[n]||a(n,{});(r.versions||(r.versions=[])).push({version:"3.37.1",mode:i?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(t,e,A)=>{var i=A(7629);t.exports=function(t,e){return i[t]||(i[t]=e||{})}},1548:(t,e,A)=>{var i=A(4475),s=A(9039),a=A(7388),n=A(7290),r=A(516),o=A(9088),g=i.structuredClone;t.exports=!!g&&!s((function(){if(r&&a>92||o&&a>94||n&&a>97)return!1;var t=new ArrayBuffer(8),e=g(t,{transfer:[t]});return 0!==t.byteLength||8!==e.byteLength}))},4495:(t,e,A)=>{var i=A(7388),s=A(9039),a=A(4475).String;t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},5610:(t,e,A)=>{var i=A(1291),s=Math.max,a=Math.min;t.exports=function(t,e){var A=i(t);return A<0?s(A+e,0):a(A,e)}},5854:(t,e,A)=>{var i=A(2777),s=TypeError;t.exports=function(t){var e=i(t,"number");if("number"==typeof e)throw new s("Can't convert number to bigint");return BigInt(e)}},7696:(t,e,A)=>{var i=A(1291),s=A(8014),a=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=i(t),A=s(e);if(e!==A)throw new a("Wrong length or index");return A}},5397:(t,e,A)=>{var i=A(7055),s=A(7750);t.exports=function(t){return i(s(t))}},1291:(t,e,A)=>{var i=A(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:i(e)}},8014:(t,e,A)=>{var i=A(1291),s=Math.min;t.exports=function(t){var e=i(t);return e>0?s(e,9007199254740991):0}},8981:(t,e,A)=>{var i=A(7750),s=Object;t.exports=function(t){return s(i(t))}},9590:(t,e,A)=>{var i=A(1291),s=RangeError;t.exports=function(t){var e=i(t);if(e<0)throw new s("The argument can't be less than 0");return e}},2777:(t,e,A)=>{var i=A(9565),s=A(34),a=A(757),n=A(5966),r=A(4270),o=A(8227),g=TypeError,c=o("toPrimitive");t.exports=function(t,e){if(!s(t)||a(t))return t;var A,o=n(t,c);if(o){if(void 0===e&&(e="default"),A=i(o,t,e),!s(A)||a(A))return A;throw new g("Can't convert object to primitive value")}return void 0===e&&(e="number"),r(t,e)}},6969:(t,e,A)=>{var i=A(2777),s=A(757);t.exports=function(t){var e=i(t,"string");return s(e)?e:e+""}},2140:(t,e,A)=>{var i={};i[A(8227)("toStringTag")]="z",t.exports="[object z]"===String(i)},655:(t,e,A)=>{var i=A(6955),s=String;t.exports=function(t){if("Symbol"===i(t))throw new TypeError("Cannot convert a Symbol value to a string");return s(t)}},9714:(t,e,A)=>{var i=A(9088);t.exports=function(t){try{if(i)return Function('return require("'+t+'")')()}catch(t){}}},6823:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},3392:(t,e,A)=>{var i=A(9504),s=0,a=Math.random(),n=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++s+a,36)}},7040:(t,e,A)=>{var i=A(4495);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(t,e,A)=>{var i=A(3724),s=A(9039);t.exports=i&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:t=>{var e=TypeError;t.exports=function(t,A){if(t<A)throw new e("Not enough arguments");return t}},8622:(t,e,A)=>{var i=A(4475),s=A(4901),a=i.WeakMap;t.exports=s(a)&&/native code/.test(String(a))},8227:(t,e,A)=>{var i=A(4475),s=A(5745),a=A(9297),n=A(3392),r=A(4495),o=A(7040),g=i.Symbol,c=s("wks"),h=o?g.for||g:g&&g.withoutSetter||n;t.exports=function(t){return a(c,t)||(c[t]=r&&a(g,t)?g[t]:h("Symbol."+t)),c[t]}},6573:(t,e,A)=>{var i=A(3724),s=A(2106),a=A(3238),n=ArrayBuffer.prototype;i&&!("detached"in n)&&s(n,"detached",{configurable:!0,get:function(){return a(this)}})},7936:(t,e,A)=>{var i=A(6518),s=A(5636);s&&i({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return s(this,arguments.length?arguments[0]:void 0,!1)}})},8100:(t,e,A)=>{var i=A(6518),s=A(5636);s&&i({target:"ArrayBuffer",proto:!0},{transfer:function(){return s(this,arguments.length?arguments[0]:void 0,!0)}})},4114:(t,e,A)=>{var i=A(6518),s=A(8981),a=A(6198),n=A(4527),r=A(6837);i({target:"Array",proto:!0,arity:1,forced:A(9039)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=s(this),A=a(e),i=arguments.length;r(A+i);for(var o=0;o<i;o++)e[A]=arguments[o],A++;return n(e,A),A}})},4628:(t,e,A)=>{var i=A(6518),s=A(6043);i({target:"Promise",stat:!0},{withResolvers:function(){var t=s.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}})},7642:(t,e,A)=>{var i=A(6518),s=A(3440);i({target:"Set",proto:!0,real:!0,forced:!A(4916)("difference")},{difference:s})},8004:(t,e,A)=>{var i=A(6518),s=A(9039),a=A(8750);i({target:"Set",proto:!0,real:!0,forced:!A(4916)("intersection")||s((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:a})},3853:(t,e,A)=>{var i=A(6518),s=A(4449);i({target:"Set",proto:!0,real:!0,forced:!A(4916)("isDisjointFrom")},{isDisjointFrom:s})},5876:(t,e,A)=>{var i=A(6518),s=A(3838);i({target:"Set",proto:!0,real:!0,forced:!A(4916)("isSubsetOf")},{isSubsetOf:s})},2475:(t,e,A)=>{var i=A(6518),s=A(8527);i({target:"Set",proto:!0,real:!0,forced:!A(4916)("isSupersetOf")},{isSupersetOf:s})},5024:(t,e,A)=>{var i=A(6518),s=A(3650);i({target:"Set",proto:!0,real:!0,forced:!A(4916)("symmetricDifference")},{symmetricDifference:s})},1698:(t,e,A)=>{var i=A(6518),s=A(4204);i({target:"Set",proto:!0,real:!0,forced:!A(4916)("union")},{union:s})},7467:(t,e,A)=>{var i=A(7628),s=A(4644),a=s.aTypedArray,n=s.exportTypedArrayMethod,r=s.getTypedArrayConstructor;n("toReversed",(function(){return i(a(this),r(this))}))},4732:(t,e,A)=>{var i=A(4644),s=A(9504),a=A(9306),n=A(5370),r=i.aTypedArray,o=i.getTypedArrayConstructor,g=i.exportTypedArrayMethod,c=s(i.TypedArrayPrototype.sort);g("toSorted",(function(t){void 0!==t&&a(t);var e=r(this),A=n(o(e),e);return c(A,t)}))},9577:(t,e,A)=>{var i=A(9928),s=A(4644),a=A(1108),n=A(1291),r=A(5854),o=s.aTypedArray,g=s.getTypedArrayConstructor,c=s.exportTypedArrayMethod,h=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}();c("with",{with:function(t,e){var A=o(this),s=n(t),c=a(A)?r(e):+e;return i(A,g(A),s,c)}}.with,!h)},8992:(t,e,A)=>{var i=A(6518),s=A(4475),a=A(679),n=A(8551),r=A(4901),o=A(2787),g=A(2106),c=A(4659),h=A(9039),l=A(9297),I=A(8227),C=A(7657).IteratorPrototype,B=A(3724),d=A(6395),u="constructor",Q="Iterator",E=I("toStringTag"),f=TypeError,p=s[Q],m=d||!r(p)||p.prototype!==C||!h((function(){p({})})),y=function(){if(a(this,C),o(this)===C)throw new f("Abstract class Iterator not directly constructable")},w=function(t,e){B?g(C,t,{configurable:!0,get:function(){return e},set:function(e){if(n(this),this===C)throw new f("You can't redefine this property");l(this,t)?this[t]=e:c(this,t,e)}}):C[t]=e};l(C,E)||w(E,Q),!m&&l(C,u)&&C[u]!==Object||w(u,y),y.prototype=C,i({global:!0,constructor:!0,forced:m},{Iterator:y})},4743:(t,e,A)=>{var i=A(6518),s=A(9565),a=A(8551),n=A(1767),r=A(4149),o=A(9590),g=A(9462),c=A(6395),h=g((function(){for(var t,e=this.iterator,A=this.next;this.remaining;)if(this.remaining--,t=a(s(A,e)),this.done=!!t.done)return;if(t=a(s(A,e)),!(this.done=!!t.done))return t.value}));i({target:"Iterator",proto:!0,real:!0,forced:c},{drop:function(t){a(this);var e=o(r(+t));return new h(n(this),{remaining:e})}})},3215:(t,e,A)=>{var i=A(6518),s=A(2652),a=A(9306),n=A(8551),r=A(1767);i({target:"Iterator",proto:!0,real:!0},{every:function(t){n(this),a(t);var e=r(this),A=0;return!s(e,(function(e,i){if(!t(e,A++))return i()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},4520:(t,e,A)=>{var i=A(6518),s=A(9565),a=A(9306),n=A(8551),r=A(1767),o=A(9462),g=A(6319),c=A(6395),h=o((function(){for(var t,e,A=this.iterator,i=this.predicate,a=this.next;;){if(t=n(s(a,A)),this.done=!!t.done)return;if(e=t.value,g(A,i,[e,this.counter++],!0))return e}}));i({target:"Iterator",proto:!0,real:!0,forced:c},{filter:function(t){return n(this),a(t),new h(r(this),{predicate:t})}})},670:(t,e,A)=>{var i=A(6518),s=A(9565),a=A(9306),n=A(8551),r=A(1767),o=A(8646),g=A(9462),c=A(9539),h=A(6395),l=g((function(){for(var t,e,A=this.iterator,i=this.mapper;;){if(e=this.inner)try{if(!(t=n(s(e.next,e.iterator))).done)return t.value;this.inner=null}catch(t){c(A,"throw",t)}if(t=n(s(this.next,A)),this.done=!!t.done)return;try{this.inner=o(i(t.value,this.counter++),!1)}catch(t){c(A,"throw",t)}}}));i({target:"Iterator",proto:!0,real:!0,forced:h},{flatMap:function(t){return n(this),a(t),new l(r(this),{mapper:t,inner:null})}})},1454:(t,e,A)=>{var i=A(6518),s=A(713);i({target:"Iterator",proto:!0,real:!0,forced:A(6395)},{map:s})},7550:(t,e,A)=>{var i=A(6518),s=A(2652),a=A(9306),n=A(8551),r=A(1767);i({target:"Iterator",proto:!0,real:!0},{some:function(t){n(this),a(t);var e=r(this),A=0;return s(e,(function(e,i){if(t(e,A++))return i()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},8335:(t,e,A)=>{var i=A(6518),s=A(3724),a=A(4475),n=A(7751),r=A(9504),o=A(9565),g=A(4901),c=A(34),h=A(4376),l=A(9297),I=A(655),C=A(6198),B=A(4659),d=A(9039),u=A(8235),Q=A(4495),E=a.JSON,f=a.Number,p=a.SyntaxError,m=E&&E.parse,y=n("Object","keys"),w=Object.getOwnPropertyDescriptor,b=r("".charAt),D=r("".slice),k=r(/./.exec),S=r([].push),F=/^\d$/,R=/^[1-9]$/,x=/^(?:-|\d)$/,v=/^[\t\n\r ]$/,N=function(t,e,A,i){var s,a,n,r,g,I=t[e],B=i&&I===i.value,d=B&&"string"==typeof i.source?{source:i.source}:{};if(c(I)){var u=h(I),Q=B?i.nodes:u?[]:{};if(u)for(s=Q.length,n=C(I),r=0;r<n;r++)G(I,r,N(I,""+r,A,r<s?Q[r]:void 0));else for(a=y(I),n=C(a),r=0;r<n;r++)g=a[r],G(I,g,N(I,g,A,l(Q,g)?Q[g]:void 0))}return o(A,t,e,I,d)},G=function(t,e,A){if(s){var i=w(t,e);if(i&&!i.configurable)return}void 0===A?delete t[e]:B(t,e,A)},M=function(t,e,A,i){this.value=t,this.end=e,this.source=A,this.nodes=i},L=function(t,e){this.source=t,this.index=e};L.prototype={fork:function(t){return new L(this.source,t)},parse:function(){var t=this.source,e=this.skip(v,this.index),A=this.fork(e),i=b(t,e);if(k(x,i))return A.number();switch(i){case"{":return A.object();case"[":return A.array();case'"':return A.string();case"t":return A.keyword(!0);case"f":return A.keyword(!1);case"n":return A.keyword(null)}throw new p('Unexpected character: "'+i+'" at: '+e)},node:function(t,e,A,i,s){return new M(e,i,t?null:D(this.source,A,i),s)},object:function(){for(var t=this.source,e=this.index+1,A=!1,i={},s={};e<t.length;){if(e=this.until(['"',"}"],e),"}"===b(t,e)&&!A){e++;break}var a=this.fork(e).string(),n=a.value;e=a.end,e=this.until([":"],e)+1,e=this.skip(v,e),a=this.fork(e).parse(),B(s,n,a),B(i,n,a.value),e=this.until([",","}"],a.end);var r=b(t,e);if(","===r)A=!0,e++;else if("}"===r){e++;break}}return this.node(1,i,this.index,e,s)},array:function(){for(var t=this.source,e=this.index+1,A=!1,i=[],s=[];e<t.length;){if(e=this.skip(v,e),"]"===b(t,e)&&!A){e++;break}var a=this.fork(e).parse();if(S(s,a),S(i,a.value),e=this.until([",","]"],a.end),","===b(t,e))A=!0,e++;else if("]"===b(t,e)){e++;break}}return this.node(1,i,this.index,e,s)},string:function(){var t=this.index,e=u(this.source,this.index+1);return this.node(0,e.value,t,e.end)},number:function(){var t=this.source,e=this.index,A=e;if("-"===b(t,A)&&A++,"0"===b(t,A))A++;else{if(!k(R,b(t,A)))throw new p("Failed to parse number at: "+A);A=this.skip(F,++A)}if(!("."===b(t,A)&&(A=this.skip(F,++A)),"e"!==b(t,A)&&"E"!==b(t,A)||(A++,"+"!==b(t,A)&&"-"!==b(t,A)||A++,A!==(A=this.skip(F,A)))))throw new p("Failed to parse number's exponent value at: "+A);return this.node(0,f(D(t,e,A)),e,A)},keyword:function(t){var e=""+t,A=this.index,i=A+e.length;if(D(this.source,A,i)!==e)throw new p("Failed to parse value at: "+A);return this.node(0,t,A,i)},skip:function(t,e){for(var A=this.source;e<A.length&&k(t,b(A,e));e++);return e},until:function(t,e){e=this.skip(v,e);for(var A=b(this.source,e),i=0;i<t.length;i++)if(t[i]===A)return e;throw new p('Unexpected character: "'+A+'" at: '+e)}};var U=d((function(){var t,e="9007199254740993";return m(e,(function(e,A,i){t=i.source})),t!==e})),H=Q&&!d((function(){return 1/m("-0 \t")!=-1/0}));i({target:"JSON",stat:!0,forced:U},{parse:function(t,e){return H&&!g(e)?m(t):function(t,e){t=I(t);var A=new L(t,0,""),i=A.parse(),s=i.value,a=A.skip(v,i.end);if(a<t.length)throw new p('Unexpected extra character: "'+b(t,a)+'" after the parsed data at: '+a);return g(e)?N({"":s},"",e,i):s}(t,e)}})},3375:(t,e,A)=>{A(7642)},9225:(t,e,A)=>{A(8004)},3972:(t,e,A)=>{A(3853)},9209:(t,e,A)=>{A(5876)},5714:(t,e,A)=>{A(2475)},7561:(t,e,A)=>{A(5024)},6197:(t,e,A)=>{A(1698)},4979:(t,e,A)=>{var i=A(6518),s=A(4475),a=A(7751),n=A(6980),r=A(4913).f,o=A(9297),g=A(679),c=A(3167),h=A(2603),l=A(5002),I=A(6193),C=A(3724),B=A(6395),d="DOMException",u=a("Error"),Q=a(d),E=function(){g(this,f);var t=arguments.length,e=h(t<1?void 0:arguments[0]),A=h(t<2?void 0:arguments[1],"Error"),i=new Q(e,A),s=new u(e);return s.name=d,r(i,"stack",n(1,I(s.stack,1))),c(i,this,E),i},f=E.prototype=Q.prototype,p="stack"in new u(d),m="stack"in new Q(1,2),y=Q&&C&&Object.getOwnPropertyDescriptor(s,d),w=!(!y||y.writable&&y.configurable),b=p&&!w&&!m;i({global:!0,constructor:!0,forced:B||b},{DOMException:b?E:Q});var D=a(d),k=D.prototype;if(k.constructor!==D)for(var S in B||r(k,"constructor",n(1,D)),l)if(o(l,S)){var F=l[S],R=F.s;o(D,R)||r(D,R,n(6,F.c))}},4603:(t,e,A)=>{var i=A(6840),s=A(9504),a=A(655),n=A(2812),r=URLSearchParams,o=r.prototype,g=s(o.append),c=s(o.delete),h=s(o.forEach),l=s([].push),I=new r("a=1&a=2&b=3");I.delete("a",1),I.delete("b",void 0),I+""!="a=2"&&i(o,"delete",(function(t){var e=arguments.length,A=e<2?void 0:arguments[1];if(e&&void 0===A)return c(this,t);var i=[];h(this,(function(t,e){l(i,{key:e,value:t})})),n(e,1);for(var s,r=a(t),o=a(A),I=0,C=0,B=!1,d=i.length;I<d;)s=i[I++],B||s.key===r?(B=!0,c(this,s.key)):C++;for(;C<d;)(s=i[C++]).key===r&&s.value===o||g(this,s.key,s.value)}),{enumerable:!0,unsafe:!0})},7566:(t,e,A)=>{var i=A(6840),s=A(9504),a=A(655),n=A(2812),r=URLSearchParams,o=r.prototype,g=s(o.getAll),c=s(o.has),h=new r("a=1");!h.has("a",2)&&h.has("a",void 0)||i(o,"has",(function(t){var e=arguments.length,A=e<2?void 0:arguments[1];if(e&&void 0===A)return c(this,t);var i=g(this,t);n(e,1);for(var s=a(A),r=0;r<i.length;)if(i[r++]===s)return!0;return!1}),{enumerable:!0,unsafe:!0})},8721:(t,e,A)=>{var i=A(3724),s=A(9504),a=A(2106),n=URLSearchParams.prototype,r=s(n.forEach);i&&!("size"in n)&&a(n,"size",{get:function(){var t=0;return r(this,(function(){t++})),t},configurable:!0,enumerable:!0})}},a={};function n(t){var e=a[t];if(void 0!==e)return e.exports;var A=a[t]={exports:{}};return s[t].call(A.exports,A,A.exports,n),A.exports}n.d=(t,e)=>{for(var A in e)n.o(e,A)&&!n.o(t,A)&&Object.defineProperty(t,A,{enumerable:!0,get:e[A]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var r=globalThis.pdfjsLib={};n.d(r,{AbortException:()=>U,AnnotationEditorLayer:()=>Ii,AnnotationEditorParamsType:()=>C,AnnotationEditorType:()=>I,AnnotationEditorUIManager:()=>Ft,AnnotationLayer:()=>ei,AnnotationMode:()=>l,CMapCompressionType:()=>Q,ColorPicker:()=>gi,DOMSVGFactory:()=>st,DrawLayer:()=>Ci,FeatureTest:()=>T,GlobalWorkerOptions:()=>Qe,ImageKind:()=>d,InvalidPDFException:()=>N,MissingPDFException:()=>G,OPS:()=>E,PDFDataRangeTransport:()=>oA,PDFDateString:()=>Bt,PDFWorker:()=>IA,PasswordResponses:()=>f,PermissionFlag:()=>B,PixelsPerInch:()=>tt,RenderingCancelledException:()=>nt,TextLayer:()=>ze,UnexpectedResponseException:()=>M,Util:()=>P,VerbosityLevel:()=>u,XfaLayer:()=>wA,build:()=>fA,createValidAbsoluteUrl:()=>S,fetchData:()=>et,getDocument:()=>aA,getFilenameFromUrl:()=>gt,getPdfFilenameFromUrl:()=>ct,getXfaPageViewport:()=>dt,isDataScheme:()=>rt,isPdfFile:()=>ot,noContextMenu:()=>It,normalizeUnicode:()=>O,setLayerDimensions:()=>ft,shadow:()=>F,version:()=>EA}),n(4114),n(6573),n(8100),n(7936),n(7467),n(4732),n(9577),n(4603),n(7566),n(8721);const o=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),g=[1,0,0,1,0,0],c=[.001,0,0,.001,0,0],h=1.35,l={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},I={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15},C={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_DEFAULT_COLOR:32,HIGHLIGHT_THICKNESS:33,HIGHLIGHT_FREE:34,HIGHLIGHT_SHOW_ALL:35},B={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},d={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},u={ERRORS:0,WARNINGS:1,INFOS:5},Q={NONE:0,BINARY:1},E={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93},f={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let p=u.WARNINGS;function m(t){Number.isInteger(t)&&(p=t)}function y(){return p}function w(t){p>=u.INFOS&&console.log(`Info: ${t}`)}function b(t){p>=u.WARNINGS&&console.log(`Warning: ${t}`)}function D(t){throw new Error(t)}function k(t,e){t||D(e)}function S(t,e=null,A=null){if(!t)return null;try{if(A&&"string"==typeof t){if(A.addDefaultProtocol&&t.startsWith("www.")){const e=t.match(/\./g);e?.length>=2&&(t=`http://${t}`)}if(A.tryConvertEncoding)try{t=decodeURIComponent(escape(t))}catch{}}const i=e?new URL(t,e):new URL(t);if(function(t){switch(t?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(i))return i}catch{}return null}function F(t,e,A,i=!1){return Object.defineProperty(t,e,{value:A,enumerable:!i,configurable:!0,writable:!1}),A}const R=function(){function t(e,A){this.constructor===t&&D("Cannot initialize BaseException."),this.message=e,this.name=A}return t.prototype=new Error,t.constructor=t,t}();class x extends R{constructor(t,e){super(t,"PasswordException"),this.code=e}}class v extends R{constructor(t,e){super(t,"UnknownErrorException"),this.details=e}}class N extends R{constructor(t){super(t,"InvalidPDFException")}}class G extends R{constructor(t){super(t,"MissingPDFException")}}class M extends R{constructor(t,e){super(t,"UnexpectedResponseException"),this.status=e}}class L extends R{constructor(t){super(t,"FormatError")}}class U extends R{constructor(t){super(t,"AbortException")}}function H(t){"object"==typeof t&&void 0!==t?.length||D("Invalid argument for bytesToString");const e=t.length,A=8192;if(e<A)return String.fromCharCode.apply(null,t);const i=[];for(let s=0;s<e;s+=A){const a=Math.min(s+A,e),n=t.subarray(s,a);i.push(String.fromCharCode.apply(null,n))}return i.join("")}function J(t){"string"!=typeof t&&D("Invalid argument for stringToBytes");const e=t.length,A=new Uint8Array(e);for(let i=0;i<e;++i)A[i]=255&t.charCodeAt(i);return A}function Y(t){const e=Object.create(null);for(const[A,i]of t)e[A]=i;return e}class T{static get isLittleEndian(){return F(this,"isLittleEndian",function(){const t=new Uint8Array(4);return t[0]=1,1===new Uint32Array(t.buffer,0,1)[0]}())}static get isEvalSupported(){return F(this,"isEvalSupported",function(){try{return new Function(""),!0}catch{return!1}}())}static get isOffscreenCanvasSupported(){return F(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}static get platform(){return"undefined"!=typeof navigator&&"string"==typeof navigator?.platform?F(this,"platform",{isMac:navigator.platform.includes("Mac")}):F(this,"platform",{isMac:!1})}static get isCSSRoundSupported(){return F(this,"isCSSRoundSupported",globalThis.CSS?.supports?.("width: round(1.5px, 1px)"))}}const K=Array.from(Array(256).keys(),(t=>t.toString(16).padStart(2,"0")));class P{static makeHexColor(t,e,A){return`#${K[t]}${K[e]}${K[A]}`}static scaleMinMax(t,e){let A;t[0]?(t[0]<0&&(A=e[0],e[0]=e[2],e[2]=A),e[0]*=t[0],e[2]*=t[0],t[3]<0&&(A=e[1],e[1]=e[3],e[3]=A),e[1]*=t[3],e[3]*=t[3]):(A=e[0],e[0]=e[1],e[1]=A,A=e[2],e[2]=e[3],e[3]=A,t[1]<0&&(A=e[1],e[1]=e[3],e[3]=A),e[1]*=t[1],e[3]*=t[1],t[2]<0&&(A=e[0],e[0]=e[2],e[2]=A),e[0]*=t[2],e[2]*=t[2]),e[0]+=t[4],e[1]+=t[5],e[2]+=t[4],e[3]+=t[5]}static transform(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}static applyTransform(t,e){return[t[0]*e[0]+t[1]*e[2]+e[4],t[0]*e[1]+t[1]*e[3]+e[5]]}static applyInverseTransform(t,e){const A=e[0]*e[3]-e[1]*e[2];return[(t[0