Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
/* Copyright 2017 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.
*/
!function(b,c){"object"==typeof exports&&"object"==typeof module?module.exports=c():"function"==typeof define&&define.amd?define("pdfjs-dist/build/pdf",[],c):"object"==typeof exports?exports["pdfjs-dist/build/pdf"]=c():b["pdfjs-dist/build/pdf"]=b.pdfjsDistBuildPdf=c()}(this,function(){return function(a){function c(d){if(b[d])return b[d].exports;var e=b[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,c),e.l=!0,e.exports}var b={};return c.m=a,c.c=b,c.i=function(a){return a},c.d=function(a,b,d){c.o(a,b)||Object.defineProperty(a,b,{configurable:!1,enumerable:!0,get:d})},c.n=function(a){var b=a&&a.__esModule?function(){return a.default}:function(){return a};return c.d(b,"a",b),b},c.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},c.p="",c(c.s=14)}([function(a,b,c){"use strict";(function(a){function s(a){r=a}function t(){return r}function u(a){r>=o.infos&&console.log("Info: "+a)}function v(a){r>=o.warnings&&console.log("Warning: "+a)}function w(a){console.log("Deprecated API usage: "+a)}function x(a){throw r>=o.errors&&(console.log("Error: "+a),console.log(y())),new Error(a)}function y(){try{throw new Error}catch(a){return a.stack?a.stack.split("\n").slice(2).join("\n"):""}}function z(a,b){a||x(b)}function B(a,b){try{var c=new URL(a);if(!c.origin||"null"===c.origin)return!1}catch(a){return!1}var d=new URL(b,c);return c.origin===d.origin}function C(a){if(!a)return!1;switch(a.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function D(a,b){if(!a)return null;try{var c=b?new URL(a,b):new URL(a);if(C(c))return c}catch(a){}return null}function E(a,b,c){return Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!1}),c}function F(a){var b;return function(){return a&&(b=Object.create(null),a(b),a=null),b}}function Q(a){return"string"!=typeof a?(v("The argument for removeNullCharacters must be a string."),a):a.replace(P,"")}function R(a){z(null!==a&&"object"==typeof a&&void 0!==a.length,"Invalid argument for bytesToString");var b=a.length,c=8192;if(b<c)return String.fromCharCode.apply(null,a);for(var d=[],e=0;e<b;e+=c){var f=Math.min(e+c,b),g=a.subarray(e,f);d.push(String.fromCharCode.apply(null,g))}return d.join("")}function S(a){z("string"==typeof a,"Invalid argument for stringToBytes");for(var b=a.length,c=new Uint8Array(b),d=0;d<b;++d)c[d]=255&a.charCodeAt(d);return c}function T(a){return void 0!==a.length?a.length:(z(void 0!==a.byteLength),a.byteLength)}function U(a){if(1===a.length&&a[0]instanceof Uint8Array)return a[0];var c,e,f,b=0,d=a.length;for(c=0;c<d;c++)e=a[c],f=T(e),b+=f;var g=0,h=new Uint8Array(b);for(c=0;c<d;c++)e=a[c],e instanceof Uint8Array||(e="string"==typeof e?S(e):new Uint8Array(e)),f=e.byteLength,h.set(e,g),g+=f;return h}function V(a){return String.fromCharCode(a>>24&255,a>>16&255,a>>8&255,255&a)}function W(a){for(var b=1,c=0;a>b;)b<<=1,c++;return c}function X(a,b){return a[b]<<24>>24}function Y(a,b){return a[b]<<8|a[b+1]}function Z(a,b){return(a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3])>>>0}function $(){var a=new Uint8Array(2);return a[0]=1,1===new Uint16Array(a.buffer)[0]}function _(){try{return new Function(""),!0}catch(a){return!1}}function fa(a){var b,c=a.length,d=[];if("þ"===a[0]&&"ÿ"===a[1])for(b=2;b<c;b+=2)d.push(String.fromCharCode(a.charCodeAt(b)<<8|a.charCodeAt(b+1)));else for(b=0;b<c;++b){var e=ea[a.charCodeAt(b)];d.push(e?String.fromCharCode(e):a.charAt(b))}return d.join("")}function ga(a){return decodeURIComponent(escape(a))}function ha(a){return unescape(encodeURIComponent(a))}function ia(a){for(var b in a)return!1;return!0}function ja(a){return"boolean"==typeof a}function ka(a){return"number"==typeof a&&(0|a)===a}function la(a){return"number"==typeof a}function ma(a){return"string"==typeof a}function na(a){return a instanceof Array}function oa(a){return"object"==typeof a&&null!==a&&void 0!==a.byteLength}function pa(a){return 32===a||9===a||13===a||10===a}function qa(){return"undefined"==typeof __pdfjsdev_webpack__&&("object"==typeof process&&process+""=="[object process]")}function ra(){var a={};return a.promise=new Promise(function(b,c){a.resolve=b,a.reject=c}),a}function va(a,b,c){this.sourceName=a,this.targetName=b,this.comObj=c,this.callbackIndex=1,this.postMessageTransfers=!0;var d=this.callbacksCapabilities=Object.create(null),e=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(b){var f=b.data;if(f.targetName===this.sourceName)if(f.isReply){var g=f.callbackId;if(f.callbackId in d){var h=d[g];delete d[g],"error"in f?h.reject(f.error):h.resolve(f.data)}else x("Cannot resolve callback "+g)}else if(f.action in e){var i=e[f.action];if(f.callbackId){var j=this.sourceName,k=f.sourceName;Promise.resolve().then(function(){return i[0].call(i[1],f.data)}).then(function(a){c.postMessage({sourceName:j,targetName:k,isReply:!0,callbackId:f.callbackId,data:a})},function(a){a instanceof Error&&(a+=""),c.postMessage({sourceName:j,targetName:k,isReply:!0,callbackId:f.callbackId,error:a})})}else i[0].call(i[1],f.data)}else x("Unknown action from worker: "+f.action)}.bind(this),c.addEventListener("message",this._onComObjOnMessage)}function wa(a,b,c){var d=new Image;d.onload=function(){c.resolve(a,d)},d.onerror=function(){c.resolve(a,null),v("Error during JPEG image loading")},d.src=b}var e=(c(13),"undefined"!=typeof window?window:void 0!==a?a:"undefined"!=typeof self?self:void 0),f=[.001,0,0,.001,0,0],g={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},h={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},i={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},j={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},k={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},l={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},m={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9},n={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10},o={errors:0,warnings:1,infos:5},p={NONE:0,BINARY:1,STREAM:2},q={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},r=o.warnings,A={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"},G={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},H=function(){function b(a,b){this.name="PasswordException",this.message=a,this.code=b}return b.prototype=new Error,b.constructor=b,b}(),I=function(){function b(a,b){this.name="UnknownErrorException",this.message=a,this.details=b}return b.prototype=new Error,b.constructor=b,b}(),J=function(){function b(a){this.name="InvalidPDFException",this.message=a}return b.prototype=new Error,b.constructor=b,b}(),K=function(){function b(a){this.name="MissingPDFException",this.message=a}return b.prototype=new Error,b.constructor=b,b}(),L=function(){function b(a,b){this.name="UnexpectedResponseException",this.message=a,this.status=b}return b.prototype=new Error,b.constructor=b,b}(),M=function(){function b(a){this.message=a}return b.prototype=new Error,b.prototype.name="NotImplementedException",b.constructor=b,b}(),N=function(){function b(a,b){this.begin=a,this.end=b,this.message="Missing data ["+a+", "+b+")"}return b.prototype=new Error,b.prototype.name="MissingDataException",b.constructor=b,b}(),O=function(){function b(a){this.message=a}return b.prototype=new Error,b.prototype.name="XRefParseException",b.constructor=b,b}(),P=/\x00/g,aa=function(){function b(a,b){this.buffer=a,this.byteLength=a.length,this.length=void 0===b?this.byteLength>>2:b,e(this.length)}function d(a){return{get:function(){var b=this.buffer,c=a<<2;return(b[c]|b[c+1]<<8|b[c+2]<<16|b[c+3]<<24)>>>0},set:function(b){var c=this.buffer,d=a<<2;c[d]=255&b,c[d+1]=b>>8&255,c[d+2]=b>>16&255,c[d+3]=b>>>24&255}}}function e(a){for(;c<a;)Object.defineProperty(b.prototype,c,d(c)),c++}b.prototype=Object.create(null);var c=0;return b}();b.Uint32ArrayView=aa;var ba=[1,0,0,1,0,0],ca=function(){function b(){}var c=["rgb(",0,",",0,",",0,")"];b.makeCssRgb=function(b,d,e){return c[1]=b,c[3]=d,c[5]=e,c.join("")},b.transform=function(b,c){return[b[0]*c[0]+b[2]*c[1],b[1]*c[0]+b[3]*c[1],b[0]*c[2]+b[2]*c[3],b[1]*c[2]+b[3]*c[3],b[0]*c[4]+b[2]*c[5]+b[4],b[1]*c[4]+b[3]*c[5]+b[5]]},b.applyTransform=function(b,c){return[b[0]*c[0]+b[1]*c[2]+c[4],b[0]*c[1]+b[1]*c[3]+c[5]]},b.applyInverseTransform=function(b,c){var d=c[0]*c[3]-c[1]*c[2];return[(b[0]*c[3]-b[1]*c[2]+c[2]*c[5]-c[4]*c[3])/d,(-b[0]*c[1]+b[1]*c[0]+c[4]*c[1]-c[5]*c[0])/d]},b.getAxialAlignedBoundingBox=function(c,d){var e=b.applyTransform(c,d),f=b.applyTransform(c.slice(2,4),d),g=b.applyTransform([c[0],c[3]],d),h=b.applyTransform([c[2],c[1]],d);return[Math.min(e[0],f[0],g[0],h[0]),Math.min(e[1],f[1],g[1],h[1]),Math.max(e[0],f[0],g[0],h[0]),Math.max(e[1],f[1],g[1],h[1])]},b.inverseTransform=function(b){var c=b[0]*b[3]-b[1]*b[2];return[b[3]/c,-b[1]/c,-b[2]/c,b[0]/c,(b[2]*b[5]-b[4]*b[3])/c,(b[4]*b[1]-b[5]*b[0])/c]},b.apply3dTransform=function(b,c){return[b[0]*c[0]+b[1]*c[1]+b[2]*c[2],b[3]*c[0]+b[4]*c[1]+b[5]*c[2],b[6]*c[0]+b[7]*c[1]+b[8]*c[2]]},b.singularValueDecompose2dScale=function(b){var c=[b[0],b[2],b[1],b[3]],d=b[0]*c[0]+b[1]*c[2],e=b[0]*c[1]+b[1]*c[3],f=b[2]*c[0]+b[3]*c[2],g=b[2]*c[1]+b[3]*c[3],h=(d+g)/2,i=Math.sqrt((d+g)*(d+g)-4*(d*g-f*e))/2,j=h+i||1,k=h-i||1;return[Math.sqrt(j),Math.sqrt(k)]},b.normalizeRect=function(b){var c=b.slice(0);return b[0]>b[2]&&(c[0]=b[2],c[2]=b[0]),b[1]>b[3]&&(c[1]=b[3],c[3]=b[1]),c},b.intersect=function(c,d){function e(a,b){return a-b}var f=[c[0],c[2],d[0],d[2]].sort(e),g=[c[1],c[3],d[1],d[3]].sort(e),h=[];return c=b.normalizeRect(c),d=b.normalizeRect(d),(f[0]===c[0]&&f[1]===d[0]||f[0]===d[0]&&f[1]===c[0])&&(h[0]=f[1],h[2]=f[2],(g[0]===c[1]&&g[1]===d[1]||g[0]===d[1]&&g[1]===c[1])&&(h[1]=g[1],h[3]=g[2],h))},b.sign=function(b){return b<0?-1:1};var d=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];return b.toRoman=function(b,c){z(ka(b)&&b>0,"The number should be a positive integer.");for(var e,f=[];b>=1e3;)b-=1e3,f.push("M");e=b/100|0,b%=100,f.push(d[e]),e=b/10|0,b%=10,f.push(d[10+e]),f.push(d[20+b]);var g=f.join("");return c?g.toLowerCase():g},b.appendToArray=function(b,c){Array.prototype.push.apply(b,c)},b.prependToArray=function(b,c){Array.prototype.unshift.apply(b,c)},b.extendObj=function(b,c){for(var d in c)b[d]=c[d]},b.getInheritableProperty=function(b,c,d){for(;b&&!b.has(c);)b=b.get("Parent");return b?d?b.getArray(c):b.get(c):null},b.inherit=function(b,c,d){b.prototype=Object.create(c.prototype),b.prototype.constructor=b;for(var e in d)b.prototype[e]=d[e]},b.loadScript=function(b,c){var d=document.createElement("script"),e=!1;d.setAttribute("src",b),c&&(d.onload=function(){e||c(),e=!0}),document.getElementsByTagName("head")[0].appendChild(d)},b}(),da=function(){function b(a,b,c,d,e,f){this.viewBox=a,this.scale=b,this.rotation=c,this.offsetX=d,this.offsetY=e;var i,j,k,l,g=(a[2]+a[0])/2,h=(a[3]+a[1])/2;switch(c%=360,c=c<0?c+360:c){case 180:i=-1,j=0,k=0,l=1;break;case 90:i=0,j=1,k=1,l=0;break;case 270:i=0,j=-1,k=-1,l=0;break;default:i=1,j=0,k=0,l=-1}f&&(k=-k,l=-l);var m,n,o,p;0===i?(m=Math.abs(h-a[1])*b+d,n=Math.abs(g-a[0])*b+e,o=Math.abs(a[3]-a[1])*b,p=Math.abs(a[2]-a[0])*b):(m=Math.abs(g-a[0])*b+d,n=Math.abs(h-a[1])*b+e,o=Math.abs(a[2]-a[0])*b,p=Math.abs(a[3]-a[1])*b),this.transform=[i*b,j*b,k*b,l*b,m-i*b*g-k*b*h,n-j*b*g-l*b*h],this.width=o,this.height=p,this.fontScale=b}return b.prototype={clone:function(c){c=c||{};var d="scale"in c?c.scale:this.scale,e="rotation"in c?c.rotation:this.rotation;return new b(this.viewBox.slice(),d,e,this.offsetX,this.offsetY,c.dontFlip)},convertToViewportPoint:function(b,c){return ca.applyTransform([b,c],this.transform)},convertToViewportRectangle:function(b){var c=ca.applyTransform([b[0],b[1]],this.transform),d=ca.applyTransform([b[2],b[3]],this.transform);return[c[0],c[1],d[0],d[1]]},convertToPdfPoint:function(b,c){return ca.applyInverseTransform([b,c],this.transform)}},b}(),ea=[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],sa=function(){function b(a,b,c){for(;a.length<c;)a+=b;return a}function c(){this.started=Object.create(null),this.times=[],this.enabled=!0}return c.prototype={time:function(b){this.enabled&&(b in this.started&&v("Timer is already running for "+b),this.started[b]=Date.now())},timeEnd:function(b){this.enabled&&(b in this.started||v("Timer has not been started for "+b),this.times.push({name:b,start:this.started[b],end:Date.now()}),delete this.started[b])},toString:function(){var c,d,e=this.times,f="",g=0;for(c=0,d=e.length;c<d;++c){var h=e[c].name;h.length>g&&(g=h.length)}for(c=0,d=e.length;c<d;++c){var i=e[c],j=i.end-i.start;f+=b(i.name," ",g)+" "+j+"ms\n"}return f}},c}(),ta=function(b,c){if("undefined"!=typeof Blob)return new Blob([b],{type:c});v('The "Blob" constructor is not supported.')},ua=function(){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function(c,d,e){if(!e&&"undefined"!=typeof URL&&URL.createObjectURL){var f=ta(c,d);return URL.createObjectURL(f)}for(var g="data:"+d+";base64,",h=0,i=c.length;h<i;h+=3){var j=255&c[h],k=255&c[h+1],l=255&c[h+2],m=j>>2,n=(3&j)<<4|k>>4,o=h+1<i?(15&k)<<2|l>>6:64,p=h+2<i?63&l:64;g+=b[m]+b[n]+b[o]+b[p]}return g}}();va.prototype={on:function(b,c,d){var e=this.actionHandler;e[b]&&x('There is already an actionName called "'+b+'"'),e[b]=[c,d]},send:function(b,c,d){var e={sourceName:this.sourceName,targetName:this.targetName,action:b,data:c};this.postMessage(e,d)},sendWithPromise:function(b,c,d){var e=this.callbackIndex++,f={sourceName:this.sourceName,targetName:this.targetName,action:b,data:c,callbackId:e},g=ra();this.callbacksCapabilities[e]=g;try{this.postMessage(f,d)}catch(a){g.reject(a)}return g.promise},postMessage:function(a,b){b&&this.postMessageTransfers?this.comObj.postMessage(a,b):this.comObj.postMessage(a)},destroy:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}},b.FONT_IDENTITY_MATRIX=f,b.IDENTITY_MATRIX=ba,b.OPS=q,b.VERBOSITY_LEVELS=o,b.UNSUPPORTED_FEATURES=A,b.AnnotationBorderStyleType=l,b.AnnotationFieldFlag=k,b.AnnotationFlag=j,b.AnnotationType=i,b.FontType=n,b.ImageKind=h,b.CMapCompressionType=p,b.InvalidPDFException=J,b.MessageHandler=va,b.MissingDataException=N,b.MissingPDFException=K,b.NotImplementedException=M,b.PageViewport=da,b.PasswordException=H,b.PasswordResponses=G,b.StatTimer=sa,b.StreamType=m,b.TextRenderingMode=g,b.UnexpectedResponseException=L,b.UnknownErrorException=I,b.Util=ca,b.XRefParseException=O,b.arrayByteLength=T,b.arraysToBytes=U,b.assert=z,b.bytesToString=R,b.createBlob=ta,b.createPromiseCapability=ra,b.createObjectURL=ua,b.deprecated=w,b.error=x,b.getLookupTableFactory=F,b.getVerbosityLevel=t,b.globalScope=e,b.info=u,b.isArray=na,b.isArrayBuffer=oa,b.isBool=ja,b.isEmptyObj=ia,b.isInt=ka,b.isNum=la,b.isString=ma,b.isSpace=pa,b.isNodeJS=qa,b.isSameOrigin=B,b.createValidAbsoluteUrl=D,b.isLittleEndian=$,b.isEvalSupported=_,b.loadJpegStream=wa,b.log2=W,b.readInt8=X,b.readUint16=Y,b.readUint32=Z,b.removeNullCharacters=Q,b.setVerbosityLevel=s,b.shadow=E,b.string32=V,b.stringToBytes=S,b.stringToPDFString=fa,b.stringToUTF8String=ga,b.utf8StringToString=ha,b.warn=v}).call(b,c(6))},function(a,b,c){"use strict";function m(){}function t(a,b){var c=b&&b.url;if(a.href=a.title=c?f(c):"",c){var d=b.target;void 0===d&&(d=v("externalLinkTarget")),a.target=s[d];var e=b.rel;void 0===e&&(e=v("externalLinkRel")),a.rel=e}}function u(a){var b=a.indexOf("#"),c=a.indexOf("?"),d=Math.min(b>0?b:a.length,c>0?c:a.length);return a.substring(a.lastIndexOf("/",d)+1,d)}function v(a){var b=d.globalScope.PDFJS;switch(a){case"pdfBug":return!!b&&b.pdfBug;case"disableAutoFetch":return!!b&&b.disableAutoFetch;case"disableStream":return!!b&&b.disableStream;case"disableRange":return!!b&&b.disableRange;case"disableFontFace":return!!b&&b.disableFontFace;case"disableCreateObjectURL":return!!b&&b.disableCreateObjectURL;case"disableWebGL":return!b||b.disableWebGL;case"cMapUrl":return b?b.cMapUrl:null;case"cMapPacked":return!!b&&b.cMapPacked;case"postMessageTransfers":return!b||b.postMessageTransfers;case"workerPort":return b?b.workerPort:null;case"workerSrc":return b?b.workerSrc:null;case"disableWorker":return!!b&&b.disableWorker;case"maxImageSize":return b?b.maxImageSize:-1;case"imageResourcesPath":return b?b.imageResourcesPath:"";case"isEvalSupported":return!b||b.isEvalSupported;case"externalLinkTarget":if(!b)return r.NONE;switch(b.externalLinkTarget){case r.NONE:case r.SELF:case r.BLANK:case r.PARENT:case r.TOP:return b.externalLinkTarget}return g("PDFJS.externalLinkTarget is invalid: "+b.externalLinkTarget),b.externalLinkTarget=r.NONE,r.NONE;case"externalLinkRel":return b?b.externalLinkRel:l;case"enableStats":return!(!b||!b.enableStats);case"pdfjsNext":return!(!b||!b.pdfjsNext);default:throw new Error("Unknown default setting: "+a)}}function w(){switch(v("externalLinkTarget")){case r.NONE:return!1;case r.SELF:case r.BLANK:case r.PARENT:case r.TOP:return!0}}function x(a,b){return h("isValidUrl(), please use createValidAbsoluteUrl() instead."),null!==i(a,b?"http://example.com":null)}var d=c(0),e=d.assert,f=d.removeNullCharacters,g=d.warn,h=d.deprecated,i=d.createValidAbsoluteUrl,j=d.stringToBytes,k=d.CMapCompressionType,l="noopener noreferrer nofollow";m.prototype={create:function(b,c){e(b>0&&c>0,"invalid canvas size");var d=document.createElement("canvas"),f=d.getContext("2d");return d.width=b,d.height=c,{canvas:d,context:f}},reset:function(b,c,d){e(b.canvas,"canvas is not specified"),e(c>0&&d>0,"invalid canvas size"),b.canvas.width=c,b.canvas.height=d},destroy:function(b){e(b.canvas,"canvas is not specified"),b.canvas.width=0,b.canvas.height=0,b.canvas=null,b.context=null}};var q,n=function(){function b(a){this.baseUrl=a.baseUrl||null,this.isCompressed=a.isCompressed||!1}return b.prototype={fetch:function(a){var b=a.name;return b?new Promise(function(a,c){var d=this.baseUrl+b+(this.isCompressed?".bcmap":""),e=new XMLHttpRequest;e.open("GET",d,!0),this.isCompressed&&(e.responseType="arraybuffer"),e.onreadystatechange=function(){if(e.readyState===XMLHttpRequest.DONE){if(200===e.status||0===e.status){var b;if(this.isCompressed&&e.response?b=new Uint8Array(e.response):!this.isCompressed&&e.responseText&&(b=j(e.responseText)),b)return void a({cMapData:b,compressionType:this.isCompressed?k.BINARY:k.NONE})}c(new Error("Unable to load "+(this.isCompressed?"binary ":"")+"CMap at: "+d))}}.bind(this),e.send(null)}.bind(this)):Promise.reject(new Error("CMap name must be specified."))}},b}(),o=function(){function d(){}var b=["ms","Moz","Webkit","O"],c=Object.create(null);return d.getProp=function(d,e){if(1===arguments.length&&"string"==typeof c[d])return c[d];e=e||document.documentElement;var g,h,f=e.style;if("string"==typeof f[d])return c[d]=d;h=d.charAt(0).toUpperCase()+d.slice(1);for(var i=0,j=b.length;i<j;i++)if(g=b[i]+h,"string"==typeof f[g])return c[d]=g;return c[d]="undefined"},d.setProp=function(b,c,d){var e=this.getProp(b);"undefined"!==e&&(c.style[e]=d)},d}(),p=function(){function a(a,b){this.message=a,this.type=b}return a.prototype=new Error,a.prototype.name="RenderingCancelledException",a.constructor=a,a}();q=function(){var b=document.createElement("canvas");return b.width=b.height=1,void 0!==b.getContext("2d").createImageData(1,1).data.buffer};var r={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4},s=["","_self","_blank","_parent","_top"];b.CustomStyle=o,b.addLinkAttributes=t,b.isExternalLinkTargetSet=w,b.isValidUrl=x,b.getFilenameFromUrl=u,b.LinkTarget=r,b.RenderingCancelledException=p,b.hasCanvasTypedArrays=q,b.getDefaultSetting=v,b.DEFAULT_LINK_REL=l,b.DOMCanvasFactory=m,b.DOMCMapReaderFactory=n},function(a,b,c){"use strict";function p(){}var d=c(0),e=c(1),f=d.AnnotationBorderStyleType,g=d.AnnotationType,h=d.stringToPDFString,i=d.Util,j=e.addLinkAttributes,k=e.LinkTarget,l=e.getFilenameFromUrl,m=d.warn,n=e.CustomStyle,o=e.getDefaultSetting;p.prototype={create:function(b){switch(b.data.annotationType){case g.LINK:return new r(b);case g.TEXT:return new s(b);case g.WIDGET:switch(b.data.fieldType){case"Tx":return new u(b);case"Btn":if(b.data.radioButton)return new w(b);if(b.data.checkBox)return new v(b);m("Unimplemented button widget annotation: pushbutton");break;case"Ch":return new x(b)}return new t(b);case g.POPUP:return new y(b);case g.LINE:return new A(b);case g.HIGHLIGHT:return new B(b);case g.UNDERLINE:return new C(b);case g.SQUIGGLY:return new D(b);case g.STRIKEOUT:return new E(b);case g.FILEATTACHMENT:return new F(b);default:return new q(b)}}};var q=function(){function b(a,b,c){this.isRenderable=b||!1,this.data=a.data,this.layer=a.layer,this.page=a.page,this.viewport=a.viewport,this.linkService=a.linkService,this.downloadManager=a.downloadManager,this.imageResourcesPath=a.imageResourcesPath,this.renderInteractiveForms=a.renderInteractiveForms,b&&(this.container=this._createContainer(c))}return b.prototype={_createContainer:function(b){var c=this.data,d=this.page,e=this.viewport,g=document.createElement("section"),h=c.rect[2]-c.rect[0],j=c.rect[3]-c.rect[1];g.setAttribute("data-annotation-id",c.id);var k=i.normalizeRect([c.rect[0],d.view[3]-c.rect[1]+d.view[1],c.rect[2],d.view[3]-c.rect[3]+d.view[1]]);if(n.setProp("transform",g,"matrix("+e.transform.join(",")+")"),n.setProp("transformOrigin",g,-k[0]+"px "+-k[1]+"px"),!b&&c.borderStyle.width>0){g.style.borderWidth=c.borderStyle.width+"px",c.borderStyle.style!==f.UNDERLINE&&(h-=2*c.borderStyle.width,j-=2*c.borderStyle.width);var l=c.borderStyle.horizontalCornerRadius,o=c.borderStyle.verticalCornerRadius;if(l>0||o>0){var p=l+"px / "+o+"px";n.setProp("borderRadius",g,p)}switch(c.borderStyle.style){case f.SOLID:g.style.borderStyle="solid";break;case f.DASHED:g.style.borderStyle="dashed";break;case f.BEVELED:m("Unimplemented border style: beveled");break;case f.INSET:m("Unimplemented border style: inset");break;case f.UNDERLINE:g.style.borderBottomStyle="solid"}c.color?g.style.borderColor=i.makeCssRgb(0|c.color[0],0|c.color[1],0|c.color[2]):g.style.borderWidth=0}return g.style.left=k[0]+"px",g.style.top=k[1]+"px",g.style.width=h+"px",g.style.height=j+"px",g},_createPopup:function(b,c,d){c||(c=document.createElement("div"),c.style.height=b.style.height,c.style.width=b.style.width,b.appendChild(c));var e=new z({container:b,trigger:c,color:d.color,title:d.title,contents:d.contents,hideWrapper:!0}),f=e.render();f.style.left=b.style.width,b.appendChild(f)},render:function(){throw new Error("Abstract method AnnotationElement.render called")}},b}(),r=function(){function b(a){q.call(this,a,!0)}return i.inherit(b,q,{render:function(){this.container.className="linkAnnotation";var b=document.createElement("a");return j(b,{url:this.data.url,target:this.data.newWindow?k.BLANK:void 0}),this.data.url||(this.data.action?this._bindNamedAction(b,this.data.action):this._bindLink(b,this.data.dest)),this.container.appendChild(b),this.container},_bindLink:function(b,c){var d=this;b.href=this.linkService.getDestinationHash(c),b.onclick=function(){return c&&d.linkService.navigateTo(c),!1},c&&(b.className="internalLink")},_bindNamedAction:function(b,c){var d=this;b.href=this.linkService.getAnchorUrl(""),b.onclick=function(){return d.linkService.executeNamedAction(c),!1},b.className="internalLink"}}),b}(),s=function(){function b(a){var b=!!(a.data.hasPopup||a.data.title||a.data.contents);q.call(this,a,b)}return i.inherit(b,q,{render:function(){this.container.className="textAnnotation";var b=document.createElement("img");return b.style.height=this.container.style.height,b.style.width=this.container.style.width,b.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",b.alt="[{{type}} Annotation]",b.dataset.l10nId="text_annotation_type",b.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,b,this.data),this.container.appendChild(b),this.container}}),b}(),t=function(){function b(a,b){q.call(this,a,b)}return i.inherit(b,q,{render:function(){return this.container}}),b}(),u=function(){function c(a){var b=a.renderInteractiveForms||!a.data.hasAppearance&&!!a.data.fieldValue;t.call(this,a,b)}var b=["left","center","right"];return i.inherit(c,t,{render:function(){this.container.className="textWidgetAnnotation";var c=null;if(this.renderInteractiveForms){if(this.data.multiLine?(c=document.createElement("textarea"),c.textContent=this.data.fieldValue):(c=document.createElement("input"),c.type="text",c.setAttribute("value",this.data.fieldValue)),c.disabled=this.data.readOnly,null!==this.data.maxLen&&(c.maxLength=this.data.maxLen),this.data.comb){var d=this.data.rect[2]-this.data.rect[0],e=d/this.data.maxLen;c.classList.add("comb"),c.style.letterSpacing="calc("+e+"px - 1ch)"}}else{c=document.createElement("div"),c.textContent=this.data.fieldValue,c.style.verticalAlign="middle",c.style.display="table-cell";var f=null;this.data.fontRefName&&(f=this.page.commonObjs.getData(this.data.fontRefName)),this._setTextStyle(c,f)}return null!==this.data.textAlignment&&(c.style.textAlign=b[this.data.textAlignment]),this.container.appendChild(c),this.container},_setTextStyle:function(b,c){var d=b.style;if(d.fontSize=this.data.fontSize+"px",d.direction=this.data.fontDirection<0?"rtl":"ltr",c){d.fontWeight=c.black?c.bold?"900":"bold":c.bold?"bold":"normal",d.fontStyle=c.italic?"italic":"normal";var e=c.loadedName?'"'+c.loadedName+'", ':"",f=c.fallbackName||"Helvetica, sans-serif";d.fontFamily=e+f}}}),c}(),v=function(){function b(a){t.call(this,a,a.renderInteractiveForms)}return i.inherit(b,t,{render:function(){this.container.className="buttonWidgetAnnotation checkBox";var b=document.createElement("input");return b.disabled=this.data.readOnly,b.type="checkbox",this.data.fieldValue&&"Off"!==this.data.fieldValue&&b.setAttribute("checked",!0),this.container.appendChild(b),this.container}}),b}(),w=function(){function b(a){t.call(this,a,a.renderInteractiveForms)}return i.inherit(b,t,{render:function(){this.container.className="buttonWidgetAnnotation radioButton";var b=document.createElement("input");return b.disabled=this.data.readOnly,b.type="radio",b.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&b.setAttribute("checked",!0),this.container.appendChild(b),this.container}}),b}(),x=function(){function b(a){t.call(this,a,a.renderInteractiveForms)}return i.inherit(b,t,{render:function(){this.container.className="choiceWidgetAnnotation";var b=document.createElement("select");b.disabled=this.data.readOnly,this.data.combo||(b.size=this.data.options.length,this.data.multiSelect&&(b.multiple=!0));for(var c=0,d=this.data.options.length;c<d;c++){var e=this.data.options[c],f=document.createElement("option");f.textContent=e.displayValue,f.value=e.exportValue,this.data.fieldValue.indexOf(e.displayValue)>=0&&f.setAttribute("selected",!0),b.appendChild(f)}return this.container.appendChild(b),this.container}}),b}(),y=function(){function c(a){var b=!(!a.data.title&&!a.data.contents);q.call(this,a,b)}var b=["Line"];return i.inherit(c,q,{render:function(){if(this.container.className="popupAnnotation",b.indexOf(this.data.parentType)>=0)return this.container;var c='[data-annotation-id="'+this.data.parentId+'"]',d=this.layer.querySelector(c);if(!d)return this.container;var e=new z({container:this.container,trigger:d,color:this.data.color,title:this.data.title,contents:this.data.contents}),f=parseFloat(d.style.left),g=parseFloat(d.style.width);return n.setProp("transformOrigin",this.container,-(f+g)+"px -"+d.style.top),this.container.style.left=f+g+"px",this.container.appendChild(e.render()),this.container}}),c}(),z=function(){function c(a){this.container=a.container,this.trigger=a.trigger,this.color=a.color,this.title=a.title,this.contents=a.contents,this.hideWrapper=a.hideWrapper||!1,this.pinned=!1}var b=.7;return c.prototype={render:function(){var c=document.createElement("div");c.className="popupWrapper",this.hideElement=this.hideWrapper?c:this.container,this.hideElement.setAttribute("hidden",!0);var d=document.createElement("div");d.className="popup";var e=this.color;if(e){var f=b*(255-e[0])+e[0],g=b*(255-e[1])+e[1],h=b*(255-e[2])+e[2];d.style.backgroundColor=i.makeCssRgb(0|f,0|g,0|h)}var j=this._formatContents(this.contents),k=document.createElement("h1");return k.textContent=this.title,this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),d.addEventListener("click",this._hide.bind(this,!0)),d.appendChild(k),d.appendChild(j),c.appendChild(d),c},_formatContents:function(b){for(var c=document.createElement("p"),d=b.split(/(?:\r\n?|\n)/),e=0,f=d.length;e<f;++e){var g=d[e];c.appendChild(document.createTextNode(g)),e<f-1&&c.appendChild(document.createElement("br"))}return c},_toggle:function(){this.pinned?this._hide(!0):this._show(!0)},_show:function(b){b&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)},_hide:function(b){b&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}},c}(),A=function(){function c(a){var b=!!(a.data.hasPopup||a.data.title||a.data.contents);q.call(this,a,b,!0)}var b="http://www.w3.org/2000/svg";return i.inherit(c,q,{render:function(){this.container.className="lineAnnotation";var c=this.data,d=c.rect[2]-c.rect[0],e=c.rect[3]-c.rect[1],f=document.createElementNS(b,"svg:svg");f.setAttributeNS(null,"version","1.1"),f.setAttributeNS(null,"width",d+"px"),f.setAttributeNS(null,"height",e+"px"),f.setAttributeNS(null,"preserveAspectRatio","none"),f.setAttributeNS(null,"viewBox","0 0 "+d+" "+e);var g=document.createElementNS(b,"svg:line");return g.setAttributeNS(null,"x1",c.rect[2]-c.lineCoordinates[0]),g.setAttributeNS(null,"y1",c.rect[3]-c.lineCoordinates[1]),g.setAttributeNS(null,"x2",c.rect[2]-c.lineCoordinates[2]),g.setAttributeNS(null,"y2",c.rect[3]-c.lineCoordinates[3]),g.setAttributeNS(null,"stroke-width",c.borderStyle.width),g.setAttributeNS(null,"stroke","transparent"),f.appendChild(g),this.container.append(f),this._createPopup(this.container,g,this.data),this.container}}),c}(),B=function(){function b(a){var b=!!(a.data.hasPopup||a.data.title||a.data.contents);q.call(this,a,b,!0)}return i.inherit(b,q,{render:function(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}),b}(),C=function(){function b(a){var b=!!(a.data.hasPopup||a.data.title||a.data.contents);q.call(this,a,b,!0)}return i.inherit(b,q,{render:function(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}),b}(),D=function(){function b(a){var b=!!(a.data.hasPopup||a.data.title||a.data.contents);q.call(this,a,b,!0)}return i.inherit(b,q,{render:function(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}),b}(),E=function(){function b(a){var b=!!(a.data.hasPopup||a.data.title||a.data.contents);q.call(this,a,b,!0)}return i.inherit(b,q,{render:function(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}),b}(),F=function(){function b(a){q.call(this,a,!0);var b=this.data.file;this.filename=l(b.filename),this.content=b.content,this.linkService.onFileAttachmentAnnotation({id:h(b.filename),filename:b.filename,content:b.content})}return i.inherit(b,q,{render:function(){this.container.className="fileAttachmentAnnotation";var b=document.createElement("div");return b.style.height=this.container.style.height,b.style.width=this.container.style.width,b.addEventListener("dblclick",this._download.bind(this)),this.data.hasPopup||!this.data.title&&!this.data.contents||this._createPopup(this.container,b,this.data),this.container.appendChild(b),this.container},_download:function(){if(!this.downloadManager)return void m("Download cannot be started due to unavailable download manager");this.downloadManager.downloadData(this.content,this.filename,"")}}),b}(),G=function(){return{render:function(b){for(var c=new p,d=0,e=b.annotations.length;d<e;d++){var f=b.annotations[d];if(f){var g=c.create({data:f,layer:b.div,page:b.page,viewport:b.viewport,linkService:b.linkService,downloadManager:b.downloadManager,imageResourcesPath:b.imageResourcesPath||o("imageResourcesPath"),renderInteractiveForms:b.renderInteractiveForms||!1});g.isRenderable&&b.div.appendChild(g.render())}}},update:function(b){for(var c=0,d=b.annotations.length;c<d;c++){var e=b.annotations[c],f=b.div.querySelector('[data-annotation-id="'+e.id+'"]');f&&n.setProp("transform",f,"matrix("+b.viewport.transform.join(",")+")")}b.div.removeAttribute("hidden")}}}();b.AnnotationLayer=G},function(a,b,c){"use strict";function V(a,b,c,d){var e=new X;arguments.length>1&&u("getDocument is called with pdfDataRangeTransport, passwordCallback or progressCallback argument"),b&&(b instanceof Y||(b=Object.create(b),b.length=a.length,b.initialData=a.initialData,b.abort||(b.abort=function(){})),a=Object.create(a),a.range=b),e.onPassword=c||null,e.onProgress=d||null;var f;"string"==typeof a?f={url:a}:z(a)?f={data:a}:a instanceof Y?f={range:a}:("object"!=typeof a&&t("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object"),a.url||a.data||a.range||t("Invalid parameter object: need either .data, .range or .url"),f=a);var g={},h=null,i=null;for(var j in f)if("url"!==j||"undefined"==typeof window)if("range"!==j)if("worker"!==j)if("data"!==j||f[j]instanceof Uint8Array)g[j]=f[j];else{var l=f[j];"string"==typeof l?g[j]=C(l):"object"!=typeof l||null===l||isNaN(l.length)?z(l)?g[j]=new Uint8Array(l):t("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property."):g[j]=new Uint8Array(l)}else i=f[j];else h=f[j];else g[j]=new URL(f[j],window.location).href;g.rangeChunkSize=g.rangeChunkSize||N,g.disableNativeImageDecoder=!0===g.disableNativeImageDecoder;var m=g.CMapReaderFactory||M;if(!i){var n=K("workerPort");i=n?new _(null,n):new _,e._worker=i}var o=e.docId;return i.promise.then(function(){if(e.destroyed)throw new Error("Loading aborted");return W(i,g,h,o).then(function(a){if(e.destroyed)throw new Error("Loading aborted");var b=new k(o,a,i.port),c=new aa(b,e,h,m);e._transport=c,b.send("Ready",null)})}).catch(e._capability.reject),e}function W(a,b,c,d){return a.destroyed?Promise.reject(new Error("Worker was destroyed")):(b.disableAutoFetch=K("disableAutoFetch"),b.disableStream=K("disableStream"),b.chunkedViewerLoading=!!c,c&&(b.length=c.length,b.initialData=c.initialData),a.messageHandler.sendWithPromise("GetDocRequest",{docId:d,source:b,disableRange:K("disableRange"),maxImageSize:K("maxImageSize"),disableFontFace:K("disableFontFace"),disableCreateObjectURL:K("disableCreateObjectURL"),postMessageTransfers:K("postMessageTransfers")&&!Q,docBaseUrl:b.docBaseUrl,disableNativeImageDecoder:b.disableNativeImageDecoder}).then(function(b){if(a.destroyed)throw new Error("Worker was destroyed");return b}))}var P,d=c(0),e=c(11),f=c(10),g=c(7),h=c(1),j=d.InvalidPDFException,k=d.MessageHandler,l=d.MissingPDFException,m=d.PageViewport,n=d.PasswordException,o=d.StatTimer,p=d.UnexpectedResponseException,q=d.UnknownErrorException,r=d.Util,s=d.createPromiseCapability,t=d.error,u=d.deprecated,v=d.getVerbosityLevel,w=d.info,x=d.isInt,y=d.isArray,z=d.isArrayBuffer,A=d.isSameOrigin,B=d.loadJpegStream,C=d.stringToBytes,D=d.globalScope,E=d.warn,F=e.FontFaceObject,G=e.FontLoader,H=f.CanvasGraphics,I=g.Metadata,J=h.RenderingCancelledException,K=h.getDefaultSetting,L=h.DOMCanvasFactory,M=h.DOMCMapReaderFactory,N=65536,O=!1,Q=!1,R="undefined"!=typeof document&&document.currentScript?document.currentScript.src:null,S=null,T=!1;if("undefined"==typeof __pdfjsdev_webpack__){"undefined"==typeof window?(O=!0,void 0===require.ensure&&(require.ensure=require("node-ensure")),T=!0):"undefined"!=typeof require&&"function"==typeof require.ensure&&(T=!0),"undefined"!=typeof requirejs&&requirejs.toUrl&&(P=requirejs.toUrl("pdfjs-dist/build/pdf.worker.js"));var U="undefined"!=typeof requirejs&&requirejs.load;S=T?function(a){require.ensure([],function(){var b=require("./pdf.worker.js");a(b.WorkerMessageHandler)})}:U?function(a){requirejs(["pdfjs-dist/build/pdf.worker"],function(b){a(b.WorkerMessageHandler)})}:null}var X=function(){function c(){this._capability=s(),this._transport=null,this._worker=null,this.docId="d"+b++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}var b=0;return c.prototype={get promise(){return this._capability.promise},destroy:function(){return this.destroyed=!0,(this._transport?this._transport.destroy():Promise.resolve()).then(function(){this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null)}.bind(this))},then:function(b,c){return this.promise.then.apply(this.promise,arguments)}},c}(),Y=function(){function b(a,b){this.length=a,this.initialData=b,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._readyCapability=s()}return b.prototype={addRangeListener:function(b){this._rangeListeners.push(b)},addProgressListener:function(b){this._progressListeners.push(b)},addProgressiveReadListener:function(b){this._progressiveReadListeners.push(b)},onDataRange:function(b,c){for(var d=this._rangeListeners,e=0,f=d.length;e<f;++e)d[e](b,c)},onDataProgress:function(b){this._readyCapability.promise.then(function(){for(var a=this._progressListeners,c=0,d=a.length;c<d;++c)a[c](b)}.bind(this))},onDataProgressiveRead:function(b){this._readyCapability.promise.then(function(){for(var a=this._progressiveReadListeners,c=0,d=a.length;c<d;++c)a[c](b)}.bind(this))},transportReady:function(){this._readyCapability.resolve()},requestDataRange:function(b,c){throw new Error("Abstract method PDFDataRangeTransport.requestDataRange")},abort:function(){}},b}(),Z=function(){function b(a,b,c){this.pdfInfo=a,this.transport=b,this.loadingTask=c}return b.prototype={get numPages(){return this.pdfInfo.numPages},get fingerprint(){return this.pdfInfo.fingerprint},getPage:function(b){return this.transport.getPage(b)},getPageIndex:function(b){return this.transport.getPageIndex(b)},getDestinations:function(){return this.transport.getDestinations()},getDestination:function(b){return this.transport.getDestination(b)},getPageLabels:function(){return this.transport.getPageLabels()},getAttachments:function(){return this.transport.getAttachments()},getJavaScript:function(){return this.transport.getJavaScript()},getOutline:function(){return this.transport.getOutline()},getMetadata:function(){return this.transport.getMetadata()},getData:function(){return this.transport.getData()},getDownloadInfo:function(){return this.transport.downloadInfoCapability.promise},getStats:function(){return this.transport.getStats()},cleanup:function(){this.transport.startCleanup()},destroy:function(){return this.loadingTask.destroy()}},b}(),$=function(){function b(a,b,c){this.pageIndex=a,this.pageInfo=b,this.transport=c,this.stats=new o,this.stats.enabled=K("enableStats"),this.commonObjs=c.commonObjs,this.objs=new ba,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return b.prototype={get pageNumber(){return this.pageIndex+1},get rotate(){return this.pageInfo.rotate},get ref(){return this.pageInfo.ref},get userUnit(){return this.pageInfo.userUnit},get view(){return this.pageInfo.view},getViewport:function(b,c){return arguments.length<2&&(c=this.rotate),new m(this.view,b,c,0,0)},getAnnotations:function(b){var c=b&&b.intent||null;return this.annotationsPromise&&this.annotationsIntent===c||(this.annotationsPromise=this.transport.getAnnotations(this.pageIndex,c),this.annotationsIntent=c),this.annotationsPromise},render:function(b){function k(a){var b=g.renderTasks.indexOf(h);b>=0&&g.renderTasks.splice(b,1),j.cleanupAfterRender&&(j.pendingCleanup=!0),j._tryCleanup(),a?h.capability.reject(a):h.capability.resolve(),c.timeEnd("Rendering"),c.timeEnd("Overall")}var c=this.stats;c.time("Overall"),this.pendingCleanup=!1;var d="print"===b.intent?"print":"display",e=!0===b.renderInteractiveForms,f=b.canvasFactory||new L;this.intentStates[d]||(this.intentStates[d]=Object.create(null));var g=this.intentStates[d];g.displayReadyCapability||(g.receivingOperatorList=!0,g.displayReadyCapability=s(),g.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.stats.time("Page Request"),this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageNumber-1,intent:d,renderInteractiveForms:e}));var h=new da(k,b,this.objs,this.commonObjs,g.operatorList,this.pageNumber,f);h.useRequestAnimationFrame="print"!==d,g.renderTasks||(g.renderTasks=[]),g.renderTasks.push(h);var i=h.task;b.continueCallback&&(u("render is used with continueCallback parameter"),i.onContinue=b.continueCallback);var j=this;return g.displayReadyCapability.promise.then(function(b){if(j.pendingCleanup)return void k();c.time("Rendering"),h.initializeGraphics(b),h.operatorListChanged()},function(b){k(b)}),i},getOperatorList:function(){function b(){if(d.operatorList.lastChunk){d.opListReadCapability.resolve(d.operatorList);var a=d.renderTasks.indexOf(e);a>=0&&d.renderTasks.splice(a,1)}}var c="oplist";this.intentStates[c]||(this.intentStates[c]=Object.create(null));var e,d=this.intentStates[c];return d.opListReadCapability||(e={},e.operatorListChanged=b,d.receivingOperatorList=!0,d.opListReadCapability=s(),d.renderTasks=[],d.renderTasks.push(e),d.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageIndex,intent:c})),d.opListReadCapability.promise},getTextContent:function(b){return this.transport.messageHandler.sendWithPromise("GetTextContent",{pageIndex:this.pageNumber-1,normalizeWhitespace:!(!b||!0!==b.normalizeWhitespace),combineTextItems:!b||!0!==b.disableCombineTextItems})},_destroy:function(){this.destroyed=!0,this.transport.pageCache[this.pageIndex]=null;var b=[];return Object.keys(this.intentStates).forEach(function(a){if("oplist"!==a){this.intentStates[a].renderTasks.forEach(function(a){var c=a.capability.promise.catch(function(){});b.push(c),a.cancel()})}},this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(b)},destroy:function(){u("page destroy method, use cleanup() instead"),this.cleanup()},cleanup:function(){this.pendingCleanup=!0,this._tryCleanup()},_tryCleanup:function(){this.pendingCleanup&&!Object.keys(this.intentStates).some(function(a){var b=this.intentStates[a];return 0!==b.renderTasks.length||b.receivingOperatorList},this)&&(Object.keys(this.intentStates).forEach(function(a){delete this.intentStates[a]},this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1)},_startRenderPage:function(b,c){var d=this.intentStates[c];d.displayReadyCapability&&d.displayReadyCapability.resolve(b)},_renderPageChunk:function(b,c){var e,f,d=this.intentStates[c];for(e=0,f=b.length;e<f;e++)d.operatorList.fnArray.push(b.fnArray[e]),d.operatorList.argsArray.push(b.argsArray[e]);for(d.operatorList.lastChunk=b.lastChunk,e=0;e<d.renderTasks.length;e++)d.renderTasks[e].operatorListChanged();b.lastChunk&&(d.receivingOperatorList=!1,this._tryCleanup())}},b}(),_=function(){function c(){return void 0!==P?P:K("workerSrc")?K("workerSrc"):R?R.replace(/(\.(?:min\.)?js)$/i,".worker$1"):void t("No PDFJS.workerSrc specified")}function e(){return d?d.promise:(d=s(),(S||function(a){r.loadScript(c(),function(){a(window.pdfjsDistBuildPdfWorker.WorkerMessageHandler)})})(d.resolve),d.promise)}function f(a){this._listeners=[],this._defer=a,this._deferred=Promise.resolve(void 0)}function g(a){var b="importScripts('"+a+"');";return URL.createObjectURL(new Blob([b]))}function h(a,b){if(this.name=a,this.destroyed=!1,this._readyCapability=s(),this._port=null,this._webWorker=null,this._messageHandler=null,b)return void this._initializeFromPort(b);this._initialize()}var d,b=0;return f.prototype={postMessage:function(a,b){function c(a){if("object"!=typeof a||null===a)return a;if(d.has(a))return d.get(a);var e,f;if((f=a.buffer)&&z(f)){var g=b&&b.indexOf(f)>=0;return e=a===f?a:g?new a.constructor(f,a.byteOffset,a.byteLength):new a.constructor(a),d.set(a,e),e}e=y(a)?[]:{},d.set(a,e);for(var h in a){for(var i,j=a;!(i=Object.getOwnPropertyDescriptor(j,h));)j=Object.getPrototypeOf(j);void 0!==i.value&&"function"!=typeof i.value&&(e[h]=c(i.value))}return e}if(!this._defer)return void this._listeners.forEach(function(b){b.call(this,{data:a})},this);var d=new WeakMap,e={data:c(a)};this._deferred.then(function(){this._listeners.forEach(function(a){a.call(this,e)},this)}.bind(this))},addEventListener:function(a,b){this._listeners.push(b)},removeEventListener:function(a,b){var c=this._listeners.indexOf(b);this._listeners.splice(c,1)},terminate:function(){this._listeners=[]}},h.prototype={get promise(){return this._readyCapability.promise},get port(){return this._port},get messageHandler(){return this._messageHandler},_initializeFromPort:function(b){this._port=b,this._messageHandler=new k("main","worker",b),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()},_initialize:function(){if(!O&&!K("disableWorker")&&"undefined"!=typeof Worker){var b=c();try{A(window.location.href,b)||(b=g(new URL(b,window.location).href));var d=new Worker(b),e=new k("main","worker",d),f=function(){d.removeEventListener("error",h),e.destroy(),d.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()}.bind(this),h=function(a){this._webWorker||f()}.bind(this);d.addEventListener("error",h),e.on("test",function(b){if(d.removeEventListener("error",h),this.destroyed)return void f();b&&b.supportTypedArray?(this._messageHandler=e,this._port=d,this._webWorker=d,b.supportTransfers||(Q=!0),this._readyCapability.resolve(),e.send("configure",{verbosity:v()})):(this._setupFakeWorker(),e.destroy(),d.terminate())}.bind(this)),e.on("console_log",function(a){console.log.apply(console,a)}),e.on("console_error",function(a){console.error.apply(console,a)}),e.on("ready",function(a){if(d.removeEventListener("error",h),this.destroyed)return void f();try{i()}catch(a){this._setupFakeWorker()}}.bind(this));var i=function(){var a=K("postMessageTransfers")&&!Q,b=new Uint8Array([a?255:0]);try{e.send("test",b,[b.buffer])}catch(a){w("Cannot use postMessage transfers"),b[0]=0,e.send("test",b)}};return void i()}catch(a){w("The worker has been disabled.")}}this._setupFakeWorker()},_setupFakeWorker:function(){O||K("disableWorker")||(E("Setting up fake worker."),O=!0),e().then(function(a){if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));var c=Uint8Array!==Float32Array,d=new f(c);this._port=d;var e="fake"+b++,g=new k(e+"_worker",e,d);a.setup(g,d);var h=new k(e,e+"_worker",d);this._messageHandler=h,this._readyCapability.resolve()}.bind(this))},destroy:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},h}(),aa=function(){function b(a,b,c,d){this.messageHandler=a,this.loadingTask=b,this.pdfDataRangeTransport=c,this.commonObjs=new ba,this.fontLoader=new G(b.docId),this.CMapReaderFactory=new d({baseUrl:K("cMapUrl"),isCompressed:K("cMapPacked")}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=s(),this.setupMessageHandler()}return b.prototype={destroy:function(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=s(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));var b=[];this.pageCache.forEach(function(a){a&&b.push(a._destroy())}),this.pageCache=[],this.pagePromises=[];var c=this,d=this.messageHandler.sendWithPromise("Terminate",null);return b.push(d),Promise.all(b).then(function(){c.fontLoader.clear(),c.pdfDataRangeTransport&&(c.pdfDataRangeTransport.abort(),c.pdfDataRangeTransport=null),c.messageHandler&&(c.messageHandler.destroy(),c.messageHandler=null),c.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise},setupMessageHandler:function(){var b=this.messageHandler,c=this.loadingTask,d=this.pdfDataRangeTransport;d&&(d.addRangeListener(function(a,c){b.send("OnDataRange",{begin:a,chunk:c})}),d.addProgressListener(function(a){b.send("OnDataProgress",{loaded:a})}),d.addProgressiveReadListener(function(a){b.send("OnDataRange",{chunk:a})}),b.on("RequestDataRange",function(b){d.requestDataRange(b.begin,b.end)},this)),b.on("GetDoc",function(b){var c=b.pdfInfo;this.numPages=b.pdfInfo.numPages;var d=this.loadingTask,e=new Z(c,this,d);this.pdfDocument=e,d._capability.resolve(e)},this),b.on("PasswordRequest",function(b){if(this._passwordCapability=s(),c.onPassword){var d=function(a){this._passwordCapability.resolve({password:a})}.bind(this);c.onPassword(d,b.code)}else this._passwordCapability.reject(new n(b.message,b.code));return this._passwordCapability.promise},this),b.on("PasswordException",function(b){c._capability.reject(new n(b.message,b.code))},this),b.on("InvalidPDF",function(b){this.loadingTask._capability.reject(new j(b.message))},this),b.on("MissingPDF",function(b){this.loadingTask._capability.reject(new l(b.message))},this),b.on("UnexpectedResponse",function(b){this.loadingTask._capability.reject(new p(b.message,b.status))},this),b.on("UnknownError",function(b){this.loadingTask._capability.reject(new q(b.message,b.details))},this),b.on("DataLoaded",function(b){this.downloadInfoCapability.resolve(b)},this),b.on("PDFManagerReady",function(b){this.pdfDataRangeTransport&&this.pdfDataRangeTransport.transportReady()},this),b.on("StartRenderPage",function(b){if(!this.destroyed){var c=this.pageCache[b.pageIndex];c.stats.timeEnd("Page Request"),c._startRenderPage(b.transparency,b.intent)}},this),b.on("RenderPageChunk",function(b){if(!this.destroyed){this.pageCache[b.pageIndex]._renderPageChunk(b.operatorList,b.intent)}},this),b.on("commonobj",function(b){if(!this.destroyed){var c=b[0],d=b[1];if(!this.commonObjs.hasData(c))switch(d){case"Font":var e=b[2];if("error"in e){var f=e.error;E("Error during font loading: "+f),this.commonObjs.resolve(c,f);break}var g=null;K("pdfBug")&&D.FontInspector&&D.FontInspector.enabled&&(g={registerFont:function(a,b){D.FontInspector.fontAdded(a,b)}});var h=new F(e,{isEvalSuported:K("isEvalSupported"),disableFontFace:K("disableFontFace"),fontRegistry:g});this.fontLoader.bind([h],function(b){this.commonObjs.resolve(c,h)}.bind(this));break;case"FontPath":this.commonObjs.resolve(c,b[2]);break;default:t("Got unknown common object type "+d)}}},this),b.on("obj",function(b){if(!this.destroyed){var g,c=b[0],d=b[1],e=b[2],f=this.pageCache[d];if(!f.objs.hasData(c))switch(e){case"JpegStream":g=b[3],B(c,g,f.objs);break;case"Image":g=b[3],f.objs.resolve(c,g);g&&"data"in g&&g.data.length>8e6&&(f.cleanupAfterRender=!0);break;default:t("Got unknown object type "+e)}}},this),b.on("DocProgress",function(b){if(!this.destroyed){var c=this.loadingTask;c.onProgress&&c.onProgress({loaded:b.loaded,total:b.total})}},this),b.on("PageError",function(b){if(!this.destroyed){var c=this.pageCache[b.pageNum-1],d=c.intentStates[b.intent];if(d.displayReadyCapability?d.displayReadyCapability.reject(b.error):t(b.error),d.operatorList){d.operatorList.lastChunk=!0;for(var e=0;e<d.renderTasks.length;e++)d.renderTasks[e].operatorListChanged()}}},this),b.on("UnsupportedFeature",function(b){if(!this.destroyed){var c=b.featureId,d=this.loadingTask;d.onUnsupportedFeature&&d.onUnsupportedFeature(c),ea.notify(c)}},this),b.on("JpegDecode",function(a){if(this.destroyed)return Promise.reject(new Error("Worker was destroyed"));if("undefined"==typeof document)return Promise.reject(new Error('"document" is not defined.'));var b=a[0],c=a[1];return 3!==c&&1!==c?Promise.reject(new Error("Only 3 components or 1 component can be returned")):new Promise(function(a,d){var e=new Image;e.onload=function(){var b=e.width,d=e.height,f=b*d,g=4*f,h=new Uint8Array(f*c),i=document.createElement("canvas");i.width=b,i.height=d;var j=i.getContext("2d");j.drawImage(e,0,0);var l,m,k=j.getImageData(0,0,b,d).data;if(3===c)for(l=0,m=0;l<g;l+=4,m+=3)h[m]=k[l],h[m+1]=k[l+1],h[m+2]=k[l+2];else if(1===c)for(l=0,m=0;l<g;l+=4,m++)h[m]=k[l];a({data:h,width:b,height:d})},e.onerror=function(){d(new Error("JpegDecode failed to load image"))},e.src=b})},this),b.on("FetchBuiltInCMap",function(a){return this.destroyed?Promise.reject(new Error("Worker was destroyed")):this.CMapReaderFactory.fetch({name:a.name})},this)},getData:function(){return this.messageHandler.sendWithPromise("GetData",null)},getPage:function(b,c){if(!x(b)||b<=0||b>this.numPages)return Promise.reject(new Error("Invalid page request"));var d=b-1;if(d in this.pagePromises)return this.pagePromises[d];var e=this.messageHandler.sendWithPromise("GetPage",{pageIndex:d}).then(function(a){if(this.destroyed)throw new Error("Transport destroyed");var b=new $(d,a,this);return this.pageCache[d]=b,b}.bind(this));return this.pagePromises[d]=e,e},getPageIndex:function(b){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:b}).catch(function(a){return Promise.reject(new Error(a))})},getAnnotations:function(b,c){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:b,intent:c})},getDestinations:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)},getDestination:function(b){return this.messageHandler.sendWithPromise("GetDestination",{id:b})},getPageLabels:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)},getAttachments:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)},getJavaScript:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)},getOutline:function(){return this.messageHandler.sendWithPromise("GetOutline",null)},getMetadata:function(){return this.messageHandler.sendWithPromise("GetMetadata",null).then(function(b){return{info:b[0],metadata:b[1]?new I(b[1]):null}})},getStats:function(){return this.messageHandler.sendWithPromise("GetStats",null)},startCleanup:function(){this.messageHandler.sendWithPromise("Cleanup",null).then(function(){for(var b=0,c=this.pageCache.length;b<c;b++){var d=this.pageCache[b];d&&d.cleanup()}this.commonObjs.clear(),this.fontLoader.clear()}.bind(this))}},b}(),ba=function(){function b(){this.objs=Object.create(null)}return b.prototype={ensureObj:function(b){if(this.objs[b])return this.objs[b];var c={capability:s(),data:null,resolved:!1};return this.objs[b]=c,c},get:function(b,c){if(c)return this.ensureObj(b).capability.promise.then(c),null;var d=this.objs[b];return d&&d.resolved||t("Requesting object that isn't resolved yet "+b),d.data},resolve:function(b,c){var d=this.ensureObj(b);d.resolved=!0,d.data=c,d.capability.resolve(c)},isResolved:function(b){var c=this.objs;return!!c[b]&&c[b].resolved},hasData:function(b){return this.isResolved(b)},getData:function(b){var c=this.objs;return c[b]&&c[b].resolved?c[b].data:null},clear:function(){this.objs=Object.create(null)}},b}(),ca=function(){function b(a){this._internalRenderTask=a,this.onContinue=null}return b.prototype={get promise(){return this._internalRenderTask.capability.promise},cancel:function(){this._internalRenderTask.cancel()},then:function(b,c){return this.promise.then.apply(this.promise,arguments)}},b}(),da=function(){function b(a,b,c,d,e,f,g){this.callback=a,this.params=b,this.objs=c,this.commonObjs=d,this.operatorListIdx=null,this.operatorList=e,this.pageNumber=f,this.canvasFactory=g,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this.useRequestAnimationFrame=!1,this.cancelled=!1,this.capability=s(),this.task=new ca(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this)}return b.prototype={initializeGraphics:function(b){if(!this.cancelled){K("pdfBug")&&D.StepperManager&&D.StepperManager.enabled&&(this.stepper=D.StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var c=this.params;this.gfx=new H(c.canvasContext,this.commonObjs,this.objs,this.canvasFactory,c.imageLayer),this.gfx.beginDrawing(c.transform,c.viewport,b),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}},cancel:function(){this.running=!1,this.cancelled=!0,K("pdfjsNext")?this.callback(new J("Rendering cancelled, page "+this.pageNumber,"canvas")):this.callback("cancelled")},operatorListChanged:function(){if(!this.graphicsReady)return void(this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound));this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()},_continue:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())},_scheduleNext:function(){this.useRequestAnimationFrame&&"undefined"!=typeof window?window.requestAnimationFrame(this._nextBound):Promise.resolve(void 0).then(this._nextBound)},_next:function(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this.callback())))}},b}(),ea=function(){var b=[];return{listen:function(a){u("Global UnsupportedManager.listen is used: use PDFDocumentLoadingTask.onUnsupportedFeature instead"),b.push(a)},notify:function(a){for(var c=0,d=b.length;c<d;c++)b[c](a)}}}();b.version="1.8.188",b.build="ad1023ff",b.getDocument=V,b.PDFDataRangeTransport=Y,b.PDFWorker=_,b.PDFDocumentProxy=Z,b.PDFPageProxy=$,b._UnsupportedManager=ea},function(a,b,c){"use strict";var d=c(0),e=d.FONT_IDENTITY_MATRIX,f=d.IDENTITY_MATRIX,g=d.ImageKind,h=d.OPS,i=d.Util,j=d.isNum,k=d.isArray,l=d.warn,m=d.createObjectURL,n={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},o=function(){function i(a,b,c){for(var e=-1,f=b;f<c;f++){var g=255&(e^a[f]);e=e>>>8^d[g]}return-1^e}function j(a,b,c,d){var e=d,f=b.length;c[e]=f>>24&255,c[e+1]=f>>16&255,c[e+2]=f>>8&255,c[e+3]=255&f,e+=4,c[e]=255&a.charCodeAt(0),c[e+1]=255&a.charCodeAt(1),c[e+2]=255&a.charCodeAt(2),c[e+3]=255&a.charCodeAt(3),e+=4,c.set(b,e),e+=b.length;var g=i(c,d+4,e);c[e]=g>>24&255,c[e+1]=g>>16&255,c[e+2]=g>>8&255,c[e+3]=255&g}function k(a,b,c){for(var d=1,e=0,f=b;f<c;++f)d=(d+(255&a[f]))%65521,e=(e+d)%65521;return e<<16|d}function l(a,d,e){var i,l,n,f=a.width,h=a.height,o=a.data;switch(d){case g.GRAYSCALE_1BPP:l=0,i=1,n=f+7>>3;break;case g.RGB_24BPP:l=2,i=8,n=3*f;break;case g.RGBA_32BPP:l=6,i=8,n=4*f;break;default:throw new Error("invalid format")}var s,t,p=new Uint8Array((1+n)*h),q=0,r=0;for(s=0;s<h;++s)p[q++]=0,p.set(o.subarray(r,r+n),q),r+=n,q+=n;if(d===g.GRAYSCALE_1BPP)for(q=0,s=0;s<h;s++)for(q++,t=0;t<n;t++)p[q++]^=255;var u=new Uint8Array([f>>24&255,f>>16&255,f>>8&255,255&f,h>>24&255,h>>16&255,h>>8&255,255&h,i,l,0,0,0]),v=p.length,w=65535,x=Math.ceil(v/w),y=new Uint8Array(2+v+5*x+4),z=0;y[z++]=120,y[z++]=156;for(var A=0;v>w;)y[z++]=0,y[z++]=255,y[z++]=255,y[z++]=0,y[z++]=0,y.set(p.subarray(A,A+w),z),z+=w,A+=w,v-=w;y[z++]=1,y[z++]=255&v,y[z++]=v>>8&255,y[z++]=255&~v,y[z++]=(65535&~v)>>8&255,y.set(p.subarray(A),z),z+=p.length-A;var B=k(p,0,p.length);y[z++]=B>>24&255,y[z++]=B>>16&255,y[z++]=B>>8&255,y[z++]=255&B;var C=b.length+3*c+u.length+y.length,D=new Uint8Array(C),E=0;return D.set(b,E),E+=b.length,j("IHDR",u,D,E),E+=c+u.length,j("IDATA",y,D,E),E+=c+y.length,j("IEND",new Uint8Array(0),D,E),m(D,"image/png",e)}for(var b=new Uint8Array([137,80,78,71,13,10,26,10]),c=12,d=new Int32Array(256),e=0;e<256;e++){for(var f=e,h=0;h<8;h++)f=1&f?3988292384^f>>1&2147483647:f>>1&2147483647;d[e]=f}return function(b,c){return l(b,void 0===b.kind?g.GRAYSCALE_1BPP:b.kind,c)}}(),p=function(){function b(){this.fontSizeScale=1,this.fontWeight=n.fontWeight,this.fontSize=0,this.textMatrix=f,this.fontMatrix=e,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=n.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return b.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(b,c){this.x=b,this.y=c}},b}(),q=function(){function b(a){for(var b=[],c=[],d=a.length,e=0;e<d;e++)"save"!==a[e].fn?"restore"===a[e].fn?b=c.pop():b.push(a[e]):(b.push({fnId:92,fn:"group",items:[]}),c.push(b),b=b[b.length-1].items);return b}function c(a){if(a===(0|a))return a.toString();var b=a.toFixed(10),c=b.length-1;if("0"!==b[c])return b;do{c--}while("0"===b[c]);return b.substr(0,"."===b[c]?c:c+1)}function d(a){if(0===a[4]&&0===a[5]){if(0===a[1]&&0===a[2])return 1===a[0]&&1===a[3]?"":"scale("+c(a[0])+" "+c(a[3])+")";if(a[0]===a[3]&&a[1]===-a[2]){return"rotate("+c(180*Math.acos(a[0])/Math.PI)+")"}}else if(1===a[0]&&0===a[1]&&0===a[2]&&1===a[3])return"translate("+c(a[4])+" "+c(a[5])+")";return"matrix("+c(a[0])+" "+c(a[1])+" "+c(a[2])+" "+c(a[3])+" "+c(a[4])+" "+c(a[5])+")"}function g(a,b,c){this.current=new p,this.transformMatrix=f,this.transformStack=[],this.extraStack=[],this.commonObjs=a,this.objs=b,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!c}var q="http://www.w3.org/2000/svg",s="http://www.w3.org/1999/xlink",t=["butt","round","square"],u=["miter","round","bevel"],v=0,w=0;return g.prototype={save:function(){this.transformStack.push(this.transformMatrix);var b=this.current;this.extraStack.push(b),this.current=b.clone()},restore:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.tgrp=null},group:function(b){this.save(),this.executeOpTree(b),this.restore()},loadDependencies:function(b){for(var c=b.fnArray,d=c.length,e=b.argsArray,f=this,g=0;g<d;g++)if(h.dependency===c[g])for(var i=e[g],j=0,k=i.length;j<k;j++){var n,l=i[j],m="g_"===l.substring(0,2);n=m?new Promise(function(a){f.commonObjs.get(l,a)}):new Promise(function(a){f.objs.get(l,a)}),this.current.dependencies.push(n)}return Promise.all(this.current.dependencies)},transform:function(b,c,d,e,f,g){var h=[b,c,d,e,f,g];this.transformMatrix=i.transform(this.transformMatrix,h),this.tgrp=null},getSVG:function(b,c){this.viewport=c;var d=this._initialize(c);return this.loadDependencies(b).then(function(){this.transformMatrix=f;var a=this.convertOpList(b);return this.executeOpTree(a),d}.bind(this))},convertOpList:function(c){var d=c.argsArray,e=c.fnArray,f=e.length,g=[],i=[];for(var j in h)g[h[j]]=j;for(var k=0;k<f;k++){var l=e[k];i.push({fnId:l,fn:g[l],args:d[k]})}return b(i)},executeOpTree:function(b){for(var c=b.length,d=0;d<c;d++){var e=b[d].fn,f=b[d].fnId,g=b[d].args;switch(0|f){case h.beginText:this.beginText();break;case h.setLeading:this.setLeading(g);break;case h.setLeadingMoveText:this.setLeadingMoveText(g[0],g[1]);break;case h.setFont:this.setFont(g);break;case h.showText:case h.showSpacedText:this.showText(g[0]);break;case h.endText:this.endText();break;case h.moveText:this.moveText(g[0],g[1]);break;case h.setCharSpacing:this.setCharSpacing(g[0]);break;case h.setWordSpacing:this.setWordSpacing(g[0]);break;case h.setHScale:this.setHScale(g[0]);break;case h.setTextMatrix:this.setTextMatrix(g[0],g[1],g[2],g[3],g[4],g[5]);break;case h.setLineWidth:this.setLineWidth(g[0]);break;case h.setLineJoin:this.setLineJoin(g[0]);break;case h.setLineCap:this.setLineCap(g[0]);break;case h.setMiterLimit:this.setMiterLimit(g[0]);break;case h.setFillRGBColor:this.setFillRGBColor(g[0],g[1],g[2]);break;case h.setStrokeRGBColor:this.setStrokeRGBColor(g[0],g[1],g[2]);break;case h.setDash:this.setDash(g[0],g[1]);break;case h.setGState:this.setGState(g[0]);break;case h.fill:this.fill();break;case h.eoFill:this.eoFill();break;case h.stroke:this.stroke();break;case h.fillStroke:this.fillStroke();break;case h.eoFillStroke:this.eoFillStroke();break;case h.clip:this.clip("nonzero");break;case h.eoClip:this.clip("evenodd");break;case h.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case h.paintJpegXObject:this.paintJpegXObject(g[0],g[1],g[2]);break;case h.paintImageXObject:this.paintImageXObject(g[0]);break;case h.paintInlineImageXObject:this.paintInlineImageXObject(g[0]);break;case h.paintImageMaskXObject:this.paintImageMaskXObject(g[0]);break;case h.paintFormXObjectBegin:this.paintFormXObjectBegin(g[0],g[1]);break;case h.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case h.closePath:this.closePath();break;case h.closeStroke:this.closeStroke();break;case h.closeFillStroke:this.closeFillStroke();break;case h.nextLine:this.nextLine();break;case h.transform:this.transform(g[0],g[1],g[2],g[3],g[4],g[5]);break;case h.constructPath:this.constructPath(g[0],g[1]);break;case h.endPath:this.endPath();break;case 92:this.group(b[d].items);break;default:l("Unimplemented operator "+e)}}},setWordSpacing:function(b){this.current.wordSpacing=b},setCharSpacing:function(b){this.current.charSpacing=b},nextLine:function(){this.moveText(0,this.current.leading)},setTextMatrix:function(b,d,e,f,g,h){var i=this.current;this.current.textMatrix=this.current.lineMatrix=[b,d,e,f,g,h],this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,i.xcoords=[],i.tspan=document.createElementNS(q,"svg:tspan"),i.tspan.setAttributeNS(null,"font-family",i.fontFamily),i.tspan.setAttributeNS(null,"font-size",c(i.fontSize)+"px"),i.tspan.setAttributeNS(null,"y",c(-i.y)),i.txtElement=document.createElementNS(q,"svg:text"),i.txtElement.appendChild(i.tspan)},beginText:function(){this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,this.current.textMatrix=f,this.current.lineMatrix=f,this.current.tspan=document.createElementNS(q,"svg:tspan"),this.current.txtElement=document.createElementNS(q,"svg:text"),this.current.txtgrp=document.createElementNS(q,"svg:g"),this.current.xcoords=[]},moveText:function(b,d){var e=this.current;this.current.x=this.current.lineX+=b,this.current.y=this.current.lineY+=d,e.xcoords=[],e.tspan=document.createElementNS(q,"svg:tspan"),e.tspan.setAttributeNS(null,"font-family",e.fontFamily),e.tspan.setAttributeNS(null,"font-size",c(e.fontSize)+"px"),e.tspan.setAttributeNS(null,"y",c(-e.y))},showText:function(b){var e=this.current,f=e.font,g=e.fontSize;if(0!==g){var s,h=e.charSpacing,i=e.wordSpacing,k=e.fontDirection,l=e.textHScale*k,m=b.length,o=f.vertical,p=g*e.fontMatrix[0],q=0;for(s=0;s<m;++s){var t=b[s];if(null!==t)if(j(t))q+=-t*g*.001;else{e.xcoords.push(e.x+q*l);var u=t.width,v=t.fontChar,w=u*p+h*k;q+=w,e.tspan.textContent+=v}else q+=k*i}o?e.y-=q*l:e.x+=q*l,e.tspan.setAttributeNS(null,"x",e.xcoords.map(c).join(" ")),e.tspan.setAttributeNS(null,"y",c(-e.y)),e.tspan.setAttributeNS(null,"font-family",e.fontFamily),e.tspan.setAttributeNS(null,"font-size",c(e.fontSize)+"px"),e.fontStyle!==n.fontStyle&&e.tspan.setAttributeNS(null,"font-style",e.fontStyle),e.fontWeight!==n.fontWeight&&e.tspan.setAttributeNS(null,"font-weight",e.fontWeight),e.fillColor!==n.fillColor&&e.tspan.setAttributeNS(null,"fill",e.fillColor),e.txtElement.setAttributeNS(null,"transform",d(e.textMatrix)+" scale(1, -1)"),e.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.txtElement.appendChild(e.tspan),e.txtgrp.appendChild(e.txtElement),this._ensureTransformGroup().appendChild(e.txtElement)}},setLeadingMoveText:function(b,c){this.setLeading(-c),this.moveText(b,c)},addFontStyle:function(b){this.cssStyle||(this.cssStyle=document.createElementNS(q,"svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var c=m(b.data,b.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'+b.loadedName+'"; src: url('+c+"); }\n"},setFont:function(b){var d=this.current,f=this.commonObjs.get(b[0]),g=b[1];this.current.font=f,this.embedFonts&&f.data&&!this.embeddedFonts[f.loadedName]&&(this.addFontStyle(f),this.embeddedFonts[f.loadedName]=f),d.fontMatrix=f.fontMatrix?f.fontMatrix:e;var h=f.black?f.bold?"bolder":"bold":f.bold?"bold":"normal",i=f.italic?"italic":"normal";g<0?(g=-g,d.fontDirection=-1):d.fontDirection=1,d.fontSize=g,d.fontFamily=f.loadedName,d.fontWeight=h,d.fontStyle=i,d.tspan=document.createElementNS(q,"svg:tspan"),d.tspan.setAttributeNS(null,"y",c(-d.y)),d.xcoords=[]},endText:function(){},setLineWidth:function(b){this.current.lineWidth=b},setLineCap:function(b){this.current.lineCap=t[b]},setLineJoin:function(b){this.current.lineJoin=u[b]},setMiterLimit:function(b){this.current.miterLimit=b},setStrokeRGBColor:function(b,c,d){var e=i.makeCssRgb(b,c,d);this.current.strokeColor=e},setFillRGBColor:function(b,c,d){var e=i.makeCssRgb(b,c,d);this.current.fillColor=e,this.current.tspan=document.createElementNS(q,"svg:tspan"),this.current.xcoords=[]},setDash:function(b,c){this.current.dashArray=b,this.current.dashPhase=c},constructPath:function(b,d){var e=this.current,f=e.x,g=e.y;e.path=document.createElementNS(q,"svg:path");for(var i=[],j=b.length,k=0,l=0;k<j;k++)switch(0|b[k]){case h.rectangle:f=d[l++],g=d[l++];var m=d[l++],n=d[l++],o=f+m,p=g+n;i.push("M",c(f),c(g),"L",c(o),c(g),"L",c(o),c(p),"L",c(f),c(p),"Z");break;case h.moveTo:f=d[l++],g=d[l++],i.push("M",c(f),c(g));break;case h.lineTo:f=d[l++],g=d[l++],i.push("L",c(f),c(g));break;case h.curveTo:f=d[l+4],g=d[l+5],i.push("C",c(d[l]),c(d[l+1]),c(d[l+2]),c(d[l+3]),c(f),c(g)),l+=6;break;case h.curveTo2:f=d[l+2],g=d[l+3],i.push("C",c(f),c(g),c(d[l]),c(d[l+1]),c(d[l+2]),c(d[l+3])),l+=4;break;case h.curveTo3:f=d[l+2],g=d[l+3],i.push("C",c(d[l]),c(d[l+1]),c(f),c(g),c(f),c(g)),l+=4;break;case h.closePath:i.push("Z")}e.path.setAttributeNS(null,"d",i.join(" ")),e.path.setAttributeNS(null,"stroke-miterlimit",c(e.miterLimit)),e.path.setAttributeNS(null,"stroke-linecap",e.lineCap),e.path.setAttributeNS(null,"stroke-linejoin",e.lineJoin),e.path.setAttributeNS(null,"stroke-width",c(e.lineWidth)+"px"),e.path.setAttributeNS(null,"stroke-dasharray",e.dashArray.map(c).join(" ")),e.path.setAttributeNS(null,"stroke-dashoffset",c(e.dashPhase)+"px"),e.path.setAttributeNS(null,"fill","none"),this._ensureTransformGroup().appendChild(e.path),e.element=e.path,e.setCurrentPoint(f,g)},endPath:function(){},clip:function(b){var c=this.current,e="clippath"+v;v++;var f=document.createElementNS(q,"svg:clipPath");f.setAttributeNS(null,"id",e),f.setAttributeNS(null,"transform",d(this.transformMatrix));var g=c.element.cloneNode();"evenodd"===b?g.setAttributeNS(null,"clip-rule","evenodd"):g.setAttributeNS(null,"clip-rule","nonzero"),f.appendChild(g),this.defs.appendChild(f),c.activeClipUrl&&(c.clipGroup=null,this.extraStack.forEach(function(a){a.clipGroup=null})),c.activeClipUrl="url(#"+e+")",this.tgrp=null},closePath:function(){var b=this.current,c=b.path.getAttributeNS(null,"d");c+="Z",b.path.setAttributeNS(null,"d",c)},setLeading:function(b){this.current.leading=-b},setTextRise:function(b){this.current.textRise=b},setHScale:function(b){this.current.textHScale=b/100},setGState:function(b){for(var c=0,d=b.length;c<d;c++){var e=b[c],f=e[0],g=e[1];switch(f){case"LW":this.setLineWidth(g);break;case"LC":this.setLineCap(g);break;case"LJ":this.setLineJoin(g);break;case"ML":this.setMiterLimit(g);break;case"D":this.setDash(g[0],g[1]);break;case"Font":this.setFont(g);break;default:l("Unimplemented graphic state "+f)}}},fill:function(){var b=this.current;b.element.setAttributeNS(null,"fill",b.fillColor)},stroke:function(){var b=this.current;b.element.setAttributeNS(null,"stroke",b.strokeColor),b.element.setAttributeNS(null,"fill","none")},eoFill:function(){var b=this.current;b.element.setAttributeNS(null,"fill",b.fillColor),b.element.setAttributeNS(null,"fill-rule","evenodd")},fillStroke:function(){this.stroke(),this.fill()},eoFillStroke:function(){this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()},closeStroke:function(){this.closePath(),this.stroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},paintSolidColorImageMask:function(){var b=this.current,c=document.createElementNS(q,"svg:rect");c.setAttributeNS(null,"x","0"),c.setAttributeNS(null,"y","0"),c.setAttributeNS(null,"width","1px"),c.setAttributeNS(null,"height","1px"),c.setAttributeNS(null,"fill",b.fillColor),this._ensureTransformGroup().appendChild(c)},paintJpegXObject:function(b,d,e){var f=this.objs.get(b),g=document.createElementNS(q,"svg:image");g.setAttributeNS(s,"xlink:href",f.src),g.setAttributeNS(null,"width",f.width+"px"),g.setAttributeNS(null,"height",f.height+"px"),g.setAttributeNS(null,"x","0"),g.setAttributeNS(null,"y",c(-e)),g.setAttributeNS(null,"transform","scale("+c(1/d)+" "+c(-1/e)+")"),this._ensureTransformGroup().appendChild(g)},paintImageXObject:function(b){var c=this.objs.get(b);if(!c)return void l("Dependent image isn't ready yet");this.paintInlineImageXObject(c)},paintInlineImageXObject:function(b,d){var e=b.width,f=b.height,g=o(b,this.forceDataSchema),h=document.createElementNS(q,"svg:rect");h.setAttributeNS(null,"x","0"),h.setAttributeNS(null,"y","0"),h.setAttributeNS(null,"width",c(e)),h.setAttributeNS(null,"height",c(f)),this.current.element=h,this.clip("nonzero");var i=document.createElementNS(q,"svg:image");i.setAttributeNS(s,"xlink:href",g),i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y",c(-f)),i.setAttributeNS(null,"width",c(e)+"px"),i.setAttributeNS(null,"height",c(f)+"px"),i.setAttributeNS(null,"transform","scale("+c(1/e)+" "+c(-1/f)+")"),d?d.appendChild(i):this._ensureTransformGroup().appendChild(i)},paintImageMaskXObject:function(b){var d=this.current,e=b.width,f=b.height,g=d.fillColor;d.maskId="mask"+w++;var h=document.createElementNS(q,"svg:mask");h.setAttributeNS(null,"id",d.maskId);var i=document.createElementNS(q,"svg:rect");i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y","0"),i.setAttributeNS(null,"width",c(e)),i.setAttributeNS(null,"height",c(f)),i.setAttributeNS(null,"fill",g),i.setAttributeNS(null,"mask","url(#"+d.maskId+")"),this.defs.appendChild(h),this._ensureTransformGroup().appendChild(i),this.paintInlineImageXObject(b,h)},paintFormXObjectBegin:function(b,d){if(k(b)&&6===b.length&&this.transform(b[0],b[1],b[2],b[3],b[4],b[5]),k(d)&&4===d.length){var e=d[2]-d[0],f=d[3]-d[1],g=document.createElementNS(q,"svg:rect");g.setAttributeNS(null,"x",d[0]),g.setAttributeNS(null,"y",d[1]),g.setAttributeNS(null,"width",c(e)),g.setAttributeNS(null,"height",c(f)),this.current.element=g,this.clip("nonzero"),this.endPath()}},paintFormXObjectEnd:function(){},_initialize:function(b){var c=document.createElementNS(q,"svg:svg");c.setAttributeNS(null,"version","1.1"),c.setAttributeNS(null,"width",b.width+"px"),c.setAttributeNS(null,"height",b.height+"px"),c.setAttributeNS(null,"preserveAspectRatio","none"),c.setAttributeNS(null,"viewBox","0 0 "+b.width+" "+b.height);var e=document.createElementNS(q,"svg:defs");c.appendChild(e),this.defs=e;var f=document.createElementNS(q,"svg:g");return f.setAttributeNS(null,"transform",d(b.transform)),c.appendChild(f),this.svg=f,c},_ensureClipGroup:function(){if(!this.current.clipGroup){var b=document.createElementNS(q,"svg:g");b.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(b),this.current.clipGroup=b}return this.current.clipGroup},_ensureTransformGroup:function(){return this.tgrp||(this.tgrp=document.createElementNS(q,"svg:g"),this.tgrp.setAttributeNS(null,"transform",d(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}},g}();b.SVGGraphics=q},function(a,b,c){"use strict";var d=c(0),e=c(1),f=d.Util,g=d.createPromiseCapability,h=e.CustomStyle,i=e.getDefaultSetting,j=function(){function d(a){return!c.test(a)}function j(a,b,c){var g=document.createElement("div"),h={style:null,angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(a._textDivs.push(g),d(b.str))return h.isWhitespace=!0,void a._textDivProperties.set(g,h);var j=f.transform(a._viewport.transform,b.transform),k=Math.atan2(j[1],j[0]),l=c[b.fontName];l.vertical&&(k+=Math.PI/2);var m=Math.sqrt(j[2]*j[2]+j[3]*j[3]),n=m;l.ascent?n=l.ascent*n:l.descent&&(n=(1+l.descent)*n);var o,p;if(0===k?(o=j[4],p=j[5]-n):(o=j[4]+n*Math.sin(k),p=j[5]-n*Math.cos(k)),e[1]=o,e[3]=p,e[5]=m,e[7]=l.fontFamily,h.style=e.join(""),g.setAttribute("style",h.style),g.textContent=b.str,i("pdfBug")&&(g.dataset.fontName=b.fontName),0!==k&&(h.angle=k*(180/Math.PI)),b.str.length>1&&(l.vertical?h.canvasWidth=b.height*a._viewport.scale:h.canvasWidth=b.width*a._viewport.scale),a._textDivProperties.set(g,h),a._enhanceTextSelection){var q=1,r=0;0!==k&&(q=Math.cos(k),r=Math.sin(k));var u,v,s=(l.vertical?b.height:b.width)*a._viewport.scale,t=m;0!==k?(u=[q,r,-r,q,o,p],v=f.getAxialAlignedBoundingBox([0,0,s,t],u)):v=[o,p,o+s,p+t],a._bounds.push({left:v[0],top:v[1],right:v[2],bottom:v[3],div:g,size:[s,t],m:u})}}function k(a){if(!a._canceled){var c=a._container,d=a._textDivs,e=a._capability,f=d.length;if(f>b)return a._renderingDone=!0,void e.resolve();var g=document.createElement("canvas");g.mozOpaque=!0;for(var j,k,i=g.getContext("2d",{alpha:!1}),l=0;l<f;l++){var m=d[l],n=a._textDivProperties.get(m);if(!n.isWhitespace){var o=m.style.fontSize,p=m.style.fontFamily;o===j&&p===k||(i.font=o+" "+p,j=o,k=p);var q=i.measureText(m.textContent).width;c.appendChild(m);var r="";0!==n.canvasWidth&&q>0&&(n.scale=n.canvasWidth/q,r="scaleX("+n.scale+")"),0!==n.angle&&(r="rotate("+n.angle+"deg) "+r),""!==r&&(n.originalTransform=r,h.setProp("transform",m,r)),a._textDivProperties.set(m,n)}}a._renderingDone=!0,e.resolve()}}function l(a){for(var b=a._bounds,c=a._viewport,d=m(c.width,c.height,b),e=0;e<d.length;e++){var g=b[e].div,h=a._textDivProperties.get(g);if(0!==h.angle){var i=d[e],j=b[e],k=j.m,l=k[0],n=k[1],o=[[0,0],[0,j.size[1]],[j.size[0],0],j.size],p=new Float64Array(64);o.forEach(function(a,b){var c=f.applyTransform(a,k);p[b+0]=l&&(i.left-c[0])/l,p[b+4]=n&&(i.top-c[1])/n,p[b+8]=l&&(i.right-c[0])/l,p[b+12]=n&&(i.bottom-c[1])/n,p[b+16]=n&&(i.left-c[0])/-n,p[b+20]=l&&(i.top-c[1])/l,p[b+24]=n&&(i.right-c[0])/-n,p[b+28]=l&&(i.bottom-c[1])/l,p[b+32]=l&&(i.left-c[0])/-l,p[b+36]=n&&(i.top-c[1])/-n,p[b+40]=l&&(i.right-c[0])/-l,p[b+44]=n&&(i.bottom-c[1])/-n,p[b+48]=n&&(i.left-c[0])/n,p[b+52]=l&&(i.top-c[1])/-l,p[b+56]=n&&(i.right-c[0])/n,p[b+60]=l&&(i.bottom-c[1])/-l});var q=function(a,b,c){for(var d=0,e=0;e<c;e++){var f=a[b++];f>0&&(d=d?Math.min(f,d):f)}return d},r=1+Math.min(Math.abs(l),Math.abs(n));h.paddingLeft=q(p,32,16)/r,h.paddingTop=q(p,48,16)/r,h.paddingRight=q(p,0,16)/r,h.paddingBottom=q(p,16,16)/r,a._textDivProperties.set(g,h)}else h.paddingLeft=b[e].left-d[e].left,h.paddingTop=b[e].top-d[e].top,h.paddingRight=d[e].right-b[e].right,h.paddingBottom=d[e].bottom-b[e].bottom,a._textDivProperties.set(g,h)}}function m(a,b,c){var d=c.map(function(a,b){return{x1:a.left,y1:a.top,x2:a.right,y2:a.bottom,index:b,x1New:void 0,x2New:void 0}});n(a,d);var e=new Array(c.length);return d.forEach(function(a){var b=a.index;e[b]={left:a.x1New,top:0,right:a.x2New,bottom:0}}),c.map(function(b,c){var f=e[c],g=d[c];g.x1=b.top,g.y1=a-f.right,g.x2=b.bottom,g.y2=a-f.left,g.index=c,g.x1New=void 0,g.x2New=void 0}),n(b,d),d.forEach(function(a){var b=a.index;e[b].top=a.x1New,e[b].bottom=a.x2New}),e}function n(a,b){b.sort(function(a,b){return a.x1-b.x1||a.index-b.index});var c={x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0},d=[{start:-1/0,end:1/0,boundary:c}];b.forEach(function(a){for(var b=0;b<d.length&&d[b].end<=a.y1;)b++;for(var c=d.length-1;c>=0&&d[c].start>=a.y2;)c--;var e,f,g,h,i=-1/0;for(g=b;g<=c;g++){e=d[g],f=e.boundary;var j;j=f.x2>a.x1?f.index>a.index?f.x1New:a.x1:void 0===f.x2New?(f.x2+a.x1)/2:f.x2New,j>i&&(i=j)}for(a.x1New=i,g=b;g<=c;g++)e=d[g],f=e.boundary,void 0===f.x2New?f.x2>a.x1?f.index>a.index&&(f.x2New=f.x2):f.x2New=i:f.x2New>i&&(f.x2New=Math.max(i,f.x2));var k=[],l=null;for(g=b;g<=c;g++){e=d[g],f=e.boundary;var m=f.x2>a.x2?f:a;l===m?k[k.length-1].end=e.end:(k.push({start:e.start,end:e.end,boundary:m}),l=m)}for(d[b].start<a.y1&&(k[0].start=a.y1,k.unshift({start:d[b].start,end:a.y1,boundary:d[b].boundary})),a.y2<d[c].end&&(k[k.length-1].end=a.y2,k.push({start:a.y2,end:d[c].end,boundary:d[c].boundary})),g=b;g<=c;g++)if(e=d[g],f=e.boundary,void 0===f.x2New){var n=!1;for(h=b-1;!n&&h>=0&&d[h].start>=f.y1;h--)n=d[h].boundary===f;for(h=c+1;!n&&h<d.length&&d[h].end<=f.y2;h++)n=d[h].boundary===f;for(h=0;!n&&h<k.length;h++)n=k[h].boundary===f;n||(f.x2New=i)}Array.prototype.splice.apply(d,[b,c-b+1].concat(k))}),d.forEach(function(b){var c=b.boundary;void 0===c.x2New&&(c.x2New=Math.max(a,c.x2))})}function o(a,b,c,d,e){this._textContent=a,this._container=b,this._viewport=c,this._textDivs=d||[],this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=g(),this._renderTimer=null,this._bounds=[],this._enhanceTextSelection=!!e}function p(a){var b=new o(a.textContent,a.container,a.viewport,a.textDivs,a.enhanceTextSelection);return b._render(a.timeout),b}var b=1e5,c=/\S/,e=["left: ",0,"px; top: ",0,"px; font-size: ",0,"px; font-family: ","",";"];return o.prototype={get promise(){return this._capability.promise},cancel:function(){this._canceled=!0,null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject("canceled")},_render:function(b){for(var c=this._textContent.items,d=this._textContent.styles,e=0,f=c.length;e<f;e++)j(this,c[e],d);if(b){var g=this;this._renderTimer=setTimeout(function(){k(g),g._renderTimer=null},b)}else k(this)},expandTextDivs:function(b){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(l(this),this._bounds=null);for(var c=0,d=this._textDivs.length;c<d;c++){var e=this._textDivs[c],f=this._textDivProperties.get(e);if(!f.isWhitespace)if(b){var g="",i="";1!==f.scale&&(g="scaleX("+f.scale+")"),0!==f.angle&&(g="rotate("+f.angle+"deg) "+g),0!==f.paddingLeft&&(i+=" padding-left: "+f.paddingLeft/f.scale+"px;",g+=" translateX("+-f.paddingLeft/f.scale+"px)"),0!==f.paddingTop&&(i+=" padding-top: "+f.paddingTop+"px;",g+=" translateY("+-f.paddingTop+"px)"),0!==f.paddingRight&&(i+=" padding-right: "+f.paddingRight/f.scale+"px;"),0!==f.paddingBottom&&(i+=" padding-bottom: "+f.paddingBottom+"px;"),""!==i&&e.setAttribute("style",f.style+i),""!==g&&h.setProp("transform",e,g)}else e.style.padding=0,h.setProp("transform",e,f.originalTransform||"")}}}},p}();b.renderTextLayer=j},function(a,b,c){"use strict";var d;d=function(){return this}();try{d=d||Function("return this")()||(0,eval)("this")}catch(a){"object"==typeof window&&(d=window)}a.exports=d},function(a,b,c){"use strict";function f(a){return a.replace(/>\\376\\377([^<]+)/g,function(a,b){for(var c=b.replace(/\\([0-3])([0-7])([0-7])/g,function(a,b,c,d){return String.fromCharCode(64*b+8*c+1*d)}),d="",e=0;e<c.length;e+=2){var f=256*c.charCodeAt(e)+c.charCodeAt(e+1);d+=f>=32&&f<127&&60!==f&&62!==f&&38!==f?String.fromCharCode(f):"&#x"+(65536+f).toString(16).substring(1)+";"}return">"+d})}function g(a){if("string"==typeof a){a=f(a);a=(new DOMParser).parseFromString(a,"application/xml")}else a instanceof Document||e("Metadata: Invalid metadata object");this.metaDocument=a,this.metadata=Object.create(null),this.parse()}var d=c(0),e=d.error;g.prototype={parse:function(){var b=this.metaDocument,c=b.documentElement;if("rdf:rdf"!==c.nodeName.toLowerCase())for(c=c.firstChild;c&&"rdf:rdf"!==c.nodeName.toLowerCase();)c=c.nextSibling;var d=c?c.nodeName.toLowerCase():null;if(c&&"rdf:rdf"===d&&c.hasChildNodes()){var f,g,h,i,j,k,l,e=c.childNodes;for(i=0,k=e.length;i<k;i++)if(f=e[i],"rdf:description"===f.nodeName.toLowerCase())for(j=0,l=f.childNodes.length;j<l;j++)"#text"!==f.childNodes[j].nodeName.toLowerCase()&&(g=f.childNodes[j],h=g.nodeName.toLowerCase(),this.metadata[h]=g.textContent.trim())}},get:function(b){return this.metadata[b]||null},has:function(b){return void 0!==this.metadata[b]}},b.Metadata=g},function(a,b,c){"use strict";var d=c(0),e=c(1),f=d.shadow,g=e.getDefaultSetting,h=function(){function b(a,b,c){var d=a.createShader(c);if(a.shaderSource(d,b),a.compileShader(d),!a.getShaderParameter(d,a.COMPILE_STATUS)){var f=a.getShaderInfoLog(d);throw new Error("Error during shader compilation: "+f)}return d}function c(a,c){return b(a,c,a.VERTEX_SHADER)}function d(a,c){return b(a,c,a.FRAGMENT_SHADER)}function e(a,b){for(var c=a.createProgram(),d=0,e=b.length;d<e;++d)a.attachShader(c,b[d]);if(a.linkProgram(c),!a.getProgramParameter(c,a.LINK_STATUS)){var g=a.getProgramInfoLog(c);throw new Error("Error during program linking: "+g)}return c}function h(a,b,c){a.activeTexture(c);var d=a.createTexture();return a.bindTexture(a.TEXTURE_2D,d),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.NEAREST),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,b),d}function k(){i||(j=document.createElement("canvas"),i=j.getContext("webgl",{premultipliedalpha:!1}))}function o(){var a,b;k(),a=j,j=null,b=i,i=null;var f=c(b,l),g=d(b,m),h=e(b,[f,g]);b.useProgram(h);var o={};o.gl=b,o.canvas=a,o.resolutionLocation=b.getUniformLocation(h,"u_resolution"),o.positionLocation=b.getAttribLocation(h,"a_position"),o.backdropLocation=b.getUniformLocation(h,"u_backdrop"),o.subtypeLocation=b.getUniformLocation(h,"u_subtype");var p=b.getAttribLocation(h,"a_texCoord"),q=b.getUniformLocation(h,"u_image"),r=b.getUniformLocation(h,"u_mask"),s=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,s),b.bufferData(b.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),b.STATIC_DRAW),b.enableVertexAttribArray(p),b.vertexAttribPointer(p,2,b.FLOAT,!1,0,0),b.uniform1i(q,0),b.uniform1i(r,1),n=o}function p(a,b,c){var d=a.width,e=a.height;n||o();var f=n,g=f.canvas,i=f.gl;g.width=d,g.height=e,i.viewport(0,0,i.drawingBufferWidth,i.drawingBufferHeight),i.uniform2f(f.resolutionLocation,d,e),c.backdrop?i.uniform4f(f.resolutionLocation,c.backdrop[0],c.backdrop[1],c.backdrop[2],1):i.uniform4f(f.resolutionLocation,0,0,0,0),i.uniform1i(f.subtypeLocation,"Luminosity"===c.subtype?1:0);var j=h(i,a,i.TEXTURE0),k=h(i,b,i.TEXTURE1),l=i.createBuffer();return i.bindBuffer(i.ARRAY_BUFFER,l),i.bufferData(i.ARRAY_BUFFER,new Float32Array([0,0,d,0,0,e,0,e,d,0,d,e]),i.STATIC_DRAW),i.enableVertexAttribArray(f.positionLocation),i.vertexAttribPointer(f.positionLocation,2,i.FLOAT,!1,0,0),i.clearColor(0,0,0,0),i.enable(i.BLEND),i.blendFunc(i.ONE,i.ONE_MINUS_SRC_ALPHA),i.clear(i.COLOR_BUFFER_BIT),i.drawArrays(i.TRIANGLES,0,6),i.flush(),i.deleteTexture(j),i.deleteTexture(k),i.deleteBuffer(l),g}function t(){var a,b;k(),a=j,j=null,b=i,i=null;var f=c(b,q),g=d(b,r),h=e(b,[f,g]);b.useProgram(h);var l={};l.gl=b,l.canvas=a,l.resolutionLocation=b.getUniformLocation(h,"u_resolution"),l.scaleLocation=b.getUniformLocation(h,"u_scale"),l.offsetLocation=b.getUniformLocation(h,"u_offset"),l.positionLocation=b.getAttribLocation(h,"a_position"),l.colorLocation=b.getAttribLocation(h,"a_color"),s=l}function u(a,b,c,d,e){s||t();var f=s,g=f.canvas,h=f.gl;g.width=a,g.height=b,h.viewport(0,0,h.drawingBufferWidth,h.drawingBufferHeight),h.uniform2f(f.resolutionLocation,a,b);var j,k,l,i=0;for(j=0,k=d.length;j<k;j++)switch(d[j].type){case"lattice":l=d[j].coords.length/d[j].verticesPerRow|0,i+=(l-1)*(d[j].verticesPerRow-1)*6;break;case"triangles":i+=d[j].coords.length}var m=new Float32Array(2*i),n=new Uint8Array(3*i),o=e.coords,p=e.colors,q=0,r=0;for(j=0,k=d.length;j<k;j++){var u=d[j],v=u.coords,w=u.colors;switch(u.type){case"lattice":var x=u.verticesPerRow;l=v.length/x|0;for(var y=1;y<l;y++)for(var z=y*x+1,A=1;A<x;A++,z++)m[q]=o[v[z-x-1]],m[q+1]=o[v[z-x-1]+1],m[q+2]=o[v[z-x]],m[q+3]=o[v[z-x]+1],m[q+4]=o[v[z-1]],m[q+5]=o[v[z-1]+1],n[r]=p[w[z-x-1]],n[r+1]=p[w[z-x-1]+1],n[r+2]=p[w[z-x-1]+2],n[r+3]=p[w[z-x]],n[r+4]=p[w[z-x]+1],n[r+5]=p[w[z-x]+2],n[r+6]=p[w[z-1]],n[r+7]=p[w[z-1]+1],n[r+8]=p[w[z-1]+2],m[q+6]=m[q+2],m[q+7]=m[q+3],m[q+8]=m[q+4],m[q+9]=m[q+5],m[q+10]=o[v[z]],m[q+11]=o[v[z]+1],n[r+9]=n[r+3],n[r+10]=n[r+4],n[r+11]=n[r+5],n[r+12]=n[r+6],n[r+13]=n[r+7],n[r+14]=n[r+8],n[r+15]=p[w[z]],n[r+16]=p[w[z]+1],n[r+17]=p[w[z]+2],q+=12,r+=18;break;case"triangles":for(var B=0,C=v.length;B<C;B++)m[q]=o[v[B]],m[q+1]=o[v[B]+1],n[r]=p[w[B]],n[r+1]=p[w[B]+1],n[r+2]=p[w[B]+2],q+=2,r+=3}}c?h.clearColor(c[0]/255,c[1]/255,c[2]/255,1):h.clearColor(0,0,0,0),h.clear(h.COLOR_BUFFER_BIT);var D=h.createBuffer();h.bindBuffer(h.ARRAY_BUFFER,D),h.bufferData(h.ARRAY_BUFFER,m,h.STATIC_DRAW),h.enableVertexAttribArray(f.positionLocation),h.vertexAttribPointer(f.positionLocation,2,h.FLOAT,!1,0,0);var E=h.createBuffer();return h.bindBuffer(h.ARRAY_BUFFER,E),h.bufferData(h.ARRAY_BUFFER,n,h.STATIC_DRAW),h.enableVertexAttribArray(f.colorLocation),h.vertexAttribPointer(f.colorLocation,3,h.UNSIGNED_BYTE,!1,0,0),h.uniform2f(f.scaleLocation,e.scaleX,e.scaleY),h.uniform2f(f.offsetLocation,e.offsetX,e.offsetY),h.drawArrays(h.TRIANGLES,0,i),h.flush(),h.deleteBuffer(D),h.deleteBuffer(E),g}function v(){n&&n.canvas&&(n.canvas.width=0,n.canvas.height=0),s&&s.canvas&&(s.canvas.width=0,s.canvas.height=0),n=null,s=null}var i,j,l=" attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } ",m=" precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } ",n=null,q=" attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } ",r=" precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } ",s=null;return{get isEnabled(){if(g("disableWebGL"))return!1;var a=!1;try{k(),a=!!i}catch(a){}return f(this,"isEnabled",a)},composeSMask:p,drawFigures:u,clear:v}}();b.WebGLUtils=h},function(a,b,c){"use strict";var d=c(0),e=c(1),f=c(3),g=c(2),h=c(5),i=c(7),j=c(4),k=d.globalScope,l=d.deprecated,m=d.warn,n=e.LinkTarget,o=e.DEFAULT_LINK_REL,p="undefined"==typeof window;k.PDFJS||(k.PDFJS={});var q=k.PDFJS;q.version="1.8.188",q.build="ad1023ff",q.pdfBug=!1,void 0!==q.verbosity&&d.setVerbosityLevel(q.verbosity),delete q.verbosity,Object.defineProperty(q,"verbosity",{get:function(){return d.getVerbosityLevel()},set:function(a){d.setVerbosityLevel(a)},enumerable:!0,configurable:!0}),q.VERBOSITY_LEVELS=d.VERBOSITY_LEVELS,q.OPS=d.OPS,q.UNSUPPORTED_FEATURES=d.UNSUPPORTED_FEATURES,q.isValidUrl=e.isValidUrl,q.shadow=d.shadow,q.createBlob=d.createBlob,q.createObjectURL=function(b,c){return d.createObjectURL(b,c,q.disableCreateObjectURL)},Object.defineProperty(q,"isLittleEndian",{configurable:!0,get:function(){var b=d.isLittleEndian();return d.shadow(q,"isLittleEndian",b)}}),q.removeNullCharacters=d.removeNullCharacters,q.PasswordResponses=d.PasswordResponses,q.PasswordException=d.PasswordException,q.UnknownErrorException=d.UnknownErrorException,q.InvalidPDFException=d.InvalidPDFException,q.MissingPDFException=d.MissingPDFException,q.UnexpectedResponseException=d.UnexpectedResponseException,q.Util=d.Util,q.PageViewport=d.PageViewport,q.createPromiseCapability=d.createPromiseCapability,q.maxImageSize=void 0===q.maxImageSize?-1:q.maxImageSize,q.cMapUrl=void 0===q.cMapUrl?null:q.cMapUrl,q.cMapPacked=void 0!==q.cMapPacked&&q.cMapPacked,q.disableFontFace=void 0!==q.disableFontFace&&q.disableFontFace,q.imageResourcesPath=void 0===q.imageResourcesPath?"":q.imageResourcesPath,q.disableWorker=void 0!==q.disableWorker&&q.disableWorker,q.workerSrc=void 0===q.workerSrc?null:q.workerSrc,q.workerPort=void 0===q.workerPort?null:q.workerPort,q.disableRange=void 0!==q.disableRange&&q.disableRange,q.disableStream=void 0!==q.disableStream&&q.disableStream,q.disableAutoFetch=void 0!==q.disableAutoFetch&&q.disableAutoFetch,q.pdfBug=void 0!==q.pdfBug&&q.pdfBug,q.postMessageTransfers=void 0===q.postMessageTransfers||q.postMessageTransfers,q.disableCreateObjectURL=void 0!==q.disableCreateObjectURL&&q.disableCreateObjectURL,q.disableWebGL=void 0===q.disableWebGL||q.disableWebGL,q.externalLinkTarget=void 0===q.externalLinkTarget?n.NONE:q.externalLinkTarget,q.externalLinkRel=void 0===q.externalLinkRel?o:q.externalLinkRel,q.isEvalSupported=void 0===q.isEvalSupported||q.isEvalSupported,q.pdfjsNext=void 0!==q.pdfjsNext&&q.pdfjsNext;var r=q.openExternalLinksInNewWindow;delete q.openExternalLinksInNewWindow,Object.defineProperty(q,"openExternalLinksInNewWindow",{get:function(){return q.externalLinkTarget===n.BLANK},set:function(a){if(a&&l('PDFJS.openExternalLinksInNewWindow, please use "PDFJS.externalLinkTarget = PDFJS.LinkTarget.BLANK" instead.'),q.externalLinkTarget!==n.NONE)return void m("PDFJS.externalLinkTarget is already initialized");q.externalLinkTarget=a?n.BLANK:n.NONE},enumerable:!0,configurable:!0}),r&&(q.openExternalLinksInNewWindow=r),q.getDocument=f.getDocument,q.PDFDataRangeTransport=f.PDFDataRangeTransport,q.PDFWorker=f.PDFWorker,Object.defineProperty(q,"hasCanvasTypedArrays",{configurable:!0,get:function(){var b=e.hasCanvasTypedArrays();return d.shadow(q,"hasCanvasTypedArrays",b)}}),q.CustomStyle=e.CustomStyle,q.LinkTarget=n,q.addLinkAttributes=e.addLinkAttributes,q.getFilenameFromUrl=e.getFilenameFromUrl,q.isExternalLinkTargetSet=e.isExternalLinkTargetSet,q.AnnotationLayer=g.AnnotationLayer,q.renderTextLayer=h.renderTextLayer,q.Metadata=i.Metadata,q.SVGGraphics=j.SVGGraphics,q.UnsupportedManager=f._UnsupportedManager,b.globalScope=k,b.isWorker=p,b.PDFJS=k.PDFJS},function(a,b,c){"use strict";function J(a){a.mozCurrentTransform||(a._originalSave=a.save,a._originalRestore=a.restore,a._originalRotate=a.rotate,a._originalScale=a.scale,a._originalTranslate=a.translate,a._originalTransform=a.transform,a._originalSetTransform=a.setTransform,a._transformMatrix=a._transformMatrix||[1,0,0,1,0,0],a._transformStack=[],Object.defineProperty(a,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(a,"mozCurrentTransformInverse",{get:function(){var b=this._transformMatrix,c=b[0],d=b[1],e=b[2],f=b[3],g=b[4],h=b[5],i=c*f-d*e,j=d*e-c*f;return[f/i,d/j,e/j,c/i,(f*g-e*h)/j,(d*g-c*h)/i]}}),a.save=function(){var b=this._transformMatrix;this._transformStack.push(b),this._transformMatrix=b.slice(0,6),this._originalSave()},a.restore=function(){var b=this._transformStack.pop();b&&(this._transformMatrix=b,this._originalRestore())},a.translate=function(b,c){var d=this._transformMatrix;d[4]=d[0]*b+d[2]*c+d[4],d[5]=d[1]*b+d[3]*c+d[5],this._originalTranslate(b,c)},a.scale=function(b,c){var d=this._transformMatrix;d[0]=d[0]*b,d[1]=d[1]*b,d[2]=d[2]*c,d[3]=d[3]*c,this._originalScale(b,c)},a.transform=function(c,d,e,f,g,h){var i=this._transformMatrix;this._transformMatrix=[i[0]*c+i[2]*d,i[1]*c+i[3]*d,i[0]*e+i[2]*f,i[1]*e+i[3]*f,i[0]*g+i[2]*h+i[4],i[1]*g+i[3]*h+i[5]],a._originalTransform(c,d,e,f,g,h)},a.setTransform=function(c,d,e,f,g,h){this._transformMatrix=[c,d,e,f,g,h],a._originalSetTransform(c,d,e,f,g,h)},a.rotate=function(b){var c=Math.cos(b),d=Math.sin(b),e=this._transformMatrix;this._transformMatrix=[e[0]*c+e[2]*d,e[1]*c+e[3]*d,e[0]*-d+e[2]*c,e[1]*-d+e[3]*c,e[4],e[5]],this._originalRotate(b)})}function L(a){var e,f,g,o,b=1e3,c=a.width,d=a.height,h=c+1,i=new Uint8Array(h*(d+1)),j=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),k=c+7&-8,l=a.data,m=new Uint8Array(k*d),n=0;for(e=0,o=l.length;e<o;e++)for(var p=128,q=l[e];p>0;)m[n++]=q&p?0:255,p>>=1;var r=0;for(n=0,0!==m[n]&&(i[0]=1,++r),f=1;f<c;f++)m[n]!==m[n+1]&&(i[f]=m[n]?2:1,++r),n++;for(0!==m[n]&&(i[f]=2,++r),e=1;e<d;e++){n=e*k,g=e*h,m[n-k]!==m[n]&&(i[g]=m[n]?1:8,++r);var s=(m[n]?4:0)+(m[n-k]?8:0);for(f=1;f<c;f++)s=(s>>2)+(m[n+1]?4:0)+(m[n-k+1]?8:0),j[s]&&(i[g+f]=j[s],++r),n++;if(m[n-k]!==m[n]&&(i[g+f]=m[n]?2:4,++r),r>b)return null}for(n=k*(d-1),g=e*h,0!==m[n]&&(i[g]=8,++r),f=1;f<c;f++)m[n]!==m[n+1]&&(i[g+f]=m[n]?4:8,++r),n++;if(0!==m[n]&&(i[g+f]=4,++r),r>b)return null;var t=new Int32Array([0,h,-1,0,-h,0,0,0,1]),u=[];for(e=0;r&&e<=d;e++){for(var v=e*h,w=v+c;v<w&&!i[v];)v++;if(v!==w){var A,x=[v%h,e],y=i[v],z=v;do{var B=t[y];do{v+=B}while(!i[v]);A=i[v],5!==A&&10!==A?(y=A,i[v]=0):(y=A&51*y>>4,i[v]&=y>>2|y<<2),x.push(v%h),x.push(v/h|0),--r}while(z!==v);u.push(x),--e}}return function(a){a.save(),a.scale(1/c,-1/d),a.translate(0,-d),a.beginPath();for(var b=0,e=u.length;b<e;b++){var f=u[b];a.moveTo(f[0],f[1]);for(var g=2,h=f.length;g<h;g+=2)a.lineTo(f[g],f[g+1])}a.fill(),a.beginPath(),a.restore()}}var d=c(0),e=c(1),f=c(12),g=c(8),h=d.FONT_IDENTITY_MATRIX,i=d.IDENTITY_MATRIX,j=d.ImageKind,k=d.OPS,l=d.TextRenderingMode,m=d.Uint32ArrayView,n=d.Util,o=d.assert,p=d.info,q=d.isNum,r=d.isArray,s=d.isLittleEndian,t=d.error,u=d.shadow,v=d.warn,w=f.TilingPattern,x=f.getShadingPatternFromIR,y=g.WebGLUtils,z=e.hasCanvasTypedArrays,A=16,B=100,C=4096,D=.65,E=!0,F=1e3,G=16,H={get value(){return u(H,"value",z())}},I={get value(){return u(I,"value",s())}},K=function(){function b(a){this.canvasFactory=a,this.cache=Object.create(null)}return b.prototype={getCanvas:function(b,c,d,e){var f;return void 0!==this.cache[b]?(f=this.cache[b],this.canvasFactory.reset(f,c,d),f.context.setTransform(1,0,0,1,0,0)):(f=this.canvasFactory.create(c,d),this.cache[b]=f),e&&J(f.context),f},clear:function(){for(var a in this.cache){var b=this.cache[a];this.canvasFactory.destroy(b),delete this.cache[a]}}},b}(),M=function(){function b(a){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=i,this.textMatrixScale=1,this.fontMatrix=h,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=l.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null,this.old=a}return b.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(b,c){this.x=b,this.y=c}},b}(),N=function(){function d(a,b,c,d,e){this.ctx=a,this.current=new M,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=b,this.objs=c,this.canvasFactory=d,this.imageLayer=e,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new K(this.canvasFactory),a&&J(a),this.cachedGetSinglePixelWidth=null}function e(a,b){if("undefined"!=typeof ImageData&&b instanceof ImageData)return void a.putImageData(b,0,0);var k,o,p,q,r,c=b.height,d=b.width,e=c%G,f=(c-e)/G,g=0===e?f:f+1,h=a.createImageData(d,G),i=0,l=b.data,n=h.data;if(b.kind===j.GRAYSCALE_1BPP){var s=l.byteLength,u=H.value?new Uint32Array(n.buffer):new m(n),v=u.length,w=d+7>>3,x=4294967295,y=I.value||!H.value?4278190080:255;for(o=0;o<g;o++){for(q=o<f?G:e,k=0,p=0;p<q;p++){for(var z=s-i,A=0,B=z>w?d:8*z-7,C=-8&B,D=0,E=0;A<C;A+=8)E=l[i++],u[k++]=128&E?x:y,u[k++]=64&E?x:y,u[k++]=32&E?x:y,u[k++]=16&E?x:y,u[k++]=8&E?x:y,u[k++]=4&E?x:y,u[k++]=2&E?x:y,u[k++]=1&E?x:y;for(;A<B;A++)0===D&&(E=l[i++],D=128),u[k++]=E&D?x:y,D>>=1}for(;k<v;)u[k++]=0;a.putImageData(h,0,o*G)}}else if(b.kind===j.RGBA_32BPP){for(p=0,r=d*G*4,o=0;o<f;o++)n.set(l.subarray(i,i+r)),i+=r,a.putImageData(h,0,p),p+=G;o<g&&(r=d*e*4,n.set(l.subarray(i,i+r)),a.putImageData(h,0,p))}else if(b.kind===j.RGB_24BPP)for(q=G,r=d*q,o=0;o<g;o++){for(o>=f&&(q=e,r=d*q),k=0,p=r;p--;)n[k++]=l[i++],n[k++]=l[i++],n[k++]=l[i++],n[k++]=255;a.putImageData(h,0,o*G)}else t("bad image kind: "+b.kind)}function f(a,b){for(var c=b.height,d=b.width,e=c%G,f=(c-e)/G,g=0===e?f:f+1,h=a.createImageData(d,G),i=0,j=b.data,k=h.data,l=0;l<g;l++){for(var m=l<f?G:e,n=3,o=0;o<m;o++)for(var p=0,q=0;q<d;q++){if(!p){var r=j[i++];p=128}k[n]=r&p?0:255,n+=4,p>>=1}a.putImageData(h,0,l*G)}}function g(a,b){for(var c=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],d=0,e=c.length;d<e;d++){var f=c[d];void 0!==a[f]&&(b[f]=a[f])}void 0!==a.setLineDash&&(b.setLineDash(a.getLineDash()),b.lineDashOffset=a.lineDashOffset)}function s(a,b,c,d){for(var e=a.length,f=3;f<e;f+=4){var g=a[f];if(0===g)a[f-3]=b,a[f-2]=c,a[f-1]=d;else if(g<255){var h=255-g;a[f-3]=a[f-3]*g+b*h>>8,a[f-2]=a[f-2]*g+c*h>>8,a[f-1]=a[f-1]*g+d*h>>8}}}function z(a,b,c){for(var d=a.length,e=1/255,f=3;f<d;f+=4){var g=c?c[a[f]]:a[f];b[f]=b[f]*g*e|0}}function N(a,b,c){for(var d=a.length,e=3;e<d;e+=4){var f=77*a[e-3]+152*a[e-2]+28*a[e-1];b[e]=c?b[e]*c[f>>8]>>8:b[e]*f>>16}}function O(a,b,c,d,e,f,g){var l,h=!!f,i=h?f[0]:0,j=h?f[1]:0,k=h?f[2]:0;l="Luminosity"===e?N:z;for(var m=1048576,n=Math.min(d,Math.ceil(m/c)),o=0;o<d;o+=n){var p=Math.min(n,d-o),q=a.getImageData(0,o,c,p),r=b.getImageData(0,o,c,p);h&&s(q.data,i,j,k),l(q.data,r.data,g),a.putImageData(r,0,o)}}function P(a,b,c){var d=b.canvas,e=b.context;a.setTransform(b.scaleX,0,0,b.scaleY,b.offsetX,b.offsetY);var f=b.backdrop||null;if(!b.transferMap&&y.isEnabled){var g=y.composeSMask(c.canvas,d,{subtype:b.subtype,backdrop:f});return a.setTransform(1,0,0,1,0,0),void a.drawImage(g,b.offsetX,b.offsetY)}O(e,c,d.width,d.height,b.subtype,f,b.transferMap),a.drawImage(d,0,0)}var b=15,c=10,Q=["butt","round","square"],R=["miter","round","bevel"],S={},T={};d.prototype={beginDrawing:function(b,c,d){var e=this.ctx.canvas.width,f=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle="rgb(255, 255, 255)",this.ctx.fillRect(0,0,e,f),this.ctx.restore(),d){var g=this.cachedCanvases.getCanvas("transparent",e,f,!0);this.compositeCtx=this.ctx,this.transparentCanvas=g.canvas,this.ctx=g.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),b&&this.ctx.transform.apply(this.ctx,b),this.ctx.transform.apply(this.ctx,c.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(d,e,f,g){var h=d.argsArray,i=d.fnArray,j=e||0,l=h.length;if(l===j)return j;for(var r,m=l-j>c&&"function"==typeof f,n=m?Date.now()+b:0,o=0,p=this.commonObjs,q=this.objs;;){if(void 0!==g&&j===g.nextBreakPoint)return g.breakIt(j,f),j;if((r=i[j])!==k.dependency)this[r].apply(this,h[j]);else for(var s=h[j],t=0,u=s.length;t<u;t++){var v=s[t],w="g"===v[0]&&"_"===v[1],x=w?p:q;if(!x.isResolved(v))return x.get(v,f),j}if(++j===l)return j;if(m&&++o>c){if(Date.now()>n)return f(),j;o=0}}},endDrawing:function(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),y.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(b){this.current.lineWidth=b,this.ctx.lineWidth=b},setLineCap:function(b){this.ctx.lineCap=Q[b]},setLineJoin:function(b){this.ctx.lineJoin=R[b]},setMiterLimit:function(b){this.ctx.miterLimit=b},setDash:function(b,c){var d=this.ctx;void 0!==d.setLineDash&&(d.setLineDash(b),d.lineDashOffset=c)},setRenderingIntent:function(b){},setFlatness:function(b){},setGState:function(b){for(var c=0,d=b.length;c<d;c++){var e=b[c],f=e[0],g=e[1];switch(f){case"LW":this.setLineWidth(g);break;case"LC":this.setLineCap(g);break;case"LJ":this.setLineJoin(g);break;case"ML":this.setMiterLimit(g);break;case"D":this.setDash(g[0],g[1]);break;case"RI":this.setRenderingIntent(g);break;case"FL":this.setFlatness(g);break;case"Font":this.setFont(g[0],g[1]);break;case"CA":this.current.strokeAlpha=e[1];break;case"ca":this.current.fillAlpha=e[1],this.ctx.globalAlpha=e[1];break;case"BM":this.ctx.globalCompositeOperation=g;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=g?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null}}},beginSMaskGroup:function(){var b=this.current.activeSMask,c=b.canvas.width,d=b.canvas.height,e="smaskGroupAt"+this.groupLevel,f=this.cachedCanvases.getCanvas(e,c,d,!0),h=this.ctx,i=h.mozCurrentTransform;this.ctx.save();var j=f.context;j.scale(1/b.scaleX,1/b.scaleY),j.translate(-b.offsetX,-b.offsetY),j.transform.apply(j,i),b.startTransformInverse=j.mozCurrentTransformInverse,g(h,j),this.ctx=j,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(h),this.groupLevel++},suspendSMaskGroup:function(){var b=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),P(this.ctx,this.current.activeSMask,b),this.ctx.restore(),this.ctx.save(),g(b,this.ctx),this.current.resumeSMaskCtx=b;var c=n.transform(this.current.activeSMask.startTransformInverse,b.mozCurrentTransform);this.ctx.transform.apply(this.ctx,c),b.save(),b.setTransform(1,0,0,1,0,0),b.clearRect(0,0,b.canvas.width,b.canvas.height),b.restore()},resumeSMaskGroup:function(){var b=this.current.resumeSMaskCtx,c=this.ctx;this.ctx=b,this.groupStack.push(c),this.groupLevel++},endSMaskGroup:function(){var b=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),P(this.ctx,this.current.activeSMask,b),this.ctx.restore(),g(b,this.ctx);var c=n.transform(this.current.activeSMask.startTransformInverse,b.mozCurrentTransform);this.ctx.transform.apply(this.ctx,c)},save:function(){this.ctx.save();var b=this.current;this.stateStack.push(b),this.current=b.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null===this.current.activeSMask||0!==this.stateStack.length&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask||this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this.cachedGetSinglePixelWidth=null)},transform:function(b,c,d,e,f,g){this.ctx.transform(b,c,d,e,f,g),this.cachedGetSinglePixelWidth=null},constructPath:function(b,c){for(var d=this.ctx,e=this.current,f=e.x,g=e.y,h=0,i=0,j=b.length;h<j;h++)switch(0|b[h]){case k.rectangle:f=c[i++],g=c[i++];var l=c[i++],m=c[i++];0===l&&(l=this.getSinglePixelWidth()),0===m&&(m=this.getSinglePixelWidth());var n=f+l,o=g+m;this.ctx.moveTo(f,g),this.ctx.lineTo(n,g),this.ctx.lineTo(n,o),this.ctx.lineTo(f,o),this.ctx.lineTo(f,g),this.ctx.closePath();break;case k.moveTo:f=c[i++],g=c[i++],d.moveTo(f,g);break;case k.lineTo:f=c[i++],g=c[i++],d.lineTo(f,g);break;case k.curveTo:f=c[i+4],g=c[i+5],d.bezierCurveTo(c[i],c[i+1],c[i+2],c[i+3],f,g),i+=6;break;case k.curveTo2:d.bezierCurveTo(f,g,c[i],c[i+1],c[i+2],c[i+3]),f=c[i+2],g=c[i+3],i+=4;break;case k.curveTo3:f=c[i+2],g=c[i+3],d.bezierCurveTo(c[i],c[i+1],f,g,f,g),i+=4;break;case k.closePath:d.closePath()}e.setCurrentPoint(f,g)},closePath:function(){this.ctx.closePath()},stroke:function(b){b=void 0===b||b;var c=this.ctx,d=this.current.strokeColor;c.lineWidth=Math.max(this.getSinglePixelWidth()*D,this.current.lineWidth),c.globalAlpha=this.current.strokeAlpha,d&&d.hasOwnProperty("type")&&"Pattern"===d.type?(c.save(),c.strokeStyle=d.getPattern(c,this),c.stroke(),c.restore()):c.stroke(),b&&this.consumePath(),c.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(b){b=void 0===b||b;var c=this.ctx,d=this.current.fillColor,e=this.current.patternFill,f=!1;e&&(c.save(),this.baseTransform&&c.setTransform.apply(c,this.baseTransform),c.fillStyle=d.getPattern(c,this),f=!0),this.pendingEOFill?(c.fill("evenodd"),this.pendingEOFill=!1):c.fill(),f&&c.restore(),b&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=S},eoClip:function(){this.pendingClip=T},beginText:function(){this.current.textMatrix=i,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var b=this.pendingTextPaths,c=this.ctx;if(void 0===b)return void c.beginPath();c.save(),c.beginPath();for(var d=0;d<b.length;d++){var e=b[d];c.setTransform.apply(c,e.transform),c.translate(e.x,e.y),e.addToPath(c,e.fontSize)}c.restore(),c.clip(),c.beginPath(),delete this.pendingTextPaths},setCharSpacing:function(b){this.current.charSpacing=b},setWordSpacing:function(b){this.current.wordSpacing=b},setHScale:function(b){this.current.textHScale=b/100},setLeading:function(b){this.current.leading=-b},setFont:function(b,c){var d=this.commonObjs.get(b),e=this.current;if(d||t("Can't find font for "+b),e.fontMatrix=d.fontMatrix?d.fontMatrix:h,0!==e.fontMatrix[0]&&0!==e.fontMatrix[3]||v("Invalid font matrix for font "+b),c<0?(c=-c,e.fontDirection=-1):e.fontDirection=1,this.current.font=d,this.current.fontSize=c,!d.isType3Font){var f=d.loadedName||"sans-serif",g=d.black?"900":d.bold?"bold":"normal",i=d.italic?"italic":"normal",j='"'+f+'", '+d.fallbackName,k=c<A?A:c>B?B:c;this.current.fontSizeScale=c/k;var l=i+" "+g+" "+k+"px "+j;this.ctx.font=l}},setTextRenderingMode:function(b){this.current.textRenderingMode=b},setTextRise:function(b){this.current.textRise=b},moveText:function(b,c){this.current.x=this.current.lineX+=b,this.current.y=this.current.lineY+=c},setLeadingMoveText:function(b,c){this.setLeading(-c),this.moveText(b,c)},setTextMatrix:function(b,c,d,e,f,g){this.current.textMatrix=[b,c,d,e,f,g],this.current.textMatrixScale=Math.sqrt(b*b+c*c),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(b,c,d){var m,e=this.ctx,f=this.current,g=f.font,h=f.textRenderingMode,i=f.fontSize/f.fontSizeScale,j=h&l.FILL_STROKE_MASK,k=!!(h&l.ADD_TO_PATH_FLAG);if((g.disableFontFace||k)&&(m=g.getPathGenerator(this.commonObjs,b)),g.disableFontFace?(e.save(),e.translate(c,d),e.beginPath(),m(e,i),j!==l.FILL&&j!==l.FILL_STROKE||e.fill(),j!==l.STROKE&&j!==l.FILL_STROKE||e.stroke(),e.restore()):(j!==l.FILL&&j!==l.FILL_STROKE||e.fillText(b,c,d),j!==l.STROKE&&j!==l.FILL_STROKE||e.strokeText(b,c,d)),k){(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:e.mozCurrentTransform,x:c,y:d,fontSize:i,addToPath:m})}},get isFontSubpixelAAEnabled(){var a=this.canvasFactory.create(10,10).context;a.scale(1.5,1),a.fillText("I",0,10);for(var b=a.getImageData(0,0,10,10).data,c=!1,d=3;d<b.length;d+=4)if(b[d]>0&&b[d]<255){c=!0;break}return u(this,"isFontSubpixelAAEnabled",c)},showText:function(b){var c=this.current,d=c.font;if(d.isType3Font)return this.showType3Text(b);var e=c.fontSize;if(0!==e){var f=this.ctx,g=c.fontSizeScale,h=c.charSpacing,i=c.wordSpacing,j=c.fontDirection,k=c.textHScale*j,m=b.length,n=d.vertical,o=n?1:-1,p=d.defaultVMetrics,r=e*c.fontMatrix[0],s=c.textRenderingMode===l.FILL&&!d.disableFontFace;f.save(),f.transform.apply(f,c.textMatrix),f.translate(c.x,c.y+c.textRise),c.patternFill&&(f.fillStyle=c.fillColor.getPattern(f,this)),j>0?f.scale(k,-1):f.scale(k,1);var t=c.lineWidth,u=c.textMatrixScale;if(0===u||0===t){var v=c.textRenderingMode&l.FILL_STROKE_MASK;v!==l.STROKE&&v!==l.FILL_STROKE||(this.cachedGetSinglePixelWidth=null,t=this.getSinglePixelWidth()*D)}else t/=u;1!==g&&(f.scale(g,g),t/=g),f.lineWidth=t;var x,w=0;for(x=0;x<m;++x){var y=b[x];if(q(y))w+=o*y*e/1e3;else{var E,F,G,H,z=!1,A=(y.isSpace?i:0)+h,B=y.fontChar,C=y.accent,I=y.width;if(n){var J,K,L;J=y.vmetric||p,K=y.vmetric?J[1]:.5*I,K=-K*r,L=J[2]*r,I=J?-J[0]:I,E=K/g,F=(w+L)/g}else E=w/g,F=0;if(d.remeasure&&I>0){var M=1e3*f.measureText(B).width/e*g;if(I<M&&this.isFontSubpixelAAEnabled){var N=I/M;z=!0,f.save(),f.scale(N,1),E/=N}else I!==M&&(E+=(I-M)/2e3*e/g)}(y.isInFont||d.missingFile)&&(s&&!C?f.fillText(B,E,F):(this.paintChar(B,E,F),C&&(G=E+C.offset.x/g,H=F-C.offset.y/g,this.paintChar(C.fontChar,G,H))));w+=I*r+A*j,z&&f.restore()}}n?c.y-=w*k:c.x+=w*k,f.restore()}},showType3Text:function(b){var s,t,u,w,c=this.ctx,d=this.current,e=d.font,f=d.fontSize,g=d.fontDirection,i=e.vertical?1:-1,j=d.charSpacing,k=d.wordSpacing,m=d.textHScale*g,o=d.fontMatrix||h,p=b.length,r=d.textRenderingMode===l.INVISIBLE;if(!r&&0!==f){for(this.cachedGetSinglePixelWidth=null,c.save(),c.transform.apply(c,d.textMatrix),c.translate(d.x,d.y),c.scale(m,g),s=0;s<p;++s)if(t=b[s],q(t))w=i*t*f/1e3,this.ctx.translate(w,0),d.x+=w*m;else{var x=(t.isSpace?k:0)+j,y=e.charProcOperatorList[t.operatorListId];if(y){this.processingType3=t,this.save(),c.scale(f,f),c.transform.apply(c,o),this.executeOperatorList(y),this.restore();var z=n.applyTransform([t.width,0],o);u=z[0]*f+x,c.translate(u,0),d.x+=u*m}else v('Type3 character "'+t.operatorListId+'" is not available')}c.restore(),this.processingType3=null}},setCharWidth:function(b,c){},setCharWidthAndBounds:function(b,c,d,e,f,g){this.ctx.rect(d,e,f-d,g-e),this.clip(),this.endPath()},getColorN_Pattern:function(b){var c;if("TilingPattern"===b[0]){var e=b[1],f=this.baseTransform||this.ctx.mozCurrentTransform.slice(),g=this,h={createCanvasGraphics:function(a){return new d(a,g.commonObjs,g.objs,g.canvasFactory)}};c=new w(b,e,this.ctx,h,f)}else c=x(b);return c},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(b,c,d){var e=n.makeCssRgb(b,c,d);this.ctx.strokeStyle=e,this.current.strokeColor=e},setFillRGBColor:function(b,c,d){var e=n.makeCssRgb(b,c,d);this.ctx.fillStyle=e,this.current.fillColor=e,this.current.patternFill=!1},shadingFill:function(b){var c=this.ctx;this.save();var d=x(b);c.fillStyle=d.getPattern(c,this,!0);var e=c.mozCurrentTransformInverse;if(e){var f=c.canvas,g=f.width,h=f.height,i=n.applyTransform([0,0],e),j=n.applyTransform([0,h],e),k=n.applyTransform([g,0],e),l=n.applyTransform([g,h],e),m=Math.min(i[0],j[0],k[0],l[0]),o=Math.min(i[1],j[1],k[1],l[1]),p=Math.max(i[0],j[0],k[0],l[0]),q=Math.max(i[1],j[1],k[1],l[1]);this.ctx.fillRect(m,o,p-m,q-o)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){t("Should not call beginInlineImage")},beginImageData:function(){t("Should not call beginImageData")},paintFormXObjectBegin:function(b,c){if(this.save(),this.baseTransformStack.push(this.baseTransform),r(b)&&6===b.length&&this.transform.apply(this,b),this.baseTransform=this.ctx.mozCurrentTransform,r(c)&&4===c.length){var d=c[2]-c[0],e=c[3]-c[1];this.ctx.rect(c[0],c[1],d,e),this.clip(),this.endPath()}},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(b){this.save();var c=this.ctx;b.isolated||p("TODO: Support non-isolated groups."),b.knockout&&v("Knockout groups not supported.");var d=c.mozCurrentTransform;b.matrix&&c.transform.apply(c,b.matrix),o(b.bbox,"Bounding box is required.");var e=n.getAxialAlignedBoundingBox(b.bbox,c.mozCurrentTransform),f=[0,0,c.canvas.width,c.canvas.height];e=n.intersect(e,f)||[0,0,0,0];var h=Math.floor(e[0]),i=Math.floor(e[1]),j=Math.max(Math.ceil(e[2])-h,1),k=Math.max(Math.ceil(e[3])-i,1),l=1,m=1;j>C&&(l=j/C,j=C),k>C&&(m=k/C,k=C);var q="groupAt"+this.groupLevel;b.smask&&(q+="_smask_"+this.smaskCounter++%2);var r=this.cachedCanvases.getCanvas(q,j,k,!0),s=r.context;s.scale(1/l,1/m),s.translate(-h,-i),s.transform.apply(s,d),b.smask?this.smaskStack.push({canvas:r.canvas,context:s,offsetX:h,offsetY:i,scaleX:l,scaleY:m,subtype:b.smask.subtype,backdrop:b.smask.backdrop,transferMap:b.smask.transferMap||null,startTransformInverse:null}):(c.setTransform(1,0,0,1,0,0),c.translate(h,i),c.scale(l,m)),g(c,s),this.ctx=s,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(c),this.groupLevel++,this.current.activeSMask=null},endGroup:function(b){this.groupLevel--;var c=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,b.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(c.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.current=new M,this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(b,c,d){if(this.save(),r(b)&&4===b.length){var e=b[2]-b[0],f=b[3]-b[1];this.ctx.rect(b[0],b[1],e,f),this.clip(),this.endPath()}this.transform.apply(this,c),this.transform.apply(this,d)},endAnnotation:function(){this.restore()},paintJpegXObject:function(b,c,d){var e=this.objs.get(b);if(!e)return void v("Dependent image isn't ready yet");this.save();var f=this.ctx;if(f.scale(1/c,-1/d),f.drawImage(e,0,0,e.width,e.height,0,-d,c,d),this.imageLayer){var g=f.mozCurrentTransformInverse,h=this.getCanvasPosition(0,0);this.imageLayer.appendImage({objId:b,left:h[0],top:h[1],width:c/g[0],height:d/g[3]})}this.restore()},paintImageMaskXObject:function(b){var c=this.ctx,d=b.width,e=b.height,g=this.current.fillColor,h=this.current.patternFill,i=this.processingType3;if(E&&i&&void 0===i.compiled&&(i.compiled=d<=F&&e<=F?L({data:b.data,width:d,height:e}):null),i&&i.compiled)return void i.compiled(c);var j=this.cachedCanvases.getCanvas("maskCanvas",d,e),k=j.context;k.save(),f(k,b),k.globalCompositeOperation="source-in",k.fillStyle=h?g.getPattern(k,this):g,k.fillRect(0,0,d,e),k.restore(),this.paintInlineImageXObject(j.canvas)},paintImageMaskXObjectRepeat:function(b,c,d,e){var g=b.width,h=b.height,i=this.current.fillColor,j=this.current.patternFill,k=this.cachedCanvases.getCanvas("maskCanvas",g,h),l=k.context;l.save(),f(l,b),l.globalCompositeOperation="source-in",l.fillStyle=j?i.getPattern(l,this):i,l.fillRect(0,0,g,h),l.restore();for(var m=this.ctx,n=0,o=e.length;n<o;n+=2)m.save(),m.transform(c,0,0,d,e[n],e[n+1]),m.scale(1,-1),m.drawImage(k.canvas,0,0,g,h,0,-1,1,1),m.restore()},paintImageMaskXObjectGroup:function(b){for(var c=this.ctx,d=this.current.fillColor,e=this.current.patternFill,g=0,h=b.length;g<h;g++){var i=b[g],j=i.width,k=i.height,l=this.cachedCanvases.getCanvas("maskCanvas",j,k),m=l.context;m.save(),f(m,i),m.globalCompositeOperation="source-in",m.fillStyle=e?d.getPattern(m,this):d,m.fillRect(0,0,j,k),m.restore(),c.save(),c.transform.apply(c,i.transform),c.scale(1,-1),c.drawImage(l.canvas,0,0,j,k,0,-1,1,1),c.restore()}},paintImageXObject:function(b){var c=this.objs.get(b);if(!c)return void v("Dependent image isn't ready yet");this.paintInlineImageXObject(c)},paintImageXObjectRepeat:function(b,c,d,e){var f=this.objs.get(b);if(!f)return void v("Dependent image isn't ready yet");for(var g=f.width,h=f.height,i=[],j=0,k=e.length;j<k;j+=2)i.push({transform:[c,0,0,d,e[j],e[j+1]],x:0,y:0,w:g,h:h});this.paintInlineImageXObjectGroup(f,i)},paintInlineImageXObject:function(b){var c=b.width,d=b.height,f=this.ctx;this.save(),f.scale(1/c,-1/d);var n,o,g=f.mozCurrentTransformInverse,h=g[0],i=g[1],j=Math.max(Math.sqrt(h*h+i*i),1),k=g[2],l=g[3],m=Math.max(Math.sqrt(k*k+l*l),1);if(b instanceof HTMLElement||!b.data)n=b;else{o=this.cachedCanvases.getCanvas("inlineImage",c,d);var p=o.context;e(p,b),n=o.canvas}for(var q=c,r=d,s="prescale1";j>2&&q>1||m>2&&r>1;){var t=q,u=r;j>2&&q>1&&(t=Math.ceil(q/2),j/=q/t),m>2&&r>1&&(u=Math.ceil(r/2),m/=r/u),o=this.cachedCanvases.getCanvas(s,t,u),p=o.context,p.clearRect(0,0,t,u),p.drawImage(n,0,0,q,r,0,0,t,u),n=o.canvas,q=t,r=u,s="prescale1"===s?"prescale2":"prescale1"}if(f.drawImage(n,0,0,q,r,0,-d,c,d),this.imageLayer){var v=this.getCanvasPosition(0,-d);this.imageLayer.appendImage({imgData:b,left:v[0],top:v[1],width:c/g[0],height:d/g[3]})}this.restore()},paintInlineImageXObjectGroup:function(b,c){var d=this.ctx,f=b.width,g=b.height,h=this.cachedCanvases.getCanvas("inlineImage",f,g);e(h.context,b);for(var j=0,k=c.length;j<k;j++){var l=c[j];if(d.save(),d.transform.apply(d,l.transform),d.scale(1,-1),d.drawImage(h.canvas,l.x,l.y,l.w,l.h,0,-1,1,1),this.imageLayer){var m=this.getCanvasPosition(l.x,l.y);this.imageLayer.appendImage({imgData:b,left:m[0],top:m[1],width:f,height:g})}d.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){v("Unsupported 'paintXObject' command.")},markPoint:function(b){},markPointProps:function(b,c){},beginMarkedContent:function(b){},beginMarkedContentProps:function(b,c){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var b=this.ctx;this.pendingClip&&(this.pendingClip===T?b.clip("evenodd"):b.clip(),this.pendingClip=null),b.beginPath()},getSinglePixelWidth:function(b){if(null===this.cachedGetSinglePixelWidth){this.ctx.save();var c=this.ctx.mozCurrentTransformInverse;this.ctx.restore(),this.cachedGetSinglePixelWidth=Math.sqrt(Math.max(c[0]*c[0]+c[1]*c[1],c[2]*c[2]+c[3]*c[3]))}return this.cachedGetSinglePixelWidth},getCanvasPosition:function(b,c){var d=this.ctx.mozCurrentTransform;return[d[0]*b+d[2]*c+d[4],d[1]*b+d[3]*c+d[5]]}};for(var U in k)d.prototype[k[U]]=d.prototype[U];return d}();b.CanvasGraphics=N},function(a,b,c){"use strict";function j(a){this.docId=a,this.styleElement=null,this.nativeFontFaces=[],this.loadTestFontId=0,this.loadingContext={requests:[],nextRequestId:0}}var d=c(0),e=d.assert,f=d.bytesToString,g=d.string32,h=d.shadow,i=d.warn;j.prototype={insertRule:function(b){var c=this.styleElement;c||(c=this.styleElement=document.createElement("style"),c.id="PDFJS_FONT_STYLE_TAG_"+this.docId,document.documentElement.getElementsByTagName("head")[0].appendChild(c));var d=c.sheet;d.insertRule(b,d.cssRules.length)},clear:function(){this.styleElement&&(this.styleElement.remove(),this.styleElement=null),this.nativeFontFaces.forEach(function(a){document.fonts.delete(a)}),this.nativeFontFaces.length=0}};var k=function(){return atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==")};Object.defineProperty(j.prototype,"loadTestFont",{get:function(){return h(this,"loadTestFont",k())},configurable:!0}),j.prototype.addNativeFontFace=function(b){this.nativeFontFaces.push(b),document.fonts.add(b)},j.prototype.bind=function(b,c){for(var d=[],e=[],f=[],g=function(a){return a.loaded.catch(function(b){i('Failed to load font "'+a.family+'": '+b)})},h=j.isFontLoadingAPISupported&&!j.isSyncFontLoadingSupported,k=0,l=b.length;k<l;k++){var m=b[k];if(!m.attached&&!1!==m.loading)if(m.attached=!0,h){var n=m.createNativeFontFace();n&&(this.addNativeFontFace(n),f.push(g(n)))}else{var o=m.createFontFaceRule();o&&(this.insertRule(o),d.push(o),e.push(m))}}var p=this.queueLoadingCallback(c);h?Promise.all(f).then(function(){p.complete()}):d.length>0&&!j.isSyncFontLoadingSupported?this.prepareFontLoadEvent(d,e,p):p.complete()},j.prototype.queueLoadingCallback=function(b){function c(){for(e(!g.end,"completeRequest() cannot be called twice"),g.end=Date.now();d.requests.length>0&&d.requests[0].end;){var a=d.requests.shift();setTimeout(a.callback,0)}}var d=this.loadingContext,f="pdfjs-font-loading-"+d.nextRequestId++,g={id:f,complete:c,callback:b,started:Date.now()};return d.requests.push(g),g},j.prototype.prepareFontLoadEvent=function(b,c,d){function e(a,b){return a.charCodeAt(b)<<24|a.charCodeAt(b+1)<<16|a.charCodeAt(b+2)<<8|255&a.charCodeAt(b+3)}function f(a,b,c,d){return a.substr(0,b)+d+a.substr(b+c)}function n(a,b){return++m>30?(i("Load test font never loaded."),void b()):(l.font="30px "+a,l.fillText(".",0,20),l.getImageData(0,0,1,1).data[3]>0?void b():void setTimeout(n.bind(null,a,b)))}var h,j,k=document.createElement("canvas");k.width=1,k.height=1;var l=k.getContext("2d"),m=0,o="lt"+Date.now()+this.loadTestFontId++,p=this.loadTestFont;p=f(p,976,o.length,o);var r=16,s=1482184792,t=e(p,r);for(h=0,j=o.length-3;h<j;h+=4)t=t-s+e(o,h)|0;h<o.length&&(t=t-s+e(o+"XXX",h)|0),p=f(p,r,4,g(t));var u="url(data:font/opentype;base64,"+btoa(p)+");",v='@font-face { font-family:"'+o+'";src:'+u+"}";this.insertRule(v);var w=[];for(h=0,j=c.length;h<j;h++)w.push(c[h].loadedName);w.push(o);var x=document.createElement("div");for(x.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;"),h=0,j=w.length;h<j;++h){var y=document.createElement("span");y.textContent="Hi",y.style.fontFamily=w[h],x.appendChild(y)}document.body.appendChild(x),n(o,function(){document.body.removeChild(x),d.complete()})},j.isFontLoadingAPISupported="undefined"!=typeof document&&!!document.fonts;var l=function(){if("undefined"==typeof navigator)return!0;var b=!1,c=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);return c&&c[1]>=14&&(b=!0),b};Object.defineProperty(j,"isSyncFontLoadingSupported",{get:function(){return h(j,"isSyncFontLoadingSupported",l())},enumerable:!0,configurable:!0});var m={get value(){return h(this,"value",d.isEvalSupported())}},n=function(){function b(a,b){this.compiledGlyphs=Object.create(null);for(var c in a)this[c]=a[c];this.options=b}return b.prototype={createNativeFontFace:function(){if(!this.data)return null;if(this.options.disableFontFace)return this.disableFontFace=!0,null;var b=new FontFace(this.loadedName,this.data,{});return this.options.fontRegistry&&this.options.fontRegistry.registerFont(this),b},createFontFaceRule:function(){if(!this.data)return null;if(this.options.disableFontFace)return this.disableFontFace=!0,null;var b=f(new Uint8Array(this.data)),c=this.loadedName,d="url(data:"+this.mimetype+";base64,"+btoa(b)+");",e='@font-face { font-family:"'+c+'";src:'+d+"}";return this.options.fontRegistry&&this.options.fontRegistry.registerFont(this,d),e},getPathGenerator:function(b,c){if(!(c in this.compiledGlyphs)){var e,f,g,d=b.get(this.loadedName+"_path_"+c);if(this.options.isEvalSupported&&m.value){var h,i="";for(f=0,g=d.length;f<g;f++)e=d[f],h=void 0!==e.args?e.args.join(","):"",i+="c."+e.cmd+"("+h+");\n";this.compiledGlyphs[c]=new Function("c","size",i)}else this.compiledGlyphs[c]=function(a,b){for(f=0,g=d.length;f<g;f++)e=d[f],"scale"===e.cmd&&(e.args=[b,-b]),a[e.cmd].apply(a,e.args)}}return this.compiledGlyphs[c]}},b}();b.FontFaceObject=n,b.FontLoader=j},function(a,b,c){"use strict";function m(a){var b=k[a[0]];return b||i("Unknown IR type: "+a[0]),b.fromIR(a)}var d=c(0),e=c(8),f=d.Util,g=d.info,h=d.isArray,i=d.error,j=e.WebGLUtils,k={};k.RadialAxial={fromIR:function(b){var c=b[1],d=b[2],e=b[3],f=b[4],g=b[5],h=b[6];return{type:"Pattern",getPattern:function(b){var i;"axial"===c?i=b.createLinearGradient(e[0],e[1],f[0],f[1]):"radial"===c&&(i=b.createRadialGradient(e[0],e[1],g,f[0],f[1],h));for(var j=0,k=d.length;j<k;++j){var l=d[j];i.addColorStop(l[0],l[1])}return i}}}};var l=function(){function b(a,b,c,d,e,f,g,h){var m,i=b.coords,j=b.colors,k=a.data,l=4*a.width;i[c+1]>i[d+1]&&(m=c,c=d,d=m,m=f,f=g,g=m),i[d+1]>i[e+1]&&(m=d,d=e,e=m,m=g,g=h,h=m),i[c+1]>i[d+1]&&(m=c,c=d,d=m,m=f,f=g,g=m);var n=(i[c]+b.offsetX)*b.scaleX,o=(i[c+1]+b.offsetY)*b.scaleY,p=(i[d]+b.offsetX)*b.scaleX,q=(i[d+1]+b.offsetY)*b.scaleY,r=(i[e]+b.offsetX)*b.scaleX,s=(i[e+1]+b.offsetY)*b.scaleY;if(!(o>=s))for(var E,F,G,H,I,J,K,L,M,t=j[f],u=j[f+1],v=j[f+2],w=j[g],x=j[g+1],y=j[g+2],z=j[h],A=j[h+1],B=j[h+2],C=Math.round(o),D=Math.round(s),N=C;N<=D;N++){N<q?(M=N<o?0:o===q?1:(o-N)/(o-q),E=n-(n-p)*M,F=t-(t-w)*M,G=u-(u-x)*M,H=v-(v-y)*M):(M=N>s?1:q===s?0:(q-N)/(q-s),E=p-(p-r)*M,F=w-(w-z)*M,G=x-(x-A)*M,H=y-(y-B)*M),M=N<o?0:N>s?1:(o-N)/(o-s),I=n-(n-r)*M,J=t-(t-z)*M,K=u-(u-A)*M,L=v-(v-B)*M;for(var O=Math.round(Math.min(E,I)),P=Math.round(Math.max(E,I)),Q=l*N+4*O,R=O;R<=P;R++)M=(E-R)/(E-I),M=M<0?0:M>1?1:M,k[Q++]=F-(F-J)*M|0,k[Q++]=G-(G-K)*M|0,k[Q++]=H-(H-L)*M|0,k[Q++]=255}}function c(a,c,d){var g,h,e=c.coords,f=c.colors;switch(c.type){case"lattice":var j=c.verticesPerRow,k=Math.floor(e.length/j)-1,l=j-1;for(g=0;g<k;g++)for(var m=g*j,n=0;n<l;n++,m++)b(a,d,e[m],e[m+1],e[m+j],f[m],f[m+1],f[m+j]),b(a,d,e[m+j+1],e[m+1],e[m+j],f[m+j+1],f[m+1],f[m+j]);break;case"triangles":for(g=0,h=e.length;g<h;g+=3)b(a,d,e[g],e[g+1],e[g+2],f[g],f[g+1],f[g+2]);break;default:i("illigal figure")}}function d(a,b,d,e,f,g,h){var x,y,z,A,i=1.1,k=3e3,l=2,m=Math.floor(a[0]),n=Math.floor(a[1]),o=Math.ceil(a[2])-m,p=Math.ceil(a[3])-n,q=Math.min(Math.ceil(Math.abs(o*b[0]*i)),k),r=Math.min(Math.ceil(Math.abs(p*b[1]*i)),k),s=o/q,t=p/r,u={coords:d,colors:e,offsetX:-m,offsetY:-n,scaleX:1/s,scaleY:1/t},v=q+2*l,w=r+2*l;if(j.isEnabled)x=j.drawFigures(q,r,g,f,u),y=h.getCanvas("mesh",v,w,!1),y.context.drawImage(x,l,l),x=y.canvas;else{y=h.getCanvas("mesh",v,w,!1);var B=y.context,C=B.createImageData(q,r);if(g){var D=C.data;for(z=0,A=D.length;z<A;z+=4)D[z]=g[0],D[z+1]=g[1],D[z+2]=g[2],D[z+3]=255}for(z=0;z<f.length;z++)c(C,f[z],u);B.putImageData(C,l,l),x=y.canvas}return{canvas:x,offsetX:m-l*s,offsetY:n-l*t,scaleX:s,scaleY:t}}return d}();k.Mesh={fromIR:function(b){var c=b[2],d=b[3],e=b[4],g=b[5],h=b[6],i=b[8];return{type:"Pattern",getPattern:function(b,j,k){var m;if(k)m=f.singularValueDecompose2dScale(b.mozCurrentTransform);else if(m=f.singularValueDecompose2dScale(j.baseTransform),h){var n=f.singularValueDecompose2dScale(h);m=[m[0]*n[0],m[1]*n[1]]}var o=l(g,m,c,d,e,k?null:i,j.cachedCanvases);return k||(b.setTransform.apply(b,j.baseTransform),h&&b.transform.apply(b,h)),b.translate(o.offsetX,o.offsetY),b.scale(o.scaleX,o.scaleY),b.createPattern(o.canvas,"no-repeat")}}}},k.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var n=function(){function d(a,b,c,d,e){this.operatorList=a[2],this.matrix=a[3]||[1,0,0,1,0,0],this.bbox=f.normalizeRect(a[4]),this.xstep=a[5],this.ystep=a[6],this.paintType=a[7],this.tilingType=a[8],this.color=b,this.canvasGraphicsFactory=d,this.baseTransform=e,this.type="Pattern",this.ctx=c}var b={COLORED:1,UNCOLORED:2},c=3e3;return d.prototype={createPatternCanvas:function(b){var d=this.operatorList,e=this.bbox,h=this.xstep,i=this.ystep,j=this.paintType,k=this.tilingType,l=this.color,m=this.canvasGraphicsFactory;g("TilingType: "+k);var n=e[0],o=e[1],p=e[2],q=e[3],r=[n,o],s=[n+h,o+i],t=s[0]-r[0],u=s[1]-r[1],v=f.singularValueDecompose2dScale(this.matrix),w=f.singularValueDecompose2dScale(this.baseTransform),x=[v[0]*w[0],v[1]*w[1]];t=Math.min(Math.ceil(Math.abs(t*x[0])),c),u=Math.min(Math.ceil(Math.abs(u*x[1])),c);var y=b.cachedCanvases.getCanvas("pattern",t,u,!0),z=y.context,A=m.createCanvasGraphics(z);A.groupLevel=b.groupLevel,this.setFillAndStrokeStyleToContext(z,j,l),this.setScale(t,u,h,i),this.transformToScale(A);var B=[1,0,0,1,-r[0],-r[1]];return A.transform.apply(A,B),this.clipBbox(A,e,n,o,p,q),A.executeOperatorList(d),y.canvas},setScale:function(b,c,d,e){this.scale=[b/d,c/e]},transformToScale:function(b){var c=this.scale,d=[c[0],0,0,c[1],0,0];b.transform.apply(b,d)},scaleToContext:function(){var b=this.scale;this.ctx.scale(1/b[0],1/b[1])},clipBbox:function(b,c,d,e,f,g){if(h(c)&&4===c.length){var i=f-d,j=g-e;b.ctx.rect(d,e,i,j),b.clip(),b.endPath()}},setFillAndStrokeStyleToContext:function(c,d,e){switch(d){case b.COLORED:var g=this.ctx;c.fillStyle=g.fillStyle,c.strokeStyle=g.strokeStyle;break;case b.UNCOLORED:var h=f.makeCssRgb(e[0],e[1],e[2]);c.fillStyle=h,c.strokeStyle=h;break;default:i("Unsupported paint type: "+d)}},getPattern:function(b,c){var d=this.createPatternCanvas(c);return b=this.ctx,b.setTransform.apply(b,this.baseTransform),b.transform.apply(b,this.matrix),this.scaleToContext(),b.createPattern(d,"repeat")}},d}();b.getShadingPatternFromIR=m,b.TilingPattern=n},function(a,b,c){"use strict";(function(a){if("undefined"==typeof PDFJS||!PDFJS.compatibilityChecked){var b="undefined"!=typeof window?window:void 0!==a?a:"undefined"!=typeof self?self:void 0,c="undefined"!=typeof navigator&&navigator.userAgent||"",d=/Android/.test(c),e=/Android\s[0-2][^\d]/.test(c),f=/Android\s[0-4][^\d]/.test(c),g=c.indexOf("Chrom")>=0,h=/Chrome\/(39|40)\./.test(c),i=c.indexOf("CriOS")>=0,j=c.indexOf("Trident")>=0,k=/\b(iPad|iPhone|iPod)(?=;)/.test(c),l=c.indexOf("Opera")>=0,m=/Safari\//.test(c)&&!/(Chrome\/|Android\s)/.test(c),n="object"==typeof window&&"object"==typeof document;"undefined"==typeof PDFJS&&(b.PDFJS={}),PDFJS.compatibilityChecked=!0,function(){function c(a,b){return new e(this.slice(a,b))}function d(a,b){arguments.length<2&&(b=0);for(var c=0,d=a.length;c<d;++c,++b)this[b]=255&a[c]}function e(a){var b,e,f;if("number"==typeof a)for(b=[],e=0;e<a;++e)b[e]=0;else if("slice"in a)b=a.slice(0);else for(b=[],e=0,f=a.length;e<f;++e)b[e]=a[e];return b.subarray=c,b.buffer=b,b.byteLength=b.length,b.set=d,"object"==typeof a&&a.buffer&&(b.buffer=a.buffer),b}if("undefined"!=typeof Uint8Array)return void 0===Uint8Array.prototype.subarray&&(Uint8Array.prototype.subarray=function(b,c){return new Uint8Array(this.slice(b,c))},Float32Array.prototype.subarray=function(b,c){return new Float32Array(this.slice(b,c))}),void("undefined"==typeof Float64Array&&(b.Float64Array=Float32Array));b.Uint8Array=e,b.Int8Array=e,b.Uint32Array=e,b.Int32Array=e,b.Uint16Array=e,b.Float32Array=e,b.Float64Array=e}(),function(){b.URL||(b.URL=b.webkitURL)}(),function(){if(void 0!==Object.defineProperty){var b=!0;try{n&&Object.defineProperty(new Image,"id",{value:"test"});var c=function(){};c.prototype={get id(){}},Object.defineProperty(new c,"id",{value:"",configurable:!0,enumerable:!0,writable:!1})}catch(a){b=!1}if(b)return}Object.defineProperty=function(b,c,d){delete b[c],"get"in d&&b.__defineGetter__(c,d.get),"set"in d&&b.__defineSetter__(c,d.set),"value"in d&&(b.__defineSetter__(c,function(b){return this.__defineGetter__(c,function(){return b}),b}),b[c]=d.value)}}(),function(){if("undefined"!=typeof XMLHttpRequest){var b=XMLHttpRequest.prototype,c=new XMLHttpRequest;if("overrideMimeType"in c||Object.defineProperty(b,"overrideMimeType",{value:function(b){}}),!("responseType"in c)){if(Object.defineProperty(b,"responseType",{get:function(){return this._responseType||"text"},set:function(b){"text"!==b&&"arraybuffer"!==b||(this._responseType=b,"arraybuffer"===b&&"function"==typeof this.overrideMimeType&&this.overrideMimeType("text/plain; charset=x-user-defined"))}}),"undefined"!=typeof VBArray)return void Object.defineProperty(b,"response",{get:function(){return"arraybuffer"===this.responseType?new Uint8Array(new VBArray(this.responseBody).toArray()):this.responseText}});Object.defineProperty(b,"response",{get:function(){if("arraybuffer"!==this.responseType)return this.responseText;var c,b=this.responseText,d=b.length,e=new Uint8Array(d);for(c=0;c<d;++c)e[c]=255&b.charCodeAt(c);return e.buffer}})}}}(),function(){if(!("btoa"in b)){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";b.btoa=function(a){var d,e,b="";for(d=0,e=a.length;d<e;d+=3){var f=255&a.charCodeAt(d),g=255&a.charCodeAt(d+1),h=255&a.charCodeAt(d+2),i=f>>2,j=(3&f)<<4|g>>4,k=d+1<e?(15&g)<<2|h>>6:64,l=d+2<e?63&h:64;b+=c.charAt(i)+c.charAt(j)+c.charAt(k)+c.charAt(l)}return b}}}(),function(){if(!("atob"in b)){b.atob=function(a){if(a=a.replace(/=+$/,""),a.length%4==1)throw new Error("bad atob input");for(var d,e,b=0,f=0,g="";e=a.charAt(f++);~e&&(d=b%4?64*d+e:e,b++%4)?g+=String.fromCharCode(255&d>>(-2*b&6)):0)e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(e);return g}}}(),function(){void 0===Function.prototype.bind&&(Function.prototype.bind=function(b){var c=this,d=Array.prototype.slice.call(arguments,1);return function(){var e=d.concat(Array.prototype.slice.call(arguments));return c.apply(b,e)}})}(),function(){if(n){"dataset"in document.createElement("div")||Object.defineProperty(HTMLElement.prototype,"dataset",{get:function(){if(this._dataset)return this._dataset;for(var a={},b=0,c=this.attributes.length;b<c;b++){var d=this.attributes[b];if("data-"===d.name.substring(0,5)){a[d.name.substring(5).replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()})]=d.value}}return Object.defineProperty(this,"_dataset",{value:a,writable:!1,enumerable:!1}),a},enumerable:!0})}}(),function(){function b(a,b,c,d){var e=a.className||"",f=e.split(/\s+/g);""===f[0]&&f.shift();var g=f.indexOf(b);return g<0&&c&&f.push(b),g>=0&&d&&f.splice(g,1),a.className=f.join(" "),g>=0}if(n){if(!("classList"in document.createElement("div"))){var d={add:function(a){b(this.element,a,!0,!1)},contains:function(a){return b(this.element,a,!1,!1)},remove:function(a){b(this.element,a,!1,!0)},toggle:function(a){b(this.element,a,!0,!0)}};Object.defineProperty(HTMLElement.prototype,"classList",{get:function(){if(this._classList)return this._classList;var a=Object.create(d,{element:{value:this,writable:!1,enumerable:!0}});return Object.defineProperty(this,"_classList",{value:a,writable:!1,enumerable:!1}),a},enumerable:!0})}}}(),function(){if(!("undefined"==typeof importScripts||"console"in b)){var c={},d={log:function(){var c=Array.prototype.slice.call(arguments);b.postMessage({targetName:"main",action:"console_log",data:c})},error:function(){var c=Array.prototype.slice.call(arguments);b.postMessage({targetName:"main",action:"console_error",data:c})},time:function(b){c[b]=Date.now()},timeEnd:function(b){var d=c[b];if(!d)throw new Error("Unknown timer name "+b);this.log("Timer:",b,Date.now()-d)}};b.console=d}}(),function(){if(n)"console"in window?"bind"in console.log||(console.log=function(a){return function(b){return a(b)}}(console.log),console.error=function(a){return function(b){return a(b)}}(console.error),console.warn=function(a){return function(b){return a(b)}}(console.warn)):window.console={log:function(){},error:function(){},warn:function(){}}}(),function(){function b(a){c(a.target)&&a.stopPropagation()}function c(a){return a.disabled||a.parentNode&&c(a.parentNode)}l&&document.addEventListener("click",b,!0)}(),function(){(j||i)&&(PDFJS.disableCreateObjectURL=!0)}(),function(){"undefined"!=typeof navigator&&("language"in navigator||(PDFJS.locale=navigator.userLanguage||"en-US"))}(),function(){(m||e||h||k)&&(PDFJS.disableRange=!0,PDFJS.disableStream=!0)}(),function(){n&&(history.pushState&&!e||(PDFJS.disableHistory=!0))}(),function(){if(n)if(window.CanvasPixelArray)"function"!=typeof window.CanvasPixelArray.prototype.set&&(window.CanvasPixelArray.prototype.set=function(a){for(var b=0,c=this.length;b<c;b++)this[b]=a[b]});else{var e,b=!1;if(g?(e=c.match(/Chrom(e|ium)\/([0-9]+)\./),b=e&&parseInt(e[2])<21):d?b=f:m&&(e=c.match(/Version\/([0-9]+)\.([0-9]+)\.([0-9]+) Safari\//),b=e&&parseInt(e[1])<6),b){var h=window.CanvasRenderingContext2D.prototype,i=h.createImageData;h.createImageData=function(a,b){var c=i.call(this,a,b);return c.data.set=function(a){for(var b=0,c=this.length;b<c;b++)this[b]=a[b]},c},h=null}}}(),function(){function b(){window.requestAnimationFrame=function(a){return window.setTimeout(a,20)},window.cancelAnimationFrame=function(a){window.clearTimeout(a)}}if(n)k?b():"requestAnimationFrame"in window||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame,window.requestAnimationFrame||b())}(),function(){(k||d)&&(PDFJS.maxCanvasPixels=5242880)}(),function(){n&&j&&window.parent!==window&&(PDFJS.disableFullscreen=!0)}(),function(){n&&("currentScript"in document||Object.defineProperty(document,"currentScript",{get:function(){var a=document.getElementsByTagName("script");return a[a.length-1]},enumerable:!0,configurable:!0}))}(),function(){if(n){var b=document.createElement("input");try{b.type="number"}catch(a){var c=b.constructor.prototype,d=Object.getOwnPropertyDescriptor(c,"type");Object.defineProperty(c,"type",{get:function(){return d.get.call(this)},set:function(a){d.set.call(this,"number"===a?"text":a)},enumerable:!0,configurable:!0})}}}(),function(){if(n&&document.attachEvent){var b=document.constructor.prototype,c=Object.getOwnPropertyDescriptor(b,"readyState");Object.defineProperty(b,"readyState",{get:function(){var a=c.get.call(this);return"interactive"===a?"loading":a},set:function(a){c.set.call(this,a)},enumerable:!0,configurable:!0})}}(),function(){n&&void 0===Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})}(),function(){if(b.Promise)return"function"!=typeof b.Promise.all&&(b.Promise.all=function(a){var e,f,c=0,d=[],g=new b.Promise(function(a,b){e=a,f=b});return a.forEach(function(a,b){c++,a.then(function(a){d[b]=a,0===--c&&e(d)},f)}),0===c&&e(d),g}),"function"!=typeof b.Promise.resolve&&(b.Promise.resolve=function(a){return new b.Promise(function(b){b(a)})}),"function"!=typeof b.Promise.reject&&(b.Promise.reject=function(a){return new b.Promise(function(b,c){c(a)})}),void("function"!=typeof b.Promise.prototype.catch&&(b.Promise.prototype.catch=function(a){return b.Promise.prototype.then(void 0,a)}));var c=0,d=1,e=2,f=500,g={handlers:[],running:!1,unhandledRejections:[],pendingRejectionCheck:!1,scheduleHandlers:function(b){b._status!==c&&(this.handlers=this.handlers.concat(b._handlers),b._handlers=[],this.running||(this.running=!0,setTimeout(this.runHandlers.bind(this),0)))},runHandlers:function(){for(var b=1,c=Date.now()+b;this.handlers.length>0;){var f=this.handlers.shift(),g=f.thisPromise._status,h=f.thisPromise._value;try{g===d?"function"==typeof f.onResolve&&(h=f.onResolve(h)):"function"==typeof f.onReject&&(h=f.onReject(h),g=d,f.thisPromise._unhandledRejection&&this.removeUnhandeledRejection(f.thisPromise))}catch(a){g=e,h=a}if(f.nextPromise._updateStatus(g,h),Date.now()>=c)break}if(this.handlers.length>0)return void setTimeout(this.runHandlers.bind(this),0);this.running=!1},addUnhandledRejection:function(b){this.unhandledRejections.push({promise:b,time:Date.now()}),this.scheduleRejectionCheck()},removeUnhandeledRejection:function(b){b._unhandledRejection=!1;for(var c=0;c<this.unhandledRejections.length;c++)this.unhandledRejections[c].promise===b&&(this.unhandledRejections.splice(c),c--)},scheduleRejectionCheck:function(){this.pendingRejectionCheck||(this.pendingRejectionCheck=!0,setTimeout(function(){this.pendingRejectionCheck=!1;for(var b=Date.now(),c=0;c<this.unhandledRejections.length;c++)if(b-this.unhandledRejections[c].time>f){var d=this.unhandledRejections[c].promise._value,e="Unhandled rejection: "+d;d.stack&&(e+="\n"+d.stack);try{throw new Error(e)}catch(a){console.warn(e)}this.unhandledRejections.splice(c),c--}this.unhandledRejections.length&&this.scheduleRejectionCheck()}.bind(this),f))}},h=function(b){this._status=c,this._handlers=[];try{b.call(this,this._resolve.bind(this),this._reject.bind(this))}catch(a){this._reject(a)}};h.all=function(b){function j(a){f._status!==e&&(i=[],d(a))}var c,d,f=new h(function(a,b){c=a,d=b}),g=b.length,i=[];if(0===g)return c(i),f;for(var k=0,l=b.length;k<l;++k){var m=b[k],n=function(a){return function(b){f._status!==e&&(i[a]=b,0===--g&&c(i))}}(k);h.isPromise(m)?m.then(n,j):n(m)}return f},h.isPromise=function(b){return b&&"function"==typeof b.then},h.resolve=function(b){return new h(function(a){a(b)})},h.reject=function(b){return new h(function(a,c){c(b)})},h.prototype={_status:null,_value:null,_handlers:null,_unhandledRejection:null,_updateStatus:function(b,c){if(this._status!==d&&this._status!==e){if(b===d&&h.isPromise(c))return void c.then(this._updateStatus.bind(this,d),this._updateStatus.bind(this,e));this._status=b,this._value=c,b===e&&0===this._handlers.length&&(this._unhandledRejection=!0,g.addUnhandledRejection(this)),g.scheduleHandlers(this)}},_resolve:function(b){this._updateStatus(d,b)},_reject:function(b){this._updateStatus(e,b)},then:function(b,c){var d=new h(function(a,b){this.resolve=a,this.reject=b});return this._handlers.push({thisPromise:this,onResolve:b,onReject:c,nextPromise:d}),g.scheduleHandlers(this),d},catch:function(b){return this.then(void 0,b)}},b.Promise=h}(),function(){function d(){this.id="$weakmap"+c++}if(!b.WeakMap){var c=0;d.prototype={has:function(a){return!!Object.getOwnPropertyDescriptor(a,this.id)},get:function(a,b){return this.has(a)?a[this.id]:b},set:function(a,b){Object.defineProperty(a,this.id,{value:b,enumerable:!1,configurable:!0})},delete:function(a){delete a[this.id]}},b.WeakMap=d}}(),function(){function g(a){return void 0!==e[a]}function h(){p.call(this),this._isInvalid=!0}function i(a){return""===a&&h.call(this),a.toLowerCase()}function j(a){var b=a.charCodeAt(0);return b>32&&b<127&&-1===[34,35,60,62,63,96].indexOf(b)?a:encodeURIComponent(a)}function k(a){var b=a.charCodeAt(0);return b>32&&b<127&&-1===[34,35,60,62,96].indexOf(b)?a:encodeURIComponent(a)}function o(a,b,c){function d(a){t.push(a)}var o=b||"scheme start",p=0,q="",r=!1,s=!1,t=[];a:for(;(a[p-1]!==l||0===p)&&!this._isInvalid;){var u=a[p];switch(o){case"scheme start":if(!u||!m.test(u)){if(b){d("Invalid scheme.");break a}q="",o="no scheme";continue}q+=u.toLowerCase(),o="scheme";break;case"scheme":if(u&&n.test(u))q+=u.toLowerCase();else{if(":"!==u){if(b){if(u===l)break a;d("Code point not allowed in scheme: "+u);break a}q="",p=0,o="no scheme";continue}if(this._scheme=q,q="",b)break a;g(this._scheme)&&(this._isRelative=!0),o="file"===this._scheme?"relative":this._isRelative&&c&&c._scheme===this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"===u?(this._query="?",o="query"):"#"===u?(this._fragment="#",o="fragment"):u!==l&&"\t"!==u&&"\n"!==u&&"\r"!==u&&(this._schemeData+=j(u));break;case"no scheme":if(c&&g(c._scheme)){o="relative";continue}d("Missing scheme."),h.call(this);break;case"relative or authority":if("/"!==u||"/"!==a[p+1]){d("Expected /, got: "+u),o="relative";continue}o="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!==this._scheme&&(this._scheme=c._scheme),u===l){this._host=c._host,this._port=c._port,this._path=c._path.slice(),this._query=c._query,this._username=c._username,this._password=c._password;break a}if("/"===u||"\\"===u)"\\"===u&&d("\\ is an invalid code point."),o="relative slash";else if("?"===u)this._host=c._host,this._port=c._port,this._path=c._path.slice(),this._query="?",this._username=c._username,this._password=c._password,o="query";else{if("#"!==u){var v=a[p+1],w=a[p+2];("file"!==this._scheme||!m.test(u)||":"!==v&&"|"!==v||w!==l&&"/"!==w&&"\\"!==w&&"?"!==w&&"#"!==w)&&(this._host=c._host,this._port=c._port,this._username=c._username,this._password=c._password,this._path=c._path.slice(),this._path.pop()),o="relative path";continue}this._host=c._host,this._port=c._port,this._path=c._path.slice(),this._query=c._query,this._fragment="#",this._username=c._username,this._password=c._password,o="fragment"}break;case"relative slash":if("/"!==u&&"\\"!==u){"file"!==this._scheme&&(this._host=c._host,this._port=c._port,this._username=c._username,this._password=c._password),o="relative path";continue}"\\"===u&&d("\\ is an invalid code point."),o="file"===this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!==u){d("Expected '/', got: "+u),o="authority ignore slashes";continue}o="authority second slash";break;case"authority second slash":if(o="authority ignore slashes","/"!==u){d("Expected '/', got: "+u);continue}break;case"authority ignore slashes":if("/"!==u&&"\\"!==u){o="authority";continue}d("Expected authority, got: "+u);break;case"authority":if("@"===u){r&&(d("@ already seen."),q+="%40"),r=!0;for(var x=0;x<q.length;x++){var y=q[x];if("\t"!==y&&"\n"!==y&&"\r"!==y)if(":"!==y||null!==this._password){var z=j(y);null!==this._password?this._password+=z:this._username+=z}else this._password="";else d("Invalid whitespace in authority.")}q=""}else{if(u===l||"/"===u||"\\"===u||"?"===u||"#"===u){p-=q.length,q="",o="host";continue}q+=u}break;case"file host":if(u===l||"/"===u||"\\"===u||"?"===u||"#"===u){2!==q.length||!m.test(q[0])||":"!==q[1]&&"|"!==q[1]?0===q.length?o="relative path start":(this._host=i.call(this,q),q="",o="relative path start"):o="relative path";continue}"\t"===u||"\n"===u||"\r"===u?d("Invalid whitespace in file host."):q+=u;break;case"host":case"hostname":if(":"!==u||s){if(u===l||"/"===u||"\\"===u||"?"===u||"#"===u){if(this._host=i.call(this,q),q="",o="relative path start",b)break a;continue}"\t"!==u&&"\n"!==u&&"\r"!==u?("["===u?s=!0:"]"===u&&(s=!1),q+=u):d("Invalid code point in host/hostname: "+u)}else if(this._host=i.call(this,q),q="",o="port","hostname"===b)break a;break;case"port":if(/[0-9]/.test(u))q+=u;else{if(u===l||"/"===u||"\\"===u||"?"===u||"#"===u||b){if(""!==q){var A=parseInt(q,10);A!==e[this._scheme]&&(this._port=A+""),q=""}if(b)break a;o="relative path start";continue}"\t"===u||"\n"===u||"\r"===u?d("Invalid code point in port: "+u):h.call(this)}break;case"relative path start":if("\\"===u&&d("'\\' not allowed in path."),o="relative path","/"!==u&&"\\"!==u)continue;break;case"relative path":if(u!==l&&"/"!==u&&"\\"!==u&&(b||"?"!==u&&"#"!==u))"\t"!==u&&"\n"!==u&&"\r"!==u&&(q+=j(u));else{"\\"===u&&d("\\ not allowed in relative path.");var B;(B=f[q.toLowerCase()])&&(q=B),".."===q?(this._path.pop(),"/"!==u&&"\\"!==u&&this._path.push("")):"."===q&&"/"!==u&&"\\"!==u?this._path.push(""):"."!==q&&("file"===this._scheme&&0===this._path.length&&2===q.length&&m.test(q[0])&&"|"===q[1]&&(q=q[0]+":"),this._path.push(q)),q="","?"===u?(this._query="?",o="query"):"#"===u&&(this._fragment="#",o="fragment")}break;case"query":b||"#"!==u?u!==l&&"\t"!==u&&"\n"!==u&&"\r"!==u&&(this._query+=k(u)):(this._fragment="#",o="fragment");break;case"fragment":u!==l&&"\t"!==u&&"\n"!==u&&"\r"!==u&&(this._fragment+=u)}p++}}function p(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function q(a,b){void 0===b||b instanceof q||(b=new q(String(b))),this._url=a,p.call(this);var c=a.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");o.call(this,c,null,b)}var c=!1;try{if("function"==typeof URL&&"object"==typeof URL.prototype&&"origin"in URL.prototype){var d=new URL("b","http://a");d.pathname="c%20d",c="http://a/c%20d"===d.href}}catch(a){}if(!c){var e=Object.create(null);e.ftp=21,e.file=0,e.gopher=70,e.http=80,e.https=443,e.ws=80,e.wss=443;var f=Object.create(null);f["%2e"]=".",f[".%2e"]="..",f["%2e."]="..",f["%2e%2e"]="..";var l,m=/[a-zA-Z]/,n=/[a-zA-Z0-9\+\-\.]/;q.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var a="";return""===this._username&&null===this._password||(a=this._username+(null!==this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+a+this.host:"")+this.pathname+this._query+this._fragment},set href(a){p.call(this),o.call(this,a)},get protocol(){return this._scheme+":"},set protocol(a){this._isInvalid||o.call(this,a+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(a){!this._isInvalid&&this._isRelative&&o.call(this,a,"host")},get hostname(){return this._host},set hostname(a){!this._isInvalid&&this._isRelative&&o.call(this,a,"hostname")},get port(){return this._port},set port(a){!this._isInvalid&&this._isRelative&&o.call(this,a,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(a){!this._isInvalid&&this._isRelative&&(this._path=[],o.call(this,a,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"===this._query?"":this._query},set search(a){!this._isInvalid&&this._isRelative&&(this._query="?","?"===a[0]&&(a=a.slice(1)),o.call(this,a,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"===this._fragment?"":this._fragment},set hash(a){this._isInvalid||(this._fragment="#","#"===a[0]&&(a=a.slice(1)),o.call(this,a,"fragment"))},get origin(){var a;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return a=this.host,a?this._scheme+"://"+a:""}};var r=b.URL;r&&(q.createObjectURL=function(a){return r.createObjectURL.apply(r,arguments)},q.revokeObjectURL=function(a){r.revokeObjectURL(a)}),b.URL=q}}()}}).call(b,c(6))},function(a,b,c){"use strict";var f=c(0),g=c(9),h=c(3),i=c(5),j=c(2),k=c(1),l=c(4);b.PDFJS=g.PDFJS,b.build=h.build,b.version=h.version,b.getDocument=h.getDocument,b.PDFDataRangeTransport=h.PDFDataRangeTransport,b.PDFWorker=h.PDFWorker,b.renderTextLayer=i.renderTextLayer,b.AnnotationLayer=j.AnnotationLayer,b.CustomStyle=k.CustomStyle,b.createPromiseCapability=f.createPromiseCapability,b.PasswordResponses=f.PasswordResponses,b.InvalidPDFException=f.InvalidPDFException,b.MissingPDFException=f.MissingPDFException,b.SVGGraphics=l.SVGGraphics,b.UnexpectedResponseException=f.UnexpectedResponseException,b.OPS=f.OPS,b.UNSUPPORTED_FEATURES=f.UNSUPPORTED_FEATURES,b.isValidUrl=k.isValidUrl,b.createValidAbsoluteUrl=f.createValidAbsoluteUrl,b.createObjectURL=f.createObjectURL,b.removeNullCharacters=f.removeNullCharacters,b.shadow=f.shadow,b.createBlob=f.createBlob,b.RenderingCancelledException=k.RenderingCancelledException,b.getFilenameFromUrl=k.getFilenameFromUrl,b.addLinkAttributes=k.addLinkAttributes}])});
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat