!function(t,e){"use strict";"function"==typeofdefine&&define.amd?define("pdfjs-dist/build/pdf",["exports"],e):e("undefined"!=typeofexports?exports:t.pdfjsDistBuildPdf={})}(this,function(t){"use strict";vare="1.7.225",n="17d135f",i="undefined"!=typeofdocument&&document.currentScript?document.currentScript.src:null,r={};(function(){!function(t,e){e(t.pdfjsSharedUtil={})}(this,function(t){functione(t){Z=t}functionn(){returnZ}functioni(t){Z>=Q.infos&&console.log("Info: "+t)}functionr(t){Z>=Q.warnings&&console.log("Warning: "+t)}functiona(t){console.log("Deprecated API usage: "+t)}functions(t){throwZ>=Q.errors&&(console.log("Error: "+t),console.log(o())),newError(t)}functiono(){try{thrownewError}catch(t){returnt.stack?t.stack.split("\n").slice(2).join("\n"):""}}functionc(t,e){t||s(e)}functionl(t,e){try{varn=newURL(t);if(!n.origin||"null"===n.origin)return!1}catch(t){return!1}vari=newURL(e,n);returnn.origin===i.origin}functionh(t){if(!t)return!1;switch(t.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}functionu(t,e){if(!t)returnnull;try{varn=e?newURL(t,e):newURL(t);if(h(n))returnn}catch(t){}returnnull}functiond(t,e,n){returnObject.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}functionf(t){vare;returnfunction(){returnt&&(e=Object.create(null),t(e),t=null),e}}functionp(t){return"string"!=typeoft?(r("The argument for removeNullCharacters must be a string."),t):t.replace(lt,"")}functiong(t){c(null!==t&&"object"==typeoft&&void0!==t.length,"Invalid argument for bytesToString");vare=t.length,n=8192;if(e<n)returnString.fromCharCode.apply(null,t);for(vari=[],r=0;r<e;r+=n){vara=Math.min(r+n,e),s=t.subarray(r,a);i.push(String.fromCharCode.apply(null,s))}returni.join("")}functionm(t){c("string"==typeoft,"Invalid argument for stringToBytes");for(vare=t.length,n=newUint8Array(e),i=0;i<e;++i)n[i]=255&t.charCodeAt(i);returnn}functionA(t){returnvoid0!==t.length?t.length:(c(void0!==t.byteLength),t.byteLength)}functionv(t){if(1===t.length&&t[0]instanceofUint8Array)returnt[0];vare,n,i,r=0,a=t.length;for(e=0;e<a;e++)n=t[e],i=A(n),r+=i;vars=0,o=newUint8Array(r);for(e=0;e<a;e++)n=t[e],ninstanceofUint8Array||(n="string"==typeofn?m(n):newUint8Array(n)),i=n.byteLength,o.set(n,s),s+=i;returno}functionb(t){returnString.fromCharCode(t>>24&255,t>>16&255,t>>8&255,255&t)}functiony(t){for(vare=1,n=0;t>e;)e<<=1,n++;returnn}functionx(t,e){returnt[e]<<24>>24}functionS(t,e){returnt[e]<<8|t[e+1]}functionk(t,e){return(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0}function_(){vart=newUint8Array(2);t[0]=1;vare=newUint16Array(t.buffer);return1===e[0]}functionC(){try{returnnewFunction(""),!0}catch(t){return!1}}functionw(t){vare,n=t.length,i=[];if("þ"===t[0]&&"ÿ"===t[1])for(e=2;e<n;e+=2)i.push(String.fromCharCode(t.charCodeAt(e)<<8|t.charCodeAt(e+1)));elsefor(e=0;e<n;++e){varr=pt[t.charCodeAt(e)];i.push(r?String.fromCharCode(r):t.charAt(e))}returni.join("")}functionT(t){returndecodeURIComponent(escape(t))}functionL(t){returnunescape(encodeURIComponent(t))}functionP(t){for(vareint)return!1;return!0}functionE(t){return"boolean"==typeoft}functionR(t){return"number"==typeoft&&(0|t)===t}functionI(t){return"number"==typeoft}functionD(t){return"string"==typeoft}functionj(t){returntinstanceofArray}functionO(t){return"object"==typeoft&&null!==t&&void0!==t.byteLength}functionF(t){return32===t||9===t||13===t||10===t}functionM(){vart={};returnt.promise=newPromise(function(e,n){t.resolve=e,t.reject=n}),t}functionN(t,e,n){this.sourceName=t,this.targetName=e,this.comObj=n,this.callbackIndex=1,this.postMessageTransfers=!0;vari=this.callbacksCapabilities=Object.create(null),r=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(t){vare=t.data;if(e.targetName===this.sourceName)if(e.isReply){vara=e.callbackId;if(e.callbackIdini){varo=i[a];deletei[a],"error"ine?o.reject(e.error):o.resolve(e.data)}elses("Cannot resolve callback "+a)}elseif(e.actioninr){varc=r[e.ac
this.nativeFontFaces=[],this.loadTestFontId=0,this.loadingContext={requests:[],nextRequestId:0}}vari=e.assert,r=e.bytesToString,a=e.string32,s=e.shadow,o=e.warn;n.prototype={insertRule:function(t){vare=this.styleElement;e||(e=this.styleElement=document.createElement("style"),e.id="PDFJS_FONT_STYLE_TAG_"+this.docId,document.documentElement.getElementsByTagName("head")[0].appendChild(e));varn=e.sheet;n.insertRule(t,n.cssRules.length)},clear:function(){vart=this.styleElement;t&&(t.parentNode.removeChild(t),t=this.styleElement=null),this.nativeFontFaces.forEach(function(t){document.fonts.delete(t)}),this.nativeFontFaces.length=0}};varc=function(){returnatob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==")};Object.defineProperty(n.prototype,"loadTestFont",{get:function(){returns(this,"loadTestFont",c())},configurable:!0}),n.prototype.addNativeFontFace=function(t){this.nativeFontFaces.push(t),document.fonts.add(t)},n.prototype.bind=function(t,e){for(vari=[],r=[],a=[],s=function(t){returnt.loaded.catch(function(e){o('Failed to load font "'+t.family+'": '+e)})},c=n.isFontLoadingAPISupported&&!n.isSyncFontLoadingSupported,l=0,h=t.length;l<h;l++){varu=t[l];if(!u.attached&&u.loading!==!1)if(u.attached=!0,c){vard=u.createNativeFontFace();d&&(this.addNativeFontFace(d),a.push(s(d)))}else{varf=u.createFontFaceRule();f&&(this.insertRule(f),i.push(f),r.push(u))}}varp=this.queueLoadingCallback(e);c?Promise.all(a).then(function(){p.complete()}):i.length>0&&!n.isSyncFontLoadingSupported?this.prepareFontLoadEvent(i,r,p):p.complete()},n.prototype.queueLoadingCallback=function(t){functione(){for(i(!a.end,"completeRequest() cannot be called twice"),a.end=Date.now();n.requests.length>0&&n.requests[0].end;){vart=n.requests.shift();setTimeout(t.callback,0)}}varn=this.loadingContext,r="pdfjs-font-loading-"+n.nextRequestId++,a={id:r,complete:e,callback:t,started:Date.now()};returnn.requests.push(a),a},n.prototype.prepareFontLoadEvent=function(t,e,n){functioni(t,e){returnt.charCodeAt(e)<<24|t.charCodeAt(e+1)<<16|t.charCodeAt(e+2)<<8|255&t.charCodeAt(e+3)}functionr(t,e,n,i){varr=t.substr(0,e),a=t.substr(e+n);returnr+i+a}functions(t,e){if(d++,d>30)returno("Load test font never loaded."),voide();u.font="30px "+t,u.fillText(".",0,20);varn=u.getImageData(0,0,1,1);returnn.data[3]>0?voide():voidsetTimeout(s.bind(null,t,e))}varc,l,h=document.createElement("canvas");h.width=1,h.height=1;varu=h.getContext("2d"),d=0,f="lt"+Date.now()+this.loadTestFontId++,p=this.loadTestFont,g=976;p=r(p,g,f.length,f);varm=16,A=1482184792,v=i(p,m);for(c=0,l=f.length-3;c<l;c+=4)v=v-A+i(f,c)|0;c<f.length&&(v=v-A+i(f+"XXX",c)|