UNPKG

pdfjs-dist

Version:

Generic build of Mozilla's PDF.js library.

21 lines 1.08 MB
/** * @licstart The following is the entire license notice for the * JavaScript code in this page * * Copyright 2023 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * @licend The above is the entire license notice for the * JavaScript code in this page */var e={9306:(e,t,r)=>{var a=r(4901),i=r(6823),n=TypeError;e.exports=function(e){if(a(e))return e;throw new n(i(e)+" is not a function")}},3506:(e,t,r)=>{var a=r(3925),i=String,n=TypeError;e.exports=function(e){if(a(e))return e;throw new n("Can't set "+i(e)+" as a prototype")}},7080:(e,t,r)=>{var a=r(4402).has;e.exports=function(e){a(e);return e}},679:(e,t,r)=>{var a=r(1625),i=TypeError;e.exports=function(e,t){if(a(t,e))return e;throw new i("Incorrect invocation")}},8551:(e,t,r)=>{var a=r(34),i=String,n=TypeError;e.exports=function(e){if(a(e))return e;throw new n(i(e)+" is not an object")}},7811:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7394:(e,t,r)=>{var a=r(6706),i=r(4576),n=TypeError;e.exports=a(ArrayBuffer.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==i(e))throw new n("ArrayBuffer expected");return e.byteLength}},3238:(e,t,r)=>{var a=r(9504),i=r(7394),n=a(ArrayBuffer.prototype.slice);e.exports=function(e){if(0!==i(e))return!1;try{n(e,0,0);return!1}catch(e){return!0}}},5636:(e,t,r)=>{var a=r(4475),i=r(9504),n=r(6706),s=r(7696),o=r(3238),c=r(7394),l=r(4483),h=r(1548),u=a.structuredClone,d=a.ArrayBuffer,f=a.DataView,g=a.TypeError,p=Math.min,m=d.prototype,b=f.prototype,y=i(m.slice),w=n(m,"resizable","get"),x=n(m,"maxByteLength","get"),S=i(b.getInt8),k=i(b.setInt8);e.exports=(h||l)&&function(e,t,r){var a,i=c(e),n=void 0===t?i:s(t),m=!w||!w(e);if(o(e))throw new g("ArrayBuffer is detached");if(h){e=u(e,{transfer:[e]});if(i===n&&(r||m))return e}if(i>=n&&(!r||m))a=y(e,0,n);else{var b=r&&!m&&x?{maxByteLength:x(e)}:void 0;a=new d(n,b);for(var v=new f(e),C=new f(a),O=p(n,i),T=0;T<O;T++)k(C,T,S(v,T))}h||l(e);return a}},4644:(e,t,r)=>{var a,i,n,s=r(7811),o=r(3724),c=r(4475),l=r(4901),h=r(34),u=r(9297),d=r(6955),f=r(6823),g=r(6699),p=r(6840),m=r(2106),b=r(1625),y=r(2787),w=r(2967),x=r(8227),S=r(3392),k=r(1181),v=k.enforce,C=k.get,O=c.Int8Array,T=O&&O.prototype,M=c.Uint8ClampedArray,D=M&&M.prototype,R=O&&y(O),E=T&&y(T),N=Object.prototype,_=c.TypeError,L=x("toStringTag"),j=S("TYPED_ARRAY_TAG"),U="TypedArrayConstructor",X=s&&!!w&&"Opera"!==d(c.opera),q=!1,H={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},z={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(e){var t=y(e);if(h(t)){var r=C(t);return r&&u(r,U)?r[U]:getTypedArrayConstructor(t)}},isTypedArray=function(e){if(!h(e))return!1;var t=d(e);return u(H,t)||u(z,t)};for(a in H)(n=(i=c[a])&&i.prototype)?v(n)[U]=i:X=!1;for(a in z)(n=(i=c[a])&&i.prototype)&&(v(n)[U]=i);if(!X||!l(R)||R===Function.prototype){R=function TypedArray(){throw new _("Incorrect invocation")};if(X)for(a in H)c[a]&&w(c[a],R)}if(!X||!E||E===N){E=R.prototype;if(X)for(a in H)c[a]&&w(c[a].prototype,E)}X&&y(D)!==E&&w(D,E);if(o&&!u(E,L)){q=!0;m(E,L,{configurable:!0,get:function(){return h(this)?this[j]:void 0}});for(a in H)c[a]&&g(c[a],j,a)}e.exports={NATIVE_ARRAY_BUFFER_VIEWS:X,TYPED_ARRAY_TAG:q&&j,aTypedArray:function(e){if(isTypedArray(e))return e;throw new _("Target is not a typed array")},aTypedArrayConstructor:function(e){if(l(e)&&(!w||b(R,e)))return e;throw new _(f(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,a){if(o){if(r)for(var i in H){var n=c[i];if(n&&u(n.prototype,e))try{delete n.prototype[e]}catch(r){try{n.prototype[e]=t}catch(e){}}}E[e]&&!r||p(E,e,r?t:X&&T[e]||t,a)}},exportTypedArrayStaticMethod:function(e,t,r){var a,i;if(o){if(w){if(r)for(a in H)if((i=c[a])&&u(i,e))try{delete i[e]}catch(e){}if(R[e]&&!r)return;try{return p(R,e,r?t:X&&R[e]||t)}catch(e){}}for(a in H)!(i=c[a])||i[e]&&!r||p(i,e,t)}},getTypedArrayConstructor,isView:function isView(e){if(!h(e))return!1;var t=d(e);return"DataView"===t||u(H,t)||u(z,t)},isTypedArray,TypedArray:R,TypedArrayPrototype:E}},5370:(e,t,r)=>{var a=r(6198);e.exports=function(e,t,r){for(var i=0,n=arguments.length>2?r:a(t),s=new e(n);n>i;)s[i]=t[i++];return s}},9617:(e,t,r)=>{var a=r(5397),i=r(5610),n=r(6198),createMethod=function(e){return function(t,r,s){var o=a(t),c=n(o);if(0===c)return!e&&-1;var l,h=i(s,c);if(e&&r!=r){for(;c>h;)if((l=o[h++])!=l)return!0}else for(;c>h;h++)if((e||h in o)&&o[h]===r)return e||h||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},4527:(e,t,r)=>{var a=r(3724),i=r(4376),n=TypeError,s=Object.getOwnPropertyDescriptor,o=a&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=o?function(e,t){if(i(e)&&!s(e,"length").writable)throw new n("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},7628:(e,t,r)=>{var a=r(6198);e.exports=function(e,t){for(var r=a(e),i=new t(r),n=0;n<r;n++)i[n]=e[r-n-1];return i}},9928:(e,t,r)=>{var a=r(6198),i=r(1291),n=RangeError;e.exports=function(e,t,r,s){var o=a(e),c=i(r),l=c<0?o+c:c;if(l>=o||l<0)throw new n("Incorrect index");for(var h=new t(o),u=0;u<o;u++)h[u]=u===l?s:e[u];return h}},6319:(e,t,r)=>{var a=r(8551),i=r(9539);e.exports=function(e,t,r,n){try{return n?t(a(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},4576:(e,t,r)=>{var a=r(9504),i=a({}.toString),n=a("".slice);e.exports=function(e){return n(i(e),8,-1)}},6955:(e,t,r)=>{var a=r(2140),i=r(4901),n=r(4576),s=r(8227)("toStringTag"),o=Object,c="Arguments"===n(function(){return arguments}());e.exports=a?n:function(e){var t,r,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=o(e),s))?r:c?n(t):"Object"===(a=n(t))&&i(t.callee)?"Arguments":a}},7740:(e,t,r)=>{var a=r(9297),i=r(5031),n=r(7347),s=r(4913);e.exports=function(e,t,r){for(var o=i(t),c=s.f,l=n.f,h=0;h<o.length;h++){var u=o[h];a(e,u)||r&&a(r,u)||c(e,u,l(t,u))}}},2211:(e,t,r)=>{var a=r(9039);e.exports=!a((function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype}))},2529:e=>{e.exports=function(e,t){return{value:e,done:t}}},6699:(e,t,r)=>{var a=r(3724),i=r(4913),n=r(6980);e.exports=a?function(e,t,r){return i.f(e,t,n(1,r))}:function(e,t,r){e[t]=r;return e}},6980:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4659:(e,t,r)=>{var a=r(3724),i=r(4913),n=r(6980);e.exports=function(e,t,r){a?i.f(e,t,n(0,r)):e[t]=r}},2106:(e,t,r)=>{var a=r(283),i=r(4913);e.exports=function(e,t,r){r.get&&a(r.get,t,{getter:!0});r.set&&a(r.set,t,{setter:!0});return i.f(e,t,r)}},6840:(e,t,r)=>{var a=r(4901),i=r(4913),n=r(283),s=r(9433);e.exports=function(e,t,r,o){o||(o={});var c=o.enumerable,l=void 0!==o.name?o.name:t;a(r)&&n(r,l,o);if(o.global)c?e[t]=r:s(t,r);else{try{o.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}},6279:(e,t,r)=>{var a=r(6840);e.exports=function(e,t,r){for(var i in t)a(e,i,t[i],r);return e}},9433:(e,t,r)=>{var a=r(4475),i=Object.defineProperty;e.exports=function(e,t){try{i(a,e,{value:t,configurable:!0,writable:!0})}catch(r){a[e]=t}return t}},4606:(e,t,r)=>{var a=r(6823),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+a(t)+" of "+a(e))}},3724:(e,t,r)=>{var a=r(9039);e.exports=!a((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4483:(e,t,r)=>{var a,i,n,s,o=r(4475),c=r(9714),l=r(1548),h=o.structuredClone,u=o.ArrayBuffer,d=o.MessageChannel,f=!1;if(l)f=function(e){h(e,{transfer:[e]})};else if(u)try{d||(a=c("worker_threads"))&&(d=a.MessageChannel);if(d){i=new d;n=new u(2);s=function(e){i.port1.postMessage(null,[e])};if(2===n.byteLength){s(n);0===n.byteLength&&(f=s)}}}catch(e){}e.exports=f},4055:(e,t,r)=>{var a=r(4475),i=r(34),n=a.document,s=i(n)&&i(n.createElement);e.exports=function(e){return s?n.createElement(e):{}}},6837:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},5002:e=>{e.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:(e,t,r)=>{var a=r(516),i=r(9088);e.exports=!a&&!i&&"object"==typeof window&&"object"==typeof document},516:e=>{e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},9088:(e,t,r)=>{var a=r(4475),i=r(4576);e.exports="process"===i(a.process)},9392:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,t,r)=>{var a,i,n=r(4475),s=r(9392),o=n.process,c=n.Deno,l=o&&o.versions||c&&c.version,h=l&&l.v8;h&&(i=(a=h.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1]));!i&&s&&(!(a=s.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=s.match(/Chrome\/(\d+)/))&&(i=+a[1]);e.exports=i},8727:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6193:(e,t,r)=>{var a=r(9504),i=Error,n=a("".replace),s=String(new i("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,c=o.test(s);e.exports=function(e,t){if(c&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=n(e,o,"");return e}},6518:(e,t,r)=>{var a=r(4475),i=r(7347).f,n=r(6699),s=r(6840),o=r(9433),c=r(7740),l=r(2796);e.exports=function(e,t){var r,h,u,d,f,g=e.target,p=e.global,m=e.stat;if(r=p?a:m?a[g]||o(g,{}):a[g]&&a[g].prototype)for(h in t){d=t[h];u=e.dontCallGetSet?(f=i(r,h))&&f.value:r[h];if(!l(p?h:g+(m?".":"#")+h,e.forced)&&void 0!==u){if(typeof d==typeof u)continue;c(d,u)}(e.sham||u&&u.sham)&&n(d,"sham",!0);s(r,h,d,e)}}},9039:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6080:(e,t,r)=>{var a=r(7476),i=r(9306),n=r(616),s=a(a.bind);e.exports=function(e,t){i(e);return void 0===t?e:n?s(e,t):function(){return e.apply(t,arguments)}}},616:(e,t,r)=>{var a=r(9039);e.exports=!a((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9565:(e,t,r)=>{var a=r(616),i=Function.prototype.call;e.exports=a?i.bind(i):function(){return i.apply(i,arguments)}},350:(e,t,r)=>{var a=r(3724),i=r(9297),n=Function.prototype,s=a&&Object.getOwnPropertyDescriptor,o=i(n,"name"),c=o&&"something"===function something(){}.name,l=o&&(!a||a&&s(n,"name").configurable);e.exports={EXISTS:o,PROPER:c,CONFIGURABLE:l}},6706:(e,t,r)=>{var a=r(9504),i=r(9306);e.exports=function(e,t,r){try{return a(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},7476:(e,t,r)=>{var a=r(4576),i=r(9504);e.exports=function(e){if("Function"===a(e))return i(e)}},9504:(e,t,r)=>{var a=r(616),i=Function.prototype,n=i.call,s=a&&i.bind.bind(n,n);e.exports=a?s:function(e){return function(){return n.apply(e,arguments)}}},7751:(e,t,r)=>{var a=r(4475),i=r(4901);e.exports=function(e,t){return arguments.length<2?(r=a[e],i(r)?r:void 0):a[e]&&a[e][t];var r}},1767:e=>{e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},851:(e,t,r)=>{var a=r(6955),i=r(5966),n=r(4117),s=r(6269),o=r(8227)("iterator");e.exports=function(e){if(!n(e))return i(e,o)||i(e,"@@iterator")||s[a(e)]}},81:(e,t,r)=>{var a=r(9565),i=r(9306),n=r(8551),s=r(6823),o=r(851),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?o(e):t;if(i(r))return n(a(r,e));throw new c(s(e)+" is not iterable")}},5966:(e,t,r)=>{var a=r(9306),i=r(4117);e.exports=function(e,t){var r=e[t];return i(r)?void 0:a(r)}},3789:(e,t,r)=>{var a=r(9306),i=r(8551),n=r(9565),s=r(1291),o=r(1767),c="Invalid size",l=RangeError,h=TypeError,u=Math.max,SetRecord=function(e,t){this.set=e;this.size=u(t,0);this.has=a(e.has);this.keys=a(e.keys)};SetRecord.prototype={getIterator:function(){return o(i(n(this.keys,this.set)))},includes:function(e){return n(this.has,this.set,e)}};e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw new h(c);var r=s(t);if(r<0)throw new l(c);return new SetRecord(e,r)}},4475:function(e){var check=function(e){return e&&e.Math===Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,t,r)=>{var a=r(9504),i=r(8981),n=a({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return n(i(e),t)}},421:e=>{e.exports={}},397:(e,t,r)=>{var a=r(7751);e.exports=a("document","documentElement")},5917:(e,t,r)=>{var a=r(3724),i=r(9039),n=r(4055);e.exports=!a&&!i((function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))},7055:(e,t,r)=>{var a=r(9504),i=r(9039),n=r(4576),s=Object,o=a("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===n(e)?o(e,""):s(e)}:s},3167:(e,t,r)=>{var a=r(4901),i=r(34),n=r(2967);e.exports=function(e,t,r){var s,o;n&&a(s=t.constructor)&&s!==r&&i(o=s.prototype)&&o!==r.prototype&&n(e,o);return e}},3706:(e,t,r)=>{var a=r(9504),i=r(4901),n=r(7629),s=a(Function.toString);i(n.inspectSource)||(n.inspectSource=function(e){return s(e)});e.exports=n.inspectSource},1181:(e,t,r)=>{var a,i,n,s=r(8622),o=r(4475),c=r(34),l=r(6699),h=r(9297),u=r(7629),d=r(6119),f=r(421),g="Object already initialized",p=o.TypeError,m=o.WeakMap;if(s||u.state){var b=u.state||(u.state=new m);b.get=b.get;b.has=b.has;b.set=b.set;a=function(e,t){if(b.has(e))throw new p(g);t.facade=e;b.set(e,t);return t};i=function(e){return b.get(e)||{}};n=function(e){return b.has(e)}}else{var y=d("state");f[y]=!0;a=function(e,t){if(h(e,y))throw new p(g);t.facade=e;l(e,y,t);return t};i=function(e){return h(e,y)?e[y]:{}};n=function(e){return h(e,y)}}e.exports={set:a,get:i,has:n,enforce:function(e){return n(e)?i(e):a(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}}}},4209:(e,t,r)=>{var a=r(8227),i=r(6269),n=a("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[n]===e)}},4376:(e,t,r)=>{var a=r(4576);e.exports=Array.isArray||function isArray(e){return"Array"===a(e)}},1108:(e,t,r)=>{var a=r(6955);e.exports=function(e){var t=a(e);return"BigInt64Array"===t||"BigUint64Array"===t}},4901:e=>{var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},2796:(e,t,r)=>{var a=r(9039),i=r(4901),n=/#|\.prototype\./,isForced=function(e,t){var r=o[s(e)];return r===l||r!==c&&(i(t)?a(t):!!t)},s=isForced.normalize=function(e){return String(e).replace(n,".").toLowerCase()},o=isForced.data={},c=isForced.NATIVE="N",l=isForced.POLYFILL="P";e.exports=isForced},4117:e=>{e.exports=function(e){return null==e}},34:(e,t,r)=>{var a=r(4901);e.exports=function(e){return"object"==typeof e?null!==e:a(e)}},3925:(e,t,r)=>{var a=r(34);e.exports=function(e){return a(e)||null===e}},6395:e=>{e.exports=!1},757:(e,t,r)=>{var a=r(7751),i=r(4901),n=r(1625),s=r(7040),o=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=a("Symbol");return i(t)&&n(t.prototype,o(e))}},507:(e,t,r)=>{var a=r(9565);e.exports=function(e,t,r){for(var i,n,s=r?e:e.iterator,o=e.next;!(i=a(o,s)).done;)if(void 0!==(n=t(i.value)))return n}},2652:(e,t,r)=>{var a=r(6080),i=r(9565),n=r(8551),s=r(6823),o=r(4209),c=r(6198),l=r(1625),h=r(81),u=r(851),d=r(9539),f=TypeError,Result=function(e,t){this.stopped=e;this.result=t},g=Result.prototype;e.exports=function(e,t,r){var p,m,b,y,w,x,S,k=r&&r.that,v=!(!r||!r.AS_ENTRIES),C=!(!r||!r.IS_RECORD),O=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),M=a(t,k),stop=function(e){p&&d(p,"normal",e);return new Result(!0,e)},callFn=function(e){if(v){n(e);return T?M(e[0],e[1],stop):M(e[0],e[1])}return T?M(e,stop):M(e)};if(C)p=e.iterator;else if(O)p=e;else{if(!(m=u(e)))throw new f(s(e)+" is not iterable");if(o(m)){for(b=0,y=c(e);y>b;b++)if((w=callFn(e[b]))&&l(g,w))return w;return new Result(!1)}p=h(e,m)}x=C?e.next:p.next;for(;!(S=i(x,p)).done;){try{w=callFn(S.value)}catch(e){d(p,"throw",e)}if("object"==typeof w&&w&&l(g,w))return w}return new Result(!1)}},9539:(e,t,r)=>{var a=r(9565),i=r(8551),n=r(5966);e.exports=function(e,t,r){var s,o;i(e);try{if(!(s=n(e,"return"))){if("throw"===t)throw r;return r}s=a(s,e)}catch(e){o=!0;s=e}if("throw"===t)throw r;if(o)throw s;i(s);return r}},9462:(e,t,r)=>{var a=r(9565),i=r(2360),n=r(6699),s=r(6279),o=r(8227),c=r(1181),l=r(5966),h=r(7657).IteratorPrototype,u=r(2529),d=r(9539),f=o("toStringTag"),g="IteratorHelper",p="WrapForValidIterator",m=c.set,createIteratorProxyPrototype=function(e){var t=c.getterFor(e?p:g);return s(i(h),{next:function next(){var r=t(this);if(e)return r.nextHandler();try{var a=r.done?void 0:r.nextHandler();return u(a,r.done)}catch(e){r.done=!0;throw e}},return:function(){var r=t(this),i=r.iterator;r.done=!0;if(e){var n=l(i,"return");return n?a(n,i):u(void 0,!0)}if(r.inner)try{d(r.inner.iterator,"normal")}catch(e){return d(i,"throw",e)}d(i,"normal");return u(void 0,!0)}})},b=createIteratorProxyPrototype(!0),y=createIteratorProxyPrototype(!1);n(y,f,"Iterator Helper");e.exports=function(e,t){var r=function Iterator(r,a){if(a){a.iterator=r.iterator;a.next=r.next}else a=r;a.type=t?p:g;a.nextHandler=e;a.counter=0;a.done=!1;m(this,a)};r.prototype=t?b:y;return r}},713:(e,t,r)=>{var a=r(9565),i=r(9306),n=r(8551),s=r(1767),o=r(9462),c=r(6319),l=o((function(){var e=this.iterator,t=n(a(this.next,e));if(!(this.done=!!t.done))return c(e,this.mapper,[t.value,this.counter++],!0)}));e.exports=function map(e){n(this);i(e);return new l(s(this),{mapper:e})}},7657:(e,t,r)=>{var a,i,n,s=r(9039),o=r(4901),c=r(34),l=r(2360),h=r(2787),u=r(6840),d=r(8227),f=r(6395),g=d("iterator"),p=!1;[].keys&&("next"in(n=[].keys())?(i=h(h(n)))!==Object.prototype&&(a=i):p=!0);!c(a)||s((function(){var e={};return a[g].call(e)!==e}))?a={}:f&&(a=l(a));o(a[g])||u(a,g,(function(){return this}));e.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:p}},6269:e=>{e.exports={}},6198:(e,t,r)=>{var a=r(8014);e.exports=function(e){return a(e.length)}},283:(e,t,r)=>{var a=r(9504),i=r(9039),n=r(4901),s=r(9297),o=r(3724),c=r(350).CONFIGURABLE,l=r(3706),h=r(1181),u=h.enforce,d=h.get,f=String,g=Object.defineProperty,p=a("".slice),m=a("".replace),b=a([].join),y=o&&!i((function(){return 8!==g((function(){}),"length",{value:8}).length})),w=String(String).split("String"),x=e.exports=function(e,t,r){"Symbol("===p(f(t),0,7)&&(t="["+m(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]");r&&r.getter&&(t="get "+t);r&&r.setter&&(t="set "+t);(!s(e,"name")||c&&e.name!==t)&&(o?g(e,"name",{value:t,configurable:!0}):e.name=t);y&&r&&s(r,"arity")&&e.length!==r.arity&&g(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?o&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var a=u(e);s(a,"source")||(a.source=b(w,"string"==typeof t?t:""));return e};Function.prototype.toString=x((function toString(){return n(this)&&d(this).source||l(this)}),"toString")},741:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function trunc(e){var a=+e;return(a>0?r:t)(a)}},6043:(e,t,r)=>{var a=r(9306),i=TypeError,PromiseCapability=function(e){var t,r;this.promise=new e((function(e,a){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e;r=a}));this.resolve=a(t);this.reject=a(r)};e.exports.f=function(e){return new PromiseCapability(e)}},2603:(e,t,r)=>{var a=r(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:a(e)}},2360:(e,t,r)=>{var a,i=r(8551),n=r(6801),s=r(8727),o=r(421),c=r(397),l=r(4055),h=r(6119),u="prototype",d="script",f=h("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return"<"+d+">"+e+"</"+d+">"},NullProtoObjectViaActiveX=function(e){e.write(scriptTag(""));e.close();var t=e.parentWindow.Object;e=null;return t},NullProtoObject=function(){try{a=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"!=typeof document?document.domain&&a?NullProtoObjectViaActiveX(a):function(){var e,t=l("iframe"),r="java"+d+":";t.style.display="none";c.appendChild(t);t.src=String(r);(e=t.contentWindow.document).open();e.write(scriptTag("document.F=Object"));e.close();return e.F}():NullProtoObjectViaActiveX(a);for(var e=s.length;e--;)delete NullProtoObject[u][s[e]];return NullProtoObject()};o[f]=!0;e.exports=Object.create||function create(e,t){var r;if(null!==e){EmptyConstructor[u]=i(e);r=new EmptyConstructor;EmptyConstructor[u]=null;r[f]=e}else r=NullProtoObject();return void 0===t?r:n.f(r,t)}},6801:(e,t,r)=>{var a=r(3724),i=r(8686),n=r(4913),s=r(8551),o=r(5397),c=r(1072);t.f=a&&!i?Object.defineProperties:function defineProperties(e,t){s(e);for(var r,a=o(t),i=c(t),l=i.length,h=0;l>h;)n.f(e,r=i[h++],a[r]);return e}},4913:(e,t,r)=>{var a=r(3724),i=r(5917),n=r(8686),s=r(8551),o=r(6969),c=TypeError,l=Object.defineProperty,h=Object.getOwnPropertyDescriptor,u="enumerable",d="configurable",f="writable";t.f=a?n?function defineProperty(e,t,r){s(e);t=o(t);s(r);if("function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r[f]){var a=h(e,t);if(a&&a[f]){e[t]=r.value;r={configurable:d in r?r[d]:a[d],enumerable:u in r?r[u]:a[u],writable:!1}}}return l(e,t,r)}:l:function defineProperty(e,t,r){s(e);t=o(t);s(r);if(i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");"value"in r&&(e[t]=r.value);return e}},7347:(e,t,r)=>{var a=r(3724),i=r(9565),n=r(8773),s=r(6980),o=r(5397),c=r(6969),l=r(9297),h=r(5917),u=Object.getOwnPropertyDescriptor;t.f=a?u:function getOwnPropertyDescriptor(e,t){e=o(e);t=c(t);if(h)try{return u(e,t)}catch(e){}if(l(e,t))return s(!i(n.f,e,t),e[t])}},8480:(e,t,r)=>{var a=r(1828),i=r(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return a(e,i)}},3717:(e,t)=>{t.f=Object.getOwnPropertySymbols},2787:(e,t,r)=>{var a=r(9297),i=r(4901),n=r(8981),s=r(6119),o=r(2211),c=s("IE_PROTO"),l=Object,h=l.prototype;e.exports=o?l.getPrototypeOf:function(e){var t=n(e);if(a(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?h:null}},1625:(e,t,r)=>{var a=r(9504);e.exports=a({}.isPrototypeOf)},1828:(e,t,r)=>{var a=r(9504),i=r(9297),n=r(5397),s=r(9617).indexOf,o=r(421),c=a([].push);e.exports=function(e,t){var r,a=n(e),l=0,h=[];for(r in a)!i(o,r)&&i(a,r)&&c(h,r);for(;t.length>l;)i(a,r=t[l++])&&(~s(h,r)||c(h,r));return h}},1072:(e,t,r)=>{var a=r(1828),i=r(8727);e.exports=Object.keys||function keys(e){return a(e,i)}},8773:(e,t)=>{var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,i=a&&!r.call({1:2},1);t.f=i?function propertyIsEnumerable(e){var t=a(this,e);return!!t&&t.enumerable}:r},2967:(e,t,r)=>{var a=r(6706),i=r(34),n=r(7750),s=r(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=a(Object.prototype,"__proto__","set"))(r,[]);t=r instanceof Array}catch(e){}return function setPrototypeOf(r,a){n(r);s(a);if(!i(r))return r;t?e(r,a):r.__proto__=a;return r}}():void 0)},4270:(e,t,r)=>{var a=r(9565),i=r(4901),n=r(34),s=TypeError;e.exports=function(e,t){var r,o;if("string"===t&&i(r=e.toString)&&!n(o=a(r,e)))return o;if(i(r=e.valueOf)&&!n(o=a(r,e)))return o;if("string"!==t&&i(r=e.toString)&&!n(o=a(r,e)))return o;throw new s("Can't convert object to primitive value")}},5031:(e,t,r)=>{var a=r(7751),i=r(9504),n=r(8480),s=r(3717),o=r(8551),c=i([].concat);e.exports=a("Reflect","ownKeys")||function ownKeys(e){var t=n.f(o(e)),r=s.f;return r?c(t,r(e)):t}},7979:(e,t,r)=>{var a=r(8551);e.exports=function(){var e=a(this),t="";e.hasIndices&&(t+="d");e.global&&(t+="g");e.ignoreCase&&(t+="i");e.multiline&&(t+="m");e.dotAll&&(t+="s");e.unicode&&(t+="u");e.unicodeSets&&(t+="v");e.sticky&&(t+="y");return t}},7750:(e,t,r)=>{var a=r(4117),i=TypeError;e.exports=function(e){if(a(e))throw new i("Can't call method on "+e);return e}},9286:(e,t,r)=>{var a=r(4402),i=r(8469),n=a.Set,s=a.add;e.exports=function(e){var t=new n;i(e,(function(e){s(t,e)}));return t}},3440:(e,t,r)=>{var a=r(7080),i=r(4402),n=r(9286),s=r(5170),o=r(3789),c=r(8469),l=r(507),h=i.has,u=i.remove;e.exports=function difference(e){var t=a(this),r=o(e),i=n(t);s(t)<=r.size?c(t,(function(e){r.includes(e)&&u(i,e)})):l(r.getIterator(),(function(e){h(t,e)&&u(i,e)}));return i}},4402:(e,t,r)=>{var a=r(9504),i=Set.prototype;e.exports={Set,add:a(i.add),has:a(i.has),remove:a(i.delete),proto:i}},8750:(e,t,r)=>{var a=r(7080),i=r(4402),n=r(5170),s=r(3789),o=r(8469),c=r(507),l=i.Set,h=i.add,u=i.has;e.exports=function intersection(e){var t=a(this),r=s(e),i=new l;n(t)>r.size?c(r.getIterator(),(function(e){u(t,e)&&h(i,e)})):o(t,(function(e){r.includes(e)&&h(i,e)}));return i}},4449:(e,t,r)=>{var a=r(7080),i=r(4402).has,n=r(5170),s=r(3789),o=r(8469),c=r(507),l=r(9539);e.exports=function isDisjointFrom(e){var t=a(this),r=s(e);if(n(t)<=r.size)return!1!==o(t,(function(e){if(r.includes(e))return!1}),!0);var h=r.getIterator();return!1!==c(h,(function(e){if(i(t,e))return l(h,"normal",!1)}))}},3838:(e,t,r)=>{var a=r(7080),i=r(5170),n=r(8469),s=r(3789);e.exports=function isSubsetOf(e){var t=a(this),r=s(e);return!(i(t)>r.size)&&!1!==n(t,(function(e){if(!r.includes(e))return!1}),!0)}},8527:(e,t,r)=>{var a=r(7080),i=r(4402).has,n=r(5170),s=r(3789),o=r(507),c=r(9539);e.exports=function isSupersetOf(e){var t=a(this),r=s(e);if(n(t)<r.size)return!1;var l=r.getIterator();return!1!==o(l,(function(e){if(!i(t,e))return c(l,"normal",!1)}))}},8469:(e,t,r)=>{var a=r(9504),i=r(507),n=r(4402),s=n.Set,o=n.proto,c=a(o.forEach),l=a(o.keys),h=l(new s).next;e.exports=function(e,t,r){return r?i({iterator:l(e),next:h},t):c(e,t)}},4916:(e,t,r)=>{var a=r(7751),createSetLike=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};e.exports=function(e){var t=a("Set");try{(new t)[e](createSetLike(0));try{(new t)[e](createSetLike(-1));return!1}catch(e){return!0}}catch(e){return!1}}},5170:(e,t,r)=>{var a=r(6706),i=r(4402);e.exports=a(i.proto,"size","get")||function(e){return e.size}},3650:(e,t,r)=>{var a=r(7080),i=r(4402),n=r(9286),s=r(3789),o=r(507),c=i.add,l=i.has,h=i.remove;e.exports=function symmetricDifference(e){var t=a(this),r=s(e).getIterator(),i=n(t);o(r,(function(e){l(t,e)?h(i,e):c(i,e)}));return i}},4204:(e,t,r)=>{var a=r(7080),i=r(4402).add,n=r(9286),s=r(3789),o=r(507);e.exports=function union(e){var t=a(this),r=s(e).getIterator(),c=n(t);o(r,(function(e){i(c,e)}));return c}},6119:(e,t,r)=>{var a=r(5745),i=r(3392),n=a("keys");e.exports=function(e){return n[e]||(n[e]=i(e))}},7629:(e,t,r)=>{var a=r(6395),i=r(4475),n=r(9433),s="__core-js_shared__",o=e.exports=i[s]||n(s,{});(o.versions||(o.versions=[])).push({version:"3.36.1",mode:a?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,t,r)=>{var a=r(7629);e.exports=function(e,t){return a[e]||(a[e]=t||{})}},1548:(e,t,r)=>{var a=r(4475),i=r(9039),n=r(7388),s=r(7290),o=r(516),c=r(9088),l=a.structuredClone;e.exports=!!l&&!i((function(){if(o&&n>92||c&&n>94||s&&n>97)return!1;var e=new ArrayBuffer(8),t=l(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},4495:(e,t,r)=>{var a=r(7388),i=r(9039),n=r(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},5610:(e,t,r)=>{var a=r(1291),i=Math.max,n=Math.min;e.exports=function(e,t){var r=a(e);return r<0?i(r+t,0):n(r,t)}},5854:(e,t,r)=>{var a=r(2777),i=TypeError;e.exports=function(e){var t=a(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},7696:(e,t,r)=>{var a=r(1291),i=r(8014),n=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=a(e),r=i(t);if(t!==r)throw new n("Wrong length or index");return r}},5397:(e,t,r)=>{var a=r(7055),i=r(7750);e.exports=function(e){return a(i(e))}},1291:(e,t,r)=>{var a=r(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:a(t)}},8014:(e,t,r)=>{var a=r(1291),i=Math.min;e.exports=function(e){var t=a(e);return t>0?i(t,9007199254740991):0}},8981:(e,t,r)=>{var a=r(7750),i=Object;e.exports=function(e){return i(a(e))}},2777:(e,t,r)=>{var a=r(9565),i=r(34),n=r(757),s=r(5966),o=r(4270),c=r(8227),l=TypeError,h=c("toPrimitive");e.exports=function(e,t){if(!i(e)||n(e))return e;var r,c=s(e,h);if(c){void 0===t&&(t="default");r=a(c,e,t);if(!i(r)||n(r))return r;throw new l("Can't convert object to primitive value")}void 0===t&&(t="number");return o(e,t)}},6969:(e,t,r)=>{var a=r(2777),i=r(757);e.exports=function(e){var t=a(e,"string");return i(t)?t:t+""}},2140:(e,t,r)=>{var a={};a[r(8227)("toStringTag")]="z";e.exports="[object z]"===String(a)},655:(e,t,r)=>{var a=r(6955),i=String;e.exports=function(e){if("Symbol"===a(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},9714:(e,t,r)=>{var a=r(9088);e.exports=function(e){try{if(a)return Function('return require("'+e+'")')()}catch(e){}}},6823:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},3392:(e,t,r)=>{var a=r(9504),i=0,n=Math.random(),s=a(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+n,36)}},7040:(e,t,r)=>{var a=r(4495);e.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,t,r)=>{var a=r(3724),i=r(9039);e.exports=a&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},8622:(e,t,r)=>{var a=r(4475),i=r(4901),n=a.WeakMap;e.exports=i(n)&&/native code/.test(String(n))},8227:(e,t,r)=>{var a=r(4475),i=r(5745),n=r(9297),s=r(3392),o=r(4495),c=r(7040),l=a.Symbol,h=i("wks"),u=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){n(h,e)||(h[e]=o&&n(l,e)?l[e]:u("Symbol."+e));return h[e]}},6573:(e,t,r)=>{var a=r(3724),i=r(2106),n=r(3238),s=ArrayBuffer.prototype;a&&!("detached"in s)&&i(s,"detached",{configurable:!0,get:function detached(){return n(this)}})},7936:(e,t,r)=>{var a=r(6518),i=r(5636);i&&a({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function transferToFixedLength(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},8100:(e,t,r)=>{var a=r(6518),i=r(5636);i&&a({target:"ArrayBuffer",proto:!0},{transfer:function transfer(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},4114:(e,t,r)=>{var a=r(6518),i=r(8981),n=r(6198),s=r(4527),o=r(6837);a({target:"Array",proto:!0,arity:1,forced:r(9039)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function push(e){var t=i(this),r=n(t),a=arguments.length;o(r+a);for(var c=0;c<a;c++){t[r]=arguments[c];r++}s(t,r);return r}})},3609:(e,t,r)=>{var a=r(6518),i=r(8981),n=r(6198),s=r(4527),o=r(4606),c=r(6837);a({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function unshift(e){var t=i(this),r=n(t),a=arguments.length;if(a){c(r+a);for(var l=r;l--;){var h=l+a;l in t?t[h]=t[l]:o(t,h)}for(var u=0;u<a;u++)t[u]=arguments[u]}return s(t,r+a)}})},4628:(e,t,r)=>{var a=r(6518),i=r(6043);a({target:"Promise",stat:!0},{withResolvers:function withResolvers(){var e=i.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},9479:(e,t,r)=>{var a=r(4475),i=r(3724),n=r(2106),s=r(7979),o=r(9039),c=a.RegExp,l=c.prototype;i&&o((function(){var e=!0;try{c(".","d")}catch(t){e=!1}var t={},r="",a=e?"dgimsy":"gimsy",addGetter=function(e,a){Object.defineProperty(t,e,{get:function(){r+=a;return!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};e&&(i.hasIndices="d");for(var n in i)addGetter(n,i[n]);return Object.getOwnPropertyDescriptor(l,"flags").get.call(t)!==a||r!==a}))&&n(l,"flags",{configurable:!0,get:s})},7467:(e,t,r)=>{var a=r(7628),i=r(4644),n=i.aTypedArray,s=i.exportTypedArrayMethod,o=i.getTypedArrayConstructor;s("toReversed",(function toReversed(){return a(n(this),o(this))}))},4732:(e,t,r)=>{var a=r(4644),i=r(9504),n=r(9306),s=r(5370),o=a.aTypedArray,c=a.getTypedArrayConstructor,l=a.exportTypedArrayMethod,h=i(a.TypedArrayPrototype.sort);l("toSorted",(function toSorted(e){void 0!==e&&n(e);var t=o(this),r=s(c(t),t);return h(r,e)}))},9577:(e,t,r)=>{var a=r(9928),i=r(4644),n=r(1108),s=r(1291),o=r(5854),c=i.aTypedArray,l=i.getTypedArrayConstructor,h=i.exportTypedArrayMethod,u=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();h("with",{with:function(e,t){var r=c(this),i=s(e),h=n(r)?o(t):+t;return a(r,l(r),i,h)}}.with,!u)},8992:(e,t,r)=>{var a=r(6518),i=r(4475),n=r(679),s=r(8551),o=r(4901),c=r(2787),l=r(2106),h=r(4659),u=r(9039),d=r(9297),f=r(8227),g=r(7657).IteratorPrototype,p=r(3724),m=r(6395),b="constructor",y="Iterator",w=f("toStringTag"),x=TypeError,S=i[y],k=m||!o(S)||S.prototype!==g||!u((function(){S({})})),v=function Iterator(){n(this,g);if(c(this)===g)throw new x("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(e,t){p?l(g,e,{configurable:!0,get:function(){return t},set:function(t){s(this);if(this===g)throw new x("You can't redefine this property");d(this,e)?this[e]=t:h(this,e,t)}}):g[e]=t};d(g,w)||defineIteratorPrototypeAccessor(w,y);!k&&d(g,b)&&g[b]!==Object||defineIteratorPrototypeAccessor(b,v);v.prototype=g;a({global:!0,constructor:!0,forced:k},{Iterator:v})},3215:(e,t,r)=>{var a=r(6518),i=r(2652),n=r(9306),s=r(8551),o=r(1767);a({target:"Iterator",proto:!0,real:!0},{every:function every(e){s(this);n(e);var t=o(this),r=0;return!i(t,(function(t,a){if(!e(t,r++))return a()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},4520:(e,t,r)=>{var a=r(6518),i=r(9565),n=r(9306),s=r(8551),o=r(1767),c=r(9462),l=r(6319),h=r(6395),u=c((function(){for(var e,t,r=this.iterator,a=this.predicate,n=this.next;;){e=s(i(n,r));if(this.done=!!e.done)return;t=e.value;if(l(r,a,[t,this.counter++],!0))return t}}));a({target:"Iterator",proto:!0,real:!0,forced:h},{filter:function filter(e){s(this);n(e);return new u(o(this),{predicate:e})}})},2577:(e,t,r)=>{var a=r(6518),i=r(2652),n=r(9306),s=r(8551),o=r(1767);a({target:"Iterator",proto:!0,real:!0},{find:function find(e){s(this);n(e);var t=o(this),r=0;return i(t,(function(t,a){if(e(t,r++))return a(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},3949:(e,t,r)=>{var a=r(6518),i=r(2652),n=r(9306),s=r(8551),o=r(1767);a({target:"Iterator",proto:!0,real:!0},{forEach:function forEach(e){s(this);n(e);var t=o(this),r=0;i(t,(function(t){e(t,r++)}),{IS_RECORD:!0})}})},1454:(e,t,r)=>{var a=r(6518),i=r(713);a({target:"Iterator",proto:!0,real:!0,forced:r(6395)},{map:i})},8872:(e,t,r)=>{var a=r(6518),i=r(2652),n=r(9306),s=r(8551),o=r(1767),c=TypeError;a({target:"Iterator",proto:!0,real:!0},{reduce:function reduce(e){s(this);n(e);var t=o(this),r=arguments.length<2,a=r?void 0:arguments[1],l=0;i(t,(function(t){if(r){r=!1;a=t}else a=e(a,t,l);l++}),{IS_RECORD:!0});if(r)throw new c("Reduce of empty iterator with no initial value");return a}})},7550:(e,t,r)=>{var a=r(6518),i=r(2652),n=r(9306),s=r(8551),o=r(1767);a({target:"Iterator",proto:!0,real:!0},{some:function some(e){s(this);n(e);var t=o(this),r=0;return i(t,(function(t,a){if(e(t,r++))return a()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},1795:(e,t,r)=>{var a=r(6518),i=r(8551),n=r(2652),s=r(1767),o=[].push;a({target:"Iterator",proto:!0,real:!0},{toArray:function toArray(){var e=[];n(s(i(this)),o,{that:e,IS_RECORD:!0});return e}})},3375:(e,t,r)=>{var a=r(6518),i=r(3440);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("difference")},{difference:i})},9225:(e,t,r)=>{var a=r(6518),i=r(9039),n=r(8750);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("intersection")||i((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:n})},3972:(e,t,r)=>{var a=r(6518),i=r(4449);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("isDisjointFrom")},{isDisjointFrom:i})},9209:(e,t,r)=>{var a=r(6518),i=r(3838);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("isSubsetOf")},{isSubsetOf:i})},5714:(e,t,r)=>{var a=r(6518),i=r(8527);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("isSupersetOf")},{isSupersetOf:i})},7561:(e,t,r)=>{var a=r(6518),i=r(3650);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("symmetricDifference")},{symmetricDifference:i})},6197:(e,t,r)=>{var a=r(6518),i=r(4204);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("union")},{union:i})},4979:(e,t,r)=>{var a=r(6518),i=r(4475),n=r(7751),s=r(6980),o=r(4913).f,c=r(9297),l=r(679),h=r(3167),u=r(2603),d=r(5002),f=r(6193),g=r(3724),p=r(6395),m="DOMException",b=n("Error"),y=n(m),w=function DOMException(){l(this,x);var e=arguments.length,t=u(e<1?void 0:arguments[0]),r=u(e<2?void 0:arguments[1],"Error"),a=new y(t,r),i=new b(t);i.name=m;o(a,"stack",s(1,f(i.stack,1)));h(a,this,w);return a},x=w.prototype=y.prototype,S="stack"in new b(m),k="stack"in new y(1,2),v=y&&g&&Object.getOwnPropertyDescriptor(i,m),C=!(!v||v.writable&&v.configurable),O=S&&!C&&!k;a({global:!0,constructor:!0,forced:p||O},{DOMException:O?w:y});var T=n(m),M=T.prototype;if(M.constructor!==T){p||o(M,"constructor",s(1,T));for(var D in d)if(c(d,D)){var R=d[D],E=R.s;c(T,E)||o(T,E,s(6,R.c))}}},3611:(e,t,r)=>{var a=r(6518),i=r(4475),n=r(2106),s=r(3724),o=TypeError,c=Object.defineProperty,l=i.self!==i;try{if(s){var h=Object.getOwnPropertyDescriptor(i,"self");!l&&h&&h.get&&h.enumerable||n(i,"self",{get:function self(){return i},set:function self(e){if(this!==i)throw new o("Illegal invocation");c(i,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else a({global:!0,simple:!0,forced:l},{self:i})}catch(e){}},4603:(e,t,r)=>{var a=r(6840),i=r(9504),n=r(655),s=r(2812),o=URLSearchParams,c=o.prototype,l=i(c.append),h=i(c.delete),u=i(c.forEach),d=i([].push),f=new o("a=1&a=2&b=3");f.delete("a",1);f.delete("b",void 0);f+""!="a=2"&&a(c,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return h(this,e);var a=[];u(this,(function(e,t){d(a,{key:t,value:e})}));s(t,1);for(var i,o=n(e),c=n(r),f=0,g=0,p=!1,m=a.length;f<m;){i=a[f++];if(p||i.key===o){p=!0;h(this,i.key)}else g++}for(;g<m;)(i=a[g++]).key===o&&i.value===c||l(this,i.key,i.value)}),{enumerable:!0,unsafe:!0})},7566:(e,t,r)=>{var a=r(6840),i=r(9504),n=r(655),s=r(2812),o=URLSearchParams,c=o.prototype,l=i(c.getAll),h=i(c.has),u=new o("a=1");!u.has("a",2)&&u.has("a",void 0)||a(c,"has",(function has(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return h(this,e);var a=l(this,e);s(t,1);for(var i=n(r),o=0;o<a.length;)if(a[o++]===i)return!0;return!1}),{enumerable:!0,unsafe:!0})},8721:(e,t,r)=>{var a=r(3724),i=r(9504),n=r(2106),s=URLSearchParams.prototype,o=i(s.forEach);a&&!("size"in s)&&n(s,"size",{get:function size(){var e=0;o(this,(function(){e++}));return e},configurable:!0,enumerable:!0})}},t={};function __webpack_require__(r){var a=t[r];if(void 0!==a)return a.exports;var i=t[r]={exports:{}};e[r].call(i.exports,i,i.exports,__webpack_require__);return i.exports}__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})};__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var __webpack_exports__={};(()=>{__webpack_require__.d(__webpack_exports__,{WorkerMessageHandler:()=>WorkerMessageHandler});__webpack_require__(4114),__webpack_require__(6573),__webpack_require__(8100),__webpack_require__(7936),__webpack_require__(4628),__webpack_require__(7467),__webpack_require__(4732),__webpack_require__(9577),__webpack_require__(8992),__webpack_require__(3949),__webpack_require__(1454),__webpack_require__(7550),__webpack_require__(3375),__webpack_require__(9225),__webpack_require__(3972),__webpack_require__(9209),__webpack_require__(5714),__webpack_require__(7561),__webpack_require__(6197),__webpack_require__(3611),__webpack_require__(4603),__webpack_require__(7566),__webpack_require__(8721);const e=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),t=[1,0,0,1,0,0],r=[.001,0,0,.001,0,0],a=1.35,i=.35,n=.25925925925925924,s=1,o=2,c=4,l=8,h=16,u=64,d=256,f="pdfjs_internal_editor_",g=3,p=9,m=13,b=15,y={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},w=0,x=4,S=1,k=2,v=3,C=1,O=2,T=3,M=4,D=5,R=6,E=7,N=8,_=9,L=10,j=11,U=12,X=13,q=14,H=15,z=16,W=17,$=20,G="Group",V="R",K=1,J=2,Y=4,Z=16,Q=32,ee=128,te=512,re=1,ae=2,ie=4096,ne=8192,se=32768,oe=65536,ce=131072,le=1048576,he=2097152,ue=8388608,de=16777216,fe=1,ge=2,pe=3,me=4,be=5,ye={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},we={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},xe={O:"PageOpen",C:"PageClose"},Se={ERRORS:0,WARNINGS:1,INFOS:5},ke={NONE:0,BINARY:1},Ae=1,ve=2,Ce=3,Fe=4,Ie=5,Oe=6,Te=7,Me=8,De=9,Be=10,Re=11,Ee=12,Ne=13,Pe=14,_e=15,Le=16,je=17,Ue=18,Xe=19,qe=20,He=21,ze=22,We=23,$e=24,Ge=25,Ve=26,Ke=27,Je=28,Ye=29,Ze=30,Qe=31,et=32,tt=33,rt=34,at=35,it=36,nt=37,st=38,ot=39,ct=40,lt=41,ht=42,ut=43,dt=44,ft=45,gt=46,pt=47,mt=48,bt=49,yt=50,wt=51,xt=52,St=53,kt=54,At=55,vt=56,Ct=57,Ft=58,It=59,Ot=60,Tt=61,Mt=62,Dt=63,Bt=64,Rt=65,Et=66,Nt=67,Pt=68,_t=69,Lt=70,jt=71,Ut=72,Xt=73,qt=74,Ht=75,zt=76,Wt=77,$t=80,Gt=81,Vt=83,Kt=84,Jt=85,Yt=86,Zt=87,Qt=88,er=89,tr=90,rr=91,ar=1,ir=2;let nr=Se.WARNINGS;function getVerbosityLevel(){return nr}function info(e){nr>=Se.INFOS&&console.log(`Info: ${e}`)}function warn(e){nr>=Se.WARNINGS&&console.log(`Warning: ${e}`)}function unreachable(e){throw new Error(e)}function assert(e,t){e||unreachable(t)}function createValidAbsoluteUrl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return null;try{if(r&&"string"==typeof e){if(r.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);t?.length>=2&&(e=`http://${e}`)}if(r.tryConvertEncoding)try{e=stringToUTF8String(e)}catch{}}const a=t?new URL(e,t):new URL(e);if(function _isValidProtocol(e){switch(e?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(a))return a}catch{}return null}function shadow(e,t,r){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Object.defineProperty(e,t,{value:r,enumerable:!a,configurable:!0,writable:!1});return r}const sr=function BaseExceptionClosure(){function BaseException(e,t){this.constructor===BaseException&&unreachable("Cannot initialize BaseException.");this.message=e;this.name=t}BaseException.prototype=new Error;BaseException.constructor=BaseException;return BaseException}();class PasswordException extends sr{constructor(e,t){super(e,"PasswordException");this.code=t}}class UnknownErrorException extends sr{constructor(e,t){super(e,"UnknownErrorException");this.details=t}}class InvalidPDFException extends sr{constructor(e){super(e,"InvalidPDFException")}}class MissingPDFException extends sr{constructor(e){super(e,"MissingPDFException")}}class UnexpectedResponseException extends sr{constructor(e,t){super(e,"UnexpectedResponseException");this.status=t}}class FormatError extends sr{constructor(e){super(e,"FormatError")}}class AbortException extends sr{constructor(e){super(e,"AbortException")}}function bytesToString(e){"object"==typeof e&&void 0!==e?.length||unreachable("Invalid argument for bytesToString");const t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);const a=[];for(let i=0;i<t;i+=r){const n=Math.min(i+r,t),s=e.subarray(i,n);a.push(String.fromCharCode.apply(null,s))}return a.join("")}function stringToBytes(e){"string"!=typeof e&&unreachable("Invalid argument for stringToBytes");const t=e.length,r=new Uint8Array(t);for(let a=0;a<t;++a)r[a]=255&e.charCodeAt(a);return r}function string32(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function objectSize(e){return Object.keys(e).length}class FeatureTest{static get isLittleEndian(){return shadow(this,"isLittleEndian",function isLittleEndian(){const e=new Uint8Array(4);e[0]=1;return 1===new Uint32Array(e.buffer,0,1)[0]}())}static get isEvalSupported(){return shadow(this,"isEvalSupported",function isEvalSupported(){try{new Function("");return!0}catch{return!1}}())}static get isOffscreenCanvasSupported(){return shadow(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}static get platform(){return"undefined"!=typeof navigator&&"string"==typeof navigator?.platform?shadow(this,"platform",{isMac:navigator.platform.includes("Mac")}):shadow(this,"platform",{isMac:!1})}static get isCSSRoundSupported(){return shadow(this,"isCSSRoundSupported",globalThis.CSS?.supports?.("width: round(1.5px, 1px)"))}}const or=Array.from(Array(256).keys(),(e=>e.toString(16).padStart(2,"0")));class Util{static makeHexColor(e,t,r){return`#${or[e]}${or[t]}${or[r]}`}static scaleMinMax(e,t){let r;if(e[0]){if(e[0]<0){r=t[0];t[0]=t[2];t[2]=r}t[0]*=e[0];t[2]*=e[0];if(e[3]<0){r=t[1];t[1]=t[3];t[3]=r}t[1]*=e[3];t[3]*=e[3]}else{r=t[0];t[0]=t[1];t[1]=r;r=t[2];t[2]=t[3];t[3]=r;if(e[1]<0){r=t[1];t[1]=t[3];t[3]=r}t[1]*=e[1];t[3]*=e[1];if(e[2]<0){r=t[0];t[0]=t[2];t[2]=r}t[0]*=e[2];t[2]*=e[2]}t[0]+=e[4];t[1]+=e[5];t[2]+=e[4];t[3]+=e[5]}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}static applyInverseTransform(e,t){const r=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r]}static getAxialAlignedBoundingBox(e,t){const r=this.applyTransform(e,t),a=this.applyTransform(e.slice(2,4),t),i=this.applyTransform([e[0],e[3]],t),n=this.applyTransform([e[2],e[1]],t);return[Math.min(r[0],a[0],i[0],n[0]),Math.min(r[1],a[1],i[1],n[1]),Math.max(r[0],a[0],i[0],n[0]),Math.max(r[1],a[1],i[1],n[1])]}static inverseTransform(e){const t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e){const t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],a=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],n=e[2]*t[1]+e[3]*t[3],s=(r+n)/2,o=Math.sqrt((r+n)**2-4*(r*n-i*a))/2,c=s+o||1,l=s-o||1;return[Math.sqrt(c),Math.sqrt(l)]}static normalizeRect(e){const t=e.slice(0);if(e[0]>e[2]){t[0]=e[2];t[2]=e[0]}if(e[1]>e[3]){t[1]=e[3];t[3]=e[1]}return t}static intersect(e,t){const r=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),a=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(r>a)return null;const i=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),n=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return i>n?null:[r,i,a,n]}static#e(e,t,r,a,i,n,s,o,c,l){if(c<=0||c>=1)return;const h=1-c,u=c*c,d=u*c,f=h*(h*(h*e+3*c*t)+3*u*r)+d*a,g=h*(h*(h*i+3*c*n)+3*u*s)+d*o;l[0]=Math.min(l[0],f);l[1]=Math.min(l[1],g);l[2]=Math.max(l[2],f);l[3]=Math.max(l[3],g)}static#t(e,t,r,a,i,n,s,o,c,l,h,u){if(Math.abs(c)<1e-12){Math.abs(l)>=1e-12&&this.#e(e,t,r,a,i,n,s,o,-h/l,u);return}const d=l**2-4*h*c;if(d<0)return;const f=Math.sqrt(d),g=2*c;this.#e(e,t,r,a,i,n,s,o,(-l+f)/g,u);this.#e(e,t,r,a,i,n,s,o,(-l-f)/g,u)}static bezierBoundingBox(e,t,r,a,i,n,s,o,c){if(c){c[0]=Math.min(c[0],e,s);c[1]=Math.min(c[1],t,o);c[2]=Math.max(c[2],e,s);c[3]=Math.max(c[3],t,o)}else c=[Math.min(e,s),Math.min(t,o),Math.max(e,s),Math.max(t,o)];this.#t(e,r,i,s,t,a,n,o,3*(3*(r-i)-e+s),6*(e-2*r+i),3*(r-e),c);this.#t(e,r,i,s,t,a,n,o,3*(3*(a-n)-t+o),6*(t-2*a+n),3*(a-t),c);return c}}const cr=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,