UNPKG

pdfjs-dist

Version:

Generic build of Mozilla's PDF.js library.

25 lines 1.08 MB
/** * @licstart The following is the entire license notice for the * JavaScript code in this page * * Copyright 2024 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 */ /** * pdfjsVersion = 5.3.31 * pdfjsBuild = 47ad820d9 */var e={34:(e,t,r)=>{var a=r(4901);e.exports=function(e){return"object"==typeof e?null!==e:a(e)}},81:(e,t,r)=>{var a=r(9565),n=r(9306),i=r(8551),s=r(6823),o=r(851),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?o(e):t;if(n(r))return i(a(r,e));throw new c(s(e)+" is not iterable")}},116:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(2652),s=r(9306),o=r(8551),c=r(1767),l=r(9539),h=r(4549)("find",TypeError);a({target:"Iterator",proto:!0,real:!0,forced:h},{find:function find(e){o(this);try{s(e)}catch(e){l(this,"throw",e)}if(h)return n(h,this,e);var t=c(this),r=0;return i(t,(function(t,a){if(e(t,r++))return a(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},283:(e,t,r)=>{var a=r(9504),n=r(9039),i=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&&!n((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 i(this)&&d(this).source||l(this)}),"toString")},350:(e,t,r)=>{var a=r(3724),n=r(9297),i=Function.prototype,s=a&&Object.getOwnPropertyDescriptor,o=n(i,"name"),c=o&&"something"===function something(){}.name,l=o&&(!a||a&&s(i,"name").configurable);e.exports={EXISTS:o,PROPER:c,CONFIGURABLE:l}},397:(e,t,r)=>{var a=r(7751);e.exports=a("document","documentElement")},421:e=>{e.exports={}},507:(e,t,r)=>{var a=r(9565);e.exports=function(e,t,r){for(var n,i,s=r?e:e.iterator,o=e.next;!(n=a(o,s)).done;)if(void 0!==(i=t(n.value)))return i}},531:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(9306),s=r(8551),o=r(1767),c=r(8646),l=r(9462),h=r(9539),u=r(6395),d=r(4549),f=!u&&d("flatMap",TypeError),g=l((function(){for(var e,t,r=this.iterator,a=this.mapper;;){if(t=this.inner)try{if(!(e=s(n(t.next,t.iterator))).done)return e.value;this.inner=null}catch(e){h(r,"throw",e)}e=s(n(this.next,r));if(this.done=!!e.done)return;try{this.inner=c(a(e.value,this.counter++),!1)}catch(e){h(r,"throw",e)}}}));a({target:"Iterator",proto:!0,real:!0,forced:u||f},{flatMap:function flatMap(e){s(this);try{i(e)}catch(e){h(this,"throw",e)}return f?n(f,this,e):new g(o(this),{mapper:e,inner:null})}})},616:(e,t,r)=>{var a=r(9039);e.exports=!a((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},655:(e,t,r)=>{var a=r(6955),n=String;e.exports=function(e){if("Symbol"===a(e))throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}},679:(e,t,r)=>{var a=r(1625),n=TypeError;e.exports=function(e,t){if(a(t,e))return e;throw new n("Incorrect invocation")}},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)}},757:(e,t,r)=>{var a=r(7751),n=r(4901),i=r(1625),s=r(7040),o=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=a("Symbol");return n(t)&&i(t.prototype,o(e))}},851:(e,t,r)=>{var a=r(6955),n=r(5966),i=r(4117),s=r(6269),o=r(8227)("iterator");e.exports=function(e){if(!i(e))return n(e,o)||n(e,"@@iterator")||s[a(e)]}},944:e=>{var t=TypeError;e.exports=function(e){var r=e&&e.alphabet;if(void 0===r||"base64"===r||"base64url"===r)return r||"base64";throw new t("Incorrect `alphabet` option")}},1072:(e,t,r)=>{var a=r(1828),n=r(8727);e.exports=Object.keys||function keys(e){return a(e,n)}},1103:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},1148:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(2652),s=r(9306),o=r(8551),c=r(1767),l=r(9539),h=r(4549)("every",TypeError);a({target:"Iterator",proto:!0,real:!0,forced:h},{every:function every(e){o(this);try{s(e)}catch(e){l(this,"throw",e)}if(h)return n(h,this,e);var t=c(this),r=0;return!i(t,(function(t,a){if(!e(t,r++))return a()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},1181:(e,t,r)=>{var a,n,i,s=r(8622),o=r(4576),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};n=function(e){return b.get(e)||{}};i=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};n=function(e){return h(e,y)?e[y]:{}};i=function(e){return h(e,y)}}e.exports={set:a,get:n,has:i,enforce:function(e){return i(e)?n(e):a(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=n(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}}}},1291:(e,t,r)=>{var a=r(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:a(t)}},1548:(e,t,r)=>{var a=r(4576),n=r(9039),i=r(9519),s=r(4215),o=a.structuredClone;e.exports=!!o&&!n((function(){if("DENO"===s&&i>92||"NODE"===s&&i>94||"BROWSER"===s&&i>97)return!1;var e=new ArrayBuffer(8),t=o(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},1549:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(9143),s=r(4154),o=n.Uint8Array,c=!o||!o.prototype.setFromBase64||!function(){var e=new o([255,255,255,255,255]);try{e.setFromBase64("MjYyZg===")}catch(t){return 50===e[0]&&54===e[1]&&50===e[2]&&255===e[3]&&255===e[4]}}();o&&a({target:"Uint8Array",proto:!0,forced:c},{setFromBase64:function setFromBase64(e){s(this);var t=i(e,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})},1625:(e,t,r)=>{var a=r(9504);e.exports=a({}.isPrototypeOf)},1689:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(8745),s=r(7680),o=r(6043),c=r(9306),l=r(1103),h=n.Promise,u=!1;a({target:"Promise",stat:!0,forced:!h||!h.try||l((function(){h.try((function(e){u=8===e}),8)})).error||!u},{try:function(e){var t=arguments.length>1?s(arguments,1):[],r=o.f(this),a=l((function(){return i(c(e),void 0,t)}));(a.error?r.reject:r.resolve)(a.value);return r.promise}})},1698:(e,t,r)=>{var a=r(6518),n=r(4204);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("union")},{union:n})},1701:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(9306),s=r(8551),o=r(1767),c=r(9462),l=r(6319),h=r(9539),u=r(4549),d=r(6395),f=!d&&u("map",TypeError),g=c((function(){var e=this.iterator,t=s(n(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)}));a({target:"Iterator",proto:!0,real:!0,forced:d||f},{map:function map(e){s(this);try{i(e)}catch(e){h(this,"throw",e)}return f?n(f,this,e):new g(o(this),{mapper:e})}})},1767:e=>{e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},1806:(e,t,r)=>{var a=r(6518),n=r(8551),i=r(2652),s=r(1767),o=[].push;a({target:"Iterator",proto:!0,real:!0},{toArray:function toArray(){var e=[];i(s(n(this)),o,{that:e,IS_RECORD:!0});return e}})},1828:(e,t,r)=>{var a=r(9504),n=r(9297),i=r(5397),s=r(9617).indexOf,o=r(421),c=a([].push);e.exports=function(e,t){var r,a=i(e),l=0,h=[];for(r in a)!n(o,r)&&n(a,r)&&c(h,r);for(;t.length>l;)n(a,r=t[l++])&&(~s(h,r)||c(h,r));return h}},2106:(e,t,r)=>{var a=r(283),n=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 n.f(e,t,r)}},2140:(e,t,r)=>{var a={};a[r(8227)("toStringTag")]="z";e.exports="[object z]"===String(a)},2195:(e,t,r)=>{var a=r(9504),n=a({}.toString),i=a("".slice);e.exports=function(e){return i(n(e),8,-1)}},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}))},2303:(e,t,r)=>{var a=r(4576),n=r(9504),i=a.Uint8Array,s=a.SyntaxError,o=a.parseInt,c=Math.min,l=/[^\da-f]/i,h=n(l.exec),u=n("".slice);e.exports=function(e,t){var r=e.length;if(r%2!=0)throw new s("String should be an even number of characters");for(var a=t?c(t.length,r/2):r/2,n=t||new i(a),d=0,f=0;f<a;){var g=u(e,d,d+=2);if(h(l,g))throw new s("String should only contain hex characters");n[f++]=o(g,16)}return{bytes:n,read:d}}},2360:(e,t,r)=>{var a,n=r(8551),i=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]=n(e);r=new EmptyConstructor;EmptyConstructor[u]=null;r[f]=e}else r=NullProtoObject();return void 0===t?r:i.f(r,t)}},2475:(e,t,r)=>{var a=r(6518),n=r(8527);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("isSupersetOf",(function(e){return!e}))},{isSupersetOf:n})},2489:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(9306),s=r(8551),o=r(1767),c=r(9462),l=r(6319),h=r(6395),u=r(9539),d=r(4549),f=!h&&d("filter",TypeError),g=c((function(){for(var e,t,r=this.iterator,a=this.predicate,i=this.next;;){e=s(n(i,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||f},{filter:function filter(e){s(this);try{i(e)}catch(e){u(this,"throw",e)}return f?n(f,this,e):new g(o(this),{predicate:e})}})},2529:e=>{e.exports=function(e,t){return{value:e,done:t}}},2603:(e,t,r)=>{var a=r(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:a(e)}},2652:(e,t,r)=>{var a=r(6080),n=r(9565),i=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,C=!(!r||!r.AS_ENTRIES),v=!(!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(C){i(e);return T?M(e[0],e[1],stop):M(e[0],e[1])}return T?M(e,stop):M(e)};if(v)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=v?e.next:p.next;for(;!(S=n(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)}},2777:(e,t,r)=>{var a=r(9565),n=r(34),i=r(757),s=r(5966),o=r(4270),c=r(8227),l=TypeError,h=c("toPrimitive");e.exports=function(e,t){if(!n(e)||i(e))return e;var r,c=s(e,h);if(c){void 0===t&&(t="default");r=a(c,e,t);if(!n(r)||i(r))return r;throw new l("Can't convert object to primitive value")}void 0===t&&(t="number");return o(e,t)}},2787:(e,t,r)=>{var a=r(9297),n=r(4901),i=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=i(e);if(a(t,c))return t[c];var r=t.constructor;return n(r)&&t instanceof r?r.prototype:t instanceof l?h:null}},2796:(e,t,r)=>{var a=r(9039),n=r(4901),i=/#|\.prototype\./,isForced=function(e,t){var r=o[s(e)];return r===l||r!==c&&(n(t)?a(t):!!t)},s=isForced.normalize=function(e){return String(e).replace(i,".").toLowerCase()},o=isForced.data={},c=isForced.NATIVE="N",l=isForced.POLYFILL="P";e.exports=isForced},2804:e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=t+"+/",a=t+"-_",inverse=function(e){for(var t={},r=0;r<64;r++)t[e.charAt(r)]=r;return t};e.exports={i2c:r,c2i:inverse(r),i2cUrl:a,c2iUrl:inverse(a)}},2812:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},2839:(e,t,r)=>{var a=r(4576).navigator,n=a&&a.userAgent;e.exports=n?String(n):""},2967:(e,t,r)=>{var a=r(6706),n=r(34),i=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){i(r);s(a);if(!n(r))return r;t?e(r,a):r.__proto__=a;return r}}():void 0)},3167:(e,t,r)=>{var a=r(4901),n=r(34),i=r(2967);e.exports=function(e,t,r){var s,o;i&&a(s=t.constructor)&&s!==r&&n(o=s.prototype)&&o!==r.prototype&&i(e,o);return e}},3238:(e,t,r)=>{var a=r(4576),n=r(7811),i=r(7394),s=a.DataView;e.exports=function(e){if(!n||0!==i(e))return!1;try{new s(e);return!1}catch(e){return!0}}},3392:(e,t,r)=>{var a=r(9504),n=0,i=Math.random(),s=a(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}},3440:(e,t,r)=>{var a=r(7080),n=r(4402),i=r(9286),s=r(5170),o=r(3789),c=r(8469),l=r(507),h=n.has,u=n.remove;e.exports=function difference(e){var t=a(this),r=o(e),n=i(t);s(t)<=r.size?c(t,(function(e){r.includes(e)&&u(n,e)})):l(r.getIterator(),(function(e){h(t,e)&&u(n,e)}));return n}},3463:e=>{var t=TypeError;e.exports=function(e){if("string"==typeof e)return e;throw new t("Argument is not a string")}},3506:(e,t,r)=>{var a=r(3925),n=String,i=TypeError;e.exports=function(e){if(a(e))return e;throw new i("Can't set "+n(e)+" as a prototype")}},3579:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(2652),s=r(9306),o=r(8551),c=r(1767),l=r(9539),h=r(4549)("some",TypeError);a({target:"Iterator",proto:!0,real:!0,forced:h},{some:function some(e){o(this);try{s(e)}catch(e){l(this,"throw",e)}if(h)return n(h,this,e);var t=c(this),r=0;return i(t,(function(t,a){if(e(t,r++))return a()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},3611:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(2106),s=r(3724),o=TypeError,c=Object.defineProperty,l=n.self!==n;try{if(s){var h=Object.getOwnPropertyDescriptor(n,"self");!l&&h&&h.get&&h.enumerable||i(n,"self",{get:function self(){return n},set:function self(e){if(this!==n)throw new o("Illegal invocation");c(n,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else a({global:!0,simple:!0,forced:l},{self:n})}catch(e){}},3650:(e,t,r)=>{var a=r(7080),n=r(4402),i=r(9286),s=r(3789),o=r(507),c=n.add,l=n.has,h=n.remove;e.exports=function symmetricDifference(e){var t=a(this),r=s(e).getIterator(),n=i(t);o(r,(function(e){l(t,e)?h(n,e):c(n,e)}));return n}},3706:(e,t,r)=>{var a=r(9504),n=r(4901),i=r(7629),s=a(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)});e.exports=i.inspectSource},3717:(e,t)=>{t.f=Object.getOwnPropertySymbols},3724:(e,t,r)=>{var a=r(9039);e.exports=!a((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},3789:(e,t,r)=>{var a=r(9306),n=r(8551),i=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(n(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}};e.exports=function(e){n(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)}},3838:(e,t,r)=>{var a=r(7080),n=r(5170),i=r(8469),s=r(3789);e.exports=function isSubsetOf(e){var t=a(this),r=s(e);return!(n(t)>r.size)&&!1!==i(t,(function(e){if(!r.includes(e))return!1}),!0)}},3853:(e,t,r)=>{var a=r(6518),n=r(4449);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("isDisjointFrom",(function(e){return!e}))},{isDisjointFrom:n})},3925:(e,t,r)=>{var a=r(34);e.exports=function(e){return a(e)||null===e}},3972:(e,t,r)=>{var a=r(34),n=String,i=TypeError;e.exports=function(e){if(void 0===e||a(e))return e;throw new i(n(e)+" is not an object or undefined")}},4055:(e,t,r)=>{var a=r(4576),n=r(34),i=a.document,s=n(i)&&n(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},4114:(e,t,r)=>{var a=r(6518),n=r(8981),i=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=n(this),r=i(t),a=arguments.length;o(r+a);for(var c=0;c<a;c++){t[r]=arguments[c];r++}s(t,r);return r}})},4117:e=>{e.exports=function(e){return null==e}},4154:(e,t,r)=>{var a=r(6955),n=TypeError;e.exports=function(e){if("Uint8Array"===a(e))return e;throw new n("Argument is not an Uint8Array")}},4204:(e,t,r)=>{var a=r(7080),n=r(4402).add,i=r(9286),s=r(3789),o=r(507);e.exports=function union(e){var t=a(this),r=s(e).getIterator(),c=i(t);o(r,(function(e){n(c,e)}));return c}},4209:(e,t,r)=>{var a=r(8227),n=r(6269),i=a("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||s[i]===e)}},4215:(e,t,r)=>{var a=r(4576),n=r(2839),i=r(2195),userAgentStartsWith=function(e){return n.slice(0,e.length)===e};e.exports=userAgentStartsWith("Bun/")?"BUN":userAgentStartsWith("Cloudflare-Workers")?"CLOUDFLARE":userAgentStartsWith("Deno/")?"DENO":userAgentStartsWith("Node.js/")?"NODE":a.Bun&&"string"==typeof Bun.version?"BUN":a.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(a.process)?"NODE":a.window&&a.document?"BROWSER":"REST"},4270:(e,t,r)=>{var a=r(9565),n=r(4901),i=r(34),s=TypeError;e.exports=function(e,t){var r,o;if("string"===t&&n(r=e.toString)&&!i(o=a(r,e)))return o;if(n(r=e.valueOf)&&!i(o=a(r,e)))return o;if("string"!==t&&n(r=e.toString)&&!i(o=a(r,e)))return o;throw new s("Can't convert object to primitive value")}},4376:(e,t,r)=>{var a=r(2195);e.exports=Array.isArray||function isArray(e){return"Array"===a(e)}},4402:(e,t,r)=>{var a=r(9504),n=Set.prototype;e.exports={Set,add:a(n.add),has:a(n.has),remove:a(n.delete),proto:n}},4449:(e,t,r)=>{var a=r(7080),n=r(4402).has,i=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(i(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(n(t,e))return l(h,"normal",!1)}))}},4483:(e,t,r)=>{var a,n,i,s,o=r(4576),c=r(9429),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){n=new d;i=new u(2);s=function(e){n.port1.postMessage(null,[e])};if(2===i.byteLength){s(i);0===i.byteLength&&(f=s)}}}catch(e){}e.exports=f},4495:(e,t,r)=>{var a=r(9519),n=r(9039),i=r(4576).String;e.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},4527:(e,t,r)=>{var a=r(3724),n=r(4376),i=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(n(e)&&!s(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},4549:(e,t,r)=>{var a=r(4576);e.exports=function(e,t){var r=a.Iterator,n=r&&r.prototype,i=n&&n[e],s=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(e){e instanceof t||(s=!1)}if(!s)return i}},4576: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")()},4603:(e,t,r)=>{var a=r(6840),n=r(9504),i=r(655),s=r(2812),o=URLSearchParams,c=o.prototype,l=n(c.append),h=n(c.delete),u=n(c.forEach),d=n([].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 n,o=i(e),c=i(r),f=0,g=0,p=!1,m=a.length;f<m;){n=a[f++];if(p||n.key===o){p=!0;h(this,n.key)}else g++}for(;g<m;)(n=a[g++]).key===o&&n.value===c||l(this,n.key,n.value)}),{enumerable:!0,unsafe:!0})},4628:(e,t,r)=>{var a=r(6518),n=r(6043);a({target:"Promise",stat:!0},{withResolvers:function withResolvers(){var e=n.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},4659:(e,t,r)=>{var a=r(3724),n=r(4913),i=r(6980);e.exports=function(e,t,r){a?n.f(e,t,i(0,r)):e[t]=r}},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}},4913:(e,t,r)=>{var a=r(3724),n=r(5917),i=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?i?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(n)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}},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}}}}}},createSetLikeWithInfinitySize=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};e.exports=function(e,t){var r=a("Set");try{(new r)[e](createSetLike(0));try{(new r)[e](createSetLike(-1));return!1}catch(a){if(!t)return!0;try{(new r)[e](createSetLikeWithInfinitySize(-1/0));return!1}catch(a){var n=new r;n.add(1);n.add(2);return t(n[e](createSetLikeWithInfinitySize(1/0)))}}}catch(e){return!1}}},4979:(e,t,r)=>{var a=r(6518),n=r(4576),i=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(8574),g=r(3724),p=r(6395),m="DOMException",b=i("Error"),y=i(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),n=new b(t);n.name=m;o(a,"stack",s(1,f(n.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),C=y&&g&&Object.getOwnPropertyDescriptor(n,m),v=!(!C||C.writable&&C.configurable),O=S&&!v&&!k;a({global:!0,constructor:!0,forced:p||O},{DOMException:O?w:y});var T=i(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))}}},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}}},5024:(e,t,r)=>{var a=r(6518),n=r(3650);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("symmetricDifference")},{symmetricDifference:n})},5031:(e,t,r)=>{var a=r(7751),n=r(9504),i=r(8480),s=r(3717),o=r(8551),c=n([].concat);e.exports=a("Reflect","ownKeys")||function ownKeys(e){var t=i.f(o(e)),r=s.f;return r?c(t,r(e)):t}},5169:(e,t,r)=>{var a=r(3238),n=TypeError;e.exports=function(e){if(a(e))throw new n("ArrayBuffer is detached");return e}},5170:(e,t,r)=>{var a=r(6706),n=r(4402);e.exports=a(n.proto,"size","get")||function(e){return e.size}},5370:(e,t,r)=>{var a=r(6198);e.exports=function(e,t,r){for(var n=0,i=arguments.length>2?r:a(t),s=new e(i);i>n;)s[n]=t[n++];return s}},5397:(e,t,r)=>{var a=r(7055),n=r(7750);e.exports=function(e){return a(n(e))}},5610:(e,t,r)=>{var a=r(1291),n=Math.max,i=Math.min;e.exports=function(e,t){var r=a(e);return r<0?n(r+t,0):i(r,t)}},5623:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(9504),s=r(4154),o=r(5169),c=i(1..toString);n.Uint8Array&&a({target:"Uint8Array",proto:!0},{toHex:function toHex(){s(this);o(this.buffer);for(var e="",t=0,r=this.length;t<r;t++){var a=c(this[t],16);e+=1===a.length?"0"+a:a}return e}})},5636:(e,t,r)=>{var a=r(4576),n=r(9504),i=r(6706),s=r(7696),o=r(5169),c=r(7394),l=r(4483),h=r(1548),u=a.structuredClone,d=a.ArrayBuffer,f=a.DataView,g=Math.min,p=d.prototype,m=f.prototype,b=n(p.slice),y=i(p,"resizable","get"),w=i(p,"maxByteLength","get"),x=n(m.getInt8),S=n(m.setInt8);e.exports=(h||l)&&function(e,t,r){var a,n=c(e),i=void 0===t?n:s(t),p=!y||!y(e);o(e);if(h){e=u(e,{transfer:[e]});if(n===i&&(r||p))return e}if(n>=i&&(!r||p))a=b(e,0,i);else{var m=r&&!p&&w?{maxByteLength:w(e)}:void 0;a=new d(i,m);for(var k=new f(e),C=new f(a),v=g(i,n),O=0;O<v;O++)S(C,O,x(k,O))}h||l(e);return a}},5745:(e,t,r)=>{var a=r(7629);e.exports=function(e,t){return a[e]||(a[e]=t||{})}},5781:(e,t,r)=>{var a=r(6518),n=r(7751),i=r(2812),s=r(655),o=r(7416),c=n("URL");a({target:"URL",stat:!0,forced:!o},{parse:function parse(e){var t=i(arguments.length,1),r=s(e),a=t<2||void 0===arguments[1]?void 0:s(arguments[1]);try{return new c(r,a)}catch(e){return null}}})},5876:(e,t,r)=>{var a=r(6518),n=r(3838);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("isSubsetOf",(function(e){return e}))},{isSubsetOf:n})},5917:(e,t,r)=>{var a=r(3724),n=r(9039),i=r(4055);e.exports=!a&&!n((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},5966:(e,t,r)=>{var a=r(9306),n=r(4117);e.exports=function(e,t){var r=e[t];return n(r)?void 0:a(r)}},6043:(e,t,r)=>{var a=r(9306),n=TypeError,PromiseCapability=function(e){var t,r;this.promise=new e((function(e,a){if(void 0!==t||void 0!==r)throw new n("Bad Promise constructor");t=e;r=a}));this.resolve=a(t);this.reject=a(r)};e.exports.f=function(e){return new PromiseCapability(e)}},6080:(e,t,r)=>{var a=r(7476),n=r(9306),i=r(616),s=a(a.bind);e.exports=function(e,t){n(e);return void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}},6119:(e,t,r)=>{var a=r(5745),n=r(3392),i=a("keys");e.exports=function(e){return i[e]||(i[e]=n(e))}},6193:(e,t,r)=>{var a=r(4215);e.exports="NODE"===a},6198:(e,t,r)=>{var a=r(8014);e.exports=function(e){return a(e.length)}},6269:e=>{e.exports={}},6279:(e,t,r)=>{var a=r(6840);e.exports=function(e,t,r){for(var n in t)a(e,n,t[n],r);return e}},6319:(e,t,r)=>{var a=r(8551),n=r(9539);e.exports=function(e,t,r,i){try{return i?t(a(r)[0],r[1]):t(r)}catch(t){n(e,"throw",t)}}},6395:e=>{e.exports=!1},6518:(e,t,r)=>{var a=r(4576),n=r(7347).f,i=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=n(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)&&i(d,"sham",!0);s(r,h,d,e)}}},6573:(e,t,r)=>{var a=r(3724),n=r(2106),i=r(3238),s=ArrayBuffer.prototype;a&&!("detached"in s)&&n(s,"detached",{configurable:!0,get:function detached(){return i(this)}})},6699:(e,t,r)=>{var a=r(3724),n=r(4913),i=r(6980);e.exports=a?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){e[t]=r;return e}},6706:(e,t,r)=>{var a=r(9504),n=r(9306);e.exports=function(e,t,r){try{return a(n(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},6801:(e,t,r)=>{var a=r(3724),n=r(8686),i=r(4913),s=r(8551),o=r(5397),c=r(1072);t.f=a&&!n?Object.defineProperties:function defineProperties(e,t){s(e);for(var r,a=o(t),n=c(t),l=n.length,h=0;l>h;)i.f(e,r=n[h++],a[r]);return e}},6823:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},6837:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},6840:(e,t,r)=>{var a=r(4901),n=r(4913),i=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)&&i(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:n.f(e,t,{value:r,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}},6955:(e,t,r)=>{var a=r(2140),n=r(4901),i=r(2195),s=r(8227)("toStringTag"),o=Object,c="Arguments"===i(function(){return arguments}());e.exports=a?i: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?i(t):"Object"===(a=i(t))&&n(t.callee)?"Arguments":a}},6969:(e,t,r)=>{var a=r(2777),n=r(757);e.exports=function(e){var t=a(e,"string");return n(t)?t:t+""}},6980:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7040:(e,t,r)=>{var a=r(4495);e.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:(e,t,r)=>{var a=r(9504),n=r(9039),i=r(2195),s=Object,o=a("".split);e.exports=n((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?o(e,""):s(e)}:s},7080:(e,t,r)=>{var a=r(4402).has;e.exports=function(e){a(e);return e}},7347:(e,t,r)=>{var a=r(3724),n=r(9565),i=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(!n(i.f,e,t),e[t])}},7394:(e,t,r)=>{var a=r(4576),n=r(6706),i=r(2195),s=a.ArrayBuffer,o=a.TypeError;e.exports=s&&n(s.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==i(e))throw new o("ArrayBuffer expected");return e.byteLength}},7416:(e,t,r)=>{var a=r(9039),n=r(8227),i=r(3724),s=r(6395),o=n("iterator");e.exports=!a((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),a="";e.pathname="c%20d";t.forEach((function(e,r){t.delete("b");a+=r+e}));r.delete("a",2);r.delete("b",void 0);return s&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(s||!i)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==a||"x"!==new URL("https://x",void 0).host}))},7476:(e,t,r)=>{var a=r(2195),n=r(9504);e.exports=function(e){if("Function"===a(e))return n(e)}},7566:(e,t,r)=>{var a=r(6840),n=r(9504),i=r(655),s=r(2812),o=URLSearchParams,c=o.prototype,l=n(c.getAll),h=n(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 n=i(r),o=0;o<a.length;)if(a[o++]===n)return!0;return!1}),{enumerable:!0,unsafe:!0})},7588:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(2652),s=r(9306),o=r(8551),c=r(1767),l=r(9539),h=r(4549)("forEach",TypeError);a({target:"Iterator",proto:!0,real:!0,forced:h},{forEach:function forEach(e){o(this);try{s(e)}catch(e){l(this,"throw",e)}if(h)return n(h,this,e);var t=c(this),r=0;i(t,(function(t){e(t,r++)}),{IS_RECORD:!0})}})},7629:(e,t,r)=>{var a=r(6395),n=r(4576),i=r(9433),s="__core-js_shared__",o=e.exports=n[s]||i(s,{});(o.versions||(o.versions=[])).push({version:"3.42.0",mode:a?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7642:(e,t,r)=>{var a=r(6518),n=r(3440);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("difference",(function(e){return 0===e.size}))},{difference:n})},7657:(e,t,r)=>{var a,n,i,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(i=[].keys())?(n=h(h(i)))!==Object.prototype&&(a=n):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}},7680:(e,t,r)=>{var a=r(9504);e.exports=a([].slice)},7696:(e,t,r)=>{var a=r(1291),n=r(8014),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=a(e),r=n(t);if(t!==r)throw new i("Wrong length or index");return r}},7740:(e,t,r)=>{var a=r(9297),n=r(5031),i=r(7347),s=r(4913);e.exports=function(e,t,r){for(var o=n(t),c=s.f,l=i.f,h=0;h<o.length;h++){var u=o[h];a(e,u)||r&&a(r,u)||c(e,u,l(t,u))}}},7750:(e,t,r)=>{var a=r(4117),n=TypeError;e.exports=function(e){if(a(e))throw new n("Can't call method on "+e);return e}},7751:(e,t,r)=>{var a=r(4576),n=r(4901);e.exports=function(e,t){return arguments.length<2?(r=a[e],n(r)?r:void 0):a[e]&&a[e][t];var r}},7811:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7936:(e,t,r)=>{var a=r(6518),n=r(5636);n&&a({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function transferToFixedLength(){return n(this,arguments.length?arguments[0]:void 0,!1)}})},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}},8004:(e,t,r)=>{var a=r(6518),n=r(9039),i=r(8750);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||n((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:i})},8014:(e,t,r)=>{var a=r(1291),n=Math.min;e.exports=function(e){var t=a(e);return t>0?n(t,9007199254740991):0}},8100:(e,t,r)=>{var a=r(6518),n=r(5636);n&&a({target:"ArrayBuffer",proto:!0},{transfer:function transfer(){return n(this,arguments.length?arguments[0]:void 0,!0)}})},8111:(e,t,r)=>{var a=r(6518),n=r(4576),i=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=n[y],k=m||!o(S)||S.prototype!==g||!u((function(){S({})})),C=function Iterator(){i(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,C);C.prototype=g;a({global:!0,constructor:!0,forced:k},{Iterator:C})},8227:(e,t,r)=>{var a=r(4576),n=r(5745),i=r(9297),s=r(3392),o=r(4495),c=r(7040),l=a.Symbol,h=n("wks"),u=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){i(h,e)||(h[e]=o&&i(l,e)?l[e]:u("Symbol."+e));return h[e]}},8237:(e,t,r)=>{var a=r(6518),n=r(2652),i=r(9306),s=r(8551),o=r(1767),c=r(9539),l=r(4549),h=r(8745),u=r(9039),d=TypeError,f=u((function(){[].keys().reduce((function(){}),void 0)})),g=!f&&l("reduce",d);a({target:"Iterator",proto:!0,real:!0,forced:f||g},{reduce:function reduce(e){s(this);try{i(e)}catch(e){c(this,"throw",e)}var t=arguments.length<2,r=t?void 0:arguments[1];if(g)return h(g,this,t?[e]:[e,r]);var a=o(this),l=0;n(a,(function(a){if(t){t=!1;r=a}else r=e(r,a,l);l++}),{IS_RECORD:!0});if(t)throw new d("Reduce of empty iterator with no initial value");return r}})},8469:(e,t,r)=>{var a=r(9504),n=r(507),i=r(4402),s=i.Set,o=i.proto,c=a(o.forEach),l=a(o.keys),h=l(new s).next;e.exports=function(e,t,r){return r?n({iterator:l(e),next:h},t):c(e,t)}},8480:(e,t,r)=>{var a=r(1828),n=r(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return a(e,n)}},8527:(e,t,r)=>{var a=r(7080),n=r(4402).has,i=r(5170),s=r(3789),o=r(507),c=r(9539);e.exports=function isSupersetOf(e){var t=a(this),r=s(e);if(i(t)<r.size)return!1;var l=r.getIterator();return!1!==o(l,(function(e){if(!n(t,e))return c(l,"normal",!1)}))}},8551:(e,t,r)=>{var a=r(34),n=String,i=TypeError;e.exports=function(e){if(a(e))return e;throw new i(n(e)+" is not an object")}},8574:(e,t,r)=>{var a=r(9504),n=Error,i=a("".replace),s=String(new n("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,c=o.test(s);e.exports=function(e,t){if(c&&"string"==typeof e&&!n.prepareStackTrace)for(;t--;)e=i(e,o,"");return e}},8622:(e,t,r)=>{var a=r(4576),n=r(4901),i=a.WeakMap;e.exports=n(i)&&/native code/.test(String(i))},8646:(e,t,r)=>{var a=r(9565),n=r(8551),i=r(1767),s=r(851);e.exports=function(e,t){t&&"string"==typeof e||n(e);var r=s(e);return i(n(void 0!==r?a(r,e):e))}},8686:(e,t,r)=>{var a=r(3724),n=r(9039);e.exports=a&&n((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8721:(e,t,r)=>{var a=r(3724),n=r(9504),i=r(2106),s=URLSearchParams.prototype,o=n(s.forEach);a&&!("size"in s)&&i(s,"size",{get:function size(){var e=0;o(this,(function(){e++}));return e},configurable:!0,enumerable:!0})},8727:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8745:(e,t,r)=>{var a=r(616),n=Function.prototype,i=n.apply,s=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(a?s.bind(i):function(){return s.apply(i,arguments)})},8750:(e,t,r)=>{var a=r(7080),n=r(4402),i=r(5170),s=r(3789),o=r(8469),c=r(507),l=n.Set,h=n.add,u=n.has;e.exports=function intersection(e){var t=a(this),r=s(e),n=new l;i(t)>r.size?c(r.getIterator(),(function(e){u(t,e)&&h(n,e)})):o(t,(function(e){r.includes(e)&&h(n,e)}));return n}},8773:(e,t)=>{var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,n=a&&!r.call({1:2},1);t.f=n?function propertyIsEnumerable(e){var t=a(this,e);return!!t&&t.enumerable}:r},8981:(e,t,r)=>{var a=r(7750),n=Object;e.exports=function(e){return n(a(e))}},9039:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},9143:(e,t,r)=>{var a=r(4576),n=r(9504),i=r(3972),s=r(3463),o=r(9297),c=r(2804),l=r(944),h=r(5169),u=c.c2i,d=c.c2iUrl,f=a.SyntaxError,g=a.TypeError,p=n("".charAt),skipAsciiWhitespace=function(e,t){for(var r=e.length;t<r;t++){var a=p(e,t);if(" "!==a&&"\t"!==a&&"\n"!==a&&"\f"!==a&&"\r"!==a)break}return t},decodeBase64Chunk=function(e,t,r){var a=e.length;a<4&&(e+=2===a?"AA":"A");var n=(t[p(e,0)]<<18)+(t[p(e,1)]<<12)+(t[p(e,2)]<<6)+t[p(e,3)],i=[n>>16&255,n>>8&255,255&n];if(2===a){if(r&&0!==i[1])throw new f("Extra bits");return[i[0]]}if(3===a){if(r&&0!==i[2])throw new f("Extra bits");return[i[0],i[1]]}return i},writeBytes=function(e,t,r){for(var a=t.length,n=0;n<a;n++)e[r+n]=t[n];return r+a};e.exports=function(e,t,r,a){s(e);i(t);var n="base64"===l(t)?u:d,c=t?t.lastChunkHandling:void 0;void 0===c&&(c="loose");if("loose"!==c&&"strict"!==c&&"stop-before-partial"!==c)throw new g("Incorrect `lastChunkHandling` option");r&&h(r.buffer);var m=r||[],b=0,y=0,w="",x=0;if(a)for(;;){if((x=skipAsciiWhitespace(e,x))===e.length){if(w.length>0){if("stop-before-partial"===c)break;if("loose"!==c)throw new f("Missing padding");if(1===w.length)throw new f("Malformed padding: exactly one additional character");b=writeBytes(m,decodeBase64Chunk(w,n,!1),b)}y=e.length;break}var S=p(e,x);++x;if("="===S){if(w.length<2)throw new f("Padding is too early");x=skipAsciiWhitespace(e,x);if(2===w.length){if(x===e.length){if("stop-before-partial"===c)break;throw new f("Malformed padding: only one =")}if("="===p(e,x)){++x;x=skipAsciiWhitespace(e,x)}}if(x<e.length)throw new f("Unexpected character after padding");b=writeBytes(m,decodeBase64Chunk(w,n,"strict"===c),b);y=e.length;break}if(!o(n,S))throw new f("Unexpected character");var k=a-b;if(1===k&&2===w.length||2===k&&3===w.length)break;if(4===(w+=S).length){b=writeBytes(m,decodeBase64Chunk(w,n,!1),b);w="";y=x;if(b===a)break}}return{bytes:m,read:y,written:b}}},9286:(e,t,r)=>{var a=r(4402),n=r(8469),i=a.Set,s=a.add;e.exports=function(e){var t=new i;n(e,(function(e){s(t,e)}));return t}},9297:(e,t,r)=>{var a=r(9504),n=r(8981),i=a({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return i(n(e),t)}},9306:(e,t,r)=>{var a=r(4901),n=r(6823),i=TypeError;e.exports=function(e){if(a(e))return e;throw new i(n(e)+" is not a function")}},9429:(e,t,r)=>{var a=r(4576),n=r(6193);e.exports=function(e){if(n){try{return a.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},9432:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(5370),s=r(9143),o=n.Uint8Array;o&&a({target:"Uint8Array",stat:!0},{fromBase64:function fromBase64(e){var t=s(e,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return i(o,t.bytes)}})},9433:(e,t,r)=>{var a=r(4576),n=Object.defineProperty;e.exports=function(e,t){try{n(a,e,{value:t,configurable:!0,writable:!0})}catch(r){a[e]=t}return t}},9462:(e,t,r)=>{var a=r(9565),n=r(2360),i=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(n(h),{next:function next(){var r=t(this);if(e)return r.nextHandler();if(r.done)return u(void 0,!0);try{var a=r.nextHandler();return r.returnHandlerResult?a:u(a,r.done)}catch(e){r.done=!0;throw e}},return:function(){var r=t(this),n=r.iterator;r.done=!0;if(e){var i=l(n,"return");return i?a(i,n):u(void 0,!0)}if(r.inner)try{d(r.inner.iterator,"normal")}catch(e){return d(n,"throw",e)}n&&d(n,"normal");return u(void 0,!0)}})},b=createIteratorProxyPrototype(!0),y=createIteratorProxyPrototype(!1);i(y,f,"Iterator Helper");e.exports=function(e,t,r){var a=function Iterator(a,n){if(n){n.iterator=a.iterator;n.next=a.next}else n=a;n.type=t?p:g;n.returnHandlerResult=!!r;n.nextHandler=e;n.counter=0;n.done=!1;m(this,n)};a.prototype=t?b:y;return a}},9479:(e,t,r)=>{var a=r(4576),n=r(3724),i=r(2106),s=r(7979),o=r(9039),c=a.RegExp,l=c.prototype;n&&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}})},n={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};e&&(n.hasIndices="d");for(var i in n)addGetter(i,n[i]);return Object.getOwnPropertyDescriptor(l,"flags").get.call(t)!==a||r!==a}))&&i(l,"flags",{configurable:!0,get:s})},9504:(e,t,r)=>{var a=r(616),n=Function.prototype,i=n.call,s=a&&n.bind.bind(i,i);e.exports=a?s:function(e){return function(){return i.apply(e,arguments)}}},9519:(e,t,r)=>{var a,n,i=r(4576),s=r(2839),o=i.process,c=i.Deno,l=o&&o.versions||c&&c.version,h=l&&l.v8;h&&(n=(a=h.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1]));!n&&s&&(!(a=s.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=s.match(/Chrome\/(\d+)/))&&(n=+a[1]);e.exports=n},9539:(e,t,r)=>{var a=r(9565),n=r(8551),i=r(5966);e.exports=function(e,t,r){var s,o;n(e);try{if(!(s=i(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;n(s);return r}},9565:(e,t,r)=>{var a=r(616),n=Function.prototype.call;e.exports=a?n.bind(n):function(){return n.apply(n,arguments)}},9617:(e,t,r)=>{var a=r(5397),n=r(5610),i=r(6198),createMethod=function(e){return function(t,r,s){var o=a(t),c=i(o);if(0===c)return!e&&-1;var l,h=n(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)}},9631:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(9504),s=r(3972),o=r(4154),c=r(5169),l=r(2804),h=r(944),u=l.i2c,d=l.i2cUrl,f=i("".charAt);n.Uint8Array&&a({target:"Uint8Array",proto:!0},{toBase64:function toBase64(){var e=o(this),t=arguments.length?s(arguments[0]):void 0,r="base64"===h(t)?u:d,a=!!t&&!!t.omitPadding;c(this.buffer);for(var n,i="",l=0,g=e.length,at=function(e){return f(r,n>>6*e&63)};l+2<g;l+=3){n=(e[l]<<16)+(e[l+1]<<8)+e[l+2];i+=at(3)+at(2)+at(1)+at(0)}if(l+2===g){n=(e[l]<<16)+(e[l+1]<<8);i+=at(3)+at(2)+at(1)+(a?"":"=")}else if(l+1===g){n=e[l]<<16;i+=at(3)+at(2)+(a?"":"==")}return i}})},9797:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(3463),s=r(4154),o=r(5169),c=r(2303);n.Uint8Array&&a({target:"Uint8Array",proto:!0},{setFromHex:function setFromHex(e){s(this);i(e);o(this.buffer);var t=c(e,this).read;return{read:t,written:t/2}}})}},t={};function __webpack_require__(r){var a=t[r];if(void 0!==a)return a.exports;var n=t[r]={exports:{}};e[r].call(n.exports,n,n.exports,__webpack_require__);return n.exports}__webpack_require__(4114),__webpack_require__(6573),__webpack_require__(8100),__webpack_require__(7936),__webpack_require__(8111),__webpack_require__(1701),__webpack_require__(3579),__webpack_require__(4628),__webpack_require__(7642),__webpack_require__(8004),__webpack_require__(3853),__webpack_require__(5876),__webpack_require__(2475),__webpack_require__(5024),__webpack_require__(1698),__webpack_require__(1549),__webpack_require__(9797),__webpack_require__(9631),__webpack_require__(5623),__webpack_require__(3611),__webpack_require__(8237),__webpack_require__(1689),__webpack_require__(9432),__webpack_require__(4979),__webpack_require__(5781);const r=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),a=[.001,0,0,.001,0,0],n=1.35,i=.35,s=.25925925925925924,o=1,c=2,l=4,h=8,u=16,d=64,f=128,g=256,p="pdfjs_internal_editor_",m=3,b=9,y=13,w=15,x=101,S={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},k=0,C=4,v=1,O=2,T=3,M=1,D=2,R=3,E=4,N=5,_=6,L=7,j=8,U=9,q=10,X=11,H=12,W=13,z=14,$=15,G=16,V=17,K=20,J="Group",Y="R",Z=1,Q=2,ee=4,te=16,re=32,ae=128,ne=512,ie=1,se=2,oe=4096,ce=8192,le=32768,he=65536,ue=131072,de=1048576,fe=2097152,ge=8388608,pe=16777216,me=1,be=2,ye=3,we=4,xe=5,Se={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"},Ae={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},ke={O:"PageOpen",C:"PageClose"},Ce=1,ve=5,Fe=1,Ie=2,Oe=3,Te=4,Me=5,De=6,Be=7,Re=8,Ee=9,Ne=10,Pe=11,_e=12,Le=13,je=14,Ue=15,qe=16,Xe=17,He=18,We=19,ze=20,$e=21,Ge=22,Ve=23,Ke=24,Je=25,Ye=26,Ze=27,Qe=28,et=29,tt=30,rt=31,nt=32,it=33,st=34,ot=35,ct=36,lt=37,ht=38,ut=39,dt=40,ft=41,gt=42,pt=43,mt=44,bt=45,yt=46,wt=47,xt=48,St=49,At=50,kt=51,Ct=52,vt=53,Ft=54,It=55,Ot=56,Tt=57,Mt=58,Dt=59,Bt=60,Rt=61,Et=62,Nt=63,Pt=64,_t=65,Lt=66,jt=67,Ut=68,qt=69,Xt=70,Ht=71,Wt=72,zt=73,$t=74,Gt=75,Vt=76,Kt=77,Jt=80,Yt=81,Zt=83,Qt=84,er=85,tr=86,rr=87,ar=88,nr=89,ir=90,sr=91,or=92,cr=93,lr=94,hr=0,ur=1,dr=2,fr=3,gr=1,pr=2;let mr=Ce;function getVerbosityLevel(){return mr}function info(e){mr>=ve&&console.log(`Info: ${e}`)}function warn(e){mr>=Ce&&console.log(`Warning: ${e}`)}function unreachable(e){throw new Error(e)}function assert(e,t){e||unreachable(t)}function createValidAbsoluteUrl(e,t=null,r=null){if(!e)return null;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?URL.parse(e,t):URL.parse(e);return function _isValidProtocol(e){switch(e?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(a)?a:null}function shadow(e,t,r,a=!1){Object.defineProperty(e,t,{value:r,enumerable:!a,configurable:!0,writable:!1});return r}const br=function BaseExceptionClosure(){function BaseException(e,t){this.message=e;this.name=t}BaseException.prototype=new Error;BaseException.constructor=BaseException;return BaseException}();class PasswordException extends br{constructor(e,t){super(e,"PasswordException");this.code=t}}class UnknownErrorException extends br{constructor(e,t){super(e,"UnknownErrorException");this.details=t}}class InvalidPDFException extends br{constructor(e){super(e,"InvalidPDFException")}}class ResponseException extends br{constructor(e,t,r){super(e,"ResponseException");this.status=t;this.missing=r}}class For