UNPKG

pdfjs-signature-dist-viewer-min

Version:

Minified build of PDF.js library, including the viewer, with signature fields enabled.

1 lines 786 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("pdfjs-dist/build/pdf.worker",[],t):"object"==typeof exports?exports["pdfjs-dist/build/pdf.worker"]=t():e["pdfjs-dist/build/pdf.worker"]=e.pdfjsWorker=t()}(this,(function(){return function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};e[a].call(n.exports,n,n.exports,r);n.l=!0;return n.exports}r.m=e;r.c=t;r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})};r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});Object.defineProperty(e,"__esModule",{value:!0})};r.t=function(e,t){1&t&&(e=r(e));if(8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);r.r(a);Object.defineProperty(a,"default",{enumerable:!0,value:e});if(2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a};r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};r.d(t,"a",t);return t};r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};r.p="";return r(r.s=0)}([function(e,t,r){"use strict";var a=r(1);t.WorkerMessageHandler=a.WorkerMessageHandler},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.WorkerMessageHandler=t.WorkerTask=void 0;var a=h(r(2)),n=r(5),i=r(183),o=r(184),s=h(r(8)),c=r(223),l=r(224),u=r(186);function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var r=[],a=!0,n=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done);a=!0){r.push(o.value);if(t&&r.length===t)break}}catch(e){n=!0;i=e}finally{try{a||null==s.return||s.return()}finally{if(n)throw i}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function d(e,t,r,a,n,i,o){try{var s=e[i](o),c=s.value}catch(e){r(e);return}s.done?t(c):Promise.resolve(c).then(a,n)}var p=function(){function e(e){this.name=e;this.terminated=!1;this._capability=(0,n.createPromiseCapability)()}e.prototype={get finished(){return this._capability.promise},finish:function(){this._capability.resolve()},terminate:function(){this.terminated=!0},ensureNotTerminated:function(){if(this.terminated)throw new Error("Worker task was terminated")}};return e}();t.WorkerTask=p;var g,m={setup:function(e,t){var r=!1;e.on("test",(function(t){if(!r){r=!0;if(t instanceof Uint8Array){var a=255===t[0];e.postMessageTransfers=a;e.send("test",{supportTransfers:a})}else e.send("test",null)}}));e.on("configure",(function(e){(0,n.setVerbosityLevel)(e.verbosity)}));e.on("GetDocRequest",(function(e){return m.createDocumentHandler(e,t)}))},createDocumentHandler:function(e,t){var r,s=!1,h=null,g=[],m=(0,n.getVerbosityLevel)(),v=e.apiVersion;if("2.3.200"!==v)throw new Error('The API version "'.concat(v,'" does not match ')+'the Worker version "'.concat("2.3.200",'".'));var b=e.docId,y=e.docBaseUrl,w=e.docId+"_worker",k=new c.MessageHandler(w,b,t);k.postMessageTransfers=e.postMessageTransfers;function S(){if(s)throw new Error("Worker was terminated")}function x(e){g.push(e)}function C(e){e.finish();var t=g.indexOf(e);g.splice(t,1)}function A(e){return O.apply(this,arguments)}function O(){var e;return(O=(e=a.default.mark((function e(t){var n,i,o,s;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=2;return r.ensureDoc("checkHeader");case 2:e.next=4;return r.ensureDoc("parseStartXRef");case 4:e.next=6;return r.ensureDoc("parse",[t]);case 6:if(t){e.next=9;break}e.next=9;return r.ensureDoc("checkFirstPage");case 9:e.next=11;return Promise.all([r.ensureDoc("numPages"),r.ensureDoc("fingerprint")]);case 11:n=e.sent;i=f(n,2);o=i[0];s=i[1];return e.abrupt("return",{numPages:o,fingerprint:s});case 16:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(a,n){var i=e.apply(t,r);function o(e){d(i,a,n,o,s,"next",e)}function s(e){d(i,a,n,o,s,"throw",e)}o(void 0)}))})).apply(this,arguments)}function P(e,t){var r,a=(0,n.createPromiseCapability)(),i=e.source;if(i.data){try{r=new o.LocalPdfManager(b,i.data,i.password,t,y);a.resolve(r)}catch(e){a.reject(e)}return a.promise}var s,c=[];try{s=new l.PDFWorkerStream(k)}catch(e){a.reject(e);return a.promise}var u=s.getFullReader();u.headersReady.then((function(){if(u.isRangeSupported){var e=i.disableAutoFetch||u.isStreamingSupported;r=new o.NetworkPdfManager(b,s,{msgHandler:k,password:i.password,length:u.contentLength,disableAutoFetch:e,rangeChunkSize:i.rangeChunkSize},t,y);for(var n=0;n<c.length;n++)r.sendProgressiveData(c[n]);c=[];a.resolve(r);h=null}})).catch((function(e){a.reject(e);h=null}));var f=0;new Promise((function(e,s){u.read().then((function e(l){try{S();if(l.done){r||function(){var e=(0,n.arraysToBytes)(c);i.length&&e.length!==i.length&&(0,n.warn)("reported HTTP length is different from actual");try{r=new o.LocalPdfManager(b,e,i.password,t,y);a.resolve(r)}catch(e){a.reject(e)}c=[]}();h=null;return}var d=l.value;f+=(0,n.arrayByteLength)(d);u.isStreamingSupported||k.send("DocProgress",{loaded:f,total:Math.max(f,u.contentLength||0)});r?r.sendProgressiveData(d):c.push(d);u.read().then(e,s)}catch(e){s(e)}}),s)})).catch((function(e){a.reject(e);h=null}));h=function(e){s.cancelAllRequests(e)};return a.promise}k.on("GetPage",(function(e){return r.getPage(e.pageIndex).then((function(e){return Promise.all([r.ensure(e,"rotate"),r.ensure(e,"ref"),r.ensure(e,"userUnit"),r.ensure(e,"view")]).then((function(e){var t=f(e,4);return{rotate:t[0],ref:t[1],userUnit:t[2],view:t[3]}}))}))}));k.on("GetPageIndex",(function(e){var t=i.Ref.get(e.ref.num,e.ref.gen);return r.pdfDocument.catalog.getPageIndex(t)}));k.on("GetDestinations",(function(e){return r.ensureCatalog("destinations")}));k.on("GetDestination",(function(e){return r.ensureCatalog("getDestination",[e.id])}));k.on("GetPageLabels",(function(e){return r.ensureCatalog("pageLabels")}));k.on("GetPageLayout",(function(e){return r.ensureCatalog("pageLayout")}));k.on("GetPageMode",(function(e){return r.ensureCatalog("pageMode")}));k.on("GetViewerPreferences",(function(e){return r.ensureCatalog("viewerPreferences")}));k.on("GetOpenActionDestination",(function(e){return r.ensureCatalog("openActionDestination")}));k.on("GetAttachments",(function(e){return r.ensureCatalog("attachments")}));k.on("GetJavaScript",(function(e){return r.ensureCatalog("javaScript")}));k.on("GetOutline",(function(e){return r.ensureCatalog("documentOutline")}));k.on("GetPermissions",(function(e){return r.ensureCatalog("permissions")}));k.on("GetMetadata",(function(e){return Promise.all([r.ensureDoc("documentInfo"),r.ensureCatalog("metadata")])}));k.on("GetData",(function(e){r.requestLoadedStream();return r.onLoadedStream().then((function(e){return e.bytes}))}));k.on("GetStats",(function(e){return r.pdfDocument.xref.stats}));k.on("GetAnnotations",(function(e){var t=e.pageIndex,a=e.intent;return r.getPage(t).then((function(e){return e.getAnnotationsData(a)}))}));k.on("GetOperatorList",(function(e,t){var a=e.pageIndex;r.getPage(a).then((function(r){var i=new p("GetOperatorList: page ".concat(a));x(i);var o=m>=n.VerbosityLevel.INFOS?Date.now():0;r.getOperatorList({handler:k,sink:t,task:i,intent:e.intent,renderInteractiveForms:e.renderInteractiveForms}).then((function(e){C(i);o&&(0,n.info)("page=".concat(a+1," - getOperatorList: time=")+"".concat(Date.now()-o,"ms, len=").concat(e.length));t.close()}),(function(e){C(i);if(!i.terminated){k.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.unknown});t.error(e)}}))}))}),this);k.on("GetTextContent",(function(e,t){var a=e.pageIndex;t.onPull=function(e){};t.onCancel=function(e){};r.getPage(a).then((function(r){var i=new p("GetTextContent: page "+a);x(i);var o=m>=n.VerbosityLevel.INFOS?Date.now():0;r.extractTextContent({handler:k,task:i,sink:t,normalizeWhitespace:e.normalizeWhitespace,combineTextItems:e.combineTextItems}).then((function(){C(i);o&&(0,n.info)("page=".concat(a+1," - getTextContent: time=")+"".concat(Date.now()-o,"ms"));t.close()}),(function(e){C(i);i.terminated||t.error(e)}))}))}));k.on("FontFallback",(function(e){return r.fontFallback(e.id,k)}));k.on("Cleanup",(function(e){return r.cleanup()}));k.on("Terminate",(function(e){s=!0;if(r){r.terminate(new n.AbortException("Worker was terminated."));r=null}h&&h(new n.AbortException("Worker was terminated."));(0,i.clearPrimitiveCaches)();var t=[];g.forEach((function(e){t.push(e.finished);e.terminate()}));return Promise.all(t).then((function(){k.destroy();k=null}))}));k.on("Ready",(function(t){!function(e){function t(e){S();k.send("GetDoc",{pdfInfo:e})}function a(e){S();if(e instanceof n.PasswordException){var t=new p("PasswordException: response "+e.code);x(t);k.sendWithPromise("PasswordRequest",e).then((function(e){C(t);r.updatePassword(e.password);i()})).catch(function(e){C(t);k.send("PasswordException",e)}.bind(null,e))}else e instanceof n.InvalidPDFException?k.send("InvalidPDF",e):e instanceof n.MissingPDFException?k.send("MissingPDF",e):e instanceof n.UnexpectedResponseException?k.send("UnexpectedResponse",e):k.send("UnknownError",new n.UnknownErrorException(e.message,e.toString()))}function i(){S();A(!1).then(t,(function(e){S();if(e instanceof u.XRefParseException){r.requestLoadedStream();r.onLoadedStream().then((function(){S();A(!0).then(t,a)}))}else a(e)}),a)}S();P(e,{forceDataSchema:e.disableCreateObjectURL,maxImageSize:e.maxImageSize,disableFontFace:e.disableFontFace,nativeImageDecoderSupport:e.nativeImageDecoderSupport,ignoreErrors:e.ignoreErrors,isEvalSupported:e.isEvalSupported}).then((function(e){if(s){e.terminate(new n.AbortException("Worker was terminated."));throw new Error("Worker was terminated")}(r=e).onLoadedStream().then((function(e){k.send("DataLoaded",{length:e.bytes.byteLength})}))})).then(i,a)}(e);e=null}));return w},initializeFromPort:function(e){var t=new c.MessageHandler("worker","main",e);m.setup(t,e);t.send("ready",null)}};t.WorkerMessageHandler=m;"undefined"==typeof window&&!(0,s.default)()&&"undefined"!=typeof self&&("function"==typeof(g=self).postMessage&&"onmessage"in g)&&m.initializeFromPort(self)},function(e,t,r){"use strict";e.exports=r(3)},function(e,t,r){"use strict";(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=function(e){var r,a=Object.prototype,n=a.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(e,t,r,a){var n=t&&t.prototype instanceof m?t:m,i=Object.create(n.prototype),o=new I(a||[]);i._invoke=function(e,t,r){var a=h;return function(n,i){if(a===d)throw new Error("Generator is already running");if(a===p){if("throw"===n)throw i;return E()}r.method=n;r.arg=i;for(;;){var o=r.delegate;if(o){var s=A(o,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===h){a=p;throw r.arg}r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=d;var c=u(e,t,r);if("normal"===c.type){a=r.done?p:f;if(c.arg===g)continue;return{value:c.arg,done:r.done}}if("throw"===c.type){a=p;r.method="throw";r.arg=c.arg}}}}(e,r,o);return i}e.wrap=l;function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}var h="suspendedStart",f="suspendedYield",d="executing",p="completed",g={};function m(){}function v(){}function b(){}var y={};y[o]=function(){return this};var w=Object.getPrototypeOf,k=w&&w(w(T([])));k&&k!==a&&n.call(k,o)&&(y=k);var S=b.prototype=m.prototype=Object.create(y);v.prototype=S.constructor=b;b.constructor=v;b[c]=v.displayName="GeneratorFunction";function x(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))};e.mark=function(e){if(Object.setPrototypeOf)Object.setPrototypeOf(e,b);else{e.__proto__=b;c in e||(e[c]="GeneratorFunction")}e.prototype=Object.create(S);return e};e.awrap=function(e){return{__await:e}};function C(e){var r;this._invoke=function(a,i){function o(){return new Promise((function(r,o){!function r(a,i,o,s){var c=u(e[a],e,i);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"===t(h)&&n.call(h,"__await")?Promise.resolve(h.__await).then((function(e){r("next",e,o,s)}),(function(e){r("throw",e,o,s)})):Promise.resolve(h).then((function(e){l.value=e;o(l)}),(function(e){return r("throw",e,o,s)}))}s(c.arg)}(a,i,r,o)}))}return r=r?r.then(o,o):o()}}x(C.prototype);C.prototype[s]=function(){return this};e.AsyncIterator=C;e.async=function(t,r,a,n){var i=new C(l(t,r,a,n));return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))};function A(e,t){var a=e.iterator[t.method];if(a===r){t.delegate=null;if("throw"===t.method){if(e.iterator.return){t.method="return";t.arg=r;A(e,t);if("throw"===t.method)return g}t.method="throw";t.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var n=u(a,e.iterator,t.arg);if("throw"===n.type){t.method="throw";t.arg=n.arg;t.delegate=null;return g}var i=n.arg;if(!i){t.method="throw";t.arg=new TypeError("iterator result is not an object");t.delegate=null;return g}if(!i.done)return i;t[e.resultName]=i.value;t.next=e.nextLoc;if("return"!==t.method){t.method="next";t.arg=r}t.delegate=null;return g}x(S);S[c]="Generator";S[o]=function(){return this};S.toString=function(){return"[object Generator]"};function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]);if(2 in e){t.finallyLoc=e[2];t.afterLoc=e[3]}this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal";delete t.arg;e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}];e.forEach(O,this);this.reset(!0)}e.keys=function(e){var t=[];for(var r in e)t.push(r);t.reverse();return function r(){for(;t.length;){var a=t.pop();if(a in e){r.value=a;r.done=!1;return r}}r.done=!0;return r}};function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function t(){for(;++a<e.length;)if(n.call(e,a)){t.value=e[a];t.done=!1;return t}t.value=r;t.done=!0;return t};return i.next=i}}return{next:E}}e.values=T;function E(){return{value:r,done:!0}}I.prototype={constructor:I,reset:function(e){this.prev=0;this.next=0;this.sent=this._sent=r;this.done=!1;this.delegate=null;this.method="next";this.arg=r;this.tryEntries.forEach(P);if(!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function a(a,n){s.type="throw";s.arg=e;t.next=a;if(n){t.method="next";t.arg=r}return!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};o.type=e;o.arg=t;if(i){this.method="next";this.next=i.finallyLoc;return g}return this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;if("break"===e.type||"continue"===e.type)this.next=e.arg;else if("return"===e.type){this.rval=this.arg=e.arg;this.method="return";this.next="end"}else"normal"===e.type&&t&&(this.next=t);return g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e){this.complete(r.completion,r.afterLoc);P(r);return g}}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;P(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,a){this.delegate={iterator:T(e),resultName:t,nextLoc:a};"next"===this.method&&(this.arg=r);return g}};return e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(4)(e))},function(e,t,r){"use strict";e.exports=function(e){if(!e.webpackPolyfill){e.deprecate=function(){};e.paths=[];e.children||(e.children=[]);Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}});Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}});e.webpackPolyfill=1}return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.arrayByteLength=O;t.arraysToBytes=function(e){var t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];for(var r=0,a=0;a<t;a++)r+=O(e[a]);for(var n=0,i=new Uint8Array(r),o=0;o<t;o++){var s=e[o];s instanceof Uint8Array||(s="string"==typeof s?A(s):new Uint8Array(s));var c=s.byteLength;i.set(s,n);n+=c}return i};t.assert=g;t.bytesToString=function(e){g(null!==e&&"object"===i(e)&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length;if(t<8192)return String.fromCharCode.apply(null,e);for(var r=[],a=0;a<t;a+=8192){var n=Math.min(a+8192,t),o=e.subarray(a,n);r.push(String.fromCharCode.apply(null,o))}return r.join("")};t.createPromiseCapability=function(){var e=Object.create(null),t=!1;Object.defineProperty(e,"settled",{get:function(){return t}});e.promise=new Promise((function(r,a){e.resolve=function(e){t=!0;r(e)};e.reject=function(e){t=!0;a(e)}}));return e};t.getVerbosityLevel=function(){return f};t.info=function(e){f>=h.INFOS&&console.log("Info: ".concat(e))};t.isArrayBuffer=function(e){return"object"===i(e)&&null!==e&&void 0!==e.byteLength};t.isArrayEqual=function(e,t){if(e.length!==t.length)return!1;return e.every((function(e,r){return e===t[r]}))};t.isBool=function(e){return"boolean"==typeof e};t.isEmptyObj=function(e){for(var t in e)return!1;return!0};t.isNum=function(e){return"number"==typeof e};t.isString=function(e){return"string"==typeof e};t.isSpace=function(e){return 32===e||9===e||13===e||10===e};t.isSameOrigin=function(e,t){var r;try{if(!(r=new URL(e)).origin||"null"===r.origin)return!1}catch(e){return!1}var a=new URL(t,r);return r.origin===a.origin};t.createValidAbsoluteUrl=function(e,t){if(!e)return null;try{var r=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(r))return r}catch(e){}return null};t.isLittleEndian=function(){var e=new Uint8Array(4);e[0]=1;return 1===new Uint32Array(e.buffer,0,1)[0]};t.isEvalSupported=function(){try{new Function("");return!0}catch(e){return!1}};t.log2=function(e){if(e<=0)return 0;return Math.ceil(Math.log2(e))};t.readInt8=function(e,t){return e[t]<<24>>24};t.readUint16=function(e,t){return e[t]<<8|e[t+1]};t.readUint32=function(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0};t.removeNullCharacters=function(e){if("string"!=typeof e){d("The argument for removeNullCharacters must be a string.");return e}return e.replace(C,"")};t.setVerbosityLevel=function(e){Number.isInteger(e)&&(f=e)};t.shadow=function(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1});return r};t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)};t.stringToBytes=A;t.stringToPDFString=function(e){var t=e.length,r=[];if("þ"===e[0]&&"ÿ"===e[1])for(var a=2;a<t;a+=2)r.push(String.fromCharCode(e.charCodeAt(a)<<8|e.charCodeAt(a+1)));else for(var n=0;n<t;++n){var i=T[e.charCodeAt(n)];r.push(i?String.fromCharCode(i):e.charAt(n))}return r.join("")};t.stringToUTF8String=function(e){return decodeURIComponent(escape(e))};t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))};t.warn=d;t.unreachable=p;Object.defineProperty(t,"ReadableStream",{enumerable:!0,get:function(){return a.ReadableStream}});t.createObjectURL=t.FormatError=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.NativeImageDecoding=t.MissingPDFException=t.InvalidPDFException=t.AbortException=t.CMapCompressionType=t.ImageKind=t.FontType=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.UNSUPPORTED_FEATURES=t.VerbosityLevel=t.OPS=t.IDENTITY_MATRIX=t.FONT_IDENTITY_MATRIX=t.BaseException=void 0;r(6);var a=r(181);function n(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1;a.configurable=!0;"value"in a&&(a.writable=!0);Object.defineProperty(e,a.key,a)}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}});t&&u(e,t)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){e.__proto__=t;return e})(e,t)}t.IDENTITY_MATRIX=[1,0,0,1,0,0];t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0];t.NativeImageDecoding={NONE:"none",DECODE:"decode",DISPLAY:"display"};t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"};t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"};t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};t.AnnotationReplyType={GROUP:"Group",REPLY:"R"};t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};t.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};t.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};var h={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=h;t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2};t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"};t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var f=h.WARNINGS;function d(e){f>=h.WARNINGS&&console.log("Warning: ".concat(e))}function p(e){throw new Error(e)}function g(e,t){e||p(t)}var m=function(){function e(t){this.constructor===e&&p("Cannot initialize BaseException.");this.message=t;this.name=this.constructor.name}e.prototype=new Error;e.constructor=e;return e}();t.BaseException=m;var v=function(e){l(t,e);function t(e,r){var a;o(this,t);(a=s(this,c(t).call(this,e))).code=r;return a}return t}(m);t.PasswordException=v;var b=function(e){l(t,e);function t(e,r){var a;o(this,t);(a=s(this,c(t).call(this,e))).details=r;return a}return t}(m);t.UnknownErrorException=b;var y=function(e){l(t,e);function t(){o(this,t);return s(this,c(t).apply(this,arguments))}return t}(m);t.InvalidPDFException=y;var w=function(e){l(t,e);function t(){o(this,t);return s(this,c(t).apply(this,arguments))}return t}(m);t.MissingPDFException=w;var k=function(e){l(t,e);function t(e,r){var a;o(this,t);(a=s(this,c(t).call(this,e))).status=r;return a}return t}(m);t.UnexpectedResponseException=k;var S=function(e){l(t,e);function t(){o(this,t);return s(this,c(t).apply(this,arguments))}return t}(m);t.FormatError=S;var x=function(e){l(t,e);function t(){o(this,t);return s(this,c(t).apply(this,arguments))}return t}(m);t.AbortException=x;var C=/\x00/g;function A(e){g("string"==typeof e,"Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),a=0;a<t;++a)r[a]=255&e.charCodeAt(a);return r}function O(e){if(void 0!==e.length)return e.length;g(void 0!==e.byteLength);return e.byteLength}var P=["rgb(",0,",",0,",",0,")"],I=function(){function e(){o(this,e)}!function(e,t,r){t&&n(e.prototype,t);r&&n(e,r)}(e,null,[{key:"makeCssRgb",value:function(e,t,r){P[1]=e;P[3]=t;P[5]=r;return P.join("")}},{key:"transform",value:function(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]]}},{key:"applyTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}},{key:"applyInverseTransform",value:function(e,t){var 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]}},{key:"getAxialAlignedBoundingBox",value:function(t,r){var a=e.applyTransform(t,r),n=e.applyTransform(t.slice(2,4),r),i=e.applyTransform([t[0],t[3]],r),o=e.applyTransform([t[2],t[1]],r);return[Math.min(a[0],n[0],i[0],o[0]),Math.min(a[1],n[1],i[1],o[1]),Math.max(a[0],n[0],i[0],o[0]),Math.max(a[1],n[1],i[1],o[1])]}},{key:"inverseTransform",value:function(e){var 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]}},{key:"apply3dTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]}},{key:"singularValueDecompose2dScale",value:function(e){var 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],n=e[2]*t[0]+e[3]*t[2],i=e[2]*t[1]+e[3]*t[3],o=(r+i)/2,s=Math.sqrt((r+i)*(r+i)-4*(r*i-n*a))/2,c=o+s||1,l=o-s||1;return[Math.sqrt(c),Math.sqrt(l)]}},{key:"normalizeRect",value:function(e){var 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}},{key:"intersect",value:function(t,r){function a(e,t){return e-t}var n=[t[0],t[2],r[0],r[2]].sort(a),i=[t[1],t[3],r[1],r[3]].sort(a),o=[];t=e.normalizeRect(t);r=e.normalizeRect(r);if(!(n[0]===t[0]&&n[1]===r[0]||n[0]===r[0]&&n[1]===t[0]))return null;o[0]=n[1];o[2]=n[2];if(!(i[0]===t[1]&&i[1]===r[1]||i[0]===r[1]&&i[1]===t[1]))return null;o[1]=i[1];o[3]=i[2];return o}}]);return e}();t.Util=I;var T=[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,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];var E,F=(E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!r&&URL.createObjectURL){var a=new Blob([e],{type:t});return URL.createObjectURL(a)}for(var n="data:".concat(t,";base64,"),i=0,o=e.length;i<o;i+=3){var s=255&e[i],c=255&e[i+1],l=255&e[i+2],u=s>>2,h=(3&s)<<4|c>>4,f=i+1<o?(15&c)<<2|l>>6:64,d=i+2<o?63&l:64;n+=E[u]+E[h]+E[f]+E[d]}return n});t.createObjectURL=F},function(e,t,r){"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var n=r(7);if(!n._pdfjsCompatibilityChecked){n._pdfjsCompatibilityChecked=!0;var i=r(8),o="object"===("undefined"==typeof window?"undefined":a(window))&&"object"===("undefined"==typeof document?"undefined":a(document));!n.btoa&&i()&&(n.btoa=function(e){return Buffer.from(e,"binary").toString("base64")});!n.atob&&i()&&(n.atob=function(e){return Buffer.from(e,"base64").toString("binary")});o&&void 0===Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)});!function(){if(o&&!i()){var e=document.createElement("div");e.classList.add("testOne","testTwo");if(!0!==e.classList.contains("testOne")||!0!==e.classList.contains("testTwo")){var t=DOMTokenList.prototype.add,r=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];for(var n=0,i=r;n<i.length;n++){var o=i[n];t.call(this,o)}};DOMTokenList.prototype.remove=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];for(var n=0,i=t;n<i.length;n++){var o=i[n];r.call(this,o)}}}}}();!function(){if(o&&!i()){!1!==document.createElement("div").classList.toggle("test",0)&&(DOMTokenList.prototype.toggle=function(e){var t=arguments.length>1?!!arguments[1]:!this.contains(e);return this[t?"add":"remove"](e),t})}}();String.prototype.startsWith||r(9);String.prototype.endsWith||r(61);String.prototype.includes||r(63);Array.prototype.includes||r(65);Array.from||r(72);Object.assign||r(93);Math.log2||(Math.log2=r(96));Number.isNaN||(Number.isNaN=r(98));Number.isInteger||(Number.isInteger=r(100));n.Promise&&n.Promise.prototype&&n.Promise.prototype.finally||(n.Promise=r(103));n.URL=r(125);n.WeakMap||(n.WeakMap=r(132));n.WeakSet||(n.WeakSet=r(142));String.prototype.codePointAt||r(144);String.fromCodePoint||(String.fromCodePoint=r(146));n.Symbol||r(148);String.prototype.padStart||r(171);String.prototype.padEnd||r(176);Object.values||(Object.values=r(178))}},function(e,t,r){"use strict";e.exports="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:{}},function(e,t,r){"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(){return"object"===("undefined"==typeof process?"undefined":a(process))&&process+""=="[object process]"&&!process.versions.nw&&!process.versions.electron}},function(e,t,r){r(10);var a=r(58);e.exports=a("String","startsWith")},function(e,t,r){"use strict";var a=r(11),n=r(47),i=r(53),o=r(21),s=r(57),c="".startsWith,l=Math.min;a({target:"String",proto:!0,forced:!s("startsWith")},{startsWith:function(e){var t=String(o(this));i(e);var r=n(l(arguments.length>1?arguments[1]:void 0,t.length)),a=String(e);return c?c.call(t,a,r):t.slice(r,r+a.length)===a}})},function(e,t,r){var a=r(12),n=r(13).f,i=r(27),o=r(30),s=r(32),c=r(40),l=r(52);e.exports=function(e,t){var r,u,h,f,d,p=e.target,g=e.global,m=e.stat;if(r=g?a:m?a[p]||s(p,{}):(a[p]||{}).prototype)for(u in t){f=t[u];h=e.noTargetGet?(d=n(r,u))&&d.value:r[u];if(!l(g?u:p+(m?".":"#")+u,e.forced)&&void 0!==h){if(typeof f==typeof h)continue;c(f,h)}(e.sham||h&&h.sham)&&i(f,"sham",!0);o(r,u,f,e)}}},function(e,t){var r="object",a=function(e){return e&&e.Math==Math&&e};e.exports=a(typeof globalThis==r&&globalThis)||a(typeof window==r&&window)||a(typeof self==r&&self)||a(typeof global==r&&global)||Function("return this")()},function(e,t,r){var a=r(14),n=r(16),i=r(17),o=r(18),s=r(22),c=r(24),l=r(25),u=Object.getOwnPropertyDescriptor;t.f=a?u:function(e,t){e=o(e);t=s(t,!0);if(l)try{return u(e,t)}catch(e){}if(c(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t,r){var a=r(15);e.exports=!a((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){"use strict";var a={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!a.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:a},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var a=r(19),n=r(21);e.exports=function(e){return a(n(e))}},function(e,t,r){var a=r(15),n=r(20),i="".split;e.exports=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==n(e)?i.call(e,""):Object(e)}:Object},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var a=r(23);e.exports=function(e,t){if(!a(e))return e;var r,n;if(t&&"function"==typeof(r=e.toString)&&!a(n=r.call(e)))return n;if("function"==typeof(r=e.valueOf)&&!a(n=r.call(e)))return n;if(!t&&"function"==typeof(r=e.toString)&&!a(n=r.call(e)))return n;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var a=r(14),n=r(15),i=r(26);e.exports=!a&&!n((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var a=r(12),n=r(23),i=a.document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){var a=r(14),n=r(28),i=r(17);e.exports=a?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){e[t]=r;return e}},function(e,t,r){var a=r(14),n=r(25),i=r(29),o=r(22),s=Object.defineProperty;t.f=a?s:function(e,t,r){i(e);t=o(t,!0);i(r);if(n)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");"value"in r&&(e[t]=r.value);return e}},function(e,t,r){var a=r(23);e.exports=function(e){if(!a(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,r){var a=r(12),n=r(31),i=r(27),o=r(24),s=r(32),c=r(34),l=r(35),u=l.get,h=l.enforce,f=String(c).split("toString");n("inspectSource",(function(e){return c.call(e)}));(e.exports=function(e,t,r,n){var c=!!n&&!!n.unsafe,l=!!n&&!!n.enumerable,u=!!n&&!!n.noTargetGet;if("function"==typeof r){"string"!=typeof t||o(r,"name")||i(r,"name",t);h(r).source=f.join("string"==typeof t?t:"")}if(e!==a){c?!u&&e[t]&&(l=!0):delete e[t];l?e[t]=r:i(e,t,r)}else l?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||c.call(this)}))},function(e,t,r){var a=r(12),n=r(32),i=r(33),o=a["__core-js_shared__"]||n("__core-js_shared__",{});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.2.1",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){var a=r(12),n=r(27);e.exports=function(e,t){try{n(a,e,t)}catch(r){a[e]=t}return t}},function(e,t){e.exports=!1},function(e,t,r){var a=r(31);e.exports=a("native-function-to-string",Function.toString)},function(e,t,r){var a,n,i,o=r(36),s=r(12),c=r(23),l=r(27),u=r(24),h=r(37),f=r(39),d=s.WeakMap;if(o){var p=new d,g=p.get,m=p.has,v=p.set;a=function(e,t){v.call(p,e,t);return t};n=function(e){return g.call(p,e)||{}};i=function(e){return m.call(p,e)}}else{var b=h("state");f[b]=!0;a=function(e,t){l(e,b,t);return t};n=function(e){return u(e,b)?e[b]:{}};i=function(e){return u(e,b)}}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 TypeError("Incompatible receiver, "+e+" required");return r}}}},function(e,t,r){var a=r(12),n=r(34),i=a.WeakMap;e.exports="function"==typeof i&&/native code/.test(n.call(i))},function(e,t,r){var a=r(31),n=r(38),i=a("keys");e.exports=function(e){return i[e]||(i[e]=n(e))}},function(e,t){var r=0,a=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+a).toString(36)}},function(e,t){e.exports={}},function(e,t,r){var a=r(24),n=r(41),i=r(13),o=r(28);e.exports=function(e,t){for(var r=n(t),s=o.f,c=i.f,l=0;l<r.length;l++){var u=r[l];a(e,u)||s(e,u,c(t,u))}}},function(e,t,r){var a=r(42),n=r(44),i=r(51),o=r(29);e.exports=a("Reflect","ownKeys")||function(e){var t=n.f(o(e)),r=i.f;return r?t.concat(r(e)):t}},function(e,t,r){var a=r(43),n=r(12),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(a[e])||i(n[e]):a[e]&&a[e][t]||n[e]&&n[e][t]}},function(e,t,r){e.exports=r(12)},function(e,t,r){var a=r(45),n=r(50).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return a(e,n)}},function(e,t,r){var a=r(24),n=r(18),i=r(46).indexOf,o=r(39);e.exports=function(e,t){var r,s=n(e),c=0,l=[];for(r in s)!a(o,r)&&a(s,r)&&l.push(r);for(;t.length>c;)a(s,r=t[c++])&&(~i(l,r)||l.push(r));return l}},function(e,t,r){var a=r(18),n=r(47),i=r(49),o=function(e){return function(t,r,o){var s,c=a(t),l=n(c.length),u=i(o,l);if(e&&r!=r){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},function(e,t,r){var a=r(48),n=Math.min;e.exports=function(e){return e>0?n(a(e),9007199254740991):0}},function(e,t){var r=Math.ceil,a=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?a:r)(e)}},function(e,t,r){var a=r(48),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)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var a=r(15),n=/#|\.prototype\./,i=function(e,t){var r=s[o(e)];return r==l||r!=c&&("function"==typeof t?a(t):!!t)},o=i.normalize=function(e){return String(e).replace(n,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},function(e,t,r){var a=r(54);e.exports=function(e){if(a(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,r){var a=r(23),n=r(20),i=r(55)("match");e.exports=function(e){var t;return a(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==n(e))}},function(e,t,r){var a=r(12),n=r(31),i=r(38),o=r(56),s=a.Symbol,c=n("wks");e.exports=function(e){return c[e]||(c[e]=o&&s[e]||(o?s:i)("Symbol."+e))}},function(e,t,r){var a=r(15);e.exports=!!Object.getOwnPropertySymbols&&!a((function(){return!String(Symbol())}))},function(e,t,r){var a=r(55)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{t[a]=!1;return"/./"[e](t)}catch(e){}}return!1}},function(e,t,r){var a=r(12),n=r(59),i=Function.call;e.exports=function(e,t,r){return n(i,a[e].prototype[t],r)}},function(e,t,r){var a=r(60);e.exports=function(e,t,r){a(e);if(void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,a){return e.call(t,r,a)};case 3:return function(r,a,n){return e.call(t,r,a,n)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,r){r(62);var a=r(58);e.exports=a("String","endsWith")},function(e,t,r){"use strict";var a=r(11),n=r(47),i=r(53),o=r(21),s=r(57),c="".endsWith,l=Math.min;a({target:"String",proto:!0,forced:!s("endsWith")},{endsWith:function(e){var t=String(o(this));i(e);var r=arguments.length>1?arguments[1]:void 0,a=n(t.length),s=void 0===r?a:l(n(r),a),u=String(e);return c?c.call(t,u,s):t.slice(s-u.length,s)===u}})},function(e,t,r){r(64);var a=r(58);e.exports=a("String","includes")},function(e,t,r){"use strict";var a=r(11),n=r(53),i=r(21);a({target:"String",proto:!0,forced:!r(57)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(n(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){r(66);var a=r(58);e.exports=a("Array","includes")},function(e,t,r){"use strict";var a=r(11),n=r(46).includes,i=r(67);a({target:"Array",proto:!0},{includes:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}});i("includes")},function(e,t,r){var a=r(55),n=r(68),i=r(27),o=a("unscopables"),s=Array.prototype;null==s[o]&&i(s,o,n(null));e.exports=function(e){s[o][e]=!0}},function(e,t,r){var a=r(29),n=r(69),i=r(50),o=r(39),s=r(71),c=r(26),l=r(37)("IE_PROTO"),u=function(){},h=function(){var e,t=c("iframe"),r=i.length;t.style.display="none";s.appendChild(t);t.src=String("javascript:");(e=t.contentWindow.document).open();e.write("<script>document.F=Object<\/script>");e.close();h=e.F;for(;r--;)delete h.prototype[i[r]];return h()};e.exports=Object.create||function(e,t){var r;if(null!==e){u.prototype=a(e);r=new u;u.prototype=null;r[l]=e}else r=h();return void 0===t?r:n(r,t)};o[l]=!0},function(e,t,r){var a=r(14),n=r(28),i=r(29),o=r(70);e.exports=a?Object.defineProperties:function(e,t){i(e);for(var r,a=o(t),s=a.length,c=0;s>c;)n.f(e,r=a[c++],t[r]);return e}},function(e,t,r){var a=r(45),n=r(50);e.exports=Object.keys||function(e){return a(e,n)}},function(e,t,r){var a=r(42);e.exports=a("document","documentElement")},function(e,t,r){r(73);r(85);var a=r(43);e.exports=a.Array.from},function(e,t,r){"use strict";var a=r(74).charAt,n=r(35),i=r(75),o=n.set,s=n.getterFor("String Iterator");i(String,"String",(function(e){o(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),r=t.string,n=t.index;if(n>=r.length)return{value:void 0,done:!0};e=a(r,n);t.index+=e.length;return{value:e,done:!1}}))},function(e,t,r){var a=r(48),n=r(21),i=function(e){return function(t,r){var i,o,s=String(n(t)),c=a(r),l=s.length;return c<0||c>=l?e?"":void 0:(i=s.charCodeAt(c))<55296||i>56319||c+1===l||(o=s.charCodeAt(c+1))<56320||o>57343?e?s.charAt(c):i:e?s.slice(c,c+2):o-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,r){"use strict";var a=r(11),n=r(76),i=r(78),o=r(83),s=r(81),c=r(27),l=r(30),u=r(55),h=r(33),f=r(82),d=r(77),p=d.IteratorPrototype,g=d.BUGGY_SAFARI_ITERATORS,m=u("iterator"),v=function(){return this};e.exports=function(e,t,r,u,d,b,y){n(r,t,u);var w,k,S,x=function(e){if(e===d&&I)return I;if(!g&&e in O)return O[e];switch(e){case"keys":case"values":case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}},C=t+" Iterator",A=!1,O=e.prototype,P=O[m]||O["@@iterator"]||d&&O[d],I=!g&&P||x(d),T="Array"==t&&O.entries||P;if(T){w=i(T.call(new e));if(p!==Object.prototype&&w.next){h||i(w)===p||(o?o(w,p):"function"!=typeof w[m]&&c(w,m,v));s(w,C,!0,!0);h&&(f[C]=v)}}if("values"==d&&P&&"values"!==P.name){A=!0;I=function(){return P.call(this)}}h&&!y||O[m]===I||c(O,m,I);f[t]=I;if(d){k={values:x("values"),keys:b?I:x("keys"),entries:x("entries")};if(y)for(S in k)!g&&!A&&S in O||l(O,S,k[S]);else a({target:t,proto:!0,forced:g||A},k)}return k}},function(e,t,r){"use strict";var a=r(77).IteratorPrototype,n=r(68),i=r(17),o=r(81),s=r(82),c=function(){return this};e.exports=function(e,t,r){var l=t+" Iterator";e.prototype=n(a,{next:i(1,r)});o(e,l,!1,!0);s[l]=c;return e}},function(e,t,r){"use strict";var a,n,i,o=r(78),s=r(27),c=r(24),l=r(55),u=r(33),h=l("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(n=o(o(i)))!==Object.prototype&&(a=n):f=!0);null==a&&(a={});u||c(a,h)||s(a,h,(function(){return this}));e.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:f}},function(e,t,r){var a=r(24),n=r(79),i=r(37),o=r(80),s=i("IE_PROTO"),c=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){e=n(e);return a(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},function(e,t,r){var a=r(21);e.exports=function(e){return Object(a(e))}},function(e,t,r){var a=r(15);e.exports=!a((function(){function e(){}e.prototype.constructor=null;return Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,r){var a=r(28).f,n=r(24),i=r(55)("toStringTag");e.exports=function(e,t,r){e&&!n(e=r?e:e.prototype,i)&&a(e,i,{configurable:!0,value:t})}},function(e,t){e.exports={}},function(e,t,r){var a=r(29),n=r(84);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]);t=r instanceof Array}catch(e){}return function(r,i){a(r);n(i);t?e.call(r,i):r.__proto__=i;return r}}():void 0)},function(e,t,r){var a=r(23);e.exports=function(e){if(!a(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,r){var a=r(11),n=r(86);a({target:"Array",stat:!0,forced:!r(92)((function(e){Array.from(e)}))},{from:n})},function(e,t,r){"use strict";var a=r(59),n=r(79),i=r(87),o=r(88),s=r(47),c=r(89),l=r(90);e.exports=function(e){var t,r,u,h,f=n(e),d="function"==typeof this?this:Array,p=arguments.length,g=p>1?arguments[1]:void 0,m=void 0!==g,v=0,b=l(f);m&&(g=a(g,p>2?arguments[2]:void 0,2));if(null==b||d==Array&&o(b)){r=new d(t=s(f.length));for(;t>v;v++)c(r,v,m?g(f[v],v):f[v])}else{h=b.call(f);r=new d;for(;!(u=h.next()).done;v++)c(r,v,m?i(h,g,[u.value,v],!0):u.value)}r.length=v;return r}},function(e,t,r){var a=r(29);e.exports=function(e,t,r,n){try{return n?t(a(r)[0],r[1]):t(r)}catch(t){var i=e.return;void 0!==i&&a(i.call(e));throw t}}},function(e,t,r){var a=r(55),n=r(82),i=a("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[i]===e)}},function(e,t,r){"use strict";var a=r(22),n=r(28),i=r(17);e.exports=function(e,t,r){var o=a(t);o in e?n.f(e,o,i(0,r)):e[o]=r}},function(e,t,r){var a=r(91),n=r(82),i=r(55)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||n[a(e)]}},function(e,t,r){var a=r(20),n=r(55)("toStringTag"),i="Arguments"==a(function(){return arguments}());e.exports=function(e){var t,r,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),n))?r:i?a(t):"Object"==(o=a(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,r){var a=r(55)("iterator"),n=!1;try{var i=0,o={next:function(){return{done:!!i++}},return:function(){n=!0}};o[a]=function(){return this};Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!n)return!1;var r=!1;try{var i={};i[a]=function(){return{next:function(){return{done:r=!0}}}};e(i)}catch(e){}return r}},function(e,t,r){r(94);var a=r(43);e.exports=a.Object.assign},function(e,t,r){var a=r(11),n=r(95);a({target:"Object",stat:!0,forced:Object.assign!==n},{assign:n})},function(e,t,r){"use strict";var a=r(14),n=r(15),i=r(70),o=r(51),s=r(16),c=r(79),l=r(19),u=Object.assign;e.exports=!u||n((function(){var e={},t={},r=Symbol();e[r]=7;"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e}));return 7!=u({},e)[r]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")}))?function(e,t){for(var r=c(e),n=arguments.length,u=1,h=o.f,f=s.f;n>u;)for(